Re: Multi-serial USB Device

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sat, Jan 30, 2010 at 2:58 PM, David Zeuthen <david@xxxxxxxx> wrote:
> I'm not sure that the output of PROGRAM is parsed the same way it is for
> IMPORT - in fact, I think it's just ignored for PROGRAM - Kay? Anyway,
> the general idea is something like this

According to udev(7) on this RHEL5.4 machine (udev-095-14.21.el5),
RESULT can be matched against the output of the last PROGRAM call and
$result or %c can be use in substitutions.  Still, the idea of reading
both the serial number and the port number from the logger would allow
me to get by with a single udev rule along the lines of what you
wrote.

Thanks much for your input.  Looks like exactly what I needed.

Paul
--
To unsubscribe from this list: send the line "unsubscribe linux-hotplug" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel]     [Linux DVB]     [Asterisk Internet PBX]     [DCCP]     [Netdev]     [X.org]     [Util Linux NG]     [Fedora Women]     [ALSA Devel]     [Linux USB]

  Powered by Linux