cant boot git kernel on a1200

2008-08-17 Thread Ilya Petrov
Hello all! I`m trying to boot latest kernel from git on a1200 and getting "Kernel panic: Fatal exception in interrupt". No additional patches applied, config copied from ./arch/arm/configs/ezx_defconfig. What i`m doing wrong? -- wbr, Ilya ICQ: none, Jabber: [EMAIL PROTECTED] Registered Linux U

Re: cant boot git kernel on a1200

2008-08-17 Thread Ilya Petrov
hmm... seems that it cant boot in flash mode only. It booted in normal mode (from gen-blob), but mux still not works (git kernel with http://people.openezx.org/wyrm/gen2bp.patch ). Boot log here: http://pastebin.com/m20737db -- wbr, Ilya ICQ: none, Jabber: [EMAIL PROTECTED] Registered Linux U

framebuffer depth?

2008-08-20 Thread Ilya Petrov
Hi all! a1200, kernel from git. fbset says mode "240x320-57" # D: 5.200 MHz, H: 18.571 kHz, V: 56.793 Hz geometry 240 320 240 320 32 timings 192308 20 10 3 2 10 2 rgba 6/12,6/6,6/0,0/0 endmode how to work with framebuffer now, as with normal 32-bit one or not? -- wbr, Ilya IC

[bug] a1200 keypad: no red key

2008-08-23 Thread Ilya Petrov
hi all! on a1200 i`m listening to /dev/input/event0 for key events. red (hangup) key not sends any event, please fix it. -- wbr, Ilya ICQ: none, Jabber: [EMAIL PROTECTED] Registered Linux User #377 584

Re: [bug] a1200 keypad: no red key

2008-08-23 Thread Ilya Petrov
hmmm. seems powerkey (red key) event not comes from keypad. it comes from power_ic driver (drivers/power_ic/module/debounce.c:375 in 2.4 kernel) -- wbr, Ilya ICQ: none, Jabber: [EMAIL PROTECTED] Registered Linux User #377 584

[patch] powerkey

2008-08-24 Thread Ilya Petrov
il_irq: + ezx_pcap_unregister_callback(PCAP_IRQ_ONOFF); + + return err; +} + +static void __exit ezx_pwrkey_exit() +{ + + ezx_pcap_unregister_callback(PCAP_IRQ_ONOFF); + input_unregister_device(pwr_button_dev); + +} + + + +module_init(ezx_pwrkey_init); +module_exit(ezx_pwrkey_exit); + +MODULE_DESCRIPTION(

[bug] a1200 keypad: camera key sends 0x00 code

2008-08-25 Thread Ilya Petrov
It sends right press, release and hold events, but 0x00 key unstead of KEY_CAMERA as written in arch/arm/mach-pxa/ezx.c. Kyemap in ezx.c is same as in motorola 2.4 kernel, wtf? -- wbr, Ilya ICQ: none, Jabber: [EMAIL PROTECTED] Registered Linux User #377 584

[bug] adc hangs on a1200 with last updates

2008-08-27 Thread Ilya Petrov
see bootlog: http://pastebin.com/m24d0012f "cat /sys/devices/platform/pxa2xx-spi.1/spi1.0/adc_battery" going to deep sleep with no messages: 1093 root516 D cat /sys/devices/platform/pxa2xx-spi.1/spi1.0/adc_bat -- wbr, Ilya ICQ: none, Jabber: [EMAIL PROTECTED] Registered Linux Us

Re: [Smartphones-userland] fso and ezx

2008-09-30 Thread Ilya Petrov
Hi, Alain! I worked on ezx modem backend for qtopia. At least on gen2 phones (E2,E6 and a1200) AT+CPIN? works. You can use our source for reserence: (see http://code.google.com/p/qtopia-ezx/source/browse/#svn/trunk/device-profile/src/plugins/phonevendors/ezx) On gen2 (gen1 too?) you just need

Re: [Smartphones-userland] fso and ezx

2008-09-30 Thread Ilya Petrov
2008/9/30 Alain2210 <[EMAIL PROTECTED]>: > Hello, > > thanks for the answer. > > Selon Ilya Petrov <[EMAIL PROTECTED]>: > >> Hi, Alain! >> >> I worked on ezx modem backend for qtopia. >> At least on gen2 phones (E2,E6 and a1200) AT+C

Re: [Smartphones-userland] fso and ezx

2008-09-30 Thread Ilya Petrov
> yes with AT+CRRM only I can see the sms on /dev/mux2. i mean mux1. > What is the sens of EPMS ans EMGL ? it is magic. without this is not works at all. don`t try any other sms commands before it - modem will return error every time after. IIRC, EPMS returns free space in sms store and EMGL=4

testing 2.6.27

2008-10-21 Thread Ilya Petrov
Hi! I just tried to run 2.6.27 on ming. I`m using gen-blob, kernel on SD card and root on nfs. Used kernel config: http://pastebin.com/m78ad3aef After kernel boot usb device not appearing on host (nothing in kernel log and lsub). On device display i see usb0 and ip config for it. -- wbr, Ilya

Re: testing 2.6.27

2008-10-21 Thread Ilya Petrov
2008/10/22 Daniel Ribeiro <[EMAIL PROTECTED]>: > I dont know what may be wrong, try a kernel from > people.openezx.org/wyrm/images. same result: g_ether loads, but no usb0 on host -- wbr, Ilya ICQ: none, Jabber: [EMAIL PROTECTED] Registered Linux User #377 584

Re: testing 2.6.27

2008-10-21 Thread Ilya Petrov
2008/10/22 GM Zhuo <[EMAIL PROTECTED]>: > I sugest you to plug out usb wire adn plug in,maybe there will have usb0 on > host. tried. no result and no debug output on target (as in 2.6.26) -- wbr, Ilya ICQ: none, Jabber: [EMAIL PROTECTED] Registered Linux User #377 584

Re: Easy way to refresh kernel?

2008-11-12 Thread Ilya Petrov
2008/11/6 Xu Wang <[EMAIL PROTECTED]>: > The way I can think > 1) put the gen-blob bits into CG33.msg with 2048 leading 0Xff > 2) re-generate a sbf file > 3) re-refresh the sbf file using RSD lite. > > But I will lose all my data in my old moto ezx system. you can use sbf-recalc or other tools to

Re: Easy way to refresh kernel?

2008-11-13 Thread Ilya Petrov
2008/11/13 Xu Wang <[EMAIL PROTECTED]>: > Thanks llya, I built a one cg sbf and reflashed it to my phone, it looks > everything is fine. thanks! now you can patch kernel and reflash everything directly from phone with flashcp -- wbr, Ilya ICQ: none, Jabber: [EMAIL PROTECTED] Registered Linux

[blob] patch to boot without card

2008-11-19 Thread Ilya Petrov
Hi! I`m working on gen-blob now. On any error blob now loads kernel from mtd kernel partition offset 0xe000 -- wbr, Ilya ICQ: none, Jabber: [EMAIL PROTECTED] Registered Linux User #377 584 blob-flash-boot.patch Description: Binary data blob-compile-fix.patch Description: Binary data

Re: [blob] flashing using blob

2008-11-19 Thread Ilya Petrov
> Works using Works using blob menu and reading reflash images from card fxd. -- wbr, Ilya ICQ: none, Jabber: [EMAIL PROTECTED] Registered Linux User #377 584

[blob] flashing using blob

2008-11-19 Thread Ilya Petrov
Hi! I just coded implemented flashing support in blob. Works using Tested on kernel partition: works fine. Only problem i have is big files related (rootfs is 24mb log in our map). I`m using KERNEL_RAM_BASE as buffer to keep files loaded from card and phone reboots on big sizes. What is the saf

Re: [blob] patch to boot without card

2008-11-19 Thread Ilya Petrov
2008/11/20 Daniel Ribeiro <[EMAIL PROTECTED]>: > Em Qui, 2008-11-20 às 05:28 +0200, Ilya Petrov escreveu: >> > blob_base_address is dynamic, it depends on the phone, see start.S to >> > learn how gen-blob determines where it is running. >> >> it depends on

Re: [blob] flashing using blob

2008-11-19 Thread Ilya Petrov
2008/11/20 Daniel Ribeiro <[EMAIL PROTECTED]>: >> hmm, i`l try place it after blob for now. > > after blob(0xa0de+1MB) it will work better, but you will still be > limited to a little over 16MB (memory ends at 0xa1ff). not at 0x2FF ? or it is another gen1 limitation? > Yeah, file_fa

return address in gmail

2008-11-19 Thread Ilya Petrov
whats wrong with it? every time i click "reply" in gmail it sends direct email unstead of reply to list. please, fix config, it`s really annoying -- wbr, Ilya ICQ: none, Jabber: [EMAIL PROTECTED] Registered Linux User #377 584

Re: [blob] flashing using blob

2008-11-20 Thread Ilya Petrov
2008/11/20 Daniel Ribeiro <[EMAIL PROTECTED]>: > If you want to have a flasher on gen-blob im sure you will. ;) ok i did it. all-in-one patch attached. Using: add to menu.lst this lines title flash kernel reflash /boot/mtd7 addr 655360 title flash qtopia reflash /boot/mtd8 addr 1703936 addres

Re: [blob] flashing using blob

2008-11-20 Thread Ilya Petrov
2008/11/20 Ilya Petrov <[EMAIL PROTECTED]>: binaries here: http://ezxdev.org/qtopia/gen-blob/ -- wbr, Ilya ICQ: none, Jabber: [EMAIL PROTECTED] Registered Linux User #377 584

[blob] usb flash protocol

2008-11-20 Thread Ilya Petrov
Hi! I`m reading boot-usb and gen-blob sources and i see some commands defined in blob code. Do we have available commands list for gen2(mbm) ? I`m also thinking about add some new commands to boot-usb and gen-blob to make it easy to manipulate flash data. I also think we should move some code fr

[blob] hardcoded flash size

2008-11-26 Thread Ilya Petrov
Hi! I can`t access flash beyond 0x200 (same in kernel, btw). Where is flash size hardcoded? I really need this becouse my broken rootfs us at 0x019E-0x400 and i need to reflash it now :) -- wbr, Ilya ICQ: none, Jabber: [EMAIL PROTECTED] Registered Linux User #377 584

