Marco d'Itri, le Mon 13 Nov 2006 15:28:16 +0100, a écrit :
> On Nov 12, Samuel Thibault <[EMAIL PROTECTED]> wrote:
> 
> > But it doesn't work. Actually, even
> It does not work because you are trying to apply the GROUP key to
> something which is not a device.

Ah.

> You need something like this:
> 
> BUS=="usb", KERNEL=="ttyUSB*", \
>   ATTRS{idProduct}=="2303", ATTRS{idVendor}=="067b", \
>   SYMLINK+="phone"
> 
> (So ATTRS instead of ATTR.)

Yes, this would work, but as I said, this isn't acceptable, because that
would mean listing all possible phone devices, while the OBEX capacity
(hence the possibility of using it through fuse) can be detected in a
generic way by using

ATTR{bInterfaceClass}=="02", ATTR{bInterfaceSubClass}=="0b".

(see bug 398045).

Can't a USB device be affected according to attributes of one of its
interfaces?

Samuel


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

Reply via email to