On Tue, 2005-11-29 at 10:53, Marco d'Itri wrote:
> On Nov 29, Xavier Bestel <[EMAIL PROTECTED]> wrote:
> [...]
> > There should probably exist some sane defaults to let
> > people recognize their devices in /dev.
> Please explain how this should actually work, which symlinks should be
> created, how the devices would be detected and when.
> The default rules files already create a pilot symlink, BTW.

Well, I have a nokia cable that has these attributes:
    SYSFS{idProduct}=="2303"
    SYSFS{idVendor}=="067b"
    SYSFS{manufacturer}=="Prolific Technology Inc."
    SYSFS{product}=="USB-Serial Controller"

I could easily write a rule that would create a /dev/pl2303 (or
whatever) to differentiate it from the palm, but that would be a bit
ad-hoc. Maybe have something like SYMLINK+="usbserial%s{idProduct}" ?

I understand that having it for all devices kind is a bit troublesome,
and I'm beginning to believe device persistence can't be solved without
some state saved somewhere, preferably by the application.

I have to think a bit more about it.

        Xav




-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to