Page MenuHomeFreeBSD

nikola.lecic_anthesphoria.net (Nikola Lečić)
User

Projects

User does not belong to any projects.

User Details

User Since
May 12 2019, 9:06 AM (9 w, 4 d)

Recent Activity

Yesterday

nikola.lecic_anthesphoria.net added a comment to D16698: First draft HID over I2C support (Mouse only).
  1. I compiled this driver with EVDEV support (https://gist.github.com/johalun/3c67a678e740b82512cec52bfe926092). How can I make use of it? I see no difference with and without this patch.

If there's a new device in /dev/input, it is working. You can run libinput debug-events to see the input events. To consume evdev devices from xorg, use xf86-input-libinput. There were patches for autodetection (one adding evdev autodetection to the devd backend, another switching to the udev backend with libudev-devd). The devd one might have been merged?? (I don't follow Xorg, I use Wayland exclusively)

Wed, Jul 17, 10:48 PM · Contributor Reviews (base)

Tue, Jul 16

nikola.lecic_anthesphoria.net added a comment to D16698: First draft HID over I2C support (Mouse only).

... please note that I edited my last post; touchpad is working again after test #3.

Tue, Jul 16, 7:33 PM · Contributor Reviews (base)
nikola.lecic_anthesphoria.net added a comment to D16698: First draft HID over I2C support (Mouse only).

Many thanks for your efforts! My laptop: Asus Zenbook 14 UX410UFR with 12.0-RELEASE. After kldload ig4 iic acpi_iichid the device works after being probed with i2c -v -s -f /dev/iic1 (thanks fbsd_opal.com). My /var/log/messages:

Could you post the full output of the i2c -v -s -f /dev/iic1 command? I just checked the implementation and i2c either uses START/STOP or reads a byte to perform a scan per address. On my laptop (using ig4), I get the following output and I think it looks similar on yours.

dev: /dev/iic1, addr: 0x0, r/w: r, offset: 0x00, width: 8, count: 1
Hardware may not support START/STOP scanning; trying less-reliable read method.
Scanning I2C devices on /dev/iic1: 2c

Tue, Jul 16, 5:45 PM · Contributor Reviews (base)

Mon, Jul 15

nikola.lecic_anthesphoria.net added a comment to D16698: First draft HID over I2C support (Mouse only).

Many thanks for your efforts! My notebook: Asus Zenbook 14 UX410UFR with 12.0-RELEASE. After kldload ig4 iic acpi_iichid the device works after being checked with i2c -v -s -f /dev/iic1 (thanks fbsd_opal.com). My /var/log/messages:

Mon, Jul 15, 1:07 AM · Contributor Reviews (base)