Libusb-/proc/bus/usb setup

Ag Hatzim zkom.xl at gmail.com
Mon Apr 3 05:08:24 PDT 2006


Alexander E. Patrakov(patrakov at ums.usu.ru)@Mon, Apr 03, 2006 at 05:46:35PM +0600:
> 
> No, udev has nothing to do with /proc/bus/usb permissions. If you are a 
> member of the "usb" group, the scanner should just work.
>
This is from SVN-20060329-udev_branch build
kernel 2.6.16.1
udev 087

And the relative udev rules.

SUBSYSTEM=="usb_device", PROGRAM="/bin/sh -c 'X=%k X=$${X#usbdev}
B=$${X%%%%.*} D=$${X#*.}; echo bus/usb/$$B/$$D'", SYMLINK+="%c",
GROUP="usb"

SUBSYSTEM=="usb_device", SYSFS{idVendor}=="04a9",
SYSFS{idProduct}=="220e", GROUP:="scanner"

>Could you please  post the output of the following command?
> 
> ls -lR /proc/bus/usb /dev/bus/usb
> 

There is no device under /proc/bus/usb

#-------------------------------# 
[452](~)ls -lR  /dev/bus/usb               
 /dev/bus/usb:
 σύνολο 0
 drwxr-xr-x 2 root root 120 2006-04-03 17:38 1/
 drwxr-xr-x 2 root root 100 2006-04-03 17:38 2/

 /dev/bus/usb/1:
 σύνολο 0
 lrwxrwxrwx 1 root root 18 2006-04-03 17:38 1 -> ../../../usbdev1.1
 lrwxrwxrwx 1 root root 18 2006-04-03 17:38 2 -> ../../../usbdev1.2
 lrwxrwxrwx 1 root root 18 2006-04-03 17:38 5 -> ../../../usbdev1.5
 lrwxrwxrwx 1 root root 18 2006-04-03 17:38 6 -> ../../../usbdev1.6

 /dev/bus/usb/2:
 σύνολο 0
 lrwxrwxrwx 1 root root 18 2006-04-03 17:38 1 -> ../../../usbdev2.1
 lrwxrwxrwx 1 root root 18 2006-04-03 17:38 2 -> ../../../usbdev2.2
 lrwxrwxrwx 1 root root 18 2006-04-03 17:38 3 -> ../../../usbdev2.3
#-------------------------------# 

And this the output of the relative usb device.

[453](~)ls -lR /dev/usbdev2.3 
crw-rw---- 1 root scanner 189, 130 2006-04-03 17:38 /dev/usbdev2.3



More information about the blfs-dev mailing list