udev rules

glennji | Mar 25, 2007 min read

Not much here: Today I wrote a udev rule which creates a /dev/nokia770 device when the web tablet is plugged in.

On Ubuntu Edgy, create a file named 50-nokia770.rule in /etc/udev/rules.d with the following content:

BUS=="usb",SYSFS{product}=="Nokia 770",KERNEL=="sd?1",NAME="nokia770"