You are not logged in.

#1 2010-08-09 20:59:39

AquaBoogie
Member
Registered: 2010-08-09
Posts: 20

[SOLVED] USB Ports Don't Work

This is my first post on this forum, so bear with me, in case I'm missing something very obvious. I've been using Ubuntu for about two years, lately I've been distro hopping. After two years, I realized that I hadn't gotten any better at using Linux. I want to learn more about the inner workings of Linux in order to use it more effectively, and I think I picked the perfect distro. It definitely has quite a learning curve, but I already feel like I've learned alot just by installing it. BTW- I'm running 64 bit Arch on a Dell Inspiron 1546.

At first I couldn't figure out how to make my external mouse work. The touchpad works fine, and all the drivers I needed were downloaded. Tried several different mice, and still no luck. The I noticed that I could not mount my external drive. It recieves power, but never is recognized by the software. I know these usb ports work - they did in Ubuntu, and I installed Arch via Live USB. I tried lsusb and lspci | grep usb, and both have no output. I see no usb ports in /dev, it's like the system doesn't even know they exist. However, the USB Controllers do show up in lshw, which gives me the message "this device has not been claimed."

I've spent a good day googling the issue and searching the forums with no luck. What should I do?

So far I am impressed with Arch Linux and the level of customization it allows. The documentation is by far the best I've seen, I would have never figured this out if it weren't for the Beginner's Guide. I'm also very impressed that I made it this far and have a semi-working system (still have alot of loose ends to tie together). I'm sure I would be much happier if I was able to use my usb ports.

Thanks a bunch

Last edited by AquaBoogie (2010-08-11 02:19:01)

Offline

#2 2010-08-09 21:05:14

kcirick
Member
Registered: 2010-06-21
Posts: 364

Re: [SOLVED] USB Ports Don't Work

Welcome to Arch. I think you'll definitely learn lots. I assume you know about Arch wiki. There is a very good Beginner's guide to using Arch Linux

The mouse problem could be fixed by installing additional packages. See the wiki.

The external hard drive issue could be that hal/gamin is not installed/configures. Again, see the wiki.

Note to mod: Maybe this should go to Newbie's Corner? It has little/nothing to do with kernel or hardware

Last edited by kcirick (2010-08-09 21:47:01)

Offline

#3 2010-08-09 21:51:01

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: [SOLVED] USB Ports Don't Work

I'm not sure but it may be related http://bugs.archlinux.org/task/20421

AquaBoogie, it's best to post some logs, exact error messages if some appear etc.
On my system, 'lspci | grep usb' shows nothing, BUT

[karol@black ~]$ lspci | grep -i usb
00:1d.0 USB Controller: Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) USB UHCI Controller #1 (rev 01)
00:1d.1 USB Controller: Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) USB UHCI Controller #2 (rev 01)
00:1d.2 USB Controller: Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) USB UHCI Controller #3 (rev 01)
00:1d.7 USB Controller: Intel Corporation 82801DB/DBM (ICH4/ICH4-M) USB2 EHCI Controller (rev 01)

The '-i' flag ignores case, it's extremely useful, since it will match usb, Usb, USB etc.

Note to mod: If it's not related to the bug report, please do move it.

Last edited by karol (2010-08-09 21:52:17)

Offline

#4 2010-08-09 21:52:44

AquaBoogie
Member
Registered: 2010-08-09
Posts: 20

Re: [SOLVED] USB Ports Don't Work

I have been using the wiki as well. I definitely installed hal and gamin, it was part of the install. Everything looks like it's configured correctly, as far as I know. I beleive the problem with the mouse is not the lack of additional packages, but the fact that the usb ports are not recognized/functioning. I have all the touchpad/mouse packages installed.

Sorry if this is in the wrong section. It seemed appropriate to me.

EDIT: I tried lspci | grep -i usb and it shows my usb controllers. I still have no clue what's wrong here, or what to do next.

