LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 05-01-2005, 07:46 PM   #1
mrchaos
Member
 
Registered: Mar 2005
Location: USA
Distribution: Slackware current, Fedora Core 5, SuSE 10.1 OSS
Posts: 298

Rep: Reputation: 30
usb problems in slack


I've just recently tried tinkering around with USB devices in Slackware (I normally don't have much need for them). Much to my dismay, nothing usb-related seems to work. I checked my kernel configuration, and I know that I included usb-hotplug support when I compiled, so that's not the issue.

I ran
Code:
dmesg|grep usb
and the code that came up was,

Code:
root@ZAXCOMP:/home/zax# dmesg|grep usb
usbcore: registered new driver usbfs
usbcore: registered new driver hub
So it looks like the module is loaded. Just to be sure though, I checked rc.modules and uncommented the following:


Code:
### USB Host Controllers:
# Universal Host Controller Interface (Intel standard):
/sbin/modprobe usb-uhci
# Universal Host Controller Interface (alternate JE):
#/sbin/modprobe uhci
# Open Host Controller Interface (Compaq/Microsoft/National standard):
#/sbin/modprobe usb-ohci
I have an intel chipset, so this seems like the logical choice. Now here comes the problem: I attach a Saitek p2500 joypad into a USB port and --hocus pocus-- not a damn thing happens. I check dmesg and it has not displayed anything new. Shouldn't it automatically detect my USB device???????????????

Edit:
** I should add that I am running the 2.6.10 kernel inn Slackware 10.1**

Last edited by mrchaos; 05-01-2005 at 07:52 PM.
 
Old 05-01-2005, 10:18 PM   #2
rose_bud4201
Member
 
Registered: Aug 2002
Location: St Louis, MO
Distribution: Xubuntu, RHEL, Solaris 10
Posts: 929

Rep: Reputation: 30
Unless something's changed a lot (which I'm not denying the possibility of), USB isn't plug-and-play in Slack. You'll p'bly have to try mounting the device manually.
 
Old 05-02-2005, 11:37 AM   #3
tuxrules
Senior Member
 
Registered: Jun 2004
Location: Chicago
Distribution: Slackware64 -current
Posts: 1,158

Rep: Reputation: 62
Yup I agree...usb devices won't mount automatically in slackware.

# dmesg | tail to see what device number your hardware is using

then use mount command to mount it at your choice of location.
 
Old 05-02-2005, 11:56 AM   #4
mrchaos
Member
 
Registered: Mar 2005
Location: USA
Distribution: Slackware current, Fedora Core 5, SuSE 10.1 OSS
Posts: 298

Original Poster
Rep: Reputation: 30
oh, I don't mind mounting the hardware myself. After all, I do it with cd and dvd-rom drives. But the problem is that Slack doesn't even know the hardware is there. dmesg|tail doesn't show anything new. I just checked my compile configuration for my kernel, and nothing looks wrong, so might it be that the joypad isn't supported by linux?
 
Old 05-02-2005, 12:17 PM   #5
mrchaos
Member
 
Registered: Mar 2005
Location: USA
Distribution: Slackware current, Fedora Core 5, SuSE 10.1 OSS
Posts: 298

Original Poster
Rep: Reputation: 30
I think I found the problem. Apparently, the module usb-uhci doesn't exist on my system. I get this error:

Code:
root@ZAXCOMP:/# modprobe usb-uhci
FATAL: Module usb_uhci not found.
This is odd since I compiled the kernel with support for USB. Looks like I'm going to have to recompile the kernel, unless anyone has a better idea that is.

It is possible that I configured the USB as integrated into the kernel rather than as a module. Lemme check up on that.

Last edited by mrchaos; 05-02-2005 at 12:20 PM.
 
Old 05-02-2005, 01:29 PM   #6
mrchaos
Member
 
Registered: Mar 2005
Location: USA
Distribution: Slackware current, Fedora Core 5, SuSE 10.1 OSS
Posts: 298

Original Poster
Rep: Reputation: 30
somebody help me out here, but if I have a USB 2.0 system on my computer, does this module represent my USB system:

Code:
root@ZAXCOMP:/boot# lsmod|grep ehci
ehci_hcd               27524  0
usbcore               104440  2 ehci_hcd
????
 
Old 05-02-2005, 03:51 PM   #7
mrchaos
Member
 
Registered: Mar 2005
Location: USA
Distribution: Slackware current, Fedora Core 5, SuSE 10.1 OSS
Posts: 298

Original Poster
Rep: Reputation: 30
well, this is the last post, b/c I got the USB device to work. My methods of doing so were a bit unorthodox, however. In order to solve the problem, I recompiled my system with kernel 2.6.11.8... this solved the problem, and I'm not sure why since I used the same configuration file that I used to compile kernel 2.6.10 about a month and a half ago. I've been meaning to upgrade to the new kernel anyhow, so I at least killed two birds with one stone.
 
Old 06-19-2005, 09:23 AM   #8
SticklerThe1st
Member
 
Registered: Apr 2002
Location: Missouri
Distribution: Slackware 8.0
Posts: 46

Rep: Reputation: 15
Actually hotplugging does work with slackware, I just plug any joystick in and its there. As long as you have hotplugging enabled (which is standard) and have the correct modules it will work. Joysticks/gamepads don't need manual mounting. Memory sticks/flash cards/extrnal harddrives etc will automatically pick up and load the right module if you have it, but you have to mount those. You also have to make sure you have symlinks from /dev/input/js0 to /dev/js0 because some programs look for the /dev/js0 and won't work unless you manually make the program use /dev/input/js0.
 
  


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 - works only as USB 1.1 (after upgrade to Slack 10.2) Xdrummer Slackware 1 11-27-2005 01:52 PM
USB Mouse problems + SuSE not happy with Slack dhbiker Slackware 5 02-11-2004 08:33 AM
Slack 9.1 1st-time boot Problems -> USB KEYBOARD revz Slackware 2 12-31-2003 02:41 PM
Slack 9.1 Instalation Problems -> USB KEYBOARD revz Linux - Distributions 1 12-31-2003 12:51 PM
USB Mouse problems in Slack Sinestral Slackware 5 02-23-2003 03:29 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 06:59 AM.

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