LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 09-26-2004, 09:12 AM   #1
Smile005
Member
 
Registered: Oct 2003
Location: Sunny Wales
Distribution: Slackware 10
Posts: 30

Rep: Reputation: 15
Getting USB to work


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
 
Old 09-26-2004, 01:01 PM   #2
len
Member
 
Registered: Jun 2003
Distribution: slackware 14
Posts: 143

Rep: Reputation: 15
i think this is in /etc/rc.d/rc.modules.

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...



Last edited by len; 09-26-2004 at 01:05 PM.
 
Old 09-26-2004, 03:06 PM   #3
Smile005
Member
 
Registered: Oct 2003
Location: Sunny Wales
Distribution: Slackware 10
Posts: 30

Original Poster
Rep: Reputation: 15
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?
 
Old 09-26-2004, 04:27 PM   #4
pauloref
Member
 
Registered: Sep 2004
Location: Italy, between milano and varese
Distribution: gentoo from stage3 with 2.6.7 development kernel
Posts: 55

Rep: Reputation: 15
i think you shoul modify the /etc/fstab. add this line
/dev/sda1 /mnt/sda1 vfat auto,rw,users,exec,unmask=000 0 0

you should then be able to mount the device, at least, so i did, I am curently using slack 9.1 with the kernel 2.6.7 try it
 
Old 09-27-2004, 09:30 AM   #5
Smile005
Member
 
Registered: Oct 2003
Location: Sunny Wales
Distribution: Slackware 10
Posts: 30

Original Poster
Rep: Reputation: 15
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.
 
Old 09-28-2004, 01:20 PM   #6
pauloref
Member
 
Registered: Sep 2004
Location: Italy, between milano and varese
Distribution: gentoo from stage3 with 2.6.7 development kernel
Posts: 55

Rep: Reputation: 15
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
 
Old 09-28-2004, 01:49 PM   #7
Smile005
Member
 
Registered: Oct 2003
Location: Sunny Wales
Distribution: Slackware 10
Posts: 30

Original Poster
Rep: Reputation: 15
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
 
Old 09-28-2004, 02:14 PM   #8
Smile005
Member
 
Registered: Oct 2003
Location: Sunny Wales
Distribution: Slackware 10
Posts: 30

Original Poster
Rep: Reputation: 15
Progress!

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...
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
USB 2.0 jump drive in USB 1.1 slot won't work? zwyrbla Slackware 2 09-27-2004 08:26 PM
USB thumb drive works great, but I still can't get my USB mouse to work. blk96gt Slackware 8 06-22-2004 01:52 AM
USB 2.0 External Disk Wont Work, but almost in USB 1.1 integr8er Linux - Hardware 2 03-13-2004 09:22 AM
Usb 2.0 does it work? DavidTempler Linux - Hardware 7 03-12-2004 03:01 AM
why won't my usb work? Derek-kun Linux - Newbie 3 09-21-2003 11:29 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 05:35 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration