Page 2 of 2

Re: Installing Epson 3490 photo scanner - usb solved

Posted: Sat May 23, 2009 10:36 am
by Husse
You have to change a little bit to run as normal user for some scanners
In Gloria/Jaunty
Edit

Code: Select all

gksu gedit /lib/udev/rules.d/50-udev-default.rules
Find
# libusb device nodes
SUBSYSTEM=="usb", ENV{DEVTYPE}=="usb_device", ... , MODE="0664"
and change 0664 to 0666
In Felicia/Intrepid
Edit

Code: Select all

gksu gedit /etc/udev/rules.d/40-basic-permissions.rules
Find
# USB devices (usbfs replacement)
SUBSYSTEM=="usb", ENV{DEVTYPE}=="usb_device", MODE="0664"
SUBSYSTEM=="usb_device", MODE="0664"
Change both 0664 to 0666
Reboot for it to take effect

Re: Installing Epson 3490 photo scanner - usb solved

Posted: Sat May 23, 2009 10:11 pm
by rastiazul
didnt work Husse

Re: scanner only recognised as root

Posted: Sat May 23, 2009 10:15 pm
by rastiazul
pdc_2 wrote: yip; a bit arcane; but it works (for me)
so its just a matter of having that command run at startup... if no one tells me how Ill research it :P

ok couldnt wait, i researched it and didnt find a solution since its a sudo command

Re: Installing Epson 3490 photo scanner - usb solved

Posted: Sun May 24, 2009 6:14 am
by Husse
OK then there are two ways to deal with this
Firstly the way it was done in Elyssa and earlier (or possibly Daryna and earlier)
1. Open "/etc/fstab"
2. Add or modify a line for /proc/bus/usb as follows.
none /proc/bus/usb usbdevfs auto,devmode=0666 0 0
3. umount /proc/bus/usb
4. mount /proc/bus/usb
5. mknod -m 666 /dev/usbscanner c 180 48
or this solution
Open "/etc/udev/rules.d/45-libsane.rules"
Add the following 2 lines before "LABEL="libsane_rules_end"":
The lines to be added---------------------------
#Brother
SYSFS{idVendor}=="04f9",MODE="666",GROUP="scanner"
This has to done as root - gksu gedit
Reboot for it to take effect
The first solution is similar to this a+rw chmod /dev/bus/usb/004/002
To get that done automatically

Code: Select all

gksu gedit /etc/rc.local

add a+rw chmod /dev/bus/usb/004/002 just before the line exit 0
Again reboot
The rc.local solution shoul not be used unless all else fails - it's a "dirty workaround"

Re: Installing Epson 3490 photo scanner - usb solved

Posted: Thu May 28, 2009 4:56 pm
by rastiazul
i think the libsane.rules solution did it but the filename was a little different, something like libsane-extras.rules

I did every single thing and nothing was working permanently so im not sure what made it

thanx