Bug#623119: libsane: Invalid device permissions

2011-04-18 Thread Julien BLACHE
Alexander Galanin wrote: Hi, > Yes, at the other level DEVTYPE is "usb_device", so DEVTYPE check > modification is not needed: > > $ udevadm info --query all --path=/devices/pci:00/:00:02.1/usb1/1-5 > E: DEVPATH=/devices/pci:00/:00:02.1/usb1/1-5 > E: DEVNAME=/dev/bus/usb/001/02

Bug#623119: libsane: Invalid device permissions

2011-04-17 Thread Alexander Galanin
On Sun, 17 Apr 2011 19:27:47 +0200 Julien BLACHE wrote: > Alexander Galanin wrote: > > Hi, > > >> This part may actually be somewhat right, although the usb_interface > >> part seems wrong. > > > > This is the output of udevadm --query all for my scanner (Mustek BearPaw > > 2448TA Pro): > [...

Bug#623119: libsane: Invalid device permissions

2011-04-17 Thread Julien BLACHE
severity 623119 normal thanks Alexander Galanin wrote: Hi, >> This part may actually be somewhat right, although the usb_interface >> part seems wrong. > > This is the output of udevadm --query all for my scanner (Mustek BearPaw > 2448TA Pro): [...] > So I think that DEVTYPE and SUBSYSTEM value

Bug#623119: libsane: Invalid device permissions

2011-04-17 Thread Alexander Galanin
On Sun, 17 Apr 2011 16:38:18 +0200 Julien BLACHE wrote: > Alexander Galanin wrote: > > Hi, > > Your patch makes 2 unrelated changes. Could you please clarify which is > the one that makes it work? > > > @@ -24,10 +24,10 @@ > > # the sane-devel mailing list (sane-de...@lists.alioth.debian.org

Bug#623119: libsane: Invalid device permissions

2011-04-17 Thread Julien BLACHE
Alexander Galanin wrote: Hi, Your patch makes 2 unrelated changes. Could you please clarify which is the one that makes it work? > @@ -24,10 +24,10 @@ > # the sane-devel mailing list (sane-de...@lists.alioth.debian.org). > # > ACTION!="add", GOTO="libsane_rules_end" > -ENV{DEVTYPE}=="usb_dev

Bug#623119: libsane: Invalid device permissions

2011-04-17 Thread Alexander Galanin
Package: libsane Version: 1.0.22-2 Severity: grave Tags: patch Justification: renders package unusable -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Udev script for libsane (/lib/udev/rules.d/60-libsane.rules) is broken due to changes in udev constants. Therefore rw permission for 'scanner' group