Re: FSO heads up / state of things

2008-12-08 Thread Ilya Petrov
2008/12/8 Michael 'Mickey' Lauer <[EMAIL PROTECTED]>: > What's the status for gen2 and the A910 btw.? +1. I`m still waiting stable mux driver for a1200 :( about FSO: it is implemented in python, right? -- wbr, Ilya ICQ: none, Jabber: [EMAIL PROTECTED] Registered Linux User #377 584

Re: Reading SMS from the SIM

2008-12-19 Thread Ilya Petrov
2008/12/19 Michael 'Mickey' Lauer : > So... is my BP busted or did I hallucinated when i got messages from the SIM > by issuing AT+CMGL=4? try this to init sms (after reboot and pin enter): AT+CRRM AT+EPMS? AT+EMGL=4 after this you can use AT+CGML=4 as on phone works on gen2/kernel 2.4 -- w

Re: A1200 BP status

2008-12-22 Thread Ilya Petrov
2008/12/22 Fabio Belavenuto : > Hi, > > What is the status of operation of the BP in A1200 phone? the > handshake is ready? failure to finish the driver ts0710_mux_usb? or > lack only AT commands to start the communication with BP? Handshake is ready, AT-level is ready ( at least for Qtopia ). But

Re: [blob] flashing using blob

2008-12-29 Thread Ilya Petrov
2008/12/29, Daniel Ribeiro : > Hi, have you tested this code? latest code works when loaded via usb but flashes only fist 32mb > Im going to test it now, but this looks a little suspicious: yes. see latest patch here: http://ezxdev.org/qtopia/patches/gen-blob/ -- wbr, Ilya ICQ: none, Jabbe

flashing with blob and boot_usb

2009-02-12 Thread Ilya Petrov
trying to flash kernel via gen-blob and boot-usb from here: http://people.openezx.org/wyrm/ muro...@valhalla ~ % ./boot_usb flash 655360 ./kernel.bin Serching for EZX phone: Generic Blob found. Will flash 968728 bytes of data plus 79848 bytes of padding (1048576 bytes total, 8 flash blocks, 2 us

Re: flashing with blob and boot_usb

2009-02-12 Thread Ilya Petrov
2009/2/12 Daniel Ribeiro : > You are doing nothing wrong. This is probably a bug on software. Can you > hexdump/diff the files and provide better info on where/when it got > corrupted? strange. i can`t reproduce this now. just after this problems i tried to flash full dump (64 Mb) and first 32mb

Re: flashing with blob and boot_usb

2009-02-13 Thread Ilya Petrov
fixed: Index: src/blob/flash.c === --- src/blob/flash.c(revision 2405) +++ src/blob/flash.c(working copy) @@ -51,8 +51,8 @@ #include extern void printlcd(char *cntrl_string); -/* this is enough for a 16MB flash with 128kB

Re: flashing with blob and boot_usb

2009-02-13 Thread Ilya Petrov
actually like this: (32 * 2 * 2**20)/(128 * 2**10) Index: src/blob/flash.c === --- src/blob/flash.c(revision 2405) +++ src/blob/flash.c(working copy) @@ -51,8 +51,8 @@ #include extern void printlcd(char *cntrl_string); -/*

Re: mount rootfs from TF by moto 2.4 kernel in A1200

2009-02-24 Thread Ilya Petrov
2009/2/24 : > I changed the cmdline and opened the mmc kernel option in the .config > CONFIG_CMDLINE="root=/dev/mmca2 rootfstype=ext2 ip=off" you also need to change cmdline in /dev/mtd5 -- wbr, Ilya ICQ: none, Jabber: ilya.muro...@jabber.ru

Re: MOTOMAGX work, where is the SVN/etc?

2009-02-24 Thread Ilya Petrov
2009/2/24 jfwf...@tpgi.com.au : > I know a few people are working on some MOTOMAGX stuff like talking to the > SIM and DSP and stuff, anyone know of a SVN or other repository for me to > look at all that stuff? see here: http://hg.ezxdev.org/sim/ -- wbr, Ilya ICQ: none, Jabber: ilya.muro...@ja

Re: In-phone sms storage

2009-03-07 Thread Ilya Petrov
2009/3/7 IvaN : > Sigh, shame on me. I'm using A1200. yes. it`s for a1200. also i would be hapy if somene would rewrite this in C and let it generate SQL code for import to qtopia db. >I've got contact from Ilya Petrov damm! anybody, please configure Return-Path field in

bcm2035-tool and a1200

2009-03-10 Thread Ilya Petrov
Hi! I tried to use bcm2035 tool on ming unstead of mbtdload as suggested on MF. At fisrt we have no AT+EBTP on gen2, we use some gpio via ioctl on /dev/ttyS1. I patched tool to poweron chip for me: if(fd < 0) exit(-1); + +unsigned short state; + +ioctl(fd, TIOC_BT_VOL

Re: bcm2035-tool and a1200

2009-03-11 Thread Ilya Petrov
2009/3/11 Daniel Ribeiro : > Can you please trace kernel code, to see if this really powers on the > chip? We have multiple reports of BCM2045 working with OpenEZX, using > unmodified hciattach, and also reports of it working with the original > 2.4 kernel. > > Also, on your previous email you sai

Re: Crosscompiler for Cygwin to EZX/MAGX, is it possible?

2009-03-14 Thread Ilya Petrov
2009/3/14 Jonathan Wilson : > Would it be possible to build a cross compiler that could run on windows > (i.e. cygwin) and that could compile working EZX/MAGX binaries? you can build crosscompiler using this script: http://kegel.com/crosstool/ for ezx you need to use some patches and change some s

Re: AT commands: call for help

2009-03-19 Thread Ilya Petrov
2009/3/19 Michael 'Mickey' Lauer : > ogsmd should be reasonably well supporting the Freescale Neptune these days. > However, we have quite an amount of functions that do not work, since the > respective 07.07 commands are not implemented and the proprietary commands are > undocumented. Hi! Availa

Re: AT commands: call for help

2009-03-19 Thread Ilya Petrov
2009/3/19 Alain2210 : > AT+ESPN? > Query service provider name in PDU format. > Does not work here. I guess there is some command that needs to be sent > beforehand, so that the mapping is initialized or read from the SIM. > > On my e680, this command is working fine and gives me the name of my MNV

Re: AT commands: call for help

2009-03-19 Thread Ilya Petrov
2009/3/19 Michael 'Mickey' Lauer : > Yeah, seems it's not just gen1 and gen2 (A780 here), but rather firmware > version responsible for the differences. yep. for example cell broadcast not works on default A1200 bp fw. -- wbr, Ilya ICQ: none, Jabber: ilya.muro...@jabber.ru

cant boot git kernel. again.

2009-03-28 Thread Ilya Petrov
Hi! I cloned kernel from git, switched to ezx/current, copied ezx_config and built using http://www.angstrom-distribution.org/unstable/toolchain/angstrom-2007.9-test-20071017-arm-linux-gnueabi-toolchain.tar.bz2 toolchain. I`m getting random colors on screen if i boot just with boot_usb and whit

Re: cant boot git kernel. again.

2009-03-30 Thread Ilya Petrov
Ok, it was missing machine id. -- wbr, Ilya ICQ: none, Jabber: ilya.muro...@jabber.ru

power management

2009-03-30 Thread Ilya Petrov
Hi! Is charging control working on gen2? I see CONFIG_REGULATOR option is disabled in kernel config. Same question about sleep mode. -- wbr, Ilya ICQ: none, Jabber: ilya.muro...@jabber.ru

memory size in 2.6.29

2009-03-30 Thread Ilya Petrov
r...@ming:~$ cat /proc/cmdline console=tty1 root=/dev/mmcblk0 rootfstype=ext2 rootdelay=3 ip=192.168.10.5:192.168.10.1:192.168.10.1:255.255.255.0 debug r...@ming:~$ dmesg | grep Memory: <6>Memory: 16MB = 16MB total <5>Memory: 12444KB available (3028K code, 230K data, 108K init) r...@ming:~$ uname

Re: power management

2009-03-30 Thread Ilya Petrov
2009/3/30 Daniel Ribeiro : > Em Seg, 2009-03-30 às 13:08 +0300, Ilya Petrov escreveu: >> Same question about sleep mode. > > _Sleep_ mode works just fine with: > echo standby > /sys/power/state What is the difference between sleep and deep-sleep? > If you want the _Deep-S

Re: power management

2009-03-30 Thread Ilya Petrov
% make -f patch_blob-gen2 ./boot_usb read 0x8 131072 blob-original $Id: boot_usb.c 2456 2009-03-29 23:46:33Z wyrm $ Serching for EZX phone: Generic Blob found. Downloading: 100% OK dd if=blob-original of=blob-pad bs=1024 count=2 2+0 records in 2+0 records out 2048 bytes (2.0 kB) copied, 5.6881e

Re: memory size in 2.6.29

2009-03-30 Thread Ilya Petrov
Its ok when first booting gen-blob and then zImage. $ dmesg | grep Memory: <6>Memory: 32MB 16MB = 48MB total <5>Memory: 44900KB available (3028K code, 230K data, 108K init) direct booting from MBM not supported from now? -- wbr, Ilya ICQ: none, Jabber: ilya.muro...@jabber.ru

Re: power management

2009-03-30 Thread Ilya Petrov
2009/3/30 Daniel Ribeiro : > Please dont change the script! I leave low-level magic to you ;) -- wbr, Ilya ICQ: none, Jabber: ilya.muro...@jabber.ru

Re: power management

2009-03-30 Thread Ilya Petrov
2009/3/30 Daniel Ribeiro : > My conclusion on this is that you are using a self-compiled _A1200E_ lbl > on your phone, without CONFIG_LOGO_SHOWED_BY_MBM. (A1200E because it is > the only version on opensource.motorola.com that has a ifdef to remove > these 3 instructions). selfcompiled? i didnt t

Re: power management

2009-03-30 Thread Ilya Petrov
2009/3/30 Daniel Ribeiro : > Em Seg, 2009-03-30 às 17:44 +0300, Ilya Petrov escreveu: >> yes, my phone is A1200E. i prefer patching my current lbl > > Ok, I will prepare a version that patches your lbl version. It will be > ready in some hours (im busy with something else now).

white screen when booting from gen-blob

2009-03-30 Thread Ilya Petrov
My setup: gen-blob from http://people.openezx.org/wyrm/gen-blob/gen-blob flashed to mtd sd card with two partitions (fat and ext2) blob menu placed as /media/mmcblk0p1/boot/menu.lst: machid 1742 title OpenEZX kernel /boot/default title OpenEZX kernel

Re: white screen when booting from gen-blob

2009-03-30 Thread Ilya Petrov
2009/3/30 Daniel Ribeiro : > This is expected. add "mem=...@0xa000 mem=...@0xac00" to the > cmdline. I will add ATAG_MEM to gen-blob later. thanks. -- wbr, Ilya ICQ: none, Jabber: ilya.muro...@jabber.ru

cool! very very cool!

2009-03-31 Thread Ilya Petrov
Hi! Now i have 2.6.29 with angstrom and qtopia on card. And what i see: mux works good. i can call, use ussd and all other. sound works good. ap/bp swithcing works, output path switching works good. keyboard works except red button and flip ts works good sd card work good usb networking wor

Re: cool! very very cool!

2009-03-31 Thread Ilya Petrov
2009/3/31 Stefan Schmidt : > You are using an  A1200, right? y > Your qtopia runs directly on the framebuffer and > uses it's 18bpp support to have a working UI I guess? y >As wyrm pointed out you need a patched bootloader for working deep sleep. i tried to use sleep (standby), not deep sleep.

Re: cool! very very cool!

2009-03-31 Thread Ilya Petrov
2009/3/31 Stefan Schmidt : > Totally forgot abou this. Can you give me a pointer to the rootfs you are > using > and the kernel revision you used for the test? i`m using latest OE console-image without ezxd and latest kernel from git. no magic, nothing spetial > How is the qtopia image build btw

Re: cool! very very cool!

2009-03-31 Thread Ilya Petrov
2009/3/31 Stefan Schmidt : > Is there a place a could grab the rootfs for testing it out? hmm... its not as clean as i like, but i uploaded here: http://ezxdev.org/qtopia/testing/ image-$stamp.tbz2 is qtopia image. unpack and place to /opt/Qtopia/ you also need to make zoneinfo symlink: mkdir /e

Re: cool! very very cool!

2009-04-01 Thread Ilya Petrov
2009/4/1 Daniel Ribeiro : > Flip should be working, but it uses a different input device for it, ok >Red button needs a pcap subdriver > on gen2, and some userspace magic on gen1 (as bp handles it). ok, i`l try to find my old work > This still needs a complete driver. gmzhuo did some stuff for

Re: cool! very very cool!

2009-04-01 Thread Ilya Petrov
2009/4/1 Daniel Ribeiro : > If you have some time to spare, please change the .bpp field on the fb > configuration on our kernel to 24 (packed mode), and see if qtopia still > works with correct colors/alignment. :) give a hint, where to patch/configure this. it also would be good, if kernel woul

Re: cool! very very cool!

2009-04-01 Thread Ilya Petrov
2009/4/1 Daniel Ribeiro : > You can do this on userspace until somebody come with a proper driver. > All PCAP ADCs may be read on sysfs, one of the adcs is connected to the > miniUSB ID pin, and depending on the value of this ADC you can detect > the accessory type. looks like /sys/devices/platfo

Re: cool! very very cool!

2009-04-01 Thread Ilya Petrov
This is not ADC releated. Seems 2.4 holds internal state where remembers which devices produced PCAP irqs signaling plug/unplug of them. How this should be handled in 2.6? Ok. for events we can create another input device, but how to query _current_ list of accys? -- wbr, Ilya ICQ: none, Jabbe

[patch] handling powerkey and jack

2009-04-01 Thread Ilya Petrov
e(pcap_input); + +} + + + +module_init(ezx_pwrkey_init); +module_exit(ezx_pwrkey_exit); + +MODULE_DESCRIPTION("Motorola PCAP2 powerkey driver"); +MODULE_AUTHOR("Ilya Petrov "); +MODULE_LICENSE("GPL");

Re: [patch] handling powerkey and jack

2009-04-01 Thread Ilya Petrov
e(pcap_input); + +} + + + +module_init(ezx_pwrkey_init); +module_exit(ezx_pwrkey_exit); + +MODULE_DESCRIPTION("Motorola PCAP2 powerkey driver"); +MODULE_AUTHOR("Ilya Petrov "); +MODULE_LICENSE("GPL");

Re: cool! very very cool!

2009-04-02 Thread Ilya Petrov
2009/4/2 Stefan Schmidt : > I played with it for some hours. Did not get it running so far. > > I'm using your binaries here so we have a reference. concole-image is on th > sd, > qtopia inside it's home /opt/Qtopia. > > No gen-blob flashed here, but I boot up the following way: > > boot_usb setf

Re: [patch] handling powerkey and jack

2009-04-02 Thread Ilya Petrov
ok, next try > style, checkpatch.pl may help you spot these. says ok. -- wbr, Ilya ICQ: none, Jabber: ilya.muro...@jabber.ru Signed-off-by: Ilya Petrov diff --git a/drivers/input/keyboard/Kconfig b/drivers/input/keyboard/Kconfig index 3556168..8ad4e9d 100644 --- a/drivers/input/keybo

Re: cool! very very cool!

2009-04-02 Thread Ilya Petrov
2009/4/2 Stefan Schmidt : > > OK, but as I preload gen-blob before I load the kernel that should be similar. maby. i`m not sure about suck things > Ah, so where do you start qtopia early enough to handle the mux devices in > time? while testing i had logged in via ssh and started by hand. ther

Re: [patch] handling powerkey and jack

2009-04-02 Thread Ilya Petrov
This one with platform device -- wbr, Ilya ICQ: none, Jabber: ilya.muro...@jabber.ru Signed-off-by: Ilya Petrov diff --git a/arch/arm/mach-pxa/ezx.c b/arch/arm/mach-pxa/ezx.c index faaa42e..eca5ef3 100644 --- a/arch/arm/mach-pxa/ezx.c +++ b/arch/arm/mach-pxa/ezx.c @@ -1305,6 +1305,11

18 bit in qtopia on 2.6

2009-04-02 Thread Ilya Petrov
2009/4/1 Daniel Ribeiro : > red.length + green.length + blue.length gives you the _color_depth_. (on > a1200, always 18) ok, i fixed this in libQtGui : --- a/qtopiacore/qt/src/gui/embedded/qscreenlinuxfb_qws.cpp +++ b/qtopiacore/qt/src/gui/embedded/qscreenlinuxfb_qws.cpp @@ -315,7 +315,7 @@ bool

bp reboot

2009-04-02 Thread Ilya Petrov
Something strange happens after reboot from openezx. Sometimes kernel just hangs and fails to reboot with kernel panic. And all the time i have problems with BP communication after successfull reboot: - if i reboot to 2.4 it fails to open mux, so qtopia hangs and reboots itself to dummy mode - jus

Re: 18 bit in qtopia on 2.6

2009-04-02 Thread Ilya Petrov
2009/4/2 Paulo Marques : > It seems that the change below makes this change unnecessary, since the > test for "d == 24" already does the length calculation correctly, no? Damm! I`m blind :) -- wbr, Ilya ICQ: none, Jabber: ilya.muro...@jabber.ru

Re: cool! very very cool!

2009-04-02 Thread Ilya Petrov
2009/4/2 Stefan Schmidt : >> Not really.. Preloading gen-blob via boot_usb will work around the >> pxa27x-udc issues, but at least on gen1 BP will still be on flash mode. > > That is different on an untouched A1200 and E2 here. Maybe gen2 is different > here. ezd starts fine and starts to communica

Re: power management

2009-04-04 Thread Ilya Petrov
looks like something fails after resume from deep sleep (mem): http://pastebin.com/fb2a8a91 usb networking was nonworking after resume: no usb0 at host appeared sleep (standby) also works time to time: first time it just goes to sleep and back (back only by red key, btw), second time it goes to

Re: cool! very very cool!

2009-04-04 Thread Ilya Petrov
2009/4/2 Stefan Schmidt : >I will flash gen-blob on my E2 over the next days and test again. i not yet added e2 keycodes and you need to change something in configure files to switch input from touchscreen mode to keyboard -- wbr, Ilya ICQ: none, Jabber: ilya.muro...@jabber.ru

Re: power management

2009-04-04 Thread Ilya Petrov
2009/4/4 Daniel Ribeiro : > As for BP on resume, its very broken :( I still dont know what is needed > to fix it. on 2.4 we can`t go to sleep (or deep sleep?) when mux (ipc) is active. -- wbr, Ilya ICQ: none, Jabber: ilya.muro...@jabber.ru

getting photos with a1200 camera

2009-04-05 Thread Ilya Petrov
Hi! What is the format, which a1200 camera uses to generate photos (not video frames)? I have troubles with decoding this on 2.4. -- wbr, Ilya ICQ: none, Jabber: ilya.muro...@jabber.ru

Re: getting photos with a1200 camera

2009-04-05 Thread Ilya Petrov
2009/4/6 Antonio Ospite : > Hi ILya, it is most likely YUYV, if you send me a raw dump of a frame I > could try to be more specific. here: http://ezxdev.org/qtopia/temp/camera/black.dump http://ezxdev.org/qtopia/temp/camera/light.dump -- wbr, Ilya ICQ: none, Jabber: ilya.muro...@jabber.ru

Re: getting photos with a1200 camera

2009-04-07 Thread Ilya Petrov
> Hi Ilya, are those 320x240 or 640x480? 640x480 > How did you captured them? using http://ezxdev.org/qtopia/temp/camera/camera.c on old kernel. maby its only first channel from three. Looks like camera can grab frames in headerless JPEG or in some other format (selected via ioctl). -- wbr,

Re: getting photos with a1200 camera

2009-04-08 Thread Ilya Petrov
2009/4/8 Antonio Ospite : > On Tue, 7 Apr 2009 10:13:31 +0300 > Ilya Petrov wrote: > >> > Hi Ilya, are those 320x240 or 640x480? >> >> 640x480 >> >> > How did you captured them? >> >> using http://ezxdev.org/qtopia/temp/camera/camera.c

Re: getting photos with a1200 camera

2009-04-08 Thread Ilya Petrov
2009/4/8 Antonio Ospite : > So if this is enough for you I would stop caring about your original > question, ok? :) ok -- wbr, Ilya ICQ: none, Jabber: ilya.muro...@jabber.ru

charge control

2009-04-18 Thread Ilya Petrov
Hi! I`m looking at ezx-eoc.c charge-releated code now. Why eoc_charger_enable() has hardcoded value 3 ? AFAIK, normal register value is 7. on 2.4 motorola charge controlling sowtware (emud) using ioctl POWER_IC_IOCTL_CHARGER_SET_CHARGE_VOLTAGE to control this value and sets 7 for charger and 4 f

Re: charge control

2009-04-18 Thread Ilya Petrov
2009/4/19 GM Zhuo : > I rember voltage is 3,and current is 5~13? voltage 3 means 4.2 V. maximum value is 7 ( 4.5 V ) currents 1-13 mean n*100 mA, 14 means maximum current also about is_enabled: on my setup this code returns 0 even after calling enable(): eoc_reg_read(EOC_REG_POWER_CONTROL_0, &

ADC in 2.6.30-rc1

2009-04-19 Thread Ilya Petrov
Looks like it`s broken: http://pastebin.com/f24492489 -- wbr, Ilya ICQ: none, Jabber: ilya.muro...@jabber.ru

Re: charge control

2009-04-19 Thread Ilya Petrov
About AC and USB connection state: this information stores in EOC register EOC_REG_INT_SENSE. i have this values on my setup: 711f with usb connected f14f with ac connected 5110 without cable connected looks like fist 4 bits indicates connected state, bit 6 indicates ac, bit 4 indicat

Re: charge control

2009-04-19 Thread Ilya Petrov
> i tried to use this with pda_power to control charging > but pda_power initialises before i2c and produces kernel panic :( here is my work on charger. when i`m using eoc_cable_conntected in ezx_is_ac_online and ezx_is_usb_online kernel fails to boot. i also moved regulator device to machine fil

Re: charge control

2009-04-19 Thread Ilya Petrov
hmm.. looks like kernel panic is not releated to initiralisation order. i compiled pda_power as module and it produces panic: http://pastebin.com/fbef55f4 -- wbr, Ilya ICQ: none, Jabber: ilya.muro...@jabber.ru

Re: charge control

2009-04-22 Thread Ilya Petrov
This panic occurs when i`m trying to read eoc register in function launched by timer (using setup_timer and mod_timer). pda_power uses timers to pool ac and usb cables state, it calls my function that trying to read eoc register and check bit values. how to propertly handle this? -- wbr, Ilya

[patch] ezx-eoc and pda-power

2009-05-03 Thread Ilya Petrov
Hi! Take a look at these two patches. ezx-eoc patch adds functions to check usb/ac connected state ezx.c patch adds pda-power platform device to use this functions to control charge process and tell usb/ac connection state to userspace via sysfs -- wbr, Ilya ICQ: none, Jabber: ilya.muro...@ja

Re: [patch] ezx-eoc and pda-power

2009-05-03 Thread Ilya Petrov
dammm.. i should set indent before testing :-\ -- wbr, Ilya ICQ: none, Jabber: ilya.muro...@jabber.ru

Re: [patch] ezx-eoc and pda-power

2009-05-03 Thread Ilya Petrov
2009/5/3 Daniel Ribeiro : > EOC will interrupt PXA when you connect the cable. ok. how can i catch this? -- wbr, Ilya ICQ: none, Jabber: ilya.muro...@jabber.ru

Re: [patch] ezx-eoc and pda-power

2009-05-03 Thread Ilya Petrov
I also have a problem with eoc_set_current_limit and other regulator functions: afaik, they are all called from interrupt context, so they cant work as they written now. maby we should add write queue for this? -- wbr, Ilya ICQ: none, Jabber: ilya.muro...@jabber.ru

Re: [patch] ezx-eoc and pda-power

2009-05-03 Thread Ilya Petrov
2009/5/3 Daniel Ribeiro : > Em Dom, 2009-05-03 às 22:41 +0300, Ilya Petrov escreveu: >> 2009/5/3 Daniel Ribeiro : >> > EOC will interrupt PXA when you connect the cable. >> >> ok. how can i catch this? > > Isnt it being caught already? Last time i checked th

Re: [patch] ezx-eoc and pda-power

2009-05-03 Thread Ilya Petrov
> strange. i tried this first: it doesn`t execute on every plug/unplug of cable > maby this should be written after every event? ok. looks like we should write something like eoc_reg_write(EOC_REG_INT_STATUS, 0xff); at the end of eoc_work to make eoc_irq working more then once -- wbr, Ily

Re: Motorola did it again...

2009-05-03 Thread Ilya Petrov
> BTW, does anyone know which code names (Barbados, Hainan, Macau etc) match > to which phones? it`s described in wiki. iirc: HAINAN == A1200 SUMATRA == E2 MODEL == E6 Martinique == A910 -- wbr, Ilya ICQ: none, Jabber: ilya.muro...@jabber.ru

Re: [patch] ezx-eoc and pda-power

2009-05-05 Thread Ilya Petrov
Look at this. -- wbr, Ilya ICQ: none, Jabber: ilya.muro...@jabber.ru charger.patch Description: Binary data charger_arch.patch Description: Binary data

Re: [patch] ezx-eoc and pda-power

2009-05-05 Thread Ilya Petrov
2009/5/4 Daniel Ribeiro : > But I dont think you will need to add workqueues, a > write_work and an irq_work using the kernel workqueue is all you need. where can i look how to use them? -- wbr, Ilya ICQ: none, Jabber: ilya.muro...@jabber.ru

eoc bits

2009-05-05 Thread Ilya Petrov
Is there any descripton of eoc register bits? what i see when plugging/unplugging of usb and ac: USB plug: first irq: VBUS, sense bit set, BATTPON, sense bit unset second irq: BATTPON, sense bit unset USB unplug: first irq: VBUS, sense bit unset AC plug: first irq: VBUS, sense bit set BAT

sound 2 times slower

2009-05-05 Thread Ilya Petrov
Hi! I just tried to listen some music on 2.6.30-rc3-ezxdev and everything sucks again :) All sound plays two times slower. -- wbr, Ilya ICQ: none, Jabber: ilya.muro...@jabber.ru

cant compile recent kernel

2009-05-06 Thread Ilya Petrov
CC arch/arm/mach-pxa/ezx.o arch/arm/mach-pxa/ezx.c: In function ‘ezx_pcap_mmcsd_voltage’: arch/arm/mach-pxa/ezx.c:170: error: ‘V_VAL’ undeclared (first use in this function) arch/arm/mach-pxa/ezx.c:170: error: (Each undeclared identifier is reported only once arch/arm/mach-pxa/ezx.c:170: err

  1   2   3   >