[argyllcms] Re: argyll v0.60.2 usb assignments
- From: Caspar Maessen <cmaessen@xxxxxxxxxxxxxx>
- To: argyllcms@xxxxxxxxxxxxx
- Date: Wed, 15 Nov 2006 20:25:22 +0100
Op woensdag 15 november 2006 16:03, schreef Graeme Gill:
> Caspar Maessen wrote:
> > A lot of trail and error later, I found out that it is possible
> > with a udev-rule to change the owner/group assignment of the
> > device as it is made by the system in the /dev/bus/usb
> > subdirectories
> >
> > BUS="usb", SYSFS{idVendor}="0765", SYSFS{idProduct}="d094",
> > OWNER="caspar", GROUP="users"
> >
> > So, no NAME="%k" argument, because that is creating a new device
> > under /dev/ and none under /bus/usb/ and basically that is
> > causing the problem. The MODE="%k" argument doesn't work on the
> > system-created device. Looking for a solution I found the
> > OWNER-argument, and that solved it.
>
> The more I look into it, the less I can figure out. I'm not sure
> what I see on my system is unique to it, or can be generalized to
> other systems. It seems to have hotplug, and udev doesn't seem to
> work regarding usb devices. Whether this is because of a bug in
> udev, or because hotplug is present, I don't know.
>
> This
> <http://www.mail-archive.com/avr-chat@xxxxxxxxxx/msg00902.html>
> indicates that libusb will look for usb devices both under
> /proc/bus/usb/... as well as /dev/bus/usb/..., so it's unclear why
> you had a problem. The above reference, as well as
> <http://reactivated.net/writing_udev_rules.html> uses the
> "==" syntax in the udev config files (ie. SUBSYSTEM=="usb_device"),
> which whenever I used them, triggered problems (judging by the
> log files from udev, or output from udevtest). The examples in
> "man udev" seem to only a single "=" for matching conditions, which
> is a rather strange disagreement.
>
> Your changes didn't work on my system :-(
I recognize your wish to solve this matter and present the future
argyll-users with a universal solution. That's why I answered your mail
about this subject. But in fact I really didn't know what I was doing.
Looking at the dev-tree I found bus/usb. With the help of man udev and
some experimenting later, the DTP94 was recognised, and my goal
achieved. But it was rather more luck than wisdom.
I hope you succeed in your efforts, but sadly this is all I can
contribute.
In the meantime I succeeded in profiling my monitor, and am expecting
it8-targets to continue with my scanner and printer. So, I'm very happy
with the argyll commandset. Thanks.
Caspar.
--
Niet langer de sociale structuur staat centraal, maar de veiligheid als
eindproduct. In de praktijk komt dat neer op het bestrijden van
overlast, niet van achterstand en ellende. Het gevóél van veiligheid
neemt toe, terwijl de oorzaken van misdaad blijven voortbestaan. Veilig
maar gevaarlijk. --René van Swaaningen (citaat Alert, 2006)
- Follow-Ups:
- [argyllcms] Re: argyll v0.60.2 usb assignments
- From: Frédéric
- [argyllcms] Re: argyll v0.60.2 usb assignments
- From: Graeme Gill
- References:
- [argyllcms] Re: argyll v0.60.2 usb assignments
- From: Caspar Maessen
- [argyllcms] Re: argyll v0.60.2 usb assignments
- From: Graeme Gill
Other related posts:
- » [argyllcms] argyll v0.60.2 usb assignments
- » [argyllcms] Re: argyll v0.60.2 usb assignments
- » [argyllcms] Re: argyll v0.60.2 usb assignments
- » [argyllcms] Re: argyll v0.60.2 usb assignments
- » [argyllcms] Re: argyll v0.60.2 usb assignments
- » [argyllcms] Re: argyll v0.60.2 usb assignments
- » [argyllcms] Re: argyll v0.60.2 usb assignments
- » [argyllcms] Re: argyll v0.60.2 usb assignments
- » [argyllcms] Re: argyll v0.60.2 usb assignments
- » [argyllcms] Re: argyll v0.60.2 usb assignments
- » [argyllcms] Re: argyll v0.60.2 usb assignments
- » [argyllcms] Re: argyll v0.60.2 usb assignments
- » [argyllcms] Re: argyll v0.60.2 usb assignments
- » [argyllcms] Re: argyll v0.60.2 usb assignments
- » [argyllcms] Re: argyll v0.60.2 usb assignments
- [argyllcms] Re: argyll v0.60.2 usb assignments
- From: Frédéric
- [argyllcms] Re: argyll v0.60.2 usb assignments
- From: Graeme Gill
- [argyllcms] Re: argyll v0.60.2 usb assignments
- From: Caspar Maessen
- [argyllcms] Re: argyll v0.60.2 usb assignments
- From: Graeme Gill