LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   udev doesn't create /dev/pktcdvd/0 (https://www.linuxquestions.org/questions/linux-software-2/udev-doesnt-create-dev-pktcdvd-0-a-252837/)

logout_login 11-09-2004 11:06 AM

udev doesn't create /dev/pktcdvd/0
 
Since I switched my Slackware Current to udev I can't get udftools to work :( Earlier I was able to create /dev/pktcdvd0 by hand, and everything with

#pktsetup /dev/pktcdvd0 /dev/hdc

was fine (I was able to burn udf CDs), but now with udev and new driver version - block file in /dev/pktcdvd/ just doesn't want to show up when I modprobe pktcdvd, and.. i don't know the device number to create block file on my own (it seems they changet it), of course I would prefer doing this automtically, any idea ??

kernel 2.6.9
latest udftools
udev 042
nitro patch to enable udf writing

when i create /dev/pktcdvd directory on my own:
#pktsetup /dev/pktcdvd/0 /dev/hdc
ioctl: Inappropriate ioctl for device

maybe I just configured something wrong ?? :\

behmjoe 04-03-2005 11:29 PM

Hi,

ditto i have a similar problem, and i am using linux-2.6.11.6 also using udftools-1.0.0b3. I must also say i am using the latest udev and hotplug scripts. I added a couple of lines to my udev rules and permissions files. Here they are:

i added this line to my /etc/udev/50-udev.permissions:

pktcdvd/*:root:cdrw:0660

I added these lines to my /etc/udev/rules.d/50-udev.rules:

KERNEL="pktcdvd", NAME="pktcdvd/control"
KERNEL="pktcdvd[0-9]*", NAME="pktcdvd/pktcdvd%n"

Here is my problem at the command line:

ls -l /dev/pktcdvd
crw- --- --- 10, 63 /dev/control

pktsetup /dev/pktcdvd/pktcdvd0 /dev/hdf
ioctl: Inappropriate ioctl for device

ls -l /dev/pktcdvd
crw- --- --- 10, 63 /dev/pktcdvd/control
-r-- --x r-t 0 /dev/pktcdvd/pktcdvd0

pktsetup /dev/pktcdvd/pktcdvd0 /dev/hdf
ioctl: Inappropriate ioctl for device

So, I think you have the same problem. I have the packet writing driver built into my kernel so I don't think it has to do with modprobe. Googling has done me no good. So i hope this adds information to a possible viewer of this thread to help us both out.

thanks,
warren rockefellar


All times are GMT -5. The time now is 12:29 AM.