On Sunday 08 October 2006 08:41, Zephaniah E. Hull wrote: > 0: If you keep all the ID identical, userspace may have the capabilities > cached. This may also cause problems, but if Dmitry or Greg calls that > a userspace bug I'll believe them and find a workaround.
Yes, I'd consider it a bug. Tearing down and re-creating input device generates proper hotplug notifications and userspace needs to respect them as capabilities may change even if ids stay the same. For example playing with atkbd's scroll attribute will regenerate an input device with[out] scroll capabilities but its input_id structure will stay the same. ... Or were you talking about ids as in inputX? These are ever increasing as new devices get created and will never be reused (as long as atomic_t doesn't wrap around ;) ) -- Dmitry ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ linux-usb-devel@lists.sourceforge.net To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-devel