[Bug 433072] New: Cannot access scanner as normal user
https://bugzilla.novell.com/show_bug.cgi?id=433072 Summary: Cannot access scanner as normal user Product: openSUSE 11.1 Version: Beta 2 Platform: i686 OS/Version: Other Status: NEW Severity: Major Priority: P5 - None Component: Hotplug AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: nordhaus@informatik.hu-berlin.de QAContact: qa@suse.de Found By: Beta-Customer I set up a Canon CanoScan Lide 60 with Yast, pressing the "Test" button in Yast worked fine: The scanner started moving, Yast was happy. However, when I start kooka the scanner is not detected. On the shell I can see this: $ kooka libusb couldn't open USB device /dev/bus/usb/001/005: Permission denied. libusb requires write access to USB device nodes. Checking the device file shows that I really do not have write access: $ stat /dev/bus/usb/001/005 File: `/dev/bus/usb/001/005' Size: 0 Blocks: 0 IO Block: 4096 character special file Device: eh/14d Inode: 20043 Links: 1 Device type: bd,4 Access: (0664/crw-rw-r--) Uid: ( 0/ root) Gid: ( 7/ lp) Access: 2008-10-07 15:26:58.042653757 +0200 Modify: 2008-10-07 15:26:58.042653757 +0200 Change: 2008-10-07 15:26:58.042653757 +0200 -- 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=433072 Andreas Jaeger <aj@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|bnc-team-screening@forge.provo.novell.com |freitag@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=433072 Klaas Freitag <freitag@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|freitag@novell.com |jsmeix@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=433072 User jsmeix@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=433072#c1 Johannes Meixner <jsmeix@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |WORKSFORME --- Comment #1 from Johannes Meixner <jsmeix@novell.com> 2008-10-08 00:00:49 MDT --- I cannot reproduce it. It works well for me. Since a longer time normal-user access for scanners is granted via the udev/HAL/hal-resmgr machinery which sets an ACL for the scanner's device file. Run lsusb to determine the current USB bus and device number and the run e.g. getfacl /dev/bus/usb/001/005 to see if an ACL is set and if yes, which one and for which user. By deafault only users which are logged in directly at the computer (i.e. via console "login" or via KDM/XDM but not via remote login) get access granted via the udev/HAL/hal-resmgr machinery. Have a look at /usr/lib/YaST2/bin/test_and_set_scanner_access_permissions (this is also run by YaST) --------------------------------------------------------------------- To access the scanner as normal user, udev, HAL, and hal-resmgr are needed to grant appropriate access permissions automatically. Therefore the scanner model must be known to HAL. If the scanner is not known to HAL, a re-plug of a USB scanner should help. Otherwise a reboot should be done to restart the whole udev/HAL/hal-resmgr machinery. Check if the scanner is listed in the 'lshal' output. .. If even a reboot does not help, you could access the scanner via the 'saned' as a workaround. For this workaround choose 'scanning via network' and select the 'local host configuration'. --------------------------------------------------------------------- Additionally see http://en.opensuse.org/SDB:Configuring_Scanners_from_SUSE_LINUX_9.2 --------------------------------------------------------------------- libusb + resmgr + PAM Note that the details change from version to version. Additionally there will be further enhancements (e.g. "udev", "HAL", "hal-resmgr",...). An article regarding scanner setup cannot describe all the details about USB, hotplug, udev, HAL, resmgr/hal-resmgr, PAM, and so on. Refer to the appropriate specific documentation if there are problems in one of these areas. --------------------------------------------------------------------- -- 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