[argyllcms] Solved: Re: Re: newbie problems with make, usb
- From: david <david@xxxxxxxxxxxxx>
- To: argyllcms@xxxxxxxxxxxxx
- Date: Tue, 26 Jun 2007 10:39:38 +1000
On Mon, 2007-06-25 at 23:09 +0200, Milan Knizek wrote:
> 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"
>
Thanks Milan.... perfect!
This was the only change I had to make. So now I have:
david@test:~ $ cat /etc/udev/rules.d/10-Argyll.rules
SYSFS{idVendor}=="0765", SYSFS{idProduct}=="d094",
GROUP="plugdev"
It seems to work whether you call it 10-Argyll.rules or 50-Argyll.rules
(I tried both). I was already a member of plugdev because I was the
original user. I guess you would have to add yourself to the plugdev
group if you were a second user.
Is this udev rule an Ubuntu thing, or a kernel thing? Maybe the
installation instructions could be updated?
David.
> (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,
- Follow-Ups:
- [argyllcms] Re: Solved: Re: Re: newbie problems with make, usb
- From: Graeme Gill
- [argyllcms] Re: Solved: Re: Re: newbie problems with make, usb
- From: Caspar Maessen
- References:
- [argyllcms] newbie problems with make, usb
- From: david
- [argyllcms] Re: newbie problems with make, usb
- From: Milan Knizek
Other related posts:
- » [argyllcms] Solved: Re: Re: newbie problems with make, usb
- » [argyllcms] Re: Solved: Re: Re: newbie problems with make, usb
- » [argyllcms] Re: Solved: Re: Re: newbie problems with make, usb
- » [argyllcms] Re: Solved: Re: Re: newbie problems with make, usb
- » [argyllcms] Re: Solved: Re: Re: newbie problems with make, usb
- » [argyllcms] Re: Solved: Re: Re: newbie problems with make, usb
- » [argyllcms] Re: Solved: Re: Re: newbie problems with make, usb
- » [argyllcms] Re: Solved: Re: Re: newbie problems with make, usb
- » [argyllcms] Re: Solved: Re: Re: newbie problems with make, usb
- » [argyllcms] Re: Solved: Re: Re: newbie problems with make, usb
- [argyllcms] Re: Solved: Re: Re: newbie problems with make, usb
- From: Graeme Gill
- [argyllcms] Re: Solved: Re: Re: newbie problems with make, usb
- From: Caspar Maessen
- [argyllcms] newbie problems with make, usb
- From: david
- [argyllcms] Re: newbie problems with make, usb
- From: Milan Knizek