Results 1 to 1 of 1
I have a spi device with a custom driver that I am trying to get to work with udev. I currently have a udev rule written that will execute a ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 05-26-2009 #1Just Joined!
- Join Date
- May 2009
- Posts
- 1
udev rule executes command, wont add device node
I have a spi device with a custom driver that I am trying to get to work with udev. I currently have a udev rule written that will execute a script so I know the udev rule is valid. I can also make it execute mknod to create a device node in /dev. What I would like to do is have udev create the device node for me without using the mknod call.
Working Rule
SUBSYSTEM=="spi", KERNEL=="spi10.0", RUN+="/bin/mknod /dev/thedevice c 252 0"
Want to work rule (not working)
SUBSYSTEM=="spi", KERNEL=="spi10.0", NAME="thedevice"
I appreciate any help.


Reply With Quote
