You are not logged in.

#1 2012-08-13 01:44:21

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

USB ports not working...but work with latest Arch [SOLVED-ish]

Hey,

I can boot into the latest Arch installation image and USB/flash drives are recognized perfectly. However, booting into my current installation, flash drives don't register in dmesg or lsusb for either the USB 2.0 or USB 3.0 ports. I compared the list of modules (lsmod) and can't find any obvious differences. What am I missing?? I've tried it both on battery and plugged in in case laptop-mode-tools was affecting something (read this in another thread). The charging feature works fine on both USB 2.0 and 3.0. Hardware here.

Thanks!
Scott

Last edited by firecat53 (2012-08-15 01:57:47)

Offline

#2 2012-08-13 03:55:54

Ljie1991
Member
From: ChungKing,China
Registered: 2012-08-12
Posts: 11

Re: USB ports not working...but work with latest Arch [SOLVED-ish]

Scott....no module?cat /proc/partitions
can find "sdb" and "sdb1",one of them is your new flash,maybe you should mount it by manual operation
no sdb1?maybe it's the kernel's problem...


Long, Long had been my road and far, far was the journey

Offline

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

Ljie1991
Member
From: ChungKing,China
Registered: 2012-08-12
Posts: 11

Re: USB ports not working...but work with latest Arch [SOLVED-ish]

By the way,how to display the forum head portrait....


Long, Long had been my road and far, far was the journey

Offline

#4 2012-08-13 05:23:30

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

Re: USB ports not working...but work with latest Arch [SOLVED-ish]

No...the kernel doesn't recognize any inserted flash drives. There are no /proc entries.

Check your profile to add an avatar picture.

Scott

Offline

#5 2012-08-13 06:03:32

Ljie1991
Member
From: ChungKing,China
Registered: 2012-08-12
Posts: 11

Re: USB ports not working...but work with latest Arch [SOLVED-ish]

Thank you,I made it


Long, Long had been my road and far, far was the journey

Offline

#6 2012-08-13 08:04:51

WonderWoofy
Member
From: Los Gatos, CA
Registered: 2012-05-19
Posts: 8,414

Re: USB ports not working...but work with latest Arch [SOLVED-ish]

@Ljie1991 - that was a very smooth and subtle thread jacking... skills...

Offline

#7 2012-08-13 08:08:13

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,426
Website

Re: USB ports not working...but work with latest Arch [SOLVED-ish]

Scott is this the install that you moved across from your old machine?

I can't think of anything that would be this specific, but it might ne worth trawling through /etc/ and seeing if there were any old rules or settings that may be impacting on the newer hardware...


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#8 2012-08-13 09:51:20

Ljie1991
Member
From: ChungKing,China
Registered: 2012-08-12
Posts: 11

Re: USB ports not working...but work with latest Arch [SOLVED-ish]

WonderWoofy wrote:

@Ljie1991 - that was a very smooth and subtle thread jacking... skills...

what's the meaning?


Long, Long had been my road and far, far was the journey

Offline

#9 2012-08-13 12:05:20

anonymous_user
Member
Registered: 2009-08-28
Posts: 3,059

Re: USB ports not working...but work with latest Arch [SOLVED-ish]

He/she means that you asked a question (particularly unrelated too) in a thread that is not yours:

https://wiki.archlinux.org/index.php/Fo … _Hijacking

Offline

#10 2012-08-13 17:39:29

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,426
Website

Re: USB ports not working...but work with latest Arch [SOLVED-ish]

Ljie1991 wrote:
WonderWoofy wrote:

@Ljie1991 - that was a very smooth and subtle thread jacking... skills...

what's the meaning?


It means please stay out of this thread unless you are helping the OP.


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#11 2012-08-14 00:49:01

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

Re: USB ports not working...but work with latest Arch [SOLVED-ish]

@jasonwryan -- yeah, it was the moved installation. And after much trawling through /etc and looking at things like udev, laptop-mode-tools, and making sure there were no stray directories in /proc, /sys and /dev, I finally gave up and reinstalled to a new partition on the hard drive. Very irritating -- reinstalling seems so 'windows-esque' smile Anyways, it works with the new installation. Still wish I knew what the glitch was, though!!

Scott

EDIT:  Well. It IS the laptop-mode-tools!! But I can't figure out which section is causing the USB ports to die. I would have thought disabling the usb-autosuspend feature would fix the problem...but it didn't. So, looks like no laptop-mode-tools for now until I figure that out! I didn't figure it out earlier, because it apparently takes a reboot to successfully bring back the usb drives. Just disabling the laptop-mode-tools wasn't enough. <sigh> At least I know the new install procedure works well! tongue

EDIT2: Damn. Spoke too soon. Laptop-mode-tools does break USB on the new install....but disabling it on the old install and rebooting didn't bring it back. There's something else going on. So I'm just gonna quit mucking with it and ditch the old installation. Well, I guess 2 1/2 years isn't bad smile

Last edited by firecat53 (2012-08-14 01:38:33)

Offline

#12 2012-08-14 02:51:39

dsr
Member
Registered: 2008-05-31
Posts: 187

Re: USB ports not working...but work with latest Arch [SOLVED-ish]

Same problem here.  After finding this thread, I just uninstalled tlp, which uses the kernel's laptop mode, rebooted, and my USB ports are now working.  So maybe it's a problem with the kernel's laptop mode, not the laptop-mode-tools package.  Do you happen to be using a ThinkPad?  Ubuntu apparently stopped enabling laptop-mode by default because of issues with ThinkPads a while back (http://samwel.tk/laptop_mode/packages/ubuntu), I'm using a ThinkPad, and my problem was with the ThinkPad-specific package tlp, so maybe there is some connection...

Last edited by dsr (2012-08-14 02:56:48)

Offline

#13 2012-08-14 04:21:42

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

Re: USB ports not working...but work with latest Arch [SOLVED-ish]

Nope -- Toshiba smile (see link in post)

Offline

#14 2012-08-15 01:56:43

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

Re: USB ports not working...but work with latest Arch [SOLVED-ish]

Well, I know what the issue is now...I think it's a kernel bug, but I'm not entirely sure. If Runtime Power Management is enabled for the xHCI USB Controller, USB drives are no longer recognized by the kernel. On my machine, if /sys/bus/pci/devices/0000:00:14.0/power/control is set to 'auto', that will kill the USB ports. Set to 'on' it works fine. So in /etc/laptop-mode-tools/conf.d/runtime-pm.conf, I have to disable all runtime power management because there isn't fine-grained control over which devices are affected.

Therefore -> problem worked around smile But not before I reinstalled. That value was probably set to 'auto' on my original install (not sure why...) which was why USB ports didn't work.

Scott

Offline

Board footer

Powered by FluxBB