Hi Nikolaus,

Great fixes and git repository !

Some feedback when compiling the git sources
I downloaded by using git clone git://git.goldelico.com/letux-400.git

1)
Below file is missing:
arch/mips/kernel/vmlinux.lds.S:2:37: error: asm-generic/vmlinux.lds.h: No such 
file or directory
make[1]: *** [arch/mips/kernel/vmlinux.lds] Error 1
make: *** [arch/mips/kernel] Error 2

Need to add below file to the git repository
include/asm-generic/vmlinux.lds.h

2) Loading kernel modules...FATAL: Could not load 
/lib/modules/2.6.24.3-gcf00527a-dirty/modules.dep: No such file or directory
depmod directory better use /lib/modules/2.6.24.3.

3) Sources from new rtc driver and mouse_gpio are not included in the main git. 

Below added manually
- copy drivers/i2c/busses/Kconfig from 0.3 git source
- copy drivers/i2c/busses/Makefile from 0.3 git source
- Copy arch/mips/jz4730/board-minipc.c. from 0.3 git source
- Copy arch/mips/jz4730/platform.c from 0.3 git source
- Copy driver/rtc/rtc-pcf8563.c from 0.3 git source
- Copy driver/input/mouse/gpio_mouse.c from 0.3 git source
- CONFIG_RTC_DRV_PCF8563=y
- CONFIG_I2C_CHARDEV=y

It would have been easier if it's possible to automatic git the latest 0.3 
source, you may add it in the help ;-)

4) RTC in /dev/rtc0 c 254 0 = CONFIG_RTC_DRV_PCF8563
Only works during start-up, after some while I get pcf8563 0-0051: low voltage 
detected, date/time is not reliable.
Could this indicate my battery is too low to store the correct date time or 
someting else critical with the driver ?
Where can I buy new batteries for my trendtac, hehe ;-) 

For time being I will use below old driver
RTC driver in Character devices = /dev/rtc c 10 135 = CONFIG_RTC_PCF8563
hwclock alway's showup with this one.
Only problem is that the kernel cannot re/set the time during start and resume, 
for me not a problem. 

Grt Ruben.

> To: mipsbook-devel@linuxtogo.org
> CC: mipsbook-devel@linuxtogo.org
> From: h...@computer.org
> Date: Thu, 6 May 2010 20:38:24 +0200
> Subject: Re: [Mipsbook-devel] 2.6.24-Kernel: touchpad buttons
> 
> So,
> I have found a way to make xfce4 work... I did copy the /etc/X11/ 
> xorg.conf file from the 3MX system...
> 
> And: the touchpad buttons are working! 20ms appears to be very ok.
> 
> So we can regard this issue also as solved.
> 
> Next is reboot...
> And final one will be sound.
> 
> Did anyone of you already test the Debian Lenny and the new kernel?  
> Feedbacks are welcome!
> 
> BR,
> Nikolaus
> 
> Am 06.05.2010 um 07:46 schrieb Dr. H. Nikolaus Schaller:
> 
> > Finally, I got it working. Wasn't really difficult.
> > I can now see the touchpad buttons as /dev/input/mouse0 and the pad  
> > movements as /dev/input/mouse1
> >
> > And cat /dev/input/mouse0 | xxd reports nice events when pressing  
> > the buttons... But I have not yet tested with a X11 environment so I  
> > don't know if the "sensor fusion" works and if the sampling rate can  
> > be reduced or should be increased. Currently it is 20ms.
> >
> > Here are the patches (commit-diff):
> >
> > http://projects.goldelico.com/p/letux-400/source/commit/6b9252d42c8342d3b98da6f46e3f833184af6007/
> >
> > For complete sources see v0.3:
> >
> > http://projects.goldelico.com/p/letux-400/source/tree/v0.3/
> >
> > A SD-card kernel with this patch included/configured can be  
> > downloaded from:
> >
> > http://download.goldelico.com/letux-400/20100506-lenny400
> >
> > BR,
> > Nikolaus
> >
> > Am 05.05.2010 um 19:12 schrieb Dr. H. Nikolaus Schaller:
> >
> >> Hi ard,
> >> I have now hacked the gpio_mouse driver into my code. I had to  
> >> patch the Kconfig to include GENERIC_GPIO. And add 4 gpio-access  
> >> functions to the minipc board file and add some platform_device  
> >> struct.
> >>
> >> Now the driver shows itself as
> >>
> >> /sys/devices/platform/gpio-mouse
> >> /sys/bus/platform/devices/gpio-mouse
> >>
> >> But I could not identify an entry in /dev/input
> >> Maybe, because there is no matching udev rule...
> >
> > Was just a typo in the board config: "gpio-mouse" != "gpio_mouse"
> >
> >>
> >> BR,
> >> Nikolaus
> >>
> >>
> >>
> >> Am 05.05.2010 um 12:14 schrieb ard:
> >>
> >>> On Wed, May 05, 2010 at 11:33:49AM +0200, Dr. H. Nikolaus Schaller  
> >>> wrote:
> >>>> So I think adding the touchpad buttons to the touchpad driver  
> >>>> doesn't
> >>>> make sense. Would it be good to add it to the keyboard driver? Or  
> >>>> to
> >>>> patch/configure some mouse driver? E.g. the input/mouse/ 
> >>>> gpio_mouse.c
> >>> Hmmm, maybe that's a good idea. An event driver that's registered
> >>> as a mouse so that it's events are gathered in /dev/mice...
> >>> That shouldn't even be to hard...
> >>>
> >>> -- 
> >>> .signature not found
> >>>
> >>> _______________________________________________
> >>> Mipsbook-devel mailing list
> >>> Mipsbook-devel@linuxtogo.org
> >>> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/mipsbook-devel
> >>
> >>
> >> _______________________________________________
> >> Mipsbook-devel mailing list
> >> Mipsbook-devel@linuxtogo.org
> >> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/mipsbook-devel
> >
> >
> > _______________________________________________
> > Mipsbook-devel mailing list
> > Mipsbook-devel@linuxtogo.org
> > http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/mipsbook-devel
> 
> 
> _______________________________________________
> Mipsbook-devel mailing list
> Mipsbook-devel@linuxtogo.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/mipsbook-devel
                                          
_________________________________________________________________
New Windows 7: Simplify what you do everyday. Find the right PC for you.
http://windows.microsoft.com/shop
_______________________________________________
Mipsbook-devel mailing list
Mipsbook-devel@linuxtogo.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/mipsbook-devel

Reply via email to