microsoft / wslg

Enabling the Windows Subsystem for Linux to include support for Wayland and X server related scenarios
MIT License
10.25k stars 307 forks source link

my thinkpad's synaptic trackpoint scroll feature won't work on x11 apps, should i try installing drivers onto my wsl2 machine? #274

Open junefranklin opened 3 years ago

junefranklin commented 3 years ago

is it a good idea to try install drivers to get devices that aren't working properly onto my WSL instance? it has a kernel, would this work? does WSL2 even consider device drivers?

I was going to file a bug report, but I'm not actually sure if this would be a WSLG bug, as I'm not sure how my trackpoint driver implements the scrolling feature. Should I file this as a bug? Comparitively, the two finger scroll on my laptop using a similar synaptics touchpad driver seems to be able to scroll correctly on X11 apps. Bug or not? What's the best thing to do here?

Lastly, how does WSLG take scrolling input? I've had some other mouse input bugs. Perhaps they're related? I filed #240 , perhaps related?

hideyukn88 commented 3 years ago

@jamesfranklinnetsec, thanks for reporting the issue. In WSLg, the mouse input is coming from Windows via Remote Desktop Protocol, thus the device driver in Linux isn't used. Would you please share what ThinkPad model do you have and the driver version of synaptic driver? thanks!

junefranklin commented 3 years ago

@jamesfranklinnetsec, thanks for reporting the issue. In WSLg, the

I've got a thinkpad t14 (20UD) https://support.lenovo.com/be/en/downloads/ds544964/ this would be the driver.

edit: oh btw i think the trackpoint driver is weirdly integrated into the keyboard driver somehow? I noticed theyre both PS/2 devices. Perhaps thats causing some issues?

the trackpoint mouse input works fine, just the scrolling feature doesnt. Curious!

it might be worth testing if rdp to another desktop pc has working scrolling, then i can know if its a problem with rdp. ill try test that.