LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This 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.

Notices


Reply
  Search this Thread
Old 09-26-2004, 07:33 PM   #1
westside
LQ Newbie
 
Registered: Nov 2001
Location: Australia
Distribution: redhat
Posts: 26

Rep: Reputation: 15
USB not working


I dual boot my system between fedora and windows. I just upgraded to XP pro and when I booted back into fedora, core 2, I find my none of my USB devices are working. They all work in windows but not in fedora. Bad cause I have a usb mouse and it esp won't work.

Any ideas anyone.
 
Old 09-27-2004, 12:42 AM   #2
MartinN
Member
 
Registered: Nov 2003
Location: Ronneby, Sweden
Posts: 555

Rep: Reputation: 30
Do you have a machine with NFORCE2 chipset? If so, upgrade your kernel! There is a problem with some of the 2.6.7 (I think) kernels that turns off USB and the built in Network controller.

Martin
 
Old 09-27-2004, 03:59 AM   #3
westside
LQ Newbie
 
Registered: Nov 2001
Location: Australia
Distribution: redhat
Posts: 26

Original Poster
Rep: Reputation: 15
Sorry I should have said that before.
It is a Gigabyte m/b a GA 7zxe
The chipset is a Apollo KT133A.

The only thing that has changed is that I ahve gone from windows 98 to windows xp and now the usb wont work for me in linux. WOrks fine in XP.
 
Old 09-27-2004, 05:57 AM   #4
MartinN
Member
 
Registered: Nov 2003
Location: Ronneby, Sweden
Posts: 555

Rep: Reputation: 30
Trying to narrow the search here. When you boot Linux there are a lot of messages about "Starting XXXX" and then a green OK. Almost one of the first messages should be about USB. Do you get any such message? Does it have a red FAILED instead of an OK?

Can you see if there are any USB ports in your proc file system? Type this in a command terminal:
ls -alF /proc/bus/
Do you see an usb directory?

Martin
 
Old 09-27-2004, 06:56 AM   #5
westside
LQ Newbie
 
Registered: Nov 2001
Location: Australia
Distribution: redhat
Posts: 26

Original Poster
Rep: Reputation: 15
Unfortunatly fedora core2 boots straight into graphical so you miss the messages.
ls -alF /proc/bus/ got a message
dr-xr-xr-x 2 root root 0 sept 28 20:35 usb/
so the directory is there
but still no usb hardware will work for me.
I am sure windoze made a change to the system that has effected linux's handling of the usb but I cant for the life of me work out what. I have gone into the bios and the settings seem fine, thats the only thing I could think of.
 
Old 09-28-2004, 01:25 AM   #6
MartinN
Member
 
Registered: Nov 2003
Location: Ronneby, Sweden
Posts: 555

Rep: Reputation: 30
Sorry, I always set my machines to text-mode boot. Just tried out Fedora's graphical mode boot for the first time now.

You can see some of the kernel messages with the command
dmesg
(as root). Here is a piece of my dmesg that shows that it has found USB controllers.
Code:
 ehci_hcd 0000:00:02.2: EHCI Host Controller
PCI: Setting latency timer of device 0000:00:02.2 to 64
ehci_hcd 0000:00:02.2: irq 5, pci mem 1a95a000
ehci_hcd 0000:00:02.2: new USB bus registered, assigned bus number 1
PCI: cache line size of 64 is not supported by device 0000:00:02.2
ehci_hcd 0000:00:02.2: USB 2.0 enabled, EHCI 1.00, driver 2004-May-10
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 6 ports detected
ohci_hcd: 2004 Feb 02 USB 1.1 'Open' Host Controller (OHCI) Driver (PCI)
ohci_hcd: block sizes: ed 64 td 64
ACPI: PCI interrupt 0000:00:02.0[A] -> GSI 10 (level, low) -> IRQ 10
ohci_hcd 0000:00:02.0: OHCI Host Controller
PCI: Setting latency timer of device 0000:00:02.0 to 64
ohci_hcd 0000:00:02.0: irq 10, pci mem 1a95c000
ohci_hcd 0000:00:02.0: new USB bus registered, assigned bus number 2
hub 2-0:1.0: USB hub found
hub 2-0:1.0: 3 ports detected
ACPI: PCI interrupt 0000:00:02.1[B] -> GSI 9 (level, low) -> IRQ 9
ohci_hcd 0000:00:02.1: OHCI Host Controller
PCI: Setting latency timer of device 0000:00:02.1 to 64
ohci_hcd 0000:00:02.1: irq 9, pci mem 1a95e000
ohci_hcd 0000:00:02.1: new USB bus registered, assigned bus number 3
hub 3-0:1.0: USB hub found
hub 3-0:1.0: 3 ports detected
Do you see any such messages in your dmesg output? Also, I wonder if this is a problem with just your mouse. Have you tried any other USB peripherals (printer, flash memory, camera etc)?

