Package: libsane
Version: 1.0.22-2
Followup-For: Bug #623119

The bug is still present.

$ lsusb 
...
Bus 001 Device 008: ID 055f:0409 Mustek Systems, Inc. BearPaw 2448 TA Pro

$ udevadm control --log-priority=9

Content of syslog:

May 27 00:00:14 gaa kernel: [18119.352022] usb 1-5: new high speed USB device 
using ehci_hcd and address 8
May 27 00:00:14 gaa udevd[429]: seq 1409 queued, 'add' 'usb' 
May 27 00:00:14 gaa udevd[429]: passed 281 bytes to netlink monitor 
0x7f208314c200 
May 27 00:00:14 gaa udevd-work[967]: seq 1409 running 
May 27 00:00:14 gaa udevd-work[967]: device 0x7f20831540e0 has devpath 
'/devices/pci0000:00/0000:00:02.1/usb1/1-5' 
May 27 00:00:14 gaa udevd-work[967]: no db file to read /dev/.udev/data/c189:7: 
No such file or directory 
May 27 00:00:14 gaa kernel: [18119.487609] usb 1-5: New USB device found, 
idVendor=055f, idProduct=0409
May 27 00:00:14 gaa kernel: [18119.487615] usb 1-5: New USB device strings: 
Mfr=1, Product=2, SerialNumber=0
May 27 00:00:14 gaa kernel: [18119.487618] usb 1-5: Product: USB2.0 Scanner     
       
May 27 00:00:14 gaa kernel: [18119.487621] usb 1-5: Manufacturer: 
Hewlett-Packard.        
May 27 00:00:14 gaa udevd[429]: seq 1410 queued, 'add' 'usb' 
May 27 00:00:14 gaa udevd-work[967]: file 
'/sys/devices/pci0000:00/0000:00:02.1/usb1/1-5/descriptors' appeared after 0 
loops 
May 27 00:00:14 gaa udevd-work[967]: NAME 'bus/usb/001/008' 
/lib/udev/rules.d/50-udev-default.rules:26 
May 27 00:00:14 gaa udevd-work[967]: IMPORT 'usb_id --export 
/devices/pci0000:00/0000:00:02.1/usb1/1-5' 
/lib/udev/rules.d/60-libgphoto2-2.rules:11 
May 27 00:00:14 gaa udevd-work[967]: 'usb_id --export 
/devices/pci0000:00/0000:00:02.1/usb1/1-5' started 
May 27 00:00:14 gaa usb_id[974]: custom logging function 0x7fb0488bb010 
registered 
May 27 00:00:14 gaa udevd-work[967]: '/lib/udev/usb_id' (stdout) 
'ID_VENDOR=Hewlett-Packard.' 
May 27 00:00:14 gaa udevd-work[967]: '/lib/udev/usb_id' (stdout) 
'ID_VENDOR_ENC=Hewlett-Packard.\x20\x20\x20\x20\x20\x20\x20\x20' 
May 27 00:00:14 gaa udevd-work[967]: '/lib/udev/usb_id' (stdout) 
'ID_VENDOR_ID=055f' 
May 27 00:00:14 gaa udevd-work[967]: '/lib/udev/usb_id' (stdout) 
'ID_MODEL=USB2.0_Scanner' 
May 27 00:00:14 gaa udevd-work[967]: '/lib/udev/usb_id' (stdout) 
'ID_MODEL_ENC=USB2.0\x20Scanner\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20'
 
May 27 00:00:14 gaa udevd-work[967]: '/lib/udev/usb_id' (stdout) 
'ID_MODEL_ID=0409' 
May 27 00:00:14 gaa udevd-work[967]: '/lib/udev/usb_id' (stdout) 
'ID_REVISION=0100' 
May 27 00:00:14 gaa udevd-work[967]: '/lib/udev/usb_id' (stdout) 
'ID_SERIAL=Hewlett-Packard._USB2.0_Scanner' 
May 27 00:00:14 gaa udevd-work[967]: '/lib/udev/usb_id' (stdout) 'ID_BUS=usb' 
May 27 00:00:14 gaa udevd-work[967]: '/lib/udev/usb_id' (stdout) 
'ID_USB_INTERFACES=:ffffff:' 
May 27 00:00:14 gaa udevd-work[967]: 'usb_id --export 
/devices/pci0000:00/0000:00:02.1/usb1/1-5' returned with exitcode 0 
May 27 00:00:14 gaa udevd-work[967]: device 0x7f208315d1a0 has devpath 
'/devices/pci0000:00/0000:00:02.1/usb1' 
May 27 00:00:14 gaa udevd-work[967]: device 0x7f208315d4c0 has devpath 
'/devices/pci0000:00/0000:00:02.1' 
May 27 00:00:14 gaa udevd-work[967]: device 0x7f208315d7b0 has devpath 
'/devices/pci0000:00' 
May 27 00:00:14 gaa udevd-work[967]: RUN '/bin/sh -c 'if test -e 
/sys/$env{DEVPATH}/power/control; then echo on > 
/sys/$env{DEVPATH}/power/control; elif test -e /sys/$env{DEVPATH}/power/level; 
then echo on > /sys/$env{DEVPATH}/power/level; fi'' 
/lib/udev/rules.d/60-libsane.rules:1179 
May 27 00:00:14 gaa udevd-work[967]: RUN '/bin/setfacl -m g:scanner:rw 
$env{DEVNAME}' /lib/udev/rules.d/60-libsane.rules:1217 
May 27 00:00:14 gaa udevd-work[967]: RUN 
'/usr/share/virtualbox/VBoxCreateUSBNode.sh $major $minor $attr{bDeviceClass} 
vboxusers' /lib/udev/rules.d/60-virtualbox-ose.rules:2 
May 27 00:00:14 gaa udevd-work[967]: RUN 
'socket:@/org/freedesktop/hal/udev_event' /lib/udev/rules.d/90-hal.rules:2 
May 27 00:00:14 gaa udevd-work[967]: MODE 0664 
/lib/udev/rules.d/91-permissions.rules:36 
May 27 00:00:14 gaa udevd-work[967]: creating device node 
'/dev/bus/usb/001/008', devnum=189:7, mode=0664, uid=0, gid=0 
May 27 00:00:14 gaa udevd-work[967]: preserve file '/dev/bus/usb/001/008', 
because it has correct dev_t 
May 27 00:00:14 gaa udevd-work[967]: set permissions /dev/bus/usb/001/008, 
020664, uid=0, gid=0 
May 27 00:00:14 gaa udevd-work[967]: creating symlink '/dev/char/189:7' to 
'../bus/usb/001/008' 
May 27 00:00:14 gaa udevd-work[967]: created db file '/dev/.udev/data/c189:7' 
for '/devices/pci0000:00/0000:00:02.1/usb1/1-5' 
May 27 00:00:14 gaa udevd-work[967]: 
'/usr/share/virtualbox/VBoxCreateUSBNode.sh 189 7 00 vboxusers' started 
May 27 00:00:14 gaa udevd-work[967]: 
'/usr/share/virtualbox/VBoxCreateUSBNode.sh 189 7 00 vboxusers' returned with 
exitcode 0 
May 27 00:00:14 gaa udevd-work[967]: passed -1 bytes to socket monitor 
0x7f2083154c70 
May 27 00:00:14 gaa udevd-work[967]: passed -1 bytes to netlink monitor 
0x7f20831549e0 
May 27 00:00:14 gaa udevd-work[967]: seq 1409 processed with 0 
May 27 00:00:14 gaa udevd[429]: seq 1409 done with 0 
May 27 00:00:14 gaa udevd[429]: passed 305 bytes to netlink monitor 
0x7f208314c200 
May 27 00:00:14 gaa udevd-work[967]: seq 1410 running 
May 27 00:00:14 gaa udevd-work[967]: device 0x7f208314d7c0 has devpath 
'/devices/pci0000:00/0000:00:02.1/usb1/1-5/1-5:1.0' 
May 27 00:00:14 gaa udevd-work[967]: no db file to read 
/dev/.udev/data/+usb:1-5:1.0: No such file or directory 
May 27 00:00:14 gaa udevd-work[967]: device 0x7f2083154af0 has devpath 
'/devices/pci0000:00/0000:00:02.1/usb1/1-5' 
May 27 00:00:14 gaa udevd-work[967]: device 0x7f208314dbd0 has devpath 
'/devices/pci0000:00/0000:00:02.1/usb1' 
May 27 00:00:14 gaa udevd-work[967]: device 0x7f208315d1a0 has devpath 
'/devices/pci0000:00/0000:00:02.1' 
May 27 00:00:14 gaa udevd-work[967]: device 0x7f208315d430 has devpath 
'/devices/pci0000:00' 
May 27 00:00:14 gaa udevd-work[967]: RUN '/sbin/modprobe -b $env{MODALIAS}' 
/lib/udev/rules.d/80-drivers.rules:7 
May 27 00:00:14 gaa udevd-work[967]: RUN 
'socket:@/org/freedesktop/hal/udev_event' /lib/udev/rules.d/90-hal.rules:2 
May 27 00:00:14 gaa udevd-work[967]: '/sbin/modprobe -b 
usb:v055Fp0409d0100dc00dsc00dp00icFFiscFFipFF' started 
May 27 00:00:14 gaa udevd-work[967]: '/sbin/modprobe' (stderr) 'FATAL: Module 
usb:v055Fp0409d0100dc00dsc00dp00icFFiscFFipFF not found.' 
May 27 00:00:14 gaa udevd-work[967]: '/sbin/modprobe -b 
usb:v055Fp0409d0100dc00dsc00dp00icFFiscFFipFF' returned with exitcode 1 
May 27 00:00:14 gaa udevd-work[967]: passed -1 bytes to socket monitor 
0x7f208315d8e0 
May 27 00:00:14 gaa udevd-work[967]: passed -1 bytes to netlink monitor 
0x7f20831549e0 
May 27 00:00:14 gaa udevd-work[967]: seq 1410 processed with 0 
May 27 00:00:14 gaa udevd[429]: seq 1410 done with 0 


