Re: [Zaurus-devel] corgi_ts

2010-01-11 Thread Pavel Machek
Hi! I wrote a part of resistive_keypad driver[1], but did not finish it. Interesting :-). Is it still possible to buy this kind of remote control somewhere / does anyone have any extra / ... I guess it should be quite easy to make one...? Ok, I guess I should fix audio, first...

Re: [Zaurus-devel] [suspend/resume] Re: userspace notification from module

2010-01-16 Thread Pavel Machek
Hi! I wasn't aware of this. That may be a good reason for adding kernel-based suspend notification, although I'd prefer ARM to notify the user space about the critical battery status allowing it to decide what to do. Hard to do, without breaking compatibility that goes

Re: [Zaurus-devel] [suspend/resume] Re: userspace notification from module

2010-01-16 Thread Pavel Machek
On Sat 2010-01-16 18:00:58, Stanislav Brabec wrote: Eric Miao wrote: And the other way we may need to look into what API the current userland apps on zaurus is depending on this 2.4 compatibility and make changes slowly to those apps. I guess that 2.4 compatibility is not an issue.

Re: [Zaurus-devel] bit errors on spitz

2010-03-21 Thread Pavel Machek
On Mon 2010-03-08 12:48:36, Stanislav Brabec wrote: Cyril Hrubis wrote: Well I've seen empty lines when editing file with vim And I have seen: - Unreproducible SIGSEGV of gcc (while Wi-Fi connection over CF card was running). - Unreproducible SIGSEGV of opkg (downloading via Wi-Fi

Re: [Zaurus-devel] bit errors on spitz

2010-03-29 Thread Pavel Machek
On Sun 2010-03-21 22:42:33, Stanislav Brabec wrote: Pavel Machek píše v Ne 21. 03. 2010 v 21:43 +0100: On Fri 2010-03-12 10:07:04, Stanislav Brabec wrote: Good tip. It seems that nobody ported driver for the voltage control chip ISL6271 from 2.4 kernel, and bootloader probably does

Re: [Zaurus-devel] [regression] 2.6.34-rc1 to -rc3 on zaurus: no longer boots

2010-04-08 Thread Pavel Machek
I tried compiling 2.6.34-rc1, and it does not boot :-(. It does not seem to even reset the framebuffer (I'm using kexec -- so it stays stuck on on previous screen). Tried again with -rc2 and -rc3, and neither boots :-(. I did not have time to set up serial console,

[Zaurus-devel] 2.6.34-rc3 vs zaurus spitz: mistery solved

2010-04-15 Thread Pavel Machek
Hi! For some reason, spitz will hang very early in boot with SLUB. With SLOB, it boots fine. SLUB worked fine in 2.6.33 and SLOB is hidden under CONFIG_EMBEDDED, so it took a while to figure out. Pavel -- (english)

[Zaurus-devel] spitz 2.6.34-rc4: fix On/off key name to fix warning during boot

2010-04-16 Thread Pavel Machek
On/Off contains slash in the name, which causes warning during boot. Signed-off-by: Pavel Machek pa...@ucw.cz --- ./arch/arm/mach-pxa/spitz.c 2010-03-21 22:09:12.0 +0100 +++ ./arch/arm/mach-pxa/spitz.c 2010-04-16 03:45:07.0 +0200 @@ -363,7 +363,7 @@ .type

Re: [Zaurus-devel] zaurus spitz suspend/resume issue

2010-04-18 Thread Pavel Machek
Hi! (please no html on lists) On Sun 2010-04-18 21:00:13, - Cortez - wrote: Since resuming my spitz from a suspended state doesn't work in 2.6.34-rc3 at the moment, I've tried to find out what the problem is with suspend/resume. Using CONFIG_PM_DEBUG I tried to test this by setting

Re: [Zaurus-devel] zaurus spitz suspend/resume issue

2010-04-20 Thread Pavel Machek
Hi!    Since resuming my spitz from a suspended state doesn't work in 2.6.34-rc3    at the moment, I've tried to find out what the problem is with    suspend/resume. Using CONFIG_PM_DEBUG I tried to test this by setting    /sys/power/pm_test to core and switching the device off with

Re: [Zaurus-devel] spitz kernel questions

2010-05-27 Thread Pavel Machek
Hi! I've got a C3000 I'm trying to juice every drop out of for my upcoming distro release so I've been wondering: .. * I've never done any cross compiling and especially without an overclocked Z I don't much fancy experimenting compiling my own kernel so who puts out the best pre-compilied

Re: [Zaurus-devel] [PATCH 1/2] pxa/spitz: Rework spitz

2010-07-09 Thread Pavel Machek
On Wed 2010-07-07 14:48:48, Marek Vasut wrote: This huge patch mostly shuffles code. The spitz.c file contained terrible mess and needed a cleanup, here it is: 1) Made every part modular, components are not built in if not selected. 2) Removed loads of preprocessor goo, mostly #ifdef

[Zaurus-devel] zaurus battery patches

2010-07-31 Thread Pavel Machek
+ * + * Copyright (c) 2009 Pavel Machek pa...@ucw.cz + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License version 2 as + * published by the Free Software Foundation. + * + * Li-ion batteries are angry beasts, and they like

[Zaurus-devel] 2.6.36-rc1 on zaurus: bluetooth regression

2010-08-21 Thread Pavel Machek
Hi! Good news is that it boots, suspends and resumes. Bad news is that bluetooth broke for me. I'm using CF bluetooth card. Socket 0 Bridge:[pxa2xx-pcmcia] (bus ID: pxa2xx-pcmcia) Configuration: state: on ready: yes Voltage: 3.3V Vcc: 3.3V

Re: [Zaurus-devel] pxa pcmcia timings

2010-09-04 Thread Pavel Machek
Hi! I used to delve into zaurus code for awhile ago. There are some local changes left from that time. One thing is the change to pxa pcmcia timings. Here's the original code from 2.6.16: static inline u_int pxa2xx_mcxx_hold(u_int pcmcia_cycle_ns, u_int

Re: [Zaurus-devel] Zaurus driver being loaded when it shouldn't.

2010-09-30 Thread Pavel Machek
Hi! I have a Dell Adamo laptop which has a wwan device which is triggering zaurus.ko to get loaded, probably due to this wildcard match.. alias: usb:v*p*d*dc*dsc*dp*ic02isc0Aip00* Full lsusb -v is at http://davej.fedorapeople.org/usb Unfortunately, I don't use usb device mode

Re: [Zaurus-devel] zaurus spitz 2.6.3* .config

2010-10-27 Thread Pavel Machek
Hi! i actually trying to create a debian system for my borzoi. since the rootfs from which i start is old (created with a kernel 2.6.24), trying to upgrade the sid system leads to a problem with udev (needs at least kernel 2.6.26). i try creating .config for 2.6.27.54 and 2.6.36 kernel. for

Re: [Zaurus-devel] zaurus spitz 2.6.3* .config

2010-10-28 Thread Pavel Machek
it this time. I see you got it working; if you still want my config, let me know. Pavel Have a nice day ! Franck On Tue, Oct 26, 2010 at 09:36:05AM +0200, Pavel Machek wrote : Hi! i actually trying to create a debian system

Re: [Zaurus-devel] zaurus bluetooth regression

2011-01-02 Thread Pavel Machek
Hi! It seems this commit commit 7a56aa45982bb87bfca98a2832b5ae782c03364a ... ...is responsible for my bluetooth problems on zaurus -- at least bisect pointed to it, as I use 16C950-based bluetooth card, it seems very logical. I'll try 2.6.37-rc8 with that patch reverted... And yes,

[Zaurus-devel] zaurus bluetooth regression

2011-01-02 Thread Pavel Machek
Hi! It seems this commit commit 7a56aa45982bb87bfca98a2832b5ae782c03364a Author: Yegor Yefremov yegor_s...@visionsystems.de Date: Wed Jun 16 16:29:55 2010 +0200 serial: add UART_CAP_EFR and UART_CAP_SLEEP flags to 16C950 UARTs definition Adding UART_CAP_EFR and UART_CAP_SLEEP flags

Re: [Zaurus-devel] zaurus bluetooth regression

2011-01-03 Thread Pavel Machek
Hi! It seems this commit commit 7a56aa45982bb87bfca98a2832b5ae782c03364a ... ...is responsible for my bluetooth problems on zaurus -- at least bisect pointed to it,  as I use 16C950-based bluetooth card, it seems very logical. I'll try 2.6.37-rc8 with that patch reverted...

[Zaurus-devel] pxa27x/spitz: serials in recent kernels

2011-03-15 Thread Pavel Machek
Hi! I cculd not get serial port to work in recent kernels (2.6.35 was oldest I tried). I know they are little used but still very useful for debugging. Is there some special config that needs to be done? Pavel -- (english)

