Linux - HardwareThis forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?
Notices
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.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I'm currently running Slackware 10 with the 2.6.7 kernel and I can't get any USB devices to work. I'm fairly new to Linux and I've never setup USB on it so I'm in new territory here.
I've tried to enable some USB modules and have them load at startup but it makes no difference. There's no /dev/usb dir or any usb devices in /dev.
Do you know of any USB configuration guides that could help me?
Thanks
get intimate with your hardware (post hardware here as well can be extra helpful). getting chipset id for usb to work will be important.
if you find an exact module match, then you can use an editor, and remove the # in front of the module, save, and reboot your system. this will load the module at reboot.
also be certain that usb is enabled in the bios...
It is however I only have entries for 2.4 kernel modules. I even tried loading all the 2.6.7 modules for usb on start up but that didn't work.
Also there is no entries in /proc/bus/usb
I believe that apart from having the modules ready there isn't anything else on my system that is configured properly.
What else can I try?
That's kind of my problem, there is no /dev/sda devices, neither is there any /dev/usb devices.
Plus it's not just portable storage that is the problem, because of this my printer won't work either.
I think there's a step to install USB that I need to do to get them activated with udev.
Distribution: gentoo from stage3 with 2.6.7 development kernel
Posts: 55
Rep:
i think, you don't have a module for usb devices installed
try: ls /lib/modules/"your kernel"/kernel/drivers/usb
and then:
modprobe "the modules that there is inside"
if you don't follow what i said there, just try:
modprobe touchkitusb
modprobe cytherm
modprobe phidgetservo
after, if you have already the line i told you before inside your /etc/fstab
you should be able to mount your usb device, digital cameras and get your printer to work.
If it works, you will have to do those commands each time you reboot. so they worked, insert those vcommands in the file /etc/rc.d/rc.local
This is what ls * returns when run in my /lib/modules/2.6.7/kernel/drivers/usb directory:
Quote:
class:
usblp.ko
core:
usbcore.ko
host:
ehci-hcd.ko ohci-hcd.ko uhci-hcd.ko
input:
usbhid.ko
storage:
usb-storage.ko
And as I've said before, it won't work because there is no /dev/sda1 device.
There's also no usb bus devices in the /proc dir.
I'm sure that there's something I need to run / do to enable USB on my system. I have the modules (perhaps not all the ones I need?) or maybe there's a USB enabled setting that's disabled. I don't know.
Thanks
Ok, I was looking up USB tutorials and found one that mounted the usb devices.
Something like: mount -t usbfs none /proc/bus/usb
When I did it it created a device directory in /proc/bus/usb and seems to have worked a little.
Anyway, I've put it in my fstab and hopefully some /dev/ entries will be created on the next boot by udev.
Fingers crossed...
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.