Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Maemo: Developers

Maemo5 on Beagleboard

 

 

Maemo developers RSS feed   Index | Next | Previous | View Threaded


lists at harbaum

Oct 30, 2009, 1:49 AM

Post #1 of 14 (1548 views)
Permalink
Maemo5 on Beagleboard

Hi,

here's my current status:

The board is booting and i get a 800x600 image (on my 800x480 display :-( )
USB works, but neither touchscreen nor mouse are really doing what
i expect them to do. I am able to establish a WLAN connection to my home
network. In order to make this work three things have to be done:

1) Install everything necessary to use our particular WLAN stick
(e.g. incl. wpa_supplicant if your are using wpa in your home network
as in my case)

2) Change in /etc/udhcpc/default.bound
RESOLV_CONF="/var/run/resolv.conf"
to
RESOLV_CONF="/etc/resolv.conf"

in order to make udhcp change the main resolv.conf as we
are not running a local name server

3) Copy the sources.list used to build the rootfs into the
rootfs at /etc/apt

You should now be able to do such things like "apt-get update" and the
like.

Now for the problem: I haven't yet been able to work with the mouse
or the touchscreen in a useful manner. The most useful tool i found
so far to test the mouse/touchscreen input is "tuxpaint". If you have a
working network connection as stated above you can just apt-get install
tuxpaint. Starting tuxpaint from the console immediately gives you a
visible mouse pointer. So this is a simple way to actually see what
your inout devices are doing.

Sometimes (e.g. if you rebooted while tuxpaint was running, it won't
restart as it thinks it's already running. In that case delete the file
/media/mmc1/tuxpaint/lockfile.dat

What's your state? Has anyone actually been able to do something
with the mouse?

Till
_______________________________________________
maemo-developers mailing list
maemo-developers [at] maemo
https://lists.maemo.org/mailman/listinfo/maemo-developers


tuomas at kulve

Oct 30, 2009, 3:06 AM

Post #2 of 14 (1514 views)
Permalink
Re: Maemo5 on Beagleboard [In reply to]

Till Harbaum wrote:

> tuxpaint. Starting tuxpaint from the console immediately gives you a
> visible mouse pointer. So this is a simple way to actually see what
> your inout devices are doing.

I don't get the cursor with tuxpaint. Did you modify the libmatchbox2
and rebuild hildon-desktop?

> What's your state? Has anyone actually been able to do something
> with the mouse?

No. I can use it to unblank the screen..

--
Tuomas

_______________________________________________
maemo-developers mailing list
maemo-developers [at] maemo
https://lists.maemo.org/mailman/listinfo/maemo-developers


lists at harbaum

Oct 30, 2009, 4:26 AM

Post #3 of 14 (1509 views)
Permalink
Re: Re: Maemo5 on Beagleboard [In reply to]

Hi,

Thomas Kulve wrote:
> I don't get the cursor with tuxpaint. Did you modify the libmatchbox2
> and rebuild hildon-desktop?
Nope, i didn't change anything. If you just start tuxpaint without touching the
mouse at all, you should see the cursor in the screen center. Once you
touch it, it nearly immedtialy jumps of to the border.

The mouse really behaves weird and nearly
immediately jumps into one of the screen corners/borders. Have you ever
used a mouse with wrong protocol settings (e.g. ps2 with an imps2 mouse)?
The current situation looks pretty much the same. Perhaps it is even something
like that. I know the alpha port used a seperate xorg.conf which had to be invoked
this way:
-:~# Xorg -config /etc/xorg.conf-beagle &

I don't have a alpha setup anymore. Has one of you access to this old xorg.conf-beagle?
If yes, can you please post it so we can use it as a replacement?

> No. I can use it to unblank the screen..
Me too :-)

Till
_______________________________________________
maemo-developers mailing list
maemo-developers [at] maemo
https://lists.maemo.org/mailman/listinfo/maemo-developers


tero.kojo at nokia

Oct 30, 2009, 4:58 AM

Post #4 of 14 (1510 views)
Permalink
RE: Re: Maemo5 on Beagleboard [In reply to]

> -----Original Message-----
> From: maemo-developers-bounces [at] maemo
> [mailto:maemo-developers-bounces [at] maemo] On Behalf Of ext
> Till Harbaum
> Sent: 30 October, 2009 13:27
> To: Tuomas Kulve; Till Harbaum
> Cc: maemo-developers [at] maemo
> Subject: Re: Re: Maemo5 on Beagleboard
>
> Hi,
>
> Thomas Kulve wrote:
> > I don't get the cursor with tuxpaint. Did you modify the
> libmatchbox2
> > and rebuild hildon-desktop?
> Nope, i didn't change anything. If you just start tuxpaint
> without touching the mouse at all, you should see the cursor
> in the screen center. Once you touch it, it nearly immedtialy
> jumps of to the border.
>
> The mouse really behaves weird and nearly immediately jumps
> into one of the screen corners/borders. Have you ever used a
> mouse with wrong protocol settings (e.g. ps2 with an imps2 mouse)?
> The current situation looks pretty much the same. Perhaps it
> is even something like that. I know the alpha port used a
> seperate xorg.conf which had to be invoked this way:
> -:~# Xorg -config /etc/xorg.conf-beagle &
>
> I don't have a alpha setup anymore. Has one of you access to
> this old xorg.conf-beagle?
> If yes, can you please post it so we can use it as a replacement?

It's in the alpha patch
http://maemo-beagle.garage.maemo.org/files/maemo5-alpha/event-diff.patch
Last file in the patch, easy to extrack manually, as it's a new file.

Tero // waiting for the post to bring a beagle C2/3...

> > No. I can use it to unblank the screen..
> Me too :-)

I can do that on a B5, but I don't have the image that should appear :-)

> Till
> _______________________________________________
> maemo-developers mailing list
> maemo-developers [at] maemo
> https://lists.maemo.org/mailman/listinfo/maemo-developers
>
_______________________________________________
maemo-developers mailing list
maemo-developers [at] maemo
https://lists.maemo.org/mailman/listinfo/maemo-developers


lists at harbaum

Oct 30, 2009, 5:57 AM

Post #5 of 14 (1511 views)
Permalink
Re: RE: Re: Maemo5 on Beagleboard [In reply to]

Hi,

> It's in the alpha patch
Found it. Unfortunately it doesn't help.

I think i need some help of an x-server expert here. The problems with my
touchscreen are related to this:
(**) eGalax Inc. USB TouchController: Device: "/dev/input/event3"
(**) eGalax Inc. USB TouchController: Calibration factors: 200 3910 3761 180 0 0
(II) eGalax Inc. USB TouchController: Found x and y absolute axes

The calibration factors are completely nonsense and in fact the behaviour
of the touch makes sense when taking these numbers into account. But my touch needs
100 1900 100 1900 0 0

Where do these default numbers come from? Adding some section like described
here http://www.conan.de/touchscreen/evtouch.html does not have any impact
on these wrong numbers.

Till

_______________________________________________
maemo-developers mailing list
maemo-developers [at] maemo
https://lists.maemo.org/mailman/listinfo/maemo-developers


dirk.behme at googlemail

Oct 30, 2009, 9:38 AM

Post #6 of 14 (1507 views)
Permalink
Re: Maemo5 on Beagleboard [In reply to]

Tuomas Kulve wrote:
>> What's your state? Has anyone actually been able to do something
>> with the mouse?
>
> No. I can use it to unblank the screen..

Yes, same here (now) :)

I was able to solve my "USB is not detected" issues by connecting a
(powered) hub to Beagle rev C USB host port P7 (#8 in [1]). Having a
mouse and keyboard connected to the hub while starting (powering) make
USB work then. Pressing a keyboard key makes the screen unblank, too.

Having the powered hub connected to OTG port (#12 in [1]) doesn't work
for me at all. It worked for Angstrom, though.

Cheers

Dirk

[1] http://elinux.org/BeagleBoard#Components

_______________________________________________
maemo-developers mailing list
maemo-developers [at] maemo
https://lists.maemo.org/mailman/listinfo/maemo-developers


kees.jongenburger at gmail

Oct 31, 2009, 4:05 AM

Post #7 of 14 (1495 views)
Permalink
Re: Maemo5 on Beagleboard [In reply to]

> What's your state? Has anyone actually been able to do something
> with the mouse?

Perhaps this helps taken from http://maemo-beagle.garage.maemo.org/alpha.html
To make the mouse cursor visible, you should rename the transparent
cursor directory:

# sudo mv usr/share/icons/xcursor-transparent
usr/share/icons/xcursor-transparent.bak

Greetings
_______________________________________________
maemo-developers mailing list
maemo-developers [at] maemo
https://lists.maemo.org/mailman/listinfo/maemo-developers


tuomas at kulve

Oct 31, 2009, 4:19 AM

Post #8 of 14 (1490 views)
Permalink
Re: Maemo5 on Beagleboard [In reply to]

Kees Jongenburger wrote:
>> What's your state? Has anyone actually been able to do something
>> with the mouse?
>
> Perhaps this helps taken from http://maemo-beagle.garage.maemo.org/alpha.html
> To make the mouse cursor visible, you should rename the transparent
> cursor directory:
>
> # sudo mv usr/share/icons/xcursor-transparent
> usr/share/icons/xcursor-transparent.bak

That's changed. There is something else now, but removing that doesn't
help. I tried to modify libmatchbox2 (as Carsten suggested) but I didn't
get the pointer with that either.

--
Tuomas
_______________________________________________
maemo-developers mailing list
maemo-developers [at] maemo
https://lists.maemo.org/mailman/listinfo/maemo-developers


kees.jongenburger at gmail

Oct 31, 2009, 4:25 AM

Post #9 of 14 (1492 views)
Permalink
Re: Maemo5 on Beagleboard [In reply to]

On Sat, Oct 31, 2009 at 12:19 PM, Tuomas Kulve <tuomas [at] kulve> wrote:
> Kees Jongenburger wrote:
>>> What's your state? Has anyone actually been able to do something
>>> with the mouse?
>>
>> Perhaps this helps taken from http://maemo-beagle.garage.maemo.org/alpha.html
>> To make the mouse cursor visible, you should rename the transparent
>> cursor directory:
>>
>> # sudo mv usr/share/icons/xcursor-transparent
>> usr/share/icons/xcursor-transparent.bak
>
> That's changed. There is something else now, but removing that doesn't
> help. I tried to modify libmatchbox2 (as Carsten suggested) but I didn't
> get the pointer with that either.
>

xroach , naeko , xeyes , xev :P
Greetings
_______________________________________________
maemo-developers mailing list
maemo-developers [at] maemo
https://lists.maemo.org/mailman/listinfo/maemo-developers


dirk.behme at googlemail

Nov 1, 2009, 10:05 AM

Post #10 of 14 (1457 views)
Permalink
Re: Maemo5 on Beagleboard [In reply to]

Tuomas Kulve wrote:
> Kees Jongenburger wrote:
>>> What's your state? Has anyone actually been able to do something
>>> with the mouse?
>> Perhaps this helps taken from http://maemo-beagle.garage.maemo.org/alpha.html
>> To make the mouse cursor visible, you should rename the transparent
>> cursor directory:
>>
>> # sudo mv usr/share/icons/xcursor-transparent
>> usr/share/icons/xcursor-transparent.bak
>
> That's changed. There is something else now, but removing that doesn't
> help. I tried to modify libmatchbox2 (as Carsten suggested) but I didn't
> get the pointer with that either.

Carsten mentioned at IRC

"cut out the libmatchbox2 thing, recompile it and hildon desktop.. and
ctrl-shift-x starts xterm and it shows cursor"

Seems I'm not able to rebuild libmatchbox2 & hildon desktop. If
somebody could test this would be nice ;) If it works, providing some
binaries to exchange the existing rootfs ones would be nice.

Many thanks

Dirk
_______________________________________________
maemo-developers mailing list
maemo-developers [at] maemo
https://lists.maemo.org/mailman/listinfo/maemo-developers


tuomas at kulve

Nov 1, 2009, 10:15 AM

Post #11 of 14 (1459 views)
Permalink
Re: Maemo5 on Beagleboard [In reply to]

Dirk Behme wrote:

> "cut out the libmatchbox2 thing, recompile it and hildon desktop.. and
> ctrl-shift-x starts xterm and it shows cursor"
>
> Seems I'm not able to rebuild libmatchbox2 & hildon desktop. If somebody
> could test this would be nice ;) If it works, providing some binaries to
> exchange the existing rootfs ones would be nice.

