You are not logged in.

#1 2012-04-14 18:29:40

valemon
Member
Registered: 2009-08-29
Posts: 24

usb ports not working

Hello

I am having this issue, possibly occured after an update. Usb ports dont seem to be working. For example if I plug in a usb flash disk while arch is up and running its not working. If I reboot the laptop and the flash is already in the port it is working flawlessly. Could anyone help me with this?

Offline

#2 2012-04-14 19:09:01

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 19,739

Re: usb ports not working

Insert your device, then post the output of dmesg | tail -20


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

#3 2012-04-14 22:32:25

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 29,442
Website

Re: usb ports not working

It would also help to know how you had flashdrives 'working' before the update.  I assume you had automounting set up, but there are several ways to automount removable media.  Or by not working, do you mean you could not even mount them with a `mount` command?

Last edited by Trilby (2012-04-14 22:32:54)


"UNIX is simple and coherent..." - Dennis Ritchie, "GNU's Not UNIX" -  Richard Stallman

Offline

#4 2012-04-15 10:16:06

valemon
Member
Registered: 2009-08-29
Posts: 24

Re: usb ports not working

Thank you for the responds.
http://pastebin.com/jYKTqdtV

Here you can find the output of dmesg. Neither fdisk or lsusb output something relevant with the usb flash disk.
It seems just not to exist!

Offline

#5 2012-04-15 15:41:46

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 19,739

Re: usb ports not working

Ouch.

Lets go up a level.  Can you post the output of lspci -nn and of lsusb when you have a USB device plugged in?


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

#6 2012-04-15 20:12:54

valemon
Member
Registered: 2009-08-29
Posts: 24

Re: usb ports not working

Hello and thanks for your help so far

http://pastebin.com/Qv290yUz Here is the output of lspci lsusb and the boot log while having the usb plugged in during boot and working.
http://pastebin.com/4RKa8PFd Here is the boot log without the usb plugged in during boot

Hope I won't have to reinstall..

Offline

#7 2012-04-18 13:58:40

bluefalcon
Member
Registered: 2011-05-10
Posts: 12

Re: usb ports not working

I am having this problem as well.  It appears USB hot plugging is broken.

Last edited by bluefalcon (2012-04-18 14:03:42)

Offline

#8 2012-04-18 15:52:44

bluefalcon
Member
Registered: 2011-05-10
Posts: 12

Re: usb ports not working

If I run

lsusb -v

This forces the device to be recognized.  The question is what is it doing that makes that happen.

Offline

#9 2012-04-18 15:58:44

bluefalcon
Member
Registered: 2011-05-10
Posts: 12

Re: usb ports not working

running:

sudo rmmod ehci_hcd && sudo modprobe ehci_hcd

forces the detection of usb devices.  For me.

Offline

#10 2012-04-18 16:05:07

bluefalcon
Member
Registered: 2011-05-10
Posts: 12

Re: usb ports not working

If anyone has any ideas as to why this may not be working properly I am all ears.  I am not seeing any error messages from this module so I am pretty confused why it only works after it has been removed and reloaded.

Offline

#11 2012-04-18 18:15:54

bluefalcon
Member
Registered: 2011-05-10
Posts: 12

Re: usb ports not working

I have posted a bug on this: https://bugs.archlinux.org/task/29526 please go add any comments that you may have and vote for it.

Offline

#12 2012-04-18 21:44:23

valemon
Member
Registered: 2009-08-29
Posts: 24

Re: usb ports not working

OK, lsusb -v or reloading the module fixes the problem for me. I am on a hp probook 4320s.

Last edited by valemon (2012-04-18 21:44:35)

Offline

#13 2012-04-19 08:31:51

R00KIE
Forum Fellow
From: Between a computer and a chair
Registered: 2008-09-14
Posts: 4,734

Re: usb ports not working

Do you happen to have anything that might tell the usb ports to autosuspend or go into low power?


R00KIE
Tm90aGluZyB0byBzZWUgaGVyZSwgbW92ZSBhbG9uZy4K

Offline

#14 2012-04-21 03:54:26

mjv196
Member
Registered: 2011-11-22
Posts: 11

