|
Making a udev rule for sonypi
Hi people,
I'm using sonypi and the sonykeyd to get the function buttons working on my Sony Vaio. They require /dev/sonypi to be created, which I've done, but after each reboot the permissions on it are reset so sonykeyd fails to start at bootup. It gives the following message:
Failed to open /dev/sonypi: Permission denied
So I believe I neet to make a rule for udev (I'm using Fedora Core 4).
I tried this but I think I have the syntax wrong, /etc/udev/rules.d/11-sonypi.rules:
# udev rule to create /dev/sonypi
KERNEL="sonypi", NAME="sonypi", MODE="0755"
But still the permissions aren't set right after reboot. Can anyone tell me what I'm doing wrong? Cheers,
Tim
|