2.6.37 (qtmoko-v32.1 test report)

Lars-Peter Clausen lars at metafoo.de
Sat Jan 8 19:47:15 CET 2011


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1


Hi

On 01/08/2011 03:44 PM, Timo Juhani Lindfors wrote:
> > Hi Lars and Radek,
> >
> > Radek Polak <psonek2 at seznam.cz> writes:
>> >> I have now ported most of 2.6.34 patches from my qtmoko git on to of this. The
>> >> repository is here [1].
> >
> > thanks a lot for your efforts! Here's a preliminary test report. I'm
> > running qtmoko-v32.1 branch
> >
Thanks for testing :)

> > $ git log --oneline om-2.6.37..qtmoko-v32.1
> > 84af470 Revert input version as tslib compiled against older
> > c90c0d0 GTA02 config - bump version to v32
> > d366e03 GTA02 config - compile new battery driver
> > 0a3c7cf GTA02 config - regenerate for 2.6.37
> > a849cbc GTA02 config from qtmoko-v31 (2.6.34 based)
> > ff44a38 Use 100 as HZ value on S3C24XX
> > 4e6ab66 wm8753: use snd_soc_jack on neo1973
> > b6f1cb1 Force GPS power up on resume if it were powered up on suspend
> > 1bb67b1 s3c2410_ts: jitter less touchscreen for glamo, version 4
> > 71e0285 Openmoko resume reason sysfs node ported from 2.6.29
> > efcd40e Rename /dev/s3c2410_serialXXX to /dev/ttySACXXX
> > 5a6bd71 glamo-display: fix WSOD for 242 timming
> > 373c7d7 Enable powering off after 8s POWER press
> > 64929b7 Fix high power consumption in suspend
> > 3c96492 tslib relies on ts pressures events so this hack is needed to get tslib
stuff working
> > 4ec5000 ar6000_delay.patch
> > a29b83e usbhost.patch
> > 0756a5e touchscreen: ignore unexpected interrupts
> > 4b9b0a2 wm8753: fix build with gcc-4.4.2, which works ok with 4.1.2
> >
> > with a few extra patches:
> >
> > $ git log --oneline qtmoko-v32.1..lindi-qtmoko-v32.1
> > ba97d73 remove -v32 localversion
> > c7064e8 Port ramconsole patch to 2.6.34
> > d44c1e2 Add CONFIG_OPENMOKO_RESUME_REASON=m
> > b36cab3 add symlink to config
> >
> > and u-boot stable branch with a few extra patches:
> >
> > $ git log --oneline stable..lindi
> > 5328070 bugfix previous patch, enable watchdog only for resume, not boot
> > 47e4c33 buildfix previous patch
> > abb1f1c experiment: explicitely start watchdog on boot/resume
> > cc1e94f experiment: do not disable watchdog on boot/resume
> > 9c2b2be Do power on LDO5 (GPS) regulator and do not setup all serial's GPIOs at
all on boot
> > d4a3860 Kindly ask u-boot do not touch serials and serial's gpio setup
> > 4ae4060 Turn vibrator on and aux off on resume.
> > f4cd104 Add support for forcing charging at maximum current (usually 500 mA).
This is useful if the battery is fully depleted and one wants to stay in the boot
loader waiting for the battery to charge.
> >
> > First I tested all features offered by omhacks. I noticed the
> > following problems:
> >
> > 1) om screen resolution
> >
> > does not work since
> >
> >
/sys/devices/platform/s3c2440-i2c/i2c-adapter/i2c-0/0-0073/pcf50633-regltr.9/glamo3362.0/glamo-spi-gpio.0/spi2.0/state
> >
> > does not exist. Is there some other sysfs node for toggling between qvga and vga?
I seriously wonder where you always dig these paths up.

A good path to use for changing the resolution is

/sys/class/lcd/jbt6k74-lcd/device/resolution

> >
> > 2) om battery charger-limit
> >
> > does not work since neither
> >
> > /sys/class/i2c-adapter/i2c-0/0-0073/pcf50633-mbc/chg_curlim
> >
> > nor
> >
> > /sys/devices/platform/s3c2440-i2c/i2c-0/0-0073/pcf50633-mbc/chg_curlim
> >
> > exists. Is the fix just to use
> >
> > /sys/devices/platform/s3c2440-i2c/i2c-0/0-0073/pcf50633-mbc.0/chg_curlim?
I've pushed an update which should change
the device name back to pcf50633-mbc instead of pcf50633-mbc.0

