00:00.30 | cr2 | BabelO: hmm. |
00:00.51 | cr2 | i forgot the command syntax |
00:01.24 | BabelO | cr2: http://pastebin.ca/1022302 |
00:01.25 | cr2 | BabelO: can you modify /etc/init.d/gpsd |
00:01.29 | cr2 | and start it cleanly |
00:01.35 | BabelO | ok |
00:01.51 | cr2 | yes, NMEA is ok |
00:02.20 | BabelO | cr2: lol i ve no /etc/init.d/gpsd |
00:02.56 | BabelO | cr2: gpsctl: /dev/ttyS1 identified as Generic NMEA at 57600 |
00:04.37 | cr2 | ok. |
00:04.38 | BabelO | cr2: very strange gpxlogger works |
00:04.49 | cr2 | and sirfmon not ? |
00:05.15 | cr2 | maybe you have some bizarre crippled fimware, but i doubt it. |
00:05.23 | BabelO | gpspipe -r too |
00:05.42 | cr2 | sirfmon works on n560 |
00:06.19 | BabelO | humm i cant go to bed on an echec :) |
00:06.43 | cr2 | hmm. time to sleep, that's true. |
00:07.13 | cr2 | BabelO: think about htc-egpio :) the lcdspi for arte should be easy. |
00:07.23 | cr2 | good night |
00:07.52 | BabelO | good night, i m on holliday, so i can do some more |
00:08.09 | cr2 | BabelO: since you have spi100k working, you may also check siren. |
00:08.16 | cr2 | good night :) |
00:14.10 | BabelO | cr2: gpsd: unknown sentence: "$PSRF151,3,1480,8724,0x8F6F7FCF*27\x0d\x0a" |
00:19.14 | dcordes_ | BabelO: what device? |
00:19.24 | BabelO | dcordes_: HTC Artemis |
00:21.44 | dcordes_ | BabelO: does it have full hardware support yet? |
00:24.28 | BabelO | dcordes_: no i just start http://www.handhelds.org/moin/moin.cgi/Artemis#preview |
00:39.34 | *** join/#htc-linux XVirus (n=GoD@62.135.96.15) |
00:55.35 | BabelO | cr2: i think i kow why it does not work, sirfmon complain about cannot sync, maybe i need local clock to a corect date / month /hour |
00:55.38 | BabelO | good nght |
01:38.47 | *** join/#htc-linux mistadman (n=mistadma@adsl-072-148-088-137.sip.msy.bellsouth.net) |
02:40.32 | *** join/#htc-linux SmallR2002 (n=SmallR20@c-67-162-60-33.hsd1.il.comcast.net) |
03:01.24 | *** join/#htc-linux the_sys0p (i=the_sys0@gateway/tor/x-6b28c992d27c14a8) |
03:16.45 | *** join/#htc-linux Othello__ (i=Magorium@gateway/tor/x-336fb69d03388009) |
03:23.31 | *** join/#htc-linux skodde (n=skodde@unaffiliated/skodde) |
04:21.08 | *** join/#htc-linux goxboxlive (n=goxboxli@195.159.97.196) |
04:28.29 | *** join/#htc-linux apt (i=ibot@pdpc/supporter/active/TimRiker/bot/apt) |
04:28.29 | *** topic/#htc-linux is HTC Linux Channel: Find logs at http://apt.rikers.org/%23htc-linux/ | please check http://handhelds.org/moin/moin.cgi/HTC_2dPhones | http://wiki.xda-developers.com/index.php?pagename=Xanadux | <cr2> let's define a common setup. |
04:52.10 | *** join/#htc-linux rmoravcik (n=rmoravci@ip-89-102-255-171.karneval.cz) |
04:55.24 | *** join/#htc-linux LunohoD_ (n=alex@e180067021.adsl.alicedsl.de) |
05:07.58 | *** join/#htc-linux crackerbox (n=Matt@c-98-215-241-54.hsd1.il.comcast.net) |
05:08.09 | crackerbox | hey guys |
05:08.50 | crackerbox | is xda-dev down for everyone else? |
05:09.21 | crackerbox | or is it just my stupid ISP / HackBook Pro? |
05:10.41 | revertive | crackerbox: its down |
05:16.24 | *** part/#htc-linux crackerbox (n=Matt@c-98-215-241-54.hsd1.il.comcast.net) |
05:23.25 | *** join/#htc-linux kiozen (n=oeichler@p5492A0F2.dip0.t-ipconnect.de) |
05:51.20 | *** join/#htc-linux patoche (n=patoche@241.67.197-77.rev.gaoland.net) |
06:31.44 | *** join/#htc-linux marbalon (n=marbalon@212.122.223.98) |
06:54.42 | *** join/#htc-linux rmoravcik (n=rmoravci@gtsgw.ttc.cz) |
07:30.33 | *** join/#htc-linux rob_w|laptop (n=rob@Ma816.m.pppool.de) |
07:34.05 | *** join/#htc-linux JanVanHaarst (n=haars001@kokosnoot.wur.nl) |
08:16.56 | *** join/#htc-linux CVirus (n=GoD@62.135.96.15) |
08:20.22 | *** join/#htc-linux paulproteus (n=paulprot@wide-rose.makesad.us) |
08:53.59 | *** join/#htc-linux zwox__ (i=zwox@par69-7-82-243-234-94.fbx.proxad.net) [NETSPLIT VICTIM] |
09:00.45 | *** join/#htc-linux kiozen_ (n=oeichler@p5492A0F2.dip0.t-ipconnect.de) |
09:02.45 | *** join/#htc-linux LunohoD (n=alex@e180067021.adsl.alicedsl.de) |
09:12.51 | *** join/#htc-linux zwox__ (i=zwox@par69-7-82-243-234-94.fbx.proxad.net) [NETSPLIT VICTIM] |
09:34.19 | *** join/#htc-linux patoche (n=patoche@241.67.197-77.rev.gaoland.net) |
09:47.47 | *** join/#htc-linux dzo (n=dzo@121.98.128.127) |
09:51.30 | *** join/#htc-linux paulproteus (n=paulprot@wide-rose.makesad.us) |
09:54.34 | *** join/#htc-linux zwox__ (i=zwox@par69-7-82-243-234-94.fbx.proxad.net) [NETSPLIT VICTIM] |
09:58.20 | *** join/#htc-linux zwox__ (i=zwox@par69-7-82-243-234-94.fbx.proxad.net) [NETSPLIT VICTIM] |
10:16.41 | *** join/#htc-linux zwox__ (i=zwox@par69-7-82-243-234-94.fbx.proxad.net) [NETSPLIT VICTIM] |
11:29.59 | *** join/#htc-linux Tellmedark (i=dcfdb230@gateway/web/ajax/mibbit.com/x-2736d34269c59e32) |
11:33.01 | *** join/#htc-linux Tellmedark (i=dcfdb230@gateway/web/ajax/mibbit.com/x-9d81b360eb445e43) |
12:10.59 | *** join/#htc-linux Othello (i=Magorium@gateway/tor/x-8a078746dfa488e8) |
12:42.24 | *** join/#htc-linux BabelO (n=Fabrice@lun34-2-82-238-28-28.fbx.proxad.net) |
12:45.36 | BabelO | hi |
12:46.08 | kiozen | morning |
12:58.19 | *** join/#htc-linux rakeem (n=rak@n058152149033.netvigator.com) |
13:02.54 | rakeem | Hello. |
13:04.58 | BabelO | kiozen: i try M on artemis with part of my map, looks ok :) |
13:05.14 | kiozen | BabelO: cool :) |
13:05.29 | kiozen | BabelO: how is speed? |
13:06.19 | BabelO | kiozen: it does not move as smoother as some gmaps screenshot, but it is ok, have to try in real |
13:07.45 | kiozen | BabelO: I think SD access makes it slow |
13:09.27 | *** join/#htc-linux rob_w|laptop (n=rob@M9b69.m.pppool.de) |
13:10.12 | BabelO | kiozen: i try to get sirfmon running |
13:10.41 | kiozen | BabelO: alas! good luck |
13:10.59 | BabelO | kiozen: i think my error is due to bad system clock |
13:29.22 | *** join/#htc-linux dcordes (n=dcordes@unaffiliated/dcordes) |
13:31.39 | *** join/#htc-linux punkgeek (n=jeanseb@88.164.32.155) |
13:34.10 | *** join/#htc-linux revertiv1 (n=revertiv@83.119.75.151) |
13:57.28 | kiozen | thinks there is nothing slower than sf.net |
13:58.38 | BabelO | lol |
14:24.02 | *** join/#htc-linux kiozen (n=oeichler@p5492A0F2.dip0.t-ipconnect.de) |
14:33.51 | *** join/#htc-linux rob_w (n=bob@M9b69.m.pppool.de) |
14:34.47 | martin__ | dcordes: I booted both the kernel you uploaded and the one I built from the git repo and your config, but the keyboard only works with yours. Any idea why? |
14:53.57 | *** join/#htc-linux goxboxlive (n=goxboxli@208.84-48-176.nextgentel.com) |
14:57.38 | *** join/#htc-linux patoche (n=Patrice@lns-bzn-23-82-248-111-162.adsl.proxad.net) |
14:59.09 | cr2 | hi |
14:59.09 | apt | what's up, cr2 |
14:59.17 | cr2 | BabelO: http://www.aful.org/media/document/Jugement-Hordoir-ASUS-20080430.pdf |
14:59.27 | cr2 | BabelO: you'd call htc :) |
15:01.34 | kiozen | cr2: have read that in heiseonline |
15:01.53 | *** join/#htc-linux TimRiker (n=timr@70-7-71-244.area7.spcsdns.net) |
15:02.27 | cr2 | hi kiozen |
15:02.32 | kiozen | hi |
15:03.01 | cr2 | kiozen: i've removed the ldcspi driver yesterday ;) |
15:03.09 | kiozen | lol |
15:03.11 | cr2 | but i'll rewrite this part today. |
15:03.28 | kiozen | yes sometimes it's better to start from scratch |
15:03.31 | cr2 | i still don't understand why it does not work. |
15:03.57 | kiozen | btw are all lcd config registers readable? |
15:04.42 | cr2 | hm. one byte is sent, and you get a 24bit reply. |
15:04.48 | cr2 | maybe i'd try it. |
15:05.10 | cr2 | bbl |
15:05.15 | BabelO | cr2: Windows XP Home for only 100 eur, lol |
15:05.37 | kiozen | cr2: if you can read wouldn't it be worth a try to restore the state befor you suspend |
15:05.55 | kiozen | cr2: ignoring what the wince driver does |
15:13.36 | *** join/#htc-linux rob_w|lapp (n=rob@Ma62d.m.pppool.de) |
15:14.49 | *** join/#htc-linux Robwoerle (n=bob@Ma62d.m.pppool.de) |
15:33.09 | *** join/#htc-linux apt (i=ibot@pdpc/supporter/active/TimRiker/bot/apt) |
15:33.09 | *** topic/#htc-linux is HTC Linux Channel: Find logs at http://apt.rikers.org/%23htc-linux/ | please check http://handhelds.org/moin/moin.cgi/HTC_2dPhones | http://wiki.xda-developers.com/index.php?pagename=Xanadux | <cr2> let's define a common setup. |
15:34.24 | dcordes | martin__: are you building with system type machine htckaiser? |
15:35.18 | dcordes | martin__: there were several testers for the latest code revision who all say it works and I built the last working image with my .config yesterday. |
15:35.25 | dcordes | hi btw |
15:40.40 | *** join/#htc-linux apt (i=ibot@pdpc/supporter/active/TimRiker/bot/apt) |
15:40.40 | *** topic/#htc-linux is HTC Linux Channel: Find logs at http://apt.rikers.org/%23htc-linux/ | please check http://handhelds.org/moin/moin.cgi/HTC_2dPhones | http://wiki.xda-developers.com/index.php?pagename=Xanadux | <cr2> let's define a common setup. |
15:42.47 | martin__ | dcordes: I built with the config you gave me, and set ARCH=arm and CROSS_COMPILE=arm-none-eabi- in the Makefile. I'm using the arm-2008q1 toolchain from CodeSourcery. |
15:44.48 | dcordes | that is strange |
15:45.12 | dcordes | martin__: does the keyboard backlight and led work in your build? |
15:45.27 | martin__ | Lemme check. |
15:46.50 | *** join/#htc-linux CVirus (n=GoD@62.135.96.15) |
15:47.04 | BabelO | dcordes: not a pda, but they ask to return the device to remove all software |
15:47.14 | martin__ | dcordes: Huh, weird. The keyboard works now. |
15:48.02 | martin__ | Haven't changed anything since I booted it last night. |
15:48.22 | martin__ | Oh well, I'll put that down to random weirdness unless it recurs. |
15:48.34 | martin__ | So - what needs looking at? |
15:55.09 | *** join/#htc-linux rob__w (n=bob@X0676.x.pppool.de) |
15:55.16 | *** join/#htc-linux rob_w|lappi (n=rob@X0676.x.pppool.de) |
15:56.18 | dcordes | BabelO: I meant not pda but .pdf :). So he just wanted to get rid of windows? |
15:57.11 | dcordes | martin__: ok that's good. what needs looking at.. I will better state what is working: basically what you see plus touchscreen an reading AT data |
15:58.59 | dcordes | what would probably be most useful is making the sd controllers work. We have two of them. One provides sd card and one a wl125 texas instruments 802.11g device |
15:59.45 | BabelO | dcordes: wifi driver is in msm tree ? |
16:00.04 | dcordes | I have no clue what needs changing in order to make this work. what I did so far is changing the controller count from 4 to 2 (in the upstream source at git.android.com branch android-msm the testing hardware uses 4 sdc) |
16:00.27 | dcordes | BabelO: I don't know if acx100 is there let me look |
16:00.49 | BabelO | dcordes: i mean the sdio part |
16:01.02 | dcordes | BabelO: yes |
16:01.34 | dcordes | BabelO: drivers/mmc/host/msm_sdcc.c |
16:04.06 | BabelO | dcordes: no |
16:04.15 | dcordes | martin__: are you familiar with the way how arm9<>arm11 communication is done? |
16:04.48 | *** join/#htc-linux the_sys0p (i=the_sys0@gateway/tor/x-287c47d5f67964ea) |
16:05.39 | dcordes | BabelO: ./drivers/mmc/core/sdio.c? |
16:06.08 | BabelO | dcordes: i just see sdio_uart |
16:06.14 | dcordes | where? |
16:06.40 | BabelO | inmmc/card |
16:07.03 | dcordes | there are seven sdio files there in my tree. where do you look at? |
16:08.13 | BabelO | dcordes: drivers/mmc/card/ |
16:08.34 | dcordes | http://git.linuxtogo.org/?p=groups/mobile-linux/kernel.git;a=tree;f=drivers/mmc/core;h=f6ceee4040f25d1ef0e8af609daa918a77faa0e5;hb=refs/heads/htc-msm |
16:09.12 | martin__ | dcordes: What are these sd controllers, what do they do? I read up on the SD card interface once and it seemed there was an SPI mode and a faster mode that used more pins. What's the interface this controller exposes to the CPU? |
16:10.54 | martin__ | I'm not familiar with the arm9-arm11 comms. Does the ARM9 handle more than just the phone radio? |
16:11.45 | dcordes | martin__: it does a lot of blackmagic |
16:12.53 | dcordes | I don't know how the sdcs are connected to the system from the top of my head |
16:12.57 | dcordes | got to ask cr2 |
16:13.29 | dcordes | a non-marketing scheme of the system layout would be pretty useful |
16:13.33 | martin__ | Okay. But they're some generic SD controller chip? |
16:14.02 | martin__ | I looked at datasheets for a few last time I was going to design a system with an SD slot. |
16:15.03 | dcordes | martin__: yes I think so. maybe the msm_sdcc.c can tell you more |
16:15.15 | dcordes | are you aware of the kaiser research pages in the xda wiki? |
16:15.40 | dcordes | http://wiki.xda-developers.com/index.php?pagename=KaiserResearch |
16:16.30 | martin__ | Nope, not seen those yet. I'll have a read. |
16:17.27 | dcordes | they are essential |
16:17.41 | dcordes | the cpld is done through the htc-egpio.c driver in the tree |
16:17.58 | dcordes | it provides us with the cpld gpios |
16:18.27 | dcordes | BabelO: is that what you were looking for in core? |
16:19.35 | BabelO | dcordes: drivers/mmc/card/sdio_uart.c |
16:19.55 | BabelO | i m looking for wifi, but msm tree is like other, no sdio wifi support |
16:19.58 | dcordes | so sd is on the uard in kaiser? |
16:21.07 | martin__ | dcordes: Okay. Most of my experience is using UARTs/SPI/I2C so I'm probably most useful looking at stuff connected through those interfaces. |
16:21.19 | BabelO | dcordes: no, sdio_uart, is something to allow special sdcard ( gps/com /3g) to be plugged on sdio bus |
16:21.39 | dcordes | martin__: afaik bluetooth is uart. look at the research page it tells what bluetooth chip is |
16:23.18 | martin__ | dcordes: Yep, BRF6300 on UART1. |
16:24.00 | dcordes | maybe you can get this working? having network on kaiser would be useful |
16:25.32 | dcordes | BabelO: so what do we need to get this sdio_uart in? |
16:25.44 | dcordes | BabelO: is there another htc where we can copy? |
16:26.13 | cr2 | BabelO: i can test sdio_uart if i'll have htc-egpio for n560 :) |
16:26.36 | BabelO | cr2: yes :) |
16:27.08 | martin__ | dcordes: It looks like nobody knows anything much about the BRF6300, unfortunately. |
16:27.10 | dcordes | cr2: how are the sdcs hooked up in kaiser? |
16:27.31 | *** join/#htc-linux pH5 (n=user@e178254212.adsl.alicedsl.de) |
16:27.56 | *** join/#htc-linux mistadman (n=mistadma@adsl-241-125-145.msy.bellsouth.net) |
16:28.33 | BabelO | cr2: did you clone git tree ? |
16:28.35 | dcordes | hi pH5 |
16:28.44 | BabelO | hi pH5 |
16:28.58 | pH5 | hi dcordes, BabelO |
16:29.44 | BabelO | pH5: did you see that ts works ? :) and more things too |
16:30.11 | BabelO | pH5: http://www.handhelds.org/moin/moin.cgi/Artemis |
16:30.34 | pH5 | awesome |
16:32.00 | dcordes | martin__: The BRF6300 BlueLink 5.0 solution is based on TIâs prior |
16:32.03 | dcordes | generation BRF6150, |
16:32.11 | BabelO | pH5: but it seem ads7846 on artte refuse to run on 8bit exchange mode |
16:33.13 | cr2 | BabelO: can you make a qtopia picture ? |
16:33.39 | cr2 | BabelO: with the ba cam |
16:34.18 | cr2 | BabelO: btw, is it easy te replace the spi100k driver with pxa2xx-spi ? |
16:34.42 | cr2 | i may try it on the universal |
16:35.21 | *** join/#htc-linux Marex (n=marex@vasut.kolej.mff.cuni.cz) |
16:35.22 | BabelO | cr2: yes spi100k is standard spi bus declaration |
16:35.22 | cr2 | BabelO: this tree has so much subtrees that you'd tell me which one to take ;) i'll be sending patches then. |
16:35.34 | martin__ | dcordes: Seems there are brf6150 and brf6300 firmware .bin files around in android images. |
16:35.51 | cr2 | BabelO: ok, so it'll be the third ts driver for the uni :) |
16:36.04 | BabelO | cr2: Don't know on which branch ph works, but for athena / n560 maybe take mainline |
16:36.07 | cr2 | and finally the portable one. |
16:36.23 | cr2 | pH5: where do you have the magician kernel ? |
16:36.44 | pH5 | and about nth for the ads7846/tsc2046, but what can you do... :) |
16:36.46 | cr2 | BabelO: hermes is hidden somewhere too, in some work branch. |
16:36.48 | BabelO | cr2: it is in mainline, i just see magician.c |
16:37.15 | cr2 | pH5: this one will finally use the spi subsystem. |
16:37.44 | dcordes | martin__: useful |
16:38.18 | cr2 | dcordes: SD on kaiser uses the ALT gpio settings. like on pxa |
16:38.26 | pH5 | cr2: I'm trying to work against upstream directly (rmk's arm-devel repo for the latest accepted changes) |
16:38.40 | dcordes | cr2: this n-variable setup we did not do yet on kaiser? |
16:38.51 | cr2 | dcordes: it's all documented in xda-dev wiki (Kaiser_GPIO) |
16:39.03 | pH5 | has to try the artemis driver on ma |
16:39.45 | cr2 | pH5: yes. the driver will be identical with the universal. |
16:40.05 | BabelO | cr2: Doc_G3: chip id=1000 |
16:40.15 | cr2 | pH5: if gpio_get_value() will work on asic3 |
16:40.20 | cr2 | pH5: and the hx4700 too |
16:40.39 | cr2 | BabelO: the id itself is 0x200 |
16:40.51 | cr2 | BabelO: try the docg3.c driver. |
16:41.04 | BabelO | cr2: that is this one, so i change id |
16:41.53 | cr2 | BabelO: make the picture of M on artemis :) |
16:42.01 | BabelO | cr2: ok :) |
16:42.20 | pH5 | hm. mainline pxa27x_udc doesn't work :/ |
16:42.27 | martin__ | dcordes: Looks like people have had the 6150 working on other platforms, so I'll see about treating the 6300 as a 6150 and see how far I get. |
16:42.34 | dcordes | cr2: does the sd data flow through the gpio? |
16:42.41 | *** join/#htc-linux andy_js (n=andy_js@AAmiens-152-1-57-73.w83-198.abo.wanadoo.fr) |
16:43.01 | dcordes | martin__: using the 6300 firmware from android image? |
16:43.25 | martin__ | Useful links about 6150: http://handhelds.org/hypermail/aximx50-port/8/0874.html |
16:43.50 | dcordes | mookbark'd |
16:44.43 | *** join/#htc-linux pleemans (n=peter@d51A5E76A.access.telenet.be) |
16:45.39 | martin__ | Do we have the UARTs working as /dev/tty* yet? |
16:46.06 | dcordes | don't know. where would that be in the code? |
16:46.08 | BabelO | cr2: so git clone git://git.linuxtogo.org/home/groups/mobile-linux/kernel.git then git branch --track htc-pxa origin/mainline |
16:46.25 | BabelO | cr2: then git checkout htc-pxa |
16:46.35 | BabelO | i send you cpld file, have to do it |
16:48.19 | dcordes | martin__: I don't see anything msm-specific about uart |
16:48.27 | cr2 | martin__: we know much more about 6150 |
16:48.32 | martin__ | drivers/serial/msm_serial.c |
16:49.15 | martin__ | Looks like UARTs are all sorted from that. |
16:49.37 | martin__ | cr2: Has anyone tried just talking to the 6300 as a 6150 yet? |
16:49.53 | cr2 | martin__: some registers are documented here http://wiki.xda-developers.com/index.php?pagename=UniversalBluetooth |
16:50.14 | cr2 | martin__: i can look with the .bts decompiler at the 6300 .bts |
16:50.17 | pH5 | BabelO, you have set up a htc-pxa branch? |
16:50.44 | martin__ | Also, there's three UARTs on the chip. Do we know where the other two go, if anywhere? |
16:50.44 | cr2 | martin__: you can try it with the PIO access to uart1. at 115200, without DMA |
16:51.09 | cr2 | martin__: nowhere afaik. |
16:51.31 | BabelO | pH5: no :), that was just a sample, butas we did not change lot of thing in omap branch, it is a standard |
16:51.52 | BabelO | cr2: what docg3 driver create ? |
16:52.00 | dcordes | martin__: the uarts are in the msm7200? |
16:52.01 | pH5 | ah ok, not yet :) |
16:52.09 | cr2 | BabelO: maybe you'd submit the artemis patch to the omap people. |
16:52.32 | martin__ | dcordes: Just going by http://wiki.xda-developers.com/index.php?pagename=Kaiser_IRQ |
16:52.47 | BabelO | cr2: you think i can ? mvista is not microsoft ? lol |
16:52.59 | cr2 | BabelO: some chardev, i don't remember. check the 64M size, and use the base address module paramter |
16:53.29 | cr2 | BabelO: isn't there omap support in mainline ? |
16:54.07 | BabelO | cr2: yes i ve done all with mainline, and change are lower |
16:54.14 | cr2 | ok |
16:55.15 | BabelO | cr2: Doc_G3: chip id=1000 Starting flash stuff end, that's all i see |
16:56.02 | cr2 | BabelO: chip id is 0x200 for g3 and 0x400 for g4 |
16:56.17 | cr2 | BabelO: what is your base address ? should be 0x0 |
16:56.43 | BabelO | cr2: yes i set it to 0x0 and it display 0x1000 as id :( |
16:57.00 | pH5 | BabelO, still i guess omap850 and artemis patches should be sent to linux-omap for review |
16:57.12 | martin__ | Okay, off to get some dinner. I'll see what I can do with the bluetooth stuff. |
16:57.18 | pH5 | the ts driver can go to linux-input directly |
16:57.19 | cr2 | BabelO: http://wiki.xda-developers.com/index.php?pagename=HTC_DiskOnChip |
16:57.55 | cr2 | BabelO: will your spi100k driver work with syren ? |
16:57.57 | dcordes | martin__: k. I have to go bbl. if you wanna tryout AT communication replace the according part of kaiser-smd.c with this http://rafb.net/p/XGPApr23.html then in the console image do a "mknod /dev/smd0 c 254 0" you will be able to read signal strength and see incoming calls/other stuff. There is something wrong with the AT write buffer maybe you can also look at this |
16:58.13 | dcordes | same here :) dinner time |
17:00.05 | BabelO | cr2: but it is artemis :), so driver does not work |
17:00.05 | BabelO | pH5: tsc2046_ts is standard in mvista i think, don't remember where is get it :) |
17:00.24 | martin__ | dcordes: Okay, will give that a try too. |
17:00.28 | martin__ | -> food |
17:01.09 | BabelO | cr2: no, cause of the read / write function , it seem syren have spi page, and i don't know what it is :) |
17:01.15 | BabelO | cr2: but adding support to it can be easy |
17:02.18 | *** join/#htc-linux rob_w|lapp (n=rob@X0f99.x.pppool.de) |
17:02.39 | *** join/#htc-linux Robwoerle (n=bob@X0f99.x.pppool.de) |
17:04.09 | *** join/#htc-linux JohnnyK (n=johnnyk@nfx-nat-229.pilsfree.net) |
17:05.04 | cr2 | BabelO: git branch --track htc-pxa origin/mainline does not work with my git ? |
17:05.10 | BabelO | cr2: mknod /dev/g3 c 254 0 && cat /dev/g3 > dump.rom seem to read from doc |
17:05.50 | cr2 | BabelO: does it look reasonable ? |
17:05.53 | BabelO | cr2: it should reate a local branch for htc-pxa which is not in linuxtogo |
17:06.39 | *** join/#htc-linux kiozen (n=kiozen@rgnb-4db1d813.pool.einsundeins.de) |
17:08.16 | BabelO | cr2: i check |
17:08.46 | cr2 | the htc-egpio driver is an old one |
17:09.01 | *** join/#htc-linux andy_js (n=andy_js@AAmiens-152-1-57-73.w83-198.abo.wanadoo.fr) |
17:09.10 | cr2 | makefile says -hh20 |
17:09.23 | cr2 | 2.6.21-hh20 |
17:09.30 | BabelO | cr2: what do you do ? do you git checkout htc-pxa ? |
17:09.38 | cr2 | yes |
17:09.56 | cr2 | git branch htc-pxa |
17:09.58 | BabelO | cr2: git branch ? |
17:10.01 | BabelO | oh strange |
17:10.03 | cr2 | git checkout htc-pxa |
17:10.40 | cr2 | git branch --track htc-pxa origin/mainline |
17:10.48 | cr2 | this syntax gives me an errro |
17:10.52 | BabelO | yes it is ok |
17:11.01 | BabelO | an error ? |
17:12.04 | cr2 | Usage: git-branch [-l] [(-d | -D) <branchname>] | [[-f] <branchname> [<start-point>]] | -r |
17:13.07 | *** join/#htc-linux rob__w (n=bob@Maebc.m.pppool.de) |
17:13.08 | *** join/#htc-linux rob_w|lappi (n=rob@Maebc.m.pppool.de) |
17:13.33 | cr2 | ok, i need some food. bbl |
17:14.08 | BabelO | cr2: g3 read is always 0xffff |
17:14.12 | BabelO | so does not work |
17:14.58 | *** join/#htc-linux noelcragg (n=noel@64.191.251.58) |
17:19.19 | *** join/#htc-linux JEEB (n=kanakana@a88-112-94-153.elisa-laajakaista.fi) |
17:31.29 | BabelO | kiozen: around ? :) |
17:31.44 | kiozen | yes |
17:32.00 | *** part/#htc-linux noelcragg (n=noel@64.191.251.58) |
17:32.11 | BabelO | kiozen: just starting M on artemis, but 57600 baud is ot ion the list, i set it in conf file by hand |
17:32.29 | BabelO | have to upload a way point on arte |
17:32.56 | kiozen | BabelO: ok, I can add more baude rates |
17:34.24 | BabelO | kiozen: what is the port number on M ? |
17:34.38 | BabelO | i forget, have to check in sources |
17:34.41 | *** join/#htc-linux rob__w (n=bob@Ma3a3.m.pppool.de) |
17:34.51 | kiozen | BabelO: /dev/gps |
17:35.12 | BabelO | kiozen: yes that ok, but from GT to M to upload |
17:35.24 | *** join/#htc-linux rob_w|lappi (n=rob@Ma3a3.m.pppool.de) |
17:35.32 | kiozen | BabelO: ah, 4242 (of course :)) |
17:36.27 | kiozen | BabelO: added more baude rates, svn up |
17:37.06 | BabelO | kiozen: thanks, i ll make a screenshot of M on Artemis |
17:37.19 | kiozen | yep wanna see! |
17:41.46 | BabelO | i need to make a real test too :) |
17:42.39 | kiozen | ok, do a long distance walk to Regensburg |
17:43.05 | BabelO | kiozen: i see you add lot of waypoint picture |
17:43.12 | BabelO | kiozen: and what about track |
17:43.41 | kiozen | BabelO: no sense to implement it without device |
17:43.48 | *** join/#htc-linux rmoravcik (n=rmoravci@ip-89-102-255-171.karneval.cz) |
17:51.26 | *** join/#htc-linux marbalon (n=balon@aegt3.neoplus.adsl.tpnet.pl) |
17:54.34 | BabelO | kiozen, cr2 picture is taken with n800 http://linuxbox2.free.fr/artemis/16_47_17-190508.jpg |
17:55.13 | kiozen | BabelO: nice :)))) |
17:55.24 | dcordes | gt'd |
17:55.31 | BabelO | and kiozen artemis fix is very fast, impressive |
17:56.01 | BabelO | kiozen: 7 sats inside the house |
17:56.27 | kiozen | BabelO: that does not speak for the quality of the roof :P |
17:56.55 | kiozen | but where you live, you need no good isolation :) |
17:57.00 | BabelO | kiozen: i ve used waypoint for this, because no maps of where i am :) |
17:57.09 | BabelO | kiozen: agree :) |
17:57.21 | dcordes | wow with kaiser I only see a very rough position with a huge offset but I'm in first floor |
17:57.23 | BabelO | kiozen: 24 °C today |
17:57.39 | pH5 | hmm |
17:57.52 | kiozen | BabelO: grrr, 16°C and rain here :/ |
17:57.53 | pH5 | more like 14 here |
17:58.02 | BabelO | :) |
17:58.08 | kiozen | let's move all to BabelO |
17:58.09 | dcordes | 13° but dry |
17:58.56 | kiozen | but geotiff maps are so much nicer than these abstract vector maps |
17:59.18 | BabelO | kiozen: maybe the blue soft button can be removed for small devices, i think to zoom + / -, because i have button just under the screen |
17:59.28 | BabelO | kiozen: agree |
17:59.42 | kiozen | BabelO: and the info screen on top has to be optimized |
17:59.45 | lama | Hello World! |
17:59.56 | kiozen | BabelO: you can't read the coordinates |
18:00.10 | BabelO | kiozen: yes cannot read east |
18:00.21 | BabelO | kiozen: just found a but |
18:00.48 | kiozen | thinks you usually sit on one |
18:00.51 | BabelO | kiozen: i extract a part of big map with export feature, and i ve a black square |
18:01.18 | BabelO | ok, need to found battery location on artemis now ;) |
18:01.29 | BabelO | cr2 says backlight is easy, but did not found it :) |
18:02.21 | kiozen | BabelO: and you can optimize buttons and infoscreen for small displays |
18:02.22 | BabelO | kiozen: oh, lot of black square, i think it is due to my map creation :) |
18:02.34 | pH5 | BabelO, is it not on the cpld? |
18:03.02 | BabelO | pH5: ds1wm ? or backlight ? backlight i did not found it :( |
18:03.12 | pH5 | backlight |
18:03.41 | pH5 | on herald it's just a 3bit value in one of the cpld regs |
18:04.18 | *** join/#htc-linux goxboxlive (n=goxboxli@208.84-48-176.nextgentel.com) |
18:04.19 | kiozen | BabelO: black squares are not your fault, it's mine. Have to do better export one day |
18:04.37 | BabelO | kiozen: it is due to my maps override ? |
18:04.46 | pH5 | I don't think there's a ds1wm in there. doesn't the omap850 have some internal onewire controller? |
18:05.01 | BabelO | pH5: ok, do you remember where did you see it ? |
18:05.21 | BabelO | yes there is a oneuwire controller and a hd1q controleer two |
18:05.27 | BabelO | hd1q is close to ds1wm |
18:05.35 | kiozen | BabelO: kind of, I do not honor the transparent color on export |
18:05.45 | pH5 | omap850trm overview or the advertisement on ti's webpages |
18:05.55 | *** join/#htc-linux CVirus (n=GoD@62.135.96.15) |
18:06.27 | pH5 | ah, hd1q. is it used for battery on arte? |
18:06.30 | BabelO | pH5: i look to h1 / h2 board documentation and some omap5912 for register description |
18:07.11 | kiozen | BabelO: I want to put you screenshot on the qlandkarte webpage, is that ok? |
18:07.34 | BabelO | pH5: don't know, i m looking for where it is plugged, i hope it is not a single ads7846 pin measure |
18:07.40 | BabelO | kiozen: yes |
18:08.33 | pH5 | BabelO, I hope not. but I guess for that the capacity measurement is too exact. |
18:09.57 | BabelO | pH5: ok i ll check cpld bit for backlight |
18:10.44 | pH5 | should be easy to detect if you can read back the registers |
18:11.04 | kiozen | BabelO: your phone is now famous :) |
18:11.06 | kiozen | http://www.qlandkarte.org/index.php?option=com_content&view=article&id=7&Itemid=9 |
18:11.06 | *** join/#htc-linux pikapika (n=pikapika@mar75-8-88-164-227-147.fbx.proxad.net) |
18:11.17 | pikapika | hi |
18:11.21 | BabelO | pH5: all 0xfffbxxxx cannot be read , don't know why, maybe a CS |
18:11.29 | BabelO | hi pikapika |
18:12.09 | BabelO | kiozen: :) |
18:14.11 | BabelO | kiozen: i ve to harcode the roller pad for zoom in / out :) |
18:15.11 | kiozen | BabelO: or dialog selection, like gamrin's colorado |
18:20.40 | BabelO | pH5: is it dwmode ? |
18:24.29 | *** join/#htc-linux noelcragg (n=noel@bergnaummasters.svl.macrovision.com) |
18:26.58 | *** join/#htc-linux patoche (n=Patrice@lns-bzn-56-82-255-233-80.adsl.proxad.net) |
18:30.49 | pH5 | I don't understand. What is dwmode? |
18:34.15 | BabelO | pH5: don't know, i see it in nk |
18:34.32 | BabelO | pH5: is it a good idea to add cpld version reading to htc-egpio ? |
18:35.55 | cr2 | BabelO: it's not always there. |
18:36.16 | cr2 | kiozen: M on artemis looks nice. |
18:36.21 | *** part/#htc-linux noelcragg (n=noel@bergnaummasters.svl.macrovision.com) |
18:36.24 | kiozen | cr2: yes |
18:36.44 | kiozen | cr2: it would look even nicer on n560 :) |
18:37.12 | cr2 | lcdspi :) |
18:38.03 | lcdspi | cr2: yes here :) |
18:38.10 | cr2 | lcdspi: LOL |
18:38.11 | BabelO | cr2: i hope the unknown adress on artemis are battery related maybe |
18:38.39 | pH5 | BabelO, not sure. I do the boardid readout manually on magician because I need the info early to decide which lcd to use. |
18:38.42 | cr2 | kiozen: i'd register this nick :) |
18:39.02 | BabelO | kiozen: and the don't panic button, was funny yesturday evening :) i click on it |
18:39.02 | kiozen | mr. lcdspi |
18:39.28 | kiozen | BabelO: you hardly get a chance for such a button :) |
18:39.46 | cr2 | kiozen: maybe i'd make an M screenshot on athena ? |
18:40.37 | kiozen | cr2: we can make a contest: Europe searches Miss M |
18:40.43 | cr2 | hehe. didn't yet writen the ffuart-gps |
18:40.52 | kiozen | cr2: the price is one night with Mr lcdspi |
18:41.06 | cr2 | lol |
18:41.22 | cr2 | that sounds too immoral for me. |
18:41.36 | kiozen | depends on the lcdspi |
18:42.36 | kiozen | cr2: is there a way to record all registers of the lcd and simply restore their values on resume? |
18:45.12 | cr2 | kiozen: only 1 reading command is known |
18:45.56 | cr2 | kiozen: already restored 90% of lcdspi |
18:46.33 | kiozen | cr2: ok, so it's one command per register? no read with offset address ? |
18:49.41 | cr2 | kiozen: it sends '4' and looks for the 0x748020 response |
18:50.15 | kiozen | hm, ok, that leads to nothing |
18:50.57 | BabelO | cr2: on artemis the spi100k, i see that i can send a 16 bit comment and ask for 24 bit response :) |
18:52.43 | cr2 | BabelO: i don't remember, do you have 8+8 send only ? |
18:53.14 | cr2 | BabelO: i'll fix the code, and commit it RSN. |
18:53.16 | BabelO | cr2: no, only send 16 bit for ts, if i send 8 + 8 it does not work |
18:53.17 | *** join/#htc-linux diogene31_ (n=rj@mur31-2-82-243-122-54.fbx.proxad.net) |
18:53.28 | cr2 | you can then reuse the 8+8 send |
18:53.59 | cr2 | BabelO: ok. you need the 8+8 bitbang driver for the LCD |
18:54.18 | BabelO | cr2: ok, i can do with spi bitbang |
18:54.34 | BabelO | cr2: what i need for resume / suspend ? |
18:54.35 | cr2 | BabelO: btw, it's only called nk, because dumprom makes it. |
18:55.13 | cr2 | you mean the lcd wakeup ? |
18:55.26 | BabelO | cr2: no the device wakeup |
18:55.31 | cr2 | a lot of cpld gpios, omap gpios and the bbang |
18:55.52 | cr2 | it's more difficult. i'm not that familiar with omap wakeup. |
18:55.53 | BabelO | outch :) long task then, but i really need it |
18:56.06 | cr2 | BabelO: the gpios are in the .lst |
18:56.12 | BabelO | cr2: it seem that pm.c is already coded for omap |
18:56.15 | cr2 | BabelO: and the 8+8 things. |
18:56.45 | BabelO | cr2: ok, so one by one, let fouind backlight + battery stuff |
18:57.02 | cr2 | BabelO: i'll finish the code first. |
18:57.10 | BabelO | cr2: ok |
18:58.08 | cr2 | BabelO: btw, artemis uses RE, not FE |
18:58.55 | cr2 | hmm. |
18:58.56 | BabelO | cr2: ? irq front , only works with FE it is set like that in pd 0xfffc1000 dump :) |
18:59.14 | *** join/#htc-linux rob_w|laptop (n=rob@X0141.x.pppool.de) |
18:59.26 | *** join/#htc-linux rob_w (n=bob@X0141.x.pppool.de) |
19:00.26 | BabelO | lol even dallas 1 wire is bitbang :) |
19:01.03 | cr2 | BabelO: i'll tell you what to change for lcdspi on arte |
19:01.16 | BabelO | cr2: ok |
19:01.25 | BabelO | cr2: i see the command list in nk |
19:10.05 | cr2 | hmm. i think i've reversed bits on recv... |
19:13.55 | cr2 | pH5: what is the standard type for unsigned char in the kernel ? |
19:15.05 | pH5 | exactly that |
19:15.26 | cr2 | __u8 u_int8_t uint8_t ? |
19:16.21 | cr2 | looks like __u8 |
19:20.02 | *** join/#htc-linux kiozen_ (n=kiozen@rgnb-4db1db3e.pool.einsundeins.de) |
19:21.53 | *** join/#htc-linux kiozen_ (n=kiozen@rgnb-4db1db3e.pool.einsundeins.de) |
19:22.22 | pH5 | ah, not sure about that. I'd have said u8, but it really depends on which part of the kernel you look at, I guess. |
19:23.19 | pH5 | __u8 wins over u8 about 2:1 in include/linux :) |
19:26.45 | cr2 | pH5: ok. |
19:27.09 | cr2 | pH5: types.h does not define u8 |
19:27.49 | cr2 | kiozen: recompiling. say goodbye to your LCD. |
19:28.11 | cr2 | i need to recheck the read24 again. |
19:28.11 | kiozen_ | cr2: kiozen is lost in space any way :) |
19:28.35 | cr2 | ok |
19:29.00 | kiozen_ | I really wonder why my wifi connection breaks frequently |
19:29.18 | kiozen_ | cr2: if you blow the device we have to send it to amazon :) |
19:29.53 | cr2 | lol |
19:30.23 | BabelO | kiozen_: i ve found why here , it was due to power management on artemis, now it is ok |
19:30.24 | cr2 | seems to be a simple driver , but i've 200 lines of code ;) |
19:30.39 | BabelO | kiozen_ but i have less hair |
19:30.50 | kiozen_ | BabelO: ???? |
19:32.32 | kiozen_ | BabelO: ah ok :) no can't be o my laptop. It's just some clash with Fritzbox vs. Intel Pro wireless |
19:33.00 | kiozen_ | BabelO: it started with an update of the Fritzbox |
19:33.29 | BabelO | kiozen_: what is fritzbox ? like my Freebox and internet / tv /phone box ? |
19:34.07 | cr2 | pH5: gpio_get_value() returns 0 or 1 ? |
19:34.09 | kiozen_ | BabelO: very famous DSL Router with wifi |
19:34.38 | kiozen_ | BabelO: http://www.avm.de/en/Produkte/FRITZBox/index.html |
19:34.40 | BabelO | kiozen_: ok |
19:35.35 | *** join/#htc-linux tcccp (i=hey@bmvg.bund.be) |
19:35.39 | BabelO | kiozen_: mine in two part http://www.infos-du-net.com/actualite/dossiers/79-free-freebox-hd.html |
19:36.53 | BabelO | pH5: is there a tool to ask spi bus ? |
19:40.13 | cr2 | <PROTECTED> |
19:41.36 | cr2 | return GPLR(gpio) & GPIO_bit(gpio) |
19:41.49 | cr2 | hmm. does not look like 0/1 |
19:41.55 | *** join/#htc-linux miknix (n=miknix@81.193.89.117) |
20:00.41 | kiozen | cr2: and? did you fry it? |
20:01.27 | cr2 | no, i've found a bug. fixing it. |
20:03.38 | *** join/#htc-linux dwaradzyn (n=gudz666@damian8155.net.autocom.pl) |
20:05.07 | cr2 | i'll also set the direction and gafr. |
20:06.11 | *** join/#htc-linux kiozen_ (n=kiozen@rgnb-4db1dd2d.pool.einsundeins.de) |
20:17.09 | *** join/#htc-linux kiozen__ (n=kiozen@rgnb-4db1d9af.pool.einsundeins.de) |
20:17.20 | cr2 | hehe. unportable mess ;) |
20:17.40 | kiozen__ | my wifi or lcdspi? |
20:17.45 | cr2 | even the n560 disassembly is easier to understand. |
20:17.54 | kiozen__ | thinks three of us is way too much :/ |
20:17.54 | cr2 | the pxa gpio interface. |
20:18.39 | cr2 | it's bad to work with 5-6 arm cpus simultaneously :) |
20:19.25 | cr2 | i'm trying to do things right now. other devices will need a lot of fixes too ;) |
20:20.56 | kiozen__ | hm |
20:23.28 | cr2 | <PROTECTED> |
20:23.28 | cr2 | <PROTECTED> |
20:23.28 | cr2 | <PROTECTED> |
20:34.13 | *** join/#htc-linux CVirus (n=GoD@62.135.96.15) |
20:34.39 | pH5 | cr2, make that gpio_direction_output(gpio_cs, 1) |
20:35.21 | pH5 | is does the set_value already, pxa_gpio_mode is going away, and AF0/out is the default anyway |
20:35.30 | pH5 | it does* |
20:35.42 | cr2 | pH5: done |
20:36.13 | cr2 | pH5: on msm7200 the _alt may be 0x1c4 |
20:37.20 | pH5 | do they already have an interface to set that like omap's pin mux or pxa's mfp stuff? |
20:37.32 | cr2 | kiozen: cross the fingers. your lcd is going to be destroyed now :) |
20:37.50 | kiozen | www.amazon.de |
20:38.43 | cr2 | pH5: don't know. the mux on omap looks like hell to me. |
20:39.06 | pH5 | :) you're not alone there |
20:41.53 | cr2 | hehe. the lcd went white again. |
20:42.07 | BabelO | cr2: timing ? |
20:42.28 | *** join/#htc-linux MHazem (n=GoD@62.135.96.15) |
20:43.25 | cr2 | BabelO: what is the qtopia usb addr ? |
20:43.40 | BabelO | cr2: like usual 192.168.0.202 |
20:43.49 | diogene31_ | cr2: Irq lock and forever loop ? :) |
20:44.29 | cr2 | <4>[ 26.920000] send24 4 |
20:44.29 | cr2 | <4>[ 26.920000] get24 0 |
20:44.32 | cr2 | hmm. |
20:45.00 | cr2 | what should i write to /sys ? |
20:45.36 | cr2 | i need to check the byte order in 16bit |
20:50.19 | cr2 | http://pastebin.fr/1683 |
20:52.57 | cr2 | kiozen: it lives. but doesn't want to wakeup ;) |
20:53.36 | kiozen | cr2: turn on the light and shout "good morning", at least that helps with my son... |
20:54.24 | kiozen | cr2: you tried to start qpe? |
20:54.31 | cr2 | hmm. what can be wrong... |
20:54.47 | kiozen | maybe if the framebuffer is filled.. |
20:55.01 | cr2 | kiozen: the functions are called, i can control the lcd through /sys |
20:55.37 | cr2 | BabelO: the timing with pxafb, but it doesn't make problems on other devices. |
20:58.47 | BabelO | cr2: are you able to read what you send ? |
21:00.40 | dcordes | cr2: tried to make a video call and dump but somehow it doesn't work. think it's a contract thing |
21:00.57 | cr2 | dcordes: maybe |
21:01.28 | dcordes | so what fifos are missing? |
21:01.39 | cr2 | BabelO: i'll recheck the pxa gpios again. there are 6 lcds supported, so maybe something went wrong. |
21:02.11 | dcordes | ~ping martin__ |
21:02.12 | apt | pong martin__ |
21:05.29 | *** join/#htc-linux dcordes (n=dcordes@unaffiliated/dcordes) |
21:05.34 | BabelO | lol my driver do conflict with uwire |
21:13.36 | lama | hello again |
21:14.11 | lama | cr2: if you would like I can give you an access for g900 now |
21:18.29 | *** join/#htc-linux TeringTuby (n=maarten@195-241-125-243.ip.telfort.nl) |
21:21.43 | *** join/#htc-linux dcordes_ (n=dcordes@unaffiliated/dcordes) |
21:28.57 | cr2 | 4b 66 |
21:29.08 | cr2 | lama: i'm busy with n560 |
21:29.13 | lama | ok |
21:30.49 | cr2 | it's pwm1 ;) |
21:32.09 | *** join/#htc-linux Zoolooc (n=fredsiba@nrbg-4dbfd7e8.pool.einsundeins.de) |
21:38.10 | *** join/#htc-linux surgex0 (i=surge@pool-71-186-234-216.bflony.fios.verizon.net) |
21:43.46 | dwaradzyn | hi, i'm trying to compile bootable android linux kernel for kaiser/polaris. do i have to apply some patches or fresh htc-msm branch checkout of git://git.linuxtogo.org/home/groups/mobile-linux/kernel.git is ok? |
21:45.05 | cr2 | kiozen: this is very strange... |
21:45.19 | kiozen | cr2: what? |
21:45.59 | cr2 | omg. |
21:46.05 | cr2 | i'm dumb :) |
21:46.07 | cr2 | http://www.lcdsolar.com/EmpGoog/TOPPOLY/3.5/TD035STEE1.html |
21:46.45 | cr2 | it's not sony like on the universal, the dpi is even better. |
21:47.32 | cr2 | hehe. even wiki says that |
21:47.58 | kiozen | cr2: working on the wrong device? |
21:49.28 | cr2 | no, was just misleaded by the vga resolution, and used some wrong gpios. |
21:50.40 | cr2 | booting |
21:52.04 | cr2 | hm# |
21:53.31 | cr2 | uh |
21:53.41 | cr2 | echo 0 > blank |
21:53.45 | cr2 | works |
21:53.56 | cr2 | seems to be a backlight problem. |
21:54.28 | kiozen | cr2: thus it did resume? :) |
21:55.34 | cr2 | <7>[ 180.900000] backlight off. |
21:55.34 | cr2 | <7>[ 192.080000] backlight on. |
21:55.42 | cr2 | root@htcuniversal:/sys/class/backlight/generic-bl$ echo 100 > brightness |
21:55.50 | cr2 | kiozen: yes. |
21:56.02 | kiozen | cr2: you are the man! |
21:56.20 | kiozen | :)) |
21:56.30 | dwaradzyn | dcordes_: i think you know the answer to my question. if so please do anwer me. thanks in advance |
21:57.34 | BabelO | cr2: very good :) |
21:58.26 | *** join/#htc-linux dzo (n=dzo@121.98.128.127) |
21:58.39 | cr2 | kiozen: the LCD/BL subsystems is just crazy. |
21:59.06 | kiozen | what is it now? |
21:59.10 | cr2 | kiozen: there were so many changes that i'm confused now. when the BKL power is coupled with LCD power and when not. |
21:59.42 | pH5 | <-- .zZ |
22:00.39 | cr2 | kiozen: everything works, but you need to take care of /sys settings yourself, otherwise you'll get some crazy things. |
22:01.19 | kiozen | ok, does resume call some scripts? |
22:01.42 | cr2 | hmm. the pwm1 is still confusing, but it's a minor thing |
22:02.11 | cr2 | maybe it's the brightness of the blue keyboard light, i don't know. |
22:02.39 | kiozen | oh, that would be important |
22:02.50 | cr2 | kiozen: no, it should not. you may hardcode some more controls in M anyway. |
22:03.05 | cr2 | since you don't use the qtopia wm. |
22:03.38 | cr2 | and you need some extra controls for multiple backlights anyway. |
22:03.44 | cr2 | ok. |
22:04.06 | cr2 | the last big thing is device resume ;) |
22:04.19 | cr2 | oh, and bluetooth. i'd finish it. |
22:04.30 | kiozen | cr2: thought resume works? |
22:04.32 | *** join/#htc-linux jeebster (n=kanakana@a88-112-94-153.elisa-laajakaista.fi) |
22:04.35 | kiozen | confused |
22:04.49 | cr2 | kiozen: device resume to linux. |
22:04.55 | cr2 | i'll try |
22:05.28 | cr2 | BabelO: suspend is echo mem /sys/xxx ? |
22:05.50 | BabelO | cr2: yes /sys/power/state i think |
22:06.04 | cr2 | ok |
22:06.27 | cr2 | kiozen: resumed to wince ;) |
22:06.43 | kiozen | ohhhhhhhhhhhhh, not good :) |
22:07.15 | cr2 | dbl++ |
22:09.21 | cr2 | <4>[ 39.120000] send24 4 |
22:09.22 | cr2 | <4>[ 39.120000] get24 0 |
22:10.17 | cr2 | somehow this is strange |
22:10.20 | cr2 | <7>[ 84.800000] backlight on. |
22:10.20 | cr2 | <7>[ 89.570000] lcd power off. |
22:14.05 | cr2 | ok, either the pxafb should be sanitized, or the lcd driver should be wrapped like on the universal |
22:14.27 | dwaradzyn | ~ping dcordes_ |
22:14.28 | apt | pong dcordes_ |
22:15.07 | cr2 | BabelO: it's time for n560 htc-egpio :) |
22:16.17 | BabelO | cr2: easy it is same than artemis :) |
22:16.24 | cr2 | yes |
22:16.38 | kiozen | ok cr2 have to get some sleep, thanks for the good work, guess I have to code tracks to M soon :) |
22:16.39 | cr2 | BabelO: i'll commit the lcdspi stuff |
22:16.54 | BabelO | cr2: ok :) |
22:17.01 | cr2 | kiozen: we move to 2.6.26 |
22:17.05 | cr2 | kiozen: good night |
22:17.16 | kiozen | lets see if the upcoming Live Log in GT can be used for M ,too |
22:17.23 | kiozen | good night :) |
22:18.32 | cr2 | BabelO: let me know if you'll see something weird :) the driver is quick and dirty, written right out of the head ;-) |
22:18.53 | cr2 | but it has an advantage that it works . |
22:19.48 | BabelO | cr2: ok |
22:20.12 | BabelO | cr2: for egpio, all is there http://git.linuxtogo.org/?p=groups/mobile-linux/kernel.git;a=blob;f=arch/arm/mach-omap1/htcartemis/htcartemis.c;h=bf812452598e97b15bde31a5d62185da723d6b7c;hb=4a8ebebb556f38d890a2681051be59019b346398 |
22:20.26 | BabelO | in . h just change the 16* by 8* |
22:21.07 | cr2 | BabelO: committed |
22:22.08 | BabelO | cr2: under loox ? |
22:22.27 | cr2 | BabelO: why don't you move the omap LCD register names to the respective header |
22:22.42 | BabelO | cr2: yes i ve to do it :) |
22:23.06 | cr2 | http://handhelds.org/cgi-bin/cvsweb.cgi/linux/kernel26/arch/arm/mach-pxa/looxc550/looxc550.c?rev=1.17&content-type=text/x-cvsweb-markup |
22:23.38 | BabelO | cr2: ok i get it |
22:24.12 | cr2 | oh. i see the bug :) |
22:24.19 | cr2 | <PROTECTED> |
22:24.19 | cr2 | <PROTECTED> |
22:25.32 | cr2 | BabelO: you need set_re() on arte, not set_fe |
22:25.41 | cr2 | and only the 8+8 send |
22:25.54 | cr2 | where the first 8 is x74 or x76 |
22:26.21 | cr2 | and the gpio numbers are different. |
22:28.52 | *** join/#htc-linux aLeSD (n=alex@193.153.123.30) |
22:31.45 | BabelO | cr2: ok |
22:31.59 | *** join/#htc-linux snake-pennen (n=snake@dyndsl-091-096-092-024.ewe-ip-backbone.de) |
22:32.14 | cr2 | BabelO: int gpio_cs, int gpio_tx, int gpio_cl, int gpio_rx |
22:32.22 | cr2 | this is also not nice. |
22:32.53 | cr2 | struct spi_bitbang_gpio {...} may be better. |
22:34.07 | BabelO | cr2: yes |
22:35.58 | dcordes_ | is kaiser=polaris? |
22:36.34 | cr2 | BabelO: fixed the bug. |
22:37.26 | BabelO | cr2: ok, still looking at backlight :( |
22:37.45 | dcordes_ | dwaradzyn: anyway, no patches needed. just fetch branch htc-msm and use my config at linuxtogo.org/~lgorris |
22:38.02 | dwaradzyn | dcordes_: ok thanks |
22:38.22 | dwaradzyn | dcordes_: polaris is kaiser without hardware keyboard |
22:39.09 | cr2 | dcordes_: http://www.handy-faq.de/forum/htc_artemis_forum/36161-htc_polaris_technische_daten.html |
22:39.18 | dcordes_ | thx |
22:39.37 | cr2 | dwaradzyn: you'd check the 0x1f* area first |
22:40.31 | dwaradzyn | cr2: i'm noobie when it comes to linux and smartphones |
22:41.29 | dwaradzyn | cr2: please say the same using language i could understand easily |
22:44.54 | dwaradzyn | cr2: maybe i exaggerated, please briefly describe what you meant, two or three sentences should do |
22:44.55 | cr2 | dwaradzyn: can you telnet to haret ? |
22:45.03 | dwaradzyn | yes |
22:45.14 | cr2 | telnet and do |
22:45.53 | cr2 | pwf polaris1f 0x1f00000 0x100000 |
22:45.59 | dwaradzyn | ok |
22:46.49 | cr2 | PM me the polaris1f location. warning:) -> the file contains your imei and some other useful data, so don't pastebin it ;) |
22:47.10 | dwaradzyn | what version should i use? i have haret 5.1, haret 5.2 pre 20080412, haret 5.2 pre 20080510 |
22:47.20 | cr2 | doesn't matter |
22:47.25 | dwaradzyn | ok |
22:51.46 | cr2 | BabelO: you'd name the 0xfff* constants, so the code is readable. i think it's also nice to dump the IO_CONF* and MODE* from the running machine. |
22:54.09 | dwaradzyn | pwf polaris1f 0x1f00000 0x100000 gave no output |
22:54.31 | cr2 | hm. strange. |
22:54.33 | cr2 | try |
22:54.42 | cr2 | pd 0x1f00000 0x100 |
22:55.55 | dwaradzyn | hope i wont be banned, here is the output: |
22:56.08 | cr2 | pastebin |
22:56.50 | dwaradzyn | http://pastebin.com/d28fb676a |
22:57.11 | cr2 | ok, looks like on the kaiser |
22:57.18 | dwaradzyn | its polaris |
22:57.29 | cr2 | why didn't it want to write to file ... |
22:57.53 | cr2 | dwaradzyn: http://wiki.xda-developers.com/index.php?pagename=KaiserMemoryMap |
22:58.13 | BabelO | cr2: ioconf is already dumped |
22:58.27 | cr2 | dwaradzyn: it's the memory layout. look for SHARED_MEM A9/A11 |
22:58.41 | cr2 | dwaradzyn: that's what you should look for |
22:58.56 | cr2 | BabelO: ok, i've seen it. |
23:00.33 | dwaradzyn | virt=0xb5000000 wince virt=0xb5100000 phys=0x01f00000 |
23:01.17 | cr2 | dwaradzyn: you may check the +0x04208 8K ATCMD tx buf |
23:01.29 | cr2 | +0x32430 8K ATCMD rx buf |
23:01.44 | cr2 | and look if you'll see the AT commands there. |
23:02.31 | dwaradzyn | what command should i user in haret console to do that? |
23:04.38 | cr2 | pd 0x01f00000+0x04208 0x100 |
23:04.57 | cr2 | pd 0x01f00000+0x32430 0x100 |
23:05.50 | cr2 | BabelO: what is latest git version ? i'm wodering why does your command not work here. |
23:06.31 | BabelO | cr2: git version 1.5.2.4 |
23:06.51 | BabelO | cr2: when you do git branch you should see only master which is togo default |
23:07.41 | cr2 | http://git.or.cz/ 1.5.5.1 |
23:10.45 | dwaradzyn | cr2: http://pastebin.com/mc597899 |
23:11.13 | cr2 | dwaradzyn: ok, so you have the same setup as kaiser. |
23:11.49 | dwaradzyn | http://pastebin.com/d2a5add8d |
23:12.08 | dwaradzyn | cr2 thats fine |
23:12.38 | cr2 | nice. it even says AT Interpreter ready, like all other htc phones. |
23:13.05 | cr2 | you may switch gps on, and check the +0x545c8 8K GPS rx buf |
23:13.22 | cr2 | pd 0x01f00000+0x545c8 0x100 |
23:16.20 | BabelO | cr2: does linux kernel have support for NOR ? |
23:17.56 | cr2 | BabelO: you have intel flash ? |
23:18.23 | cr2 | BabelO: BA has NOR flash |
23:18.29 | cr2 | dcordes_: are you sleeping ? |
23:18.59 | BabelO | cr2: it seem that 0x08000000 is a Nor flash according to doc |
23:19.08 | dwaradzyn | cr2: i'm inside a building and cant get gps signal |
23:19.15 | BabelO | cr2: and you w<rote it on wiki |
23:19.59 | cr2 | BabelO: i ? |
23:20.22 | BabelO | cr2: yes you http://wiki.xda-developers.com/index.php?pagename=ArtemisMemoryMap |
23:20.49 | BabelO | last entry, and i see that omap have special mapping for this part of memory |
23:21.11 | cr2 | BabelO: i'm surprised that you don't see g3 at 0x0 |
23:21.29 | cr2 | BabelO: garmin uses 16MB intel flash |
23:21.37 | cr2 | on omap |
23:21.58 | BabelO | cr2: no docg3.c say id is 1000 |
23:22.11 | BabelO | cr2: millenium chip is 2000 ? |
23:22.27 | cr2 | BabelO: 0x1000 is the address |
23:22.35 | cr2 | which should have the value 0x200 |
23:22.54 | cr2 | http://wiki.xda-developers.com/index.php?pagename=HTC_DiskOnChip |
23:23.03 | cr2 | <PROTECTED> |
23:23.15 | BabelO | cr2: ? no message is clear id is 1000 no 200 that 's the error message i have |
23:24.01 | cr2 | BabelO: installled latest git |
23:24.20 | cr2 | what was the branch commdan ? |
23:25.14 | cr2 | <PROTECTED> |
23:25.14 | cr2 | <PROTECTED> |
23:25.15 | cr2 | <PROTECTED> |
23:25.52 | cr2 | #define DoC_G3_ID 0x200 |
23:25.53 | BabelO | cr2: git branch --track htc-pxa origin/mainline |
23:26.18 | BabelO | cr2: that the message i get it display 1000 here |
23:26.19 | cr2 | BabelO: so chip_id = 0x200, otherwise it exits |
23:26.21 | dwaradzyn | cr2: i've managed to get my phone outside the building and get gps coverage. output of "pd 0x01f00000+0x545c8 0x100" is in: http://pastebin.com/d3889873f |
23:26.40 | BabelO | cr2: yes it exist :), i ve tried to set 1000 to bypass it :) |
23:26.49 | BabelO | s/exist/exit/ |
23:27.09 | cr2 | dwaradzyn: ok, so you have exactly the same setup as kaiser. |
23:27.23 | cr2 | BabelO: that means you don't have g3 at 0x0 ;) |
23:27.56 | cr2 | BabelO: what is printed here printk("Doc_G3: chip id=%x\n",chipId); |
23:28.25 | BabelO | cr2: it print 1000 : |
23:28.35 | cr2 | ok. so it's not g4 too |
23:28.43 | BabelO | cr2: on ba it is same |
23:29.03 | cr2 | BabelO: it worked for g3 on universal |
23:29.16 | cr2 | BabelO: and on tornado |
23:29.31 | dwaradzyn | cr2: ok and thanks for today. i think i will be back to subject in two days... |
23:29.32 | cr2 | BabelO: ba does not have g3 at 0x0. it's somewhere else |
23:29.37 | dwaradzyn | see ya |
23:29.44 | cr2 | dwaradzyn: ok |
23:30.13 | cr2 | BabelO: Blueangel 0x04000000 |
23:30.51 | cr2 | BabelO: you think that you have intel flash @0x0 and g3 @0x08000000 ? |
23:31.08 | cr2 | BabelO: then you can try the module addr param 0x08000000 |
23:32.11 | cr2 | BabelO: there should be some standalone strataflash driver. |
23:32.56 | BabelO | cr2: yes i m looking at 0x08000000 for nor flash |
23:33.16 | cr2 | BabelO: g3 not nor :) |
23:33.26 | cr2 | mdoc is actually NAND |
23:33.46 | cr2 | but it has some asic before nand. |
23:34.45 | BabelO | cr2: i mean nor, in the doc it is the place for nor at this adress |
23:36.36 | cr2 | BabelO: check the mdoc first. |
23:37.09 | BabelO | cr2: ok |
23:40.47 | cr2 | BabelO: this look very strange |
23:40.50 | cr2 | WriteDOC(g3->physaddr+DoC_G3_ChipID,g3->virtaddr,DoC_G3_ReadAddress); |
23:40.54 | cr2 | should it be |
23:41.26 | BabelO | cr2: what about your own driver ? |
23:42.00 | cr2 | this one is ok, but just needs some minor cleanup. |
23:42.20 | *** join/#htc-linux mistadman (n=mistadma@adsl-250-204-117.msy.bellsouth.net) |
23:45.38 | cr2 | ok. good night. |
23:46.08 | BabelO | good night |
23:47.16 | cr2 | BabelO: i think this driver is buggy, because the WriteDOC usage is inconsistent. need to compare to my/lkcl asm/driver. |
23:47.52 | BabelO | cr2: ok, that can explain the bad detection |
23:48.59 | cr2 | BabelO: fatal: A branch named 'htc-pxa' already exists. |
23:49.11 | BabelO | that s better :) |
23:49.17 | BabelO | git branch ? |
23:49.32 | cr2 | how can i delete it ? |
23:49.34 | BabelO | so your previous command works |
23:49.58 | cr2 | but i see the old htc-egpio driver |
23:50.08 | BabelO | cr2: git branch -D htc-pxa |
23:50.42 | cr2 | git branch |
23:50.46 | cr2 | <PROTECTED> |
23:50.50 | cr2 | <PROTECTED> |
23:50.54 | cr2 | <PROTECTED> |
23:50.58 | cr2 | <PROTECTED> |
23:51.02 | cr2 | * htc-pxa |
23:51.06 | cr2 | <PROTECTED> |
23:51.10 | cr2 | <PROTECTED> |
23:51.10 | cr2 | <PROTECTED> |
23:51.11 | cr2 | <PROTECTED> |
23:51.11 | cr2 | error: Cannot delete the branch 'htc-pxa' which you are currently on. |
23:51.27 | BabelO | git checkout mainline |
23:51.30 | cr2 | i think Kevin3 works in work/ |
23:51.34 | BabelO | which switch toi mainline |
23:51.40 | cr2 | ok, i'll remove everythng. |
23:51.41 | BabelO | yes :) |
23:51.48 | cr2 | it's too late to think. |
23:53.08 | BabelO | cr2: 0x40000000 is camera IF |
23:53.42 | cr2 | ok. |
23:54.10 | cr2 | edit the wiki |
23:54.23 | cr2 | do you know which camera chip is used ? |
23:55.28 | BabelO | cr2: ok you right, this docg3 code is buggy always saying 1000 as id |
23:55.37 | BabelO | Doc_G3: chip id=1000 |
23:56.06 | cr2 | it's interesting if one can autodetect the flash size. |
23:56.13 | cr2 | need to read the docs. |
23:57.54 | cr2 | 0x06000000 is syren ? |
23:58.07 | cr2 | no, it was debug board i think |
23:58.51 | dcordes_ | cr2: did you put a polaris_research? |
23:59.57 | cr2 | dcordes_: no. if it's a kaiser without the keyboard we should not waste the effort. |