![](https://seccdn.libravatar.org/avatar/d96a80f53656582def0809411f095f6e.jpg?s=120&d=mm&r=g)
On Thu, 2005-10-27 at 15:34 -0400, Marc Collin wrote:
modprobe pktcdvd modprobe udf cdrwtool -d /dev/dvdram/ -q
pktsetup /dev/pktcdvd0 /dev/dvdram
i get ioctl: Inappropriate ioctl for device
Most probably the problem is that when you run "modprobe pktcdvd", a wrong pktcdvd device is created in /dev instead of a pktcdvd directory. I think that loading the module manually is not needed as it will be loaded automatically at the time you setup the device mapping with pktsetup. Second thing is that you use pktsetup in the wrong way. The usage for latest pktsetup versions is: pktsetup NAME /dev/mydvdwriter NAME is just a name for the device association. Running: pktsetup -h shows the correct usage notes for pktsetup. Its manual page seems incomplete. I have encountered the same problems, but after many hours of trial and error I got things working and I have written my notes in a form of a mini-howto. You can find it here: http://www.raoul.shacknet.nu/desktop/pktwriting.html I use fedora core, but linux is linux. You can create a UDEV rule for the pktcdvd devices to get rid of the above ioctl issue. Have a look at the "Common Errors" section of the document. Best regards, Raoul (...is just a nickname)