LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


Reply
  Search this Thread
Old 04-03-2005, 09:55 PM   #1
behmjoe
Member
 
Registered: Mar 2005
Posts: 80

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


Hi,

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"

the results:

ls /dev/pktcdvd
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

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-2.6.11.6, 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.

peace,
Warren rockefellar
 
Old 04-04-2005, 09:40 AM   #2
masonm
Senior Member
 
Registered: Mar 2003
Location: Following the white rabbit
Distribution: Slackware64 -current
Posts: 2,300

Rep: Reputation: 90
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, 09:44 AM   #3
behmjoe
Member
 
Registered: Mar 2005
Posts: 80

Original Poster
Rep: Reputation: 15
Hi,

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

thanks
 
Old 04-04-2005, 12:49 PM   #4
behmjoe
Member
 
Registered: Mar 2005
Posts: 80

Original Poster
Rep: Reputation: 15
Hi,

I have a directorie in the /sys tree for pktcdvd

$ ls /sys/class/misc/pktcdvd
dev
$

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.

thanks
 
  


Reply



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 03:27 AM
udev doesn't create /dev/pktcdvd/0 logout_login Linux - Software 1 04-03-2005 11:29 PM
udev likes to delete /dev/sda* but not create them :( edman007 Linux - Software 2 01-18-2005 05:02 PM
udev does not create scsi device node maenho Linux - Software 0 11-27-2004 05:08 AM
how to tell udev to make a dev jimdaworm Slackware 10 08-13-2004 07:12 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 11:20 PM.

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