Last edited by AquaBoogie (2010-08-09 22:00:16)

Offline

#5 2010-08-09 21:57:45

kcirick
Member
Registered: 2010-06-21
Posts: 364

Re: [SOLVED] USB Ports Don't Work

Can you perhaps post the output of 'dmesg'?

Offline

#6 2010-08-09 23:01:06

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 20,196

Re: [SOLVED] USB Ports Don't Work

kcirick wrote:

Can you perhaps post the output of 'dmesg'?

And use dmesg | tail before and after inserting a usb device -- verify the machine sees it and see if it provides any clues. 

Also, with a device connected, take a look at the output of lsusb  or, even better  sudo lsusb -v

lspci is probably not going to be fruitful.  It gives details of PCI bus devices, not USB devices (although you may see the usb controller itself)

You mentioned a mouse.  Have you tried anthing else? wireless network, flash disk, usb serial ports, etc?

And, your mouse.  Is it a good ole' fashioned wired USB mouse, or is it one of those new fangled bluetooth things?


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
Sometimes it is the people no one can imagine anything of who do the things no one can imagine. -- Alan Turing
---
How to Ask Questions the Smart Way

Offline

#7 2010-08-10 03:39:48

AquaBoogie
Member
Registered: 2010-08-09
Posts: 20

Re: [SOLVED] USB Ports Don't Work

I've tried using: flash drive, external hard drive, old fashioned wired mouse, and a wireless mouse. The computer sees none of these.

Before any devices are plugged in:

$ dmesg | tail
ohci_hcd 0000:00:13.1: init 0000:00:13.1 fail, -16
ohci_hcd: probe of 0000:00:13.1 failed with error -16
EXT4-fs (sda4): mounted filesystem with ordered data mode
Adding 265068k swap on /dev/sda2.  Priority:-1 extents:1 across:265068k 
r8169 0000:09:00.0: eth0: link up
r8169 0000:09:00.0: eth0: link up
fuse init (API version 7.13)
NET: Registered protocol family 10
lo: Disabled Privacy Extensions
eth0: no IPv6 routers present

With external drive and wired mouse connected:

$ dmesg | tail
ohci_hcd 0000:00:13.1: init 0000:00:13.1 fail, -16
ohci_hcd: probe of 0000:00:13.1 failed with error -16
EXT4-fs (sda4): mounted filesystem with ordered data mode
Adding 265068k swap on /dev/sda2.  Priority:-1 extents:1 across:265068k 
r8169 0000:09:00.0: eth0: link up
r8169 0000:09:00.0: eth0: link up
fuse init (API version 7.13)
NET: Registered protocol family 10
lo: Disabled Privacy Extensions
eth0: no IPv6 routers present

sudo lsusb -v shows no output

Last edited by AquaBoogie (2010-08-10 03:41:44)

Offline

#8 2010-08-10 03:43:50

kcirick
Member
Registered: 2010-06-21
Posts: 364

Re: [SOLVED] USB Ports Don't Work

Please post the entire 'dmesg' output.

I see a failed ohci_hcd message. Something is fishy here

Offline

#9 2010-08-10 03:54:49

AquaBoogie
Member
Registered: 2010-08-09
Posts: 20

Re: [SOLVED] USB Ports Don't Work

http://pastebin.com/EXk4GXVk

Last edited by AquaBoogie (2010-08-10 03:56:33)

Offline

#10 2010-08-10 04:13:04

kcirick
Member
Registered: 2010-06-21
Posts: 364

Re: [SOLVED] USB Ports Don't Work

Breakdown of the above dmesg:

dmesg | grep error

ehci_hcd 0000:00:12.2: startup error -19
ehci_hcd 0000:00:13.2: startup error -19
ohci_hcd: probe of 0000:00:12.0 failed with error -16
amd64_edac: probe of 0000:00:18.2 failed with error -22
ohci_hcd: probe of 0000:00:12.1 failed with error -16
ohci_hcd: probe of 0000:00:13.0 failed with error -16
ohci_hcd: probe of 0000:00:13.1 failed with error -16

