do not use udev, was: Re: [sane-devel] sane problem with newer kernel

2006-07-31 Thread m. allan noah
On Sun, 30 Jul 2006, Julien BLACHE wrote: > "m. allan noah" wrote: > >> platforms where libusb is available, sane will also ask libusb for a >> list. most versions of libusb discover usb devices by looking in >> /proc/bus/usb >> later versions of the kernel seem to have moved or messed with that

do not use udev, was: Re: [sane-devel] sane problem with newer kernel

2006-07-30 Thread Julien BLACHE
"m. allan noah" wrote: > platforms where libusb is available, sane will also ask libusb for a > list. most versions of libusb discover usb devices by looking in > /proc/bus/usb > later versions of the kernel seem to have moved or messed with that > location. FYI, since Linux 2.6.14, /dev/bus/usb

do not use udev, was: Re: [sane-devel] sane problem with newer kernel

2006-07-30 Thread m. allan noah
On Sun, 30 Jul 2006, Roland Kwee wrote: > Hi, > > As often, formulating a question is answering it, and here is the solution: > do not use udev with sane. > > I removed the udev config line and now udev does not make the special file > /dev/usb/scanner on plugging in the usb cable from the scann

do not use udev, was: Re: [sane-devel] sane problem with newer kernel

2006-07-30 Thread Miguel Bazdresch
On 7/30/06, Roland Kwee wrote: > As often, formulating a question is answering it, and here is the > solution: do not use udev with sane. I'm running sane with linux 2.6.16.27 and udev-096, and it works beautifully. Some advice: - kernel and udev versions usually go together. In most cases you

do not use udev, was: Re: [sane-devel] sane problem with newer kernel

2006-07-30 Thread Julien BLACHE
Roland Kwee wrote: Hi, > sane with udev, and on how libusb works. Now this is all black magic > to me, while calling myself an experienced linux user, system manager > and programmer. udev is indeed black magic, even for its maintainers. That being said, never upgrade your kernel without check

do not use udev, was: Re: [sane-devel] sane problem with newer kernel

2006-07-30 Thread Roland Kwee
Hi, As often, formulating a question is answering it, and here is the solution: do not use udev with sane. I removed the udev config line and now udev does not make the special file /dev/usb/scanner on plugging in the usb cable from the scanner. Now sane works as with the older kernel, and I