[Bug 223868] New: kcontrol logitech mouse settings want to access /proc/bus/usb
https://bugzilla.novell.com/show_bug.cgi?id=223868 Summary: kcontrol logitech mouse settings want to access /proc/bus/usb Product: openSUSE 10.2 Version: RC 1 Platform: Other OS/Version: Other Status: NEW Severity: Normal Priority: P5 - None Component: KDE AssignedTo: kde-maintainers@suse.de ReportedBy: robin.knapp@fujitsu-siemens.com QAContact: qa@suse.de Trying to set the advanced settings of logitech mice in KDE Control Center, the applet complains about wrong rights. In documentation "help:/kcontrol/mouse/index.html" there is some information that the applet needs access to /proc/bus/usb which does not exist in udev. Instead /dev/bus/usb should be used. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=223868 dmueller@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |lnussel@novell.com, anschneider@novell.com Status|NEW |NEEDINFO Info Provider| |robin.knapp@fujitsu-siemens.com ------- Comment #1 from dmueller@novell.com 2006-11-27 06:53 MST ------- thanks, but this can not be the reason, because the module already uses libusb (which uses /sys and not /proc). could you please quote the exact error message you get (perhaps screenshot or so) which you get? also, did you try the module as root or as regular user? I'm not entirely sure if resmgr assigns read rights to the right devices.. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=223868 ------- Comment #2 from dmueller@novell.com 2006-11-27 07:10 MST ------- libusb apparenly falls back to /proc if /dev/bus/usb is not readable. could you please post output of "getfacl /dev/bus/usb/*/*" ? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=223868 ------- Comment #3 from lnussel@novell.com 2006-11-27 07:24 MST ------- there is no general rule that permits access to usb devices for mice. If you install the lomoco package you get access to all logitech mice supported by lomoco. I condider that a hack as well though. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=223868 ------- Comment #4 from anschneider@novell.com 2006-11-27 07:56 MST ------- You can only poll informations form a USB device so you have to send something to send a request to the device. libusb requires write access to the device to get the device informations. So the user needs write access to /dev/bus/usb. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=223868 ------- Comment #5 from robin.knapp@fujitsu-siemens.com 2006-11-27 13:10 MST ------- I currently cannot get a screenshot and the other info (maybe later today, I'll add it then), but what I can say now: The dialogue was entirely greyed out and there was a message complaining about wrong permissions or that there might be wrong permissions or access problems and you should read the manual. The help page gave some instructions and scripts for "hotplug" (as you can verify yourself) So comment #4 might be right. IIRC this does not work on other current distributions like ubuntu, too, at least I've seen it somewhere else in the past few months. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=223868 ------- Comment #6 from robin.knapp@fujitsu-siemens.com 2006-11-27 13:12 MST ------- (In reply to comment #1)
also, did you try the module as root or as regular user? I'm not entirely sure if resmgr assigns read rights to the right devices..
oh, forgot to mention, I tries as regular user. I'll try again with user root later... -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=223868 ------- Comment #7 from robin.knapp@fujitsu-siemens.com 2006-11-27 14:23 MST ------- Created an attachment (id=107102) --> (https://bugzilla.novell.com/attachment.cgi?id=107102&action=view) Logitech settings panel -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=223868 ------- Comment #8 from robin.knapp@fujitsu-siemens.com 2006-11-27 14:26 MST ------- Created an attachment (id=107107) --> (https://bugzilla.novell.com/attachment.cgi?id=107107&action=view) strace of kcontrol search for "usb" You will find some "permission denied" on /dev/bus/usb/.../... -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=223868 ------- Comment #9 from robin.knapp@fujitsu-siemens.com 2006-11-27 14:27 MST ------- robin@linux:~> getfacl /dev/bus/usb/*/* getfacl: Removing leading '/' from absolute path names # file: dev/bus/usb/001/001 # owner: root # group: root user::rw- group::r-- other::r-- # file: dev/bus/usb/001/002 # owner: root # group: root user::rw- group::r-- other::r-- # file: dev/bus/usb/001/003 # owner: root # group: root user::rw- group::r-- other::r-- # file: dev/bus/usb/002/001 # owner: root # group: root user::rw- group::r-- other::r-- -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=223868 robin.knapp@fujitsu-siemens.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |ASSIGNED Info Provider|robin.knapp@fujitsu- | |siemens.com | ------- Comment #10 from robin.knapp@fujitsu-siemens.com 2006-11-27 14:31 MST ------- linux:/home/robin # lsusb Bus 002 Device 001: ID 0000:0000 Bus 001 Device 002: ID 046d:c30a Logitech, Inc. Bus 001 Device 003: ID 046d:c01b Logitech, Inc. MX310 Optical Mouse <<<-- this is the device Bus 001 Device 001: ID 0000:0000 Hint: as root the panel works. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=223868 ------- Comment #11 from jrobiso2@ford.com 2007-02-13 15:35 MST ------- I'm wondering if perhaps changing this line in /etc/udev/rules.d/50-udev-default.rules??? # libusb device access SUBSYSTEM=="usb_device", ACTION=="add", PROGRAM="/bin/sh -c 'K=%k; K=$${K#usbdev}; printf bus/usb/%%03i/%%03i $${K%%%%.*} $${K#*.}'", NAME="%c", MODE="0644" Note the 0644. Perhaps this should be 0666? Note that in 10.2 I already had lots of problems with access to the cdrecorder at /dev/hdc, and solved it by making k3b 4755. I didn't have to do that with 10.1 -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=223868#c13 Dirk Mueller <dmueller@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |NEEDINFO --- Comment #13 from Dirk Mueller <dmueller@novell.com> 2007-08-12 03:06:29 MST --- kay, what would be the appropriate udev rule to give access to these devices for the locally logged in user? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=223868 Dirk Mueller <dmueller@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Info Provider| |kasievers@novell.com -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=223868#c14 Kay Sievers <kasievers@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |kasievers@novell.com Status|NEEDINFO |NEW Info Provider|kasievers@novell.com | --- Comment #14 from Kay Sievers <kasievers@novell.com> 2007-08-12 06:09:45 MST --- Udev is not involved with any concept of a "local" user. It can only set primary ownership user/group of device nodes, but no permission will change at login/logout of users. We do this with hal-resmgr, triggered by hotplug/hal events and tracking login/logout with pam. It applies ACL's to the device nodes for "local" users. That would be the place to do this. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=223868#c15 Dirk Mueller <dmueller@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |NEEDINFO Info Provider| |lnussel@novell.com --- Comment #15 from Dirk Mueller <dmueller@novell.com> 2007-08-12 06:32:26 MST --- ludwig: no access to usb for logged in users? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=223868#c16 Ludwig Nussel <lnussel@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |NEW Info Provider|lnussel@novell.com | --- Comment #16 from Ludwig Nussel <lnussel@novell.com> 2007-08-30 07:47:59 MST --- ups, overlooked this one. No, access to arbitrary usb devices is not granted by default. The package lomoco has an fdi file that grants access to the usb devices of logitech mice though. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=223868#c17 Dirk Mueller <dmueller@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |NEEDINFO Info Provider| |robin.knapp@fujitsu-siemens.com --- Comment #17 from Dirk Mueller <dmueller@novell.com> 2007-09-21 10:26:07 MST --- do you have lomoco package installed? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=223868#c18 Robin Knapp <robin.knapp@fujitsu-siemens.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |NEW Info Provider|robin.knapp@fujitsu-siemens.com | --- Comment #18 from Robin Knapp <robin.knapp@fujitsu-siemens.com> 2007-09-24 02:40:51 MST --- Sorry, I don't have this system anymore. I know that I installed this package sometime, but I'm not sure if it was on this system/installation. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=223868#c19 Dirk Mueller <dmueller@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |WORKSFORME --- Comment #19 from Dirk Mueller <dmueller@novell.com> 2007-09-24 03:15:27 MST --- ok, please reopen if you still have the issue after installing lomoco -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=223868 Jonas Nyren <jonas.nyren@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jonas.nyren@gmail.com Status|RESOLVED |VERIFIED -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=223868 User jonas.nyren@gmail.com added comment https://bugzilla.novell.com/show_bug.cgi?id=223868#c20 Jonas Nyren <jonas.nyren@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|VERIFIED |REOPENED Resolution|WORKSFORME | --- Comment #20 from Jonas Nyren <jonas.nyren@gmail.com> 2008-08-01 13:12:45 MDT --- This also happens for me. And yes, I have lomoco installed. The same dialog appears as the previous user reported, and clicking help suggests adding 2 scripts that will not run because there is nothing inside /proc/bus/usb -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=223868 User jrobiso2@ford.com added comment https://bugzilla.novell.com/show_bug.cgi?id=223868#c21 --- Comment #21 from Jonathon Robison <jrobiso2@ford.com> 2008-08-01 13:16:38 MDT --- And this is still an issue with 11.0. I am using a Logitech MX1000 laser mouse (usb wireless mouse). KDE config gives the same "permissions problem" information as in comment #7. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=223868 User jrobiso2@ford.com added comment https://bugzilla.novell.com/show_bug.cgi?id=223868#c22 --- Comment #22 from Jonathon Robison <jrobiso2@ford.com> 2008-08-01 13:28:03 MDT --- Even lomoco doesn't seem to be cutting it. Here is the relevant part of the /usr/share/hal/fdi/policy/10osvendor/50-lomoco.fdi file: <!-- "C-BN34", "Receiver for MX1000 Laser" --> <match key="usb_device.product_id" int="0xc50e"> <merge key="resmgr.class" type="string">input</merge> </match> which should match what I have, according to lsusb: "Bus 005 Device 002: ID 046d:c50e Logitech, Inc. MX-1000 Cordless Mouse Receiver" and yet the device is still read-only for users per getfacl. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=223868 Dirk Mueller <dmueller@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|dmueller@novell.com |anschneider@novell.com Status|REOPENED |NEW -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=223868 User anschneider@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=223868#c23 Andreas Schneider <anschneider@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED --- Comment #23 from Andreas Schneider <anschneider@novell.com> 2009-02-04 07:08:11 MST --- I've updated the hal rules of lomoco in factory. This package should work with 11.1 too. Closing as fixed. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=223868 Andreas Schneider <anschneider@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|--- |Future/Later -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com