Hi,
I've got X just about running a Nook ST
:
I say running, the e-ink is erm fun; I've got it sitting there in a loop kicking a refresh every couple of seconds, and I'm sure there is a better way,
So, some notes:
* I'm running with the Nook kernel patched up with:
- USB host patch (see other thread)
- The gcc stuff from the fastmode patches so it will build on a recent Ubuntu
- The fastmode code - but I don't understand it yet
* The following that I needed to get debian/armhf to run - if you stick with armel you shouldn't need them:
- The TLS hack off http://arowboat.wordpress.com/2011/08/10/android-linux-arm-and-tls-register-emulation/ together with updated TLS files patches from newer kernels; I think it's possible just to turn it on with the existing 2.6.29 and take that TLS fix.
- I also pulled in ec706dab from a newer git to map the vector page - but not sure if it's needed
* Nookmanager on my uSD card
* in a directory on a 2nd ext formatted partition there I've got a debian chroot
* Debian wheezy armhf built using debootstrap , pass --include=apt to make life bearable
* xserver-xorg-video-fbdev, xserver-xorg-input-multitouch, xserver-xorg-input-evdev
* Note the nook kernel is too old for udev so some config has to be done manually, so in /usr/share/X11/xorg.conf.d/05-dave.conf I put:
(based on http://blog.rot13.org/2012/08/x11-running-on-nook-color-without-android-stack.html ):
Section "ServerLayout"
Identifier "Layout0"
Screen "Screen0"
InputDevice "touchscreen" "CorePointer"
InputDevice "gpio-keys" "CoreKeyboard"
InputDevice "twl4030-keypad" "CoreKeyboard"
InputDevice "usbkbd" "CoreKeyboard"
InputDevice "usbmouse" "CorePointer"
EndSection
Section "ServerFlags"
Option "AutoAddDevices" "off"
EndSection
Section "InputDevice"
Identifier "touchscreen"
Option "Device" "/dev/input/event2"
Driver "evdev"
Option "SwapAxes" "on"
Option "InvertX" "on"
EndSection
Section "InputDevice"
Identifier "usbkbd"
Option "Device" "/dev/input/event4"
Driver "evdev"
EndSection
Section "InputDevice"
Identifier "usbmouse"
Option "Device" "/dev/input/event3"
Driver "evdev"
EndSection
Section "InputDevice"
Identifier "gpio-keys"
Driver "evdev"
Option "Device" "/dev/input/event0"
# code 102 (KEY_HOME)
# code 116 (KEY_POWER)
EndSection
Section "InputDevice"
Identifier "twl4030-keypad"
Driver "evdev"
Option "Device" "/dev/input/event1"
# code 114 (KEY_VOLUMEDOWN)
# code 115 (KEY_VOLUMEUP)
EndSection
Section "Device"
Identifier "Card0"
#Driver "omapfb"
#Option "fbdev" "/dev/graphics/fb0"
# rotate screen to be in sync with touchpad orientation
Option "Rotate" "CCW" # CW=90 UD=180 CCW=270
EndSection
Section "Screen"
Identifier "Screen0"
Device "Card0"
EndSection
I had to make most of the device nodes in /dev based on the contents from the android version and also mount /proc, /sys and /dev/pts
then set DISPLAY and also set XAUTHORITY=/.Xauthority
Then once I've started the wireless and ssh from nookmanager I do:
startx -- tty01 -sharevts -novtswitch &
and:
while true; do echo 1 > /sys/class/graphics/fb0/epd_refresh; sleep 2; done &
Then for that picture I had matchbox-keyboard, fvwm and epiphany-browser
Fun! Any tips on doing something more sain with the eink appreciated!
Dave
I've got X just about running a Nook ST

I say running, the e-ink is erm fun; I've got it sitting there in a loop kicking a refresh every couple of seconds, and I'm sure there is a better way,
So, some notes:
* I'm running with the Nook kernel patched up with:
- USB host patch (see other thread)
- The gcc stuff from the fastmode patches so it will build on a recent Ubuntu
- The fastmode code - but I don't understand it yet
* The following that I needed to get debian/armhf to run - if you stick with armel you shouldn't need them:
- The TLS hack off http://arowboat.wordpress.com/2011/08/10/android-linux-arm-and-tls-register-emulation/ together with updated TLS files patches from newer kernels; I think it's possible just to turn it on with the existing 2.6.29 and take that TLS fix.
- I also pulled in ec706dab from a newer git to map the vector page - but not sure if it's needed
* Nookmanager on my uSD card
* in a directory on a 2nd ext formatted partition there I've got a debian chroot
* Debian wheezy armhf built using debootstrap , pass --include=apt to make life bearable
* xserver-xorg-video-fbdev, xserver-xorg-input-multitouch, xserver-xorg-input-evdev
* Note the nook kernel is too old for udev so some config has to be done manually, so in /usr/share/X11/xorg.conf.d/05-dave.conf I put:
(based on http://blog.rot13.org/2012/08/x11-running-on-nook-color-without-android-stack.html ):
Section "ServerLayout"
Identifier "Layout0"
Screen "Screen0"
InputDevice "touchscreen" "CorePointer"
InputDevice "gpio-keys" "CoreKeyboard"
InputDevice "twl4030-keypad" "CoreKeyboard"
InputDevice "usbkbd" "CoreKeyboard"
InputDevice "usbmouse" "CorePointer"
EndSection
Section "ServerFlags"
Option "AutoAddDevices" "off"
EndSection
Section "InputDevice"
Identifier "touchscreen"
Option "Device" "/dev/input/event2"
Driver "evdev"
Option "SwapAxes" "on"
Option "InvertX" "on"
EndSection
Section "InputDevice"
Identifier "usbkbd"
Option "Device" "/dev/input/event4"
Driver "evdev"
EndSection
Section "InputDevice"
Identifier "usbmouse"
Option "Device" "/dev/input/event3"
Driver "evdev"
EndSection
Section "InputDevice"
Identifier "gpio-keys"
Driver "evdev"
Option "Device" "/dev/input/event0"
# code 102 (KEY_HOME)
# code 116 (KEY_POWER)
EndSection
Section "InputDevice"
Identifier "twl4030-keypad"
Driver "evdev"
Option "Device" "/dev/input/event1"
# code 114 (KEY_VOLUMEDOWN)
# code 115 (KEY_VOLUMEUP)
EndSection
Section "Device"
Identifier "Card0"
#Driver "omapfb"
#Option "fbdev" "/dev/graphics/fb0"
# rotate screen to be in sync with touchpad orientation
Option "Rotate" "CCW" # CW=90 UD=180 CCW=270
EndSection
Section "Screen"
Identifier "Screen0"
Device "Card0"
EndSection
I had to make most of the device nodes in /dev based on the contents from the android version and also mount /proc, /sys and /dev/pts
then set DISPLAY and also set XAUTHORITY=/.Xauthority
Then once I've started the wireless and ssh from nookmanager I do:
startx -- tty01 -sharevts -novtswitch &
and:
while true; do echo 1 > /sys/class/graphics/fb0/epd_refresh; sleep 2; done &
Then for that picture I had matchbox-keyboard, fvwm and epiphany-browser
Fun! Any tips on doing something more sain with the eink appreciated!
Dave