LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 10-14-2018, 06:21 PM   #1
baldur_1
Member
 
Registered: Sep 2010
Posts: 236

Rep: Reputation: 28
quick hardware/software issue


okay, i am running the last version of mythbuntu on my dvr. i also have a mini-keyboard that i used in liu of a remote connection or whatever else. the issue i am having is every now and then the keyboard quits working. when i restart the pc, everything is fine so i assume that the issue is the driver is crashing or something of the like. what is the code to reload that driver so that it works again? is that like modprobe or something?
 
Old 10-14-2018, 06:51 PM   #2
jsbjsb001
Senior Member
 
Registered: Mar 2009
Location: Earth? I would say I hope so but I'm not so sure about that... I could just be a figment of your imagination too.
Distribution: Currently OpenMandriva. Previously openSUSE, PCLinuxOS, CentOS, among others over the years.
Posts: 3,436

Rep: Reputation: Disabled
Quote:
Originally Posted by baldur_1 View Post
okay, i am running the last version of mythbuntu on my dvr. i also have a mini-keyboard that i used in liu of a remote connection or whatever else. the issue i am having is every now and then the keyboard quits working. when i restart the pc, everything is fine so i assume that the issue is the driver is crashing or something of the like. what is the code to reload that driver so that it works again? is that like modprobe or something?
Yes, modprobe loads and unloads drivers into/from the kernel. It could well be that you have a bad driver for it.

Have you looked at the kernel log to see if there is any error messages?
 
Old 10-14-2018, 07:13 PM   #3
baldur_1
Member
 
Registered: Sep 2010
Posts: 236

Original Poster
Rep: Reputation: 28
i did check the kern, syslog and a few others and saw nothing distinctive for this issue. it was just somewhat expected stuff...usual stuff.

so, the obvious problem with just restarting my dvr is if i am recording things like today. so i dont just want to restart. so if i run something like

Code:
modprobe -a
that should reload the mini-keyboard driver without interrupting the recording...?!
 
Old 10-14-2018, 07:37 PM   #4
michaelk
Moderator
 
Registered: Aug 2002
Posts: 19,533

Rep: Reputation: 3138Reputation: 3138Reputation: 3138Reputation: 3138Reputation: 3138Reputation: 3138Reputation: 3138Reputation: 3138Reputation: 3138Reputation: 3138Reputation: 3138
Is the keyboard wired or wireless? If wireless what type? bluetooth or RF? If wired I assume USB?
 
Old 10-14-2018, 07:46 PM   #5
baldur_1
Member
 
Registered: Sep 2010
Posts: 236

Original Poster
Rep: Reputation: 28
it is a wireless keyboard. it is rf (i assume). i know it is not bluetooth. i ran...

Code:
lsusb
...
Bus 007 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 006 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 001 Device 006: ID 04d9:2519 Holtek Semiconductor, Inc. Shenzhen LogoTech 2.4GHz receiver
Bus 001 Device 005: ID 2109:2812 VIA Labs, Inc. VL812 Hub
Bus 001 Device 004: ID 046d:c52b Logitech, Inc. Unifying Receiver
Bus 001 Device 003: ID 046d:c52f Logitech, Inc. Unifying Receiver
Bus 001 Device 002: ID 2109:2812 VIA Labs, Inc. VL812 Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
...and i am fairly confident it is device 006. i also ran...

Code:
usb-devices
and think that the correct one is...

Code:
T:  Bus=01 Lev=03 Prnt=05 Port=03 Cnt=01 Dev#=  6 Spd=1.5 MxCh= 0
D:  Ver= 1.10 Cls=00(>ifc ) Sub=00 Prot=00 MxPS= 8 #Cfgs=  1
P:  Vendor=04d9 ProdID=2519 Rev=00.01
S:  Manufacturer=Shenzhen LogoTech
S:  Product=2.4GHz receiver
C:  #Ifs= 2 Cfg#= 1 Atr=a0 MxPwr=100mA
I:  If#= 0 Alt= 0 #EPs= 1 Cls=03(HID  ) Sub=01 Prot=01 Driver=usbhid
I:  If#= 1 Alt= 0 #EPs= 1 Cls=03(HID  ) Sub=01 Prot=02 Driver=usbhid
i also have a logitech "regular sized" qwerty keyboard but i am fairly certain that is the one.

Last edited by baldur_1; 10-14-2018 at 07:48 PM.
 
Old 10-14-2018, 07:55 PM   #6
baldur_1
Member
 
Registered: Sep 2010
Posts: 236

Original Poster
Rep: Reputation: 28
okay so i ran lshw and got...

Code:
...
  *-usb:2
                      description: USB hub
                      product: USB2.0 Hub
                      vendor: VIA Labs, Inc.
                      physical id: 4
                      bus info: usb@1:1.4
                      version: b.e0
                      capabilities: usb-2.10
                      configuration: driver=hub slots=4 speed=480Mbit/s
                    *-usb
                         description: Keyboard
                         product: 2.4GHz receiver
                         vendor: Shenzhen LogoTech
                         physical id: 4
                         bus info: usb@1:1.4.4
                         version: 0.01
                         capabilities: usb-1.10
                         configuration: driver=usbhid maxpower=100mA speed=2Mbit/s
...
since that said driver=usbhid, i ran...

Code:
modprobe -a usbhid
...and that did nothing...
 
Old 10-14-2018, 08:04 PM   #7
michaelk
Moderator
 
Registered: Aug 2002
Posts: 19,533

Rep: Reputation: 3138Reputation: 3138Reputation: 3138Reputation: 3138Reputation: 3138Reputation: 3138Reputation: 3138Reputation: 3138Reputation: 3138Reputation: 3138Reputation: 3138
Is this something that just started happening? Have you tried replacing the batteries to see if that fixes the problem? I am more inclined to lean toward a hardware versus driver problem.

Quote:
Bus 001 Device 004: ID 046d:c52b Logitech, Inc. Unifying Receiver
Bus 001 Device 003: ID 046d:c52f Logitech, Inc. Unifying Receiver
You should be able to sync all compatible devices on one Unifying Receiver so multiple receivers are not necessary. I would guess that the keyboards are using the HID USB driver which is probably built into the kernel. Do you still have the problem if you pull the Unifying Receiver? It could be a channel interference problem between the receivers since they all operate on the 2.4GHz band.
 
Old 10-14-2018, 08:50 PM   #8
baldur_1
Member
 
Registered: Sep 2010
Posts: 236

Original Poster
Rep: Reputation: 28
the two you quoted are my logitech regular keyboard and mouse i am very certain. this keyboard is NOT one of my logitechs. it is some off-maker like favi or something. in fact it is right here...

favi_keyboard

i have had this set-up for like since before mythbuntu 16.04 came out...it has been at least 5 years since i bought this and it has ALWAYS done this. so what happens is that i am watching a game or something and it goes dead. i know it is not the battery because it has an indicator light that says then the battery is getting low plus it is a lighted mini-keyboard as well so the light dims when it is getting low. it has a rechargable battery so i just recharge it in those cases. so if it were the battery, it would have to fail and then somehow start working again ONLY when i restart my pc. that is why i never thought it was the keyboard itself. it ONLY works again when i restart the pc.

so, after it goes dead i have to switch to my regular keyboard and mouse (mainly the keyboard since i am using it with mythtv). so, once it goes dead the logitech still works fine but i cannot get the mini-keyboard to work until i restart the pc. oh, it also has an indicator when the signal is weak to the usb plug and that does not go off before it does this. i am pretty sure that this particular keyboard has always done this. it mainly happens when i am skipping around a bunch and i am also pretty sure it does this too on my fedora pc as well as i also have one for that pc but dont quote me on that.

further, i can turn off and on the keyboard and nothing will happen...i am pretty sure i have done this as well but it has been so long since this started that when i last troubleshot all of this, i just dont remember everything. so it dropped again today when i was watching the vikings game. i was also recording others so it didnt work again until i got a break in recordings and restarted it. now it works fine. the logitech always works fine, it is just large for when i am just watching tv...

that being the description, and given other experiences like this on winsuck and linux and stuff, the behavior is always a crashed driver so i just assumed and then today tried to figure out reloading it...

Last edited by baldur_1; 10-14-2018 at 09:01 PM.
 
Old 10-14-2018, 08:53 PM   #9
baldur_1
Member
 
Registered: Sep 2010
Posts: 236

Original Poster
Rep: Reputation: 28
oh, and just a side note, i could never get the logitech unified receiver working right under linux. it was my understanding that you have to have a program on the computer to unify them and i just assume that is not made for linux. at least the last time i tried to get them to work together on the same usb, i could not under linux.

but again, the mini-keyboard i started this about is NOT logitech.
 
Old 10-14-2018, 08:57 PM   #10
baldur_1
Member
 
Registered: Sep 2010
Posts: 236

Original Poster
Rep: Reputation: 28
oh, and my logitech keyboard and mouse are off when not in use. so i doubt that it is interference between the two. i dont think i have tried removing the logitech completely but before i had the latest logitech, i had an older logitech before the unified receiver and it did that under that keyboard as well. (though it probably did use the hid usb driver)
 
Old 10-14-2018, 11:04 PM   #11
scasey
Senior Member
 
Registered: Feb 2013
Location: Tucson, AZ, USA
Distribution: CentOS 7.7.1908
Posts: 4,376

Rep: Reputation: 1550Reputation: 1550Reputation: 1550Reputation: 1550Reputation: 1550Reputation: 1550Reputation: 1550Reputation: 1550Reputation: 1550Reputation: 1550Reputation: 1550
Have you tried pulling the USB receiver for the keyboard? Unplug and replug.

Can you control the channel to prevent it conflicting with your wi-fi? It appears to be on a wi-fi frequency (2.4Ghz)
 
Old 10-15-2018, 05:59 AM   #12
baldur_1
Member
 
Registered: Sep 2010
Posts: 236

Original Poster
Rep: Reputation: 28
i dont think i have tried pulling the usb plug and replugging it. i will try that next time and reverify some others but i dont hold hope. i think i might try my other one out there too to see if that one does the same...

i wouldnt think it interferes at times with my wifi because my wifi is always on and when football is on, i can use it for several hours, like 4-6 sometimes, before the connection drops dead. i would think were it interference, it would drop faster more consistently but it drops usually when i am ff'ing/rew'ing a lot during a game.
 
Old 10-15-2018, 01:31 PM   #13
scasey
Senior Member
 
Registered: Feb 2013
Location: Tucson, AZ, USA
Distribution: CentOS 7.7.1908
Posts: 4,376

Rep: Reputation: 1550Reputation: 1550Reputation: 1550Reputation: 1550Reputation: 1550Reputation: 1550Reputation: 1550Reputation: 1550Reputation: 1550Reputation: 1550Reputation: 1550
So it only drops when you’re transmitting?
I wouldn’t expect interference when the keyboard is idle...

Again, can you identify the channel of the keyboard and configure it, or your WiFi, to use different channels?
 
  


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
The server is loosing connection. Is it a hardware issue or a software issue? THpubs Linux - Networking 6 02-12-2012 04:51 AM
Hardware and/or Software issue? King_Decay Linux - Kernel 5 10-12-2011 11:10 AM
Vertex Blending under Wine. Software or Hardware issue? conn-fused Linux - Software 2 04-13-2007 11:44 AM
Left speaker does not speak - not speaker issue. Hardware or software issue? Svip Linux - Hardware 3 05-03-2006 12:22 PM
Strange hardware/software issue, hope this is the right forum!! vdemuth Slackware 3 07-07-2005 03:03 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 06:13 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration