[argyllcms] Re: newbie problems with make, usb
- From: Milan Knizek <knizek@xxxxxxxx>
- To: argyllcms@xxxxxxxxxxxxx
- Date: Mon, 25 Jun 2007 23:09:38 +0200
On Monday 25 June 2007, david wrote:
>
> david@test:/etc/udev/rules.d $ cat 10-Argyll.rules
> BUS=="usb", SYSFS{idVendor}=="0765", SYSFS{idProduct}=="d094",
> PROGRAM="/bin/sh -c 'K=%k; K=$${K#usbdev}; printf bus/usb/%%03i/%%03i
> $${K%%%%.*} $${K#*.}'", NAME="%c", MODE="666"
>
>
> david@test:~ $ dmesg | tail
> [63725.064839] usb 1-2: new low speed USB device using uhci_hcd and
> address 5
> [63725.297468] usb 1-2: configuration #1 chosen from 1 choice
You might want to simplify the line a bit. I use display calibrating device
Eye One and created the following file:
user@home:~$ cat /etc/udev/rules.d/50-mk-display-e1.rules
#mk - to allow a plugdev group use the Gretagmacbeth Display Eye One 2
SYSFS{idVendor}=="0971", SYSFS{idProduct}=="2003", GROUP="plugdev"
(You would use the two id's as per your email above or lsmod output.)
Then restart udev by typing "sudo /etc/init.d/udev restart" at the command
line prompt. If you are a member of plugdev group, you should have r/w rights
for the device then.
It makes sense to use predefined groups in ubuntu:
You can check in which groups you are by typing:
david@test:/$ groups
david group1 group2 group3 ...
and possibly add yourself to the plugdev group by typing
david@test:/$ sudo usermod -a -G plugdev david
According to /etc/udev/rules.d/README, you should name your udev rules like
50-*.rules. The order of files in the directory defines the order of
processing by udev daemon. (Maybe, this is why it does not work for you.)
Hope it helps,
--
Milan Knizek
knizek (na) volny (tecka) cz
http://www.milan-knizek.net/
- Follow-Ups:
- References:
- [argyllcms] newbie problems with make, usb
- From: david
Other related posts:
- » [argyllcms] newbie problems with make, usb
- » [argyllcms] Re: newbie problems with make, usb
- » [argyllcms] Re: newbie problems with make, usb
- » [argyllcms] Re: newbie problems with make, usb
- » [argyllcms] Re: newbie problems with make, usb
- » [argyllcms] Re: newbie problems with make, usb
- [argyllcms] newbie problems with make, usb
- From: david