I didn't have issues recompiling either of those. Here's the desktop
binary (libmatchbox2 should be compiled in statically):

http://tuomas.kulve.fi/tmp/hildon-desktop_2.2.100-16+0m5_armel.deb

But I didn't get any change with that. It would be nice to get the patch
for libmatchbox2 so I could check if my change was correct.

--
Tuomas
_______________________________________________
maemo-developers mailing list
maemo-developers [at] maemo
https://lists.maemo.org/mailman/listinfo/maemo-developers


h.heinold at tarent

Nov 4, 2009, 1:37 AM

Post #12 of 14 (1373 views)
Permalink
Re: RE: Re: Maemo5 on Beagleboard [In reply to]

On Fri, Oct 30, 2009 at 01:57:11PM +0100, Till Harbaum wrote:
> Hi,
>
> > It's in the alpha patch
> Found it. Unfortunately it doesn't help.
>
> I think i need some help of an x-server expert here. The problems with my
> touchscreen are related to this:
> (**) eGalax Inc. USB TouchController: Device: "/dev/input/event3"
> (**) eGalax Inc. USB TouchController: Calibration factors: 200 3910 3761 180 0 0
> (II) eGalax Inc. USB TouchController: Found x and y absolute axes
>
> The calibration factors are completely nonsense and in fact the behaviour
> of the touch makes sense when taking these numbers into account. But my touch needs
> 100 1900 100 1900 0 0
>
> Where do these default numbers come from? Adding some section like described
> here http://www.conan.de/touchscreen/evtouch.html does not have any impact
> on these wrong numbers.
>
> Till

Hi Till,

did you download the latest driver from
http://home.eeti.com.tw/web20/eGalaxTouchDriver/linuxDriver.htm ?

It comes with binary calibration and configure program called Touchkit,
which resolve your touchscreen problems. There is one funny think to notice
the right mouse click is emulated be holding the touchscreen for some time,
but this is configurable to your needs via the Touchkit-program.

_______________________________________________
maemo-developers mailing list
maemo-developers [at] maemo
https://lists.maemo.org/mailman/listinfo/maemo-developers


lists at harbaum

Nov 4, 2009, 12:09 PM

Post #13 of 14 (1357 views)
Permalink
Re: Maemo5 on Beagleboard [In reply to]

Hi,

Am Mittwoch 04 November 2009 schrieb Henning Heinold:
> did you download the latest driver from
> http://home.eeti.com.tw/web20/eGalaxTouchDriver/linuxDriver.htm ?
Nope, i am using the driver that is present in the kernel.

> It comes with binary calibration and configure program called Touchkit,
> which resolve your touchscreen problems. There is one funny think to notice
> the right mouse click is emulated be holding the touchscreen for some time,
> but this is configurable to your needs via the Touchkit-program.
Did you successfully run this program on maemo5 on the beagleboard?

Till
_______________________________________________
maemo-developers mailing list
maemo-developers [at] maemo
https://lists.maemo.org/mailman/listinfo/maemo-developers


h.heinold at tarent

Nov 9, 2009, 12:38 AM

Post #14 of 14 (1255 views)
Permalink
Re: Maemo5 on Beagleboard [In reply to]

On Wed, Nov 04, 2009 at 09:09:15PM +0100, Till Harbaum / Lists wrote:
> Hi,
>
> Am Mittwoch 04 November 2009 schrieb Henning Heinold:
> > did you download the latest driver from
> > http://home.eeti.com.tw/web20/eGalaxTouchDriver/linuxDriver.htm ?
> Nope, i am using the driver that is present in the kernel.
>

Kernel and X driver are different cases.

> > It comes with binary calibration and configure program called Touchkit,
> > which resolve your touchscreen problems. There is one funny think to notice
> > the right mouse click is emulated be holding the touchscreen for some time,
> > but this is configurable to your needs via the Touchkit-program.
> Did you successfully run this program on maemo5 on the beagleboard?
>
> Till

Nope only on atom-board with external touchscreen.

Args now its its clear what I forogt. Because its binary
it will not run on arm. Perhaps with qemu, if qemu runs
on beagleboard.

Bye Henning
_______________________________________________
maemo-developers mailing list
maemo-developers [at] maemo
https://lists.maemo.org/mailman/listinfo/maemo-developers

Maemo developers RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.