USB CD drive won't play audio CDs
Markus Hoenicka
markus.hoenicka at mhoenicka.de
Sun Nov 14 01:26:57 UTC 2010
Hi,
I'm making progress towards getting most out of my TravelMate
8371. Lots of things work, but I ran into a problem with my external
CD drive, a Sony DRX-S77U DVD/CD rewritable drive. I can boot off this
drive, and I can mount data CDs without a problem. However, I don't
seem to be able to play audio CDs on this drive.
FreeBSD wombat.mininet 8.1-RELEASE FreeBSD 8.1-RELEASE #0: Sat Nov 13 20:29:49 CET 2010 root at wombat.mininet:/usr/obj/usr/src/sys/WOMBAT amd64
In order to get permissions set properly for this removable drive,
I've added this to /etc/rc.conf:
devfs_system_ruleset="localrules"
and my /etc/devfs.rules contains:
[localrules=10]
add path 'cd*' mode 0666
add path 'xpt*' mode 0666
add path 'pass*' mode 0666
Plugging in the drive with any audio CD loaded (all of these CDs work
ok on other boxes) will print this info:
cd0 at umass-sim0 bus 0 scbus1 target 0 lun 0
cd0: <Optiarc DVD RW AD-7700S 1.D5> Removable CD-ROM SCSI-0 device
cd0: 40.000MB/s transfers
cd0: cd present [227770 x 2048 byte records]
(cd0:umass-sim0:0:0:0): READ(10). CDB: 28 0 0 3 79 b9 0 0 1 0
(cd0:umass-sim0:0:0:0): CAM status: SCSI Status Error
(cd0:umass-sim0:0:0:0): SCSI status: Check Condition
(cd0:umass-sim0:0:0:0): SCSI sense: ILLEGAL REQUEST asc:64,0 (Illegal mode for this track)
(cd0:umass-sim0:0:0:0): cddone: got error 0x6 back
(cd0:umass-sim0:0:0:0): READ(10). CDB: 28 0 0 0 0 20 0 0 4 0
(cd0:umass-sim0:0:0:0): CAM status: SCSI Status Error
(cd0:umass-sim0:0:0:0): SCSI status: Check Condition
(cd0:umass-sim0:0:0:0): SCSI sense: ILLEGAL REQUEST asc:64,0 (Illegal mode for this track)
these messages are repeated a couple of times, probably once per
track.
I can access the information on the CD like this:
[markus at wombat ~]$ cdcontrol info
Starting track = 1, ending track = 10, TOC size = 90 bytes
track start duration block length type
-------------------------------------------------
1 0:02.33 4:40.42 33 21042 audio
2 4:43.00 5:22.43 21075 24193 audio
3 10:05.43 6:03.57 45268 27282 audio
4 16:09.25 6:28.10 72550 29110 audio
5 22:37.35 4:44.13 101660 21313 audio
6 27:21.48 3:59.30 122973 17955 audio
7 31:21.03 4:54.62 140928 22112 audio
8 36:15.65 4:01.25 163040 18100 audio
9 40:17.15 6:15.35 181140 28160 audio
10 46:32.50 4:06.20 209300 18470 audio
170 50:38.70 - 227770 - -
However, trying to play one of the tracks fails:
[markus at wombat ~]$ cdcontrol play 1
cdcontrol: Invalid argument
Needless to say, there is no sound anywhere. In addition, error
messages like these are printed to the console:
(cd0:umass-sim0:0:0:0): MODE SENSE(10). CDB: 5a 0 e 0 0 0 0 0 20 0
(cd0:umass-sim0:0:0:0): CAM status: SCSI Status Error
(cd0:umass-sim0:0:0:0): SCSI status: Check Condition
(cd0:umass-sim0:0:0:0): SCSI sense: ILLEGAL REUEST asc:24,0 (Invalid
field in CDB): command byte 2 is invalid
And so on.
Is there anything I can do about this?
regards,
Markus
--
Markus Hoenicka
http://www.mhoenicka.de
AQ score 38
More information about the freebsd-mobile
mailing list