Re: Problem with udev device identification



El 2011-04-22 a las 17:04 -0400, Sebastian Lara escribió:

(resending to the list)

El viernes 22 de abril de 2011, Camaleón

(...)

There must be a string that uniquely identifies the converters despite
the device being attached on them... for instance, how about the serial
number? This value shouldn't be shared between the tree devices at all :-?

Yes. I can even change some serial values but we need to replicate
this in several machines.

And what's the problem, exactly? :-?

You should be able to:

1/ Globally identify the converters by some attribute shared between
all of them (such as vendor, device...).

2/ Uniquely identify converters by some attribute not being shared
between all of them (such as serial number).

Greetings,

--
Camaleón


--
To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx
with a subject of "unsubscribe". Trouble? Contact listmaster@xxxxxxxxxxxxxxxx
Archive: http://lists.debian.org/20110423110704.GA4222@xxxxxxxxxxxxxxxxx



Relevant Pages

  • Problem with udev device identification
    ... converters and identify it by its response. ... "Writing udev rules" HOWTO, says the following about using PROGRAM ... Can I instruct udev from that RUN script to create the symlink? ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx ...
    (Debian-User)
  • Re: Problem with udev device identification
    ... When I try to write some udev rules, ... udevadm shows me the same output for the three devices except in some ... communicate with the specific device connected to the serial converters ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx ...
    (Debian-User)
  • Re: OO approach to decision sequence?
    ... It is a modified form of ChainOfResponsibility ... in which you have a collection of factory methods that all ... > string, ... order of the converters *is* important; ...
    (comp.lang.python)
  • Re: converting strings to most their efficient types 1 --> 1, A ---> A, 1.2-
    ... I'm importing large text files of data using csv. ... What is the most efficient way in python to test weather a string ... Now, you should run down the columns, testing with the most restrictive type and working to less restrictive types. ... You will also need to keep in mind the potential for commas in your numbers--so you will need to write your own converters, determining for yourself what literals map to what values. ...
    (comp.lang.python)
  • Re: string to list of numbers conversion
    ... I have a string ', )' and I want to convert this into a ... Pyparsing comes with an example that parses strings representing lists. ... This grammar also includes converters by type, so that ints come out as ... integer.setParseAction(lambda toks: int(toks)) ...
    (comp.lang.python)