[Bug 223868] New: kcontrol logitech mouse settings want to access /proc/bus/usb
![](https://seccdn.libravatar.org/avatar/3035b38ff33cf86f480bb169b8500b80.jpg?s=120&d=mm&r=g)
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://seccdn.libravatar.org/avatar/3035b38ff33cf86f480bb169b8500b80.jpg?s=120&d=mm&r=g)
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://seccdn.libravatar.org/avatar/3035b38ff33cf86f480bb169b8500b80.jpg?s=120&d=mm&r=g)
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://seccdn.libravatar.org/avatar/3035b38ff33cf86f480bb169b8500b80.jpg?s=120&d=mm&r=g)
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://seccdn.libravatar.org/avatar/3035b38ff33cf86f480bb169b8500b80.jpg?s=120&d=mm&r=g)
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://seccdn.libravatar.org/avatar/3035b38ff33cf86f480bb169b8500b80.jpg?s=120&d=mm&r=g)
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://seccdn.libravatar.org/avatar/3035b38ff33cf86f480bb169b8500b80.jpg?s=120&d=mm&r=g)
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://seccdn.libravatar.org/avatar/3035b38ff33cf86f480bb169b8500b80.jpg?s=120&d=mm&r=g)
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://seccdn.libravatar.org/avatar/3035b38ff33cf86f480bb169b8500b80.jpg?s=120&d=mm&r=g)
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://seccdn.libravatar.org/avatar/3035b38ff33cf86f480bb169b8500b80.jpg?s=120&d=mm&r=g)
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://seccdn.libravatar.org/avatar/3035b38ff33cf86f480bb169b8500b80.jpg?s=120&d=mm&r=g)
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://seccdn.libravatar.org/avatar/3035b38ff33cf86f480bb169b8500b80.jpg?s=120&d=mm&r=g)
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://seccdn.libravatar.org/avatar/3035b38ff33cf86f480bb169b8500b80.jpg?s=120&d=mm&r=g)
https://bugzilla.novell.com/show_bug.cgi?id=223868#c13
Dirk Mueller
![](https://seccdn.libravatar.org/avatar/3035b38ff33cf86f480bb169b8500b80.jpg?s=120&d=mm&r=g)
https://bugzilla.novell.com/show_bug.cgi?id=223868
Dirk Mueller
![](https://seccdn.libravatar.org/avatar/3035b38ff33cf86f480bb169b8500b80.jpg?s=120&d=mm&r=g)
https://bugzilla.novell.com/show_bug.cgi?id=223868#c14
Kay Sievers
![](https://seccdn.libravatar.org/avatar/3035b38ff33cf86f480bb169b8500b80.jpg?s=120&d=mm&r=g)
https://bugzilla.novell.com/show_bug.cgi?id=223868#c15
Dirk Mueller
![](https://seccdn.libravatar.org/avatar/3035b38ff33cf86f480bb169b8500b80.jpg?s=120&d=mm&r=g)
https://bugzilla.novell.com/show_bug.cgi?id=223868#c16
Ludwig Nussel
![](https://seccdn.libravatar.org/avatar/3035b38ff33cf86f480bb169b8500b80.jpg?s=120&d=mm&r=g)
https://bugzilla.novell.com/show_bug.cgi?id=223868#c17
Dirk Mueller
![](https://seccdn.libravatar.org/avatar/3035b38ff33cf86f480bb169b8500b80.jpg?s=120&d=mm&r=g)
https://bugzilla.novell.com/show_bug.cgi?id=223868#c18
Robin Knapp
![](https://seccdn.libravatar.org/avatar/3035b38ff33cf86f480bb169b8500b80.jpg?s=120&d=mm&r=g)
https://bugzilla.novell.com/show_bug.cgi?id=223868#c19
Dirk Mueller
![](https://seccdn.libravatar.org/avatar/3035b38ff33cf86f480bb169b8500b80.jpg?s=120&d=mm&r=g)
https://bugzilla.novell.com/show_bug.cgi?id=223868
Jonas Nyren
![](https://seccdn.libravatar.org/avatar/3035b38ff33cf86f480bb169b8500b80.jpg?s=120&d=mm&r=g)
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
![](https://seccdn.libravatar.org/avatar/3035b38ff33cf86f480bb169b8500b80.jpg?s=120&d=mm&r=g)
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
![](https://seccdn.libravatar.org/avatar/3035b38ff33cf86f480bb169b8500b80.jpg?s=120&d=mm&r=g)
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
![](https://seccdn.libravatar.org/avatar/3035b38ff33cf86f480bb169b8500b80.jpg?s=120&d=mm&r=g)
https://bugzilla.novell.com/show_bug.cgi?id=223868
Dirk Mueller
![](https://seccdn.libravatar.org/avatar/3035b38ff33cf86f480bb169b8500b80.jpg?s=120&d=mm&r=g)
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
![](https://seccdn.libravatar.org/avatar/3035b38ff33cf86f480bb169b8500b80.jpg?s=120&d=mm&r=g)
https://bugzilla.novell.com/show_bug.cgi?id=223868
Andreas Schneider
participants (1)
-
bugzilla_noreply@novell.com