Re: [Zaurus-devel] Zaurus: kernel 2.6.38

2011-03-18 Thread Marko Katić
2.6.38 with OE defconfig boots just fine on an Akita. However, i get a white
screen when i try to suspend. Kernel was compiled with gcc 4.5.2 xchain
built with OE.
Can anyone confirm that suspend is working in 2.6.38 on an Akita?

On Wed, Mar 16, 2011 at 10:25 AM, Andrea Adami wrote:

> Hello,
>
> it seems vanilla kernel 2.6.38 boots just fine on all Zaurus models.
> We have fresh recipes in OpenEmbedded (linux and linux-kexecboot) for
> c7x0, akita, spitz, poodle.
> Collie and tosa will be committed later today.
>
> Test images will be uploaded soon.
>
> Regards
>
> Andrea
>
> ___
> Zaurus-devel mailing list
> Zaurus-devel@lists.linuxtogo.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/zaurus-devel
>
___
Zaurus-devel mailing list
Zaurus-devel@lists.linuxtogo.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/zaurus-devel


Re: [Zaurus-devel] Zaurus: kernel 2.6.38

2011-03-16 Thread Stanislav Brabec
Yury Bushmelev wrote:

> > I also started to write a small dbus service (service watching input
> > device and sending rotation and audio switch events to clients -
> > probably rotation, audio and brightness applets on the screen), but
> > never finished.
> 
> I'm interested in such thing for my ThinkPad X61 tablet :)
> Have you published your work anywhere?

Doing just now. It is a WIP, but it may help a bit. Commented code is
stolen from another projects and needs to be adjusted.

http://ftp.penguin.cz/pub/users/utx/zaurus/evdevd-unfinished.tar.bz2

The top directory contains some learning examples.

The code intended to be release is in evdevd-0.1. I wanted to write it
without glib or any other dbus proxy. It makes code a bit more complex
and especially I had to learn use of select().

The idea is following:

When client starts, it queries for the current status
by .../Evdevd/GetLid. It will starts listening on .../Evdevd/Lid would
to get change signals.

I was not yet decided whether "force rotation" or "force headphone mode"
should be part of the daemon or part of the client.

-- 


Stanislav Brabec
http://www.penguin.cz/~utx/zaurus


___
Zaurus-devel mailing list
Zaurus-devel@lists.linuxtogo.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/zaurus-devel


Re: [Zaurus-devel] Zaurus: kernel 2.6.38

2011-03-16 Thread Yury Bushmelev
2011/3/17 Stanislav Brabec :
> Andrea Adami wrote:
>> Third step is the new event-driven zaurusd.
>
> Cyril Hrubis wrote something.
> http://metan.lindevdoc.org/git/?p=zaurusd.git/.git;a=summary
>
> I also started to write a small dbus service (service watching input
> device and sending rotation and audio switch events to clients -
> probably rotation, audio and brightness applets on the screen), but
> never finished.

I'm interested in such thing for my ThinkPad X61 tablet :)
Have you published your work anywhere?

[skip]

> Another blocker is the fuzz of the touchscreen device (if we don't want
> to use depecated tslib input device). There exists some patches from
> Vitaly Minko sent to this list. (Note that thread started early after
> setup of this list and it is not archived completely.)
> http://lists.linuxtogo.org/pipermail/zaurus-devel/2009-November/13.html
>
> Again, Cyril Hrubis wrote a generic event filter, which can perform
> similar job.
> http://atrey.karlin.mff.cuni.cz/~metan/evfilter/

I'll prefer having this in-kernel.. Not sure about overall policy though.
May be lumag have some suggestion wrt this btw?

-- 
Yury Bushmelev

___
Zaurus-devel mailing list
Zaurus-devel@lists.linuxtogo.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/zaurus-devel


Re: [Zaurus-devel] Zaurus: kernel 2.6.38

2011-03-16 Thread Stanislav Brabec
Andrea Adami wrote:
> Third step is the new event-driven zaurusd.

Cyril Hrubis wrote something.
http://metan.lindevdoc.org/git/?p=zaurusd.git/.git;a=summary

I also started to write a small dbus service (service watching input
device and sending rotation and audio switch events to clients -
probably rotation, audio and brightness applets on the screen), but
never finished.

> Fourth step (to be discussed) is moving all to xorg-xserver.

It's basically possible and I already succeeded. I even wrote a nice
keymap with working CapsLock (programming XKB is crazy!) and layout
switch.
http://ftp.penguin.cz/pub/users/utx/zaurus/files/xserver-xorg/

But last time I tried it (a year ago), it needed extra ~15 megabytes of
RAM. It's not acceptable for device with 64MB of RAM.

Another blocker is the fuzz of the touchscreen device (if we don't want
to use depecated tslib input device). There exists some patches from
Vitaly Minko sent to this list. (Note that thread started early after
setup of this list and it is not archived completely.)
http://lists.linuxtogo.org/pipermail/zaurus-devel/2009-November/13.html

Again, Cyril Hrubis wrote a generic event filter, which can perform
similar job.
http://atrey.karlin.mff.cuni.cz/~metan/evfilter/

-- 


Stanislav Brabec
http://www.penguin.cz/~utx/zaurus


___
Zaurus-devel mailing list
Zaurus-devel@lists.linuxtogo.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/zaurus-devel


Re: [Zaurus-devel] Zaurus: kernel 2.6.38

2011-03-16 Thread Yury Bushmelev
2011/3/16 Stanislav Brabec :
> Andrea Adami wrote:
>
>> it seems vanilla kernel 2.6.38 boots just fine on all Zaurus models.
>> We have fresh recipes in OpenEmbedded (linux and linux-kexecboot) for
>> c7x0, akita, spitz, poodle.
>> Collie and tosa will be committed later today.
>
> Not only that it boots. Even battery seems to survive overnight suspend!
>
> I just seen following problems:
> - I guess that I seen some errors about missing audio (untested).
> - tslib stopped to understand /dev/input/touchscreen0.
>
> After fixing these two issues, it may be a good candidate for update the
> default kernel in the feeds.
>
> And long time running issues:
> - Serial without console may need to close/open after suspend to work
>  again.
> - Suspend still has problems with MAX (but offline charging
>  surprisingly seems to work, I did not test whether even stopping of
>  charging works)
> - Unfiltered touchscreen precision is still tragical (50 pixel jumps are
>  not exceptions).
> - I still did not find to finish my resistor array keyboard driver (AKA
>  remote control). I will probably port the old one to get remote
>  working there.
> - Status of filesystem corruptions is not known (it is happening with
>  varying frequency in all 2.6 kernels).

It's amazing anyway :)
Non-working offline changing was long time show-stopper for us. Now we
can at least have good working base for fixing relatively small
problems!

-- 
Yury Bushmelev

___
Zaurus-devel mailing list
Zaurus-devel@lists.linuxtogo.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/zaurus-devel


Re: [Zaurus-devel] Zaurus: kernel 2.6.38

2011-03-16 Thread Andrea Adami
On Wed, Mar 16, 2011 at 2:25 PM, Stanislav Brabec  wrote:
> Andrea Adami wrote:
>
>> it seems vanilla kernel 2.6.38 boots just fine on all Zaurus models.
>> We have fresh recipes in OpenEmbedded (linux and linux-kexecboot) for
>> c7x0, akita, spitz, poodle.
>> Collie and tosa will be committed later today.
>
> Not only that it boots. Even battery seems to survive overnight suspend!
>
> I just seen following problems:
> - I guess that I seen some errors about missing audio (untested).
> - tslib stopped to understand /dev/input/touchscreen0.

There are two issues there: using linux-rp there is a bunch of

module_autoload_snd-pcm-oss = "snd-pcm-oss"
module_autoload_pcmcia_core = "pcmcia_core"
...
module_autoload_snd-soc-spitz_spitz = "snd-soc-spitz"

I'd say, here we can build those modules in kernel...

>
> After fixing these two issues, it may be a good candidate for update the
> default kernel in the feeds.

Yes, first target is moving to linux.inc and second step will be 'use
standard udev'.
Third step is the new event-driven zaurusd.
Fourth step (to be discussed) is moving all to xorg-xserver.

Opinions?

>
> And long time running issues:
> - Serial without console may need to close/open after suspend to work
>  again.
> - Suspend still has problems with MAX (but offline charging
>  surprisingly seems to work, I did not test whether even stopping of
>  charging works)
> - Unfiltered touchscreen precision is still tragical (50 pixel jumps are
>  not exceptions).
> - I still did not find to finish my resistor array keyboard driver (AKA
>  remote control). I will probably port the old one to get remote
>  working there.
> - Status of filesystem corruptions is not known (it is happening with
>  varying frequency in all 2.6 kernels).
>

OFC, bugs are always around but at least we'll be not alone fiddling
with old kernels...

Regards

Andrea


> --
> Stanislav Brabec
> http://www.penguin.cz/~utx/zaurus
>
>
> ___
> Zaurus-devel mailing list
> Zaurus-devel@lists.linuxtogo.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/zaurus-devel
>

___
Zaurus-devel mailing list
Zaurus-devel@lists.linuxtogo.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/zaurus-devel


Re: [Zaurus-devel] Zaurus: kernel 2.6.38

2011-03-16 Thread Stanislav Brabec
Andrea Adami wrote:

> it seems vanilla kernel 2.6.38 boots just fine on all Zaurus models.
> We have fresh recipes in OpenEmbedded (linux and linux-kexecboot) for
> c7x0, akita, spitz, poodle.
> Collie and tosa will be committed later today.

Not only that it boots. Even battery seems to survive overnight suspend!

I just seen following problems:
- I guess that I seen some errors about missing audio (untested).
- tslib stopped to understand /dev/input/touchscreen0.

After fixing these two issues, it may be a good candidate for update the
default kernel in the feeds.

And long time running issues:
- Serial without console may need to close/open after suspend to work
  again.
- Suspend still has problems with MAX (but offline charging
  surprisingly seems to work, I did not test whether even stopping of
  charging works)
- Unfiltered touchscreen precision is still tragical (50 pixel jumps are
  not exceptions).
- I still did not find to finish my resistor array keyboard driver (AKA
  remote control). I will probably port the old one to get remote
  working there.
- Status of filesystem corruptions is not known (it is happening with
  varying frequency in all 2.6 kernels).

-- 
Stanislav Brabec
http://www.penguin.cz/~utx/zaurus


___
Zaurus-devel mailing list
Zaurus-devel@lists.linuxtogo.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/zaurus-devel


Re: [Zaurus-devel] Zaurus: kernel 2.6.38

2011-03-16 Thread Simon Siebert
Am Mittwoch, den 16.03.2011, 11:55 +0100 schrieb Guilhem Bonnefille:
> Great news. I will try to invest more time on my c7x0 so.
Same here, I'll try it on my SL-C3000...




___
Zaurus-devel mailing list
Zaurus-devel@lists.linuxtogo.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/zaurus-devel


Re: [Zaurus-devel] Zaurus: kernel 2.6.38

2011-03-16 Thread Guilhem Bonnefille
Great news. I will try to invest more time on my c7x0 so.

2011/3/16 Andrea Adami :
> Hello,
>
> it seems vanilla kernel 2.6.38 boots just fine on all Zaurus models.
> We have fresh recipes in OpenEmbedded (linux and linux-kexecboot) for
> c7x0, akita, spitz, poodle.
> Collie and tosa will be committed later today.
>
> Test images will be uploaded soon.
>
> Regards
>
> Andrea
>
> ___
> Zaurus-devel mailing list
> Zaurus-devel@lists.linuxtogo.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/zaurus-devel
>



-- 
Guilhem BONNEFILLE
-=- JID: gu...@im.apinc.org MSN: guilhem_bonnefi...@hotmail.com
-=- mailto:guilhem.bonnefi...@gmail.com
-=- http://nathguil.free.fr/

___
Zaurus-devel mailing list
Zaurus-devel@lists.linuxtogo.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/zaurus-devel