Vodafone EasyBox 904 xDSL/Display

From Random Projects
Revision as of 22:52, 30 May 2018 by Uwe Hermann (talk | contribs) (Uwe Hermann moved page Vodafon EasyBox 904 xDSL/Display to Vodafone EasyBox 904 xDSL/Display without leaving a redirect)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

General Information

  • Uses RGB565
  • Related devices
    • /dev/fb0
    • /dev/lcd904
    • /proc/driver/lcd904

Relevant files related to the display

  • Tarball
package/arcadyan-utility/lcd_904-fb/src/lcd_904.h
package/arcadyan-utility/lcd_904-fb/files/etc/init.d/lcd904
package/arcadyan-utility/lcd_904-fb/drv_lcd_904.ko

Access the display

With c

https://github.com/PostalBlab/Display904

/proc/driver/lcd904

It's also possible to give the kernel module direct commands via /proc/driver/lcd904 e.g.:

echo rect 0 0 100 100 0x0ff0 > /proc/driver/lcd904
echo flush > /proc/driver/lcd904

List of commands extracted from the module

Syntax:
   init
   shutdown
   soft_init
   reg_init
   id
   reg_get     <reg>
   reg_set     <reg> 
   dot         <x> <y> <color>
   h_line      <x0> <x1> <y> <color>
   v_line      <x> <y0> <y1> <color>
   color       <color>
   gradient    <color>
   rect        <x0> <y0> <x1> <y1> <color>
   grect       <x0> <y0> <x1> <y1> <color>
   backlight   <level>
   contrast    <level>
   led         <level>
   orientation <0|1> (0:portrait, 1:landscape)
   refresh     <x0> <y0> <x1> <y1>
   flush
   gpio        <rst-gpio> <bl-gpio>