I assume you know that you can press <CTRL>-<ALT>-F1 to get to a text mode login. If you log in as root there, you can see the dmesg output with
dmesg | more
Sorry if I'm telling you obvious things. Are you familiar with command line usage?

Martin
 
Old 09-28-2004, 04:51 AM   #7
westside
LQ Newbie
 
Registered: Nov 2001
Location: Australia
Distribution: redhat
Posts: 26

Original Poster
Rep: Reputation: 15
I am familiar with the command line somewhat.
I have created a file for the out put of dmesg it doesnt show any reference to the usb ports at all. I can email it to you if it will help.

The mouse and all the other usb devices work fine in windose but not in linux, they did work till I put in xp and now they only work in xp
 
Old 09-29-2004, 02:23 AM   #8
MartinN
Member
 
Registered: Nov 2003
Location: Ronneby, Sweden
Posts: 555

Rep: Reputation: 30
I'm sorry, I'm just as confused as you are.

I'm running out of ideas. You could try (as root) to manually add the kernel modules for USB and see what happens:
/sbin/modprobe ohci_hcd
/sbin/modprobe uhci_hcd
If you have USB2.0 you could try this one too.
/sbin/modprobe ehci_hcd

This is from the documentation of 'make menuconfig' (when you compile your own kernel)
Code:
  │ Universal Serial Bus (USB) is a specification for a serial bus                                                       │
  │ subsystem which offers higher speeds and more features than the                                                      │
  │ traditional PC serial port.  The bus supplies power to peripherals                                                   │
  │ and allows for hot swapping.  Up to 127 USB peripherals can be                                                       │
  │ connected to a single USB host in a tree structure.                                                                  │
  │                                                                                                                      │
  │ The USB host is the root of the tree, the peripherals are the                                                        │
  │ leaves and the inner nodes are special USB devices called hubs.                                                      │
  │ Most PCs now have USB host ports, used to connect peripherals                                                        │
  │ such as scanners, keyboards, mice, modems, cameras, disks,                                                           │
  │ flash memory, network links, and printers to the PC.                                                                 │
  │                                                                                                                      │
  │ Say Y here if your computer has a host-side USB port and you want                                                    │
  │ to use USB devices.  You then need to say Y to at least one of the                                                   │
  │ Host Controller Driver (HCD) options below.  Choose a USB 1.1                                                        │
  │ controller, such as "UHCI HCD support" or "OHCI HCD support",                                                        │
  │ and "EHCI HCD (USB 2.0) support" except for older systems that                                                       │
  │ do not have USB 2.0 support.  It doesn't normally hurt to select                                                     │
  │ them all if you are not certain.                                                                                     │
  │
See if there is anything interesting added to the dmesg output after each module load.

Martin
 
Old 10-02-2004, 06:12 AM   #9
westside
LQ Newbie
 
Registered: Nov 2001
Location: Australia
Distribution: redhat
Posts: 26

Original Poster
Rep: Reputation: 15
Ok did that and it brought the usb up and working.
I am going to format and reinstall the fedora as I am having some probs with it hanging and the usb probs, will see if that fixes it.

thanks heaps for your help
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Intel sound not working, usb modem not working. siriusb Linux - Hardware 8 03-04-2006 11:16 PM
usb 2.0 hdd working through usb 2.0 pcmcia card full speed in 2.4, but slow in 2.6 chilly_willy2 Linux - Hardware 11 02-02-2006 07:16 PM
pilot-link not working with USB Serial-USB Converter with m105 calmofthestorm Linux - Laptop and Netbook 0 09-03-2005 03:03 PM
Usb pen not working in additional usb port ago.homer Linux - Hardware 3 07-26-2005 10:51 AM
ps/2-mouse via usb-adaptor not working - usb error=-110 mule Fedora 0 01-30-2004 07:23 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 04:50 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration