Re: RFC: ATA to CAM integration patch



2) Audio CD stuff on the DVD drive gets cranky.

- cdrecord doesn't seem to like it anymore. -scanbus says
cdrecord: Inappropriate ioctl for device. CAMIOCOMMAND ioctl
failed. Cannot open SCSI driver.

Did someone iomplement a CAM driver that does not support the ioctl
for sending SCSI commands, or do you have different problems?


- Using cdda2wav to try and rip an audio track using the cd0 device
scrolls a lot of
Sorry, this driver and/or drive does not support cdda reading.
and such errors. Guessing the bus/id/lun from the devlist gives
what I assume is the same ioctl error from above.

Be careful: if you give a /dev/* parameter to cdda2wav, it will use cooked
ioctls from the kernel to read audio and I know of no operating system that
does this in a recent way. If you like to get the best quality, you need to
send RAW SCSI commands directly from cdda2wav.

Do you use a recent cdrtools from:

ftp://ftp.berlios.de/pub/cdrecord/alpha/
http://cdrecord.berlios.de

Note that this is slow today as a switch died yesterday and I needed to reroute
the data though other networks without physical device access.

Jörg

--
EMail:joerg@xxxxxxxxxxxxxxxxxxxxxxxxxxx (home) Jörg Schilling D-13353 Berlin
js@xxxxxxxxxxxxxxx (uni)
joerg.schilling@xxxxxxxxxxxxxxxxxxx (work) Blog: http://schily.blogspot.com/
URL: http://cdrecord.berlios.de/private/ ftp://ftp.berlios.de/pub/schily
_______________________________________________
freebsd-current@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscribe@xxxxxxxxxxx"



Relevant Pages

  • Re: SetCommState() fails with "A device attached to the system is not functioning"
    ... IOCTL codes required. ... If it would fail to support one of these, ... It sounds like the fix is not in SetCommState, but in the device driver ... The driver is the standard usbser.sys (USB serial port driver ...
    (microsoft.public.vc.mfc)
  • Re: WMI (error 4200)
    ... WDM error 4200 means some particular operation wasn't supported by a ... A particular driver may not support the ioctl sent to it. ...
    (microsoft.public.win32.programmer.wmi)
  • Re: USB Driver crashing
    ... and SD can support this, it does not mean that the other device driver ... I am trying to include the USB Mass Storage Class Driver. ... While this IOCTL is handled in SD card and ATADISK ...
    (microsoft.public.windowsce.platbuilder)
  • Re: new tool: blktool
    ... all of the ATA device commands issued by hdparm ... can be supported in a driver by simply implementing the HDIO_DRIVE_CMD ... ioctl -- This is only a few lines of code in a typical SATA/SCSI driver, ... > hdparm works for some SCSI devices already, and support for ...
    (Linux-Kernel)
  • Re: SCSI Passthrough Using Write Buffer Command
    ... There is a chance that some CD-ROM filter driver does not support forwarding ... Have you tried use some other kind of SCSI write command (like WRITE 0x2A, ...
    (microsoft.public.development.device.drivers)

Quantcast