Re: Glamo driver on Debian

2008-08-22 Thread Aapo Rantalainen
Xglamo on debian does not run openGL. Xorg does.

What is the optimal situation with debian on freerunner?

-Xorg with proper driver
-same Xglamo than in om200x
-something else

If I want that xrand, openGL and touchscreen works what I can do, how
I should participate, what is the destination?


-Aapo Rantalainen

___
support mailing list
support@lists.openmoko.org
https://lists.openmoko.org/mailman/listinfo/support


Re: Glamo driver on Debian

2008-08-22 Thread Joachim Breitner
Hi,

Am Freitag, den 22.08.2008, 09:41 +0300 schrieb Aapo Rantalainen:
 Xglamo on debian does not run openGL. Xorg does.

Does it on the Openmoko images?

 What is the optimal situation with debian on freerunner?
 
 -Xorg with proper driver
 -same Xglamo than in om200x
 -something else
 
 If I want that xrand, openGL and touchscreen works what I can do, how
 I should participate, what is the destination?

Thanks for helping out! If you want me to hand out TODOs, here is what
comes to my mind:
 * Someone[1] said that you can enable xrandr for the framebuffer, but
the result was broken. You can investigate if this can be fixed somehow.
 * Based on the Debian sources at
http://pkg-fso.alioth.debian.org/xglamo-beta/, try to compile it with
the tslib driver. Maybe Jan[2] can give you hints there.
 * Talk to the developers of the Xglamo and see if they can be helped
with creating a glamo driver module, or if they are not interested, find
how to do it and do it :-)

I’m sure a lot of people will appreciate your work,
Joachim


[1] xaos x, on Mon, 18 Aug 2008 15:29:16 -0400 :
„with Option RandRRotation on you can change the orientation with
xrandr -o left but the screen wacks out, i assume cause x doesn't know
how to set the frequency or something in portrait mode in the default
Debian install. I haven't played with the xorg file enough yet to figure
out how to fix that.“
[2] Jan Luebbe [EMAIL PROTECTED]
-- 
Joachim nomeata Breitner
Debian Developer
  [EMAIL PROTECTED] | ICQ# 74513189 | GPG-Keyid: 4743206C
  JID: [EMAIL PROTECTED] | http://people.debian.org/~nomeata


signature.asc
Description: Dies ist ein digital signierter Nachrichtenteil
___
support mailing list
support@lists.openmoko.org
https://lists.openmoko.org/mailman/listinfo/support


Re: Glamo driver on Debian

2008-08-21 Thread arne anka
 Is Xglamo available on the Debian repository yet?

no. and it's not clear when it ever will.


___
support mailing list
support@lists.openmoko.org
https://lists.openmoko.org/mailman/listinfo/support


Re: Glamo driver on Debian

2008-08-21 Thread arne anka
  Is Xglamo available on the Debian repository yet?

 no. and it's not clear when it ever will.


 How do I build it for myself? I mean, its open-source, and on Linux  
 2.6.24
 right?


i don't have the faintest idea. by the name i would have expected it to be  
an X.org kind of driver -- but apparently it is not.
nobody ever said something about that, but i got the impression, simply  
dropping the driver into a debian installation would not work.

you should be able to use either the binary from an ipk or grab the  
sources from svn or git.

___
support mailing list
support@lists.openmoko.org
https://lists.openmoko.org/mailman/listinfo/support


Re: Glamo driver on Debian

2008-08-21 Thread Timo Juhani Lindfors

arne anka [EMAIL PROTECTED] writes:
  Is Xglamo available on the Debian repository yet?

 no. and it's not clear when it ever will.


 How do I build it for myself? I mean, its open-source, and on Linux  
 2.6.24
 right?


 i don't have the faintest idea. by the name i would have expected it to be  
 an X.org kind of driver -- but apparently it is not.
 nobody ever said something about that, but i got the impression, simply  
 dropping the driver into a debian installation would not work.

 you should be able to use either the binary from an ipk or grab the  
 sources from svn or git.


http://pkg-fso.alioth.debian.org/xglamo-beta/

has initial debian packaking. The current problem afaik is that
touchscreen does not work with libts from debian. Xglamo is using
kdrive which is according to

http://en.wikipedia.org/wiki/KDrive

has been integrated to xorg source repository now.


___
support mailing list
support@lists.openmoko.org
https://lists.openmoko.org/mailman/listinfo/support


Re: Glamo driver on Debian

2008-08-21 Thread Aapo Rantalainen
I tested deb from http://pkg-fso.alioth.debian.org/xglamo-beta/ on my
freerunner:
wget 
http://pkg-fso.alioth.debian.org/xglamo-beta/xglamo_1.3.0.0+git20080807-1_armel.deb
dpkg -i xglamo_1.3.0.0+git20080807-1_armel.deb
No errors.
Then I restart X and did't notice any difference. Nothing brokes but
nothing works better.


There are couple of things I want to check are they correct:
A) Xglamo is x server. (like xorg is X server) [1]

B) xglamo is dedicated to glamo chip (on freerunner) [2]

C) xglamo based kdrive (xorg based XFree86) [3]

D) om2007 and om 2008 are using xglamo
D2) Debian uses xorg.

E) If I run xglamo on debian I must throw a way all xorg things. Like
touchscreen driver xserver-xorg-input-tslib
E2) What driver are om200X using then? Can I use them with debian+xglamo?


[1] http://dodji.blogspot.com/2008/02/xglamo-x-server-of-neo-gta02-device.html
glamochip [2] http://www.smediatech.com/product3362.htm
kdrive   [3] http://en.wikipedia.org/wiki/KDrive



-Aapo Rantalainen

___
support mailing list
support@lists.openmoko.org
https://lists.openmoko.org/mailman/listinfo/support


Re: Glamo driver on Debian

2008-08-21 Thread Aapo Rantalainen
Compiling xglamo on sources: first I made this on computer with
ubuntu, next I will try freerunner with debian:
wget 
http://pkg-fso.alioth.debian.org/xglamo-beta/xglamo_1.3.0.0+git20080807.orig.tar.gz

# I needed these packages (I have automake and autoconf already)
sudo apt-get install x11proto-xf86dri-dev libdrm-dev x11proto-gl-dev
x11proto-xcmisc-dev x11proto-xf86vidmode-dev x11proto-xf86bigfont-dev
x11proto-scrnsaver-dev  x11proto-resource-dev x11proto-trap-dev
x11proto-resource-dev x11proto-evie-dev  x11proto-xf86misc-dev
x11proto-bigreqs-dev x11proto-xf86dga-dev  libxfont-dev libxkbui-dev
libxxf86misc-dev libxxf86vm-dev  libxaw7-dev

# then I added row #include X11/X.h to
sudo nano /usr/include/X11/extensions/render.h
# This bug is not yet fixed.

time ./autogen.sh
# real0m51.086s
# user0m42.719s
# sys 0m8.237s

time ./configure
# real0m18.285s
# user0m12.957s
# sys 0m6.856s

time make
#real6m0.933s
#user4m14.160s
#sys 1m22.453s

I haven't done this yet on freerunner but I think it takes couple of
hours.( I do not know easy way to crosscompile it)

I'm not brave enough to 'make install'  on my computer, but if I do
'make install' on my phone it is ready then?

-Aapo Rantalainen

___
support mailing list
support@lists.openmoko.org
https://lists.openmoko.org/mailman/listinfo/support


Re: Glamo driver on Debian

2008-08-21 Thread Timo Juhani Lindfors
Aapo Rantalainen [EMAIL PROTECTED] writes:
 I'm not brave enough to 'make install'  on my computer, but if I do
 'make install' on my phone it is ready then?

Don't. It's a debian package so you build and install it with

wget 
http://pkg-fso.alioth.debian.org/xglamo-beta/xglamo_1.3.0.0+git20080807.orig.tar.gz
wget 
http://pkg-fso.alioth.debian.org/xglamo-beta/xglamo_1.3.0.0+git20080807-1.diff.gz
wget 
http://pkg-fso.alioth.debian.org/xglamo-beta/xglamo_1.3.0.0+git20080807-1.dsc
dpkg-source -x xglamo_1.3.0.0+git20080807-1.dsc
cd xglamo-1.3.0.0+git20080807/
dpkg-buildpackage -rfakeroot
sudo dpkg -i ../xglamo_1.3.0.0+git20080807-1_i386.deb

and you'll even be told what to install if some dependencies are
missing. (I tested these steps on debian unstable on x86.)


___
support mailing list
support@lists.openmoko.org
https://lists.openmoko.org/mailman/listinfo/support


Re: Glamo driver on Debian

2008-08-21 Thread xaos x
I second this question. Does glamo in debian fix the xrandr problem?

-Tom


- Original Message -
From: arne anka [EMAIL PROTECTED]
To: Support for Openmoko Device Owners support@lists.openmoko.org
Sent: Thursday, August 21, 2008 8:06:15 AM GMT -05:00 US/Canada Eastern
Subject: Re: Glamo driver on Debian

xrandr -o 1
?

___
support mailing list
support@lists.openmoko.org
https://lists.openmoko.org/mailman/listinfo/support


Re: Glamo driver on Debian

2008-08-21 Thread Timo Juhani Lindfors
Aapo Rantalainen [EMAIL PROTECTED] writes:
 user system, so no sudo and i386-armel). It took 120min.

Interesting. I did

qemubuilder --build xglamo_1.3.0.0+git20080807-1.dsc

on a 2.2 GHz athlon and it took 132 minutes:

real132m46.188s
user125m59.104s
sys 0m52.419s


___
support mailing list
support@lists.openmoko.org
https://lists.openmoko.org/mailman/listinfo/support