LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop
User Name
Password
Linux - Desktop This forum is for the discussion of all Linux Software used in a desktop context.

Notices


Reply
  Search this Thread
Old 05-18-2012, 02:25 PM   #1
qwertyjjj
Senior Member
 
Registered: Jul 2009
Location: UK
Distribution: Cent OS5 with Plesk
Posts: 1,013

Rep: Reputation: 30
cannot type on wireless keyboard when starting up


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?
 
Old 05-18-2012, 05:22 PM   #2
kareempharmacist
Member
 
Registered: Jan 2012
Location: Cairo, Egypt
Distribution: MX Linux, Ubuntu 18.04
Posts: 336

Rep: Reputation: 42
what is the brand of the wireless keyboard
 
Old 05-20-2012, 04:07 AM   #3
qwertyjjj
Senior Member
 
Registered: Jul 2009
Location: UK
Distribution: Cent OS5 with Plesk
Posts: 1,013

Original Poster
Rep: Reputation: 30
Quote:
Originally Posted by kareempharmacist View Post
what is the brand of the wireless keyboard
Logitech Pro 2000
 
Old 05-20-2012, 11:09 AM   #4
jefro
Moderator
 
Registered: Mar 2008
Posts: 21,973

Rep: Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623
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.
 
Old 05-20-2012, 11:38 AM   #5
qwertyjjj
Senior Member
 
Registered: Jul 2009
Location: UK
Distribution: Cent OS5 with Plesk
Posts: 1,013

Original Poster
Rep: Reputation: 30
Quote:
Originally Posted by jefro View Post
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:~$
 
Old 05-24-2012, 07:34 PM   #6
dave_in_kanata
LQ Newbie
 
Registered: May 2012
Posts: 1

Rep: Reputation: Disabled
This sounds a lot like the "Logitech Unifying Receiver" issue I've recently encountered when upgrading from 10.04 to 12.04.

If you have an alternate keyboard, you can try the following:

sudo modprobe -r hid_logitech_dj
sudo modprobe hid_logitech_dj

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.
 
Old 05-25-2012, 07:27 PM   #7
jefro
Moderator
 
Registered: Mar 2008
Posts: 21,973

Rep: Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623
"what happens when I plug in a usb within linux"

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.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
How To Type German Using Qwerty Keyboard? lazylogic Linux - General 7 12-29-2007 06:15 PM
Keyboard does not type properly Demicat Linux - Laptop and Netbook 1 03-25-2007 08:57 AM
keyboard type not in yast? rafc SUSE / openSUSE 1 01-18-2006 02:42 PM
How to type ¿ and ! in my keyboard? fedetxf Linux - General 3 12-22-2003 12:25 PM
Keyboard Type Speed? Munch371 Linux - General 5 04-22-2003 09:21 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop

All times are GMT -5. The time now is 08:42 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration