Debian Hardware :: External USB Hub Not Detected After Resumption From S3 Sleep
Aug 4, 2015
I am reporting two problems that could be related to each other. They have something to do with USB devices upon passing through the ACPI S3 sleep-resume cycle. The hardware is Thinkpad T450s, with Debian 8 64-bit edition. Kernel is provided by either the stock linux-image-3.16.0-4-amd64 or Liquorix's linux-image-4.1-3.dmz.1-liquorix-amd64 . For this case, it does not matter; the problem exists in both versions.
I have an external USB hub which has a USB keyboard receiver (for Microsoft wireless keyboard/mouse combo) attached to the hub. I then usually attach this hub to the laptop.
FIRST: The main problem is that the USB hub was not going to be re-detected upon resumption from sleep. Here is the sequence of events, in brief:
* Laptop was resumed from S3 sleep
* USB hub was attached to the laptop (has external keyboard receiver attached to the hub)--both were detected & working properly
* Laptop was put to S3 sleep
* Laptop was resumed from S3 sleep, both hub and external keyboard were not detected, the syslog says "USB disconnect" to that particular device.
Note that during all the actions above, the laptop is running by external AC power.
SECOND: I also found that the USB hub, if inserted while the laptop was asleep (before resumed), it would not get detected. `lsusb` turns nothing for that device, as if nothing was inserted in the laptop's USB port.
THIRD: I did an experiment this way: instead of putting keyboard receiver on the hub, I attached it to the laptop directly. Hub is still attached elsewhere on the laptop as well. In this way, the keyboard receiver is not malfunctioning after resume. But I found out that the keyboard receiver is behaving funny after resumption. It went to a kind of "very low power" state a lot when idling (not receiving keystroke/mouse movement) for more than about 3 seconds. This causes the external keyboard response to be sluggish, since the receiver has to be turned on back to "active" state before able to responsively receive keystrokes properly again. And this causes a lot of lost keystrokes.
In the second case, the sequence of events are like this:
* Laptop was resumed from S3 sleep
* USB hub was attached to the laptop; it is working
* External keyboard receiver was attached to the laptop; it is working
* Laptop was put to S3 sleep
* Laptop was resumed from S3 sleep, the hub was not detected anymore; the syslog says "USB disconnect" to that particular device. The external keyboard was re-detected, but now is running in a funny power state described above.
These issues did not exist when I use a different laptop running Debian 7/oldstable (wheezy).
Here's the lsusb output before sleep (after the USB hub was attached the laptop):
Code: Select all ~ $ lsusb
Bus 003 Device 002: ID 8087:8001 Intel Corp.
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 004: ID 5986:0366 Acer, Inc
Bus 001 Device 003: ID 8087:0a2a Intel Corp.
Bus 001 Device 008: ID 045e:071d Microsoft Corp.
Bus 001 Device 007: ID 1a40:0101 Terminus Technology Inc. 4-Port HUB
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Now to back to sleep, then resume. This is what comes up:
Code: Select all $ lsusb
Bus 003 Device 002: ID 8087:8001 Intel Corp.
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 004: ID 5986:0366 Acer, Inc
Bus 001 Device 003: ID 8087:0a2a Intel Corp.
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Devices (045e:071d and 1a40:0101) were not detected again!
I included below excerpts of syslog to show the effect of sleep/resume to the USB devices. I munged it from the full syslog using this command:
Code: Select all grep -i -e usb -e "systemd.*(suspend|sleep|resum)" -e "pm:" syslog| killutf8 > syslog.usb-only
Syslog events (for FIRST case above):
Code: Select all # [SLEEP1]
Aug 4 11:57:28 wirawan2 kernel: PM: Syncing filesystems ... done.
Aug 4 11:57:28 wirawan2 kernel: PM: suspend of devices complete after 701.491 msecs
Aug 4 11:57:28 wirawan2 kernel: PM: late suspend of devices complete after 11.036 msecs
Aug 4 11:57:28 wirawan2 kernel: PM: noirq suspend of devices complete after 14.231 msecs
Aug 4 11:57:28 wirawan2 kernel: PM: Saving platform NVS memory
# [RESUME1]
[Code] ....
I found several postings on the web similar to this, e.g. [URL] .... and see the references therein. But I don't think the problem is the same as mine. In particular, only external USB hub gives me problem like this (as well as the keyboard receiver, to a lesser extent)..
View 0 Replies
ADVERTISEMENT
Oct 20, 2015
My system can't seem to detect the external monitor that I've plugged into my laptop using and HDMI cable. The monitor works when I'm booted into Windows so I know that it isn't a problem with the monitor or the cable.
When I run xrandr I get.
Code: Select allScreen 0: minimum 320 x 200, current 1600 x 900, maximum 8192 x 8192
LVDS1 connected primary 1600x900+0+0 (normal left inverted right x axis y axis) 310mm x 174mm
1600x900 60.00*+ 39.99
1440x900 59.89
1360x768 59.80 59.96
1152x864 60.00
1024x768 60.00
800x600 60.32 56.25
640x480 59.94
VGA1 disconnected (normal left inverted right x axis y axis)
HDMI1 disconnected (normal left inverted right x axis y axis)
DP1 disconnected (normal left inverted right x axis y axis)
View 4 Replies
View Related
Dec 24, 2010
I have a WD MyPassport 320GB external hdd and Ubuntu 10.10. The problem is that I can't access my drive after waking from sleep. I can't even unmount it; gives me an error like: "umount: /media/0A26FE8626FE71D5 mount disagrees with the fstab".
View 2 Replies
View Related
Jan 2, 2010
I have formatted (primary/ntfs) an old HD 80G and connected it by a USB cable to my laptop w/c is multi booted. I want to use it for back-up.
The external HD is detected and mounted automatically in Debian Lenny, Mint 7, openSUSE, Mandriva and even xp. However, no detection was found in Fedora 10.
In connection with this. May I please ask for help on how to check and understand why my Fedora partition failed to detect and mount the external HD?
View 2 Replies
View Related
Jan 22, 2011
I got some troubles with my external VGA output of a Notebook. I tried various things (see below) but now I ran out of ideas. I studied the sticky post in this forum about configuring graphics cards but unfortunately this gave me no new hints. My System:
Fujitsu Siemens Lifebook E Series
OpenSuse 11.3 (i586, 32Bit)
Graphics: Intel 965GM
I found lots of questions and solutions concerning the 965GM but they all are just about configuring the VGA monitor/screen in Xorg.conf.d / xrandr. I'd LOVE to do so but in my case the VGA outout isn't even detected for some reason (please see details below) Summary of my findings up to now:
[code]......
View 8 Replies
View Related
Sep 23, 2010
i have centos Linux server running with kernel version 2.6.18-164.el5 and release is CentOS release 5.4 (Final). The problem is when i connect external harddrive which is seaget free agent to this box, it doesnot detect . fdisk -l doesnot show any such partition.
View 3 Replies
View Related
Jan 4, 2010
My Toshiba 500Gb USB hard drive is not being detected anymore when i insert it in 9.10. It only started doing this from last week, it was fine before (and it works fine in Windows XP). The connections are fine and all, because when i type "lsusb", i see it as follows:
Bus 001 Device 003: ID 19d2:0063 ONDA Communication S.p.A.
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 004: ID 0930:0b09 Toshiba Corp.
[code]...
View 9 Replies
View Related
Jan 5, 2011
I have 1tb Seagate Freeagent NTFS External HD. I have Windows Vista Ultimate SP1 with dual boot as Ubuntu. I'm primarily a windows user, since i'm not that well acquainted with linux. External Hard Drive does not detect- when i connect it..it just gives a whirring sound and the "My Computer" window hangs. Figured out the cause- and temporary solution- The drive should do principle mount automatically. It won't if the file system is not "clean". That is possible if the drive was connected while you hibernated Windows, or if you did not properly disconnect the drive.
I booted with ubuntu and did the following-
sudo fdisk -l
and got the following:
Disk /dev/sdb: 1000.2 GB, 1000204884992 bytes
255 heads, 63 sectors/track, 121601 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x396e2b4d
Device Boot Start End Blocks Id System
/dev/sdb1 1 121601 976760001 7 HPFS/NTFS
Then I typed:
sudo mkdir /media/FreeAgent
sudo chmod 777 /media/FreeAgent
And wrapped it up with editing fstab with the following code:
#FreeAgent USB Drive
/dev/sdf1 /media/FreeAgent ntfs defaults 0 0
Now the browser window for the freeagent hard drive pops up and I can access everything. I try to shutdown the computer but it won't as long as the hard disk is connected. So I have to pull the usb out. And the problem remains the same. I want the hard disk to be detected normally on my windows/linux (like normal usbs work-plug it in and it works). Also have no clue how to work a temporary solution like this with windows yet. I have boot with ubuntu everytime and repeat these steps when I want to access it.
View 3 Replies
View Related
Feb 21, 2011
Been using Ubuntu to extend the life of my hard drive. I'm not very familiar with the inner workings of Linux, but I know computers well.
My System:
- Ubuntu 10.04, gnome environment. Dual boot XP.
Problem:
- my external drive, WD essentials 2.2 TB, stopped working recently, about 6 months after installation of dual boot.
Facts:
- still detected, though SMART does not detect it.
- XP still detects it - cant access files though. *
- Ubuntu now detects a floppy drive, which I do not have.
- power still working.
- have tried a few different USB cables.
- happened around the time of several software updates. Maybe paranoia.
- had trouble with music playback.
Hypothesis:
- Drive is dying, cuz XP wont allow me in. *
- Something happened and it rolled back the drivers on the External HD.
- Somehow losing Voltage, though I dont know how. **
Have attempted:
- Disabling Floppy from bios.
- In Windows: disabling XP service pack 3, disabling Firewire 1394.
- Different USB cables. **
- Disconnecting all USB devices, except External HD. **
View 7 Replies
View Related
Apr 22, 2011
When I boot, the device I'm looking for shows up but it isn't detected inthe file system. I have two drives, a 500g and a 1Tb in a dual usb case.When I do sudo fdisk -l, I get:
Disk /dev/sda: 200.0 GB, 200049647616 bytes
255 heads, 63 sectors/track, 24321 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
[code]...
View 3 Replies
View Related
Aug 17, 2010
I just had a fresh install of Fedora 13 x86_64 on my notebook after using fedora 13 x32 for a while.I am using KDE Desktop.Everything seemed to be working fine out of the box except for minor problems with sound and plugins.The biggest issue is that Fedora does not recognize when I plug an external USB HDD (WD 320 GB for this matter).The USB light on the HDD does not go on, and nothing is auto mounted.It seems that USB does not work at all - I have tried to plug another USB device and it didn't seem to have power.
View 2 Replies
View Related
Mar 14, 2011
I have a problem with my external hard drive. I've always used to connect it to my Ubuntu Server with the following command: sudo mount -t ntfs-3g /dev/sdc1 ..and it's worked fine, but after a reboot I did a couple of times ago, the hard drive no longer appears.sudo fdisk -l doesn't show the hard drive anymore. Connecting it to a Windows computer works, I even tried the "safely remove harddrive" function, but to no avail.
View 2 Replies
View Related
Oct 5, 2010
I just got a new laptop, and installed fedora 13 on it. I have had no major problems, until i tried to hook up a external monitor. It does not show up in the gnome-display application, and the keyboard switching button combination (Fn+f#) does not work. On my past laptop, this worked fresh from the install, f8->f10->f11.
System:
Dell Latitude E6410
nVidia Corporation GT218 [NVS 3100M] (rev a2)
Code:
$ yum list installed | grep nvidia
kmod-nvidia.x86_64 1:256.53-1.fc13.4 @rpmfusion-nonfree-updates
kmod-nvidia-2.6.34.7-56.fc13.x86_64.x86_64
nvidia-settings.x86_64 1.0-6.fc13 @rpmfusion-nonfree-updates
[code]....
PS: is there a way to make it so that a box as above is contracted, requiring a click to expand?
View 3 Replies
View Related
Aug 15, 2011
Hardware: Toshiba Satellite L755Software: openSuse 11.4 with kernel 3.1.0-rc1-98-g72fa599-1-vanillaPeripherals: Logilink USB 3.0 to SATA HDD Adapter with Western Digital WD2500JSI installed the Vanilla kernel in the hope that USB 3.0 will work. But though some things really have been fixed (for instance, the notebook can resume from sleep mode), USB 3.0 still doesn't work.
Code:
lsusb
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
[code]...
View 9 Replies
View Related
May 26, 2011
I have Seagate Freeagent Go 500GB external hard drive that I use for backup. I wanted to resize the partition so I used GParted to shrink the 500GB NTFS partition to 400GB. The other 100 I wanted to encrypt and use for some other more important files. For some reason, the shrink failed and I disconnected the hard drive and reconnected it. I didn't see the icon appear on the desktop. I went into the Disk Utility to discover that GParted's shrink error deleted all of the partitions on my hard drive. So I created a new 400GB NTFS partition and put back all of my files. The other 100 is unallocated currently.
It will normally mount automatically and show up on the desktop but the hard drive won't mount without me going into the Disk Utility and mounting it through there. I can't even mount it from the Terminal with root privileges. It gives me this:
Quote:
sudo mount /media/My Data
mount: can't find /media/My Data in /etc/fstab or /etc/mtab
Now, I can unmount with root privileges and I can unmount it from the Disk Utility. I can browse and edit the files within. But I can't unmount it from within Nautilus or on the desktop (the Safely Remove Drive option is not there).
The new 400GB partition also isn't detected by GParted. It just shows the whole drive as unallocated.
View 2 Replies
View Related
Feb 26, 2016
With Debian 8 (keeped up to date), after a sleep my DE (kde) will not start again. If I look to dmesg, the only strange things i see are:
[ 1.495366] systemd[1]: Cannot add dependency job for unit display-manager.service, ignoring: Unit display-manager.service failed to load: No such file or directory.
[ 1.495375] systemd[1]: Cannot add dependency job for unit display-manager.service, ignoring: Unit display-manager.service failed to load: No such file or directory.
[ 1.495431] systemd[1]: Found ordering cycle on basic.target/start
[Code] ...
My display manager is KDM.
View 2 Replies
View Related
Aug 5, 2015
i have the following problem which i couldnt solve in the past weeks. We have two Server with an onboard "Atheros AR8161 Gigabit Ethernet (rev 10)" and a quad "Realtek RTL8111/8168B" network adapter connected via PCIe. One of the servers is running Debian Wheezy with a custom 3.2.53Kernel (compiled from linus repository) and the second one runs Debian Jessie with stock kernel. Both are running XFCE4.
Each of the computers are connected to a local network (192.168.0.1 respectively .2) and to the intranet of our institute (10.20.0.81 respectively .82). After a random time they are not accessible via the intranet (ping doesnt work, ssh gives no route to host). However, i can still ping them over the local network. Also, at the moment i try to establish a ssh connection over the local network, the computer is again acessible via the intranet.
I already tried the boot options acpi=off and pcie_aspm=off without success. Additionally we switched from the onboard Atheros NIC to the Realtek, but everything stays the same. Therefore i don't believe that it is driver related.
For me it looks like that the NIC goes to an energy saving mode which is not handled correctly by our intranet. However, how can i avoid that the NIC goes to energy saving state? Is there a way to disable the D-states?
View 3 Replies
View Related
Jan 27, 2010
I'm using a laptop as a mini server, but I haven't figured out how to sleep the display. I am not using the gnome desktop - I shut the lid but the display stays on.
ps - I should note - this is Debian 5.0.3 PPC version running on a PowerBook G4
View 3 Replies
View Related
Jun 10, 2015
I have installed Debian 8.1 with KDE desktop on Lenovo t431s with intel HD4000 graphics.
When using it with dual monitor configuration, I experience the problem when I put system to sleep (by closing the lid), then remove the external monitor cable (from miniDP port) and then try to wake system from sleep. The login screen freezes and I am unable to move the mouse or type in credentials. In case I had music player running I can hear the music after system wake , but it shutters while playing.
This does not happen on some other distributions, but the problem is that I very much like my current setup and I would like to fix this problem and keep it.
I do not know if this problem is due to KDE or KDM or it's Debian base.
View 2 Replies
View Related
Jul 25, 2011
I wonder if it's possible to configure Debian so that it keeps network connection live while in sleep mode
View 3 Replies
View Related
Mar 1, 2010
I can't get debian 5.0.4 i386 to load I can get as far as root for crash repair during boot-up but much further than that and my monitor turns off. Ubuntu 8.04.4 live cd (kernel is 2.6.24 i believe) works but says I have to enter noapic in the boot string. APIC is on and greyed out i.e. not accessible in BIOS --- might be non-compliant Only thing I can think of is to add acpi=off in GRUB entry but the change doesn't seem to work or take effect. I added it to the relevant entries in menu.lst in grub and it still didn't take effect. Grub must be getting its config info somewhere else...
View 1 Replies
View Related
Jan 17, 2015
Just recently I notice this behavior. When the machine sleeps either on timeout or after closing the lid, it doesn't come back on opening or hitting esc etc..
The machine seems to come back to life, but the screen stays black. I even tried Ctl-Alt-F1 with no response.
uname -a yields
Linux xxxxxxxxx 3.2.0-4-amd64 #1 SMP Debian 3.2.65-1+deb7u1 x86_64 GNU/Linux
and lsmod for video yieldsvideo
17683 2 i915,nouveau
View 2 Replies
View Related
Aug 17, 2011
My software and hardware information are as follows. I have Fedora 12 and KDE 4.4.5 installed on a Dell Vostro 1500 laptop. I believe it's a 64 bit processor; it's an Intel Core 2 Duo CPU. The external monitor is a Dell as well.
My problem is that my system does not seem to be detecting an external monitor that I have connected. Everything else is working just fine; however, I would like to have the option of attaching an external monitor. When I plug the external monitor into the laptop, the external monitor remains black and appears to be in power save mode. The results of xrandr -q (with or without the external monitor attached: it doesn't appear to change) are as follows.
Code:
How can I get my laptop to recognize that the external monitor is even connected? Let me know if I can be more specific or provide additional details.
View 5 Replies
View Related
Sep 15, 2015
I am using a old laptop as a server now and its running great! I would like to disable sleep/hibernation when I close the lid (i would prefer the screen still shut off if possible) ...
This has to be done via command line because I don't use a gui ...
View 3 Replies
View Related
Dec 30, 2014
After a sleep resume cycle, my background image is corrupt. It's replace by a weird image.
Before [URL] ...
After [URL] .....
I'm using Debian Jessie, Gnome 3.14.1, Nividia-drvier 340.65-2
The problem was highlight previously [URL] ....
View 0 Replies
View Related
Apr 18, 2016
Note: I use debian testing.GUI very frequently completely breaks for me, it looks like this:URL....It usually happens after a short freeze or after going back to GUI from TTY (which doesn't display because of a known Nvidia proprietary driver issue).And sometimes my laptop goes into sleep state by itself while it's being used. This is lenovo ideapad z510 laptop, with intel+nvidia GPU (nvidia Optimus). To use nvidia GPU I use bumblebee.
View 2 Replies
View Related
Feb 20, 2011
I recently came to Debian. As I have an ati card, I tried the proprietary drivers first, but then came back to radeon (open-source). In the process, I think I may have broke my xorg.conf . Sometimes, when the monitor goes into sleep mode, when I came back, the screen remains black (sometimes I see just the cursor).
Here is my xorg.conf
# NOXORGCONFEXISTED: No X.org configuration file existed when this backup was created.
Also, I have lots of backups in my X11 folder, like xorg.conf.fglrx-3, xorg.conf.original-1, or backup.xorg.conf. Is it safe to remove them? What should I do about the main xorg.conf?
View 7 Replies
View Related
Jan 26, 2016
I have set up a hdparm configuration file ( /etc/udev/rules.d/50-hdparm.rules ) with :
Code: Select allACTION=="add", SUBSYSTEM=="block", KERNEL=="sda", RUN+="/usr/bin/hdparm -B 255 -S 0 /dev/sda" .
This works correct when I power on my system, however after waking my computer from sleep mode , /dev/sda appears to operate with APM .
Is there a way I can make this setting to be persistent ,i.e. APM disabled when waking up from sleep mode?
I am running Debian Jessie x64.
View 3 Replies
View Related
Mar 30, 2011
I have a Powerbook G4 1.67Ghz. My problem is that if I sleep my laptop by choosing sleep from the desktop menu in kde then it sleeps and wakes fine but when it wakes the pointer is locked to the x axis and tends to snap back to the same point when I'm not actively manipulating it. This is also the case if my laptop sleeps after 10mins inactivity. If I sleep the laptop by closing the lid this problem does not occur. When it wakes all is working well.
View 5 Replies
View Related
Aug 2, 2010
Installed Squeeze into my Thinkpad T410 and noticed that when I closed the laptop lid, the moon icon does not light up.Reopening the lid and will see a screensaver password screen immediately.Does this means that the laptop does not have Sleep (or is it called hibernate) mode enable? How can I enable it?[Solved]Managed to found out what I've done wrongFor KDE users, go to the menu-> Power Management-> Chose the Profile as Powersave
View 1 Replies
View Related