-   Linux - Hardware (
-   -   Udev rules working but... (

cferron 03-23-2006 07:58 AM

Udev rules working but...
I have already post this in the slackware section with no luck...

I have installed udev without any problem on my slackware 10.2 box (kernel I have added specific rules that create /dev/input/mouse1vss, /dev/input/mouse2vss when a mouse is connected in a specific USB port. The issue I have is that when I reboot the machine I have to disconnect and reconnect each usb device in order to have udev create the proper dev entry! Is there a way to have it create it at boot time? (yes my rc.udev is executable)

So basically rules are working, but I have to physically connect the device so it gets detected and managed by the rules.... otherwise there is no way /dev/input/mouseXvss will show up! Help...



tuxangler 03-23-2006 08:10 AM

I am using this to connect to my Logitech LX5:

KERNEL=="event*", SYSFS{idVendor}=="046d", SYSFS{idProduct}=="c50e", NAME="input/lx5", MODE="666", GROUP="uucp"
Maybe you can try something like this.
In this Case it doesn't matter to which Port the Device is connected to.

cferron 03-23-2006 02:21 PM


Originally Posted by tuxangler
In this Case it doesn't matter to which Port the Device is connected to.

Well in my case the USB port location is important +
I want to be able to connect any USB mouses not some from specific vendor in order to have the dev entry created... The rule that I'm using is working correctly, BUT I have to disconnect and reconnect the mouse in the USB drive to see the dev entry (/dev/input/mouseXvss) getting created... is this an hotplug issue?



Thanks for trying tought.

urka58 03-23-2006 05:42 PM

May be HID drivers are missing, or simply not loaded at boot.
Is your a standard (downloaded from slack site) or custom kernel ?
If standard, HID drivers are definitely compiled at least as loadable modules, so I would try to uncomment their occourences on /etc/rc.d/rc.modules.
May be this works.
If it doesn't there is a more complicate solution, using a newer version of udev not needing hotplug anymore. Newer version of udev give the possibility to create nodes necessary at boot.
Hope this helps

cferron 03-23-2006 07:12 PM

Got it!
I was able to resolve my issue by installing package from the following:

I guess my problem had to do with the fact that there was incompatibility with hotplug and the version of udev I was using...

Thanks for trying to help me!


tuxangler 03-24-2006 03:46 AM

If you are interested in writing udev-Rules anyway see this:

All times are GMT -5. The time now is 09:29 PM.