Linux - DesktopThis forum is for the discussion of all Linux Software used in a desktop context.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I have a wireless usb keyboard that works well. However, everytim I turn the computer off and turn iton the next day, it is not picked up. I have to unplug the usb receiver and plug it back in and then it is recognised.
This seems to happen with the mouse as well.
Here's the strange thing. I plugged in a Live CD as I was trying something else and it picked up the keyboard and mouse immediately upon startup.
So, what could be the cause?
Should I upgrade from 11.10 to 12.04? Last time I upgraded, it caused a mess and I don#t really want to upgrade again until the next release is stable.
Isn#t there a way to write a script that just restarts the usb interfaces?
My guess is there might be a bios power state that is keeping power to the usb receiver. For some reason the device is not being reset. As you say a full power off to a new distro clears it or an unplug clears it. I'd look at the power states in bios. May not be able to change either.
I guess the OS could have some odd saved deal that on reboot keeps some old info. Might need to add in a script to pull hot plug.
Might plug in a wired keyboard and then try lsusb for info on when works and not.
My guess is there might be a bios power state that is keeping power to the usb receiver. For some reason the device is not being reset. As you say a full power off to a new distro clears it or an unplug clears it. I'd look at the power states in bios. May not be able to change either.
I guess the OS could have some odd saved deal that on reboot keeps some old info. Might need to add in a script to pull hot plug.
Might plug in a wired keyboard and then try lsusb for info on when works and not.
it works when I plug it in, so what happens when I plug in a usb within linux? Can't I just run that as an autoexec script at startup?
Code:
j-media-centre@jmediacentre-A880G:~$ lsusb
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 007 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 002: ID 0755:2626 Aureal Semiconductor
Bus 003 Device 004: ID 046d:c529 Logitech, Inc. diNovo Keyboard for notebooks
Bus 005 Device 002: ID 046d:c52b Logitech, Inc. Unifying Receiver
j-media-centre@jmediacentre-A880G:~$
My mouse is a Logitech M515 which also uses the Unifying Receiver. Maybe 60% of the time on startup it won't work. Unplugging and replugging in the receiver fixes the problem. Typing the above commands also seems to fix the probem, at least 95% of the time.
I don't think it BIOS related. My computer is triple boot, Windows7/10.04 with kernel 3.0.0-19/12.04 with kernel 3.2.0-24. The problem only manifests itself in 12.04.
It may be a race condition/timing related. Some people are having issues, others are not. Booting off the live cd is probably inherently slower and so it works.
That is a bit of a long question. Most basic simple answer is that usb is a connection point, if the point has saved info then it is thrown away. The new point is questioned as to what it is and a driver if attempted. Then software is allowed to use it. USB is a plug and play or hotplug device that can be done and undone.
My thinking is that your system is not fully taking power off the usb on power down and that is why the reboot is not throwing away the info as it still hold a device pointer.
If you want to test then then do this. Power off, unplug ac from pc, press power button a few times or let site for 2 hours. Then boot. If it does work correctly then it is a power issue.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.