[Zaurus-devel] 2.6.39-rc2 on zaurus: does not build, does not boot

2011-04-08 Thread Pavel Machek
Hi! Build fix is below. Maybe it is pending in the trees somewhere already... Boot stops just after mounting root filesystem; cursor stops flashing. (Any idea what goes on there?) Pavel --- ./drivers/video.ofic/pxafb.c

Re: [Zaurus-devel] zaurus: mmcblk0: error -110

2011-04-12 Thread Pavel Machek
On Tue 2011-04-12 17:52:17, Cyril Hrubis wrote: Hi! Which model do you have? And check the corresponding board file if card detect GPIO handling is doing right. I've got spitz (SL-3200). So I suppose the board file is arch/arm/mach-pxa/spitz.c, I'll have a look. Hmm, besides

[Zaurus-devel] 8250 vs pxa_serial (was Re: pxa27x/spitz: serials in recent kernels)

2011-04-12 Thread Pavel Machek
Hi! I cculd not get serial port to work in recent kernels (2.6.35 was oldest I tried). I know they are little used but still very useful for debugging. Is there some special config that needs to be done?                                                        Pavel I have output on

Re: [Zaurus-devel] [RFC PATCH v2 1/3] PM / Core: suspend_again callback for device PM.

2011-04-26 Thread Pavel Machek
Hi! too heavy (in fact it's much lighter weight than resuming all devices that your approach doesn't prevent from happening, so for example on my desktop/notebook machines I woulnd't mind at all if user space were thawed after all of the devices had been resumed). Well, it would

Re: [Zaurus-devel] [RFC PATCH v2 1/3] PM / Core: suspend_again callback for device PM.

2011-04-26 Thread Pavel Machek
Hi! And that's exactly what should be done. Have a user space process controlling that, because avoiding to thaw user space doesn't buy us almost anything. That makes Zaurus implement different user-kernel interface than PC class machine, because of hardware quirk. Let me

Re: [Zaurus-devel] latest angstrom image + linux-2.6.38.4 report

2011-05-10 Thread Pavel Machek
Hi! I just tested the latest angstrom image (built by myself). I seen following regressions in comparison with 2.6.26: - While booting from SD card, I seen kernel panic several times, but did not have serial cable attached. I am not able to reproduce it any more, even if I

Re: [Zaurus-devel] latest angstrom image + linux-2.6.38.4 report

2011-05-14 Thread Pavel Machek
Hi! In general, defconfig in OE is very poor (missing support for some parts of the hardware and many important USB devices). Here are my configs: http://www.penguin.cz/~utx/zaurus/feed/images/spitz/ (My fresh configs will always appear here after some testing.) sorry to

[Zaurus-devel] spitz pm: adjust messages

2011-05-21 Thread Pavel Machek
Charger error is something that should be reported to the syslog; do it. If temperature reading fails, we do not want to charge the battery, anyway. Signed-off-by: Pavel Machek pa...@ucw.cz diff --git a/arch/arm/mach-pxa/sharpsl_pm.c b/arch/arm/mach-pxa/sharpsl_pm.c index 785880f..513588c 100644

[Zaurus-devel] spitz pm: add power monitoring driver

2011-05-21 Thread Pavel Machek
code for the Sharp SL-3000c + * + * Copyright (c) 2009 Pavel Machek pa...@ucw.cz + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License version 2 as + * published by the Free Software Foundation. + * + */ +#include linux

Re: [Zaurus-devel] Disable CF during suspend

2011-05-21 Thread Pavel Machek
Hi! Disable SPITZ_SCP_CF_POWER during suspend. Otherwise it eats battery, fast. Thanks to Stanislav Brabec. If you can verify that your card turns off on suspend, then you have my: Acked-by: Stanislav Brabec u...@penguin.cz Yes, I checked the LEDs to make sure it is off. It is. But I

Re: [Zaurus-devel] Zaurus GPIO buttons with matrix keypad drivers

2011-05-21 Thread Pavel Machek
Hi! following comments from a Stanislav patch Spitz switched to generic matrix-gpio keyboard driver in 2.6.32-rc0, but that means that support for power button and lid switches was lost. This restores it, using button-gpio code. in the 2.6.38 source I only find in spitz.c: #if

[Zaurus-devel] 3.0-rc1: alsactl restore fails on spitz

2011-06-06 Thread Pavel Machek
Hi Something changed in ALSA land, if you use sound you may want to check. -- (english) http://www.livejournal.com/~pavelmachek (cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html ___ Zaurus-devel mailing list