brintos

brintos / linux-shallow public Read only

0
0
Text · 2.8 KiB · 57a0377 Raw
75 lines · plain
1What:		/sys/class/chromeos/<ec-device-name>/lightbar/brightness2Date:		August 20153KernelVersion:	4.24Description:5		Writing to this file adjusts the overall brightness of6		the lightbar, separate from any color intensity. The7		valid range is 0 (off) to 255 (maximum brightness).8 9What:		/sys/class/chromeos/<ec-device-name>/lightbar/interval_msec10Date:		August 201511KernelVersion:	4.212Description:13		The lightbar is controlled by an embedded controller (EC),14		which also manages the keyboard, battery charging, fans,15		and other system hardware. To prevent unprivileged users16		from interfering with the other EC functions, the rate at17		which the lightbar control files can be read or written is18		limited.19 20		Reading this file will return the number of milliseconds21		that must elapse between accessing any of the lightbar22		functions through this interface. Going faster will simply23		block until the necessary interval has lapsed. The interval24		applies uniformly to all accesses of any kind by any user.25 26What:		/sys/class/chromeos/<ec-device-name>/lightbar/led_rgb27Date:		August 201528KernelVersion:	4.229Description:30		This allows you to control each LED segment. If the31		lightbar is already running one of the automatic32		sequences, you probably won’t see anything change because33		your color setting will be almost immediately replaced.34		To get useful results, you should stop the lightbar35		sequence first.36 37		The values written to this file are sets of four integers,38		indicating LED, RED, GREEN, BLUE. The LED number is 0 to 339		to select a single segment, or 4 to set all four segments40		to the same value at once. The RED, GREEN, and BLUE41		numbers should be in the range 0 (off) to 255 (maximum).42		You can update more than one segment at a time by writing43		more than one set of four integers.44 45What:		/sys/class/chromeos/<ec-device-name>/lightbar/program46Date:		August 201547KernelVersion:	4.248Description:49		This allows you to upload and run custom lightbar sequences.50 51What:		/sys/class/chromeos/<ec-device-name>/lightbar/sequence52Date:		August 201553KernelVersion:	4.254Description:55		The Pixel lightbar has a number of built-in sequences56		that it displays under various conditions, such as at57		power on, shut down, or while running. Reading from this58		file displays the current sequence that the lightbar is59		displaying. Writing to this file allows you to change the60		sequence.61 62What:		/sys/class/chromeos/<ec-device-name>/lightbar/userspace_control63Date:		August 201564KernelVersion:	4.265Description:66		This allows you to take the control of the lightbar. This67		prevents the kernel from going through its normal68		sequences.69 70What:		/sys/class/chromeos/<ec-device-name>/lightbar/version71Date:		August 201572KernelVersion:	4.273Description:74		Show the information about the lightbar version.75