LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 08-24-2009, 04:37 PM   #1
bogzab
Member
 
Registered: Mar 2006
Location: Dyserth, Wales
Distribution: Slackware 14.0, Slackware 14.1, Slackware-current
Posts: 306

Rep: Reputation: 33
USB ports not working properly- Slack 12.2 & old-ish motherboard


I have just installed Slackware 12.2 on a PC that was Win98 before. AMD K6 processor, had to use the huge.s kernel rather than the hugesmp.s version, but all working fine if a little slow apart form usb ports. When I kick off with a wireless usb keyboard plugged in that is recognised OK and works if a little jerkily. Plugging in usb memory sticks does not bring up the usual KDE hot-plug dialog, but lsusb does list the devices as found. After some further pluggin, unplugging and replugging, lsusb shows only one entry - the usb hub. If this problem rings a bell with anybody I would be grateful for guidance - Is there some kernel config that I am missing or some package that needs loading to get these usb ports running properly. Thanks.
 
Old 08-24-2009, 08:29 PM   #2
allend
LQ 5k Club
 
Registered: Oct 2003
Location: Melbourne
Distribution: Slackware64-15.0
Posts: 6,371

Rep: Reputation: 2748Reputation: 2748Reputation: 2748Reputation: 2748Reputation: 2748Reputation: 2748Reputation: 2748Reputation: 2748Reputation: 2748Reputation: 2748Reputation: 2748
If you look in /etc/rc.d/rc.modules-`uname -r` under ### USB Host Controllers you will see that you can choose different host controller kernel modules.
Look at the output of 'lsmod | grep hcd'.
I suspect that you are loading the ehci-hcd and uhci-hcd modules. You may find that your hardware will work better with the ohci-hcd module in place of the uhci-hcd module.
 
Old 08-26-2009, 03:23 AM   #3
bogzab
Member
 
Registered: Mar 2006
Location: Dyserth, Wales
Distribution: Slackware 14.0, Slackware 14.1, Slackware-current
Posts: 306

Original Poster
Rep: Reputation: 33
Quote:
Originally Posted by allend View Post
Look at the output of 'lsmod | grep hcd'.
I suspect that you are loading the ehci-hcd and uhci-hcd modules. You may find that your hardware will work better with the ohci-hcd module in place of the uhci-hcd module.
Thanks for the advice - tried lsmod, but (because I am using huge kernel?) there are no *hcd modules reported. When I try lodading (with modprobe) uhci-hcd or ohci-hcd, I get errors - presumably because the code is already there in non-module format. Does this mean re-build the huge kernel with these drivers as modules, which I can then experiment with adding and removing until the hardware and software match ?

btw I also added a usb printer and again there was recognition that it has been plugged in from lsusb but the driver did not seem to send actual data to the printer.

I have now delivered the PC with non-fucntional usb to the client (my mum) and in a couple of days (like all the best support people) am going on holiday for two weeks, so thread unlikely to be very active.
 
Old 08-26-2009, 07:25 AM   #4
onebuck
Moderator
 
Registered: Jan 2005
Location: Central Florida 20 minutes from Disney World
Distribution: SlackwareŽ
Posts: 13,923
Blog Entries: 44

Rep: Reputation: 3158Reputation: 3158Reputation: 3158Reputation: 3158Reputation: 3158Reputation: 3158Reputation: 3158Reputation: 3158Reputation: 3158Reputation: 3158Reputation: 3158
Hi,

Do you have the user in the proper groups? Most users groups should have;

Quote:
users floppy audio video cdrom plugdev
What do you see in the 'dmesg' when you plug the device into the port?
 
Old 08-26-2009, 08:53 AM   #5
allend
LQ 5k Club
 
Registered: Oct 2003
Location: Melbourne
Distribution: Slackware64-15.0
Posts: 6,371

Rep: Reputation: 2748Reputation: 2748Reputation: 2748Reputation: 2748Reputation: 2748Reputation: 2748Reputation: 2748Reputation: 2748Reputation: 2748Reputation: 2748Reputation: 2748
Quote:
Does this mean re-build the huge kernel with these drivers as modules, which I can then experiment with adding and removing until the hardware and software match ?
No need to rebuild the huge kernel, just install the generic kernel using an initrd that includes modules for your file system and also usb modules. (You can get the mkinitrd_command_generator.sh script from -current to help with this.) Keep the huge kernel as a backup that you can boot from in case there is a problem, especially if you are using a wireless usb keyboard.
 
Old 08-26-2009, 12:56 PM   #6
gnashley
Amigo developer
 
Registered: Dec 2003
Location: Germany
Distribution: Slackware
Posts: 4,928

Rep: Reputation: 612Reputation: 612Reputation: 612Reputation: 612Reputation: 612Reputation: 612
Are you plugging the keyboard into the same hub as the USB drives are on? If so, try plugging the keyboard into a separate (main) USB port.
 
Old 08-27-2009, 04:08 AM   #7
bogzab
Member
 
Registered: Mar 2006
Location: Dyserth, Wales
Distribution: Slackware 14.0, Slackware 14.1, Slackware-current
Posts: 306

Original Poster
Rep: Reputation: 33
Guys - Thanks for various adivce offered. I will re-visit this in a couple of weeks time when I get back from holidays. If I continue to have problems I will probably start a new thread then.

@onebuck - I think the groups are OK, I have been there before , especially with plugdev. The dmesg messages after plugging in a device is something I will check next time I have physical access to the machine.

@allend - I will do as you say with the generic kernel and the initrd.
 
  


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
must front USB ports be supported by the motherboard? newbiesforever General 4 06-02-2008 08:07 PM
USB ports not working matrim Fedora 1 03-17-2007 05:46 AM
USB & Firewire ports on F1_1394 & F2_1394? newtwolinux Linux - Hardware 0 05-17-2005 07:42 PM
USB mouse wheel not working properly bongski55 Slackware 2 06-17-2003 09:12 AM
Linux creating VFAT partitions & them not working properly! Thymox General 4 12-07-2001 03:51 AM

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

All times are GMT -5. The time now is 11:11 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