From owner-freebsd-mobile@FreeBSD.ORG Sun Nov 14 01:26:57 2010 Return-Path: Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 53C50106566C for ; Sun, 14 Nov 2010 01:26:57 +0000 (UTC) (envelope-from markus.hoenicka@mhoenicka.de) Received: from smtprelay04.ispgateway.de (smtprelay04.ispgateway.de [80.67.18.16]) by mx1.freebsd.org (Postfix) with ESMTP id DC7498FC08 for ; Sun, 14 Nov 2010 01:26:56 +0000 (UTC) Received: from [93.135.148.37] (helo=yeti.mininet) by smtprelay04.ispgateway.de with esmtpa (Exim 4.68) (envelope-from ) id 1PHRMs-0000qn-G3 for freebsd-mobile@freebsd.org; Sun, 14 Nov 2010 02:26:54 +0100 X-Mailer: emacs 23.1.1 (via feedmail 8 I); VM 8.0.14 under 23.1.1 (i386-portbld-freebsd8.0) From: "Markus Hoenicka" MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <19679.15010.448084.859704@yeti.mininet> Date: Sun, 14 Nov 2010 02:25:54 +0100 To: freebsd-mobile@freebsd.org X-Df-Sender: 472582 Subject: USB CD drive won't play audio CDs X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 14 Nov 2010 01:26:57 -0000 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@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: 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@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@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