On Sat, 18 May 2002, Hactar wrote:

| I think that when I load usbcore.o and usb-uhci.o, /proc/bus/usb should
| appear. Is this correct?

Yes.
Something has to mount it, like a script:

mount -t usbdevfs usbdevfs /proc/bus/usb

Try this command from the command prompt after usbcore
and the usb host-controller driver are loaded.
Does that work?

| 1000/0 [EMAIL PROTECTED]:~ > /sbin/lsmod | grep usb
| usb-uhci               21508   0 (unused)
| usbcore                33184   0 [usb-uhci]
| 1001/0 [EMAIL PROTECTED]:~ > ls /proc/bus/
| total 0
|    0 pci/
|
| USB support and "Legacy USB Support" (I didn't think USB was old enough to
| have any legacy devices) are enabled in the BIOS, but I didn't think Linux
| used the BIOS.

"Legacy USB support" in a BIOS means that the BIOS handles
USB keyboard and mouse but emulates PS/2 keyboard and mouse
to the OS & apps.
Linux doesn't need it.  and right, Linux doesn't use BIOS
(except for APM).

| USB support is modularized in the kernel (2.4.18).  I can see a full
| description of the PDA in /var/log/messages when I turn it on in the
| cradle, or insert it when powered up.
|
| It gets an interrupt:
|
| 1002/0 [EMAIL PROTECTED]:~ > grep usb /proc/interrupts
|   9:         11          XT-PIC  usb-uhci, usb-uhci, usb-uhci
|
| And some addresses:
|
| 1000/0 [EMAIL PROTECTED]:~ > grep usb /proc/ioports
|   a400-a41f : usb-uhci
|   a800-a81f : usb-uhci
|   b000-b01f : usb-uhci
|
| The appropriate alias is default:
|
| 1002/0 [EMAIL PROTECTED]:~ > /sbin/modprobe -c | grep '^alias usb-controller'
| alias usb-controller usb-uhci
|
| /etc/rc.d/rc.sysinit seems to assume that all you have to do is insert the
| modules, then you can mount the filesystem:

um, I don't see why this doesn't work, sorry.
Maybe a timing problem?

| 1006/0 [EMAIL PROTECTED]:~ > sed -n '160,172p' /etc/rc.d/rc.sysinit
| # Initialize USB controller and HID devices
| usb=0
| if ! grep -iq "nousb" /proc/cmdline 2>/dev/null && ! grep -q "usb" /proc/devices 
|2>/dev/null ; then
|     aliases=`/sbin/modprobe -c | awk '/^alias usb-controller/ { print $3 }'`
|     if [ -n "$aliases" -a "$aliases" != "off" ] ; then
|       modprobe usbcore
|       action $"Mounting USB filesystem: "  mount -t usbdevfs usbdevfs /proc/bus/usb
|       for alias in $aliases ; do
|         [ "$alias" != "off" ] && action $"Initializing USB controller ($alias): " 
|modprobe $alias
|       done
|       [ $? -eq 0 -a -n "$aliases" ] && usb=1
|     fi
| fi
|
| Is my motherboard (an Asus A7V266) special?  Or am I doing something
| blatantly wrong?  Thanks.

nope, don't think so.

-- 
~Randy


_______________________________________________________________
Hundreds of nodes, one monster rendering program.
Now that's a super model! Visit http://clustering.foundries.sf.net/

_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-users

Reply via email to