Hi guys,I have a Chell (HP Chromebook 13 G1) and I need to change the I2C address (and PNP ID, at some point) of the touchpad.I have already successfully created a test build of the OS, and integrated the driver I'm developing into the kernel.I assume I need to build coreboot and flash new firmware onto the laptop in order to change a value in the ACPI table.
My questions are:1. Can I build coreboot the same way I build the kernel? (I did a "cors_workon" to start, I build it with "cros_workon_make" and then I push it to the system with the "update_kernel.sh" script.)
2. Which file in which branch do I need to edit in order to change the I2C address of the trackpad?Do I change "devicetree.cb" in the latest "release" branch, or the "mainboard.asl" in the branch named for my system?
Thanks so much for this info! I did not want to have to flash the firmware to change the ACPI entry for my i2c device, but I didn't know about the "dsdt_override" functionality. It was exactly what I was looking for. I compiled a modified DSDT table into the kernel and it detects the i2c device with a different address and loads a custom driver.One additional question:I want to add another entry for an i2c-hid device, but I can't find an example of an actual DSDT entry for an i2c-hid device from a ChromiumOS device. I got example entries from several different Win10 machines, but they seem to have way more stuff in them than I think I need to make an i2c-hid device work on ChromiumOS. There are lots of "devicetree.cb" files in branches of the coreboot repo, but I don't know how to translate those entries into the equivalent ASL.I even decoded the DSDT from a "reef" device, but it doesn't seem to have entries for any of the touch controllers attached to the system. (Are they in an OEM table, or something?)
For i2c-hid, I know I need at least a _CID name with "PNP0C50", and I think I need a _DSM method, but I don't know what it should return.I know something in there should contain the HID descriptor address. My guess is the _DSM returns it.Any guidance you can give about what an i2c-hid DSDT entry needs to look like for ChromiumOS is greatly appreciated!
On Wednesday, April 11, 2018 at 9:28:25 PM UTC-7, Kris Jones wrote:Hi guys,I have a Chell (HP Chromebook 13 G1) and I need to change the I2C address (and PNP ID, at some point) of the touchpad.I have already successfully created a test build of the OS, and integrated the driver I'm developing into the kernel.I assume I need to build coreboot and flash new firmware onto the laptop in order to change a value in the ACPI table.My questions are:1. Can I build coreboot the same way I build the kernel? (I did a "cors_workon" to start, I build it with "cros_workon_make" and then I push it to the system with the "update_kernel.sh" script.)2. Which file in which branch do I need to edit in order to change the I2C address of the trackpad?Do I change "devicetree.cb" in the latest "release" branch, or the "mainboard.asl" in the branch named for my system?orThanks!
--
--
Chromium OS Developers mailing list: chromiu...@chromium.org
View archives, change email options, or unsubscribe:
http://groups.google.com/a/chromium.org/group/chromium-os-dev?hl=en
This worked perfectly! Thanks!I copied the entry for the digitizer device from the mainboard.asl for Caroline, and only had to remove the one "_PRW" line. I updated the HID descriptor address with mine, and everything else was the same as for generic i2c.I've got a couple more questions:1. Is there a way to skip the i2c-hid enumeration process for a device? I'm wondering if there's a process like embedding a custom DSDT, where you create binary files and set some kernel config options, but for the HID and report descriptors.
2. I'm migrating over to Chell/ACPI from Peppy that used the "chromeos_laptop" driver. The old method had the ability to add a "platform_data" structure to the "i2c_board_info" struct, which I used to pass in the limit settings for the events. I can't find the analog for doing this in the ACPI process.Is there a way to pass in platform data when using ACPI?
--
--
Chromium OS Developers mailing list: chromiu...@chromium.org
View archives, change email options, or unsubscribe:
http://groups.google.com/a/chromium.org/group/chromium-os-dev?hl=en
---
You received this message because you are subscribed to the Google Groups "Chromium OS dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to chromium-os-d...@chromium.org.