I think that when I load usbcore.o and usb-uhci.o, /proc/bus/usb should
appear. Is this correct?
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.
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:
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.
--
-eben [EMAIL PROTECTED] home.tampabay.rr.com/hactar
An idea that is not dangerous is unworthy of being called an idea at all.
-Oscar Wilde
_______________________________________________________________
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