On Wed, May 09, 2007 at 01:07:40AM +0200, Michael Schmitt wrote:
> No idea what happens when, I just see after bootup usbfs is not mounted,
> /proc/bus/usb is empty, usbview and such software does not show anything.

The problem is with kernels compiled with usbcore as module. In that
case you don't have /proc/bus/usb/ on startup and since mountkernfs.sh
gets started before udev the usbcore modul won't be loaded
automatically.

Solutions?

1) add a modprobe usbcore || true before checking for /proc/bus/usb

2) try to mount /proc/bus/usb after starting udev

3) add a hook to module-init-tools/udev to mount /proc/bus/usb after the
   module usbcore gets loaded.

Number 3 is probably the best solution but also the most complex one.

    Ingo
-- 
"Niemand hat die Absicht eine Mauer zu errichten"
        -- Walter Ulbricht, DDR-Staatsratsvorsitzender
           http://video.google.com/videoplay?docid=6233111545394191802

Attachment: signature.asc
Description: Digital signature

Reply via email to