{"push_id":975872847,"size":2,"distinct_size":2,"ref":"refs/heads/m6.0","head":"c2337daa286a8d54e611d4181ce0098c9da64136","before":"53a678aae5c2bd7e6f5e759867702c7bd3f884c0","commits":[{"sha":"8813837e06879fb0358d0af60a93b257f3b6b947","author":{"email":"2443f2d7035dafdb8037123777333a60d68ece49@gmail.com","name":"USBhost"},"message":"thanks to jantle from XDA\n\n\"The previously mentioned LP5521 RGB-LED driver is not used in Nexus 9 any more. It might have been driving a status LED on flounder-dev-boards.\n\nThe currently installed LED is just a simple white LED.\nNo RGB, no PWM for brightness control, no hardware supported features. It only can be turned on and off. Oh, and of course set to blink three times as it can be seen with empty battery.\n\nThe LED can be accessed as I2C-device 0x72 on Tegra I2C adapter 0. There are only three different commands, all written to register 0xD0\n0x01 will let the LED blink three times.\n0x02 will turn the LED on.\n0x04 will turn the LED off.\n\nIn fact 0x72 is no dedicated I2C device just for the LED.... it is the Sensor-Hub. HTC simply attached the LED to it, most likely to save cost for a dedicated controller Chip.\n\nSo instead of just activating a new driver for the LED, the driver for SensorHub has to be extended. Attached you find a patch to let the LED appear as LED device in /sys/class/leds.\n\nLuckily for those who don't want to patch the kernel there is a different way to access the LED. The driver for SensorHub exports the LED as a \"Sensor device\". Simply execute (as root):\necho 0 > /sys/class/htc_sensorhub/sensor_hub/led_en to turn LED off\necho 1 > /sys/class/htc_sensorhub/sensor_hub/led_en to turn LED on\n\nUnfortunately kernel has some issues with LED. So I couldn't build a working kernel with LED-triggers enabled. The kernel just wouldn't boot. I didn't investigate this any further... This means currently there is no kernel-space LED control... Hopefully someone more experienced dev can find the issue.\"\n\nSigned-off-by: USBhost <josiahspore@gmail.com>\nSigned-off-by: flar2 <asegaert@gmail.com>","distinct":true,"url":"https://api.github.com/repos/dfuse06/android_kernel_htc_flounder/commits/8813837e06879fb0358d0af60a93b257f3b6b947"},{"sha":"c2337daa286a8d54e611d4181ce0098c9da64136","author":{"email":"2443f2d7035dafdb8037123777333a60d68ece49@gmail.com","name":"USBhost"},"message":"WAR: WOEKAROUND: boot with TRIGGERS\n\nSigned-off-by: USBhost <josiahspore@gmail.com>\nSigned-off-by: flar2 <asegaert@gmail.com>","distinct":true,"url":"https://api.github.com/repos/dfuse06/android_kernel_htc_flounder/commits/c2337daa286a8d54e611d4181ce0098c9da64136"}]}