Subject: Re: scanner-user-permissions
To: Wolfgang Steuerle <netbsd@steuerle.net>
From: Dave Tyson <Dave.Tyson@liverpool.ac.uk>
List: port-i386
Date: 12/16/2007 18:59:01
On Sunday 16 December 2007 10:23:07 you wrote:
> Hallo,
> I got my mustek 1200 cu plus (usb)-Scanner to run as root. Now of course
> I would  like to use it as a common user. Here is what scanimage -L says:
>
> device `mustek_usb:libusb:/dev/usb0:/dev/ugen0' is a Mustek 1200 CU Plus
> flatbed scanner
>
>
> NetBSD 3.1
> sane-backends-1.0.18
> What do I have to do to run it as normal user ?
> Are any further Information required ?
>
> Thank you in advance
> Wolfgang
>
> P.S. of course I tried google-groups, but was drowned by thousands
> of messages that were about scanners that do something else (network).

I have a similar device (Mustek 1200 UB) working under NetBSD 4.0_RC4
however its is detected as:

(dmesg)
uscanner0 at uhub0 port 1
uscanner0: Mustek Systems 1200 UB scanner, rev 1.00/1.00, addr 2

$ scanimage -L
device `mustek_usb:/dev/uscanner0' is a Mustek 1200 UB flatbed scanner

and I just chmodded /dev/scanner0 as 
crw-rw-rw-  1 root  wheel      75,   0 Oct 27 23:30 /dev/uscanner0

you may want to do a usbdevs -v to check the device idents and then look in
/usr/pkg/etc/sane.d/mustek_usb.conf and make sure the idents are listed.

Looking at the source for 4.0 the mustek 1200CU is in the match list for 
uscanner, and the same is true for 3.1 - so its a bit strange that it isn't 
detected as /dev/uscanner0.

Regards,
Dave



-- 
=====================================================================
Phone: 07772420022
WWW:   http://www.liv.ac.uk/~dtyson
Open Source O/S: www.netbsd.org
Caving: http://www.wirralcavinggroup.uk.eu.org
=====================================================================