Re: [Debian,QtMoko] X server and rotation

2010-03-29 Thread Radek Polak
Timo Jyrinki wrote:

 Since you mention QtMoko, are you sure you're not using QtMoko's
 2.6.32 kernel with KMS support? There the result might be a bit
 different, especially because the latest fix from git is not yet in
 Debian. Also note that xrandr --output LCD --rotate xyz doesn't work
 currently, only xrandr -o xyz.

Hi Timo,
i dont know what i did wrong, but now xserver-xorg-video-glamo with xrandr 
work perfectly even on 2.6.32 kernel. Thanks for help and sorry for late reply 
(was too busy with other stuff).

Thanks!

Radek

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: [Debian,QtMoko] X server and rotation

2010-03-29 Thread Radek Polak
Radek Polak wrote:

 Hi Timo,
 i dont know what i did wrong, but now xserver-xorg-video-glamo with xrandr
 work perfectly even on 2.6.32 kernel.

I was too fast :) I had a wrong symlink for X. But with your kernel it works 
ok, with 2.6.32 not (white screen).

Anyway thanks!

Radek

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: [Debian,QtMoko] X server and rotation

2010-03-25 Thread Radek Polak
On Thursday 25 March 2010 06:50:35 Radek Polak wrote:

 Can you please tell, which kernel are you using and how did you install
 xserver-xorg-video-glamo? Is it from regular debian testing repos?

And please xorg.conf too :)

Regards

Radek

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: [Debian,QtMoko] X server and rotation

2010-03-25 Thread Timo Jyrinki
2010/3/25 Radek Polak pson...@seznam.cz:
 I tried xserver-xorg-video-glamo, but no success either.

I thought so, just had to check.

 I have (had) a button (for a year) in my Debian that switches between
 xrandr -o right and xrandr -o normal without problems.

 Can you please tell, which kernel are you using and how did you install
 xserver-xorg-video-glamo? Is it from regular debian testing repos?

I'm using http://users.tkk.fi/~tajyrink/moko/kernel_20100108_nodebug_nopreempt/
but it should be very close to
http://pkg-fso.nomeata.de/sid/linux-image-2.6.29-openmoko-gta02 and
others, I think, have xrandr working as well with 2.6.29. I installed
it simply with apt-get install xserver-xorg-video-glamo.

xorg.conf consists only of:
Section Device
Identifier  Videocard0
Driver  glamo
EndSection

xrandr tells me:
Screen 0: minimum 240 x 320, current 480 x 640, maximum 480 x 640
LCD connected 480x640+0+0 (normal left inverted right) 43mm x 58mm
   480x64072.5*+
   240x32050.2

Since you mention QtMoko, are you sure you're not using QtMoko's
2.6.32 kernel with KMS support? There the result might be a bit
different, especially because the latest fix from git is not yet in
Debian. Also note that xrandr --output LCD --rotate xyz doesn't work
currently, only xrandr -o xyz.

-Timo

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


[Debian,QtMoko] X server and rotation

2010-03-24 Thread Radek Polak
Hi,
i have been struggling for some time to get X server working in landscape 
mode. I was trying:

- Xglamo with xrandr - screen always goes white, reboot needed
- Xglamo -screen 480x...@90 - does not work either, screen is somehow shifted
- Xorg with fbdev driver and CCW option in xorg.conf - seems to have no effect
- Xfbdev - does not support tslib in debian

Yesterday i recompiled Xfbdev package with tslib support and now it seems to 
be working. For running the X server i do:

Xfbdev -retro -screen 480x...@90 -mouse tslib,,device=/dev/input/event1

But still it's not perfect. I am trying to run scummvm on this Xserver:

export DISPLAY=:0
scummvm

but the Xserver segfaults. But I have found out that if start matchbox window 
manager before scummvm it works. So i have now this script:

neo:~# cat /bin/scummvm.sh 
#!/bin/sh
matchbox-window-manager 
sleep 5
scummvm

I am doing this on debian testing. My Xfbdev with tslib support is here [1]. I 
build it with:

