LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Hardware (http://www.linuxquestions.org/questions/linux-hardware-18/)
-   -   Unplugging USB device generates weird /var/log/messages entry (http://www.linuxquestions.org/questions/linux-hardware-18/unplugging-usb-device-generates-weird-var-log-messages-entry-756281/)

desertViking 09-18-2009 07:19 PM

Unplugging USB device generates weird /var/log/messages entry
 
Hi,

I'm having trouble getting Mandriva to recognize my udev rules. These rules work fine on several other distros. I've used them on Suse, Fedora, Slackware and Debian, so I'm reasonably confident that they are crafted OK but I'm not understanding something about udev on Mandriva.

The correct read/write attributes are not set when I plug the device in, but it functions correctly if I mannual set them via chmod.

The interesting thing is that when I disconnect the device, it throws a wierd error into /var/log/messages:

Code:

exec of program '/lib/udev/' failed
Has anyone ever seen that before, and does it provide some clue as to what my problem might be?

aus9 09-18-2009 09:04 PM

hi

I am no expert but
http://www.reactivated.net/writing_udev_rules.html
http://linux.die.net/man/8/udevadm

2) maybe your rule expects a certain mount pathway which Mdv does not use?

3) have you tried to run
udevadm info
udevadm control debug

4) does your rule have a line similar to this? separated by a comma of course

RUN+="/bin/chmod 660 /pathway/file or /dev/something "

or define group or use 666 to get it working rw


All times are GMT -5. The time now is 06:24 PM.