Skipped content of type multipart/mixed-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : 
http://lists.alioth.debian.org/pipermail/sane-devel/attachments/20060501/9a93d5a9/attachment-0001.pgp
From chri...@attglobal.net  Tue May  2 13:17:38 2006
From: chri...@attglobal.net (Peter Christy)
Date: Tue May  2 14:46:20 2006
Subject: [sane-devel] Hotplug and udev files created automatically now,
        please test!
Message-ID: <200605021417.39020.chri...@attglobal.net>

I'm running Slackware-current, and using udev *without* hotplug to try and 
improve start-up times.

I've built the latest cvs of sane and installed it, but it seems that it still 
relies on hotplug to set permissions for USB devices. My system no longer has 
hotplug (nor does Debian, I believe, and many others are in the process of 
dropping hotplug and just using udev).

When using udev without hotplug, the actual position of the usb device on 
the /sys bus seems to be variable. However, it is quite easy to make a 
symlink (/dev/usbscanner) that will always point to the scanner wherever it 
is actually mounted. Unfortunately, this symlink - or rather the device it 
ultimately links to - is under the /sys mount point rather than /proc.

I can't find anyway of making sane use the /sys (or /dev) devices rather 
than /proc. Neither does it seem possible to make udev change the permissions 
of devices mounted under /proc. (The naming systems are different)

At present I am forced to manually alter the permissions of my scanner after 
each boot, having first located where it has appeared. This is not an optimal 
solution!

I think sane needs to offer an option as to whether it should seek /proc 
or /dev devices for USB (and possibly others, which I don't have!)

I have tried to force it to look for /dev devices by using the old .conf 
options from the kernel module days, but that doesn't work either!

If I have missed something here, I would be grateful for any pointers as to 
how to resolve this problem. However, I suspect the solution probably lies in 
updating sane to reflect the current thinking on hotplugging.

Cheers,

-- 
Pete Christy
chri...@attglobal.net

Reply via email to