dmesg | grep ehci_hcd

ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
ehci_hcd 0000:00:12.2: PCI INT B -> GSI 17 (level, low) -> IRQ 17
ehci_hcd 0000:00:12.2: EHCI Host Controller
ehci_hcd 0000:00:12.2: new USB bus registered, assigned bus number 1
ehci_hcd 0000:00:12.2: applying AMD SB600/SB700 USB freeze workaround
ehci_hcd 0000:00:12.2: debug port 15 IN USE
ehci_hcd 0000:00:12.2: irq 17, io mem 0xd4004000
ehci_hcd 0000:00:12.2: startup error -19
ehci_hcd 0000:00:12.2: USB bus 1 deregistered
ehci_hcd 0000:00:12.2: PCI INT B disabled
ehci_hcd 0000:00:12.2: init 0000:00:12.2 fail, -19
ehci_hcd 0000:00:13.2: PCI INT B -> GSI 20 (level, low) -> IRQ 20
ehci_hcd 0000:00:13.2: EHCI Host Controller
ehci_hcd 0000:00:13.2: new USB bus registered, assigned bus number 1
ehci_hcd 0000:00:13.2: applying AMD SB600/SB700 USB freeze workaround
ehci_hcd 0000:00:13.2: debug port 15 IN USE
ehci_hcd 0000:00:13.2: irq 20, io mem 0xd4004100
ehci_hcd 0000:00:13.2: startup error -19
ehci_hcd 0000:00:13.2: USB bus 1 deregistered
ehci_hcd 0000:00:13.2: PCI INT B disabled
ehci_hcd 0000:00:13.2: init 0000:00:13.2 fail, -19

dmesg | grep ohci_hcd

ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
ohci_hcd 0000:00:12.0: PCI INT A -> GSI 16 (level, low) -> IRQ 16
ohci_hcd 0000:00:12.0: OHCI Host Controller
ohci_hcd 0000:00:12.0: new USB bus registered, assigned bus number 1
ohci_hcd 0000:00:12.0: USB HC takeover failed!  (BIOS/SMM bug)
ohci_hcd 0000:00:12.0: can't setup
ohci_hcd 0000:00:12.0: USB bus 1 deregistered
ohci_hcd 0000:00:12.0: PCI INT A disabled
ohci_hcd 0000:00:12.0: init 0000:00:12.0 fail, -16
ohci_hcd: probe of 0000:00:12.0 failed with error -16
ohci_hcd 0000:00:12.1: PCI INT A -> GSI 16 (level, low) -> IRQ 16
ohci_hcd 0000:00:12.1: OHCI Host Controller
ohci_hcd 0000:00:12.1: new USB bus registered, assigned bus number 1
ohci_hcd 0000:00:12.1: USB HC takeover failed!  (BIOS/SMM bug)
ohci_hcd 0000:00:12.1: can't setup
ohci_hcd 0000:00:12.1: USB bus 1 deregistered
ohci_hcd 0000:00:12.1: PCI INT A disabled
ohci_hcd 0000:00:12.1: init 0000:00:12.1 fail, -16
ohci_hcd: probe of 0000:00:12.1 failed with error -16
ohci_hcd 0000:00:13.0: PCI INT A -> GSI 18 (level, low) -> IRQ 18
ohci_hcd 0000:00:13.0: OHCI Host Controller
ohci_hcd 0000:00:13.0: new USB bus registered, assigned bus number 1
ohci_hcd 0000:00:13.0: USB HC takeover failed!  (BIOS/SMM bug)
ohci_hcd 0000:00:13.0: can't setup
ohci_hcd 0000:00:13.0: USB bus 1 deregistered
ohci_hcd 0000:00:13.0: PCI INT A disabled
ohci_hcd 0000:00:13.0: init 0000:00:13.0 fail, -16
ohci_hcd: probe of 0000:00:13.0 failed with error -16
ohci_hcd 0000:00:13.1: PCI INT A -> GSI 18 (level, low) -> IRQ 18
ohci_hcd 0000:00:13.1: OHCI Host Controller
ohci_hcd 0000:00:13.1: new USB bus registered, assigned bus number 1
ohci_hcd 0000:00:13.1: USB HC takeover failed!  (BIOS/SMM bug)
ohci_hcd 0000:00:13.1: can't setup
ohci_hcd 0000:00:13.1: USB bus 1 deregistered
ohci_hcd 0000:00:13.1: PCI INT A disabled
ohci_hcd 0000:00:13.1: init 0000:00:13.1 fail, -16
ohci_hcd: probe of 0000:00:13.1 failed with error -16