Re: usb ports not working

I'm having the same problem on a Macbook Pro A1261. Running lsusb-v or reloading ehci_hcd seems to fix the problem.

However, it only affects usb devices plugged in after the system boots, devices plugged in beforehand work, including the keyboard/trackpad, isight camera and bluetooth, which are all on the internal USB system.

Offline

#15 2012-04-21 07:36:53

ninian
Member
From: United Kingdom
Registered: 2008-02-24
Posts: 726
Website

Re: usb ports not working

Could it possibly be related to a problem I had a while back with laptop-mode-tools? See: https://bbs.archlinux.org/viewtopic.php?id=113611

Offline

#16 2012-04-24 19:37:26

bluefalcon
Member
Registered: 2011-05-10
Posts: 12

Re: usb ports not working

It most likely has nothing to do with laptop mode tools.  I personally have usb auto-suspend disabled.  Also, I believe it is disabled by default.

Last edited by bluefalcon (2012-04-24 19:37:39)

Offline

#17 2012-04-28 07:55:51

konstantin.p
Member
Registered: 2012-01-04
Posts: 9

Re: usb ports not working

The same problem just appeared for me (HP probook 5465b).
At first I wrote that it happened after last update (not kernel), but then remember that it began before this

Last edited by konstantin.p (2012-04-28 08:54:50)

Offline

#18 2012-05-12 13:20:29

valemon
Member
Registered: 2009-08-29
Posts: 24

Re: usb ports not working

We got any updates on this? It is really disturbing + I need to run lsusb -v every 5 minutes for my wireless mouse to work tongue

Offline

#19 2012-06-18 19:55:54

icius
Member
Registered: 2012-06-18
Posts: 1

Re: usb ports not working

I too am having this issue:

Laptop:  Lenovo Thinkpad T400
USB device: Canon PC1234 Camera

dmesg output:

  [   11.758180] e1000e 0000:00:19.0: irq 47 for MSI/MSI-X
  [   11.860122] e1000e 0000:00:19.0: irq 47 for MSI/MSI-X
  [   11.860653] ADDRCONF(NETDEV_UP): eth0: link is not ready
  [   11.862728] iwlwifi 0000:03:00.0: L1 Disabled; Enabling L0S
  [    11.863110] iwlwifi 0000:03:00.0: Radio type=0x1-0x2-0x0
  [   11.976906] iwlwifi 0000:03:00.0: L1 Disabled; Enabling L0S
  [   11.977287] iwlwifi 0000:03:00.0: Radio type=0x1-0x2-0x0
  [   12.020459] ADDRCONF(NETDEV_UP): wlan0: link is not ready
  [   12.360833] psmouse serio2: trackpoint: IBM TrackPoint firmware: 0x0e, buttons: 3/3
  [   12.599986] input: TPPS/2 IBM TrackPoint as /devices/platform/i8042/serio1/serio2/input/input16
  [   19.567545] wlan0: authenticate with 00:23:97:0a:d3:a6
  [   19.570278] wlan0: send auth to 00:23:97:0a:d3:a6 (try 1/3)
  [   19.572722] wlan0: authenticated
  [   19.576720] wlan0: associate with 00:23:97:0a:d3:a6 (try 1/3)
  [   19.579004] wlan0: RX AssocResp from 00:23:97:0a:d3:a6 (capab=0x11 status=0 aid=2)
  [   19.579013] wlan0: associated
  [   19.583020] ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
  [   29.630052] wlan0: no IPv6 routers present
  [  227.197924] usb 8-1: USB disconnect, device number 2
  [  495.546725] usb 8-1: new high-speed USB device number 4 using ehci_hcd

No matter what I do (i.e. reboot with device plugged in,   run lsusb -v,  reload ehci_hcd)  it does not get assigned a device and cannot be mounted.

Last edited by icius (2012-06-18 19:59:01)

Offline

#20 2013-05-03 23:48:11

adc123
Member
Registered: 2013-04-23
Posts: 4

Re: usb ports not working

I have removed laptop-mode-tools and problem solved thanks ninian.

Offline

Board footer

Powered by FluxBB