[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#666946: marked as done (eeepc-acpi-scripts: Please use xinput instead of synclient to handle touchpad)



Your message dated Wed, 01 Apr 2020 19:02:55 +0000
with message-id <E1jJidb-0003VK-Ao@fasolo.debian.org>
and subject line Bug#955195: Removed package(s) from unstable
has caused the Debian Bug report #666946,
regarding eeepc-acpi-scripts: Please use xinput instead of synclient to handle touchpad
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
666946: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=666946
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: eeepc-acpi-scripts
Version: 1.1.10
Severity: wishlist


At least when using ASUS x101h eeepc, synclient doesn't actually do anything
as it fails with:

$ synclient -l
Couldn't find synaptics properties. No synaptics driver loaded?

At the same time, it looks like that using xinput is actually the way of
handling input devices in current stable xserver-xorg, and using it allows
toggling touchpad and camera of x101h.

Patch attached to this bug report works for me, but obviously introduces an
extra dependency to eeepc-acpi-scripts.

-- System Information:
Debian Release: 6.0.4
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: i386 (i686)

Kernel: Linux 3.2.0-0.bpo.2-686-pae (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages eeepc-acpi-scripts depends on:
ii  acpi-support-base      0.137-5           scripts for handling base ACPI eve
ii  acpid                  1:2.0.7-1squeeze3 Advanced Configuration and Power I
ii  pm-utils               1.3.0-3           utilities and scripts for power ma
ii  rfkill                 0.4-1             tool for enabling and disabling wi

Versions of packages eeepc-acpi-scripts recommends:
ii  alsa-utils                    1.0.23-3   Utilities for configuring and usin

Versions of packages eeepc-acpi-scripts suggests:
pn  aosd-cat       <none>                    (no description available)
pn  gnome-osd      <none>                    (no description available)
ii  ttf-dejavu     2.31-1                    Metapackage to pull in ttf-dejavu-
ii  ttf-liberation 1.05.2.20091019-4squeeze1 Fonts with the same metrics as Tim

-- Configuration Files:

-- no debconf information

--- a/etc/acpi/lib/touchpad.sh	2012-04-02 23:23:50.824472826 +0400
+++ b/etc/acpi/lib/touchpad.sh	2012-04-02 23:15:40.718042504 +0400
@@ -6,8 +6,13 @@
 
 toggle_touchpad()
 {
-    local STATE
-    STATE="$(synclient -l 2>/dev/null | sed -e '/TouchpadOff/! d; s/[^0-9]\+//g')"
-    synclient TouchpadOff=$((1-STATE)) 2>/dev/null || return 2
+	local DEV=`xinput list | grep Pad | cut -d= -f2 | cut -c1,2`
+	[ -z "$DEV" ] && exit 2
+
+	local STATE=`xinput list-props $DEV | grep "Device Enabled" | sed -nr 's/.*([0-9])$/\1/p'`
+	[ -z "$STATE" ] && exit 2
+
+	xinput set-prop $DEV "Device Enabled" $((1-$STATE))
+
     return $((1-STATE))
 }

--- End Message ---
--- Begin Message ---
Version: 1.1.14+rm

Dear submitter,

as the package eeepc-acpi-scripts has just been removed from the Debian archive
unstable we hereby close the associated bug reports.  We are sorry
that we couldn't deal with your issue properly.

For details on the removal, please see https://bugs.debian.org/955195

The version of this package that was in Debian prior to this removal
can still be found using http://snapshot.debian.org/.

Please note that the changes have been done on the master archive and
will not propagate to any mirrors until the next dinstall run at the
earliest.

This message was generated automatically; if you believe that there is
a problem with it please contact the archive administrators by mailing
ftpmaster@ftp-master.debian.org.

Debian distribution maintenance software
pp.
Scott Kitterman (the ftpmaster behind the curtain)

--- End Message ---

Reply to: