[Gllug] Scanner works only as root

John Winters john at sinodun.org.uk
Fri Dec 30 16:16:38 UTC 2005


On Fri, 2005-12-30 at 16:06 +0000, Henry Gilbert wrote:
> Any suggestions?
> 
> I re-read the sane website many times and did all steps to change permissions.
> Somehow it still doesn't recognize the scanner when a user.
> But it works fine as root.

Is your normal user a member of the "scanner" group?  What are the
permissions on the scanner devices.  ('ls -l /dev/scanner*')

I have one system where the hotplug stuff seems to struggle at getting
the permissions right.  If the scanner is connected when the computer is
turned on then the permissions don't get set and only root can scan.  If
you then unplug the scanner's usb lead, wait a few seconds and then plug
it in again the permissions do get set and anyone in the scanner group
can scan.

(Well, when I say, "one system" - it's the only system which I have with
a scanner.  I don't know how widespread the problem is.  Plain Sarge
installation.)

John

> 
> root at desktop:/dev/usb# lsusb
> Bus 002 Device 002: ID 04b8:011f Seiko Epson Corp. Perfection 1670
> 
> I am running Kernel 2.6.14.3
> Slackware Linux 10.2
> With hotplug switched on.
> 
> Please help :(
> 
> Finally here is the cat of the usb devices.
> Note that the driver is not present there but I have placed the
> firmware at the right places.
> Anyway it works are root but not as user .. So I don't know what else to try.
> 
> root at desktop:/proc/bus/usb# cat /proc/bus/usb/devices
> 
> T:  Bus=02 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#=  1 Spd=12  MxCh= 2
> B:  Alloc=  0/900 us ( 0%), #Int=  0, #Iso=  0
> D:  Ver= 1.10 Cls=09(hub  ) Sub=00 Prot=00 MxPS= 8 #Cfgs=  1
> P:  Vendor=0000 ProdID=0000 Rev= 2.06
> S:  Manufacturer=Linux 2.6.14.3 uhci_hcd
> S:  Product=UHCI Host Controller
> S:  SerialNumber=0000:00:1f.4
> C:* #Ifs= 1 Cfg#= 1 Atr=c0 MxPwr=  0mA
> I:  If#= 0 Alt= 0 #EPs= 1 Cls=09(hub  ) Sub=00 Prot=00 Driver=hub
> E:  Ad=81(I) Atr=03(Int.) MxPS=   2 Ivl=255ms
> 
> T:  Bus=02 Lev=01 Prnt=01 Port=01 Cnt=01 Dev#=  2 Spd=12  MxCh= 0
> D:  Ver= 2.00 Cls=ff(vend.) Sub=ff Prot=ff MxPS=64 #Cfgs=  1
> P:  Vendor=04b8 ProdID=011f Rev= 1.07
> S:  Manufacturer=EPSON
> S:  Product=EPSON Scanner
> C:* #Ifs= 1 Cfg#= 1 Atr=c0 MxPwr=100mA
> I:  If#= 0 Alt= 0 #EPs= 3 Cls=ff(vend.) Sub=ff Prot=ff Driver=(none)
> E:  Ad=81(I) Atr=02(Bulk) MxPS=  64 Ivl=0ms
> E:  Ad=02(O) Atr=02(Bulk) MxPS=  64 Ivl=0ms
> E:  Ad=83(I) Atr=03(Int.) MxPS=   8 Ivl=16ms
> 
> T:  Bus=01 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#=  1 Spd=12  MxCh= 2
> B:  Alloc=  0/900 us ( 0%), #Int=  0, #Iso=  0
> D:  Ver= 1.10 Cls=09(hub  ) Sub=00 Prot=00 MxPS= 8 #Cfgs=  1
> P:  Vendor=0000 ProdID=0000 Rev= 2.06
> S:  Manufacturer=Linux 2.6.14.3 uhci_hcd
> S:  Product=UHCI Host Controller
> S:  SerialNumber=0000:00:1f.2
> C:* #Ifs= 1 Cfg#= 1 Atr=c0 MxPwr=  0mA
> I:  If#= 0 Alt= 0 #EPs= 1 Cls=09(hub  ) Sub=00 Prot=00 Driver=hub
> E:  Ad=81(I) Atr=03(Int.) MxPS=   2 Ivl=255ms
> 
> T:  Bus=01 Lev=01 Prnt=01 Port=00 Cnt=01 Dev#=  2 Spd=12  MxCh= 0
> D:  Ver= 2.00 Cls=00(>ifc ) Sub=00 Prot=00 MxPS=64 #Cfgs=  1
> P:  Vendor=05e3 ProdID=0702 Rev= 0.02
> S:  Product=USB TO IDE
> C:* #Ifs= 1 Cfg#= 1 Atr=c0 MxPwr= 96mA
> I:  If#= 0 Alt= 0 #EPs= 2 Cls=08(stor.) Sub=06 Prot=50 Driver=usb-storage
> E:  Ad=81(I) Atr=02(Bulk) MxPS=  64 Ivl=0ms
> E:  Ad=02(O) Atr=02(Bulk) MxPS=  64 Ivl=0ms
> 
> T:  Bus=01 Lev=01 Prnt=01 Port=01 Cnt=02 Dev#=  3 Spd=12  MxCh= 0
> D:  Ver= 1.10 Cls=00(>ifc ) Sub=00 Prot=00 MxPS=64 #Cfgs=  1
> P:  Vendor=0c45 ProdID=600d Rev= 1.01
> S:  Product=USB camera
> C:* #Ifs= 1 Cfg#= 1 Atr=80 MxPwr=500mA
> I:  If#= 0 Alt= 0 #EPs= 3 Cls=ff(vend.) Sub=ff Prot=ff Driver=sn9c102
> E:  Ad=81(I) Atr=01(Isoc) MxPS=   0 Ivl=1ms
> E:  Ad=82(I) Atr=02(Bulk) MxPS=  64 Ivl=0ms
> E:  Ad=83(I) Atr=03(Int.) MxPS=   1 Ivl=100ms
> I:  If#= 0 Alt= 1 #EPs= 3 Cls=ff(vend.) Sub=ff Prot=ff Driver=sn9c102
> E:  Ad=81(I) Atr=01(Isoc) MxPS= 128 Ivl=1ms
> E:  Ad=82(I) Atr=02(Bulk) MxPS=  64 Ivl=0ms
> E:  Ad=83(I) Atr=03(Int.) MxPS=   1 Ivl=100ms
> I:  If#= 0 Alt= 2 #EPs= 3 Cls=ff(vend.) Sub=ff Prot=ff Driver=sn9c102
> E:  Ad=81(I) Atr=01(Isoc) MxPS= 256 Ivl=1ms
> E:  Ad=82(I) Atr=02(Bulk) MxPS=  64 Ivl=0ms
> E:  Ad=83(I) Atr=03(Int.) MxPS=   1 Ivl=100ms
> I:  If#= 0 Alt= 3 #EPs= 3 Cls=ff(vend.) Sub=ff Prot=ff Driver=sn9c102
> E:  Ad=81(I) Atr=01(Isoc) MxPS= 384 Ivl=1ms
> E:  Ad=82(I) Atr=02(Bulk) MxPS=  64 Ivl=0ms
> E:  Ad=83(I) Atr=03(Int.) MxPS=   1 Ivl=100ms
> I:  If#= 0 Alt= 4 #EPs= 3 Cls=ff(vend.) Sub=ff Prot=ff Driver=sn9c102
> E:  Ad=81(I) Atr=01(Isoc) MxPS= 512 Ivl=1ms
> E:  Ad=82(I) Atr=02(Bulk) MxPS=  64 Ivl=0ms
> E:  Ad=83(I) Atr=03(Int.) MxPS=   1 Ivl=100ms
> I:  If#= 0 Alt= 5 #EPs= 3 Cls=ff(vend.) Sub=ff Prot=ff Driver=sn9c102
> E:  Ad=81(I) Atr=01(Isoc) MxPS= 680 Ivl=1ms
> E:  Ad=82(I) Atr=02(Bulk) MxPS=  64 Ivl=0ms
> E:  Ad=83(I) Atr=03(Int.) MxPS=   1 Ivl=100ms
> I:  If#= 0 Alt= 6 #EPs= 3 Cls=ff(vend.) Sub=ff Prot=ff Driver=sn9c102
> E:  Ad=81(I) Atr=01(Isoc) MxPS= 800 Ivl=1ms
> E:  Ad=82(I) Atr=02(Bulk) MxPS=  64 Ivl=0ms
> E:  Ad=83(I) Atr=03(Int.) MxPS=   1 Ivl=100ms
> I:  If#= 0 Alt= 7 #EPs= 3 Cls=ff(vend.) Sub=ff Prot=ff Driver=sn9c102
> E:  Ad=81(I) Atr=01(Isoc) MxPS= 900 Ivl=1ms
> E:  Ad=82(I) Atr=02(Bulk) MxPS=  64 Ivl=0ms
> E:  Ad=83(I) Atr=03(Int.) MxPS=   1 Ivl=100ms
> I:  If#= 0 Alt= 8 #EPs= 3 Cls=ff(vend.) Sub=ff Prot=ff Driver=sn9c102
> E:  Ad=81(I) Atr=01(Isoc) MxPS=1023 Ivl=1ms
> E:  Ad=82(I) Atr=02(Bulk) MxPS=  64 Ivl=0ms
> E:  Ad=83(I) Atr=03(Int.) MxPS=   1 Ivl=100ms
> 
> thanks in advance.
> 
> Henry

-- 
Gllug mailing list  -  Gllug at gllug.org.uk
http://lists.gllug.org.uk/mailman/listinfo/gllug




More information about the GLLUG mailing list