The Following 4 Users Say Thank You to gTan64 For This Useful Post: | ||
![]() |
2010-08-08
, 05:48
|
|
Posts: 1,309 |
Thanked: 1,187 times |
Joined on Nov 2008
|
#2
|
![]() |
2010-08-08
, 05:57
|
|
Posts: 1,671 |
Thanked: 11,478 times |
Joined on Jun 2008
@ Warsaw, Poland
|
#3
|
The Following User Says Thank You to Stskeeps For This Useful Post: | ||
![]() |
2010-08-08
, 19:11
|
Posts: 24 |
Thanked: 28 times |
Joined on Dec 2009
@ USA
|
#4
|
What are you planning to put on the N800?
![]() |
2010-08-08
, 21:19
|
Posts: 24 |
Thanked: 28 times |
Joined on Dec 2009
@ USA
|
#5
|
![]() |
2010-08-10
, 03:30
|
Posts: 24 |
Thanked: 28 times |
Joined on Dec 2009
@ USA
|
#6
|
The Following User Says Thank You to gTan64 For This Useful Post: | ||
![]() |
2010-08-10
, 05:18
|
|
Posts: 1,671 |
Thanked: 11,478 times |
Joined on Jun 2008
@ Warsaw, Poland
|
#7
|
![]() |
2011-02-19
, 01:01
|
|
Posts: 304 |
Thanked: 233 times |
Joined on Jul 2009
@ São Paulo, SP, Brasil
|
#8
|
Well, I figured out the display issue, and now I feel stupid - I somehow removed an essential part of the MIPID LCD code from Stskeeps' patch :P That solved practically every problem I had - I'm going to have to try the old N800 audio code now! If it works, I'm going to attempt to rewrite it to conform to ASoC...
Basically, I have two options: 1 - Use the old 2.6.21 kernel with a whole bunch of userspace hackery; or 2 - Fix the mainline kernel, clean up the required patches, and submit them to Linus when I'm done.
Option 1 is obviously extremely difficult with Debian Sid and Gentoo, where you can't just downgrade udev to version 141 without breaking Xorg and a whole bunch of other stuff. Also, I really don't like the idea of installing dsme, bme, cal-*, et al from broken/old repositories - the only .debs I could find of those important packages (i.e., the ones required by b-man's Ubuntu port) are from the now-nonexistent Mer repository.
Option 2 is much more attractive. (No... really? :P) I've started work on gathering various patches and applying them on my mainline tree. Among the patches I applied are Stskeeps' N8x0 MeeGo patches (note to Stskeeps... you should have called them what they are - N810 patches. They don't work on my N800.), TSC2301 support (keypad and touchscreen - unfortunately I haven't tried to tackle converting the TSC2301 audio driver to ASoC yet, but I think the driver still works in its current form), and a few other random fixes.
I compiled a 2.6.35 kernel with everything I think is necessary for the N800, but what do you know - it doesn't boot :P It's pretty random in how it decides to not work - sometimes it will go into a reboot loop, sometimes it just shuts off. One thing is consistent with this kernel, though - the backlight is definitely on for about 30 seconds (the screen is black, but clearly still on) before it shuts down/reboots/crashes. I can't debug it without a framebuffer console or a way to save the kernel log somewhere so I can read it on my desktop, but I did notice the USB Ethernet gadget driver is recognized on my desktop a few seconds before the N800 shuts down.
If anyone here could give any hints on booting this kernel (or should I say, if anyone here cares anymore :P), I would greatly appreciate it. If I can get just one person to show interest in my work so far, I'll have no choice but to set up a GitHub for my patchy kernel tree...