Re: Probleme mit cdda2wave und generic_scsi
Michelle Konzack <linux4michelle@freenet.de> schrieb:
> Am 2006-04-29 17:41:31, schrieb Johannes Starosta:
>> Michelle Konzack <linux4michelle@freenet.de> schrieb:
>> >| cdda2wav --device /dev/scd0 --interface generic_scsi
>> ^^^^^^^^^ ^^^^^^^^^^^^
>> man cdda2wav:
>> "--device (...) For example /dev/cdrom for the cooked_ioctl interface
>> and Bus,ID,Lun for the generic_scsi interface. The device has to
>> correspond with the interface setting (see below)."
>
> You saved my live!
>
> su root -- cdda2wav -scanbus
> Password:
> scsibus2:
> 2,0,0 200) 'ASUS ' 'DVD-E616A ' '1.05' Removable CD-ROM
>
> OK, nun bekomme ich aber das:
>
> cdda2wav: Permission denied. Cannot open '/dev/sg0'. Cannot open SCSI driver.
> cdda2wav: For possible targets try 'cdda2wav -scanbus'. Make sure you are root.
> Use the script scan_scsi.linux to find out more.
> Probably you did not define your SCSI device.
> Set the CDDA_DEVICE environment variable or use the -D option.
> You can also define the default device in the Makefile.
> For possible transport specifiers try 'cdda2wav dev=help'.
>
> Das ist weniger gut...
>
> Wie bekomme ich nun /dev/scd0 dazu, /dev/sg0 zu sein?
cdda2wav basiert AFIK auf dem Treiber SCSI Generic. Diese Meldung
könnte aber eher auf ein Rechteproblem hin. Obige Meldung kommt
nämnlich recht oft bei Problemen, auch wenn es mit den Device nur
indirekt zu tun hat :) Hast du denn --device=2,0,0 einmal probiert?
Funktioniert es mit root Rechten?
> Kann es vieleicht daran liegen, das cdrtools unter einem 2.6er
> kompiliert wurden und ich nen 2.4.27, bzw., 2.4.32 verwende?
Ich weiss es nicht. Ich habe die Version gerade bei mir (2.4.27)
getestet und dazu eine selbst kompilierte. Beide funktionierten.
--
MFG, Johannes
http://home.arcor.de/jstarosta
Reply to: