Bug 24891 - CI installer does not identify (Chromebook) Acer c710 touch mouse pad
Summary: CI installer does not identify (Chromebook) Acer c710 touch mouse pad
Status: RESOLVED FIXED
Alias: None
Product: Mageia
Classification: Unclassified
Component: Installer (show other bugs)
Version: 7
Hardware: All Linux
Priority: release_blocker normal
Target Milestone: ---
Assignee: Martin Whitaker
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-06-01 10:35 CEST by Ben McMonagle
Modified: 2019-06-06 09:27 CEST (History)
3 users (show)

See Also:
Source RPM:
CVE:
Status comment:


Attachments
install report.bug.xz (216.87 KB, application/x-xz)
2019-06-01 10:36 CEST, Ben McMonagle
Details
output of dmesg (47.63 KB, text/plain)
2019-06-01 10:45 CEST, Ben McMonagle
Details
report.bug from stage 2 using above net-install.iso, at keyboard selection - no mouse pointer operation (110.20 KB, text/plain)
2019-06-02 07:17 CEST, Ben McMonagle
Details
libinput-devices output (4.61 KB, text/plain)
2019-06-04 08:45 CEST, Ben McMonagle
Details
output of /sbin/lsmod (7.52 KB, text/plain)
2019-06-05 09:10 CEST, Ben McMonagle
Details

Description Ben McMonagle 2019-06-01 10:35:12 CEST
Description of problem: During installation of CI onto Acer C710, with seaBIOS, touch pad / mousepad cannot be used. installation navigation is by keyboard or external mouse


Version-Release number of selected component (if applicable):
ISO Name: Mageia-7-rc-x86_64
DATE.txt: Mon May 27 17:50:29 CEST 2019

How reproducible: always


Steps to Reproduce:
1.install above .iso into (Chromebook) Acer C710 with SeaBIOS
2.
3.
Comment 1 Ben McMonagle 2019-06-01 10:36:23 CEST
Created attachment 11048 [details]
install report.bug.xz
Comment 2 Ben McMonagle 2019-06-01 10:45:12 CEST
Created attachment 11049 [details]
output of dmesg
Comment 3 Martin Whitaker 2019-06-01 15:57:14 CEST
From dmesg:

[   18.609563] input: Cypress APA Trackpad (cyapa) as /devices/pci0000:00/0000:00:1f.3/i2c-7/7-0067/input/input4

I'd guess the driver module for that is

  kernel/drivers/input/mouse/cyapatp.ko.xz

which isn't included in the installer.

CC: (none) => mageia

Dave Hodgins 2019-06-01 19:10:07 CEST

Priority: Normal => release_blocker
CC: (none) => davidwhodgins

Comment 4 Martin Whitaker 2019-06-01 19:22:01 CEST
Should be fixed in drakx-installer-images-2.63-1.

Ben, please try one of the new netinstall images when it reaches the mirrors.

Status: NEW => ASSIGNED
Assignee: bugsquad => mageia

Comment 5 Ben McMonagle 2019-06-02 07:13:42 CEST
 tried this one from 
http://distrib-coffee.ipsl.jussieu.fr/pub/linux/Mageia/distrib/7:

Mageia-7-netinstall-..>	2019-06-01 19:18 	80M.

no improvement.
Comment 6 Ben McMonagle 2019-06-02 07:17:48 CEST
Created attachment 11050 [details]
report.bug from stage 2 using above net-install.iso, at keyboard selection - no mouse pointer operation
Comment 7 Thierry Vignaud 2019-06-02 20:10:44 CEST
Can you attach (note paste) the output of:
 sudo libinput list-devices > /tmp/libinput-devices.txt

Keywords: (none) => NEEDINFO
CC: (none) => thierry.vignaud

Comment 8 Thierry Vignaud 2019-06-02 20:13:04 CEST
Also, is the dmesg output in comment #2 is from the installer or the installed system?
Comment 9 Thierry Vignaud 2019-06-02 20:13:52 CEST
(In reply to Thierry Vignaud from comment #7)
> Can you attach (note paste) the output of:
>  sudo libinput list-devices > /tmp/libinput-devices.txt

On the installed system (not during install) of course.
Comment 10 Ben McMonagle 2019-06-03 02:30:30 CEST
(In reply to Thierry Vignaud from comment #8)
> Also, is the dmesg output in comment #2 is from the installer or the
> installed system?

from installed system.
Comment 11 Ben McMonagle 2019-06-03 02:34:04 CEST
(In reply to Thierry Vignaud from comment #7)
> Can you attach (note paste) the output of:
>  sudo libinput list-devices > /tmp/libinput-devices.txt

$ sudo libinput list-devices > /tmp/libinput-devices.txt
[sudo] password for *****: 
***** is not in the sudoers file.  This incident will be reported.

returns an empty file
Comment 12 Thierry Vignaud 2019-06-03 04:56:25 CEST
Use:
su -
libinput list-devices > /tmp/libinput-devices.txt
Comment 13 Ben McMonagle 2019-06-03 05:58:17 CEST
(In reply to Thierry Vignaud from comment #12)
> Use:
> su -
> libinput list-devices > /tmp/libinput-devices.txt

[root@localhost ~]# libinput list-devices > /tmp/libinput-devices.txt
-bash: libinput: command not found


creates an empty .txt file.

hmmm
Comment 14 Martin Whitaker 2019-06-03 09:58:22 CEST
You'll need to install the libinput-tools package to satisfy Thierry's request.

Could you boot from the netinstall ISO again, and when you get to the installer GUI, switch to the debug shell (Ctrl-Alt-F2) and run the command

  modprobe cyapatp

Does this report any errors? ('dmesg' may provide more information if so)

If successful, does 'dmesg' now show a line like

input: Cypress APA Trackpad (cyapa) as /devices/pci0000:00/0000:00:1f.3/i2c-7/7-0067/input/input4

and if you switch back to the GUI (Ctrl-Alt-F7), does the touchpad now work?
Comment 15 Thierry Vignaud 2019-06-03 10:09:58 CEST
"urpmf libinput" is your friend
Just run "urpmi libinput" as root
Comment 16 Ben McMonagle 2019-06-04 08:36:26 CEST
 
# urpmi --auto-update
    http://mirror.aarnet.edu.au/pub/mageia/distrib/7/x86_64/media/core/release/media_info/20190602-175341-synthesis.hdlist.cz
updated medium "Core Release (distrib1)"                                                                                          
medium "Core Updates (distrib3)" is up-to-date
    http://mirror.aarnet.edu.au/pub/mageia/distrib/7/x86_64/media/nonfree/release/media_info/20190602-180832-synthesis.hdlist.cz
updated medium "Nonfree Release (distrib11)"                                                                                      
medium "Nonfree Updates (distrib13)" is up-to-date
medium "Tainted Release (distrib21)" is up-to-date
medium "Tainted Updates (distrib23)" is up-to-date
    http://mirror.aarnet.edu.au/pub/mageia/distrib/7/i586/media/core/release/media_info/20190602-175539-synthesis.hdlist.cz
updated medium "Core 32bit Release (distrib31)"                                                                                   
medium "Core 32bit Updates (distrib32)" is up-to-date
    http://mirror.aarnet.edu.au/pub/mageia/distrib/7/i586/media/nonfree/release/media_info/20190602-180829-synthesis.hdlist.cz
updated medium "Nonfree 32bit Release (distrib36)"                                                                                
medium "Nonfree 32bit Updates (distrib37)" is up-to-date
medium "Tainted 32bit Release (distrib41)" is up-to-date
medium "Tainted 32bit Updates (distrib42)" is up-to-date

#  urpmi libinput
No package named libinput
Comment 17 Ben McMonagle 2019-06-04 08:45:59 CEST
Created attachment 11057 [details]
libinput-devices output
Comment 18 Ben McMonagle 2019-06-04 09:09:40 CEST
(In reply to Martin Whitaker from comment #14)
> You'll need to install the libinput-tools package to satisfy Thierry's
> request.

done, thanks

> 
> Could you boot from the netinstall ISO again, and when you get to the
> installer GUI, switch to the debug shell (Ctrl-Alt-F2) and run the command
> 
>   modprobe cyapatp
> 
> Does this report any errors? ('dmesg' may provide more information if so)

no  

> 
> If successful, does 'dmesg' now show a line like
> 
> input: Cypress APA Trackpad (cyapa) as
> /devices/pci0000:00/0000:00:1f.3/i2c-7/7-0067/input/input4

exported "bug "to a usb stick, searched it under kwrite for "cypress"- none found
tried "cyapatp"

these are the only 2 entries I found:

* lsmod
********************************************************************************
fuse 122880 2 - Live 0xffffffffc06df000
dm_zero 16384 0 - Live 0xffffffffc063c000
dm_mirror 28672 0 - Live 0xffffffffc06c0000
dm_region_hash 16384 1 dm_mirror, Live 0xffffffffc0637000
dm_log 20480 2 dm_mirror,dm_region_hash, Live 0xffffffffc0631000
dm_mod 151552 3 dm_zero,dm_mirror,dm_log, Live 0xffffffffc069a000
cyapatp 73728 0 - Live 0xffffffffc0687000
crc_itu_t 16384 1 cyapatp, Live 0xffffffffc05a4000
af_packet 49152 0 - Live 0xffffffffc067a000
psmouse 176128 0 - Live 0xffffffffc064e000

> 
> and if you switch back to the GUI (Ctrl-Alt-F7), does the touchpad now work?

no
Comment 19 Martin Whitaker 2019-06-04 22:44:31 CEST
There must still be something missing, but what?

Could you attach the output from /sbin/lsmod in the installed system.

Sorry this is turning into a game of Twenty Questions!
Comment 20 Ben McMonagle 2019-06-05 09:09:46 CEST
(In reply to Martin Whitaker from comment #19)
> There must still be something missing, but what?
> 
> Could you attach the output from /sbin/lsmod in the installed system.
> 
> Sorry this is turning into a game of Twenty Questions!

as I mentioned in the o/p, limited market (maybe) so shouldnt be a release blocker.
in saying that, it is a really nice little unit to use, so maybe in greater use than I think.
(am looking at getting a Acer Travelmate B113 to compare, ex-windows)
Comment 21 Ben McMonagle 2019-06-05 09:10:34 CEST
Created attachment 11061 [details]
output of /sbin/lsmod
Comment 22 Martin Whitaker 2019-06-05 09:45:17 CEST
Ah, looks like chromeos_laptop is the missing piece. From the kernel driver description:

This driver instantiates i2c and smbus devices such as light sensors and touchpads.

Keywords: NEEDINFO => (none)

Comment 23 Thierry Vignaud 2019-06-05 11:36:17 CEST
(In reply to ben mcmonagle from comment #20)
At least most touchpads can now be used with installer, unlike when we were using the evdev driver (actually since Mageia 6) (after a brief cople months with evdev+synaptics) .

(In reply to Martin Whitaker from comment #22)
Looks like you got a nice catch :-)
Which means, we might want to add more platform drivers in the future (which we don't until now...)
Comment 24 Martin Whitaker 2019-06-05 21:39:27 CEST
Please test the new netinstall image when drakx-installer-images-2.64-1 reaches your mirror.
Comment 25 Ben McMonagle 2019-06-06 08:15:12 CEST
dah dah dahhhhh.....

success

closing as fixed

thanks Martin

Status: ASSIGNED => RESOLVED
Resolution: (none) => FIXED

Comment 26 Martin Whitaker 2019-06-06 09:27:05 CEST
Thanks for all the testing Ben.

Note You need to log in before you can comment on or make changes to this bug.