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

Re: yubikey udev rules: ATTRS{} vs ATTR{}, lintian, and AppStream providers



Daniel Kahn Gillmor <dkg@fifthhorseman.net> wrote:
> Question 1 (for gniibe)
> -----------------------
>
>     Can you confirm whether udev needs to search "up the devpath" to
>     identify the Yubikey devices?

No, it's not needed to search up.  ATTR is OK for our use case of
scdaemon.  We can assume that Yubikey supports CCID interface.

Please note that a single Yubikey device supports multiple interfaces.

My guess is that the entries are originally written with its interface
(ATTR{bInterfaceClass}==11 to distinguish CCID device).  That is, the
original entries are specifically for device with CCID interface.

We don't need that.
-- 


Reply to: