Comment 36 for bug 1372609

Revision history for this message
Mikael Muszynski (linduxed) wrote : Re: [Bug 1372609] Re: Touchpad detected as mouse on Asus ux303ln laptop

serio4 was indeed the device for which the program worked.

All five fingers are registered and give plenty of output.

What would the steps be to make this translate into cursor movement and button
presses? Currently this eats all of the input and transforms it into console
output, as far as I can see.

On 2014-10-19 16:14, Mathias Gottschlag wrote:
> Try sudo ./init /dev/serio_raw0.
>
> I'll add a comment about that in the usage section. That device file should
> be created if you switch a device to serio_raw (serio4 here!).
> Am 19.10.2014 16:10 schrieb "linduxed" <email address hidden>:
>
>> First of all, thanks a lot for the effort to give us a solution to this
>> problem!
>>
>> I'd like to verify that it works on my UX303LN. I went ahead and compiled
>> the
>> code and tried echoing in "serio_raw" into one of the
>> /sys/bus/serio/devices/serio*/drvctl, but got stuck on the following:
>>
>> $ sudo ./init /sys/bus/serio/devices/serio1/
>> Could not open /sys/bus/serio/devices/serio1/. Check that the program is
>> run
>> with the required privileges and that the file exists.
>> open: Is a directory
>>
>> What file does the program want as its argument?
>>
>> On 2014-10-19 15:19, Mathias Gottschlag wrote:
>>> ... that went quicker than expected. The link above now contains a
>>> mostly complete parser for the packet stream that (afaics) gives the
>>> correct finger position for up to 5 fingers, as well as information
>>> about touchpad clicks.
>>>
>>
>> --
>> You received this bug notification because you are subscribed to the bug
>> report.
>> https://bugs.launchpad.net/bugs/1372609
>>
>> Title:
>> Touchpad detected as mouse on Asus ux303ln laptop
>>
>> Status in “linux” package in Ubuntu:
>> Confirmed
>>
>> Bug description:
>> Hi! I'm following the bug reporting documentation here:
>>
>>
>> https://wiki.ubuntu.com/DebuggingTouchpadDetection#In_case_Touchpad_features_like_scrolling.2C_tapping.2C_etc._do_not_work_at_all
>> .
>>
>> The touchpad on my new Asus ux303ln laptop is detected as a mouse, so
>> I can't access touchpad features such as two-finger scrolling.
>>
>> The laptop was very recently released and I couldn't find any
>> outstanding firmware updates for it through Asus's Windows-based
>> tools.
>>
>> % lsb_release -rd
>> Description: Ubuntu 14.04.1 LTS
>> Release: 14.04
>>
>> Per the instructions on the wiki, I'm attaching output from
>> /proc/bus/input/devices,` xinput --list`, and /var/log/Xorg.0.log.
>>
>> This machine also has a touchscreen, which I'm fairly certain is the
>> "maXtouch digitizer" visible in the logs. I haven't yet restarted in
>> Windows to see if it says anything useful about the touchpad, but I
>> can do so if that's helpful. This is a fresh install of 14.04 and I
>> haven't done much customization of it apart from installing some
>> applications and changing the default resolution.
>>
>> The only relevant bit I noticed in /var/log/dmesg is this:
>>
>> [ 3.967547] input: PS/2 Logitech Wheel Mouse as
>> /devices/platform/i8042/serio4/input/input11
>>
>> ProblemType: Bug
>> DistroRelease: Ubuntu 14.04
>> Package: linux-image-3.13.0-35-generic 3.13.0-35.62
>> ProcVersionSignature: Ubuntu 3.13.0-35.62-generic 3.13.11.6
>> Uname: Linux 3.13.0-35-generic x86_64
>> ApportVersion: 2.14.1-0ubuntu3.4
>> Architecture: amd64
>> AudioDevicesInUse:
>> USER PID ACCESS COMMAND
>> /dev/snd/controlC0: tim 2234 F.... pulseaudio
>> /dev/snd/controlC1: tim 2234 F.... pulseaudio
>> CurrentDesktop: Unity
>> Date: Mon Sep 22 14:30:33 2014
>> HibernationDevice: RESUME=UUID=e6052f15-271a-4424-aac2-9b0ee1e490ed
>> InstallationDate: Installed on 2014-09-22 (0 days ago)
>> InstallationMedia: Ubuntu 14.04.1 LTS "Trusty Tahr" - Release amd64
>> (20140722.2)
>> Lsusb:
>> Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
>> Bus 001 Device 003: ID 03eb:8a32 Atmel Corp.
>> Bus 001 Device 002: ID 064e:9700 Suyin Corp.
>> Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
>> MachineType: ASUSTeK COMPUTER INC. UX303LN
>> ProcFB: 0 inteldrmfb
>> ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-3.13.0-35-generic.efi.signed
>> root=UUID=4f908b1b-e06f-4dc9-9642-e952d2598e42 ro quiet splash vt.handoff=7
>> RelatedPackageVersions:
>> linux-restricted-modules-3.13.0-35-generic N/A
>> linux-backports-modules-3.13.0-35-generic N/A
>> linux-firmware 1.127.6
>> SourcePackage: linux
>> UpgradeStatus: No upgrade log present (probably fresh install)
>> dmi.bios.date: 06/23/2014
>> dmi.bios.vendor: American Megatrends Inc.
>> dmi.bios.version: UX303LN.203
>> dmi.board.asset.tag: ATN12345678901234567
>> dmi.board.name: UX303LN
>> dmi.board.vendor: ASUSTeK COMPUTER INC.
>> dmi.board.version: 1.0
>> dmi.chassis.asset.tag: No Asset Tag
>> dmi.chassis.type: 10
>> dmi.chassis.vendor: ASUSTeK COMPUTER INC.
>> dmi.chassis.version: 1.0
>> dmi.modalias:
>> dmi:bvnAmericanMegatrendsInc.:bvrUX303LN.203:bd06/23/2014:svnASUSTeKCOMPUTERINC.:pnUX303LN:pvr1.0:rvnASUSTeKCOMPUTERINC.:rnUX303LN:rvr1.0:cvnASUSTeKCOMPUTERINC.:ct10:cvr1.0:
>> dmi.product.name: UX303LN
>> dmi.product.version: 1.0
>> dmi.sys.vendor: ASUSTeK COMPUTER INC.
>>
>> To manage notifications about this bug go to:
>> https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1372609/+subscriptions
>>
>