View Single Post
  #1   (View Single Post)  
Old 28th August 2010
shep shep is offline
Real Name: Scott
Arp Constable
 
Join Date: May 2008
Location: Dry and Dusty
Posts: 1,507
Default uscanner0 permissions

I have been very happy with a recently installed am64 current desktop but am hav
ing difficulties scanner as a user. I have xsane installed and see my HP 5200C
scanner attach to uscanner0 in the dmesg. I am a member of the wheel group.

When I start xsane it says no scanner found
What I think is the pertinent part of my dmesg
Quote:
ohci0 at pci0 dev 19 function 0 "ATI SB600 USB" rev 0x00: apic 4 int 16 (irq 3), version 1.0, legacy support
ohci1 at pci0 dev 19 function 1 "ATI SB600 USB" rev 0x00: apic 4 int 17 (irq 11), version 1.0, legacy support
ohci2 at pci0 dev 19 function 2 "ATI SB600 USB" rev 0x00: apic 4 int 18 (irq 5), version 1.0, legacy support
ohci3 at pci0 dev 19 function 3 "ATI SB600 USB" rev 0x00: apic 4 int 17 (irq 11), version 1.0, legacy support
ohci4 at pci0 dev 19 function 4 "ATI SB600 USB" rev 0x00: apic 4 int 18 (irq 5), version 1.0, legacy support
ehci0 at pci0 dev 19 function 5 "ATI SB600 USB2" rev 0x00: apic 4 int 19 (irq 10)
usb0 at ehci0: USB revision 2.0
uhub0 at usb0 "ATI EHCI root hub" rev 2.00/1.00 addr 1
....
usb1 at ohci0: USB revision 1.0
uhub1 at usb1 "ATI OHCI root hub" rev 1.00/1.00 addr 1
usb2 at ohci1: USB revision 1.0
uhub2 at usb2 "ATI OHCI root hub" rev 1.00/1.00 addr 1
usb3 at ohci2: USB revision 1.0
uhub3 at usb3 "ATI OHCI root hub" rev 1.00/1.00 addr 1
usb4 at ohci3: USB revision 1.0
uhub4 at usb4 "ATI OHCI root hub" rev 1.00/1.00 addr 1
usb5 at ohci4: USB revision 1.0
uhub5 at usb5 "ATI OHCI root hub" rev 1.00/1.00 addr 1
....
uscanner0 at uhub1 port 1 configuration 1 interface 0 "Hewlett-Packard HP ScanJet 5200C" rev 1.00/1.00 addr 2
My /etc/group
Quote:
wheel:*:0:root,jsh
...
_saned:*:553:
My /dev/uscanner0
Quote:
crw-rw---- 1 root wheel 77, 0 Aug 23 13:50 /dev/uscanner0
The OpenBSD.README for sane says I just need rw permissions.
I am going to try adding myself to the saned group which I just found but say nothing that this is needed for user access.

Output of sane-find-scanner
Quote:
$ sane-find-scanner

# sane-find-scanner will now attempt to detect your scanner. If the
# result is different from what you expected, first make sure your
# scanner is powered up and properly connected to your computer.

# No SCSI scanners found. If you expected something different, make sure that
# you have loaded a kernel SCSI driver for your SCSI adapter.

found USB scanner (UNKNOWN vendor and product) at device /dev/uscanner0
# Your USB scanner was detected. It may or may not be supported by
# SANE. Try scanimage -L and read the backend's manpage.
# `UNKNOWN vendor and product' means that there seems to be a scanner at this
# device file but the vendor and product ids couldn't be identified.
# Currently identification only works with Linux versions >= 2.4.8. You may
# need to configure your backend manually, see the backend's manpage.

# Not checking for parallel port scanners.

# Most Scanners connected to the parallel port or other proprietary ports
# can't be detected by this program.

# You may want to run this program as root to find all devices. Once you
# found the scanner devices, be sure to adjust access permissions as
# necessary.
Any suggestions appreciated

Last edited by shep; 28th August 2010 at 08:41 PM. Reason: added sane-find-scanner output
Reply With Quote