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
[EMAIL PROTECTED]
To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message