Author Topic: Help New Kernel For Pdaxrom  (Read 24835 times)

louigi600

  • Sr. Member
  • ****
  • Posts: 471
    • View Profile
Help New Kernel For Pdaxrom
« Reply #60 on: July 05, 2007, 03:42:39 pm »
Anyone know if since 2.6.16 any Zaurus stuff in drivers/misc/ moved to anywhere else ?

I'm just wondering if this patch is being applied in the right path ?

--- linux/drivers/misc/Kconfig~ 2006-05-19 15:19:51.000000000 +0000
+++ linux/drivers/misc/Kconfig  2006-05-19 15:58:08.000000000 +0000
@@ -28,5 +28,8 @@
 
          If unsure, say N.
 
-endmenu
+config SHARPSL_PARAM
+       bool "Device driver for SHARP SL parameters tuning"
+       depends on PXA_SHARPSL
 
+endmenu

Even if I adjust the patch so that i applies kernel will not build:
  CC      drivers/misc/sharpsl-param/sharpsl_param.o
drivers/misc/sharpsl-param/sharpsl_param.c:21:21: asm/apm.h: No such file or directory
make[3]: *** [drivers/misc/sharpsl-param/sharpsl_param.o] Error 1
make[2]: *** [drivers/misc/sharpsl-param] Error 2
make[1]: *** [drivers/misc] Error 2
make: *** [drivers] Error 2

BTW: I've 2.6.21.5 kernel building booting on my C760 without this patch.
« Last Edit: July 05, 2007, 05:12:17 pm by louigi600 »
Regards
David

SL-c760*  pdaXrom latest
SL-c860    pdaXrom latest ;-)
SL-c1000  pdaXrom Latest
Acer Aspire One running slackware and Clash
Toshiba AC100 running ARMedslack and Clash

*with some hardware problems but good for testing

Hrw

  • Hero Member
  • *****
  • Posts: 1366
    • View Profile
Help New Kernel For Pdaxrom
« Reply #61 on: July 06, 2007, 10:06:53 am »
asm/apm.h -> linux/apm_emulation.h
OpenZaurus 3.5.4x Release Manager
OpenEmbedded, Ångström, Poky developer
My website

Misc embedded hardware.

louigi600

  • Sr. Member
  • ****
  • Posts: 471
    • View Profile
Help New Kernel For Pdaxrom
« Reply #62 on: July 06, 2007, 12:49:14 pm »
Quote
asm/apm.h -> linux/apm_emulation.h
[div align=\"right\"][a href=\"index.php?act=findpost&pid=164444\"][{POST_SNAPBACK}][/a][/div]

I Could not find linux/apm_emulation.h:

  CC      drivers/misc/sharpsl-param/sharpsl_param.o
drivers/misc/sharpsl-param/sharpsl_param.c:21:33: linux/apm_emulation.h: No such file or directory
make[3]: *** [drivers/misc/sharpsl-param/sharpsl_param.o] Error 1
make[2]: *** [drivers/misc/sharpsl-param] Error 2
make[1]: *** [drivers/misc] Error 2
make: *** [drivers] Error 2

I guess it should be linux/apm-emulation.h  .... with this ti builds.

Thanks Hrw.
Regards
David

SL-c760*  pdaXrom latest
SL-c860    pdaXrom latest ;-)
SL-c1000  pdaXrom Latest
Acer Aspire One running slackware and Clash
Toshiba AC100 running ARMedslack and Clash

*with some hardware problems but good for testing

louigi600

  • Sr. Member
  • ****
  • Posts: 471
    • View Profile
Help New Kernel For Pdaxrom
« Reply #63 on: July 07, 2007, 03:56:13 am »
Ok it builds and zaurushw seems to be working (at least on my C760).
Nandlogical is working again (althought I did nothing to try to fix it ... maybe the older kenrels had it broke or maybe the OE patches fixed it [althought this last one is unlikely because they do not use nandlogical from 2.6 kernel env]).

Amongst the the issues I noticed with 2.6.20.6 and 2.6.21.1 only one remains: the odd behaviour in X.

Initailly everything seems fine untill you press the close window button (not sire if the same happens with any window button) or even any desktop icon:
first press seems as if you missed it  (feels like the thing has been selected),
seconf press actually does the job (closes the window or opens the icon),
from then on this is the behaviour of all buttos and icons (even the gcalk on-screen buttons).

I'm not sure where the problem is but this did not happen with 2.6.16 kernel.
is there a specific patch to fix that or is there some X settings that must be tweeged ?

P.S. I've still to fix all the issues with 2.6.21.5 and 2.6.21.6 is out !!!!
Thank God that in the changelog there is only NETFILTER stuff ;-)
« Last Edit: July 07, 2007, 04:23:54 am by louigi600 »
Regards
David

SL-c760*  pdaXrom latest
SL-c860    pdaXrom latest ;-)
SL-c1000  pdaXrom Latest
Acer Aspire One running slackware and Clash
Toshiba AC100 running ARMedslack and Clash

*with some hardware problems but good for testing

Civil

  • Full Member
  • ***
  • Posts: 103
    • View Profile
    • http://
Help New Kernel For Pdaxrom
« Reply #64 on: July 07, 2007, 01:06:02 pm »
I'm now tring to combine old OZ's patches and handhelds kernel (to make unified ebuild for gentoo for both pda's I have). I thik I'll try to build it soon and post results here.

louigi600
Where can I get your modified patches?
Zaurus C-3100 ( Gentoo 2007.0 eabi, kernel 2.6.21.6)
http://www.zavrik.info - Russian Zaurus Site.

louigi600

  • Sr. Member
  • ****
  • Posts: 471
    • View Profile
Help New Kernel For Pdaxrom
« Reply #65 on: July 07, 2007, 01:15:04 pm »
My work on kernel can be gotten from here
username=anonymous and blank password.
If you want to use the buildscript you will also need master config file and common functions.

I'm still lost about the odd behavour in X ... anyone have any ideas ?
« Last Edit: July 07, 2007, 01:26:01 pm by louigi600 »
Regards
David

SL-c760*  pdaXrom latest
SL-c860    pdaXrom latest ;-)
SL-c1000  pdaXrom Latest
Acer Aspire One running slackware and Clash
Toshiba AC100 running ARMedslack and Clash

*with some hardware problems but good for testing

cortez

  • Sr. Member
  • ****
  • Posts: 375
    • View Profile
    • http://www.omegamoon.com
Help New Kernel For Pdaxrom
« Reply #66 on: July 08, 2007, 05:18:31 am »
Quote
My work on kernel can be gotten from here
username=anonymous and blank password.
If you want to use the buildscript you will also need master config file and common functions.

I'm still lost about the odd behavour in X ... anyone have any ideas ?
[div align=\"right\"][a href=\"index.php?act=findpost&pid=164508\"][{POST_SNAPBACK}][/a][/div]

I recognize the behaviour you describe from RC12. When pressing the close or maximize button they keep pressed. I don't know, I had the idea that recalbration worked somewhat.
[div align=\"center\"]== == == == == == == == == == == == == ==
www.omegamoon.com
Zaurus SL-C750 - Died in a dreadful coffee experiment, has a second life somewhere in the Czech Republic
Zaurus SL-C1000 - Multiboot Zubuntu, Debian, Fedora, Poky, Android and others
Zaurus SL-C3100 - Development device, currently Zubuntu 2.0
Zaurus SL-6000L - The fridge is running Zubuntu 1.0
Zaurus SL-C860 - Cacko, untouched since kindly donated, waiting for Zubuntu
== == == == == == == == == == == == == ==[/div]

louigi600

  • Sr. Member
  • ****
  • Posts: 471
    • View Profile
Help New Kernel For Pdaxrom
« Reply #67 on: July 08, 2007, 06:22:22 am »
I did recalibrate pointer ... but it got no better.

Anyone have any other ideas ?
Regards
David

SL-c760*  pdaXrom latest
SL-c860    pdaXrom latest ;-)
SL-c1000  pdaXrom Latest
Acer Aspire One running slackware and Clash
Toshiba AC100 running ARMedslack and Clash

*with some hardware problems but good for testing

Capn_Fish

  • Hero Member
  • *****
  • Posts: 2342
    • View Profile
    • http://
Help New Kernel For Pdaxrom
« Reply #68 on: July 08, 2007, 10:15:37 am »
Quote
I did recalibrate pointer ... but it got no better.

Anyone have any other ideas ?
[div align=\"right\"][a href=\"index.php?act=findpost&pid=164519\"][{POST_SNAPBACK}][/a][/div]
The X issue sounds like behavior lisfted when I was looking at ZBochs. I don't know if the website is still up, but the guy saaid that one tap put the mouse button down, and onther lifted it up. Is the kernel doing that on you, possibly?
SL-C750- pdaXrom beta 1 (mostly unused)
Current distro: Gentoo

louigi600

  • Sr. Member
  • ****
  • Posts: 471
    • View Profile
Help New Kernel For Pdaxrom
« Reply #69 on: July 08, 2007, 12:34:01 pm »
Quote
The X issue sounds like behavior lisfted when I was looking at ZBochs. I don't know if the website is still up, but the guy saaid that one tap put the mouse button down, and onther lifted it up. Is the kernel doing that on you, possibly?
[div align=\"right\"][a href=\"index.php?act=findpost&pid=164524\"][{POST_SNAPBACK}][/a][/div]
Intresting ... is is possible ... the feeling i had was one tap selected object and the next activated .... but that was just a feeling ... I've no evidence though.
Ither way basically that is what is happening.

The only thing I've changed is setup is actually the kernel (and kernel modules) so I guess the kernel is somehow involved in the trick ;-)

Sash suggested that plying with tslib settings might help ... but I've no idea how to do that.
Regards
David

SL-c760*  pdaXrom latest
SL-c860    pdaXrom latest ;-)
SL-c1000  pdaXrom Latest
Acer Aspire One running slackware and Clash
Toshiba AC100 running ARMedslack and Clash

*with some hardware problems but good for testing

InSearchOf

  • Administrator
  • Hero Member
  • *****
  • Posts: 1144
    • View Profile
    • http://
Help New Kernel For Pdaxrom
« Reply #70 on: July 08, 2007, 12:40:23 pm »
Quote
Quote
The X issue sounds like behavior lisfted when I was looking at ZBochs. I don't know if the website is still up, but the guy saaid that one tap put the mouse button down, and onther lifted it up. Is the kernel doing that on you, possibly?
[div align=\"right\"][a href=\"index.php?act=findpost&pid=164524\"][{POST_SNAPBACK}][/a][/div]
Intresting ... is is possible ... the feeling i had was one tap selected object and the next activated .... but that was just a feeling ... I've no evidence though.
Ither way basically that is what is happening.

The only thing I've changed is setup is actually the kernel (and kernel modules) so I guess the kernel is somehow involved in the trick ;-)

Sash suggested that plying with tslib settings might help ... but I've no idea how to do that.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=164526\"][{POST_SNAPBACK}][/a][/div]

I may also be an issue with on of the OE patches your using... they may have something conflicting with our configuration... just a thought :-/

Late
Sharp Zaurus SL-C3100 and SL-6000L
pdaXrom Developer
Please visit pdaXrom.org for updates
My Blog
IRC #pdaxrom @ FreeNode

louigi600

  • Sr. Member
  • ****
  • Posts: 471
    • View Profile
Help New Kernel For Pdaxrom
« Reply #71 on: July 08, 2007, 12:58:37 pm »
Quote
I may also be an issue with on of the OE patches your using... they may have something conflicting with our configuration... just a thought :-/

Late
[div align=\"right\"][a href=\"index.php?act=findpost&pid=164528\"][{POST_SNAPBACK}][/a][/div]
I'm using a mixture of OE and pdaXrom patches ... but it's very possible.
The odd thing is that during the calibration everything is fine ... and, once X is up, first click is ok ... all the other ar wrong !!

Anyway I found /etc/ts.conf: anyone have any suggestions on what to change to resolve the problem ?

InSearchOf ... I'd like to try the patches you used on 2.6.21 ... where can I get the patches you fixed up for 2.6.21 ?
Regards
David

SL-c760*  pdaXrom latest
SL-c860    pdaXrom latest ;-)
SL-c1000  pdaXrom Latest
Acer Aspire One running slackware and Clash
Toshiba AC100 running ARMedslack and Clash

*with some hardware problems but good for testing

Capn_Fish

  • Hero Member
  • *****
  • Posts: 2342
    • View Profile
    • http://
Help New Kernel For Pdaxrom
« Reply #72 on: July 08, 2007, 02:15:34 pm »
What's in your ts.conf? That may give a clue.

Here's mine (r198, C3100, not changed AFAIK)

Code: [Select]
module_raw input
module pthres pmin=1
#module variance delta=30
module dejitter delta=100
module linear
SL-C750- pdaXrom beta 1 (mostly unused)
Current distro: Gentoo

louigi600

  • Sr. Member
  • ****
  • Posts: 471
    • View Profile
Help New Kernel For Pdaxrom
« Reply #73 on: July 08, 2007, 02:19:55 pm »
Quote
What's in your ts.conf? That may give a clue.

Here's mine (r198, C3100, not changed AFAIK)

Code: [Select]
module_raw input
module pthres pmin=1
#module variance delta=30
module dejitter delta=100
module linear
[div align=\"right\"][a href=\"index.php?act=findpost&pid=164535\"][{POST_SNAPBACK}][/a][/div]
Mine was the same ... I uncommented out the
module variance delta=30
line ... but it got no better  (I was expecting that because "variance delta" does not sound as if it has anything to do with number of clicks)
« Last Edit: July 09, 2007, 03:50:34 am by louigi600 »
Regards
David

SL-c760*  pdaXrom latest
SL-c860    pdaXrom latest ;-)
SL-c1000  pdaXrom Latest
Acer Aspire One running slackware and Clash
Toshiba AC100 running ARMedslack and Clash

*with some hardware problems but good for testing

louigi600

  • Sr. Member
  • ****
  • Posts: 471
    • View Profile
Help New Kernel For Pdaxrom
« Reply #74 on: July 09, 2007, 03:59:34 am »
2.6.22 is out !
The changelod is quite big, and has ARM fixes, but I think that is cumulative since 2.6.21 ?

Well whatever ... I've 8 patches out of the 38 I'm using that no longer apply:
lzo_jffs2_lzomode-r0.patch
lzo_jffs2_sysfs-r0.patch
input_power-r7.patch
w100_extaccel-r0.patc
mmcsd_large_cards-r0.patch
mmcsd_no_scr_check-r0.patch
sharpsl-rc-r1.patch

have any of these gotten into the kernel or is it just that source changed slightly ?
« Last Edit: July 09, 2007, 04:23:56 am by louigi600 »
Regards
David

SL-c760*  pdaXrom latest
SL-c860    pdaXrom latest ;-)
SL-c1000  pdaXrom Latest
Acer Aspire One running slackware and Clash
Toshiba AC100 running ARMedslack and Clash

*with some hardware problems but good for testing