You are not logged in.

#1 2012-09-02 07:23:11

srlang
Member
Registered: 2012-06-12
Posts: 8

USB ports not recognized at all

Hello,

I just recently discovered that my new Thinkpad T420 does not recognize any usb input when running Arch. Through the BIOS, I am able to boot from a live USB environment, so it must be something with my Arch setup.

This entails no USB keyboard or mouse input as well as not being able to even see a pen drive to later mount.

I am not running HAL, only udev and laptop-mode. Both usb and usbinput are included in the HOOKS line from mkinitcpio.conf. Finally, there is absolutely no recognition of a USB device even if connected from boot.

I will be happy to supply any additional informatoin, but--as a forewarning--searching for 'USB' and 'usb' in everything.log yielded no results.

Any help you can offer to just be able to use a mouse and transfer files using a flash drive is greatly appreciated.

[edit]
I found the reason by just talking to a friend of mine. I had blacklisted the ehci_hcd module to prevent an issue where the laptop would reboot instead of shutting down when on battery power. I'll need to fix that issue (the workaround I've seen doesn't seem to help), but just using modprobe allows me to use everything swimmingly. For future reference to anybody who might find this later:

 # modprobe ehci_hcd 

Last edited by srlang (2012-11-09 00:11:04)

Offline

#2 2012-09-02 09:06:04

DSpider
Member
From: Romania
Registered: 2009-08-23
Posts: 2,273

Re: USB ports not recognized at all

Did you remember to re-generate the initramfs image after editing mkinitcpio.conf?

Did you remember to reboot after a kernel (the linux package) update?


To rule out a possible hardware issue, from another "live" Linux distribution, run this command:

$ lsusb

If USB devices do not show up, USB support may be disabled from the BIOS (so you should probably restore defaults), or there's something physically wrong with the USB port (oil, lint, sand, worn out contacts, etc).


"How to Succeed with Linux"

I have made a personal commitment not to reply in topics that start with a lowercase letter. Proper grammar and punctuation is a sign of respect, and if you do not show any, you will NOT receive any help (at least not from me).

Offline

#3 2012-09-02 16:57:24

srlang
Member
Registered: 2012-06-12
Posts: 8

Re: USB ports not recognized at all

If by re-generating the initramfs image, you mean running

# mkinitcpio -g /boot/initramfs-linux.img -k /boot/vmlinuz-linux

as per the mkinitcpio man page, then yes: I did that.

Also, I ran

$ lsusb

in a live Arch environment with AIF from sometime in April or May and saw that it recognized the USB ports.

But, when running in my current environment, I receive the following error:

unable to initialize libusb: -99

Offline

#4 2012-09-02 17:45:52

PaulBx1
Member
Registered: 2008-10-18
Posts: 142

Re: USB ports not recognized at all

Here is what I find on my system having to do with libusb. You might compare with the same command on your system:

[root@myhost ~]# find / -name libusb*
/var/cache/pacman/pkg/libusb-compat-0.1.4-1-x86_64.pkg.tar.xz
/var/cache/pacman/pkg/libusb-1.0.8-2-x86_64.pkg.tar.xz
/var/cache/pacman/pkg/libusb-compat-0.1.3-2-x86_64.pkg.tar.xz
/var/cache/pacman/pkg/libusbx-1.0.12-2-x86_64.pkg.tar.xz
/var/cache/pacman/pkg/libusbx-1.0.11-2-x86_64.pkg.tar.xz
/var/cache/pacman/pkg/libusb-compat-0.1.4-2-x86_64.pkg.tar.xz
/var/cache/pacman/pkg/libusb-1.0.9-1-x86_64.pkg.tar.xz
/var/lib/pacman/local/libusbx-1.0.12-2
/var/lib/pacman/local/libusb-compat-0.1.4-2
/usr/bin/libusb-config
/usr/lib/libusbmuxd.so.2
/usr/lib/libusb-1.0.so.0.1.0
/usr/lib/libusbmuxd.so.1.0.8
/usr/lib/libusbmuxd.so
/usr/lib/libusb-0.1.so.4
/usr/lib/libusb.so
/usr/lib/libusb-1.0.so.0
/usr/lib/libusb-0.1.so.4.4.4
/usr/lib/pkgconfig/libusb-1.0.pc
/usr/lib/pkgconfig/libusb.pc
/usr/lib/pkgconfig/libusbmuxd.pc
/usr/lib/libusb-1.0.so
/usr/include/libusb-1.0
/usr/include/libusb-1.0/libusb.h
[root@myhost ~]# 

Offline

#5 2012-09-02 18:24:42

srlang
Member
Registered: 2012-06-12
Posts: 8

Re: USB ports not recognized at all

The equivalent command on my system yields:

/usr/lib/libusb-1.0.so
/usr/lib/libusb.so
/usr/lib/libusb-0.1.so.4
/usr/lib/libusb-1.0.so.0.1.0
/usr/lib/libusb-1.0.so.0
/usr/lib/pkgconfig/libusb.pc
/usr/lib/pkgconfig/libusb-1.0.pc
/usr/lib/libusb-0.1.so.4.4.4
/usr/include/libusb-1.0
/usr/include/libusb-1.0/libusb.h
/usr/bin/libusb-config
/home/sean/libusb_search
/var/cache/pacman/pkg/libusbx-1.0.12-2-x86_64.pkg.tar.xz
/var/cache/pacman/pkg/libusb-compat-0.1.4-2-x86_64.pkg.tar.xz
/var/lib/pacman/local/libusb-compat-0.1.4-2
/var/lib/pacman/local/libusbx-1.0.12-2

I do not know what any of this means, really. The one thing I've noticed is a lack of libusbmuxd.pc

Offline

#6 2012-09-03 02:13:38

firecat53
Member
From: Lake Stevens, WA, USA
Registered: 2007-05-14
Posts: 1,542
Website

Re: USB ports not recognized at all

This may not be applicable to you but when I had this problem it was due to powersaving being enabled by laptop mode utils on the xhci module. Disabling run time powersaving fixed the issue. Try disabling laptop mode...if that helps then you know where to start looking!

Scott

Offline

#7 2012-09-03 15:58:50

srlang
Member
Registered: 2012-06-12
Posts: 8

Re: USB ports not recognized at all

No, unfortunately, that did not seem to be the problem. However, when I ran

# rc.d list

I found out that dbus was stopped. That said, it shows up three separate times when searching using pgrep. Is this possibly a udev/dbus issue and how would I find out or rule this out?

Offline

Board footer

Powered by FluxBB