stockmind / gpd-pocket-ubuntu-respin

Collection of scripts and tweaks to adapt Ubuntu and Linux Mint ISO images to let them run smooth on GPD Pocket
348 stars 35 forks source link

External display - After sleep mouse cannot use right click and wheel until internal mouse left button is used #63

Open KeyHui opened 6 years ago

KeyHui commented 6 years ago

The same title But I found if you click the gpd pocket mouse's right click after wake up, the external mouse can be use right and wheel. @stockmind

stockmind commented 6 years ago

Really odd and may be hardware specific. Can you try a different mouse? Are you able to reproduce this with different mouse? No problem on my end with two cabled mouse and a bluetooth mouse. Also please follow "Problem reporting" section before open an issue:https://github.com/stockmind/gpd-pocket-ubuntu-respin#problem-reporting

KeyHui commented 6 years ago

@stockmind I have tested with two cabled mouse and a bluetooth mouse ubuntu is 16.04 Kernel: 4.13.0-rc5-custom Desktop Environment: Display: :0 Monitor: DSI1 connected (normal left inverted right x axis y axis) Scripts: gpdfand gpdscreen gpdscreen-indicator EFI: [ 0.000000] efi: EFI v2.40 by American Megatrends EFI Release Date: 06/28/2017

stockmind commented 6 years ago

Check now if this also happen in Windows, be careful and test it accurately. I can't reproduce this. My BIOS EFI Release Date: 07/05/2017 Report also result of this:

echo $XDG_CURRENT_DESKTOP

And with mouse plugged in

xinput

If problem persist try to run a Live environment with a new built ISO and check if this still happen there.

Someone on unlocked BIOS can test this? Thanks

EDIT:just noticed the ubuntu version. I will try that in a live environment. I will report back in a few days as i'm not at home right now.

KeyHui commented 6 years ago

@stockmind where can download last release ubuntu BIOS ?

Unity

⎡ Virtual core pointer                      id=2    [master pointer  (3)]
⎜   ↳ Virtual core XTEST pointer                id=4    [slave  pointer  (2)]
⎜   ↳ SINO WEALTH Gaming Keyboard               id=10   [slave  pointer  (2)]
⎜   ↳ Goodix Capacitive TouchScreen             id=11   [slave  pointer  (2)]
⎜   ↳ Logitech USB Optical Mouse                id=15   [slave  pointer  (2)]
⎜   ↳ Lenovo ThinkPad Compact USB Keyboard with TrackPoint  id=16   [slave  pointer  (2)]
⎣ Virtual core keyboard                     id=3    [master keyboard (2)]
    ↳ Virtual core XTEST keyboard               id=5    [slave  keyboard (3)]
    ↳ Power Button                              id=6    [slave  keyboard (3)]
    ↳ Video Bus                                 id=7    [slave  keyboard (3)]
    ↳ Power Button                              id=8    [slave  keyboard (3)]
    ↳ SINO WEALTH Gaming Keyboard               id=9    [slave  keyboard (3)]
    ↳ Intel HID events                          id=12   [slave  keyboard (3)]
    ↳ gpio-keys                                 id=13   [slave  keyboard (3)]
    ↳ gpio-keys                                 id=14   [slave  keyboard (3)]
    ↳ Lenovo ThinkPad Compact USB Keyboard with TrackPoint  id=17   [slave  keyboard (3)]
stockmind commented 6 years ago

https://github.com/stockmind/gpd-pocket-ubuntu-respin#bios-versions

Newer bios are locked so you will have less options and settings available for customization

KeyHui commented 6 years ago

@stockmind the BIOS last version is better than all options version ?

stockmind commented 6 years ago

Maybe not. I cannot guarantee that your problem is fixed on a newer BIOS as i have still to test a live of ubuntu 16.04. Latest bios have the nice feature of no limit of charge to boot, so you can always boot if you have less than 10-15% of battery. Other than that your BIOS is known to have something different related to enumerating devices and management of battery that gave some trouble on past kernels. That problem is fixed now but maybe something is still broken somewhere and give you that problem on wake, but i don't know anything about that so i can't say too much. The odd thing is that you're the first in months that have this problem as far as i know. i will really try to boot from a live environment first and do every test in a clean environment before change BIOS. Your BIOS is good if you want to manage RAM speed and thermal throttling

KeyHui commented 6 years ago

@stockmind I try to flash new BOIS to test. Thank you.

KeyHui commented 6 years ago

@stockmind In Detail

  1. I use the external screen.
  2. I close gpd screen and just use external screen in display setting.
  3. I suspend and close external screen.
  4. I open external screen and wake up after 1 hour that the mouse has the issue of the title.