Mr O wrote:

> KBob, you say you're using Gentoo with those results. I seem to
> be missing something. "lsusb" gives me "cannot open
> /proc/bus/usb, No such file or directory (2)". Something not in
> my kernel that should be? 

    jogger-egg ~> grep usb /proc/filesystems
    nodev   usbdevfs
    nodev   usbfs
    jogger-egg ~> grep usb /proc/mounts 
    none /proc/bus/usb usbfs rw 0 0

You also have to ensure that /etc/init.d/localmount is run at boot
time.  Since a whole bunch of services depend on it, that's probably
not an issue.

    jogger-egg ~> grep localmount /etc/runlevels/default/*
    /etc/runlevels/default/acpid:   need localmount
    /etc/runlevels/default/apmd:    need localmount
    /etc/runlevels/default/hdparm:  need localmount
    /etc/runlevels/default/vcron:   need clock localmount logger

Most likely, you need to set CONFIG_USB_DEVICEFS in your kernel.

> CONFIG_USB_DEVICEFS:
> 
> If you say Y here (and to "/proc file system support" in the "File
> systems section, above), you will get a file /proc/bus/usb/devices
> which lists the devices currently connected to your USB bus or
> busses, a file /proc/bus/usb/drivers which lists the USB kernel
> client drivers currently loaded, and for every connected device a
> file named  "/proc/bus/usb/xxx/yyy", where xxx is the bus number and
> yyy the device number; the latter files can be used by user space
> programs to talk directly to the device. These files are "virtual",
> meaning they are generated on the fly and not stored on the hard
> drive.
> 
> You may need to mount the usbdevfs file system to see the files, use
>  mount -t usbdevfs none /proc/bus/usb
> 
> For the format of the various /proc/bus/usb/ files, please read
> Documentation/usb/proc_usb_info.txt.
> 
> Please note that this code is completely unrelated to devfs, the
> "/dev file system support".
> 
> Most users want to say Y here.

-- 
Bob Miller                              K<bob>
kbobsoft software consulting
http://kbobsoft.com                     [EMAIL PROTECTED]
_______________________________________________
EuG-LUG mailing list
[EMAIL PROTECTED]
http://mailman.efn.org/cgi-bin/listinfo/eug-lug

Reply via email to