Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 24 Sep 2001 13:20:23 -0600
From:      "Kenneth D. Merry" <ken@kdm.org>
To:        Randy Bush <randy@psg.com>
Cc:        freebsd-multimedia@FreeBSD.ORG
Subject:   Re: tosha: cam_lookup_pass: CAMGETPASSTHRU ioctl failed
Message-ID:  <20010924132023.A5762@panzer.kdm.org>
In-Reply-To: <E15lbBm-000MC4-00@rip.psg.com>; from randy@psg.com on Mon, Sep 24, 2001 at 12:14:46PM -0700
References:  <E15lb0s-000Ldd-00@rip.psg.com> <E15lbBm-000MC4-00@rip.psg.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, Sep 24, 2001 at 12:14:46 -0700, Randy Bush wrote:
> > the command
> > 
> >     tosha -t1 -d/dev/racd0c -k128 -f wav -o foo
> > 
> > produces
> > 
> >     tosha: cam_lookup_pass: CAMGETPASSTHRU ioctl failed
> >     cam_lookup_pass: No such file or directory
> >     cam_lookup_pass: either the pass driver isn't in your kernel
> >     cam_lookup_pass: or acd0 doesn't exist
> > 
> > i can play the cd using xmcd, but on /dev/acd0c with same major/minor
> > as acd0.
> > 
> > the device is there
> > 
> >     # ls -l /dev/acd0      
> >     crw-r--r--  1 root  wheel  117,   2 Sep 24 11:51 /dev/acd0
> > 
> > kernel does have pass driver
> > 
> >     # SCSI peripherals
> >     device          scbus0 at sym0  # SCSI bus (required)
> >     #device         da              # Direct Access (disks)
> >     device          da0 at scbus0 target 0 unit 0
> >     device          da1 at scbus0 target 1 unit 0
> >     device          sa              # Sequential Access (tape etc)
> >     device          cd              # CD
> >     device          pass            # Passthrough device (direct SCSI access)
> 
> forgot to mention the obvious, dmesg sez
> 
>     acd0: DVD-ROM <TOSHIBA DVD-ROM SD-M1502> at ata0-master using PIO4

The pass driver works for SCSI CD/DVD drives, not ATAPI.  Tosha only works
with the pass driver.

You probably need something like dagrab to get audio off an ATAPI CDROM.

Ken
-- 
Kenneth Merry
ken@kdm.org

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-multimedia" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010924132023.A5762>