LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 07-14-2023, 11:13 AM   #1
liloumultipass
LQ Newbie
 
Registered: Jul 2023
Posts: 2

Rep: Reputation: 0
haunted new device


Hello,

I randomly get undesirable input event, like pressing F1 but getting both F1 and F9 pressed.
I used evtest to capture both the good and the bad behavior.

good :
```
Event: time 1689357649.073609, type 4 (EV_MSC), code 4 (MSC_SCAN), value 7003a
Event: time 1689357649.073609, type 1 (EV_KEY), code 59 (KEY_F1), value 1
Event: time 1689357649.073609, -------------- SYN_REPORT ------------
Event: time 1689357649.075608, type 4 (EV_MSC), code 4 (MSC_SCAN), value 7003a
Event: time 1689357649.075608, type 1 (EV_KEY), code 59 (KEY_F1), value 0
Event: time 1689357649.075608, -------------- SYN_REPORT ------------
```

bad :
```
Event: time 1689355902.452992, type 4 (EV_MSC), code 4 (MSC_SCAN), value 70042
Event: time 1689355902.452992, type 1 (EV_KEY), code 67 (KEY_F9), value 1
Event: time 1689355902.452992, type 4 (EV_MSC), code 4 (MSC_SCAN), value 7003a
Event: time 1689355902.452992, type 1 (EV_KEY), code 59 (KEY_F1), value 1
Event: time 1689355902.452992, -------------- SYN_REPORT ------------
Event: time 1689355902.453989, type 4 (EV_MSC), code 4 (MSC_SCAN), value 70042
Event: time 1689355902.453989, type 1 (EV_KEY), code 67 (KEY_F9), value 0
Event: time 1689355902.453989, type 4 (EV_MSC), code 4 (MSC_SCAN), value 7003a
Event: time 1689355902.453989, type 1 (EV_KEY), code 59 (KEY_F1), value 0
Event: time 1689355902.453989, -------------- SYN_REPORT ------------
```

This is not limited to F9, any key can get "stuck" and will tag along any other key.
Pressing the "stuck" key once will resolve the issue for now.

The input device is in pristine condition and does not show any visible mechanical issue.

Is there any tool I can try before replacing the hardware?
Can this be a driver issue?

Thank you very much.
 
Old 07-14-2023, 11:32 AM   #2
wpeckham
LQ Guru
 
Registered: Apr 2010
Location: Continental USA
Distribution: Debian, Ubuntu, RedHat, DSL, Puppy, CentOS, Knoppix, Mint-DE, Sparky, VSIDO, tinycore, Q4OS, Manjaro
Posts: 6,162

Rep: Reputation: 2944Reputation: 2944Reputation: 2944Reputation: 2944Reputation: 2944Reputation: 2944Reputation: 2944Reputation: 2944Reputation: 2944Reputation: 2944Reputation: 2944
Can we presume this keyboard is wired, and USB based?
Are you interested in providing information about the distribution, version, desktop (and version), drivers, or other detail?
Are you running on Wayland or X.org?
 
Old 07-14-2023, 11:42 AM   #3
lvm_
Senior Member
 
Registered: Jul 2020
Posts: 1,513

Rep: Reputation: 515Reputation: 515Reputation: 515Reputation: 515Reputation: 515Reputation: 515
If you want to be absolutely sure it is broken, try sniffing raw USB data https://www.google.co.uk/search?q=usb+sniffing+linux (assuming it is a USB device).
 
Old 07-14-2023, 12:37 PM   #4
liloumultipass
LQ Newbie
 
Registered: Jul 2023
Posts: 2

Original Poster
Rep: Reputation: 0
thank you for the reply, i should probably have specified that this is coming from a mouse which side buttons are detected as a keyboard (razer naga v2 hyperspeed)

I am using an arch distro + zen kernel + sway wayland compositor and no desktop environment

The device is currently plugged in usb2 port (had the same problem with usb3 port)

I didn't install any driver for this device (openrazer doesn't support my device yet)

I will try sniffing the raw usb data

thank you
 
  


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
haunted by ndiswrapper ultimatenoob Linux - Laptop and Netbook 2 04-16-2006 03:30 PM
eek! My KDE is haunted fannymites Linux - Software 7 01-08-2005 06:35 PM
I have a haunted directory! giosue_c Linux - General 1 01-01-2005 11:57 AM
haunted by fsck kadaver Debian 2 07-30-2004 06:59 AM
Haunted mount points... wooo! TrashCanMan Linux - Newbie 14 08-06-2003 12:35 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 06:15 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