Quantcast

Can't access a music CD

classic Classic list List threaded Threaded
39 messages Options
12
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Can't access a music CD

Michael D. Norwick
Good Day;

Since installing FreeBSD 9-beta2 (now 9-beta3) I have not been able to
play a music cd with the dvd writer on this laptop.  It is a Dell
Latitude D630.  I have built several new worlds and kernels with the
following devices enabled in the kernel config.;

device        scbus        # SCSI bus (required for ATA/SCSI)
device        ch        # SCSI media changers
device        atapicam
device        da        # Direct Access (disks)
device        sa        # Sequential Access (tape etc)
device        cd        # CD
device        pass        # Passthrough device (direct ATA/SCSI access)
device        ses        # SCSI Environmental Services (and SAF-TE)

$uname -a

FreeBSD ****.****.net 9.0-BETA3 FreeBSD 9.0-BETA3 #0: Sat Oct  8
19:48:29 CDT 2011    
michael@****.****.net:/usr/obj/usr/src/sys/KERNEL_100811  amd64

This kernel was built after a recent csup and portsnap fetch.  The
buildworld and buildkernel steps have executed several times without
error.  A recent portupgrade only updated a couple of applications.

dmesg says this;

cd0 at ata0 bus 0 scbus1 target 0 lun 0
cd0: <TSSTcorp DVD+-RW TS-L632H D300> Removable CD-ROM SCSI-0 device
cd0: 33.300MB/s transfers (UDMA2, ATAPI 12bytes, PIO 65534bytes)
cd0: Attempt to query device size failed: NOT READY, Medium not present
- tray closed

and /boot/loader.conf says this;

linux_load="YES"
atapicam_load="YES"

With a music CD in the drive /var/log/messages says this;

Oct  9 20:19:01 bucksnort kernel: (cd0:ata0:0:0:0): READ(10). CDB: 28 0
0 0 0 0 0 0 40 0
Oct  9 20:19:01 bucksnort kernel: (cd0:ata0:0:0:0): CAM status: SCSI
Status Error
Oct  9 20:19:01 bucksnort kernel: (cd0:ata0:0:0:0): SCSI status: Check
Condition
Oct  9 20:19:01 bucksnort kernel: (cd0:ata0:0:0:0): SCSI sense: ILLEGAL
REQUEST asc:64,0 (Illegal mode for this track)
Oct  9 20:19:01 bucksnort kernel: (cd0:ata0:0:0:0): cddone: got error
0x6 back

and /etc/devfs.conf says this;

# Commonly used by many ports
#link   acd0    cdrom
link    cd0     cdrom
own     cd0     root:wheel
perm    cd0     0660

I think I might be missing something in /etc/devfs.conf.  man devfs.conf
or the handbook did not get me any closer to a solution.

It worked under 8.2 on this machine.

Thank You for the help.

Michael
_______________________________________________
[hidden email] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[hidden email]"
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Can't access a music CD

Frank Shute-2
On Sun, Oct 09, 2011 at 08:33:01PM -0500, Michael D. Norwick wrote:

>
> Good Day;
>
> Since installing FreeBSD 9-beta2 (now 9-beta3) I have not been able to
> play a music cd with the dvd writer on this laptop.  It is a Dell
> Latitude D630.  I have built several new worlds and kernels with the
> following devices enabled in the kernel config.;
>
> device        scbus        # SCSI bus (required for ATA/SCSI)
> device        ch        # SCSI media changers
> device        atapicam
> device        da        # Direct Access (disks)
> device        sa        # Sequential Access (tape etc)
> device        cd        # CD
> device        pass        # Passthrough device (direct ATA/SCSI access)
> device        ses        # SCSI Environmental Services (and SAF-TE)
>
> $uname -a
>
> FreeBSD ****.****.net 9.0-BETA3 FreeBSD 9.0-BETA3 #0: Sat Oct  8
> 19:48:29 CDT 2011    
> michael@****.****.net:/usr/obj/usr/src/sys/KERNEL_100811  amd64
>
> This kernel was built after a recent csup and portsnap fetch.  The
> buildworld and buildkernel steps have executed several times without
> error.  A recent portupgrade only updated a couple of applications.
>
> dmesg says this;
>
> cd0 at ata0 bus 0 scbus1 target 0 lun 0
> cd0: <TSSTcorp DVD+-RW TS-L632H D300> Removable CD-ROM SCSI-0 device
> cd0: 33.300MB/s transfers (UDMA2, ATAPI 12bytes, PIO 65534bytes)
> cd0: Attempt to query device size failed: NOT READY, Medium not present
> - tray closed
>
> and /boot/loader.conf says this;
>
> linux_load="YES"
> atapicam_load="YES"
>
> With a music CD in the drive /var/log/messages says this;
>
> Oct  9 20:19:01 bucksnort kernel: (cd0:ata0:0:0:0): READ(10). CDB: 28 0
> 0 0 0 0 0 0 40 0
> Oct  9 20:19:01 bucksnort kernel: (cd0:ata0:0:0:0): CAM status: SCSI
> Status Error
> Oct  9 20:19:01 bucksnort kernel: (cd0:ata0:0:0:0): SCSI status: Check
> Condition
> Oct  9 20:19:01 bucksnort kernel: (cd0:ata0:0:0:0): SCSI sense: ILLEGAL
> REQUEST asc:64,0 (Illegal mode for this track)
> Oct  9 20:19:01 bucksnort kernel: (cd0:ata0:0:0:0): cddone: got error
> 0x6 back
>
> and /etc/devfs.conf says this;
>
> # Commonly used by many ports
> #link   acd0    cdrom
> link    cd0     cdrom
> own     cd0     root:wheel
> perm    cd0     0660
>
> I think I might be missing something in /etc/devfs.conf.  man devfs.conf
> or the handbook did not get me any closer to a solution.
>
> It worked under 8.2 on this machine.
>
> Thank You for the help.
>
What does:

$ ls -l /dev | grep cd

give you?

I assume you're a member of wheel.

Give cdcontrol(1) a go if the above looks ok.

Make sure your volume isn't turned right down! (mixer(1))

Have you checked out that your sound card is configured ok?

$ cat /dev/sndstat


Regards,

--

 Frank

 Contact info: http://www.shute.org.uk/misc/contact.html



attachment0 (203 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Can't access a music CD

Michael D. Norwick
On 10/10/11 01:37, Frank Shute wrote:

> On Sun, Oct 09, 2011 at 08:33:01PM -0500, Michael D. Norwick wrote:
>> Good Day;
>>
>> Since installing FreeBSD 9-beta2 (now 9-beta3) I have not been able to
>> play a music cd with the dvd writer on this laptop.  It is a Dell
>> Latitude D630.  I have built several new worlds and kernels with the
>> following devices enabled in the kernel config.;
>>
>> device        scbus        # SCSI bus (required for ATA/SCSI)
>> device        ch        # SCSI media changers
>> device        atapicam
>> device        da        # Direct Access (disks)
>> device        sa        # Sequential Access (tape etc)
>> device        cd        # CD
>> device        pass        # Passthrough device (direct ATA/SCSI access)
>> device        ses        # SCSI Environmental Services (and SAF-TE)
>>
>> $uname -a
>>
>> FreeBSD ****.****.net 9.0-BETA3 FreeBSD 9.0-BETA3 #0: Sat Oct  8
>> 19:48:29 CDT 2011
>> michael@****.****.net:/usr/obj/usr/src/sys/KERNEL_100811  amd64
>>
>> This kernel was built after a recent csup and portsnap fetch.  The
>> buildworld and buildkernel steps have executed several times without
>> error.  A recent portupgrade only updated a couple of applications.
>>
>> dmesg says this;
>>
>> cd0 at ata0 bus 0 scbus1 target 0 lun 0
>> cd0:<TSSTcorp DVD+-RW TS-L632H D300>  Removable CD-ROM SCSI-0 device
>> cd0: 33.300MB/s transfers (UDMA2, ATAPI 12bytes, PIO 65534bytes)
>> cd0: Attempt to query device size failed: NOT READY, Medium not present
>> - tray closed
>>
>> and /boot/loader.conf says this;
>>
>> linux_load="YES"
>> atapicam_load="YES"
>>
>> With a music CD in the drive /var/log/messages says this;
>>
>> Oct  9 20:19:01 bucksnort kernel: (cd0:ata0:0:0:0): READ(10). CDB: 28 0
>> 0 0 0 0 0 0 40 0
>> Oct  9 20:19:01 bucksnort kernel: (cd0:ata0:0:0:0): CAM status: SCSI
>> Status Error
>> Oct  9 20:19:01 bucksnort kernel: (cd0:ata0:0:0:0): SCSI status: Check
>> Condition
>> Oct  9 20:19:01 bucksnort kernel: (cd0:ata0:0:0:0): SCSI sense: ILLEGAL
>> REQUEST asc:64,0 (Illegal mode for this track)
>> Oct  9 20:19:01 bucksnort kernel: (cd0:ata0:0:0:0): cddone: got error
>> 0x6 back
>>
>> and /etc/devfs.conf says this;
>>
>> # Commonly used by many ports
>> #link   acd0    cdrom
>> link    cd0     cdrom
>> own     cd0     root:wheel
>> perm    cd0     0660
>>
>> I think I might be missing something in /etc/devfs.conf.  man devfs.conf
>> or the handbook did not get me any closer to a solution.
>>
>> It worked under 8.2 on this machine.
>>
>> Thank You for the help.
>>
> What does:
>
> $ ls -l /dev | grep cd
>
> give you?
>
> I assume you're a member of wheel.
>
> Give cdcontrol(1) a go if the above looks ok.
>
> Make sure your volume isn't turned right down! (mixer(1))
>
> Have you checked out that your sound card is configured ok?
>
> $ cat /dev/sndstat
>
>
> Regards,
>
$ ls -l /dev | grep cd
crw-rw-rw-  1 root  wheel       0, 119 Oct 10 04:29 cd0
lrwxr-xr-x  1 root  wheel            3 Oct 10 04:29 cdrom -> cd0

$ cdcontrol status
Audio status = 21<void>, current track = 1, current position = 0:00.09
Media catalog is active, number "0826663409727\000\013"
Left volume = 216, right volume = 216
$ cdcontrol reset
cdcontrol: Inappropriate ioctl for device
$ cdcontrol play
$ cdcontrol status
Audio status = 17<playing>, current track = 1, current position = 1:05.18
No media catalog info available
Left volume = 216, right volume = 216

$ tail /var/log/messages
Oct 10 04:30:50 bucksnort kernel: (cd0:ata0:0:0:0): cddone: got error
0x6 back
Oct 10 04:30:55 bucksnort dbus[1953]: [system] Activated service
'org.freedesktop.SystemToolsBackends.SMBConfig' failed: Launch helper
exited with unknown return code 255
Oct 10 04:30:55 bucksnort dbus[1953]: [system] Activated service
'org.freedesktop.SystemToolsBackends.NFSConfig' failed: Launch helper
exited with unknown return code 255
Oct 10 04:30:56 bucksnort dbus[1953]: [system] Activating service
name='org.gnome.SettingsDaemon.DateTimeMechanism' (using servicehelper)
Oct 10 04:30:56 bucksnort dbus[1953]: [system] Successfully activated
service 'org.gnome.SettingsDaemon.DateTimeMechanism'
Oct 10 04:37:41 bucksnort kernel: (cd0:ata0:0:0:0): MODE_SENSE(6)
failed, increasing minimum CDB size to 10 bytes
Oct 10 04:39:43 bucksnort kernel: (cd0:ata0:0:0:0): READ SUB-CHANNEL.
CDB: 42 2 40 2 0 0 0 0 18 0
Oct 10 04:39:43 bucksnort kernel: (cd0:ata0:0:0:0): CAM status: SCSI
Status Error
Oct 10 04:39:43 bucksnort kernel: (cd0:ata0:0:0:0): SCSI status: Check
Condition
Oct 10 04:39:43 bucksnort kernel: (cd0:ata0:0:0:0): SCSI sense: ILLEGAL
REQUEST asc:0,11 (Audio play operation in progress)

Still will not play.  Tried 2 different CD's.

Thank You,

Michael
_______________________________________________
[hidden email] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[hidden email]"
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Can't access a music CD

Frank Shute-2
On Mon, Oct 10, 2011 at 04:47:40AM -0500, Michael D. Norwick wrote:

>
> On 10/10/11 01:37, Frank Shute wrote:
> >On Sun, Oct 09, 2011 at 08:33:01PM -0500, Michael D. Norwick wrote:
> >>Good Day;
> >>
> >>Since installing FreeBSD 9-beta2 (now 9-beta3) I have not been able to
> >>play a music cd with the dvd writer on this laptop.  It is a Dell
> >>Latitude D630.  I have built several new worlds and kernels with the
> >>following devices enabled in the kernel config.;
> >>
> >>device        scbus        # SCSI bus (required for ATA/SCSI)
> >>device        ch        # SCSI media changers
> >>device        atapicam
> >>device        da        # Direct Access (disks)
> >>device        sa        # Sequential Access (tape etc)
> >>device        cd        # CD
> >>device        pass        # Passthrough device (direct ATA/SCSI access)
> >>device        ses        # SCSI Environmental Services (and SAF-TE)
> >>
> >>$uname -a
> >>
> >>FreeBSD ****.****.net 9.0-BETA3 FreeBSD 9.0-BETA3 #0: Sat Oct  8
> >>19:48:29 CDT 2011
> >>michael@****.****.net:/usr/obj/usr/src/sys/KERNEL_100811  amd64
> >>
> >>This kernel was built after a recent csup and portsnap fetch.  The
> >>buildworld and buildkernel steps have executed several times without
> >>error.  A recent portupgrade only updated a couple of applications.
> >>
> >>dmesg says this;
> >>
> >>cd0 at ata0 bus 0 scbus1 target 0 lun 0
> >>cd0:<TSSTcorp DVD+-RW TS-L632H D300>  Removable CD-ROM SCSI-0 device
> >>cd0: 33.300MB/s transfers (UDMA2, ATAPI 12bytes, PIO 65534bytes)
> >>cd0: Attempt to query device size failed: NOT READY, Medium not present
> >>- tray closed
> >>
> >>and /boot/loader.conf says this;
> >>
> >>linux_load="YES"
> >>atapicam_load="YES"
> >>
> >>With a music CD in the drive /var/log/messages says this;
> >>
> >>Oct  9 20:19:01 bucksnort kernel: (cd0:ata0:0:0:0): READ(10). CDB: 28 0
> >>0 0 0 0 0 0 40 0
> >>Oct  9 20:19:01 bucksnort kernel: (cd0:ata0:0:0:0): CAM status: SCSI
> >>Status Error
> >>Oct  9 20:19:01 bucksnort kernel: (cd0:ata0:0:0:0): SCSI status: Check
> >>Condition
> >>Oct  9 20:19:01 bucksnort kernel: (cd0:ata0:0:0:0): SCSI sense: ILLEGAL
> >>REQUEST asc:64,0 (Illegal mode for this track)
> >>Oct  9 20:19:01 bucksnort kernel: (cd0:ata0:0:0:0): cddone: got error
> >>0x6 back
> >>
> >>and /etc/devfs.conf says this;
> >>
> >># Commonly used by many ports
> >>#link   acd0    cdrom
> >>link    cd0     cdrom
> >>own     cd0     root:wheel
> >>perm    cd0     0660
> >>
> >>I think I might be missing something in /etc/devfs.conf.  man devfs.conf
> >>or the handbook did not get me any closer to a solution.
> >>
> >>It worked under 8.2 on this machine.
> >>
> >>Thank You for the help.
> >>
> >What does:
> >
> >$ ls -l /dev | grep cd
> >
> >give you?
> >
> >I assume you're a member of wheel.
> >
> >Give cdcontrol(1) a go if the above looks ok.
> >
> >Make sure your volume isn't turned right down! (mixer(1))
> >
> >Have you checked out that your sound card is configured ok?
> >
> >$ cat /dev/sndstat
> >
> >
> >Regards,
> >
> $ ls -l /dev | grep cd
> crw-rw-rw-  1 root  wheel       0, 119 Oct 10 04:29 cd0
> lrwxr-xr-x  1 root  wheel            3 Oct 10 04:29 cdrom -> cd0
>
> $ cdcontrol status
> Audio status = 21<void>, current track = 1, current position = 0:00.09
> Media catalog is active, number "0826663409727\000\013"
> Left volume = 216, right volume = 216
> $ cdcontrol reset
> cdcontrol: Inappropriate ioctl for device
> $ cdcontrol play
> $ cdcontrol status
> Audio status = 17<playing>, current track = 1, current position = 1:05.18
> No media catalog info available
> Left volume = 216, right volume = 216
This looks like it's playing. Is the CD/DVD drive active?

>
> $ tail /var/log/messages
> Oct 10 04:30:50 bucksnort kernel: (cd0:ata0:0:0:0): cddone: got error
> 0x6 back
> Oct 10 04:30:55 bucksnort dbus[1953]: [system] Activated service
> 'org.freedesktop.SystemToolsBackends.SMBConfig' failed: Launch helper
> exited with unknown return code 255
> Oct 10 04:30:55 bucksnort dbus[1953]: [system] Activated service
> 'org.freedesktop.SystemToolsBackends.NFSConfig' failed: Launch helper
> exited with unknown return code 255
> Oct 10 04:30:56 bucksnort dbus[1953]: [system] Activating service
> name='org.gnome.SettingsDaemon.DateTimeMechanism' (using servicehelper)
> Oct 10 04:30:56 bucksnort dbus[1953]: [system] Successfully activated
> service 'org.gnome.SettingsDaemon.DateTimeMechanism'
> Oct 10 04:37:41 bucksnort kernel: (cd0:ata0:0:0:0): MODE_SENSE(6)
> failed, increasing minimum CDB size to 10 bytes
> Oct 10 04:39:43 bucksnort kernel: (cd0:ata0:0:0:0): READ SUB-CHANNEL.
> CDB: 42 2 40 2 0 0 0 0 18 0
> Oct 10 04:39:43 bucksnort kernel: (cd0:ata0:0:0:0): CAM status: SCSI
> Status Error
> Oct 10 04:39:43 bucksnort kernel: (cd0:ata0:0:0:0): SCSI status: Check
> Condition
> Oct 10 04:39:43 bucksnort kernel: (cd0:ata0:0:0:0): SCSI sense: ILLEGAL
> REQUEST asc:0,11 (Audio play operation in progress)
Again, looks like it's playing....

>
> Still will not play.  Tried 2 different CD's.
>
> Thank You,

If the drive is active and you're not getting sound out:

What does:

$ mixer

&

$ cat /dev/sndstat

show?


Regards,


--

 Frank

 Contact info: http://www.shute.org.uk/misc/contact.html



attachment0 (203 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Can't access a music CD

Michael D. Norwick
On 10/10/11 05:44, Frank Shute wrote:
> On Mon, Oct 10, 2011 at 04:47:40AM -0500, Michael D. Norwick wrote:
>> On 10/10/11 01:37, Frank Shute wrote:
>>> On Sun, Oct 09, 2011 at 08:33:01PM -0500, Michael D. Norwick wrote:
>> < snip >
> This looks like it's playing. Is the CD/DVD drive active?
< snip >

>> Still will not play.  Tried 2 different CD's.
>>
>> Thank You,
> If the drive is active and you're not getting sound out:
>
> What does:
>
> $ mixer
>
> &
>
> $ cat /dev/sndstat
>
> show?
>
>
> Regards,
>
>
GoodDay;

Tried again with the following results;

A dialog box dislplaying the following,

Unable to mount Audio Disc

DBus error org.freedesktop.DBus.Error.NoReply: Message did not receive a
reply (timeout by message bus)

and

$ cat /dev/sndstat
FreeBSD Audio Driver (newpcm: 64bit 2009061500/amd64)
Installed devices:
pcm0: <HDA Sigmatel STAC9205X PCM #0 Analog> (play/rec) default

$ mixer
Mixer vol      is currently set to 100:100
Mixer pcm      is currently set to  75:75
Mixer speaker  is currently set to  75:75
Mixer rec      is currently set to  75:75
Recording source: monitor

no sound and no drive activity.

Thank You,

Michael

_______________________________________________
[hidden email] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[hidden email]"
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Can't access a music CD

Polytropon
On Wed, 12 Oct 2011 17:38:53 -0500, Michael D. Norwick wrote:

> GoodDay;
>
> Tried again with the following results;
>
> A dialog box dislplaying the following,
>
> Unable to mount Audio Disc
>
> DBus error org.freedesktop.DBus.Error.NoReply: Message did not receive a
> reply (timeout by message bus)

You cannot mount an audio CD, it doesn't contain a file
system.

Idea: Maybe some kind of interference of your desktop
environment that intends to mount a CD that cannot be
mounted, and the command line tool trying to access
a resource that is blocked due to the first thing?

You should "step down" to the lowest level possible
for diagnostics, i. e. running the system's command
line tools to make the CD play. If _this_ works, then
"go up" and test within your GUI desktop environment.
The less abstraction layers are in between, the better.



> and
>
> $ cat /dev/sndstat
> FreeBSD Audio Driver (newpcm: 64bit 2009061500/amd64)
> Installed devices:
> pcm0: <HDA Sigmatel STAC9205X PCM #0 Analog> (play/rec) default
>
> $ mixer
> Mixer vol      is currently set to 100:100
> Mixer pcm      is currently set to  75:75
> Mixer speaker  is currently set to  75:75
> Mixer rec      is currently set to  75:75
> Recording source: monitor
>
> no sound and no drive activity.

Hmmm... I'm missing the CD in that listing.

Which mixer is your default mixer? Try -f /dev/mixer0 to
make sure the correct one is selected. On HDA codecs, there
may be several mixers.




--
Polytropon
Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...
_______________________________________________
[hidden email] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[hidden email]"
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Can't access a music CD

Lowell Gilbert-2
In reply to this post by Michael D. Norwick
"Michael D. Norwick" <[hidden email]> writes:

> A dialog box dislplaying the following,
>
> Unable to mount Audio Disc

You're not supposed to mount an audio disk.
There's even a FAQ entry titled
"Why can I not mount an audio CD?"
http://be-well.ilk.org/FreeBSD/doc/en_US.ISO8859-1/books/faq/disks.html#MOUNT-AUDIO-CD

_______________________________________________
[hidden email] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[hidden email]"
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Can't access a music CD

Michael D. Norwick
On 10/12/11 18:33, Lowell Gilbert wrote:

> "Michael D. Norwick"<[hidden email]>  writes:
>
>> A dialog box dislplaying the following,
>>
>> Unable to mount Audio Disc
> You're not supposed to mount an audio disk.
> There's even a FAQ entry titled
> "Why can I not mount an audio CD?"
> http://be-well.ilk.org/FreeBSD/doc/en_US.ISO8859-1/books/faq/disks.html#MOUNT-AUDIO-CD
>
>
Good Day;

Thank You for the replies.  Got the part about not mounting an audio
CD.  I wasn't trying to.  Inserting the disc in the drive brought up the
error message.  Mounting a data CD or DVD acts normally and the
filesystem on it can be accessed.

Michael
_______________________________________________
[hidden email] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[hidden email]"
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Can't access a music CD

Polytropon
On Wed, 12 Oct 2011 18:49:58 -0500, Michael D. Norwick wrote:
> Thank You for the replies.  Got the part about not mounting an audio
> CD.  I wasn't trying to.  Inserting the disc in the drive brought up the
> error message.  Mounting a data CD or DVD acts normally and the
> filesystem on it can be accessed.

Do you have the option of testing mixer settings and CD
playing commands _outside_ of the GUI, i. e. in normal
text mode - just to make sure no DBUS, HAL or whatever
part of the desktop environment might interfere?

Things to check:

- Which mixers do exist? Which settings are active?

- Which CD device can be accessed by cdcontrol? Does
  it start playing properly?

On today's disc drives, you typically don't have a
3.5mm headphone connector for direct listening. Also
some sound cards (unlike most onboard sound chips)
have the ability to connect the "CD audio" wire inside
the machine. This feature is obsolete, but still works.
It's typically not part of laptop designs.


--
Polytropon
Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...
_______________________________________________
[hidden email] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[hidden email]"
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Can't access a music CD

Lowell Gilbert
In reply to this post by Michael D. Norwick
"Michael D. Norwick" <[hidden email]> writes:

> Thank You for the replies.  Got the part about not mounting an audio
> CD.  I wasn't trying to.  Inserting the disc in the drive brought up
> the error message.  Mounting a data CD or DVD acts normally and the
> filesystem on it can be accessed.

Okay, so what *are* you you using to try to play the CD?
Someone suggested cdcontrol, but these days a lot of
computers don't come with the cable to get analog audio
directly off the drive. That's why the FAQ suggests xmcd,
although it's far from the only option; most of the big
desktop environments come with a CD playing application
that gets the data digitally.  For example, I think the
Gnome application is "brasero".
_______________________________________________
[hidden email] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[hidden email]"
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Can't access a music CD

Charles Swiger
In reply to this post by Polytropon
On Oct 12, 2011, at 5:14 PM, Polytropon wrote:
> On today's disc drives, you typically don't have a
> 3.5mm headphone connector for direct listening. Also
> some sound cards (unlike most onboard sound chips)
> have the ability to connect the "CD audio" wire inside
> the machine. This feature is obsolete, but still works.
> It's typically not part of laptop designs.

A fair number of motherboards with integrated audio will take the analog audio output from a CD/DVD drive; the better ones will also accept a 3-pin digital SP/DIF connection as well.  Even if they don't, however, it's not uncommon for them to have audio connectivity in the form of a microphone input buried within a 10-pin extension header (AC'97 and Intel's HD Audio front panel connector), rather than have a 4-pin or 3-pin connector which matches the cable which came with the CD/DVD drive.

Anyway, none of the above should not be needed with modern SATA devices-- digital audio data goes directly over the SATA cable without a need for a separate audio cable.  Any laptop (which isn't obsolete) would use this route.

Regards,
--
-Chuck

_______________________________________________
[hidden email] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[hidden email]"
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Can't access a music CD

Jakub Lach
Strange thing is, that cdcontrol "works"
for me, disc is spinning but no sound  
out of speakers.

Sound system is working, and this is
laptop.

I usually rip to hdd, and play those
files, but it was annoying last time
I tried to play audio cd.

Before CAM it was the same, if
I recall correctly, however then
I used something like cdparanoia
or cdrtools to play cds.

So I'm afraid, that cdcontrol is not
best diagnostic tool.
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Can't access a music CD

Polytropon
On Thu, 13 Oct 2011 01:20:49 -0700 (PDT), Jakub Lach wrote:
> Strange thing is, that cdcontrol "works"
> for me, disc is spinning but no sound  
> out of speakers.

If there is no entry for CD in the mixer, but for PCM,
it seems to indicate why playback from disk works, but
even (assumed) playback from CD cannot be heared.

% mixer -f /dev/mixer0
Mixer vol      is currently set to   5:5
Mixer pcm      is currently set to 100:100
Mixer line     is currently set to  75:75
Mixer mic      is currently set to   0:0
Mixer cd       is currently set to  75:75  <=== THIS ONE
Mixer rec      is currently set to  75:75
Mixer igain    is currently set to   0:0
Mixer monitor  is currently set to  75:75
Recording source: mic

This is from a HDA audio with 3 pcm devices and 3 mixer
devices.



> Before CAM it was the same, if
> I recall correctly, however then
> I used something like cdparanoia
> or cdrtools to play cds.

If I remember correctly, cdrtools is the port that brings
cdrecord. There are text mode and X CD player programs
(such as XMMS with CD audio plugin, or the simple xcd)
which you could try.



> So I'm afraid, that cdcontrol is not
> best diagnostic tool.

It's a simple and _predictable_ tool which you can use to
make the CD drive start playing. Everything _next_ in the
signal chain (i. e. the mixer) is handled by other tools.

So if you assume that "cdcontrol -f /dev/acd0 play" makes
the CD play, then use the "mixer" command to check all the
possible audio settings to find the next thin in the signal
chain that could be wrong.



--
Polytropon
Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...
_______________________________________________
[hidden email] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[hidden email]"
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Can't access a music CD

Jakub Lach
Correct, "cd" entry from mixer is
missing.

However, then it didn't stop other tools
from working (I think that at one point I
also used mplayer for CD playback).

best regards and thanks,
- Jakub Lach
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Can't access a music CD

Alexander Best-4
In reply to this post by Lowell Gilbert
On Wed Oct 12 11, Lowell Gilbert wrote:

> "Michael D. Norwick" <[hidden email]> writes:
>
> > Thank You for the replies.  Got the part about not mounting an audio
> > CD.  I wasn't trying to.  Inserting the disc in the drive brought up
> > the error message.  Mounting a data CD or DVD acts normally and the
> > filesystem on it can be accessed.
>
> Okay, so what *are* you you using to try to play the CD?
> Someone suggested cdcontrol, but these days a lot of
> computers don't come with the cable to get analog audio
> directly off the drive. That's why the FAQ suggests xmcd,
> although it's far from the only option; most of the big
> desktop environments come with a CD playing application
> that gets the data digitally.  For example, I think the
> Gnome application is "brasero".

i think cdcontrol(1) should be adjusted, so that it supports digital audio CD
playback. actually analog audio hasn't really been supported by mainboard
manufacturers for > 10 years. i have a board which comes with an audio
connector, but attaching a cable to it, which is attached to a dvd drive
doesn't work, for whatever reasons. i also believe newer dvd and br sata
devices don't even come with an analog connector nowadays.

another application which supports digitally playing audio cds is mplayer(1)
via 'mplayer cdda:://' or 'mplayer cddb://'.

ano ther thought might be to implement an audio cd filesystem, so one could do
'mount -o audiocdfs /dev/cd0 /media/cd' and then all tracks appear as RAW pcm
audio files. maybe fuse comes with something like this?

cheers.
alex
_______________________________________________
[hidden email] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[hidden email]"
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Can't access a music CD

Lowell Gilbert
Alexander Best <[hidden email]> writes:

> ano ther thought might be to implement an audio cd filesystem, so one could do
> 'mount -o audiocdfs /dev/cd0 /media/cd' and then all tracks appear as RAW pcm
> audio files. maybe fuse comes with something like this?
>

/dev/acd<n>t<m> is no longer supported?
_______________________________________________
[hidden email] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[hidden email]"
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Can't access a music CD

Polytropon
In reply to this post by Alexander Best-4
On Thu, 13 Oct 2011 16:25:24 +0000, Alexander Best wrote:
> ano ther thought might be to implement an audio cd filesystem, so one could do
> 'mount -o audiocdfs /dev/cd0 /media/cd' and then all tracks appear as RAW pcm
> audio files. maybe fuse comes with something like this?

What about /dev/acd0t[01,02,03,...] - aren't those supposed
to represent the individual audio tracks that could then be
interpreted as what they basically are, raw pcm (of cd-audio
specification)?


--
Polytropon
Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...
_______________________________________________
[hidden email] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[hidden email]"
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Can't access a music CD

Alexander Best-4
On Thu Oct 13 11, Polytropon wrote:
> On Thu, 13 Oct 2011 16:25:24 +0000, Alexander Best wrote:
> > ano ther thought might be to implement an audio cd filesystem, so one could do
> > 'mount -o audiocdfs /dev/cd0 /media/cd' and then all tracks appear as RAW pcm
> > audio files. maybe fuse comes with something like this?
>
> What about /dev/acd0t[01,02,03,...] - aren't those supposed
> to represent the individual audio tracks that could then be
> interpreted as what they basically are, raw pcm (of cd-audio
> specification)?

i inserted an audio cd and they didn't turn up. i guess ATA_CAM doesn't support
individual nodes for tracks.

cheers.
alex

>
>
> --
> Polytropon
> Magdeburg, Germany
> Happy FreeBSD user since 4.0
> Andra moi ennepe, Mousa, ...
_______________________________________________
[hidden email] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[hidden email]"
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Can't access a music CD

Polytropon
On Thu, 13 Oct 2011 22:03:29 +0000, Alexander Best wrote:

> On Thu Oct 13 11, Polytropon wrote:
> > On Thu, 13 Oct 2011 16:25:24 +0000, Alexander Best wrote:
> > > ano ther thought might be to implement an audio cd filesystem, so one could do
> > > 'mount -o audiocdfs /dev/cd0 /media/cd' and then all tracks appear as RAW pcm
> > > audio files. maybe fuse comes with something like this?
> >
> > What about /dev/acd0t[01,02,03,...] - aren't those supposed
> > to represent the individual audio tracks that could then be
> > interpreted as what they basically are, raw pcm (of cd-audio
> > specification)?
>
> i inserted an audio cd and they didn't turn up. i guess ATA_CAM doesn't support
> individual nodes for tracks.

When using the (now default) CAM methods (ATAPICAM), I think
this is true.

Example with a regular music CD:

% cdcontrol info
Starting track = 1, ending track = 19, TOC size = 162 bytes
track     start  duration   block  length   type
-------------------------------------------------
    1   0:02.00   2:05.01       0    9376  audio
    2   2:07.01   1:45.53    9376    7928  audio
    3   3:52.54   2:37.49   17304   11824  audio
    4   6:30.28   1:52.00   29128    8400  audio
    5   8:22.28   2:08.29   37528    9629  audio
    6  10:30.57   2:23.01   47157   10726  audio
    7  12:53.58   4:01.01   57883   18076  audio
    8  16:54.59   3:12.37   75959   14437  audio
    9  20:07.21   2:09.00   90396    9675  audio
   10  22:16.21   4:19.67  100071   19492  audio
   11  26:36.13   3:28.00  119563   15600  audio
   12  30:04.13   3:48.73  135163   17173  audio
   13  33:53.11   3:51.38  152336   17363  audio
   14  37:44.49   1:27.72  169699    6597  audio
   15  39:12.46   2:15.15  176296   10140  audio
   16  41:27.61   2:35.01  186436   11626  audio
   17  44:02.62   2:11.00  198062    9825  audio
   18  46:13.62   2:37.01  207887   11776  audio
   19  48:50.63   2:48.01  219663   12601  audio
  170  51:38.64         -  232264       -      -

% ls /dev/acd0*
/dev/acd0     /dev/acd0t04  /dev/acd0t08  /dev/acd0t12  /dev/acd0t16
/dev/acd0t01  /dev/acd0t05  /dev/acd0t09  /dev/acd0t13  /dev/acd0t17
/dev/acd0t02  /dev/acd0t06  /dev/acd0t10  /dev/acd0t14  /dev/acd0t18
/dev/acd0t03  /dev/acd0t07  /dev/acd0t11  /dev/acd0t15  /dev/acd0t19

% ls /dev/cd0*
/dev/cd0

Maybe obtaining a TOC listing of the CD is required to make the
track files appear? However, they are only present for the ATAPI
based access (acd0), not for the "SCSI" CAM based one (cd0).




--
Polytropon
Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...
_______________________________________________
[hidden email] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[hidden email]"
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Can't access a music CD

Alexander Best-4
On Fri Oct 14 11, Polytropon wrote:

> On Thu, 13 Oct 2011 22:03:29 +0000, Alexander Best wrote:
> > On Thu Oct 13 11, Polytropon wrote:
> > > On Thu, 13 Oct 2011 16:25:24 +0000, Alexander Best wrote:
> > > > ano ther thought might be to implement an audio cd filesystem, so one could do
> > > > 'mount -o audiocdfs /dev/cd0 /media/cd' and then all tracks appear as RAW pcm
> > > > audio files. maybe fuse comes with something like this?
> > >
> > > What about /dev/acd0t[01,02,03,...] - aren't those supposed
> > > to represent the individual audio tracks that could then be
> > > interpreted as what they basically are, raw pcm (of cd-audio
> > > specification)?
> >
> > i inserted an audio cd and they didn't turn up. i guess ATA_CAM doesn't support
> > individual nodes for tracks.
>
> When using the (now default) CAM methods (ATAPICAM), I think
> this is true.
>
> Example with a regular music CD:
>
> % cdcontrol info
> Starting track = 1, ending track = 19, TOC size = 162 bytes
> track     start  duration   block  length   type
> -------------------------------------------------
>     1   0:02.00   2:05.01       0    9376  audio
>     2   2:07.01   1:45.53    9376    7928  audio
>     3   3:52.54   2:37.49   17304   11824  audio
>     4   6:30.28   1:52.00   29128    8400  audio
>     5   8:22.28   2:08.29   37528    9629  audio
>     6  10:30.57   2:23.01   47157   10726  audio
>     7  12:53.58   4:01.01   57883   18076  audio
>     8  16:54.59   3:12.37   75959   14437  audio
>     9  20:07.21   2:09.00   90396    9675  audio
>    10  22:16.21   4:19.67  100071   19492  audio
>    11  26:36.13   3:28.00  119563   15600  audio
>    12  30:04.13   3:48.73  135163   17173  audio
>    13  33:53.11   3:51.38  152336   17363  audio
>    14  37:44.49   1:27.72  169699    6597  audio
>    15  39:12.46   2:15.15  176296   10140  audio
>    16  41:27.61   2:35.01  186436   11626  audio
>    17  44:02.62   2:11.00  198062    9825  audio
>    18  46:13.62   2:37.01  207887   11776  audio
>    19  48:50.63   2:48.01  219663   12601  audio
>   170  51:38.64         -  232264       -      -

cdcontrol> info
Starting track = 1, ending track = 9, TOC size = 82 bytes
track     start  duration   block  length   type
-------------------------------------------------
    1   0:02.00   5:58.35       0   26885  audio
    2   6:00.35   5:06.06   26885   22956  audio
    3  11:06.41   5:40.57   49841   25557  audio
    4  16:47.23   5:52.37   75398   26437  audio
    5  22:39.60   4:14.09  101835   19059  audio
    6  26:53.69   5:16.25  120894   23725  audio
    7  32:10.19   3:14.54  144619   14604  audio
    8  35:24.73   6:24.15  159223   28815  audio
    9  41:49.13   6:16.51  188038   28251  audio
  170  48:05.64         -  216289       -      -

>
> % ls /dev/acd0*
> /dev/acd0     /dev/acd0t04  /dev/acd0t08  /dev/acd0t12  /dev/acd0t16
> /dev/acd0t01  /dev/acd0t05  /dev/acd0t09  /dev/acd0t13  /dev/acd0t17
> /dev/acd0t02  /dev/acd0t06  /dev/acd0t10  /dev/acd0t14  /dev/acd0t18
> /dev/acd0t03  /dev/acd0t07  /dev/acd0t11  /dev/acd0t15  /dev/acd0t19

otaku% ls|grep cd
cd0
cdrom

>
> % ls /dev/cd0*
> /dev/cd0
>
> Maybe obtaining a TOC listing of the CD is required to make the
> track files appear? However, they are only present for the ATAPI
> based access (acd0), not for the "SCSI" CAM based one (cd0).
>
>
>
>
> --
> Polytropon
> Magdeburg, Germany
> Happy FreeBSD user since 4.0
> Andra moi ennepe, Mousa, ...
_______________________________________________
[hidden email] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[hidden email]"
12
Loading...