Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 04-03-2005, 10:55 PM   #1
Registered: Mar 2005
Posts: 80

Rep: Reputation: 15
how does one configure udev to create /dev/pktcdvd/pktcdvd*?


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


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"

the results:

ls /dev/pktcdvd

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

I have been googling making posts in other forums for a couple weeks no answers. It seems like udftools-1.0.0b3 is old, and that is what i am using. I looked in the cvs it also looks old from sourceforge. I am using linux-, and the current hotplug scripts and udev version. I think something changed in the new kernels or something. I have built this linux system from source code guided by the linux from scratch project. When i initially tried udftools udev created /dev/pktcdvd which was a character device which i modified with the udev rules to get the proper name control and be in the proper directorie. Am i the only one with this problem. Does anyone use another software package for packet writing in linux? I have a cdrw drive, and i know their is some packet writing software for dvdrw drives, and i was wondering if it also worked for cdrw's. I am all ears i need to solve this problem so i can move on with my system.

Warren rockefellar
Old 04-04-2005, 10:40 AM   #2
Senior Member
Registered: Mar 2003
Location: Following the white rabbit
Distribution: Slackware64 14.2 Solus
Posts: 2,264

Rep: Reputation: 51
Did you enable the CD packet writing option when you compiled your kernel? If not, you'll need to recompile it with that option enabled.
Old 04-04-2005, 10:44 AM   #3
Registered: Mar 2005
Posts: 80

Original Poster
Rep: Reputation: 15

Yes i enabled packet writing in my kernel config, and i have it built into the kernel rather than a module.

Old 04-04-2005, 01:49 PM   #4
Registered: Mar 2005
Posts: 80

Original Poster
Rep: Reputation: 15

I have a directorie in the /sys tree for pktcdvd

$ ls /sys/class/misc/pktcdvd

how do I write my udev rules to create /dev/pktcdvd/pktcdvd0. I have been trying to figure this out for about a week maybe a little more. I feel this is not documented well. Please give me help I need to use my cdrw.



Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
udev takes long time to create /dev/usbhd symlink Yalla-One Slackware 4 04-04-2005 04:27 AM
udev doesn't create /dev/pktcdvd/0 logout_login Linux - Software 1 04-04-2005 12:29 AM
udev likes to delete /dev/sda* but not create them :( edman007 Linux - Software 2 01-18-2005 06:02 PM
udev does not create scsi device node maenho Linux - Software 0 11-27-2004 06:08 AM
how to tell udev to make a dev jimdaworm Slackware 10 08-13-2004 08:12 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 08:57 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration