How would one write to eink screen from console?
I would like to test if the screen is completely broken, at least I would like to try something like erasing the default screen which has stayed "the boy under the tree with low battery warning" ever since I received the unit from the eBay seller.
I am connected via serial console to DXG (demo) as root.
Code:
[root@kindle /dev]# ls -l /dev
lrwxrwxrwx 1 root root 13 Jan 2 14:17 MAKEDEV -> /sbin/MAKEDEV
drwxr-xr-x 3 root root 60 Jan 2 19:18 bus
crw-rw---- 1 root root 5, 1 Jan 2 19:18 console
lrwxrwxrwx 1 root root 11 Jan 2 14:17 core -> /proc/kcore
drwxr-xr-x 2 root root 60 Jan 2 14:17 fb
lrwxrwxrwx 1 root root 4 Jan 2 14:17 fb0 -> fb/0
lrwxrwxrwx 1 root root 13 Jan 2 14:17 fd -> /proc/self/fd
crw-rw---- 1 root root 1, 7 Jan 2 14:17 full
crw-rw---- 1 root root 10, 229 Jan 2 14:17 fuse
drwxr-xr-x 2 root root 60 Jan 2 14:17 i2c
prw------- 1 root root 0 Jan 2 19:17 initctl
drwxr-xr-x 2 root root 100 Jan 2 19:17 input
crw-rw---- 1 root root 1, 2 Jan 2 14:17 kmem
crw-rw---- 1 root root 1, 11 Jan 2 14:17 kmsg
srw-rw-rw- 1 root root 0 Jan 2 22:45 log
drwxr-xr-x 2 root root 200 Jan 2 14:17 loop
crw-rw---- 1 root root 10, 158 Jan 2 14:17 mariobutton
crw-rw---- 1 root root 1, 1 Jan 2 14:17 mem
drwxr-xr-x 2 root root 60 Jan 2 14:17 misc
crw-rw---- 1 root root 10, 62 Jan 2 19:17 mma7660F
brw-rw---- 1 root root 179, 0 Jan 2 14:17 mmcblk0
brw-rw---- 1 root root 179, 1 Jan 2 14:17 mmcblk0p1
brw-rw---- 1 root root 179, 2 Jan 2 14:17 mmcblk0p2
brw-rw---- 1 root root 179, 3 Jan 2 14:17 mmcblk0p3
brw-rw---- 1 root root 179, 4 Jan 2 20:41 mmcblk0p4
drwxr-xr-x 2 root root 400 Jan 2 14:17 mtd
drwxr-xr-x 2 root root 220 Jan 2 14:17 mtdblock
crw-rw---- 1 root root 247, 0 Jan 2 14:17 mwan
crw-rw---- 1 root root 253, 0 Jan 2 14:17 mxc_ipu
drwxr-xr-x 2 root root 60 Jan 2 14:17 net
crw-rw---- 1 root root 1, 3 Jan 2 14:17 null
crw-rw---- 1 root root 250, 0 Jan 2 14:17 pmic
crw-rw---- 1 root root 249, 0 Jan 2 14:17 pmic_adc
crw-rw---- 1 root root 248, 0 Jan 2 14:17 pmic_battery
crw-rw---- 1 root root 251, 0 Jan 2 14:17 pmic_light
crw-rw---- 1 root root 252, 0 Jan 2 14:17 pmic_rtc
crw-rw---- 1 root root 1, 4 Jan 2 14:17 port
crw------- 1 root root 108, 0 Jan 2 14:17 ppp
crw-rw---- 1 root root 5, 2 Jan 2 14:17 ptmx
drwxr-xr-x 2 root root 0 Jan 2 14:17 pts
crw-rw---- 1 root root 1, 8 Jan 2 14:17 random
crw-rw---- 1 root root 254, 0 Jan 2 14:17 rtc0
drwxrwxrwt 2 root root 40 Jan 2 14:17 shm
drwxr-xr-x 2 root root 140 Jan 2 19:17 snd
lrwxrwxrwx 1 root root 24 Jan 2 14:17 sndstat -> /proc/asound/oss/sndstat
lrwxrwxrwx 1 root root 15 Jan 2 14:17 stderr -> /proc/self/fd/2
lrwxrwxrwx 1 root root 15 Jan 2 14:17 stdin -> /proc/self/fd/0
lrwxrwxrwx 1 root root 15 Jan 2 14:17 stdout -> /proc/self/fd/1
lrwxrwxrwx 1 root root 8 Jan 2 14:17 ts -> pmic_adc
crw-rw---- 1 root root 5, 0 Jan 2 22:31 tty
drwxr-xr-x 2 root root 120 Jan 2 14:17 ttymxc
lrwxrwxrwx 1 root root 8 Jan 2 14:17 ttymxc0 -> ttymxc/0
lrwxrwxrwx 1 root root 8 Jan 2 14:17 ttymxc1 -> ttymxc/1
lrwxrwxrwx 1 root root 8 Jan 2 14:17 ttymxc2 -> ttymxc/2
-rw-r--r-- 1 root root 6 Jan 2 22:26 ttymxc3
lrwxrwxrwx 1 root root 8 Jan 2 14:17 ttymxc4 -> ttymxc/4
crw-rw---- 1 root root 1, 9 Jan 2 14:17 urandom
crw-rw---- 1 root root 189, 0 Jan 2 19:18 usb1
crw-rw---- 1 root root 246, 0 Jan 2 19:18 usbdev1.1_ep00
crw-rw---- 1 root root 246, 1 Jan 2 19:18 usbdev1.1_ep81
crw-rw---- 1 root root 1, 5 Jan 2 14:17 zero
[root@kindle /dev]# echo "hello" > ttymxc0
hello
[root@kindle /dev]# echo "hello" > ttymxc1
[root@kindle /dev]# echo "hello" > ttymxc2
mxc-gpio: invalid GPIO 224
mxc-gpio: invalid GPIO 224
mxc-gpio: invalid GPIO 224
mxc-gpio: invalid GPIO 224
mxc-gpio: invalid GPIO 224
mxc-gpio: invalid GPIO 224
mxc-gpio: invalid GPIO 224
mxc-gpio: invalid GPIO 224
[root@kindle /dev]# echo "hello" > ttymxc4
[root@kindle /dev]#
So ttymxc0 goes to the serial console as I can see the "hello" then, otherwise, I have no idea on how to write to eink.
Any pointers would be much appreciated.