~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

TOMOYO Linux Cross Reference
Linux/Documentation/ABI/testing/sysfs-class-chromeos-driver-cros-ec-lightbar

Version: ~ [ linux-6.12-rc7 ] ~ [ linux-6.11.7 ] ~ [ linux-6.10.14 ] ~ [ linux-6.9.12 ] ~ [ linux-6.8.12 ] ~ [ linux-6.7.12 ] ~ [ linux-6.6.60 ] ~ [ linux-6.5.13 ] ~ [ linux-6.4.16 ] ~ [ linux-6.3.13 ] ~ [ linux-6.2.16 ] ~ [ linux-6.1.116 ] ~ [ linux-6.0.19 ] ~ [ linux-5.19.17 ] ~ [ linux-5.18.19 ] ~ [ linux-5.17.15 ] ~ [ linux-5.16.20 ] ~ [ linux-5.15.171 ] ~ [ linux-5.14.21 ] ~ [ linux-5.13.19 ] ~ [ linux-5.12.19 ] ~ [ linux-5.11.22 ] ~ [ linux-5.10.229 ] ~ [ linux-5.9.16 ] ~ [ linux-5.8.18 ] ~ [ linux-5.7.19 ] ~ [ linux-5.6.19 ] ~ [ linux-5.5.19 ] ~ [ linux-5.4.285 ] ~ [ linux-5.3.18 ] ~ [ linux-5.2.21 ] ~ [ linux-5.1.21 ] ~ [ linux-5.0.21 ] ~ [ linux-4.20.17 ] ~ [ linux-4.19.323 ] ~ [ linux-4.18.20 ] ~ [ linux-4.17.19 ] ~ [ linux-4.16.18 ] ~ [ linux-4.15.18 ] ~ [ linux-4.14.336 ] ~ [ linux-4.13.16 ] ~ [ linux-4.12.14 ] ~ [ linux-4.11.12 ] ~ [ linux-4.10.17 ] ~ [ linux-4.9.337 ] ~ [ linux-4.4.302 ] ~ [ linux-3.10.108 ] ~ [ linux-2.6.32.71 ] ~ [ linux-2.6.0 ] ~ [ linux-2.4.37.11 ] ~ [ unix-v6-master ] ~ [ ccs-tools-1.8.12 ] ~ [ policy-sample ] ~
Architecture: ~ [ i386 ] ~ [ alpha ] ~ [ m68k ] ~ [ mips ] ~ [ ppc ] ~ [ sparc ] ~ [ sparc64 ] ~

Diff markup

Differences between /Documentation/ABI/testing/sysfs-class-chromeos-driver-cros-ec-lightbar (Version linux-6.12-rc7) and /Documentation/ABI/testing/sysfs-class-chromeos-driver-cros-ec-lightbar (Version linux-6.8.12)


  1 What:           /sys/class/chromeos/<ec-device      1 What:           /sys/class/chromeos/<ec-device-name>/lightbar/brightness
  2 Date:           August 2015                         2 Date:           August 2015
  3 KernelVersion:  4.2                                 3 KernelVersion:  4.2
  4 Description:                                        4 Description:
  5                 Writing to this file adjusts t      5                 Writing to this file adjusts the overall brightness of
  6                 the lightbar, separate from an      6                 the lightbar, separate from any color intensity. The
  7                 valid range is 0 (off) to 255       7                 valid range is 0 (off) to 255 (maximum brightness).
  8                                                     8 
  9 What:           /sys/class/chromeos/<ec-device      9 What:           /sys/class/chromeos/<ec-device-name>/lightbar/interval_msec
 10 Date:           August 2015                        10 Date:           August 2015
 11 KernelVersion:  4.2                                11 KernelVersion:  4.2
 12 Description:                                       12 Description:
 13                 The lightbar is controlled by      13                 The lightbar is controlled by an embedded controller (EC),
 14                 which also manages the keyboar     14                 which also manages the keyboard, battery charging, fans,
 15                 and other system hardware. To      15                 and other system hardware. To prevent unprivileged users
 16                 from interfering with the othe     16                 from interfering with the other EC functions, the rate at
 17                 which the lightbar control fil     17                 which the lightbar control files can be read or written is
 18                 limited.                           18                 limited.
 19                                                    19 
 20                 Reading this file will return      20                 Reading this file will return the number of milliseconds
 21                 that must elapse between acces     21                 that must elapse between accessing any of the lightbar
 22                 functions through this interfa     22                 functions through this interface. Going faster will simply
 23                 block until the necessary inte     23                 block until the necessary interval has lapsed. The interval
 24                 applies uniformly to all acces     24                 applies uniformly to all accesses of any kind by any user.
 25                                                    25 
 26 What:           /sys/class/chromeos/<ec-device     26 What:           /sys/class/chromeos/<ec-device-name>/lightbar/led_rgb
 27 Date:           August 2015                        27 Date:           August 2015
 28 KernelVersion:  4.2                                28 KernelVersion:  4.2
 29 Description:                                       29 Description:
 30                 This allows you to control eac     30                 This allows you to control each LED segment. If the
 31                 lightbar is already running on     31                 lightbar is already running one of the automatic
 32                 sequences, you probably won’     32                 sequences, you probably won’t see anything change because
 33                 your color setting will be alm     33                 your color setting will be almost immediately replaced.
 34                 To get useful results, you sho     34                 To get useful results, you should stop the lightbar
 35                 sequence first.                    35                 sequence first.
 36                                                    36 
 37                 The values written to this fil     37                 The values written to this file are sets of four integers,
 38                 indicating LED, RED, GREEN, BL     38                 indicating LED, RED, GREEN, BLUE. The LED number is 0 to 3
 39                 to select a single segment, or     39                 to select a single segment, or 4 to set all four segments
 40                 to the same value at once. The     40                 to the same value at once. The RED, GREEN, and BLUE
 41                 numbers should be in the range     41                 numbers should be in the range 0 (off) to 255 (maximum).
 42                 You can update more than one s     42                 You can update more than one segment at a time by writing
 43                 more than one set of four inte     43                 more than one set of four integers.
 44                                                    44 
 45 What:           /sys/class/chromeos/<ec-device     45 What:           /sys/class/chromeos/<ec-device-name>/lightbar/program
 46 Date:           August 2015                        46 Date:           August 2015
 47 KernelVersion:  4.2                                47 KernelVersion:  4.2
 48 Description:                                       48 Description:
 49                 This allows you to upload and      49                 This allows you to upload and run custom lightbar sequences.
 50                                                    50 
 51 What:           /sys/class/chromeos/<ec-device     51 What:           /sys/class/chromeos/<ec-device-name>/lightbar/sequence
 52 Date:           August 2015                        52 Date:           August 2015
 53 KernelVersion:  4.2                                53 KernelVersion:  4.2
 54 Description:                                       54 Description:
 55                 The Pixel lightbar has a numbe     55                 The Pixel lightbar has a number of built-in sequences
 56                 that it displays under various     56                 that it displays under various conditions, such as at
 57                 power on, shut down, or while      57                 power on, shut down, or while running. Reading from this
 58                 file displays the current sequ     58                 file displays the current sequence that the lightbar is
 59                 displaying. Writing to this fi     59                 displaying. Writing to this file allows you to change the
 60                 sequence.                          60                 sequence.
 61                                                    61 
 62 What:           /sys/class/chromeos/<ec-device     62 What:           /sys/class/chromeos/<ec-device-name>/lightbar/userspace_control
 63 Date:           August 2015                        63 Date:           August 2015
 64 KernelVersion:  4.2                                64 KernelVersion:  4.2
 65 Description:                                       65 Description:
 66                 This allows you to take the co     66                 This allows you to take the control of the lightbar. This
 67                 prevents the kernel from going     67                 prevents the kernel from going through its normal
 68                 sequences.                         68                 sequences.
 69                                                    69 
 70 What:           /sys/class/chromeos/<ec-device     70 What:           /sys/class/chromeos/<ec-device-name>/lightbar/version
 71 Date:           August 2015                        71 Date:           August 2015
 72 KernelVersion:  4.2                                72 KernelVersion:  4.2
 73 Description:                                       73 Description:
 74                 Show the information about the     74                 Show the information about the lightbar version.
                                                      

~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

kernel.org | git.kernel.org | LWN.net | Project Home | SVN repository | Mail admin

Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.

sflogo.php