Skip to Content.
Sympa Menu

sm-users - Re: [SM-Users] udev 090, libgphoto 2.1.99, linux 2.6.15

sm-users AT lists.ibiblio.org

Subject: Sourcemage Users List

List archive

Chronological Thread  
  • From: Flavien Bridault <vlaaad AT sourcemage.org>
  • To: sm-users AT lists.ibiblio.org
  • Subject: Re: [SM-Users] udev 090, libgphoto 2.1.99, linux 2.6.15
  • Date: Sun, 30 Apr 2006 12:25:19 +0200

Le dimanche 30 avril 2006 à 04:30 -0500, Geoffrey Derber a écrit :
> --------- Original Message --------
> From: Flavien Bridault <vlaaad AT sourcemage.org>
> To: sm-users AT lists.ibiblio.org <sm-users AT lists.ibiblio.org>
> Subject: Re: [SM-Users] udev 090, libgphoto 2.1.99, linux 2.6.15
> Date: 29/04/06 02:13
>
> <snip>
>
> > However I'm interest in the nomad.rules file, where did you get that ? I
> > don't have any /dev/bus/usb/*/* device here, that may be interesting to
> > know how this decide is created.
>
> It's part of the libnjb package, libnjb-2.2.5.tar.gz. Basically there are
> two parts, the base rule itself, then a second part with definitions for
> various devices (the vendor and product ids for the devices). We may end up
> creating a variation of that. The basic rule, then with time add devices to
> the file.
>
> Geoff

Ok thanks, that helps a lot. :-)

I think I will rather create a script that parse the output of
print-user-usbmap and create a file which contains a rule for each
camera, like what was done for the nomads. I didn't remember a GOTO
command in rules but that will be useful to avoid parsing these rules
for other events as usb_device. The first rule creating
a /dev/bus/usb/*/* similarly to /proc/bus/usb/*/* is however the most
useful stuff, I even wonder if it should not appear in our default
rules. That might be useful for scanners too (but as I don't have one I
can't really say ;-) ).

--
Flavien Bridault

Disk, Graphics, Graphics-libs sections Guru
Source Mage GNU/Linux - http://www.sourcemage.org

irc: vlaaad
jabber: vlaaad AT amessage.be

Attachment: signature.asc
Description: Ceci est une partie de message numériquement signée




Archive powered by MHonArc 2.6.24.

Top of Page