udev rules

Mar 25, 2007 by glennji

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"

Similar Posts

post image
NAS to see you!
May 23, 2022

After too many years, I’m finally building myself a NAS: network-attached storage, a device for backing up files, photos, and all the data that is otherwise in the cloud. Say goodbye, FANGs, I’m going self-hosted.

post image
Dangerous Prototypes
Mar 22, 2021

Whilst Dee and Jules play videogames downstairs, I sit in a beanbag in my makerspace and contemplate the various hardware projects that I would like to complete over the next couple of years.

post image
Coffee Experiments
Mar 13, 2021

I guess I should update the ‘blog?1 Not an easy thing to do these days, since even finding the time to do something as self-indulgent as public journaling probably just means there’s something else I could be doing instead, but maybe it’s an experiment I would like to continue?