Linux - GeneralThis Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
hi. i have slackware 9.1 with a custom built 2.6.1 kernel. whilst trying
to set up my usb scanner, i noticed that /proc/bus/usb/devices is
missing. this means that something to do with USB is not compiled into
the kernel, something that was compiled into the slackware 9.1 default
2.4.22 kernel. having searched google and come up empty, i now turn to
you to tell me what needs to be compiled into the kernel for
/proc/bus/usb/devices to exist. there are several things to note.
firstly, the directory /proc/bus/usb exists, just not the devices file.
secondly, the usbcore, ehci_hcd, and the scanner modules are
successfully loaded. last, i got the following two messages in the output from dmesg:
drivers/usb/core/usb.c: registered new driver usbfs
drivers/usb/core/usb.c: registered new driver hub
i thought that what was missing from the kernel was a usb filesystem, but apparently (looking at the two messages), it seems that it is.
shellcode@ph33r$ grep -in hotplug .config
163:# PCI Hotplug Support
166:# CONFIG_HOTPLUG_PCI_FAKE is not set
168:# CONFIG_HOTPLUG_PCI_COMPAQ_NVRAM is not set
169:# CONFIG_HOTPLUG_PCI_CPCI is not set
so i guess it is set. i might try to enable OHCI and all the other USB options (except the obviously unneeded ones) in the kernel and recompile. however, i'd really rather have some more suggestions. this is a pretty slow system and compiling the kernel will take quite a while. thank's.
do you think it could have anything to do with ehci vs. ohci vs. uhci? the kernel only has ehci compiled and not ohci or uhci. the slackware 9.1 default kernel had uhci, ehci, and ohci as modules, whereas my 2.6.1 kernel only has ehci. that seems to be the only possibility...