So both cases there was problems on boot up and deregistered them. I would look into what error 19 and error 16 means.

Offline

#11 2010-08-10 05:09:32

AquaBoogie
Member
Registered: 2010-08-09
Posts: 20

Re: [SOLVED] USB Ports Don't Work

I have been searching, but I can't find anything that lists dmesg error codes. Any tips on where to search?

Thanks for the helps so far. I really appreciate it.

Offline

#12 2010-08-10 14:49:41

kcirick
Member
Registered: 2010-06-21
Posts: 364

Re: [SOLVED] USB Ports Don't Work

I've poked around on Google for a bit, but nothing came up.

Instead, I found that this guy has the same problem as you, also without solution.

Anyone else have ideas to what the solution can be? It could be a problem with newer kernel version.

Offline

#13 2010-08-10 15:54:06

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 20,196

Re: [SOLVED] USB Ports Don't Work

Ouch.  There are some unpleasant things in that dmesg dump on pastebin.

There is this suggestion in there:

PCI: Using host bridge windows from ACPI; if necessary, use "pci=nocrs" and report a bug

You might try adding that to the kernel command line (you can edit it in grub before it boots)

You might also try some of these command line options as well (pretty much in this order): 
nolapic
noapic
irqfixup
irqpoll

Note: Some of those can have impacts on system performance and/or impact other things that work now.  These, and other command line options that you might look at are described here:  http://oreilly.com/linux/excerpts/97805 … rence.html

YMMV.

edit: Fixed typo

Last edited by ewaller (2010-08-10 15:55:21)


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
Sometimes it is the people no one can imagine anything of who do the things no one can imagine. -- Alan Turing
---
How to Ask Questions the Smart Way

Offline

#14 2010-08-10 16:07:10

lilsirecho
Veteran
Registered: 2003-10-24
Posts: 5,000

Re: [SOLVED] USB Ports Don't Work

Perhaps the following is of interest  in this matter:
http://www.theregister.co.uk/2009/07/30 … urity_bug/


Prediction...This year will be a very odd year!
Hard work does not kill people but why risk it: Charlie Mccarthy
A man is not complete until he is married..then..he is finished.
When ALL is lost, what can be found? Even bytes get lonely for a little bit!     X-ray confirms Iam spineless!

Offline

#15 2010-08-10 16:10:48

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 20,196

Re: [SOLVED] USB Ports Don't Work

Also, which kernel are you using.  There is some chat over on Ubuntu http://ohioloco.ubuntuforums.org/showth … ?p=8961861 about problems with the 2.6.34 kernel yielding the kind of errors you have.  They claim 2.6.33 was okay. 

You could try 2.6.35.  You could also build up a 2.6.33 [You seem competent -- Kernel builds are not that scary]

By the way, it is a pleasure working with you.  You ask good questions, show signs that you researched the problem, and answer all questions asked.

edit: fixed typo in kernel version number

Last edited by ewaller (2010-08-10 16:43:19)


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
Sometimes it is the people no one can imagine anything of who do the things no one can imagine. -- Alan Turing
---
How to Ask Questions the Smart Way

Offline

#16 2010-08-10 16:25:13

kcirick
Member
Registered: 2010-06-21
Posts: 364

Re: [SOLVED] USB Ports Don't Work

ewaller wrote:

Also, which kernel are you using.  There is some chat over on Ubuntu http://ohioloco.ubuntuforums.org/showth … ?p=8961861 about problems with the 2.6.34 kernel yielding the kind of errors you have.  They claim 2.6.33 was okay. 

You could try 2.6.35.  You could also build up a 3.6.33 [You seem competent -- Kernel builds are not that scary]

By the way, it is a pleasure working with you.  You ask good questions, show signs that you researched the problem, and answer all questions asked.

I would also recommend compiling version 2.6.33 or even earlier and see if the problem still persists.

Try wiki for steps involving kernel compilation. It is really not hard.

Offline

#17 2010-08-10 19:06:37

AquaBoogie
Member
Registered: 2010-08-09
Posts: 20

Re: [SOLVED] USB Ports Don't Work

I'm running 2.6.34 right now. I'm a little confused about what to do next. 2.6.35 is in testing, correct? Is it better to roll back, or try the testing version? I don't get what you mean by building up to 3.6.33, either. Which version should I try first?

So do I have to download source from http://www.kernel.org/, or can I use pacman? I know in Ubuntu I installed the realtime kernel using apt-get.

I found a few wiki pages about compiling a kernel. Do I use PKGBUILD or ABS? A link to the right wiki page would be SO helpful.

I have to go run an errand. I hope I can sit down and tackle this problem when I get back. Wish me luck.

Offline

#18 2010-08-10 19:27:10

kcirick
Member
Registered: 2010-06-21
Posts: 364

Re: [SOLVED] USB Ports Don't Work

Wiki: http://goo.gl/klD1

1. Download source from http://www.kernel.org/ (Full source, I would try 2.6.33.7, or an older stable version 2.6.31.14)
2. Unarchive into some directory, go into that directory
3. 'make mrproper'
4. 'zcat /proc/config.gz > .config' This copies the current config into ".config".
5. 'make menuconfig' There is one entry you need to change, which is "General Set up -> Local Version -> Change "-ARCH" to something else (I have "-ARCHMOD"). You don't have to touch anything else (unless if you want to), save and exit
5. Copy PKGBUILD and kernel26.install  from the wiki, and put it in the same directory (make sure the kernel version matches i.e. replace '2.6.32.8' with '2.6.33.7')
6. 'makepkg -ci'. This builds the pacman package
7. Install using 'pacman -U'
8. Edit your bootloader config so that it includes the new kernel
9. Reboot

Good luck, and post if you are stuck/have problems!

Offline

#19 2010-08-10 20:21:48

AquaBoogie
Member
Registered: 2010-08-09
Posts: 20

Re: [SOLVED] USB Ports Don't Work

The package is compiling right now, and step 7 should be a peice of cake. However, I don't quite understand how to edit the bootloader config. I'm looking in /boot/grub/menu.lst and I'm not seeing anything with a kernel version. I see /vmlinuz26 and /kernel26, but thats not very descriptive. Am I editing the correct file?

Offline

#20 2010-08-10 21:19:14

kcirick
Member
Registered: 2010-06-21
Posts: 364

Re: [SOLVED] USB Ports Don't Work

Here is an example of my /boot/grub/menu.lst

# Config file for GRUB - The GNU GRand Unified Bootloader
# /boot/grub/menu.lst

# general configuration:
timeout   5
default   0
color light-blue/black light-cyan/blue

# boot sections follow
# each is implicitly numbered from 0 in the order of appearance below
#
# TIP: If you want a 1024x768 framebuffer, add "vga=773" to your kernel line.
#
#-*

# (0) Arch Linux Modified
title    Arch Linux 2.6.34.2 Modified
root    (hd0,0)
kernel    /vmlinuz26-ARCHMOD34 root=/dev/disk/by-uuid/fa339e13-3a86-4c65-b19a-615827aee799 ro
initrd    /kernel26-ARCHMOD34.img

