Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Extra mouse buttons not working - Trust GXT 923 Ybar
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
pallaert
n00b
n00b


Joined: 29 Apr 2005
Posts: 29

PostPosted: Tue May 21, 2024 3:52 pm    Post subject: Extra mouse buttons not working - Trust GXT 923 Ybar Reply with quote

Hello!

I had to replace my good old wired mouse with a new one and got a Trust GXT 923 Ybar mouse.
Unfortunately, the buttons close to the thumbs that are often used to navigate backward/forward are not working.
I used xev and evtest to capture events, but nothing shows up with those 2 buttons.
The other buttons generates an event:
  • Button 1 (left click)
  • Button 2 (wheel middle click)
  • Button 3 (right click)
  • Button 4 (wheel up)
  • Button 5 (wheel down)

I am running Linux Kernel 6.6.30 and haven't found any "Trust" specific drivers.
My kernel is configured with those options:
Code:
CONFIG_HID_SUPPORT=y
CONFIG_HID=y
CONFIG_HIDRAW=y
CONFIG_UHID=m
CONFIG_HID_GENERIC=y
CONFIG_HID_ELAN=y
CONFIG_HID_LENOVO=y
CONFIG_USB_HID=y
CONFIG_HID_PID=y
CONFIG_USB_HIDDEV=y
CONFIG_I2C_HID=y

My previous (but now broken) mouse forward/backward buttons used to work!
Any idea on how making them work?[/code]
Back to top
View user's profile Send private message
pallaert
n00b
n00b


Joined: 29 Apr 2005
Posts: 29

PostPosted: Tue May 21, 2024 6:50 pm    Post subject: Reply with quote

Using https://github.com/DIGImend/usbhid-dump, I managed to see that something is happening when pressing those buttons:
Code:
Left button:
 04 01 00 00 00 00 00 00
 04 00 00 00 00 00 00 00

Middle (wheel) button:
 04 04 00 00 00 00 00 00
 04 00 00 00 00 00 00 00

Right button
 04 02 00 00 00 00 00 00
 04 00 00 00 00 00 00 00

Wheel up:
 04 00 00 00 00 00 01 00
 04 00 00 00 00 00 00 00

Wheel down:
 04 00 00 00 00 00 FF 00
 04 00 00 00 00 00 00 00

"forward":
 04 10 00 00 00 00 00 00
 04 00 00 00 00 00 00 00

"backward":
 04 08 00 00 00 00 00 00
 04 00 00 00 00 00 00 00

But the last 2 sequences does not trigger anything when debugging with xev and evtest. As if the link between them and the fact that it corresponds to buttons click is not "configured".
Back to top
View user's profile Send private message
xgivolari
Tux's lil' helper
Tux's lil' helper


Joined: 26 Jul 2021
Posts: 90

PostPosted: Wed May 22, 2024 7:18 am    Post subject: Reply with quote

Could be that these buttons are programmable and require manual configuration to do anything useful. According to its product page, there seems to be some kind of "driver" software available for your mouse, but only for Windows. Maybe it works via Wine.
Back to top
View user's profile Send private message
pallaert
n00b
n00b


Joined: 29 Apr 2005
Posts: 29

PostPosted: Wed May 22, 2024 6:10 pm    Post subject: Reply with quote

I have no intention to use Wine just for this...
I tried to enable all CONFIG_HID_* in Kernel's configuration in case one of them would be compatible, but unfortunately, it didn't work.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum