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

TOMOYO Linux Cross Reference
Linux/tools/arch/x86/dell-uart-backlight-emulator/README

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 /tools/arch/x86/dell-uart-backlight-emulator/README (Version linux-6.12-rc7) and /tools/arch/i386/dell-uart-backlight-emulator/README (Version linux-5.8.18)


  1 Emulator for DELL0501 UART attached backlight     
  2 ----------------------------------------------    
  3                                                   
  4 Dell All In One (AIO) models released after 20    
  5 board connected to an UART.                       
  6                                                   
  7 In DSDT this uart port will be defined as:        
  8                                                   
  9    Name (_HID, "DELL0501")                        
 10    Name (_CID, EisaId ("PNP0501")                 
 11                                                   
 12 With the DELL0501 indicating that we are deali    
 13 the backlight controller board attached.          
 14                                                   
 15 This small emulator allows testing                
 16 the drivers/platform/x86/dell/dell-uart-backli    
 17 to an actual Dell All In One.                     
 18                                                   
 19 This requires:                                    
 20 1. A (desktop) PC with a 16550 UART on the mot    
 21    connector connected to this UART.              
 22 2. A DB9 NULL modem cable.                        
 23 3. A second DB9 serial port, this can e.g. be     
 24    with a DB9 connector plugged into the same     
 25 4. A DSDT overlay for the desktop PC replacing    
 26    ACPI Device() with "DELL0501" and adding a    
 27    DSDT.patch for an example of the necessary     
 28                                                   
 29 With everything setup and the NULL modem cable    
 30 the 2 serial ports run:                           
 31                                                   
 32 ./dell-uart-backlight-emulator <path-to-/dev/t    
 33                                                   
 34 For example when using an USB to serial conver    
 35                                                   
 36 ./dell-uart-backlight-emulator /dev/ttyUSB0       
 37                                                   
 38 And then (re)load the dell-uart-backlight driv    
 39                                                   
 40 sudo rmmod dell-uart-backlight; sudo modprobe     
 41                                                   
 42 After this check "dmesg" to see if the driver     
 43 the firmware version string from the emulator.    
 44 should be a /sys/class/backlight/dell_uart_bac    
 45 and writes to the brightness or bl_power files    
 46 by matching output from the emulator.             
                                                      

~ [ 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