From owner-freebsd-current Wed Aug 18 19:39:31 1999 Delivered-To: freebsd-current@freebsd.org Received: from rah.star-gate.com (216-200-29-190.snj0.flashcom.net [216.200.29.194]) by hub.freebsd.org (Postfix) with ESMTP id ACD6E150C2 for ; Wed, 18 Aug 1999 19:39:23 -0700 (PDT) (envelope-from hasty@rah.star-gate.com) Received: from rah.star-gate.com (localhost.star-gate.com [127.0.0.1]) by rah.star-gate.com (8.9.3/8.8.8) with ESMTP id TAA23323 for ; Wed, 18 Aug 1999 19:39:04 -0700 (PDT) (envelope-from hasty@rah.star-gate.com) Message-Id: <199908190239.TAA23323@rah.star-gate.com> X-Mailer: exmh version 2.0.2 2/24/98 To: Freebsd-current@FreeBSD.ORG Subject: patches for tosha? Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Wed, 18 Aug 1999 19:39:04 -0700 From: Amancio Hasty Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Or does tosha work with CAM? tosha -t 1 Device: /dev/cd0c -- "YAMAHA" "CRW6416S" "1.0b" track playing start end raw size mp3 size # of track number time sector sector in bytes 128 kbps frames type --------------------------------------------------------------------- 1 4:37'07 0 20781 48879264 4434328 10608 audio error sending CD-DA read command: Invalid argument gdb tosha ... 139 if (readcmd == 0xd8) (gdb) 150 csio_build (&hdl->ccb->csio, (gdb) 159 if ((result = cam_send_ccb(hdl->cam_dev, hdl->ccb)) < 0) { (gdb) 160 perror ("error sending CD-DA read command"); (gdb) error sending CD-DA read command: Invalid argument (gdb) bt #0 toscsi_readsectors (hdl=0x8062490, start=0, endpp=20782, outfd=7) at toscsi.c:161 #1 0x8049e2b in main (argc=3, argv=0xbfbfd170) at tosha.c:763 #2 0x8048ba9 in _start () (gdb) At least tosha is able to read the index of the AUDIO CD: {root} tosha -i Device: /dev/cd0c -- "YAMAHA" "CRW6416S" "1.0b" track playing start end raw size mp3 size # of track number time sector sector in bytes 128 kbps frames type --------------------------------------------------------------------- 1 4:37'07 0 20781 48879264 4434328 10608 audio 2 4:38'73 20782 41704 49210896 4464408 10680 audio 3 5:17'47 41705 65526 56029344 5082861 12160 audio 4 3:50'18 65527 82794 40614336 3684675 8814 audio 5 4:11'17 82795 101636 44316384 4020461 9618 audio 6 5:28'58 101637 126294 57995616 5261208 12586 audio 7 4:40'72 126295 147366 49561344 4496195 10756 audio 8 3:55'38 147367 165029 41543376 3768941 9016 audio 9 4:57'27 165030 187331 52454304 4758595 11384 audio 10 4:45'53 187332 208759 50398656 4572141 10938 audio 11 3:40'65 208760 225324 38960880 3534701 8456 audio 12 5:21'07 225325 249406 56640864 5138328 12292 audio --------------------------------------------------------------------- total 55:25'32 249407 sectors 586605264 53290417 127302 Tnks! -- Amancio Hasty hasty@rah.star-gate.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message