On Sat, 18 May 2002, Randy.Dunlap wrote: > cd to the 2.4.18 drivers/usb directory and enter > 'insmod usbcore.o'. Well, it just worked for me at least. :)
[root@pc root]# rmmod -r usb-uhci [root@pc root]# lsmod | grep usb [root@pc root]# cd /lib/modules/`uname -r`/kernel/drivers/usb [root@pc usb]# pwd /lib/modules/2.4.18/kernel/drivers/usb [root@pc usb]# insmod usbcore.o [root@pc usb]# mount -t usbdevfs none /proc/bus/usb mount: mount point /proc/bus/usb does not exist [root@pc usb]# lsmod | grep usb usbcore 33184 0 (unused) [root@pc usb]# Arrgh! And those are the USB modules, and the kernel, that I just compiled: [root@pc usb]# ls -l * /boot/vmlinuz-2.4.18 ; uname -a -rw-r--r-- 1 root root 573856 May 18 14:52 /boot/vmlinuz-2.4.18 -rw-r--r-- 1 root root 51841 May 18 14:52 usbcore.o -rw-r--r-- 1 root root 28840 May 18 14:52 usb-uhci.o Linux pc.tampabay.rr.com 2.4.18 #4 Sat May 18 14:49:52 EDT 2002 i686 unknown > | Apparently usbcore.o will load without usbdevfs being available (if you > | want to hang yourself, there's the rope). > > no, usbcore supplies/produces usbdevfs. Then my setup must be seriously confused. I don't know what I did, to make it so. For a long time, I had no USB devices, so whenever I would configure a kernel, I would reject any option that's only used for USB. Maybe I've turned off something that I need now that I have a USB device. > I think that there is just something minor that is being > overlooked here somehow. Probably. > Just unload all of the USB modules, reload them (using insmod > filename.o, not modprobe), and it should work. OK, are there any USB-related modules, that don't have the string 'usb' or 'hci' or some other easily-recognizable string in their names? Or maybe modules that are recommended for use? As seen above, "insmod usbcore.o" doesn't make /proc/bus/usb appear, as I thought it should. I changed "USB Support" -> "Support for USB" to being compiled in, not a module. It worked! Now I have to convince the initscripts to mount /proc/bus/usb at startup. Should be a simple matter of listing it in /etc/fstab, but I'll see... <reboots> Yes, it works. But usb-uhci.o does not get pre-loaded... will it get loaded on demand? Or do I have to arrange for it to get loaded? There's this: 1001/0 [EMAIL PROTECTED]:~ > cat /proc/devices Character devices: ... 180 usb And, as one would expect, this: 1005/0 [EMAIL PROTECTED]:~ > sed -n 2169p /usr/src/linux/Documentation/devices.txt 180 char USB devices But none of the devices listed in devices.txt seem relevant (I'm trying to access a PDA). Do I need to create some device file? -- -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