# (1) Arch Linux
title    Arch Linux
root    (hd0,0)
kernel    /vmlinuz26 root=/dev/disk/by-uuid/fa339e13-3a86-4c65-b19a-615827aee799 ro  
initrd    /kernel26.img

# (2) Arch Linux
title    Arch Linux Fallback
root    (hd0,0)
kernel    /vmlinuz26 root=/dev/disk/by-uuid/fa339e13-3a86-4c65-b19a-615827aee799 ro
initrd    /kernel26-fallback.img

Basically, when you install a kernel, it installs the kernel itself /boot/vmlinuz* and ramdisk image /boot/kernel26*.img (where * can be anything). You basically want to quote the newly created file (for example my new kernel created vmlinuz26-ARCHMOD34 and kernel26-ARCHMOD34.img in /boot directory.

I hope this helps.

Last edited by kcirick (2010-08-10 21:20:52)

Offline

#21 2010-08-11 00:27:49

AquaBoogie
Member
Registered: 2010-08-09
Posts: 20

Re: [SOLVED] USB Ports Don't Work

Guess what? IT WORKS! Thanks so much for the help!

Offline

#22 2010-08-11 01:20:03

kcirick
Member
Registered: 2010-06-21
Posts: 364

Re: [SOLVED] USB Ports Don't Work

Great!

Which kernel version did you go with? I hope you're not seeing any new problems because of this change.

If you're happy with everything else, mark this thread as "SOLVED".

Offline

#23 2010-08-11 02:16:28

AquaBoogie
Member
Registered: 2010-08-09
Posts: 20

Re: [SOLVED] USB Ports Don't Work

I went with 2.6.33.7. So far everything seems to work fine. Doesn't look like it broke anything else.

Thanks again

Offline

#24 2011-08-30 18:36:01

VisionIncision
Member
Registered: 2011-08-30
Posts: 24

Re: [SOLVED] USB Ports Don't Work

kcirick wrote:

Wiki: http://goo.gl/klD1

1. Download source from http://www.kernel.org/ (Full source, I would try 2.6.33.7, or an older stable version 2.6.31.14)
2. Unarchive into some directory, go into that directory
3. 'make mrproper'
4. 'zcat /proc/config.gz > .config' This copies the current config into ".config".
5. 'make menuconfig' There is one entry you need to change, which is "General Set up -> Local Version -> Change "-ARCH" to something else (I have "-ARCHMOD"). You don't have to touch anything else (unless if you want to), save and exit
5. Copy PKGBUILD and kernel26.install  from the wiki, and put it in the same directory (make sure the kernel version matches i.e. replace '2.6.32.8' with '2.6.33.7')
6. 'makepkg -ci'. This builds the pacman package
7. Install using 'pacman -U'
8. Edit your bootloader config so that it includes the new kernel
9. Reboot

Good luck, and post if you are stuck/have problems!

Hi all, I am new to Arch, so please be patient with me. I have this EXACT problem on the EXACT computer. In the above instructions, I am getting a little confused at step 5; I cannot seem to find the PKGBUILD file and kernel26.install anywhere. Do I pull these from the ABS tree (which I am very new to)?

Thanks a lot.

Offline

#25 2011-08-30 18:54:53

bernarcher
Forum Fellow
From: Germany
Registered: 2009-02-17
Posts: 2,281

Re: [SOLVED] USB Ports Don't Work

Hi VisionIncision,
welcome to the Arch forums.

You just necrobumped an old thread which had been marked as solved. Unfortunately this is against the forum rules: https://wiki.archlinux.org/index.php/Fo … Bumping.27

Would you please open a new thread of your own and repeat your question there. You may link back to this thread from there if needed.

Closing this thread.


To know or not to know ...
... the questions remain forever.

Offline

Board footer

Powered by FluxBB