You are not logged in.
Pages: 1
Hi Guys,
I'm using Arch Linux in a Dell Laptop. I don't use external mouse usually. But today I wanted play some games with my friends so tried to connect an external A4Tech mouse. But it is not working. Mouse is okay and I've used that mouse in windows before. I searched in google and other forums but no solution worked. When I connect mouse in my laptop my touchpad stops working But I can move my cursor using my mouse. But whenever I click my mouse buttons nothing happens. So I checked my xorg log in /var/log/Xorg.0.log after connecting my mouse in my laptop. Here is the log
[ 2364.963] (II) This device may have been added with another device file.
[ 2365.205] (II) config/udev: Adding input device A4Tech USB Mouse (/dev/input/event20)
[ 2365.205] (**) A4Tech USB Mouse: Applying InputClass "evdev pointer catchall"
[ 2365.205] (**) A4Tech USB Mouse: Applying InputClass "libinput pointer catchall"
[ 2365.205] (II) Using input driver 'libinput' for 'A4Tech USB Mouse'
[ 2365.206] (**) A4Tech USB Mouse: always reports core events
[ 2365.206] (**) Option "Device" "/dev/input/event20"
[ 2365.206] (**) Option "_source" "server/udev"
[ 2365.273] (II) event20 - A4Tech USB Mouse: is tagged by udev as: Mouse
[ 2365.273] (II) event20 - A4Tech USB Mouse: device is a pointer
[ 2365.274] (II) event20 - A4Tech USB Mouse: device removed
[ 2365.379] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:14.0/usb1/1-3/1-3:1.0/0003:09DA:C10A.0002/input/input25/event20"
[ 2365.379] (II) XINPUT: Adding extended input device "A4Tech USB Mouse" (type: MOUSE, id 18)
[ 2365.381] (**) Option "AccelerationScheme" "none"
[ 2365.384] (**) A4Tech USB Mouse: (accel) selected scheme none/0
[ 2365.384] (**) A4Tech USB Mouse: (accel) acceleration factor: 2.000
[ 2365.384] (**) A4Tech USB Mouse: (accel) acceleration threshold: 4
[ 2365.452] (II) event20 - A4Tech USB Mouse: is tagged by udev as: Mouse
[ 2365.453] (II) event20 - A4Tech USB Mouse: device is a pointer
[ 2365.457] (II) config/udev: Adding input device A4Tech USB Mouse (/dev/input/event21)
[ 2365.458] (II) No input driver specified, ignoring this device.
[ 2365.458] (II) This device may have been added with another device file.
As per some forums said I xorg.conf with is in /etc/X11/xorg.conf.d. But there is only one config file in in which is 00-keyboard.conf. The content of this config file is
# Read and parsed by systemd-localed. It's probably wise not to edit this file
# manually too freely.
Section "InputClass"
Identifier "system-keyboard"
MatchIsKeyboard "on"
Option "XkbLayout" "us"
EndSection
There is no mouse related config file or anything. What should I do? Do I need to add or change anything? Please help me out.
Thanks a ton
Last edited by Tar3k Hasan (2021-05-06 12:55:08)
Offline
Not sure if this would fix it, but check if `xf86-input-libinput` is installed.
Offline
When I connect mouse in my laptop my touchpad stops working But I can move my cursor using my mouse. But whenever I click my mouse buttons nothing happens.
Does "xev -event button" register clicks?
Can you run "xwininfo" (or does that complain that the pointer can't be grabbed)?
Offline
Not sure if this would fix it, but check if `xf86-input-libinput` is installed.
Yes It is installed.
Offline
When I connect mouse in my laptop my touchpad stops working But I can move my cursor using my mouse. But whenever I click my mouse buttons nothing happens.
Does "xev -event button" register clicks?
Can you run "xwininfo" (or does that complain that the pointer can't be grabbed)?
Well I tried xwininfro and I got the output and it's working. But It does says that "pointer can't be grabbed". I tried to connect my mouse after plugging out my charging adapter. It sometimes works. But sometimes it does some weird work around when I connect the mouse like pasting my clipboard item, freezing in grab mode when I try to move the selected window and sometimes my when I plug in my mouse my touchpad stops working. I can still move the cursor but I can't click with my touchpad when my mouse is plugged in.
But I have still those same lines in /var/log/Xorg.0.log saying
[ 16859.848] (II) config/udev: Adding input device A4Tech USB Mouse (/dev/input/event21)
[ 16859.848] (II) No input driver specified, ignoring this device.
[ 16859.848] (II) This device may have been added with another device file.
Last edited by Tar3k Hasan (2021-05-06 16:32:24)
Offline
It does says that "pointer can't be grabbed"
Good, because that means something™ is currently grabbing it and that's why clicks "don't work".
Run
xdotool key "XF86LogGrabInfo"
and check the tail of your xorg log - it contains all current grabs and something™ will hold an active grab on the pointer and the log will tell you what something™ is.
Offline
Pages: 1