IRC log for #htc-linux on 20080419

01:28.13*** join/#htc-linux ltxda00 (n=ltxda@c-98-196-125-205.hsd1.tx.comcast.net)
01:38.49*** join/#htc-linux dcordes (n=snoopdog@unaffiliated/dcordes)
01:41.33dcordesRaven_coda, wow it's huge progress that dzo has the modem working on vogue
01:44.22dcordesSanMehat, you around?
02:44.39*** join/#htc-linux the_sys0p (i=the_sys0@gateway/tor/x-1712bda91196ccea)
04:08.32swetlandblargh.
04:11.21*** join/#htc-linux ltxda (n=ltxda@c-98-196-125-205.hsd1.tx.comcast.net)
05:57.06*** join/#htc-linux goxboxlive (n=goxboxli@208.84-48-176.nextgentel.com)
07:29.02*** join/#htc-linux the_sys0p (i=the_sys0@gateway/tor/x-fcac9a29b6ae2c7a)
07:41.00*** join/#htc-linux rmoravcik (n=rmoravci@ip-89-102-255-171.karneval.cz)
08:13.32*** join/#htc-linux rob_w (n=bob@Ma45a.m.pppool.de)
08:19.12*** join/#htc-linux tsdogs (n=tsdogs@net-84-18-144-39.c.bkom.it)
08:25.25*** join/#htc-linux CoKeSERO (n=me@pool-72-70-182-116.hrbgpa.fios.verizon.net)
08:29.51*** join/#htc-linux hlbot (n=adm@iclem.net) [NETSPLIT VICTIM]
08:30.12*** join/#htc-linux edison (i=oystein@homelien.no)
08:42.14*** join/#htc-linux goxboxlive (n=goxboxli@208.84-48-176.nextgentel.com) [NETSPLIT VICTIM]
08:44.14*** join/#htc-linux the_sys0p (i=the_sys0@gateway/tor/x-2b0d1c96847f179c)
09:20.59*** join/#htc-linux marbalon (n=balon@aegb157.neoplus.adsl.tpnet.pl)
09:32.19*** join/#htc-linux marbalon (n=balon@aegb157.neoplus.adsl.tpnet.pl)
10:33.59*** join/#htc-linux tsdogs (n=tsdogs@net-84-18-144-39.c.bkom.it)
10:45.57*** join/#htc-linux Dinde (n=kayser@sur-internet.net)
11:10.52*** join/#htc-linux kiozen (n=kiozen@rgnb-4db1def0.pool.einsundeins.de)
11:18.18*** join/#htc-linux patoche (n=root@lns-bzn-44-82-249-208-202.adsl.proxad.net)
11:42.31*** join/#htc-linux dcordes (n=snoopdog@unaffiliated/dcordes)
11:49.31*** join/#htc-linux jeanseb (n=jeanseb@88.164.32.155)
11:54.02dcordescr2, I tried to copy mmc init from board-halibut to board-vogue (which we use for kaiser) as you said yesterday- no success. could you help me with that?
11:55.27*** join/#htc-linux Oktal (i=mat@cpc3-cmbg8-0-0-cust1018.cmbg.cable.ntl.com)
11:55.32*** join/#htc-linux BabelO (n=Fabrice@lun34-2-82-238-28-28.fbx.proxad.net)
11:58.24marbalondcordes: hi
11:59.04*** join/#htc-linux pH5 (n=ph5@p5485F547.dip.t-dialin.net)
11:59.50swetlandyawns.
12:00.03BabelOhi
12:00.15marbalonI'm still working on keyboard, but what is your problem?
12:01.11dcordesmarbalon, I was trying to play with sd but driver is not initialized
12:01.42BabelOpH5: i try to get sound record working on BA and compare with old driver, but when i start arecord, it look for pcm0D0c and udev create pcm0D1c
12:02.19marbalonyou build function like kaiser_init_mmc() ?
12:02.50dcordesmarbalon, yes. I tried to put this into board-vogue.c (copied from halibut)
12:03.02dcordesI get errors compilling that
12:04.06marbalondcordes: what errors ?
12:05.03*** join/#htc-linux Marex (n=marex@vasut.kolej.mff.cuni.cz)
12:07.49dcordesmarbalon, http://pastebin.com/m62e7df04
12:08.08dcordesI guess I did complete crap to that c file :)
12:09.03dcordeshttp://pastebin.com/m6eeea7b9 that's board-vogue.c
12:09.15pH5BabelO: hi, that's because you have two separate alsa devices for input and output. check arecord -l/-L and I think you can select the correct one with -D
12:10.49BabelOpH5: yes i ve tried, but can not pass correct device name, it seem it is empty when i cat /proc/asound/*
12:10.51dcordespH5, hi pH5 I removed the inherit kernel line and changed the filename to nokernel-0.1.bb. now with bitbake -b it builds fine. but bitbake virtual/kernel still looks for 2.6.21 something
12:11.26pH5dcordes: nokernel_0.1.bb. bitbake uses underscores to separate PN from PV
12:11.28marbalondcordes: you call htcvogue_init_mmc(); before declaration, move mmc code above static void __init htcvogue_init(void)
12:11.58swetlandlooks at these patches for vogue
12:12.15dcordesswetland, the ones Raven_coda sent in to SanMehat ?
12:12.21MarexpH5, hi
12:12.27MarexpH5, have you checked my patch ?
12:12.31dcordesmarbalon, ok I will try
12:12.37swetlandhttp://it029000.massey.ac.nz/vogue/diffs
12:14.02pH5hi Marex. yes, looks good to me. I hoped cr2 would have taken care of that ;)
12:14.38dcordesswetland, ah ok. those have support for modem in since yesterday. this doesn't work at all on kaiser. tried to boot and it froze
12:14.47swetlandthe smd stuff is even more different than I would have expected
12:15.33dcordesmarbalon, zImage ready :) I only got warnings
12:17.07swetlandlucky thing htc prefers the at channel over the rpc stuff
12:17.23swetlandthat's got to be massively easier to reverse engineer
12:18.44dcordesbrb
12:19.28*** join/#htc-linux dcordes (n=snoopdog@unaffiliated/dcordes)
12:20.31MarexpH5, hehe, ok :)
12:22.10dcordesmarbalon, ok it tries to init sd now
12:22.43marbalondcordes:  .... but you have info about timeout
12:22.46marbalon?
12:23.20dcordesa second
12:25.35dcordeshmm no. only mmc_wait_for_req mmc_wait_for_cmd mmc_send_relative_addr mmc_aatach_dio mmc_rescan run_workqeue worker_tthread kthread mmc0: error -84 whilst initialising SDIO card
12:27.40dcordeswith a lot of numbers betweenj
12:29.06marbalonok, give up for now but when I finish kbd driver I will try fix mmc driver again
12:29.55dcordesmarbalon, did you get the same messages?
12:30.25marbalonno. I have only messages about timeout i transaction
12:43.41dcordesmarbalon, hm maybe the timeout messages comes right after booting. SanMehat said the timout would appear a few ms after the first command
12:44.33marbalondcordes: yes but i've got timeouts evry one seconds
12:44.58dcordesI only see the normal boot messages because no keyboard
12:47.45dcordesmarbalon, it says something about irq exception at the beginning!
12:48.11dcordes__irq_svct __do_softirq from...
12:53.14dcordesmarbalon, do you see CMD_TIMEOUT?
12:59.08infernixhi guys.
12:59.42infernixdo we have a keyboard patch yet that applies to linux-msm git without crashing the kernel upon keyboard input?
13:00.37infernixim talking about the kaiser of course ;)
13:01.07dcordeshi infernix
13:01.15*** join/#htc-linux kiozen (n=kiozen@rgnb-4db1def0.pool.einsundeins.de)
13:01.33infernixhello
13:09.48dcordespH5, with packages/linux/nokernel_0.1.bb still the same. can bitbake -b but virtual kernel still looks for 2.6.21. in kaiser.conf is PREFERRED_PROVIDER_virtual/kernel = "nokernel"
13:11.29infernixdcordes: bitbake is used to make an initrd out of the android userspace sdk?
13:12.00dcordesinfernix, nope it's used by www.openembedded.org
13:12.18dcordesyou can make an angstrom initrd out of the OE metadata with it ;-)
13:12.43dcordesor openmoko one
13:13.25infernixi see
13:13.29dcordespH5, also tried PREFERRED_PROVIDER_virtual/kernel = "nokernel_0.1"
13:13.34dcordesit seems to ignore that line
13:14.29infernixwell, a working kernel is needed first and foremost; userspace is far easier to deal with. i'll have a look at it together with marbalons zImage when i have some time
13:14.53dcordesinfernix, with an angstrom zImage you get a more complete enviornment for testing things
13:15.01dcordess/zImage/initrd/
13:15.17*** join/#htc-linux areq126 (i=PJIRCWeb@staticline22574.toya.net.pl)
13:15.37dcordesandroid doesn't even come with a busybox
13:15.37infernixyeah but without any means of external communication (serial over usb, wifi, or 3g) its too isolated to do real work for my taste
13:15.56dcordeswait for marbalon's new keyboard driver
13:16.13dcordesif I got him right it will bring us the fn keys
13:16.25*** join/#htc-linux areq (n=areq@pld-linux/areq)
13:16.27marbalondcordes:  I have some progress ;)
13:16.33infernixdances
13:17.02dcordesmarbalon, can you interact with the 'special' keys?
13:17.18marbalonyes ;)
13:17.24dcordesthat's great
13:17.47dcordesthe driver in your diff from forum doesn't work here. let me know if I can try something
13:18.35marbalondcordes:  what meens here ? git snapshot ?
13:18.43marbalon*means
13:20.11dcordesmarbalon, yes on my local snapshot. when I build a zImage with it.
13:20.30dcordesit hangs for 10 minutes when you press a key :-(
13:20.54marbalonI'm working on 7 days old snapshot...
13:21.41marbalonbut I think it is not a problem with keyboard... but maybe I'm wrong
13:21.53dcordesyes I don't think keyboard has changed
13:22.23dcordesmarbalon, do you also work with the new driver in old tree?
13:23.53marbalonyes but when I  finish I will update
13:25.29marbalondcordes: can you help me? my english isn't so good so and I have a problem with find key code for some keys
13:25.44marbalonkeycodes are in input.h
13:26.11dcordesmarbalon, my english is ok but my C is....
13:26.16marbalon'-' = KEY_MINUS, but '@' = ????
13:26.45dcordesin mach-msm folder?
13:27.20marbaloninclude/linux.input.h
13:29.50pH5marbalon: you have a separate key only for the '@' symbol?
13:30.14marbalonyes
13:30.34marbalondcordes:  Q = KEY_Q, @ = ???
13:30.37infernixdoesnt look like its in the include
13:30.46infernixshould be something like KEY_AT but its not htere
13:30.49dcordespH5, what's the code for @?
13:31.06dcordesmarbalon, I can't find it either
13:31.25pH5afaik there is none. this is the first time I heard of something like this, usually @ is something like fn+Q
13:31.41infernixit is FN+Q
13:31.50infernixsame as ! is FN+w
13:31.55pH5there is KEY_EMAIL, but this is for multimedia keyboards with a "start email client" key
13:32.30dcordesmarbalon, so you have to make combination of fn + Q
13:32.35infernixxev reports 'keysym 0x40, at'
13:32.50pH5what device are we talking about?
13:32.54infernixkaiser
13:32.55dcordeshtckaiser
13:33.04marbalonhmm maybe 0x40, thanks
13:33.13pH5wait, but that one has @ the at symbol on the Q key, doesn't it?
13:33.20infernixmarbalon: no, apostrophe is not @
13:33.23dcordespH5, right
13:33.30infernixmarbalon: apostrophe is '
13:33.38pH5so there's no need for an extra key code. it's the KEY_Q, Fn is just a modifier
13:34.43dcordespH5, I guess that will apply to all blue keys then?
13:34.53pH5yes!
13:35.05infernixunless fn key does its thing in hardware, yeah, its like ctrl or alt
13:35.05marbalon* ->??
13:35.13infernixmarbalon: asterisk
13:35.28infernixperhaps 55 but thats on the keypad
13:35.40dcordesmarbalon, fn + KEY_V
13:36.20dcordes0x1d0 + 47
13:38.28marbalon& ?
13:39.02infernix0x1d0 + 45
13:40.26dcordescr2, do you have an input driver for the hermes matrix keyboard? (because it's same like kaiser one)
13:43.50*** join/#htc-linux patoche (n=root@lns-bzn-44-82-249-208-202.adsl.proxad.net)
13:43.57marbalonold kaiser driver have only korrect key mapping and gpio nums
13:44.58marbalonnow I add function called every kbd event, and if Fn pressed I change keymap
13:46.18pH5marbalon: you shouldn't do that in the kernel
13:46.45marbalonyes
13:47.05pH5this is userspace stuff
13:48.39dcordespH5, you think there's a way to put this into the driver?
13:48.45marbalonpH5:I know there is two ways...
13:49.00dcordesI mean wouldn't it be better to have it in the kernel?
13:49.34marbalonpH5:  one load a correct kaymap for this keyboard but you cant emulate Fn key
13:49.52*** join/#htc-linux rmoravcik (n=rmoravci@ip-89-102-255-171.karneval.cz)
13:50.03marbalonbecause you can relese the Fn key and after that you can pres another
13:50.42infernixin fact, pressing Fn twice puts it in 'hold'
13:50.42dcordesmarbalon, ah you make it like in wm6?
13:50.51infernixall key presses afterwards are Fn + x
13:50.59infernixuntil Fn is pressed again to un-hold
13:51.08infernixthat might indeed be very tricky in userspace
13:51.37infernixcant think of a way to do that with xmodmap
13:51.38dcordeswe could just do it like on a normal keyboard for now?
13:51.41dcordeswould be ok with me
13:51.59pH5hm, n810 does handle this in userspace just fine.
13:52.12infernixmaybe xkbindkeys can do it
13:52.20infernixerr, xbindkeys
13:52.22pH5if you hard-code it in the kernel, it is impossible to try other behaviours
13:52.37infernixok well then we'd have to have a look at how n810 does it
13:53.14infernixperhaps through evdev with some userspace daemon
13:54.14marbalonbut change kaymaping after Fn key pressed in kernel is simple
13:55.15pH5marbalon: at least make it optional because a user might want to map fn to ctrl instead or implement fn-handling with a timeout or ...
13:56.47*** join/#htc-linux AlGe (n=alge@chello080109231226.4.uni-klu.teleweb.at)
13:58.06pH5btw, great to see that kaiser development finally starts to roll :)
13:58.45*** join/#htc-linux Dinde (n=kayser@sur-internet.net)
13:59.52*** join/#htc-linux Nickbee (n=Dheeraj@122.160.64.226)
14:01.09infernixcaps lock works the same way btw
14:01.23infernixpressing shift twice will hold it, effectively being capslock
14:01.28dcordespH5, yes thanks to dzo's initial patches. can you look at the kaiser.conf line above? I really can't figure why virtual/kernel still builds that crap....
14:04.07pH5dcordes: bitbake nokernel and show me the log. I have no idea what's going wrong, it works here.
14:05.39dcordespH5, PREFERRED_PROVIDER_virtual/kernel = "nokernel" is that right?
14:07.52pH5dcordes: yes, but it doesn't matter yet for the "bitbake nokernel" test
14:13.06*** join/#htc-linux skodde (n=skodde@unaffiliated/skodde)
14:13.53dcordespH5, "bitbake nokernel" just went fine
14:14.53pH5dcordes: care to pastebin your complete kaiser.conf?
14:15.24dcordeshttp://pastebin.com/m9a65b3f
14:18.49pH5dcordes: ok, parsing...
14:21.03dcordesok brb
14:21.37*** join/#htc-linux BabelO_ (n=Fabrice@lun34-2-82-238-28-28.fbx.proxad.net)
14:21.46*** join/#htc-linux rmoravcik (n=rmoravci@ip-89-102-255-171.karneval.cz)
14:25.04pH5dcordes: haha, works here
14:25.41pH5I don't get it, please also show me the complete log of bitbake virtual/kernel :/
14:38.53*** join/#htc-linux kiozen (n=kiozen@rgnb-4db1def0.pool.einsundeins.de)
14:42.20*** join/#htc-linux surgex0 (i=surge@pool-71-251-163-113.bflony.east.verizon.net)
14:43.51dcordespH5, looks like I'm good in messing up tmp
14:44.29dcordesbuilding..
14:45.16dcordespH5, http://pastebin.com/m3ee8851
14:45.26pH5dcordes: bbiab
14:46.30*** join/#htc-linux JEEB (n=kanakana@a88-112-94-153.elisa-laajakaista.fi)
14:53.06*** join/#htc-linux LunohoD_ (n=alex@e180070123.adsl.alicedsl.de)
15:02.20BabelOcr2: you can try this on n560 http://forum.xda-developers.com/showthread.php?t=334667
15:02.32BabelOcr2: maybe it can help you for resume thing
15:06.32BabelOpof: around ? ;)
15:15.27pH5dcordes: did you notice that line "NOTE: multiple providers are available for virtual/kernel (poodle-kernel-2.4-embedix, c7x0-kernels-2.4-embedix, shepherd-kernel-2.4-embedix, collie-kernels-2.4-embedix, linux, linux-bast, linux-msm, corgi-kernel-2.4-embedix, linux-bd-neon-2.6, linux-omap-2.6, poodle255-kernel-2.4-embedix, gumstix-kernel, husky-kernel-2.4-embedix, linux-rt);"?
15:15.37pH5strangeness #1, nokernel is not in that list
15:15.55pH5strangeness #2, PREFERRED_PROVIDER_virtual/kernel is not set
15:16.04pH5are you sure you are building with the correct MACHINE="kaiser"?
15:16.13pH5and everything is in your BBPATH?
15:17.39dcordespH5, hm I have set htckaiser
15:17.58dcordesbecause the filename is htckaiser.conf
15:19.06pH5should be ok just the same. important is only that they are equal.
15:19.18dcordesthey are
15:19.50dcordesin local.conf is MACHINE = "htckaiser" and conf is machine/htckaiser.conf
15:22.37*** join/#htc-linux CVirus (n=GoD@82.201.178.187)
15:24.54pH5dcordes: haha, I've got it: PROVIDES="virtual/kernel"
15:25.17pH5of course we have to re-add that line to nokernel.bb when we remove "inherit kernel". forgot about that.
15:25.57dcordespH5, ok. but why did it build for you? did you already have the line?
15:26.14pH5yup. stupid automatisms.
15:28.23dcordespfff stupid you!
15:28.47dcordesoh no
15:29.58dcordeslol added it to the machine.conf ^^
15:30.34dcordespH5, is there a bit for bitbake to force reparsing?
15:31.01pH5no. it does that automatically as soon as you change the files.
15:38.04dcordespH5, still the same with thi http://pastebin.com/m4afac281 packages/linux/nokernel_0.1.bb
15:47.49dcordesdamn old oe
15:52.23*** part/#htc-linux rmoravcik (n=rmoravci@ip-89-102-255-171.karneval.cz)
15:55.50dcordespH5, a -c rebuild did the trick
16:21.12*** join/#htc-linux NiZoX (n=nizox@eros.ph0k.eu) [NETSPLIT VICTIM]
16:22.46*** join/#htc-linux kbingham (n=kbingham@cvs.mpc-ogw.co.uk) [NETSPLIT VICTIM]
16:23.32*** join/#htc-linux patoche (n=root@lns-bzn-44-82-249-208-202.adsl.proxad.net)
17:39.47*** join/#htc-linux SmallR2002 (n=SmallR20@79-69-20-242.dynamic.dsl.as9105.com)
17:55.28*** join/#htc-linux jeanseb (n=jeanseb@88.164.32.155)
18:03.04*** join/#htc-linux rmoravcik (n=rmoravci@ip-89-102-255-171.karneval.cz)
18:06.07*** join/#htc-linux patoche (n=root@lns-bzn-28-82-250-131-104.adsl.proxad.net)
18:21.19*** join/#htc-linux apt (i=ibot@pdpc/supporter/active/TimRiker/bot/apt)
18:21.19*** 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.
18:34.05ltxdahey peeps
18:34.14ltxdaand don't worry, i say hi to you poops also
18:34.15ltxda:p
18:34.41ltxdawow everyone must be taking a nap  :)
18:35.38cr2lol
18:36.03pH5another worthy contender for "shortest attention span ever" award? :P
18:36.23cr2ltxda: does your touchscreen work in linux ?
18:36.25BabelOola cr2 :)
18:36.31cr2hi BabelO
18:36.49BabelOcr2: ok so android run on BA but not faster than qtopia ;)
18:36.58BabelOi think i keep qtopia for a long time
18:37.18pH5BabelO: any further progress on sound?
18:37.22BabelOcr2: i just post the pof tools earlier, do you see it ?
18:37.43BabelOpH5: no, i fix some Mic istake in driver
18:38.31ltxdacr2, which device?
18:38.33cr2BabelO: yes, you i think it's very htc phone specific
18:38.39cr2ltxda: shift
18:38.43ltxdano :(
18:38.52ltxdaI'm trying to get the damn NIC working on BackTrack3beta
18:38.55cr2ltxda: do you see it in the registry ?
18:39.01ltxdahaven't had time to look yet.
18:39.07BabelOcr2: acording to the whole post it seem no
18:39.20ltxdaI keep getting distracted by kids and family so i haven't  been able to make headway
18:39.43cr2pof posted the driver, but it's non-obvious what to do.
18:39.47cr2ok.
18:39.47ltxdaBackTrack3beta boots to USB fine.  Great graphics, etc.  Need to get NIC driver sorted out and wanted to do touchscreen after that
18:39.56ltxdathe driver is on Marvell.com
18:40.05cr2sdio ?
18:40.09ltxdabut i'm on the Windows side
18:40.11ltxdayes sdio
18:40.13cr2ok
18:40.28ltxdahttp://www.marvell.com/drivers/driverDisplay.do?dId=153&pId=36
18:40.29ltxdathere
18:40.38ltxdathat's the one if i didn't screw up the search criteria :)
18:40.50ltxdabut my first goal is to get it on the Windows side.
18:41.00ltxdaafter that it'll be the WM side but we need to get the unlocker finished
18:41.15ltxdawhat POF posted won't be too useful yet...until device is unlocked.
18:41.19ltxdaor am i missing something?
18:42.02ltxdai want to get Linux/BackTrack3 working on it as that will be extremely useful for everyone then go into some other Windows Vista/XP items
18:42.03cr2don't know. his posting was very promising.
18:42.15ltxdayes very indeed but we need it unlocked.
18:42.24ltxdaMy team has a preliminary unlocker already :)
18:42.26ltxda...but...
18:42.29cr2btw, the sdio is an sdhci driver, what does is have to do with unlocking ?
18:43.00ltxdait has nothing to do with unlocking but in order to get WM doing much of anything and to load unsigned crap to the device it's useful to have it unlocked
18:43.15cr2ok.
18:43.21ltxdacmonex and olipro should have a device in another week or so and they will be testing the unlocker they already started working on
18:43.31cr2ok.
18:43.52ltxdaso i'm not really focussing on WM side of it yet until that unlocker is done.  I want to get things sorted on the Windows side.
18:44.15ltxdaIm also going to test Windows XP Tablet edition and see if i can extract the Vista touch screen drivers and use it under it
18:44.36ltxdaif i could just have a couple of hour sto work without getting pulled away it would be nice and i might have made some progress by now :)
18:46.16ltxdacr2, something wrong bro/
18:46.17ltxda?
18:46.19ltxda:/
18:47.08cr2i'm busy with weird cpus and other funny software
18:47.19ltxdagotcha
18:49.11ltxdadont get me wrong, i wasn't downplaying what POF released, just explaining where I am on this
18:49.24ltxdai wouldn't want to have to bitch slap anyone :P
18:51.30cr2i don't have shift. x86 is not very interesting :)
18:51.54ltxda:)
18:52.13ltxdai barely have time for it.  i feel like a tard cause i don't have time to play too much with it;
18:59.37cr2i see
18:59.51cr2pH5: did you commit the Marex's patches ?
19:00.40ltxdacr2, who told u i had a shift anyhow?  you sneeky bastard you.
19:01.19cr2ltxda: i still can read xda-dev ;)
19:01.44ltxdai dont remember posting that i had one YET on there.
19:01.50ltxdainteresting....very interesting.
19:01.51pH5cr2: no, I'm busy preparing the pxa2xx-ssp/uda1380 soc stuff for 2.6.25
19:02.19ltxdai said i ordered one but not that i got it yet.  :p
19:02.43ltxdacr2, so what ever became of Linux on Athena?
19:03.20cr2pH5: ok, then i'll commit it. i'm not happy with the asic3 gpio handling there, but ok.
19:04.13cr2ltxda: it works off the USB stick, i have found most datasheets and many linux drivers: HDD, USB 2.0 client, accelerometer
19:04.51cr2ltxda: after i'll finish the n560, i'll spend all my time on ATI SD driver.
19:05.40cr2resuming is not a problem too. the gps and BT will work after the power gpios are added.
19:06.37ltxdanice.  i want to test it out when i get some time
19:06.53ltxdamaybe i'll just reduce my sleep to about 2 hours a day to get the extra time.  that shoudl be fun.
19:06.55ltxdashould
19:07.01cr2:)
19:07.09cr2do you have the TV/USB host cable ?
19:07.16ltxdayes
19:07.29ltxdai can test stuff if you need.  do you have an Athena?
19:07.29cr2then it should work.
19:07.33cr2yes
19:07.37pH5cr2: ok, thanks. the asic3 code will need fix-ups when we move to mainline anyway.
19:08.03*** join/#htc-linux mistadman (n=mistadma@adsl-250-234-215.msy.bellsouth.net)
19:08.05cr2pH5: is it possible to use generic gpio stuff for asic3 right now ?
19:08.19mistadmanHello everybody!
19:08.22cr2pH5: not the _alt & such, but to get/set/direction
19:08.33ltxdacr2, still command line linux no gui yet?  or just basic gui?
19:08.41cr2ltxda: qtopia
19:08.48ltxdabrb
19:08.50ltxdalink?
19:09.00cr2ltxda: the touchscreen works, btw.
19:09.12cr2hmm. i used qtopia from universal
19:09.24cr2maybe i'd upload a working image somewhere.
19:09.31mistadmanQuestion: I am porting the HTC Athena to Android, but I am having problems with the Keyboard driver. Anyone have any suggestions or can point in the right direction?
19:09.56mistadmanuhhh-> Android to Athena... Sorry
19:09.59cr2mistadman: i think it's vice versa :)
19:10.21mistadmanhehe beat cha to the punch!
19:10.25cr2it's an spi keyboard, which is implemented for hermes
19:10.42mistadmanCool, I will start there. Thanks!
19:11.00mistadmanI have been making pretty good progress.
19:11.03cr2you need to write some glue code for the irq handler and applying power on connect.
19:11.10ltxdamistadman, i know a couple of fellas that actually have some resources for this.  we were actually going to start to do it also
19:11.25mistadmanCan you point me in there direction
19:11.27cr2all the details are in the xda-dev wiki. let me know if you need more.
19:12.09Marexcr2, if all are there , how can you know more? ;D
19:12.10cr2http://wiki.xda-developers.com/index.php?pagename=AthenaResearch
19:12.12mistadmanYeah, I have been mulling it over for the last week or so
19:12.39cr2Marex: i've written it down for myself. it's not very verbose sometimes.
19:12.46mistadmanI am to the point android boots to the cyclopes eye
19:12.57mistadmanI am sooo close I can taste it.
19:13.02Marexcr2, just joking ;)
19:13.04cr2http://wiki.xda-developers.com/index.php?pagename=AthenaGPIO
19:13.08*** join/#htc-linux pH5 (n=ph5@p5485C91C.dip.t-dialin.net)
19:13.16cr2GPIO 10   00000400   keyboard in/out   I0   REFE  
19:13.34cr2this goes up on keyboard connect, and down on disconnect
19:13.34mistadmanThanks cr2
19:13.46cr2GPIO 9   00000200   keyboard button pressed irq   I1   REFE  
19:13.51cr2this one is obvious
19:14.25cr2GPIO 69   00000020   keyboard power?   O         1
19:14.32cr2this is keyboard power
19:14.46mistadmanWhat I am looking for is the basic keybord driver skeleton.
19:14.55cr2should be set to  1 when it's connected (gpio10=1)
19:15.08mistadmanawesome
19:15.46pH5cr2: the get/set work, I'm not sure about set_direction
19:15.52cr2it's on SSP2, you should check the SPI speed, i don#t remember.
19:16.22cr2mistadman: it's a "generic" spi keyboard, check the hermes driver in linuxtogo git.
19:16.56mistadmanThats what I am looking for! b right back...
19:17.01cr2Marex: can you check it and start converting away from the ancient interface ?
19:17.29cr2mistadman: the keycodes are all in the wiki
19:17.36mistadmanThanks
19:18.04cr2you get a GPIO9 irq, and should pick the keycode off spi.
19:18.14cr2it's all implemented for hermes already.
19:18.21mistadmanAlso I am trying to implement a basic video driver based of of the w100 (wallaby)...
19:18.32cr2you need to add the connect detection irq handler, and apply power. that's all.-
19:18.42mistadmanCool
19:18.47cr2it's not going top work.
19:18.54cr2s/top/to/
19:19.07cr2there are some substantial differences.
19:20.01cr2i have printed out the LCD init disassembly, and tried to analyze it with color markers.
19:20.03mistadmanOk, what about modifing the Very Simple Framebuffer Driver to support "Page Flipping"?
19:20.41cr2you can use the video SDRAM freely, i guess
19:20.54cr2to do some basic acceleration
19:21.20mistadmanWell, this is route I will probably take then
19:21.31cr2i just wanted to tell you that i've already done a lot in this direction (LCD init). don't reinvent the wheel :)
19:21.50mistadmanIs it posted?
19:22.04mistadmananywhere? code?
19:22.17cr2i need to write in down from the paper.
19:22.21cr2not yet.
19:22.34mistadmanWhat are you waiting for? LOL
19:22.39cr2and there are some really tough places.
19:23.05cr2btw, some things are already implemented.
19:23.14cr2the ATIDBG command in haret
19:23.38cr2i've tried to document the ATI wince api there
19:23.55cr2but actually i've more notes not in the wiki :)
19:24.27cr2the ATI SD driver is done for 90%, only the irq handler is missing.
19:24.54cr2the ATI I2S registers are in the wiki.
19:25.17cr2ATI I2C is needed only if you want do drive the 3Mpix camera
19:25.21dcordescr2, hi do you have a hermes matrix kbd driver?
19:25.46cr2but there is no linux driver for it anyway, so welcome to some hardcore I2C tracing :)
19:26.06cr2should be easy to do with haret by tracing the PXA i2c  port.
19:26.28cr2dcordes: hermes kbd is an spi microcontroller, not matrix.
19:27.00dcordesok. I just thought marbalon could need it for kaiser inputdriver
19:27.37cr2mistadman: so i've gave up on the camera, because it's a very tough task (you need to RE the ATI video capture port too ;)
19:28.15Marexcr2, check what ?
19:28.26mistadmandcordes: I am currently browing linux-to-go git for hermes kbd driver. Cant find it though... I will keep looking...
19:28.28Marexcr2, sorry, Im studying and not following really
19:28.33cr2Marex: generic gpio interface for asic3 gpios
19:29.13Marexcr2, sure, but not now
19:29.33Marexcr2, I'll ask you to point me to it later ;)
19:29.39cr2mistadman: btw, pH5 has the htc-egpio driver for 2.6.25, so you can use 2.6.25 for athena too.
19:29.45cr2Marex: ok.
19:29.50Marexthanks
19:29.59mistadmanph5?
19:30.27mistadmannevermind
19:30.33mistadmanThanks cr2
19:30.42Marexcr2, j/w have you commited the patch ?
19:30.52*** join/#htc-linux tom1502 (n=thomas@p57A5B94B.dip0.t-ipconnect.de)
19:30.58tom1502hi all
19:31.36tom1502anyone willing and able to help me getting openmoko running on my MAgician?
19:31.41tom1502i followed: http://linuxtogo.org/~htcpxa/htcmagician/index.html
19:31.43cr2Marex: will do it after looking for hermes spi kbd
19:31.58tom1502BUT after boot i land in busybox and it says:
19:32.04Marexcr2, no need to hurry ;)
19:32.48tom1502Mounting SD card /n No previous root filesystem found /n FAIL FAIL FAIL FAIL /n Root filesystem tar file not found
19:33.26ltxdacr2, is there a link on the wiki to the latest build so i can test it?
19:33.57tom1502noone
19:33.59tom1502??
19:34.14cr2tom1502: pH5 is the magician man
19:34.24tom1502is he here?
19:34.36tom1502but i guess its not a HW-specific issue...
19:34.36cr2ltxda: not really, i've not used it for some time.
19:34.45*** join/#htc-linux broedje (n=hellvis@92.117.228.187)
19:34.53tom1502pH5, are you here?! :D
19:35.49tom1502is there any special authorisations structure necessary on the SD-cards second partition(ext3)?!
19:36.29tom1502becaus after doing sudo tar jxvpf /home/thomas/Desktop/openmoko.linux.rootfs.tar.bz2 ./ everything is root...
19:36.59cr2tom1502: no idea.
19:37.31tom1502hum... probably i know where'S the mistake... MAYBE...
19:37.34cr2mistadman: hmm. don't know where Kevin2 has hidden it. what does the hermes status page say ?
19:38.15tom15022nd step says: 2) Extract the image (openmoko/gpe/x11/opie etc) to the linux partition (ext3) {tar jxvpf "image" ./}
19:38.38tom1502is this the file available here:? http://www.linuxtogo.org/~htcpxa/htcmagician/images/OpenMoko/
19:39.17mistadmanWhats the link cr2?
19:39.21mistadmanthanks!!!
19:39.29ltxdacr2, no problema senor
19:39.38ltxdai'll have to look for it old school way
19:39.52tom1502!seen pH5
19:40.05ltxda!seen Linux for Athena
19:40.07ltxdalol
19:40.08ltxda;p
19:40.13tom1502wants every but to know this command ;-)
19:40.19tom1502but=bot
19:40.24tom1502:D
19:40.37ltxdadidn't work for me tom1502
19:40.40ltxda:p
19:40.48mistadmanltxda: I am currently porting Android to the Athena...
19:40.48ltxda!kick everyone
19:41.08ltxdamistadman, did you get any of the axim files?
19:41.13ltxda:)
19:41.33ltxdayou have it booting?
19:41.35tom1502ltxda, what did you mean didnt work, the !seen, or openmoko on magician?
19:41.48mistadmanWellll....
19:41.50ltxdatom1502, it was a joke.
19:41.53mistadmanYes and no
19:41.57pH5~seen pH5
19:41.58aptph5 is currently on #maemo (28m 48s) #htc-linux (28m 48s) #handhelds (28m 48s) #oe (28m 48s) #openmoko (28m 48s) #openezx (28m 48s). Has said a total of 4 messages. Is idling for 1s, last said: '~seen pH5'.
19:42.00ltxdatom1502, i did "!seen Linux for Athena
19:42.01ltxdalol
19:42.02ltxdabrb
19:42.11pH5hej tom1502, the .exe loader available there expects you not to extract it at all. just put both files in the vfat root folder of your sd card
19:42.11tom1502HI pH5 :D
19:42.11pH5and run the .exe
19:42.20tom1502LOL
19:42.36mistadmanI can get it to boot to the red cyclops eye
19:42.39tom1502thanks man, i could try this for ages  that way ^
19:43.09tom1502pH5 does this build works well?
19:44.45ltxdamistadman, if you want help, we kinda also started on a similar project.  let me know if you want to work together.
19:45.00ltxdawe took files from the axim/andriod project :)
19:45.23ltxdatrying to get basics setup then go from there
19:46.32pH5no idea, actually. I'm mostly playing with the kernel. userspace is still non-working most of the time.
19:46.37pH5tries to boot that image, too.
19:47.11pH5I just now that today's openmoko-devel-image built fresh from OE doesn't work terribly well.
19:48.02tom1502hehe
19:48.24tom1502i wonder when FreeRunner will be suitable to endusers ;-)
19:48.41ltxdabbl8r
19:48.52tom1502becaus a linux cellphone would rock! well, but the iPhone's nice too
19:48.56pH5well, that old image boots up to the user interface at least. enough to play around a bit. not sure if the phone works.
19:49.06tom1502ill try
19:49.48tom1502my current main phone is the XDA terra, HTC Herald... and its horrible
19:50.27pH5tom1502: before magician I fear, I'm just the magician kernel person, but there is nobody really working on openmoko userspace/integration for htc phones.
19:50.42pH5(that was re: when will freerunner be suitable...)
19:50.58tom1502i dont care... that just my old "playground" phone...
19:51.18pH5I have a herald here, but it is locked in the bootloader, and I can't find out how to get into linux or flash anything from there..
19:51.34tom1502i didnt touch it since ~1year
19:51.40tom1502do you like the herald?
19:51.49tom1502i hate the CPU, it is soooo slow
19:52.04pH5tom1502: form factor and keyboard? yes. the rest is .. uh, sub-optimal
19:52.29tom1502i totaly agree :D
19:52.54tom1502pH5... OT: where are you from?
19:54.59pH5http://maps.google.com/maps?ll=52.514549,13.41568&spn=0.725417,1.724854&z=10
19:55.16broedjewhat keeps the HTC Voyager smartphone from being flashed with OM? just for interest?
19:55.21tom1502na dann ma Tach ;-)
19:55.38broedjetach
19:55.55tom1502for the others... just said hello in "german"(almost germand :D)
19:56.03tom1502broedje ;-)
19:57.47tom1502cat /dev/ALDI-Rumtrueffel > /dem/tom1502/mouth :D
19:58.57tom1502how long might the first boot take?
19:59.15pH5broedje: missing kernel support. people got it to run on htc typhoon/hurricane/tornado, but I don't know of any voyager porting efforts
20:00.14*** join/#htc-linux pH5|N810 (n=user@p5485C91C.dip.t-dialin.net)
20:01.31cr2pH5: looks much better http://openstreetmap.org/?lat=52.516&lon=13.378&zoom=12
20:01.53tom1502hey, thats nice
20:03.46tom1502thats where i am... http://openstreetmap.org/?lat=52.516&lon=13.378&zoom=12
20:03.46pH5|N810cr2: true
20:04.01broedjeyou mean the linux kernel is not handling the hardware? well nevermind..i thought i could one day get the SDIO running for wifi... as sychip promised last millenium
20:04.28tom1502pH5, how long may first boot take? i am waiting for ~10minutes now?!
20:05.14cr2broedje: it's not really using wifi
20:05.31cr2broedje: for the data transmission anyway
20:05.40broedjeif it can get iwconfig working with OM?
20:05.43cr2broedje: i bet it's pcmcia
20:05.43dcordespH5, nokernel builds fine. also virtual/kernel builds nokernel now. I build like 100 packets perfectly, then out of the blue some 2.6.21 shit reappears! http://pastebin.com/m36e95bce ?!! wtf is that?
20:06.31cr2broedje: but the chip needs some init over sdio config space (like the _cs pcmcia drivers)
20:06.35pH5|N810tom1502: took about 5min here
20:06.48tom1502hm, ill try again
20:06.51broedjeif it works under the native WM5 ... why not with linux eh!?
20:06.59cr2broedje: hmm. sorry . s/wifi/sdio/
20:07.14broedjewhat does that mean
20:07.43broedjesee wifi sdio? in wiki.openmoko?
20:07.45cr2the newer phones use the 54mbit acx100 with sdio init.
20:08.03cr2ok, you mean moko.
20:08.13cr2i was talking about the htc phones.
20:09.16broedjeyea and here is the voyager with this sdio port and a working socketcom sdio 11b card.. comparable to them sandisk ones
20:09.54broedjeit worked with that mitac ... sagem my-s7 if anyone heard of that
20:10.16broedjewell im getting OT .. at least now
20:10.26cr2lol
20:10.28cr2http://www.handhelds.org/moin/moin.cgi/HandheldHardwareXref
20:10.46cr228MB @ 0x00000000  RAM  tapwarez2
20:11.47*** join/#htc-linux mistadman (n=mistadma@adsl-250-234-215.msy.bellsouth.net)
20:14.29dcordespH5, can you take a look?
20:14.31*** join/#htc-linux patoche (n=root@lns-bzn-28-82-250-131-104.adsl.proxad.net)
20:18.41*** join/#htc-linux pikapika (n=pikapika@mar75-8-88-164-227-147.fbx.proxad.net)
20:18.42dcordesI don't get this. I mean what does it want with linux_2.6.21 when it already has a provider for virtual/kernel?
20:19.08dcordespH5, plus it only wants tsc2003.c and a defconfig
20:19.09pikapikahi
20:19.40dcordeshi ピカチュウ
20:21.05pH5|N810dcordes: I have no idea. maybe bitbake -g can tell you what this is all about
20:22.20mistadmanslaps ltxda around a bit with a large trout
20:22.31dcordespH5, NOTE: preferred version 2.6.1 of glibc not available (for item virtual/arm-angstrom-linux-gnueabi-libc-for-gcc) ??
20:24.13pH5|N810dcordes: don't ask me
20:24.24dcordesok
20:27.01*** join/#htc-linux mistadman (n=mistadma@adsl-250-234-215.msy.bellsouth.net)
20:27.44tom1502n8 guys...
20:27.52tom1502thx4all@all ;-)
20:27.56*** part/#htc-linux tom1502 (n=thomas@p57A5B94B.dip0.t-ipconnect.de)
20:28.49*** join/#htc-linux sigma_1234 (n=sigma_12@196.38.218.25)
20:29.31sigma_1234can the htc oxygen run linux yet?
20:34.49*** join/#htc-linux dcordes_ (n=snoopdog@unaffiliated/dcordes)
20:41.16Marexdcordes, あなた は 日本人 です か?
20:45.52*** join/#htc-linux the_sys0p (i=the_sys0@gateway/tor/x-ed6ad34f935c90b4)
20:52.13cr2Marex: applied
20:52.21dcordes_Marex, hmm, no.
20:52.42Marexそ です か:)
20:52.50Marexcr2, thanks
20:56.06mistadmanc2: where is that hermes spi drvr you were talking about earlier?
20:57.58*** join/#htc-linux ltxdaMBL (n=ltxdaMBL@unaffiliated/ltxda)
20:58.32Marexcr2, btw I sent email to france about my commit access ;-) he offered it to me about a year ago, but it somehow got nowhere ... I noticed in the email from Eric that I should have asked in two weeks if it wasnt done yet
20:58.41Marexwell I asked again, but it's slightly more than two weeks ;D
20:59.10ltxdaMBLMarex, that u on the forumasking for info on android ?
20:59.57ltxdaMBLalo?
21:01.10MarexltxdaMBL, sorry, I dont get you
21:02.30ltxdaMBLon xda-dev someone with a similar name 2urs asked me for details of android on Athena...was that u?
21:04.32dcordes_pH5, could you build me one console-image with the machine conf?
21:05.04dcordes_Marex, are you student of the japanese language?
21:05.08MarexpH5, one GPE image please :-)
21:05.12*** join/#htc-linux supbro (i=4b20ec1c@gateway/web/ajax/mibbit.com/x-5431f1ec3f819dae)
21:05.18Marexdcordes_, no why ?
21:05.33dcordes_Marex, because you asked me japanese looking stuff
21:05.38ltxdaMBLlol
21:05.56Marexdcordes_, I asked you if you are japaneese, but then looked at your hostmask
21:06.05dcordes_Marex, ^_°  what machine do you need gpe image for?
21:06.22cr2mistadman: can't find it too. you'd ask Kevin2
21:06.59Marexdcordes_, beetles/sable ☠☠☠
21:07.59dcordes_linux-hh never works in OE and pH5's nokernel thing doesn't work either here so I guess I can't help
21:08.10dcordes_s/guess/fear/
21:08.30dcordes_I'm removing my tmp once again
21:10.01Marexdcordes_, I was just joking on your console image request ;)
21:10.21Marexbut it might be somehow handy ... gpe image that is
21:11.32dcordes_hope I will have more luck rebuilding from clean tmp
21:11.54dcordes_will try and make beetles image when I finished trying
21:12.29Marexdcordes_, that didnt worked for me recently ;-)
21:12.34*** part/#htc-linux supbro (i=4b20ec1c@gateway/web/ajax/mibbit.com/x-5431f1ec3f819dae)
21:12.37Marexdcordes_, I will take a look at it later
21:13.14dcordes_task hh* do_configure failed
21:13.17dcordes_;P
21:21.24pH5dcordes_: let's see, if I can reuse the n810 toolchain that might not even be an unreasonable request
21:21.47pH5needs a dedicated buildhost
21:22.09dcordes_I didn't want to sound rude sorry
21:23.23pH5dcordes_: you weren't
21:23.33dcordes_pH5, I did an rm -rf tmp once again and did a complete rebuild. guess what is being built right now: 2.6.21
21:23.39dcordes_annnd failed
21:24.40Marexdcordes_, why dont you just patch the .bb file ? :)
21:24.51dcordes_Marex, which one?
21:25.01pH5nah, starts with binutils-cross again :/ can't do that on the poor laptop in a reasonable timeframe.
21:25.04Marex2.6.21-hh20.....bb
21:25.19dcordes_pH5, ok thanks anyways
21:25.32dcordes_Marex, I'm building for kaiser which should build nokernel_0.1.bb
21:25.43MarexI see
21:25.54dcordes_don't need an OE kernel for it because everything's built in there
21:25.55pH5maybe next week while at work
21:28.10dcordes_pH5, trying it with ASSUME_PROVIDED += "linux-2.6.21-r12" now
21:31.16Marexdcordes_, doesnt angstrom want some kernel package in it's configuration file ?
21:31.32Marexyou should dispose all possibilities where it can want -hh kernel
21:31.43dcordes_Marex, that's what nokernel_0.1.bb workaround kernelpackage is for
21:32.10MarexI see, ok
21:32.15dcordes_it doesn't want hh. I was just talking about the fact that OE never cares about building hh above ;)
21:32.31dcordes_but I could try fitting something else in instead
21:32.49dcordes_what's a nice kernel in OE that always builds?
21:33.11dcordes_linux-rp
21:36.47pH5good night
21:41.59ltxdaMBLmarex, did u answer my question bro? am driving and might have missed it
21:42.26Marexyou are driving and connected to irc ?
21:42.33MarexI hope you crash and kill yourself
21:42.41mistadmanLOL
21:43.01mistadmanYou didnt mean that. Now behave yourself!
21:43.44ltxdaMBLmarex, lol fu bitch
21:44.15ltxdaMBLmarex, well bitch?
21:44.44ltxdaMBLla le la le
21:44.44mistadmanMaybe he is driving too...
21:45.02ltxdaMBLi wont say what he`s driving and where lol
21:45.29ltxdaMBLi guess he`s slower than me, i can deal with that ;p
21:48.01ltxdaMBLla le la la
21:48.42cr2ltxdaMBL: if you are driving, you'd be ltxdaSUV ;-)
21:50.03*** join/#htc-linux CVirus (n=GoD@82.201.178.187)
21:50.12ltxdaMBLlol
21:50.16ltxdaMBLnice 1
21:50.43ltxdaMBLltxdaSpeedRacer BABY
21:50.49cr2only SUV drivers call others bitches.
21:51.36*** join/#htc-linux skodde (n=skodde@unaffiliated/skodde)
21:51.44ltxdaMBLoh yea
21:51.54ltxdaMBLi just got a suburban too
21:51.59ltxdaMBL:)
21:52.16ltxdaMBLwho says its not a fast suburban ;p
21:52.18ltxdaMBLbrb
22:43.30ltxda:P
23:51.36Marexcr2, ping

Generated by irclog2html.pl Modified by Tim Riker to work with infobot.