You are not logged in.
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
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
By the way,how to display the forum head portrait....
Long, Long had been my road and far, far was the journey
Offline
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
Thank you,I made it
Long, Long had been my road and far, far was the journey
Offline
@Ljie1991 - that was a very smooth and subtle thread jacking... skills...
Offline
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...
Offline
@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
He/she means that you asked a question (particularly unrelated too) in a thread that is not yours:
Offline
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.
Offline
@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'
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! ![]()
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 ![]()
Last edited by firecat53 (2012-08-14 01:38:33)
Offline
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
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
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