You are not logged in.

#1 2019-11-13 12:03:06

CandyMadmonq
Member
Registered: 2019-11-13
Posts: 19

The keyboard (the touchpad) stops working while calling on Skype

Hello.

My setup:
Lenovo ThinkPad L480
5.3.10-arch1-1
GNIME 3.34.1 (Wayland)

I use skypeforlinux-stable-bin.

When someone (while calling) turns the camera (or the screen sharing) on:

  • The keyboard stops working. (everything; Linux shortcuts, Fn for volume or brightness

  • When I focus on some input (Skype chat, Firefox URL searching) it starts typing random letter in loop.

  • Sometime also the touchpad stops working, but for a while.

Last edited by CandyMadmonq (2019-11-13 12:03:22)

Offline

#2 2019-11-13 12:40:38

seth
Member
Registered: 2012-09-03
Posts: 51,055

Re: The keyboard (the touchpad) stops working while calling on Skype

When someone (while calling) turns the camera (or the screen sharing) on

Assuming *your* camera?

Output of

xinput list

?
Many webcams have a keyboard device, you could try to disable that using xinput and see whether the problem remains (otherwise it's probably generating spurious input)

Offline

#3 2019-11-13 14:13:24

CandyMadmonq
Member
Registered: 2019-11-13
Posts: 19

Re: The keyboard (the touchpad) stops working while calling on Skype

No, it also starts when someone else turns the camera on.

The spurios input is possible, but it is happening only during calling.

Offline

#4 2019-11-13 14:19:01

seth
Member
Registered: 2012-09-03
Posts: 51,055

Re: The keyboard (the touchpad) stops working while calling on Skype

You mean you're on a call, the other side activates *their* cam, your cam is and remains off and still out of a sudden your input goes wild?
That's weird - unless skype has a feature to auto-activate your cam if the remote side has one or so. Still look whether your cam comes w/ a keyboard device and try to disable it in case.

Offline

#5 2019-11-13 15:17:22

CandyMadmonq
Member
Registered: 2019-11-13
Posts: 19

Re: The keyboard (the touchpad) stops working while calling on Skype

Exactly, it is unbelievable, isn't it?

I am trying to reinstall Arch, then I give you the log from xinput.

I am gonna try different software where I can turn the camera on.

Offline

#6 2019-11-13 15:48:31

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 21,668

Re: The keyboard (the touchpad) stops working while calling on Skype

Please don't reinstall Arch, it will very unlikely magically help with your issue. IMO more realistic avenues to try: Try a xorg session, there might be a weird interaction issue with mutter/wayland here. Check xinput as already mentioned (though that will likely only really be relevant on a xorg session anyway)

Offline

#7 2019-11-13 23:28:44

CandyMadmonq
Member
Registered: 2019-11-13
Posts: 19

Re: The keyboard (the touchpad) stops working while calling on Skype

I found out it works with Gnome Cheese - so only Skype does problems.

I tried it in Xorg session, the same problem.

I don't have xinput, should I install it?

I used libinput, here is the log:

Device:           Power Button
Kernel:           /dev/input/event2
Group:            1
Seat:             seat0, default
Capabilities:     keyboard 
Tap-to-click:     n/a
Tap-and-drag:     n/a
Tap drag lock:    n/a
Left-handed:      n/a
Nat.scrolling:    n/a
Middle emulation: n/a
Calibration:      n/a
Scroll methods:   none
Click methods:    none
Disable-w-typing: n/a
Accel profiles:   n/a
Rotation:         n/a

Device:           Video Bus
Kernel:           /dev/input/event5
Group:            2
Seat:             seat0, default
Capabilities:     keyboard 
Tap-to-click:     n/a
Tap-and-drag:     n/a
Tap drag lock:    n/a
Left-handed:      n/a
Nat.scrolling:    n/a
Middle emulation: n/a
Calibration:      n/a
Scroll methods:   none
Click methods:    none
Disable-w-typing: n/a
Accel profiles:   n/a
Rotation:         n/a

Device:           Lid Switch
Kernel:           /dev/input/event1
Group:            3
Seat:             seat0, default
Capabilities:     switch
Tap-to-click:     n/a
Tap-and-drag:     n/a
Tap drag lock:    n/a
Left-handed:      n/a
Nat.scrolling:    n/a
Middle emulation: n/a
Calibration:      n/a
Scroll methods:   none
Click methods:    none
Disable-w-typing: n/a
Accel profiles:   n/a
Rotation:         n/a

Device:           Sleep Button
Kernel:           /dev/input/event0
Group:            4
Seat:             seat0, default
Capabilities:     keyboard 
Tap-to-click:     n/a
Tap-and-drag:     n/a
Tap drag lock:    n/a
Left-handed:      n/a
Nat.scrolling:    n/a
Middle emulation: n/a
Calibration:      n/a
Scroll methods:   none
Click methods:    none
Disable-w-typing: n/a
Accel profiles:   n/a
Rotation:         n/a

Device:           Integrated Camera: Integrated C
Kernel:           /dev/input/event14
Group:            5
Seat:             seat0, default
Capabilities:     keyboard 
Tap-to-click:     n/a
Tap-and-drag:     n/a
Tap drag lock:    n/a
Left-handed:      n/a
Nat.scrolling:    n/a
Middle emulation: n/a
Calibration:      n/a
Scroll methods:   none
Click methods:    none
Disable-w-typing: n/a
Accel profiles:   n/a
Rotation:         n/a

Device:           HDA Intel PCH Mic
Kernel:           /dev/input/event7
Group:            6
Seat:             seat0, default
Capabilities:     
Tap-to-click:     n/a
Tap-and-drag:     n/a
Tap drag lock:    n/a
Left-handed:      n/a
Nat.scrolling:    n/a
Middle emulation: n/a
Calibration:      n/a
Scroll methods:   none
Click methods:    none
Disable-w-typing: n/a
Accel profiles:   n/a
Rotation:         n/a

Device:           HDA Intel PCH Headphone
Kernel:           /dev/input/event8
Group:            6
Seat:             seat0, default
Capabilities:     
Tap-to-click:     n/a
Tap-and-drag:     n/a
Tap drag lock:    n/a
Left-handed:      n/a
Nat.scrolling:    n/a
Middle emulation: n/a
Calibration:      n/a
Scroll methods:   none
Click methods:    none
Disable-w-typing: n/a
Accel profiles:   n/a
Rotation:         n/a

Device:           HDA Intel PCH HDMI/DP,pcm=3
Kernel:           /dev/input/event9
Group:            6
Seat:             seat0, default
Capabilities:     
Tap-to-click:     n/a
Tap-and-drag:     n/a
Tap drag lock:    n/a
Left-handed:      n/a
Nat.scrolling:    n/a
Middle emulation: n/a
Calibration:      n/a
Scroll methods:   none
Click methods:    none
Disable-w-typing: n/a
Accel profiles:   n/a
Rotation:         n/a

Device:           HDA Intel PCH HDMI/DP,pcm=7
Kernel:           /dev/input/event10
Group:            6
Seat:             seat0, default
Capabilities:     
Tap-to-click:     n/a
Tap-and-drag:     n/a
Tap drag lock:    n/a
Left-handed:      n/a
Nat.scrolling:    n/a
Middle emulation: n/a
Calibration:      n/a
Scroll methods:   none
Click methods:    none
Disable-w-typing: n/a
Accel profiles:   n/a
Rotation:         n/a

Device:           HDA Intel PCH HDMI/DP,pcm=8
Kernel:           /dev/input/event11
Group:            6
Seat:             seat0, default
Capabilities:     
Tap-to-click:     n/a
Tap-and-drag:     n/a
Tap drag lock:    n/a
Left-handed:      n/a
Nat.scrolling:    n/a
Middle emulation: n/a
Calibration:      n/a
Scroll methods:   none
Click methods:    none
Disable-w-typing: n/a
Accel profiles:   n/a
Rotation:         n/a

Device:           HDA Intel PCH HDMI/DP,pcm=9
Kernel:           /dev/input/event12
Group:            6
Seat:             seat0, default
Capabilities:     
Tap-to-click:     n/a
Tap-and-drag:     n/a
Tap drag lock:    n/a
Left-handed:      n/a
Nat.scrolling:    n/a
Middle emulation: n/a
Calibration:      n/a
Scroll methods:   none
Click methods:    none
Disable-w-typing: n/a
Accel profiles:   n/a
Rotation:         n/a

Device:           HDA Intel PCH HDMI/DP,pcm=10
Kernel:           /dev/input/event13
Group:            6
Seat:             seat0, default
Capabilities:     
Tap-to-click:     n/a
Tap-and-drag:     n/a
Tap drag lock:    n/a
Left-handed:      n/a
Nat.scrolling:    n/a
Middle emulation: n/a
Calibration:      n/a
Scroll methods:   none
Click methods:    none
Disable-w-typing: n/a
Accel profiles:   n/a
Rotation:         n/a

Device:           Elan Touchpad
Kernel:           /dev/input/event15
Group:            7
Seat:             seat0, default
Size:             98x66mm
Capabilities:     pointer gesture
Tap-to-click:     disabled
Tap-and-drag:     enabled
Tap drag lock:    disabled
Left-handed:      disabled
Nat.scrolling:    disabled
Middle emulation: disabled
Calibration:      n/a
Scroll methods:   *two-finger edge 
Click methods:    *button-areas clickfinger 
Disable-w-typing: enabled
Accel profiles:   none
Rotation:         n/a

Device:           Elan TrackPoint
Kernel:           /dev/input/event16
Group:            8
Seat:             seat0, default
Capabilities:     pointer 
Tap-to-click:     n/a
Tap-and-drag:     n/a
Tap drag lock:    n/a
Left-handed:      disabled
Nat.scrolling:    disabled
Middle emulation: disabled
Calibration:      n/a
Scroll methods:   *button
Click methods:    none
Disable-w-typing: n/a
Accel profiles:   flat *adaptive
Rotation:         n/a

Device:           AT Translated Set 2 keyboard
Kernel:           /dev/input/event3
Group:            9
Seat:             seat0, default
Capabilities:     keyboard 
Tap-to-click:     n/a
Tap-and-drag:     n/a
Tap drag lock:    n/a
Left-handed:      n/a
Nat.scrolling:    n/a
Middle emulation: n/a
Calibration:      n/a
Scroll methods:   none
Click methods:    none
Disable-w-typing: n/a
Accel profiles:   n/a
Rotation:         n/a

Device:           ThinkPad Extra Buttons
Kernel:           /dev/input/event17
Group:            10
Seat:             seat0, default
Capabilities:     keyboard 
Tap-to-click:     n/a
Tap-and-drag:     n/a
Tap drag lock:    n/a
Left-handed:      n/a
Nat.scrolling:    n/a
Middle emulation: n/a
Calibration:      n/a
Scroll methods:   none
Click methods:    none
Disable-w-typing: n/a
Accel profiles:   n/a
Rotation:         n/a

Offline

#8 2019-11-14 07:41:51

seth
Member
Registered: 2012-09-03
Posts: 51,055

Re: The keyboard (the touchpad) stops working while calling on Skype

You could run "sudo libinput debug-events" to see which device is creating the spurious events and then disable it w/ xinput (at least in Xorg sessions, sorry - missed that you're on wayland)
Also see https://wayland.freedesktop.org/libinpu … ng-devices

Offline

#9 2019-11-14 12:01:46

CandyMadmonq
Member
Registered: 2019-11-13
Posts: 19

Re: The keyboard (the touchpad) stops working while calling on Skype

OK, I started debugging and it does event3 (AT Translated Set 2 keyboard).

Sometime there is a delay between my typing and appearing text on the screen, but sometime it does the looping problem.

When I ignor it, the keyboard won't work anymore, will it?

Last edited by CandyMadmonq (2019-11-14 12:06:54)

Offline

#10 2019-11-14 14:26:39

seth
Member
Registered: 2012-09-03
Posts: 51,055

Re: The keyboard (the touchpad) stops working while calling on Skype

No, that's your regular keyboard.

Sometime there is a delay between my typing and appearing text on the screen, but sometime it does the looping problem.

Can you please elaborate on this? Do you imply the events aren't so super spurious but more a weird reaction to what your fingers did on the keyboard?

Offline

#11 2019-11-14 15:44:16

CandyMadmonq
Member
Registered: 2019-11-13
Posts: 19

Re: The keyboard (the touchpad) stops working while calling on Skype

May you help me with creating the rule?
Which one is good?

/etc/udev/rules.d/80-local.rules

KERNEL==event3,ENV{LIBINPUT_IGNORE_DEVICE}=1
/etc/udev/rules.d/80-local.rules

SUBSYSTEM=="block",KERNEL==event3

This is the info from udevadm:

  udevadm info -a -p $(udevadm info -q path -n /dev/input/event3)

  looking at device '//devices/platform/i8042/serio0/input/input3/event3':
    KERNEL=="event3"
    SUBSYSTEM=="input"
    DRIVER==""

  looking at parent device '//devices/platform/i8042/serio0/input/input3':
    KERNELS=="input3"
    SUBSYSTEMS=="input"
    DRIVERS==""
    ATTRS{name}=="AT Translated Set 2 keyboard"
    ATTRS{phys}=="isa0060/serio0/input0"
    ATTRS{uniq}==""
    ATTRS{properties}=="0"

  looking at parent device '//devices/platform/i8042/serio0':
    KERNELS=="serio0"
    SUBSYSTEMS=="serio"
    DRIVERS=="atkbd"
    ATTRS{softrepeat}=="0"
    ATTRS{firmware_id}=="PNP: LEN0071 PNP0303"
    ATTRS{set}=="2"
    ATTRS{bind_mode}=="auto"
    ATTRS{scroll}=="0"
    ATTRS{description}=="i8042 KBD port"
    ATTRS{force_release}=="369-370"
    ATTRS{extra}=="0"
    ATTRS{err_count}=="0"
    ATTRS{softraw}=="1"

  looking at parent device '//devices/platform/i8042':
    KERNELS=="i8042"
    SUBSYSTEMS=="platform"
    DRIVERS=="i8042"
    ATTRS{driver_override}=="(null)"

  looking at parent device '//devices/platform':
    KERNELS=="platform"
    SUBSYSTEMS==""
    DRIVERS==""

Last edited by CandyMadmonq (2019-11-14 15:48:26)

Offline

#12 2019-11-14 15:49:22

seth
Member
Registered: 2012-09-03
Posts: 51,055

Re: The keyboard (the touchpad) stops working while calling on Skype

Sorry if my previous post was misleading. This is your main keyboard. Ignoring it is not a good idea at all.

Offline

#13 2019-11-14 15:52:12

CandyMadmonq
Member
Registered: 2019-11-13
Posts: 19

Re: The keyboard (the touchpad) stops working while calling on Skype

Oh, so I cannot fix it.

Do you think the problem is in the distribution or Skype?

Offline

#14 2019-11-14 15:54:34

seth
Member
Registered: 2012-09-03
Posts: 51,055

Re: The keyboard (the touchpad) stops working while calling on Skype

seth wrote:

Sometime there is a delay between my typing and appearing text on the screen, but sometime it does the looping problem.

Can you please elaborate on this? Do you imply the events aren't so super spurious but more a weird reaction to what your fingers did on the keyboard?

Maybe post an annotated debug excerpt.

Offline

#15 2019-11-14 16:06:56

CandyMadmonq
Member
Registered: 2019-11-13
Posts: 19

Re: The keyboard (the touchpad) stops working while calling on Skype

Maybe it depends on a mood of a computer.

When I call with someone w/o the camera or the screen sharing, it works well.
When someone turns the camera (the screen sharing) on, it starts to do weird things.

1) The touchpad sometime works and sometime not (have to turn off with hard reset).
2) The keyboard starts to have big delay.
- I typed "text" and I see it after X seconds.
- But the final word is not "text", but for example "teeeexxt".
3) The typing random letter in loop is probably the one of letter I typed before (just typed, there is no text in text input).
- So I test the keyboard and I typed "test asd", and it shows "teees ddddddddddddddddddddddddddddd (loop)".

The 2) is usually about 10 seconds since calling, then starts 3).

Maybe post an annotated debug excerpt.

Do you mean the log from libinput debug-events?

Last edited by CandyMadmonq (2019-11-14 16:09:34)

Offline

#16 2019-11-14 16:57:48

seth
Member
Registered: 2012-09-03
Posts: 51,055

Re: The keyboard (the touchpad) stops working while calling on Skype

Do you mean the log from libinput debug-events?

Yes.

Your description smells like some key release events are lost, the entire event chain seems messed up (delayed input)
My money is therefore still on the camera input device (bleeding into your regular keyboard input handling), so try to disable that, but also have a close look on resource use (eg. whether your CPU spikes)

The rule would look like

ACTION=="add|change", KERNEL=="event[0-9]*", ENV{ID_VENDOR_ID}=="012a", ENV{ID_MODEL_ID}=="034b", ENV{ID_INPUT}=""

where vendor and product ID should match that of most likely your webcam in "lsusb"

The camera should then (after eg. a reboot) no longer show up as input device in libinput/xinput

Offline

#17 2019-11-14 19:22:33

CandyMadmonq
Member
Registered: 2019-11-13
Posts: 19

Re: The keyboard (the touchpad) stops working while calling on Skype

Next discovering, when I turn the camera (the share screening) on, everything works fine.

Is it still worth trying to disable the camera?

1.P.S. Sorry for misleading above:

No, it also starts when someone else turns the camera on.

2.P.S. And I am sorry I didn't try it before.

Last edited by CandyMadmonq (2019-11-14 19:26:52)

Offline

#18 2019-11-14 22:31:13

CandyMadmonq
Member
Registered: 2019-11-13
Posts: 19

Re: The keyboard (the touchpad) stops working while calling on Skype

Do you think another implementation of Skype could help me?

Last edited by CandyMadmonq (2019-11-14 22:31:58)

Offline

#19 2019-11-14 23:03:30

seth
Member
Registered: 2012-09-03
Posts: 51,055

Re: The keyboard (the touchpad) stops working while calling on Skype

I know next to nothing about skype but am all the more convinced that it's the webcam input device. Did you try to ignore it as input?

Offline

#20 2019-11-15 16:10:35

CandyMadmonq
Member
Registered: 2019-11-13
Posts: 19

Re: The keyboard (the touchpad) stops working while calling on Skype

I still have camera enabled, but I dunno why.

cat /etc/udev/rules.d/80-local.rules

ACTION=="add", KERNEL=="event[0-9]*", ENV{ID_VENDOR_ID}=="04f2", ENV{ID_MODEL_ID}=="b604", ENV{ID_INPUT}=""

There is a output from lsusb:

Bus 001 Device 005: ID 04f2:b604 Chicony Electronics Co., Ltd Integrated Camera (1280x720@30)

And then I load the new rule with udevadm control --reload and reboot the notebook.

What did I do wrong?

Last edited by CandyMadmonq (2019-11-15 16:11:37)

Offline

#21 2019-11-15 16:31:37

seth
Member
Registered: 2012-09-03
Posts: 51,055

Re: The keyboard (the touchpad) stops working while calling on Skype

You omitted the "change" (though no idea whether that's truely the cause)

Offline

#22 2019-11-15 16:58:52

CandyMadmonq
Member
Registered: 2019-11-13
Posts: 19

Re: The keyboard (the touchpad) stops working while calling on Skype

I had ACTION=="add|change" before, but it didn't work as well.

Offline

#23 2019-11-15 20:49:11

seth
Member
Registered: 2012-09-03
Posts: 51,055

Re: The keyboard (the touchpad) stops working while calling on Skype

udevadm info -q all /dev/input/event14

(assuming your webcam is still on 14)

Offline

#24 2019-11-15 21:12:02

CandyMadmonq
Member
Registered: 2019-11-13
Posts: 19

Re: The keyboard (the touchpad) stops working while calling on Skype

Eventually, I did this by disabling the camera in BIOS.

But it still doesn't work.

Any idea?

It works on my old laptot with the same setup like here - so there is probably an problem with bad drivers for hardware, isn't there?

Offline

#25 2019-11-25 01:15:53

CandyMadmonq
Member
Registered: 2019-11-13
Posts: 19

Re: The keyboard (the touchpad) stops working while calling on Skype

I solved my problem with using Web Skype on Google Chrome.

Offline

Board footer

Powered by FluxBB