You are not logged in.
Pages: 1
Topic closed
Hi,
I am using Dell Laptop with Arch Linux. It is up to date. And I have a a4tech mouse. The problem is I need to unplug and replug it after reboot in order it to work? Anyone know how to solve this issue? Possibly nesessary info:
[yasar@yasar_laptop ~]$ lsusb
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 003: ID 0951:1603 Kingston Technology DataTraveler 1GB/2GB Pen Drive
Bus 002 Device 003: ID 09da:000a A4 Tech Co., Ltd Port Mouse
Yo Dawg, I heard you likes patches, so I have created a patch for your patch, so you can patch your patches before you patch.
Offline
Do you have legacy USB option set in your BIOS?
zʇıɹɟʇıɹʞsuɐs AUR || Cycling in Budapest with a helmet camera || Revised log levels proposal: "FYI" "WTF" and "OMG" (John Barnette)
Offline
Offline
Hi,
Possibly nesessary info:
...
Was that before, or after you un-plugged re-plugged?
If it was after, what does it look like before? (I'm trying to determine is a low level problem (kernel) or higher level (udev / Xorg)
Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
Sometimes it is the people no one can imagine anything of who do the things no one can imagine. -- Alan Turing
---
How to Ask Questions the Smart Way
Offline
Additional finding: Even before I replug and unplug, when I issue "cat /dev/input/mouse1" and move mouse around, I get weird symbols flowing around as it supposed to, but cursor doesn't move. My touchpad works regardlessly (I am not sure if there is such a word though )
[yasar@yasar_laptop xorg.conf.d]$ cat 10-evdev.conf
#
# Catch-all evdev loader for udev-based systems
# We don't simply match on any device since that also adds accelerometers
# and other devices that we don't really want to use. The list below
# matches everything but joysticks.
Section "InputClass"
Identifier "evdev pointer catchall"
MatchIsPointer "on"
MatchDevicePath "/dev/input/event*"
Driver "evdev"
EndSection
Section "InputClass"
Identifier "evdev keyboard catchall"
MatchIsKeyboard "on"
MatchDevicePath "/dev/input/event*"
Driver "evdev"
Option "XkbLayout" "tr"
EndSection
Section "InputClass"
Identifier "evdev touchpad catchall"
MatchIsTouchpad "on"
MatchDevicePath "/dev/input/event*"
Driver "evdev"
EndSection
Section "InputClass"
Identifier "evdev tablet catchall"
MatchIsTablet "on"
MatchDevicePath "/dev/input/event*"
Driver "evdev"
EndSection
Section "InputClass"
Identifier "evdev touchscreen catchall"
MatchIsTouchscreen "on"
MatchDevicePath "/dev/input/event*"
Driver "evdev"
EndSection
Do you have legacy USB option set in your BIOS?
I don't have such an option in my bios. But something called usb emulation is open.
@Karol
That bug seems like unresolved, since it doesn't provide a viable solution yet.
@ewaller
Before unplug-replug
[yasar@yasar_laptop ~]$ lsusb
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 003: ID 0951:1603 Kingston Technology DataTraveler 1GB/2GB Pen Drive
Bus 002 Device 002: ID 09da:000a A4 Tech Co., Ltd Port Mouse
After unplug-replug:
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 003: ID 0951:1603 Kingston Technology DataTraveler 1GB/2GB Pen Drive
Bus 002 Device 003: ID 09da:000a A4 Tech Co., Ltd Port Mouse
Yo Dawg, I heard you likes patches, so I have created a patch for your patch, so you can patch your patches before you patch.
Offline
Also, there is a strong possibility that I misconfigured something, since I am new to arch linux and manual configuration of system, therefore I am posting maybe related stuff here:
[yasar@yasar_laptop etc]$ cat /etc/inittab
id:5:initdefault:
rc::sysinit:/etc/rc.sysinit
rs:S1:wait:/etc/rc.single
rm:2345:wait:/etc/rc.multi
rh:06:wait:/etc/rc.shutdown
su:S:wait:/sbin/sulogin -p
c1:2345:respawn:/sbin/agetty -8 38400 tty1 linux
c2:2345:respawn:/sbin/agetty -8 38400 tty2 linux
ca::ctrlaltdel:/sbin/shutdown -t3 -r now
x:5:respawn:/usr/bin/slim
Some parts from /etc/rc.conf
MODULES=()
DAEMONS=(syslog-ng dbus @networkmanager @crond @alsa)
My xinitrc file:
[yasar@yasar_laptop ~]$ cat .xinitrc
if [ -d /etc/X11/xinit/xinitrc.d ]; then
for f in /etc/X11/xinit/xinitrc.d/*; do
[ -x "$f" ] && . "$f"
done
unset f
fi
exec ck-launch-session startlxde
Yo Dawg, I heard you likes patches, so I have created a patch for your patch, so you can patch your patches before you patch.
Offline
Well, that /dev/input/mouse exists, and that lsusb sees it, it isn't a kernel or udev problem. Xorg configuration is not my forte'. I'm out...
Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
Sometimes it is the people no one can imagine anything of who do the things no one can imagine. -- Alan Turing
---
How to Ask Questions the Smart Way
Offline
Any ideas? This is still unresolved...
Yo Dawg, I heard you likes patches, so I have created a patch for your patch, so you can patch your patches before you patch.
Offline
Check the last post :
https://bbs.archlinux.org/viewtopic.php?id=117274
Shaika-Dzari
http://www.4nakama.net
Offline
I found this post:
https://bbs.archlinux.org/viewtopic.php?id=149888
It looks like this problem affects powertop users, who have created a systemd service that runs powertop on boot and sets power saving on for all devices, as per the instructions of the Wiki:
https://wiki.archlinux.org/index.php/po … y_settings
Some external USB mice, however, don't like this and turn themselves off. When you unplug and re-plug them, of course, they start working again, as powertop's auto tuning only runs on boot.
I managed to fix this by modifying my powertop service to run an extra script:
# cat /etc/systemd/system/powertop.service
[Unit]
Description=Powertop tunings
[Service]
Type=oneshot
ExecStart=/usr/bin/powertop --auto-tune
ExecStart=/usr/local/sbin/powertop-exclude-mouse
[Install]
WantedBy=multi-user.target
# cat /usr/local/sbin/powertop-exclude-mouse
#!/bin/bash
# Exclude USB mouse from powertop tunables
echo 'on' > '/sys/bus/usb/devices/1-3/power/control'
echo 'USB mouse excluded from powertop tuneables'
exit 0
Note that this is a quick and dirty solution that simply excludes USB device 1-3, which happens to be the USB mouse on my computer. You'll have to find your own device number and modify the script accordingly, for this to work for you.
Or, perhaps, someone can write a more intelligent script.
Offline
Thanks for the potentially valid contribution, however please pay attention to the dates and don't necrobump 6 respectively 2 year old threads.
https://wiki.archlinux.org/index.php/Co … bumping.22
Closing.
Offline
Pages: 1
Topic closed