Device node does not have any additional ACLs:

$ getfacl /dev/bus/usb/001/008
getfacl: Removing leading '/' from absolute path names
# file: dev/bus/usb/001/008
# owner: root
# group: root
user::rw-
group::rw-
other::r--

But ACL can be added manually:

$ setfacl -m g:scanner:rw /dev/bus/usb/001/008 
$ getfacl /dev/bus/usb/001/008
getfacl: Removing leading '/' from absolute path names
# file: dev/bus/usb/001/008
# owner: root
# group: root
user::rw-
group::rw-
group:scanner:rw-
mask::rw-
other::r--

So I think that this call finished with an error (may be because of
empty $env{DEVNAME}):

May 27 00:00:14 gaa udevd-work[967]: RUN '/bin/setfacl -m g:scanner:rw 
$env{DEVNAME}' /lib/udev/rules.d/60-libsane.rules:1217 

-- System Information:
Debian Release: wheezy/sid
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'oldstable'), (500, 'unstable'), (500, 
'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.38-2-amd64 (SMP w/1 CPU core)
Locale: LANG=ru_RU.UTF-8, LC_CTYPE=ru_RU.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages libsane depends on:
ii  acl                          2.2.49-4    Access control list utilities
ii  adduser                      3.112+nmu2  add and remove users and groups
ii  libavahi-client3             0.6.30-3    Avahi client library
ii  libavahi-common3             0.6.30-3    Avahi common library
ii  libc6                        2.13-4      Embedded GNU C Library: Shared lib
ii  libexif12                    0.6.20-1    library to parse EXIF files
ii  libgphoto2-2                 2.4.11-2    gphoto2 digital camera library
ii  libgphoto2-port0             2.4.11-2    gphoto2 digital camera port librar
ii  libieee1284-3                0.2.11-7+b1 cross-platform library for paralle
ii  libjpeg62                    6b1-1       The Independent JPEG Group's JPEG 
ii  libtiff4                     3.9.5-1     Tag Image File Format (TIFF) libra
ii  libusb-0.1-4                 2:0.1.12-17 userspace USB programming library
ii  libv4l-0                     0.8.3-2     Collection of video4linux support 
ii  makedev                      2.3.1-89    creates device files in /dev
ii  udev                         167-3       /dev/ and hotplug management daemo

Versions of packages libsane recommends:
ii  libsane-extras                1.0.22.1   API library for scanners -- extra 
pn  sane-utils                    <none>     (no description available)

Versions of packages libsane suggests:
pn  avahi-daemon                  <none>     (no description available)
pn  hplip                         <none>     (no description available)
pn  hpoj                          <none>     (no description available)

-- no debconf information



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to