Summary: | Restrict the device list of the UDev backend to only "interesting" devices | ||
---|---|---|---|
Product: | [Unmaintained] solid | Reporter: | Kevin Ottens <ervin> |
Component: | libsolid-udev | Assignee: | Alex Fiestas <afiestas> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | ereslibre, ervin, rickstockton |
Priority: | NOR | Keywords: | release_blocker |
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Unlisted Binaries | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: |
Description
Kevin Ottens
2010-10-09 16:00:41 UTC
SVN commit 1186190 by ereslibre: Add support for listing only those changes that are of interest. Not closing the bug since I need to find out how to really list all devices in which we are interested for the UDev backend CCBUG: 253672 M +17 -2 udevmanager.cpp WebSVN link: http://websvn.kde.org/?view=rev&revision=1186190 The "interesting" type of devices are - GenericInterface - Processor - Camera - PortableMediaPlayer only ? I don't know if also we have to implement in UDev: - AudioInterface - Video Video if possible would be nice to have as well. AudioInterface I'm doubtful we can make it from the UDev backend, it'll likely ask for an ALSA one. That's why I didn't put any of those as blocking bug reports, but if you feel you can make them happen in the UDev backend, by all mean do it. :-) Kevin, Rafael: I am only a KDE user and can't read code competently. (And this comment is also *NOT* relevant to the current 4.7 "release_blocker" effort.). Future question: Does the use of a qt "wrapper" for UDev properties keep KDE trapped in qt's implementation of mouse pointing devices, or can Solid discover extra mouse buttons directly from UDev and it's X11 rules? That could let KDE escape from the long-standing trap that "qt only lets us see 3 mouse buttons". It already causes considerable unhappiness. (I personally overload KWin with Compiz, because Compiz lets me use my buttons without translating them into keycode sequences.) But I see a near-term future in which "X11 Desktop Computer Users" sit on the couch in front of their 3D, quad-HD televisions -- and they're waving their hands in the air, clicking "buttons" on soft, egg-sized pointer devices in each palm. If we remain stuck with 2 fingers, instead of 5, we're not going to win friends. I see that qt has recently added gestures with the same old 3-button limitation :( The folks at qt "could" add support for more sophisticated pointer devices, ... but they could have done it years ago, and and never bit the bullet on expanding the mouse-state byte to provide room for more buttons. Besides, phone screens will probably never distinguish more than two touches doing a "pinch" or "unpinch", so they probably have no Nokia-related strategic interest in supporting multi-button X11 mice. Could KDE support such mice (and future pointers) via Solid, instead of depending on the primitive level of support provided by qt? Do feel COMPLETELY free to tell me I'm an idiot, and to go away- because, as far as computers go, that's completely true. Now interesting devices are only those that we consider "interesting". Fixed by commmits: http://websvn.kde.org/trunk/KDE/kdelibs/solid/solid/backends/udev/udevmanager.cpp?r1=1204288&r2=1204287&pathrev=1204288 http://websvn.kde.org/trunk/KDE/kdelibs/solid/solid/backends/udev/udevmanager.cpp?r1=1204479&r2=1204478&pathrev=1204479 Thanks Lukas ! |