On Wednesday 17 May 2006 03:54, bill wrote:
> I have a Brother DCP-115C Printer/Scanner/Copier running under Suse 10.0
> (Slick).
>
> The printer works fine using the driver from Brothers site, and I have
> obtained the latest Scanner driver from Brother support, and it works,
> but unly as Root ("sux" in terminal).
>
> Trying to use the scanner as a user in Xsane or Gimp results in the
> message " failed to open device 'brother2:bus2:dev1'; Error during
> device I/O".
>
> I know that this is a permissions related problem, and that I probably
> need to add something to the "Users" Group.
>
> Problem is that I can't figure out which file(s) need pemissions changed
> or what needs to added to the "users" group.
>
> I have tried Google but everything I find is either out-of-date or
> cannot get the scanner to work at all.
>
> Bill

The permissions I believe are controlled by resmgrd.
You can configure it by resmgr and /etc/resmgr.conf

If you use the following command as root it will list the devices a user is 
allowed to access.
 
resmgr -u <user> list

e.g.
# resmgr -u graham list
r--- /dev/console
rw-- /dev/adsp
rw-- /dev/audio
rw-- /dev/dsp
rw-- /dev/mixer
rw-- /dev/snd/controlC0
rw-- /dev/snd/pcmC0D0c
rw-- /dev/snd/pcmC0D0p
rw-- /dev/snd/pcmC0D1c
rw-- /dev/snd/pcmC0D1p
rw-- /dev/snd/seq
rw-- /dev/snd/timer
rw-- /dev/input/event2
rw-- /dev/hdd
rw-- /dev/hdc
rws- /dev/sr0
rw-- /dev/fd0
rw-- usb:vendor=0x04b8,product=0x0110


Have a look at the man page resmgr & resmgr.conf for further details on 
setting up your permissions.

I have an Epson 1650 scanner connected via USB on SuSE 10.0.  

In /etc/resmgr.conf.d there is a file called 50-scanner.conf
with the following entry
add usb:vendor=0x04b8,product=0x0110 scanner

The vendor & product relate to my Epson scanner.

I hope that helps
-- 
Regards,

Graham Smith
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html

Reply via email to