Active Topics

 


Reply
Thread Tools
Posts: 2,152 | Thanked: 1,490 times | Joined on Jan 2006 @ Czech Republic
#61
Originally Posted by qwerty12 View Post
has anyone noticed the camera isn't working or is it just me? I ran cameratest from the terminal and it complains about overlay.
Not working here too (N810), also video playback with stock media player does not work for me. This could be related to broken overlay support too. I wonder if copying old X server would make it running again.
__________________
Newbies click here before posting. Thanks.

If you really need to PM me with troubleshooting question please consider posting it to the forum instead. It is OK to PM me a link to such post then. Thank you.
 

The Following User Says Thank You to fanoush For This Useful Post:
Posts: 2,152 | Thanked: 1,490 times | Joined on Jan 2006 @ Czech Republic
#62
original Xomap binary does not make difference, it is the kernel (both mine and the one from jott). Just flashing kernel without rotation support restores camera and media player functionality. Looks like the kernel patch messes up something or the extra functionality confuses overlay code.
__________________
Newbies click here before posting. Thanks.

If you really need to PM me with troubleshooting question please consider posting it to the forum instead. It is OK to PM me a link to such post then. Thank you.
 
Posts: 323 | Thanked: 118 times | Joined on Nov 2007 @ Australia
#63
Just out of curiosity is it possible to get the required parts of the kernel compiled as a module instead of having to reflash the entire kernel?

Or is something having to be changed in the kernel that prevents this from happening, I can't say I've looked into the rotating of the screen much so I have no idea what is actually being done.

Cheers

-Rip
 
qwerty12's Avatar
Posts: 4,274 | Thanked: 5,358 times | Joined on Sep 2007 @ Looking at y'all and sighing
#64
Originally Posted by RipTorn View Post
Just out of curiosity is it possible to get the required parts of the kernel compiled as a module instead of having to reflash the entire kernel?

Or is something having to be changed in the kernel that prevents this from happening, I can't say I've looked into the rotating of the screen much so I have no idea what is actually being done.

Cheers

-Rip
You cannot afaik. Because I believe the patch is written to the kernel which directly writes to the lcd controller to change the rotation afaik.

It's a shame video & camera do not work in normal mode, I would be perfectly content if it didn't only work in the rotated modes.

On a seperate note, I think its killed canola 2 too. Canola2 only shows a green screen.
 

The Following User Says Thank You to qwerty12 For This Useful Post:
Posts: 323 | Thanked: 118 times | Joined on Nov 2007 @ Australia
#65
Ahh ok cool makes sense now, so its actually patching the existing kernel not compiling in anything extra as such.

Cheers.

-Rip
 
Posts: 678 | Thanked: 197 times | Joined on Jul 2007 @ San Jose CA
#66
gtalk fails too. It rejects calls and disconnects right away after making connect!
 
Posts: 18 | Thanked: 15 times | Joined on Jan 2008 @ England
#67
Tried this yesterday and it works rather nicely, though it is by no means flawless.

I think most of the killer bugs have been mentioned already, so i shall not elaborate.

Still, rotating the screen is a very useful feature.
 
Underscore's Avatar
Posts: 276 | Thanked: 74 times | Joined on Feb 2008 @ Missouri, USA
#68
Would this work in KDE? I'm scared to try....
 
qwerty12's Avatar
Posts: 4,274 | Thanked: 5,358 times | Joined on Sep 2007 @ Looking at y'all and sighing
#69
The kernel would and i'm pretty sure the xserver would. But you would have to use xrandr at cli to rotate screen.

I must add I do not use kde, but it's an educated guess.

Last edited by qwerty12; 2008-03-15 at 20:33.
 
Posts: 2,152 | Thanked: 1,490 times | Joined on Jan 2006 @ Czech Republic
#70
I have uploaded updated kernel that seems to work with media player and camera.
http://fanoush.wz.cz/maemo/kernel-2....otation.tar.gz

Basically I reverted two changes below back to original state
Code:
@@ -522,10 +530,8 @@ static int set_fb_var(struct fb_info *fb
 		xres_max = panel->x_res;
 		yres_min = OMAPFB_PLANE_YRES_MIN;
 		yres_max = panel->y_res;
-		if (cpu_is_omap15xx()) {
-			var->xres = panel->x_res;
-			var->yres = panel->y_res;
-		}
+		var->xres = panel->x_res;
+		var->yres = panel->y_res;
 		break;
 	case 90:
 	case 270:
@@ -533,10 +539,8 @@ static int set_fb_var(struct fb_info *fb
 		xres_max = panel->y_res;
 		yres_min = OMAPFB_PLANE_XRES_MIN;
 		yres_max = panel->x_res;
-		if (cpu_is_omap15xx()) {
-			var->xres = panel->y_res;
-			var->yres = panel->x_res;
-		}
+		var->xres = panel->y_res;
+		var->yres = panel->x_res;
 		break;
 	default:
 		return -EINVAL;
While the idea in those changes looks good for normal screen, it messes up resolution of overlay/video/camera plane because it uses values from LCD panel resolution (panel->x_res,panel->y_res =800x480) which is wrong for (smaller) overlay plane.

With stock kernel after playing Nokia_N810.avi video it looks like this
Code:
Nokia-N810-50-2:~# cat /sys/class/graphics/fb1/virtual_size
400,240
With the code above in effect, resolution is changed to 800,120 which is not ideal :-)

Omitting those changes seems to not to break anything visible and allows overlay plane to work (even in rotated mode). Still, this quick 'fix' is not correct and better code is needed. Please report if this kernel makes anything worse.
__________________
Newbies click here before posting. Thanks.

If you really need to PM me with troubleshooting question please consider posting it to the forum instead. It is OK to PM me a link to such post then. Thank you.

Last edited by fanoush; 2008-03-15 at 22:28. Reason: more details added
 

The Following 6 Users Say Thank You to fanoush For This Useful Post:
Reply

Tags
angular momentum, quantum mechanics, rotation, weirdtags


 
Forum Jump


All times are GMT. The time now is 11:28.