Page 1 of 3 123 LastLast
Results 1 to 10 of 23

Thread: touchpad doesn't work after resume from suspend to ram

  1. #1

    Default touchpad doesn't work after resume from suspend to ram

    on my sony vaio VPCEH2N1E, RAM=4Gb, GPU=intel, CPU=intel i5 @2.4GHz, OS=opensuse 13.2, KDE=4.14.9
    after boot the touchpad works well, but, after resume from suspend to ram it stops to works and I have to use an USB mouse to work.
    any suggestion to have my touchpad working also after resume??
    manythanks, ciao :-) pier

  2. #2
    Join Date
    Jun 2008
    Location
    Auckland, NZ
    Posts
    20,179
    Blog Entries
    1

    Default Re: touchpad doesn't work after resume from suspend to ram

    Hi Pier

    More information about your touchpad would be useful here as it is hardware-specific.

    Anyway, have a read of this thread (post #7 onwards)

    https://forums.opensuse.org/showthre...-after-suspend

    Let us know how you get on.

  3. #3

    Default Re: touchpad doesn't work after resume from suspend to ram

    ok, many thanks deano, :-)
    I read the thread https://forums.opensuse.org/showthre...-after-suspend
    I rebooted only with touchpad, no other mices connected, touchpad works

    hwinfo gives this as superuser:
    Code:
    linux-eros1:/home/eros # hwinfo --mouse
    33: PS/2 00.0: 10500 PS/2 Mouse                                 
      [Created at input.249]
      Unique ID: AH6Q.5+smWHVjPI3
      Hardware Class: mouse
      Model: "DualPoint Stick"
      Vendor: 0x0002 
      Device: 0x0008 "DualPoint Stick"
      Compatible to: int 0x0210 0x0003
      Device File: /dev/input/mice (/dev/input/mouse0)
      Device Files: /dev/input/mice, /dev/input/mouse0, /dev/input/event1, /dev/input/by-path/platform-i8042-serio-1-event-mouse, /dev/input/by-path/platform-i8042-serio-1-mouse
      Device Number: char 13:63 (char 13:32)
      Driver Info #0:
        Buttons: 3
        Wheels: 0
        XFree86 Protocol: explorerps/2
        GPM Protocol: exps2
      Config Status: cfg=no, avail=yes, need=no, active=unknown
    
    34: PS/2 00.0: 10500 PS/2 Mouse
      [Created at input.249]
      Unique ID: AH6Q.5+smWHVjPI3
      Hardware Class: mouse
      Model: "AlpsPS/2 ALPS DualPoint TouchPad"
      Vendor: 0x0002 
      Device: 0x0008 "AlpsPS/2 ALPS DualPoint TouchPad"
      Compatible to: int 0x0210 0x0003
      Device File: /dev/input/mice (/dev/input/mouse1)
      Device Files: /dev/input/mice, /dev/input/mouse1, /dev/input/event2, /dev/input/by-path/platform-i8042-serio-1-event-mouse, /dev/input/by-path/platform-i8042-serio-1-mouse
      Device Number: char 13:63 (char 13:33)
      Driver Info #0:
        Buttons: 3
        Wheels: 0
        XFree86 Protocol: explorerps/2
        GPM Protocol: exps2
      Config Status: cfg=no, avail=yes, need=no, active=unknown
    
    35: PS/2 00.0: 10500 PS/2 Mouse
      [Created at input.249]
      Unique ID: AH6Q.GK9dutOpov5
      Hardware Class: mouse
      Model: "Sony Vaio Jogdial"
      Vendor: 0x104d 
      Device: "Sony Vaio Jogdial"
      Compatible to: int 0x0210 0x0011
      Device File: /dev/input/mice (/dev/input/mouse2)
      Device Files: /dev/input/mice, /dev/input/mouse2, /dev/input/event9
      Device Number: char 13:63 (char 13:34)
      Driver Info #0:
        Buttons: 1
        Wheels: 1
        XFree86 Protocol: explorerps/2
        GPM Protocol: exps2
      Config Status: cfg=no, avail=yes, need=no, active=unknown
    linux-eros1:/home/eros #
    so I supposed it was this:
    Code:
     Model: "AlpsPS/2 ALPS DualPoint TouchPad"
    where this:
    Code:
    /dev/input/by-path/platform-i8042-serio-1-mouse
    was very similar to what you suggest in the thread
    so I suspended to RAM and resumed (with not working touchpad) and did this as root and as user:
    Code:
    echo -n rescan > /sys/devices/platform/i8042/serio1/drvct
    but nothing works and result was this
    Code:
    linux-eros1:/home/eros # echo -n rescan > /sys/devices/platform/i8042/serio1/drvct
    bash: /sys/devices/platform/i8042/serio1/drvct: Permesso negato
    (permesso negato means access denied)
    continuing to read the thread I supposed it was the module i2c_hic
    then I tried this as root before to suspend to ram
    Code:
    /sbin/modprobe -r i2c_hid
    and then this after resumed
    Code:
    /sbin/modprobe i2c_hid
    but nothing works.
    ...manythanks again, :-) other suggestion??

  4. #4
    Join Date
    Jun 2008
    Location
    Auckland, NZ
    Posts
    20,179
    Blog Entries
    1

    Default Re: touchpad doesn't work after resume from suspend to ram

    Based on advice in this fedoraforum thread you could try invoking the following manually (following a resume)
    Code:
    device=`xinput list | sed -n '/TouchPad/s/^.*id=\([0-9]\+\).*$/\1/p'`; xinput disable $device; xinput enable $device
    which just disables and re-enables the touchpad device.

    If that works, it could be automated via a custom systemd resume service

    https://wiki.archlinux.org/index.php...nt#Sleep_hooks

  5. #5

    Default Re: touchpad doesn't work after resume from suspend to ram

    ok, with working touchpad the command as user:
    Code:
    device=`xinput list | sed -n '/TouchPad/s/^.*id=\([0-9]\+\).*$/\1/p'`; xinput disable $device; xinput enable $device
    works, with no errors.
    after resume, with non working touchpad,
    Code:
    procuste@linux-eros1:~> device=`xinput list | sed -n '/TouchPad/s/^.*id=\([0-9]\+\).*$/\1/p'`; xinput disable $device; xinput enable $device
    Errore di segmentazione
    Errore di segmentazione
    procuste@linux-eros1:~> 
    (Errore di segmentazione means segmentation error)
    it gives this error as user and as superuser

    if it can help I noted that after resume the hwinfo --mouse change in this way:
    and the touchpad disappear
    Code:
    linux-eros1:/home/procuste # hwinfo --mouse
    28: USB 00.0: 10503 USB Mouse                                   
      [Created at usb.122]
      Unique ID: Bgjr.4lr8UC8Kol6
      Parent ID: FKGF.4Nx_qoDfSd7
      SysFS ID: /devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.5/2-1.5:1.0
      SysFS BusID: 2-1.5:1.0
      Hardware Class: mouse
      Model: "MOON AND"
      Hotplug: USB
      Vendor: usb 0x13ee "MOON"
      Device: usb 0x0001 "AND"
      Revision: "0.10"
      Serial ID: "@ɌAB"
      Compatible to: int 0x0200 0x0001 "Generic USB Mouse"
      Driver: "usbhid"
      Driver Modules: "usbhid"
      Speed: 1.5 Mbps
      Module Alias: "usb:v13EEp0001d0010dc00dsc00dp00ic03isc01ip02in00"
      Driver Info #0:
        XFree86 Protocol: explorerps/2
        GPM Protocol: exps2
      Config Status: cfg=new, avail=yes, need=no, active=unknown
      Attached to: #32 (Hub)
    
    34: PS/2 00.0: 10500 PS/2 Mouse
      [Created at input.249]
      Unique ID: AH6Q.GK9dutOpov5
      Hardware Class: mouse
      Model: "Sony Vaio Jogdial"
      Vendor: 0x104d 
      Device: "Sony Vaio Jogdial"
      Compatible to: int 0x0210 0x0011
      Device File: /dev/input/mice (/dev/input/mouse3)
      Device Files: /dev/input/mice, /dev/input/mouse3, /dev/input/event10
      Device Number: char 13:63 (char 13:35)
      Driver Info #0:
        Buttons: 1
        Wheels: 1
        XFree86 Protocol: explorerps/2
        GPM Protocol: exps2
      Config Status: cfg=no, avail=yes, need=no, active=unknown
    linux-eros1:/home/procuste #
    other suggestion??
    manythanks again :-) ciao, :-) pier

  6. #6

    Default Re: touchpad doesn't work after resume from suspend to ram

    if it can help, after resume with non working touchpad

  7. #7

    Default Re: touchpad doesn't work after resume from suspend to ram

    it disappear from xinput --list
    before suspend with touchpad working

    Code:
    procuste@linux-eros1:~> xinput list
    ⎡ Virtual core pointer                          id=2    [master pointer  (3)]
    ⎜   ↳ Virtual core XTEST pointer                id=4    [slave  pointer  (2)]
    ⎜   ↳ MOON AND                                  id=11   [slave  pointer  (2)]
    ⎜   ↳ AlpsPS/2 ALPS DualPoint TouchPad          id=13   [slave  pointer  (2)]
    ⎜   ↳ DualPoint Stick                           id=14   [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)]
        ↳ Sony Vaio Keys                            id=8    [slave  keyboard (3)]
        ↳ Power Button                              id=9    [slave  keyboard (3)]
        ↳ Sony Visual Communication Camer           id=10   [slave  keyboard (3)]
        ↳ AT Translated Set 2 keyboard              id=12   [slave  keyboard (3)]
    procuste@linux-eros1:~>
    after resume with non working touchpad
    Code:
    procuste@linux-eros1:~> xinput list
    ⎡ Virtual core pointer                          id=2    [master pointer  (3)]
    ⎜   ↳ Virtual core XTEST pointer                id=4    [slave  pointer  (2)]
    ⎜   ↳ MOON AND                                  id=11   [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)]
        ↳ Sony Vaio Keys                            id=8    [slave  keyboard (3)]
        ↳ Power Button                              id=9    [slave  keyboard (3)]
        ↳ Sony Visual Communication Camer           id=10   [slave  keyboard (3)]
        ↳ AT Translated Set 2 keyboard              id=12   [slave  keyboard (3)]
    procuste@linux-eros1:~> xinput enable "AlpsPS/2 ALPS DualPoint TouchPad"
    so when I run
    Code:
    procuste@linux-eros1:~> xinput enable 13
    or
    procuste@linux-eros1:~> xinput enable "AlpsPS/2 ALPS DualPoint TouchPad"
    unable to find device AlpsPS/2 ALPS DualPoint TouchPad
    procuste@linux-eros1:~>
    xinput cannot find it
    ciao, :-) pier

  8. #8
    Join Date
    Jun 2008
    Location
    Auckland, NZ
    Posts
    20,179
    Blog Entries
    1

    Default Re: touchpad doesn't work after resume from suspend to ram

    The device is not reinitialised, and this is probably due to the i8042 controller. You may need to examine kernel messages related to the i8042 controller to find out more about the (mis)behaviour. If you have a systemd journal, you can examine this via the 'journalctl' command, or if rsyslogd is still in use then examine /var/log/messages.

    This may provide some useful output
    Code:
    dmesg|grep i8042
    For reference, I get
    Code:
    # dmesg|grep i8042
    [    0.562595] i8042: PNP: PS/2 Controller [PNP0303:C298,PNP0f13:C299] at 0x60,0x64 irq 1,12
    [    0.564247] i8042: Detected active multiplexing controller, rev 1.1
    [    0.565072] serio: i8042 KBD port at 0x60,0x64 irq 1
    [    0.565102] serio: i8042 AUX0 port at 0x60,0x64 irq 12
    [    0.565122] serio: i8042 AUX1 port at 0x60,0x64 irq 12
    [    0.565141] serio: i8042 AUX2 port at 0x60,0x64 irq 12
    [    0.565160] serio: i8042 AUX3 port at 0x60,0x64 irq 12
    [    0.589956] input: AT Translated Set 2 keyboard as /devices/platform/i8042/serio0/input/input0
    [    1.381092] input: SynPS/2 Synaptics TouchPad as /devices/platform/i8042/serio4/input/input1
    Some general advice here that may be worth trying
    https://wiki.archlinux.org/index.php...nate.2Fsuspend

    It may be that a bug report is required to help resolve this.

  9. #9

    Default Re: touchpad doesn't work after resume from suspend to ram

    if it can help,:
    if I login with a new user (two users active) I have working touchpad only in the new user, and if logout with the non working touchpad user then login again I have a working touchpad.
    manythanks, :-) ciao, pier

  10. #10

    Default Re: touchpad doesn't work after resume from suspend to ram

    after resume with a non working touchpad the dmesg output:
    Code:
    procuste@linux-eros1:~> dmesg|grep i8042
    [    1.140239] i8042: PNP: PS/2 Controller [PNP0303:PS2K,PNP0f13:PS2M] at 0x60,0x64 irq 1,12
    [    1.141996] serio: i8042 KBD port at 0x60,0x64 irq 1
    [    1.142024] serio: i8042 AUX port at 0x60,0x64 irq 12
    [    1.158744] input: AT Translated Set 2 keyboard as /devices/platform/i8042/serio0/input/input0
    [    2.357687] input: DualPoint Stick as /devices/platform/i8042/serio1/input/input3
    [    2.372372] input: AlpsPS/2 ALPS DualPoint TouchPad as /devices/platform/i8042/serio1/input/input2
    [  304.105781] i8042: Can't write CTR while closing AUX port
    [  304.627689] i8042: Can't reactivate AUX port
    [ 2344.019742] i8042: Can't write CTR while closing AUX port
    [ 2344.541804] i8042: Can't reactivate AUX port
    [ 2345.735646] input: DualPoint Stick as /devices/platform/i8042/serio1/input/input23
    [ 2345.748893] input: AlpsPS/2 ALPS DualPoint TouchPad as /devices/platform/i8042/serio1/input/input22
    [ 4513.696479] i8042: Can't write CTR while closing AUX port
    [ 4514.218243] i8042: Can't reactivate AUX port
    procuste@linux-eros1:~>

Page 1 of 3 123 LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •