helloSystem / ISO

helloSystem Live and installation ISO
https://github.com/helloSystem/
BSD 3-Clause "New" or "Revised" License
807 stars 58 forks source link

USB Mouse and touchpad doesn't work, Lenovo Ideapad S340 #129

Open chdslv opened 3 years ago

chdslv commented 3 years ago

The iso boots into live mode, but neither mouse nor touchpad work. Cursor stays in the middle. hello-0.4.0_0D26-FreeBSD-12.1-amd64, Lenovo Ideapad S340 14" i5 10th gen.

probonopd commented 3 years ago

hello @chdslv

Thanks for testing.

Do you know which hardware the Lenovo Ideapad S340 14" i5 10th gen. is using for the touchpad? If you like, please run the Hardware Probe utility and upload a probe.

I read on https://www.reddit.com/r/linuxhardware/comments/eckia9/lenovo_ideapad_s340_intel_not_recognizing/:

I successfully made the touchpad work on my S340-14IIL. Enter BIOS setup and under boot menu, change the boot mode from "Legacy Support" one to "UEFI" one. After that, the touchpad appears connected via I2C.

Can you please try this?

This ticket may or may not be related to https://github.com/helloSystem/ISO/issues/120 (iichid)

chdslv commented 3 years ago

Touchpad works well with Windows and all Linux distros. Also works with Fusuma additional touch actions, such as swipe, pinch etc. Hw-probe states that it is unknown, but it could be either Synaptic or Elan. At Lenovo forums, there is a question that was never really answered. Anyway, here is the probe.

probonopd commented 3 years ago

This is interesting - at least on Ubuntu, your touchpad is recognized as a PS/2 device:

PS/2 | ps/2:7f28-7f28-msft0004-00-06cb-touchpad » | 7F28 | MSFT0004:00 06CB:Touchpad | touchpad | - | detected

Unfortunately this does not tell us the manufacturer of the touchpad.

chdslv commented 3 years ago

It is the same in Windows, in Arch, and in Ubuntu, touchpad is seen as a mouse, and it works very well. The boot mode is UEFI from the beginning.

probonopd commented 3 years ago

Right now I have no idea why FreeBSD would not recognize a PS/2 mouse, but in case anyone knows please leave a comment here.

Does it work on, say, NomadBSD?

chdslv commented 3 years ago

No, it also doesn't work on NomadBSD, the cursor simply stays in the middle. While trying to search why, I found this in freeBSD forums. I don't know anything about BSD, btw.

probonopd commented 3 years ago

What does sudo ps ax | grep moused say?

chdslv commented 3 years ago

I am using an Arch based distro atm. `sudo ps ax | grep moused

2525 pts/1 S+ 0:00 grep moused`

chdslv commented 3 years ago

I hope this bug would be corrected in the next release. I'd like to test this system.

probonopd commented 3 years ago

I found a Hardware Probe from a FreeBSD (not helloSystem) Ideapad S340:

http://bsd-hardware.info/?probe=b6ae43880d

It shows ps/2:keyboard but no PS/2 mouse/trackpad. Could it be that the trackpad is using i2c? If yes, then it not being detected might be caused by a known iichid related issue.

chdslv commented 3 years ago

Tried this one too - hello-0.5.0_0E7-FreeBSD-12.2-amd64, and the problem persists. Just can't use it without the mouse or touchpad working.

probonopd commented 3 years ago

Nothing was changed recently regarding mouse/trackpad. We need to know whether the model inside your notebook is using i2c, then it is the well-known iichid issue and can probably be made work.

Can you try whether it works in NomadBSD and/or GhostBSD please? If it does, then plase upload a Hardware Probe from that system. Thanks!

chdslv commented 3 years ago

Nothing was changed recently regarding mouse/trackpad. We need to know whether the model inside your notebook is using i2c, then it is the well-known iichid issue and can probably be made work.

Can you try whether it works in NomadBSD and/or GhostBSD please? If it does, then plase upload a Hardware Probe from that system. Thanks!

No it doesn't work with both NomadBSD and/or GhostBSD, the cursor stays in the middle. How to find if the notebook uses i2c?

probonopd commented 3 years ago

Run on e.g., an Ubuntu Live ISO and submit a probe to https://linux-hardware.org/ if it works there.

chdslv commented 3 years ago

The probe is in this post.

chdslv commented 3 years ago

How to get to the tty in this distro?

chdslv commented 3 years ago

What does sudo ps ax | grep moused say? Got to the terminal through Ctrl+Alt+T tried to get a reply. IMG_20210220_181202 The cursor is stuck in the middle.

probonopd commented 3 years ago

It's probably easiest to use a USB mouse for the debugging.

With Alt-Tab you should be able to get to the terminal window.

chdslv commented 3 years ago

It is a USB mouse, not a PS/2 Mouse. You mentioned that the laptop/system thinks it is a PS/2 mouse. I am changing the title. The FreeBSD forums are full of this kind of problems. I don't understand how FreeBSD works. I am trying in the live mode.

probonopd commented 3 years ago

Please retry with the latest experimental build of the ISO (0E30 or later), thanks.

chdslv commented 3 years ago

I tried the latest iso. It took a long time booting live. No change. Cursor is still stuck in the middle of the screen.

probonopd commented 3 years ago

Cursor is still stuck in the middle of the screen.

Synaptics and Elan touchpads using i2c (iichid) seem to be working in the latest experimental build; your touchpad seems to fall into another category.

No it doesn't work with both NomadBSD and/or GhostBSD, the cursor stays in the middle.

Since apparently none of the other main FreeBSD live systems have working autodetection, I am clueless as to how to make it work, especially since I don't have matching hardware to test with. As much as I would like to make this work, I don't know how to.

If you can get your touchpad to work on "pure" FreeBSD (the community in the FreeBSD forums and IRC are usually very helpful), then please do let us know how.

Possibly related to https://github.com/helloSystem/ISO/issues/120#issuecomment-797695549 but probably not since you were experiencing the same issue in 0E7 already when iichid was not loaded.

chdslv commented 3 years ago

This is what I found about this touchpad, hope it might help. `$ dmesg |grep input

MSFT0004:00 06CB:7F28 Touchpad as /devices/pci0000:00/0000:00:15.0/i2c_designware.0/i2c-1/i2c-MSFT0004:00/0018:06CB:7F28.0001/input/input16`

$ xinput list ⎡ Virtual core pointer id=2 [master pointer (3)] ⎜ ↳ Virtual core XTEST pointer id=4 [slave pointer (2)] ⎜ ↳ Newmen Tech.,LTD 2.4G Wireless Mouse Consumer Control id=9 [slave pointer (2)] ⎜ ↳ Newmen Tech.,LTD 2.4G Wireless Mouse id=11 [slave pointer (2)] ⎜ ↳ MSFT0004:00 06CB:7F28 Mouse id=13 [slave pointer (2)] ⎜ ↳ MSFT0004:00 06CB:7F28 Touchpad id=14 [slave pointer (2)] I have no ideas about FreeBSD, just trying help out by testing your iso in live mode. :)

probonopd commented 3 years ago

i2c_designware.0/i2c-1/i2c-MSFT0004

So it is an i2c device after all.

https://lists.freebsd.org/pipermail/freebsd-questions/2017-December/280239.html seems to be related.

Related?

chdslv commented 3 years ago

^^ I wouldn't know what to do with all that info, for I am not used to FreeBSD. If you can include the solution in your iso, I'd test it, live and on bare metal. Mouse doesn't work too, by the way.

probonopd commented 3 years ago

I haven't figured out what all this means yet. Merely posted this in the hope that a skilled FreeBSD developer reads this.

chdslv commented 3 years ago

Tried today hello-0.5.0_0E223-FreeBSD-12.2-amd64.iso live, but the problem persists, the cursor stays in the middle.

probonopd commented 3 years ago

Yes, as I said, I haven't figured out what all this means yet.

chdslv commented 3 years ago

Hope you do. :) I'd like to check your distro, but I have only this laptop.

probonopd commented 1 year ago

@chdslv when booting the Live ISO, it takes up to ~1 minute after the desktop appears for the mouse to be operational, because drivers are still being loaded.