apt-get build-dep xserver-xfbdev
apt-get source xserver-xfbdev
edited debina/rules and replaced disable-tslib with enable-tslib
dpkg-buildpackage -b


Hope this helps someone. Anyone has better way how to do this?

Regards

Radek


[1] http://activationrecord.net/radekp/pub/xserver-xfbdev_1.7.5-1_armel.deb

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: [Debian,QtMoko] X server and rotation

2010-03-24 Thread Timo Jyrinki
2010/3/24 Radek Polak pson...@seznam.cz:
 i have been struggling for some time to get X server working in landscape
 mode. I was trying:

 - Xglamo with xrandr - screen always goes white, reboot needed
 - Xglamo -screen 480x...@90 - does not work either, screen is somehow shifted
 - Xorg with fbdev driver and CCW option in xorg.conf - seems to have no effect
 - Xfbdev - does not support tslib in debian

Hmm. Why use long-dead Xglamo or dummy fbdev instead of
xserver-xorg-video-glamo?
http://wiki.debian.org/DebianOnFreeRunner#Graphics.28SmediaGlamo3362.29

I have (had) a button (for a year) in my Debian that switches between
xrandr -o right and xrandr -o normal without problems.

-Timo

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: [Debian,QtMoko] X server and rotation

2010-03-24 Thread Chuck Norris
Radek Polak пишет:
 Hi,
 i have been struggling for some time to get X server working in landscape 
 mode. I was trying:

 - Xglamo with xrandr - screen always goes white, reboot needed
 - Xglamo -screen 480x...@90 - does not work either, screen is somehow shifted
 - Xorg with fbdev driver and CCW option in xorg.conf - seems to have no effect
 - Xfbdev - does not support tslib in debian

 Yesterday i recompiled Xfbdev package with tslib support and now it seems to 
 be working. For running the X server i do:

 Xfbdev -retro -screen 480x...@90 -mouse tslib,,device=/dev/input/event1

 But still it's not perfect. I am trying to run scummvm on this Xserver:

 export DISPLAY=:0
 scummvm

 but the Xserver segfaults. But I have found out that if start matchbox window 
 manager before scummvm it works. So i have now this script:

 neo:~# cat /bin/scummvm.sh 
 #!/bin/sh
 matchbox-window-manager 
 sleep 5
 scummvm

 I am doing this on debian testing. My Xfbdev with tslib support is here [1]. 
 I 
 build it with:

 apt-get build-dep xserver-xfbdev
 apt-get source xserver-xfbdev
 edited debina/rules and replaced disable-tslib with enable-tslib
 dpkg-buildpackage -b


 Hope this helps someone. Anyone has better way how to do this?

 Regards

 Radek


 [1] http://activationrecord.net/radekp/pub/xserver-xfbdev_1.7.5-1_armel.deb

 ___
 Openmoko community mailing list
 community@lists.openmoko.org
 http://lists.openmoko.org/mailman/listinfo/community


   
with this kernel from
http://lists.openmoko.org/nabble.html#nabble-td4274107|a4274107
http://lists.openmoko.org/nabble.html#nabble-td4274107%7Ca4274107

shr and hackable:1 begin toggle rotation with xrandr(shr) and swap
rotation option under hackable:1. Also graphics became faster.

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: [Debian,QtMoko] X server and rotation

2010-03-24 Thread Radek Polak
On Wednesday 24 March 2010 09:56:15 Timo Jyrinki wrote:

 Hmm. Why use long-dead Xglamo or dummy fbdev instead of
 xserver-xorg-video-glamo?

I tried xserver-xorg-video-glamo, but no success either.

 http://wiki.debian.org/DebianOnFreeRunner#Graphics.28SmediaGlamo3362.29
 
 I have (had) a button (for a year) in my Debian that switches between
 xrandr -o right and xrandr -o normal without problems.

Can you please tell, which kernel are you using and how did you install 
xserver-xorg-video-glamo? Is it from regular debian testing repos?

Thanks,

Radek

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community