[sane-devel] USB scanner and mounting usbdevfs with devmode 0666

Henning Meier-Geinitz henning@meier-geinitz.de
Thu, 24 Oct 2002 10:15:53 +0200


Hi,

On Thu, Oct 24, 2002 at 08:46:05AM +0200, Michael Herder wrote:
> Caldera OpenLinux 3.1, kernel 2.4.2
> 
> While it's possible to mount usbdevfs with devmode=0666 (the number of the 
> beast ?:-) on all SuSE system, it fails with Caldera, i.e. permissions still 
> look like this:
> -rw-r--r--   1 root     root           18 Oct 24  2002 /proc/bus/usb/001/001
> -rw-r--r--   1 root     root           18 Oct 24  2002 /proc/bus/usb/001/002
> after mount -av returns
> ...
> none on /proc/bus/usb type usbdevfs (rw,noexec,nosuid,nodev,devmode=0666)
> 
> Does someone else have the same problems (maybe with other distros) or knows 
> what's causing this? Or is this maybe just a bug in Caldera 3.1 ?

Debian Sarge, kernel 2.4.20-pre10: no problems.

Maybe kernel 2.4.2 is just too old and the mount option wasn't
included in that kernel version.

hmg1:~# mount -omy_own_new_option=1 /proc/bus/usb/
hmg1:~# mount
[...]
none on /proc/bus/usb type usbfs (rw,devmode=0666,my_own_new_option=1)

Bye,
  Henning