Re: Scanner rights messed up: please help!
Von: Florian Kulzer <[EMAIL PROTECTED]> > On Thu, Aug 24, 2006 at 12:06:03 +0100, Wackojacko wrote: > > Christof Hurschler wrote: > > >>On Thursday 24 August 2006 19:10, Christof Hurschler shared this with > us > > >>all: > > >>>--> No one responded to my last post, so I'll try it again. A > previously > > >>>working scanner is no longer accessible for the group "scanner". It > > >>works > > >>>under root. Something seems to have changed in a recent > dist-upgrade. > > >>--> > > >>>--> The device is listed as: > > >>>--> > > >>>--> T: Bus=01 Lev=01 Prnt=01 Port=01 Cnt=01 Dev#= 2 Spd=12 MxCh= 0 > > >>>--> D: Ver= 1.00 Cls=ff(vend.) Sub=ff Prot=ff MxPS=64 #Cfgs= 1 > > >>>--> P: Vendor=04b8 ProdID=0109 Rev= 1.07 > > >>>--> S: Manufacturer=EPSON > > >>>--> S: Product=Expression1640XL > > >>>--> C:* #Ifs= 1 Cfg#= 1 Atr=40 MxPwr= 2mA > > >>>--> I: If#= 0 Alt= 0 #EPs= 2 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 > > >>>--> > > >>>--> but ls -la /proc/bus/usb/001 > > >>>--> total 0 > > >>>--> dr-xr-xr-x 2 root root 0 2006-08-24 11:35 . > > >>>--> drwxr-xr-x 6 root root 0 2006-08-24 11:35 .. > > >>>--> -rw-r--r-- 1 root root 43 2006-08-24 11:35 001 > > >>>--> -rw-r--r-- 1 root root 50 2006-08-24 09:36 002 > > >>>--> > > >>>--> where 001:002 used to be root:scanner, allowing scanning by users > in > > >>>that group. Not any more. --> > > >>>--> I don't know where the rights for this device are beging set, can > > >>>someone suggest a way to solve this problem? I did find someting > about > > >>>setting rights in the documentation for usblib, but have never had to > > >>>intervene in this regard before. And am not sure if that is the > problem > > >>>anyway. > > [...] > > > I use sid and AKAICT udev deals with permissions for devices. Try > > /etc/udev/permission.rules. > > The udev rules for the scanners are in /etc/udev/libsane.rules which > comes from package "libsane". It seems that the rule for product id 0109 > is missing: > > ... > # Epson Expression 1600 > SYSFS{idVendor}=="04b8", SYSFS{idProduct}=="0107", MODE="664", > GROUP="scanner" > # Epson Perfection 1640 > SYSFS{idVendor}=="04b8", SYSFS{idProduct}=="010a", MODE="664", > GROUP="scanner" > ... > > (This is copied from an up-to-date Sid system, libsane 1.0.18-3) > > You can try to insert the following between the 0107 and the 010a rule: > > # Epson Expression 1640XL > SYSFS{idVendor}=="04b8", SYSFS{idProduct}=="0109", MODE="664", > GROUP="scanner" > > That should set the group to "scanner" if you unplug the device and plug > it in again. (I am not sure if you also have to restart udev.) > > If this works you should mail the rule to the sane-devel mailing list; > see the comments at the beginning of /etc/udev/libsane.rules for > details. (I do not have this scanner therefore I cannot check this.) > > -- > Regards, > Florian Thank you very, very much. I'll do as you suggest. Chris > > > -- > To UNSUBSCRIBE, email to [EMAIL PROTECTED] > with a subject of "unsubscribe". Trouble? Contact > [EMAIL PROTECTED] -- "Feel free" – 10 GB Mailbox, 100 FreeSMS/Monat ... Jetzt GMX TopMail testen: http://www.gmx.net/de/go/topmail -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: Scanner rights messed up: please help!
On Thu, Aug 24, 2006 at 12:06:03 +0100, Wackojacko wrote: > Christof Hurschler wrote: > >>On Thursday 24 August 2006 19:10, Christof Hurschler shared this with us > >>all: > >>>--> No one responded to my last post, so I'll try it again. A previously > >>>working scanner is no longer accessible for the group "scanner". It > >>works > >>>under root. Something seems to have changed in a recent dist-upgrade. > >>--> > >>>--> The device is listed as: > >>>--> > >>>--> T: Bus=01 Lev=01 Prnt=01 Port=01 Cnt=01 Dev#= 2 Spd=12 MxCh= 0 > >>>--> D: Ver= 1.00 Cls=ff(vend.) Sub=ff Prot=ff MxPS=64 #Cfgs= 1 > >>>--> P: Vendor=04b8 ProdID=0109 Rev= 1.07 > >>>--> S: Manufacturer=EPSON > >>>--> S: Product=Expression1640XL > >>>--> C:* #Ifs= 1 Cfg#= 1 Atr=40 MxPwr= 2mA > >>>--> I: If#= 0 Alt= 0 #EPs= 2 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 > >>>--> > >>>--> but ls -la /proc/bus/usb/001 > >>>--> total 0 > >>>--> dr-xr-xr-x 2 root root 0 2006-08-24 11:35 . > >>>--> drwxr-xr-x 6 root root 0 2006-08-24 11:35 .. > >>>--> -rw-r--r-- 1 root root 43 2006-08-24 11:35 001 > >>>--> -rw-r--r-- 1 root root 50 2006-08-24 09:36 002 > >>>--> > >>>--> where 001:002 used to be root:scanner, allowing scanning by users in > >>>that group. Not any more. --> > >>>--> I don't know where the rights for this device are beging set, can > >>>someone suggest a way to solve this problem? I did find someting about > >>>setting rights in the documentation for usblib, but have never had to > >>>intervene in this regard before. And am not sure if that is the problem > >>>anyway. [...] > I use sid and AKAICT udev deals with permissions for devices. Try > /etc/udev/permission.rules. The udev rules for the scanners are in /etc/udev/libsane.rules which comes from package "libsane". It seems that the rule for product id 0109 is missing: ... # Epson Expression 1600 SYSFS{idVendor}=="04b8", SYSFS{idProduct}=="0107", MODE="664", GROUP="scanner" # Epson Perfection 1640 SYSFS{idVendor}=="04b8", SYSFS{idProduct}=="010a", MODE="664", GROUP="scanner" ... (This is copied from an up-to-date Sid system, libsane 1.0.18-3) You can try to insert the following between the 0107 and the 010a rule: # Epson Expression 1640XL SYSFS{idVendor}=="04b8", SYSFS{idProduct}=="0109", MODE="664", GROUP="scanner" That should set the group to "scanner" if you unplug the device and plug it in again. (I am not sure if you also have to restart udev.) If this works you should mail the rule to the sane-devel mailing list; see the comments at the beginning of /etc/udev/libsane.rules for details. (I do not have this scanner therefore I cannot check this.) -- Regards, Florian -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: Scanner rights messed up: please help!
Christof Hurschler wrote: Von: M-L <[EMAIL PROTECTED]> On Thursday 24 August 2006 19:10, Christof Hurschler shared this with us all: --> No one responded to my last post, so I'll try it again. A previously working scanner is no longer accessible for the group "scanner". It works under root. Something seems to have changed in a recent dist-upgrade. --> --> The device is listed as: --> --> T: Bus=01 Lev=01 Prnt=01 Port=01 Cnt=01 Dev#= 2 Spd=12 MxCh= 0 --> D: Ver= 1.00 Cls=ff(vend.) Sub=ff Prot=ff MxPS=64 #Cfgs= 1 --> P: Vendor=04b8 ProdID=0109 Rev= 1.07 --> S: Manufacturer=EPSON --> S: Product=Expression1640XL --> C:* #Ifs= 1 Cfg#= 1 Atr=40 MxPwr= 2mA --> I: If#= 0 Alt= 0 #EPs= 2 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 --> --> but ls -la /proc/bus/usb/001 --> total 0 --> dr-xr-xr-x 2 root root 0 2006-08-24 11:35 . --> drwxr-xr-x 6 root root 0 2006-08-24 11:35 .. --> -rw-r--r-- 1 root root 43 2006-08-24 11:35 001 --> -rw-r--r-- 1 root root 50 2006-08-24 09:36 002 --> --> where 001:002 used to be root:scanner, allowing scanning by users in that group. Not any more. --> --> I don't know where the rights for this device are beging set, can someone suggest a way to solve this problem? I did find someting about setting rights in the documentation for usblib, but have never had to intervene in this regard before. And am not sure if that is the problem anyway. --> --> This is the second or thrid time that dist-upgrade has broken my system because of a rights problem. First cups, more recently automounting in KDE, and now the scanner problem. I really like debian, but when printing or scanning or access to a usb stick suddenly stops working my debian system becomes useless to me. --> --> Chris I was going to respond to your last post, but didn't really have anything much to suggest. 1. a reboot 2. reinforcing that the user is added to the scanner group. Thanks for your suggestion Charlie, but the user and group of the device are no longer being set to root:scanner anymore for some reason but to root:root. In that case it doesnt matter if the user is in the sacnner group: it does't have any access to the device anyway Rebooting and crossing my fingers didn't change this situation ;-) It can't be too difficult of a problem because root can scan fine using kooka. Chris I use sid and AKAICT udev deals with permissions for devices. Try /etc/udev/permission.rules. HTH Wackojacko -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: Scanner rights messed up: please help!
Von: M-L <[EMAIL PROTECTED]> > On Thursday 24 August 2006 19:10, Christof Hurschler shared this with us > all: > >--> No one responded to my last post, so I'll try it again. A previously > > working scanner is no longer accessible for the group "scanner". It > works > > under root. Something seems to have changed in a recent dist-upgrade. > --> > >--> The device is listed as: > >--> > >--> T: Bus=01 Lev=01 Prnt=01 Port=01 Cnt=01 Dev#= 2 Spd=12 MxCh= 0 > >--> D: Ver= 1.00 Cls=ff(vend.) Sub=ff Prot=ff MxPS=64 #Cfgs= 1 > >--> P: Vendor=04b8 ProdID=0109 Rev= 1.07 > >--> S: Manufacturer=EPSON > >--> S: Product=Expression1640XL > >--> C:* #Ifs= 1 Cfg#= 1 Atr=40 MxPwr= 2mA > >--> I: If#= 0 Alt= 0 #EPs= 2 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 > >--> > >--> but ls -la /proc/bus/usb/001 > >--> total 0 > >--> dr-xr-xr-x 2 root root 0 2006-08-24 11:35 . > >--> drwxr-xr-x 6 root root 0 2006-08-24 11:35 .. > >--> -rw-r--r-- 1 root root 43 2006-08-24 11:35 001 > >--> -rw-r--r-- 1 root root 50 2006-08-24 09:36 002 > >--> > >--> where 001:002 used to be root:scanner, allowing scanning by users in > > that group. Not any more. --> > >--> I don't know where the rights for this device are beging set, can > > someone suggest a way to solve this problem? I did find someting about > > setting rights in the documentation for usblib, but have never had to > > intervene in this regard before. And am not sure if that is the problem > > anyway. --> > >--> This is the second or thrid time that dist-upgrade has broken my > system > > because of a rights problem. First cups, more recently automounting in > > KDE, and now the scanner problem. I really like debian, but when > printing > > or scanning or access to a usb stick suddenly stops working my debian > > system becomes useless to me. --> > >--> Chris > > I was going to respond to your last post, but didn't really have anything > much > to suggest. > 1. a reboot > 2. reinforcing that the user is added to the scanner group. Thanks for your suggestion Charlie, but the user and group of the device are no longer being set to root:scanner anymore for some reason but to root:root. In that case it doesnt matter if the user is in the sacnner group: it does't have any access to the device anyway Rebooting and crossing my fingers didn't change this situation ;-) It can't be too difficult of a problem because root can scan fine using kooka. Chris -- Der GMX SmartSurfer hilft bis zu 70% Ihrer Onlinekosten zu sparen! Ideal für Modem und ISDN: http://www.gmx.net/de/go/smartsurfer -- Der GMX SmartSurfer hilft bis zu 70% Ihrer Onlinekosten zu sparen! Ideal für Modem und ISDN: http://www.gmx.net/de/go/smartsurfer -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Fwd: Re: Scanner rights messed up: please help!
Von: M-L <[EMAIL PROTECTED]> > On Thursday 24 August 2006 19:10, Christof Hurschler shared this with us > all: > >--> No one responded to my last post, so I'll try it again. A previously > > working scanner is no longer accessible for the group "scanner". It > works > > under root. Something seems to have changed in a recent dist-upgrade. > --> > >--> The device is listed as: > >--> > >--> T: Bus=01 Lev=01 Prnt=01 Port=01 Cnt=01 Dev#= 2 Spd=12 MxCh= 0 > >--> D: Ver= 1.00 Cls=ff(vend.) Sub=ff Prot=ff MxPS=64 #Cfgs= 1 > >--> P: Vendor=04b8 ProdID=0109 Rev= 1.07 > >--> S: Manufacturer=EPSON > >--> S: Product=Expression1640XL > >--> C:* #Ifs= 1 Cfg#= 1 Atr=40 MxPwr= 2mA > >--> I: If#= 0 Alt= 0 #EPs= 2 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 > >--> > >--> but ls -la /proc/bus/usb/001 > >--> total 0 > >--> dr-xr-xr-x 2 root root 0 2006-08-24 11:35 . > >--> drwxr-xr-x 6 root root 0 2006-08-24 11:35 .. > >--> -rw-r--r-- 1 root root 43 2006-08-24 11:35 001 > >--> -rw-r--r-- 1 root root 50 2006-08-24 09:36 002 > >--> > >--> where 001:002 used to be root:scanner, allowing scanning by users in > > that group. Not any more. --> > >--> I don't know where the rights for this device are beging set, can > > someone suggest a way to solve this problem? I did find someting about > > setting rights in the documentation for usblib, but have never had to > > intervene in this regard before. And am not sure if that is the problem > > anyway. --> > >--> This is the second or thrid time that dist-upgrade has broken my > system > > because of a rights problem. First cups, more recently automounting in > > KDE, and now the scanner problem. I really like debian, but when > printing > > or scanning or access to a usb stick suddenly stops working my debian > > system becomes useless to me. --> > >--> Chris > > I was going to respond to your last post, but didn't really have anything > much > to suggest. > 1. a reboot > 2. reinforcing that the user is added to the scanner group. Thanks for your suggestion Charlie, but the user and group of the device are no longer being set to root:scanner anymore for some reason but to root:root. In that case it doesnt matter if the user is in the sacnner group: it does't have any access to the device anyway Rebooting and crossing my fingers didn't change this situation ;-) It can't be too difficult of a problem because root can scan fine using kooka. Chris -- Der GMX SmartSurfer hilft bis zu 70% Ihrer Onlinekosten zu sparen! Ideal für Modem und ISDN: http://www.gmx.net/de/go/smartsurfer -- "Feel free" – 10 GB Mailbox, 100 FreeSMS/Monat ... Jetzt GMX TopMail testen: http://www.gmx.net/de/go/topmail -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: Scanner rights messed up: please help!
On Thursday 24 August 2006 19:10, Christof Hurschler shared this with us all: >--> No one responded to my last post, so I'll try it again. A previously > working scanner is no longer accessible for the group "scanner". It works > under root. Something seems to have changed in a recent dist-upgrade. --> >--> The device is listed as: >--> >--> T: Bus=01 Lev=01 Prnt=01 Port=01 Cnt=01 Dev#= 2 Spd=12 MxCh= 0 >--> D: Ver= 1.00 Cls=ff(vend.) Sub=ff Prot=ff MxPS=64 #Cfgs= 1 >--> P: Vendor=04b8 ProdID=0109 Rev= 1.07 >--> S: Manufacturer=EPSON >--> S: Product=Expression1640XL >--> C:* #Ifs= 1 Cfg#= 1 Atr=40 MxPwr= 2mA >--> I: If#= 0 Alt= 0 #EPs= 2 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 >--> >--> but ls -la /proc/bus/usb/001 >--> total 0 >--> dr-xr-xr-x 2 root root 0 2006-08-24 11:35 . >--> drwxr-xr-x 6 root root 0 2006-08-24 11:35 .. >--> -rw-r--r-- 1 root root 43 2006-08-24 11:35 001 >--> -rw-r--r-- 1 root root 50 2006-08-24 09:36 002 >--> >--> where 001:002 used to be root:scanner, allowing scanning by users in > that group. Not any more. --> >--> I don't know where the rights for this device are beging set, can > someone suggest a way to solve this problem? I did find someting about > setting rights in the documentation for usblib, but have never had to > intervene in this regard before. And am not sure if that is the problem > anyway. --> >--> This is the second or thrid time that dist-upgrade has broken my system > because of a rights problem. First cups, more recently automounting in > KDE, and now the scanner problem. I really like debian, but when printing > or scanning or access to a usb stick suddenly stops working my debian > system becomes useless to me. --> >--> Chris I was going to respond to your last post, but didn't really have anything much to suggest. 1. a reboot 2. reinforcing that the user is added to the scanner group. In sarge I had to modprobe scanner, but it seems to be found by your system, so that's probably not required. I also couldn't get Cups working and finally found this:- https://launchpad.net/distros/ubuntu/+source/cupsys/+bug/55283 Worked a treat. Strangely n another Acer lappy I set up, there was no trouble? I think it's just testing, so it is to be expected? I had an update to my etch, lose my ppp provider file and that had to be reconfigured, and then it couldn't find the /dev/ttyUSB0 but a reboot made it all come together again without any problems. It's not windows, but it is testing, so unusual tactics might need to be applied, just while things are in flux. HTH Charlie -- Registered Linux User:- 329524 +++ You know about a person who deeply interests you more than you can be told. A look, a gesture, an act, which to everybody else is insignificant tells you more about that one than words can. .Henry David Thoreau >>> Linux Debian Etch -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Scanner rights messed up: please help!
No one responded to my last post, so I'll try it again. A previously working scanner is no longer accessible for the group "scanner". It works under root. Something seems to have changed in a recent dist-upgrade. The device is listed as: T: Bus=01 Lev=01 Prnt=01 Port=01 Cnt=01 Dev#= 2 Spd=12 MxCh= 0 D: Ver= 1.00 Cls=ff(vend.) Sub=ff Prot=ff MxPS=64 #Cfgs= 1 P: Vendor=04b8 ProdID=0109 Rev= 1.07 S: Manufacturer=EPSON S: Product=Expression1640XL C:* #Ifs= 1 Cfg#= 1 Atr=40 MxPwr= 2mA I: If#= 0 Alt= 0 #EPs= 2 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 but ls -la /proc/bus/usb/001 total 0 dr-xr-xr-x 2 root root 0 2006-08-24 11:35 . drwxr-xr-x 6 root root 0 2006-08-24 11:35 .. -rw-r--r-- 1 root root 43 2006-08-24 11:35 001 -rw-r--r-- 1 root root 50 2006-08-24 09:36 002 where 001:002 used to be root:scanner, allowing scanning by users in that group. Not any more. I don't know where the rights for this device are beging set, can someone suggest a way to solve this problem? I did find someting about setting rights in the documentation for usblib, but have never had to intervene in this regard before. And am not sure if that is the problem anyway. This is the second or thrid time that dist-upgrade has broken my system because of a rights problem. First cups, more recently automounting in KDE, and now the scanner problem. I really like debian, but when printing or scanning or access to a usb stick suddenly stops working my debian system becomes useless to me. Chris -- Echte DSL-Flatrate dauerhaft für 0,- Euro*. Nur noch kurze Zeit! "Feel free" mit GMX DSL: http://www.gmx.net/de/go/dsl -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]