View Single Post
Capn_Fish's Avatar
Posts: 140 | Thanked: 13 times | Joined on Mar 2008
#1
I figured it'd be good to have all the info at least linked to in one place, and have a single place to discuss problems/fixes. Current info is mostly here:
http://talk.maemo.org/showthread.php?t=49660

Somewhat here:
http://talk.maemo.org/showthread.php?t=48744


Issues (not necessarily kernel issues) I've found (regarding using tmr's patched 2.6.33.2 kernel) and some solutions:

1. The Fn key doesn't behave nicely; changing it in arch/arm/mach-omap2/board-n8x0.c from KEY_FN to KEY_LEFTALT allows for a number of hackarounds.

2. Using the xserver-xorg-input-tslib and xserver-xorg-video-omapfb*, the touchscreen is really jittery in the Y direction. It appears that data is being reported in terms of Y, but some other part wants it in -Y, and has to reverse it, which causes a number of issues. I haven't found a fix, and don't know if it's an Xorg/tslib issue or a kernel tsc2005 (touchscreen driver) issue.

3. Keyboard LEDs somewhat work. They'll accept the first value you echo to /sys/class/leds/n810::keyboard/brightness, but they don't really use it; they'll just come on. After that, nothing changes them; you can't even turn them off

4. Backlight is uncontrollable; echoing to /sys/class/video/...panel/brightness doesn't change anything. It gives an error something like device not found. The value said file holds is -19, which may be helpful in tracking down the solution.

5. Battery charging and power management generally is non-existent, as far as I know. My impression is that at least some of that is closed-source.


What DOES work:

-Booting from external cards
-WiFi (see p. 2 of the first thread linked above)
-Bluetooth (not entirely tested, but seemed to work)
-hardware keyboard
-touchscreen (kind of; it works, not well)
-FB console and X11


Not tested:

-GPS
-Camera
-USB networking (the usb0 interface exists, so presumed working)


Hopefully this will be useful. My tests are based off of a Debian SID / Mer environment (mostly SID), so YMMV. Fixes / testing / etc. welcome.

*xorg.conf (note that X may freak out over /dev/fb missing; just link it to /dev/fb0):

Code:
Section "Module"                                       
        Load    "extmod"                                
        Load    "dbe"                           
        Load    "glx"                                           
        Load    "freetype"                             
        Load    "type1"                        
        Load    "record"                    
        Load    "dri"                       
EndSection                            

Section "Files"
        ModulePath   "/usr/lib/xorg/modules"
        FontPath     "/usr/share/fonts/truetype/"
        FontPath     "/usr/share/fonts/X11/"
EndSection

Section "InputDevice"
	Identifier	"ts"
	Driver	"tslib"
	Option "Device" "/dev/input/event1"
	Option "CorePointer"
	Option "EmulateRightButton" "1"
	Option "ReportingMode" "Raw"
#	Option "SwapY" "true"
#	Option "SwapX" "true"
	Option "Width" "800"
	Option "Height" "480"
EndSection

Section "Monitor"                                                                    
        Identifier      "Builtin Default Monitor"
EndSection                                       

Section "Device"                                  
        Identifier      "Builtin Default fbdev Device 0"
	Option "Device" "/dev/fb0"
        Driver  "omapfb"
EndSection                                                

Section "Screen"                                        
        Identifier      "Builtin Default fbdev Screen 0"     
        Device  "Builtin Default fbdev Device 0"            
        Monitor "Builtin Default Monitor"               
EndSection                                              

Section "ServerLayout"                                 
        Identifier      "Builtin Default Layout"                                     
        Screen  "Builtin Default fbdev Screen 0"
	InputDevice "ts" "CorePointer"
EndSection
__________________
Nokia N810 (Some mutation of Mer)

Last edited by Capn_Fish; 2010-04-18 at 15:15.
 

The Following 3 Users Say Thank You to Capn_Fish For This Useful Post: