hugegreenbug / xf86-input-cmt

X11 ChromiumOS touchpad driver ported to Linux
BSD 3-Clause "New" or "Revised" License
82 stars 15 forks source link

Touchpad not showing up on c720p #13

Open outofpapaer opened 9 years ago

outofpapaer commented 9 years ago

Fresh install of ElementryOS for c720 worked flawlessly on on c720p but not my second machine. I've tried both with kernal's 3.19 and 3.17. Nether kernal is results in the touchpad showing up in the xinput -list.

Virtual core pointer id=2 [master pointer (3)] ⎜ ↳ Virtual core XTEST pointer id=4 [slave pointer (2)] ⎜ ↳ Atmel maXTouch Touchscreen id=12 [slave pointer (2)] ⎣ Virtual core keyboard id=3 [master keyboard (2)] ↳ Virtual core XTEST keyboard id=5 [slave keyboard (3)] ↳ Power Button id=6 [slave keyboard (3)] ↳ Video Bus id=7 [slave keyboard (3)] ↳ Power Button id=8 [slave keyboard (3)] ↳ Sleep Button id=9 [slave keyboard (3)] ↳ Sleep Button id=10 [slave keyboard (3)] ↳ HD WebCam id=11 [slave keyboard (3)] ↳ AT Translated Set 2 keyboard id=13 [slave keyboard (3)]

hugegreenbug commented 9 years ago

Is the cyapa module loaded? What does dmesg say? What about /var/log/Xorg.0.log?

On Wednesday, July 15, 2015, outofpapaer notifications@github.com wrote:

Fresh install of ElementryOS for c720 worked flawlessly on on c720p but not my second machine. I've tried both with kernal's 3.19 and 3.17. Nether kernal is results in the touchpad showing up in the xinput -list.

Virtual core pointer id=2 [master pointer (3)] ⎜ ↳ Virtual core XTEST pointer id=4 [slave pointer (2)] ⎜ ↳ Atmel maXTouch Touchscreen id=12 [slave pointer (2)] ⎣ Virtual core keyboard id=3 [master keyboard (2)] ↳ Virtual core XTEST keyboard id=5 [slave keyboard (3)] ↳ Power Button id=6 [slave keyboard (3)] ↳ Video Bus id=7 [slave keyboard (3)] ↳ Power Button id=8 [slave keyboard (3)] ↳ Sleep Button id=9 [slave keyboard (3)] ↳ Sleep Button id=10 [slave keyboard (3)] ↳ HD WebCam id=11 [slave keyboard (3)] ↳ AT Translated Set 2 keyboard id=13 [slave keyboard (3)]

— Reply to this email directly or view it on GitHub https://github.com/hugegreenbug/xf86-input-cmt/issues/13.

Hugh

outofpapaer commented 9 years ago

Cyapa isn't loaded. Manually loading it with modprobe isn't of much help.

outofpapaer commented 9 years ago

Neither dmesg nor /var/log/Xorg.0.log make any mention of the cyapa module.

hugegreenbug commented 9 years ago

Then your kernel probably doesn't have it. You need to configure your kernel to build cyapa as a modulel.

Hugh

On Sat, Jul 18, 2015 at 11:35 AM, outofpapaer notifications@github.com wrote:

Neither dmesg nor /var/log/Xorg.0.log make any mention of the cyapa module.

— Reply to this email directly or view it on GitHub https://github.com/hugegreenbug/xf86-input-cmt/issues/13#issuecomment-122555626 .

outofpapaer commented 9 years ago

Odd. I was using your elementary os release, and I don't get any errors when I load the module. After manually loading it, it shows as loaded . Do you think I should I rebuild it? On Jul 18, 2015 7:23 PM, "Hugh Greenberg" notifications@github.com wrote:

Then your kernel probably doesn't have it. You need to configure your kernel to build cyapa as a modulel.

Hugh

On Sat, Jul 18, 2015 at 11:35 AM, outofpapaer notifications@github.com wrote:

Neither dmesg nor /var/log/Xorg.0.log make any mention of the cyapa module.

— Reply to this email directly or view it on GitHub < https://github.com/hugegreenbug/xf86-input-cmt/issues/13#issuecomment-122555626

.

— Reply to this email directly or view it on GitHub https://github.com/hugegreenbug/xf86-input-cmt/issues/13#issuecomment-122604383 .

nicolascp commented 9 years ago

Hi, I'm having the same problem but in a Falco device, I'm using elementary (0.3) too, I tried with the kernel provided with the distribution and with another one, neither work. How can I configure the kernel to build cyapa as a module?

hugegreenbug commented 9 years ago

It should work with my elementary release. I don't know why it wouldn't.

Hugh

On Sat, Jul 18, 2015 at 6:19 PM, outofpapaer notifications@github.com wrote:

Odd. I was using your elementary os release, and I don't get any errors when I load the module. After manually loading it, it shows as loaded . Do you think I should I rebuild it? On Jul 18, 2015 7:23 PM, "Hugh Greenberg" notifications@github.com wrote:

Then your kernel probably doesn't have it. You need to configure your kernel to build cyapa as a modulel.

Hugh

On Sat, Jul 18, 2015 at 11:35 AM, outofpapaer notifications@github.com wrote:

Neither dmesg nor /var/log/Xorg.0.log make any mention of the cyapa module.

— Reply to this email directly or view it on GitHub <

https://github.com/hugegreenbug/xf86-input-cmt/issues/13#issuecomment-122555626

.

— Reply to this email directly or view it on GitHub < https://github.com/hugegreenbug/xf86-input-cmt/issues/13#issuecomment-122604383

.

— Reply to this email directly or view it on GitHub https://github.com/hugegreenbug/xf86-input-cmt/issues/13#issuecomment-122608075 .

nicolascp commented 9 years ago

I was checking /var/log/Xorg.0.log and it says:

LoadModule: "cmt"
Loading /usr/lib/xorg/modules/input/cmt_drv.so
Module cmt: vendor="X.Org Foundation"
compiled for 1.15.1, module version = 0.0.1
Module class: X.Org XInput Driver
ABI class: X.Org XInput driver, version 20.0
module ABI major version (20) doesn't match the server's version (21)
UnloadModule: "cmt"
Unloading cmt
Failed to load module "cmt" (module requirement mismatch, 0)
No input driver matching `cmt'
config/udev: Adding input device Cypress APA Trackpad (cyapa) (/dev/input/mouse1)
No input driver specified, ignoring this device.

Oh and I'm not using your release, I wanted to do it manually so I can understand a bit more of the changes you did :)

hugegreenbug commented 9 years ago

Oh, that is because elementary os is based on trusty, but it includes the utopic xserver. You can edit the ppa sources.list file to use the utopic package. The file is something like: /etc/apt/sources.list.d/hugegreenbug... .Change trusty to utopic. Then: sudo apt-get update && sudo apt-get --reinstall install xf86-input-cmt

Hugh

On Mon, Jul 20, 2015 at 2:24 PM, Nick Castle notifications@github.com wrote:

I was checking /var/log/Xorg.0.log and it says:

LoadModule: "cmt" Loading /usr/lib/xorg/modules/input/cmt_drv.so Module cmt: vendor="X.Org Foundation" compiled for 1.15.1, module version = 0.0.1 Module class: X.Org XInput Driver ABI class: X.Org XInput driver, version 20.0 module ABI major version (20) doesn't match the server's version (21) UnloadModule: "cmt" Unloading cmt Failed to load module "cmt" (module requirement mismatch, 0) No input driver matching `cmt' config/udev: Adding input device Cypress APA Trackpad (cyapa) (/dev/input/mouse1) No input driver specified, ignoring this device.

— Reply to this email directly or view it on GitHub https://github.com/hugegreenbug/xf86-input-cmt/issues/13#issuecomment-123021528 .

nicolascp commented 9 years ago

Great, that worked, even though I had to purge the package instead of using --reinstall, sorry for hijacking this post, but maybe we got the same problem?