Package: libsane
Version: 1.0.15-9
Severity: important

The /etc/hotplug.d/usb/libsane.hotplug script fails to set the ownership
and permissions of my USB device node. (I have an Epson CX6400 connected
by USB.) The problem is that the device node (for example,
/proc/bus/usb/001/002) does not yet exist when the script issues the
chown/chmod commands. I verified this by having the script do an "ls -l"
into a temporary file just before the chown/chmod.

I don't know the exact reason for this. Maybe the machine is too slow or
maybe the script is run before the kernel has had a chance to update /proc.
In any case, inserting a "sleep 5" before the chown/chmod allowed the
device node to appear and the script to succeed.

-- System Information:
Debian Release: 3.1
Architecture: i386 (i686)
Kernel: Linux 2.6.8-1-686
Locale: LANG=en_US, LC_CTYPE=en_US (charmap=ISO-8859-1)

Versions of packages libsane depends on:
ii  adduser              3.63                Add and remove users and groups
ii  debconf              1.4.30.13           Debian configuration management sy
ii  libc6                2.3.2.ds1-22        GNU C Library: Shared libraries an
ii  libgphoto2-2         2.1.5-6             gphoto2 digital camera library
ii  libgphoto2-port0     2.1.5-6             gphoto2 digital camera port librar
ii  libieee1284-3        0.2.10-1            cross-platform library for paralle
ii  libjpeg62            6b-10               The Independent JPEG Group's JPEG 
ii  libusb-0.1-4         2:0.1.10a-9.sarge.1 userspace USB programming library
ii  makedev              2.3.1-77            creates device files in /dev
ii  sane-utils           1.0.15-9            API library for scanners -- utilit

-- no debconf information


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to