On Tuesday 09 May 2006 19:07, Henning Meier-Geinitz wrote:
[...]
By default, SANE generates a udev rules file like this:
ACTION!=add, GOTO=libsane_rules_end
SUBSYSTEM!=usb_device, GOTO=libsane_rules_end
# Hewlett-Packard ScanJet 4100C
SYSFS{idVendor}==03f0, SYSFS{idProduct}==0101, MODE=660,
Hi,
On 2006-05-10 18:07, Wittawat Yamwong wrote:
The above rules do not work with an older version of libusb (e.g. 0.1.10a
shipped with SUSE 10.0). This version looks at /proc/bus/usb first. If the
usbfs is mounted, which is normally true, libusb will open a device node
in /proc/bus/usb
Hi,
On 2006-05-07 20:39, Peter Christy wrote:
To summarise: I added the following line to my udev.rules (sorry about the
wrod-wrap!)
# permissions for usb scanner
SUBSYSTEM==usb, ACTION==add, ENV{PRODUCT}==4b8/11d/*,
RUN+=/bin/sh -c '/bin/chgrp scanner $env{DEVICE}; /bin/chmod 664
Hi,
On 2006-05-07 21:03, Julien BLACHE wrote:
As there are still operating systems that only habe kernel scanner
driver support and no libusb port, I think we should keep it.
But maybe we should check all documentation to not mention it any
longer or clearly mark it as obsolete.
On Tuesday 09 May 2006 18:07, Henning Meier-Geinitz wrote:
Hi,
By default, SANE generates a udev rules file like this:
ACTION!=add, GOTO=libsane_rules_end
SUBSYSTEM!=usb_device, GOTO=libsane_rules_end
# Hewlett-Packard ScanJet 4100C
SYSFS{idVendor}==03f0, SYSFS{idProduct}==0101, MODE=660,
On Thursday 04 May 2006 14:40, Wittawat Yamwong wrote:
Hi Peter,
Try this:
USB_DEVFS_PATH=/dev/bus/usb scanimage [...]
The above line tells libusb to look at /dev/bus/usb first. Hope it helps.
Understood, but where is that line meant to go? udev.rules, or somewhere else?
You should write
Hi,
On 2006-05-04 07:56, Julien BLACHE wrote:
Maybe we should pull the plug on the scanner driver support ?
As there are still operating systems that only habe kernel scanner
driver support and no libusb port, I think we should keep it.
But maybe we should check all documentation to not
Henning Meier-Geinitz henn...@meier-geinitz.de wrote:
Hi,
As there are still operating systems that only habe kernel scanner
driver support and no libusb port, I think we should keep it.
But maybe we should check all documentation to not mention it any
longer or clearly mark it as obsolete.
On Sunday 07 May 2006 11:17, Peter Christy wrote:
On Thursday 04 May 2006 14:40, Wittawat Yamwong wrote:
You should write the USBID as 4b8/11d/*. (No prepending '0')
BINGO!
That was the answer! As soon as I removed the leading zeros, everything leapt
into life properly! I have rebooted
Peter Christy chri...@attglobal.net wrote:
[sanei_usb] sanei_usb_init: Looking for kernel scanner devices
[sanei_usb] kernel_get_vendor_product: ioctl (vendor) of
device /dev/usbscanner0 failed: Inappropriate ioctl for device
[sanei_usb] sanei_usb_get_vendor_product: ioctl (product) of
On Tuesday 02 May 2006 18:27, Wittawat Yamwong wrote:
2. If your libusb doesn't properly open a device node under /dev/bus/usb/
(like mine; libusb bug?) but works correctly with usbfs in /proc/bus/usb/,
add the following line to your udev configuration file (It works at least
on my system):
Hi Peter,
Try this:
USB_DEVFS_PATH=/dev/bus/usb scanimage [...]
The above line tells libusb to look at /dev/bus/usb first. Hope it helps.
On Thursday 04 May 2006 10:05, Peter Christy wrote:
[...]
I have added your line (slightly amended) to my udev rules:
# permissions for usb scanner
Peter Christy chri...@attglobal.net wrote:
Hi,
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)
libusb looks for USB
On Tuesday 02 May 2006 18:45, m. allan noah wrote:
SANE_DEBUG_SANEI_USB=255 scanimage -L
It produces *loads* of output, but I think the relevant bits are:
[sanei_usb] sanei_usb_init: Looking for kernel scanner devices
[sanei_usb] kernel_get_vendor_product: ioctl (vendor) of
device
On Tuesday 02 May 2006 18:27, Wittawat Yamwong wrote:
On Tuesday 02 May 2006 15:17, Peter Christy wrote:
[...]
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
On Tuesday 02 May 2006 20:59, Henning Meier-Geinitz wrote:
sane-backends provides scanner lists and scripts for hotplug,
hotplug-ng and udev. They can be found together with some
documentation in the tools directory. There were some changes in CVS
recently concerning the generation of the
we take patches :)
allan
On Tue, 2 May 2006, Peter Christy wrote:
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
On Tuesday 02 May 2006 15:50, m. allan noah wrote:
we take patches :)
Which I would love to supply, but I've no idea where to start! My programming
days ended with the 8-bit era!
Seriously though, I've been trying to work out if there is anyway of working
around the issue, so far without
you likely know more about it than i do, but i am not sure why it became
sane's responsibility to setup your hardware permissions. sane developers
attempt to help because we have a pretty good list of scanner usb ids, but
sane supports dozens of os variants, making it quite difficult for us to
On Tuesday 02 May 2006 15:17, Peter Christy wrote:
[...]
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)
I'm not familiar
On Tuesday 02 May 2006 17:40, m. allan noah wrote:
i am confused by this- first you say that you need sane to look under
/sys or /dev for devices, then you say that you have to alter permissions
to get it working. which is it?
udev mounts the usbscanner under /sys In my case, under
try this:
SANE_DEBUG_SANEI_USB=255 scanimage -L
then look thru that output. do you see a line like this:
[sanei_usb] sanei_usb_init: Looking for kernel scanner devices
what comes immediately after that?
allan
On Tue, 2 May 2006, Peter Christy wrote:
On Tuesday 02 May 2006 17:40, m. allan
Hi,
On 2006-05-02 14:17, Peter Christy wrote:
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
Hi everybody,
In SANE CVS the creation of the files libsane.usermap, libsane.db and
libsane.rules is now done automatically from the backends' description
files.
libsane.usermap is used by Linux hotplug (tools/hotplug/)
libsane.db is used by Linux hotplug-ng (tools/hotplug-ng/)
libsane.rules is
24 matches
Mail list logo