But you should really use

/sys/bus/platform/devices/pcf50633-mbc/chr_curlim

as it should work across all kernel versions.
> >
> > Could we make these patches more stable somehow?
> >
> > 3) huawei 3G dongle does not switch to modem mode:
> >
> > Jan  8 15:54:59 ginger kernel: [ 1751.490000] usb 1-2: new full speed USB device
using s3c2410-ohci and address 39
> > Jan  8 15:54:59 ginger kernel: [ 1751.670000] usb 1-2: New USB device found,
idVendor=12d1, idProduct=1001
> > Jan  8 15:54:59 ginger kernel: [ 1751.670000] usb 1-2: New USB device strings:
Mfr=1, Product=2, SerialNumber=1
> > Jan  8 15:54:59 ginger kernel: [ 1751.670000] usb 1-2: Product: HUAWEI Mobile
> > Jan  8 15:54:59 ginger kernel: [ 1751.670000] usb 1-2: Manufacturer:
ÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿ
> > Jan  8 15:54:59 ginger kernel: [ 1751.670000] usb 1-2: SerialNumber:
ÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿ
> > Jan  8 15:54:59 ginger kernel: [ 1751.900000] usbcore: registered new interface
driver ub
> > Jan  8 15:54:59 ginger kernel: [ 1752.340000] SCSI subsystem initialized
> > Jan  8 15:55:00 ginger kernel: [ 1752.540000] Initializing USB Mass Storage driver...
> > Jan  8 15:55:00 ginger kernel: [ 1752.540000] usbcore: registered new interface
driver usb-storage
> > Jan  8 15:55:00 ginger kernel: [ 1752.540000] USB Mass Storage support registered.
> > $ ls -l /dev/ttyUSB*
> > ls: cannot access /dev/ttyUSB*: No such file or directory
> >
> > Adding "option" to /etc/modules fixed this -- should it get loaded
> > automatically? Even after that
> >
> > Jan  8 15:59:45 ginger kernel: [ 2037.460000] usbcore: registered new interface
driver usbserial
> > Jan  8 15:59:45 ginger kernel: [ 2037.460000] USB Serial support registered for
generic
> > Jan  8 15:59:45 ginger kernel: [ 2037.460000] usbcore: registered new interface
driver usbserial_generic
> > Jan  8 15:59:45 ginger kernel: [ 2037.460000] usbserial: USB Serial Driver core
> > Jan  8 15:59:45 ginger kernel: [ 2037.650000] USB Serial support registered for
GSM modem (1-port)
> > Jan  8 15:59:45 ginger kernel: [ 2037.650000] usbcore: registered new interface
driver option
> > Jan  8 15:59:45 ginger kernel: [ 2037.650000] option: v0.7.2:USB Driver for GSM
modems
> >
> > I get no /dev/ttyUSB*.
> >
> > 4) om usb charger-limit
> >
> > does not work since
> >
> > /sys/class/i2c-adapter/i2c-0/0-0073/pcf50633-mbc/usb_curlim
> >
> > does not exist. Should I again use
> >
> > /sys/devices/platform/s3c2440-i2c/i2c-0/0-0073/pcf50633-mbc.0/usb_curlim
> >
> > instead?
Same here:
/sys/bus/platform/devices/pcf50633-mbc/usb_curlim

> >
> > 5) udev rule
> >
> > SUBSYSTEM=="input", ATTRS{name}=="lis302-1 (top)", SYMLINK+="accelerometer-top"
> >
> > does not find accelerometers. No node in /dev/input seems to be an
> > accelerometer.
> >
> > 6) (as I reported earlier) when I touch the screen to wake it up from
> > dpms sleep I see white screen for a few milliseconds. I'm using
> > xserver-xorg-video-fbdev.
> >
> >
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk0osTIACgkQBX4mSR26RiPBnACeIQ6jjXl4LDUn6wSdkvOcAV60
K8YAnR8jMN9jRy41Qwy6Q5a0dE2p1Wnb
=Dq2V
-----END PGP SIGNATURE-----



More information about the openmoko-kernel mailing list