IRC log for #htc-linux on 20081018

00:02.42wasupyeah?
00:02.45wasupwhy is that?
00:02.55*** join/#htc-linux penguinz (n=opera@66-168-215-122.dhcp.athn.ga.charter.com)
00:03.48wasupnobody's excited about the g1 nearing release?
00:04.04wasupwifi, possibilities opened up....
00:06.05*** part/#htc-linux drasar (n=maik@77.93.211.13-msol.msol.cz)
00:14.20dcordeswasup, do you know the titan acx base address?
00:19.02tmztcr2: I think their talking about bringing those devices forward, either to hh20 or newer kernels
00:19.45tmztto 2.6.21-hh20 at least
00:23.04tmztdcordes: there is no dumpcis or equivalent for sdio?
00:25.12wasupno..
00:35.27*** part/#htc-linux exco (n=exco@e181109084.adsl.alicedsl.de)
00:43.56*** part/#htc-linux wasup (n=Tech@208.47.103.106)
01:01.01dcordestmzt, I don't know what that is. but babel and cr talked about some code of atheros sdio cards that's able to do so
01:01.08dcordesbut it looked too complicated for me
01:01.23dcordesI hope the andr0id acx driver can help here
01:15.48*** join/#htc-linux DasFx (n=John@5354790B.cable.casema.nl)
01:19.33*** join/#htc-linux LanceHaig (i=4e696aee@foresight/member/lhaig)
01:27.00dcordescyall
01:39.23*** join/#htc-linux Magorium (i=Othello@gateway/tor/x-8a5a0bd0456df7cb)
01:54.34pari think the sdiocard ihave for wlan is atmel based
01:55.27*** part/#htc-linux LanceHaig (i=4e696aee@foresight/member/lhaig)
01:56.54tmztdo you know what driver it uses? the _sdio.ko part
01:58.15parlet me get back to you on that
02:04.40parits an oem, so i'm trying like heck to remember the other branding for it
02:06.27*** join/#htc-linux surgex (i=surge@pool-98-118-165-224.bflony.fios.verizon.net)
02:08.28parthe printed branding on it is ambicom wl-11 sd
02:09.48parbut i remember when i was researching it i found it was based on the same oem kit as another sdio card out of taiwan...
02:14.26pari think it was socketcomm
02:19.44parhmm linux-wlan-ng had a patch to use the Sychip WLAN6060EB sdio card long time ago
02:20.58*** join/#htc-linux Magorium (i=Othello@gateway/tor/x-9826182be0c88172)
02:23.33parhere is where they talk about it in an old list as well as show the patch:
02:23.36parhttp://myt.ag/URLWeb.aspx?email=steve%40fooworks.com&url=http%3a%2f%2flists.linux-wlan.com%2fpipermail%2flinux-wlan-devel%2f2003-December%2f002824.html&sn=
02:26.49parhmm they say this about the sdio version:
02:26.52parEven the SDIO version is merely the CF IF operating across the serial
02:26.53parSDIO protocol.
02:28.29parwow so looks like those sychip designs are intersil prism.
02:29.05pari know that the oem i have is neither intersil prism or atheros based
02:29.37pari.e. its and sdio card to avoid purchasing :)
02:31.11tmztis that atheros now?
02:38.02pari doubt it
02:38.56pardo you have a list of which sdio drivers are available nowadays tmzt?
02:45.35parintersil was sold to globespanvirata
02:55.46tmztno, I just remembed that chip being talked about as the new atheros chip (6060)
02:56.52tmztI mean drivers in the linville .git or upstream in the 2.26.27 kernel
02:57.37pari'm sure the numbers are coincidental
02:58.10partmzt: sure cool.. do you have a count of how many are available for it
02:59.29*** join/#htc-linux ALoGeNoff (n=QUAKEIII@60.Red-83-49-136.dynamicIP.rima-tde.net)
03:04.30tmztI'm not sure what you are asking, how many what?
03:04.54tmztyeah I meant ar6000/ar6k
03:05.03paroh ok
03:18.40parjust the amount of drivers for sdio wifi cards was what i was wondering
03:19.27tmztI've been looking some of that up again, but you can probably look at the linux wireless site and that gitweb
03:19.29*** join/#htc-linux ALoGeNo (n=QUAKEIII@60.Red-83-49-136.dynamicIP.rima-tde.net)
03:19.54parokay thx
03:20.03tmztALoGeNo: hi
03:20.18tmztALoGeNo: were you able to compile a kernel for universal before?
03:20.27ALoGeNohey tmzt D:
03:20.55ALoGeNowhere i have compilated my kernel for the uni?
03:21.11tmzthave you been able
03:21.28ALoGeNolet my translate
03:22.18ALoGeNoyes yes tmzt
03:22.26ALoGeNowhy?
03:22.48ALoGeNobut is the same source that the precompiled kernel..
03:22.57ALoGeNohave the same bugs
03:23.02tmztdo you think you could change the magician file to work on universal in the new kernel source?
03:23.25ALoGeNothe fucking.c or .h file?
03:23.46ALoGeNobut im not developer :P
03:23.48tmztthe machine definition, which is like a template
03:25.17ALoGeNoi mean if you give me the file.c and you say put that in that folder i compile that but i dont know debug the driver if that you mean..
03:25.32*** join/#htc-linux evildarknight (n=charles@41.207.133.197)
03:26.23tmztI do not believe there is a way to build for multiple machines yet so I only have one set of source for my own device
03:26.43tmztand the linwizard for Bruce*
03:27.08ALoGeNodont worry tmzt, the uni works alot fine..
03:27.12tmztyes, I could probably paste a file to you
03:27.29ALoGeNobut the fucking drivers hangs sometimes.. and that is a crap..
03:27.36tmztI know, it's more of a maintanance task
03:27.44tmztthe wifi?
03:27.48ALoGeNoyes
03:27.59tmztg1 release is supposed to help with that, maybe
03:28.02ALoGeNoacx driver
03:28.19ALoGeNois the same chip?
03:28.36tmztbut we need to get ready for those drivers to work, or we will have to use wireless-compat or something to make it work on 2.6.21-hh20
03:28.42tmztI think, at least an acx
03:28.57ALoGeNohum...
03:31.27ALoGeNobut we can extract only the module acx and recompile ir for the uni?
03:31.35ALoGeNoit*
03:31.55tmztnot sure we know that yet
03:32.23ALoGeNokk roger
03:32.29tmztit is apparently going to be source released at near the same time as g1
03:32.47tmztand that should be a 2.6.25 kernel, if I remember
03:33.03ALoGeNounderstud
03:34.09tmztmy understanding is the information specific to uni is in the old source .c file (htcuniversal probably)
03:34.29tmztand we need to translate it to the new kernel and create a universal.c file in mach-pxa
03:34.36tmztand add it to Makefile and Kconfig
03:34.39ALoGeNoi need speak about that stuff of mix kernels or that with rafa in spanish.. becose i have importatnt questions.. but rafa is a busy man :/
03:35.21ALoGeNooh nice explanation tmzt
03:36.27tmztdcordes is looking at making oe build the pxa devices from git, same as msm, and I think omap
03:37.25ALoGeNo:)
03:37.36ALoGeNowhat is msm and omap?
03:38.07tmztmsm is the qualcomm chip used in kaiser/titan/raphael
03:38.23tmztwhich has a arm11 for the software and arm9 for the radio
03:38.52tmztomap is chip from Texas Instruments that has arm core and dsp (signal processing) core
03:40.08tmztwe found out that titchy and sumoudou are both using hh.org -hhxx kernels?
03:43.14ALoGeNookay.. you explain like a open book :)
03:44.04ALoGeNoyep.. titchy and hh kernels booting
03:45.12ALoGeNo(damn sometimes my english isnt enought..)
03:45.29tmztno, I understood that
03:45.31*** join/#htc-linux BruteFrce (n=IrcNet@m4b0e36d0.tmodns.net)
03:45.55tmztback on wm irc?
03:46.34BruteFrceonce i get the gpio values from gpio watch in haret for the dpads.. how do i map them from there?
03:46.52BruteFrcefor now ssh is really slow
03:47.09BruteFrcetmzt we have gpe going now
03:47.27BruteFrcejust no way to navigate in it with no touchscreen
03:47.35BruteFrcecr2 you here?
03:47.46tmztif those are supported by gpio-keys it might be simple enough to add them to the htcexcalibur.c as platform data
03:47.51tmzton gizzard?
03:48.10tmztI think matchbox-desktop works with keyboard
03:49.04BruteFrceis that what gizard uses?
03:49.11BruteFrcecause i tried every key
03:49.20tmztno, I mean do you have gpe on gizard?
03:50.06BruteFrcegizard has gpe built in
03:50.15BruteFrcethats the wm
03:50.32tmztcan you emerge matchbox ?
03:50.46BruteFrceno net
03:50.47tmztor where did you get that?
03:50.56BruteFrceget what?
03:51.12BruteFrceits the wm that linwizard uses
03:51.12tmztget the gpe packages, they are in the image you downloaded?
03:51.43tmztgpe has desktop icons?
03:51.54BruteFrcefolders
03:52.04BruteFrceoh wait nm not gpe
03:52.15BruteFrcegpe is fb not x right?
03:52.22tmztgpe is X
03:52.23BruteFrceno thats opie
03:52.41tmztunless gtk is built on fb
03:52.46BruteFrceya i believe gpe is what linwizard uses usnt it
03:52.56BruteFrceisnt
03:53.36tmztI forget what gpe uses for a desktop
03:54.03BruteFrcewell whatever it is we can see it now just cant use it
03:54.29BruteFrcehad to use xinit instead if startx lol
03:56.13BruteFrcebut we have the gpio info now for the dpad just dont know what to do with it
03:56.33tmztyou have to build the kernel to use it
03:56.45tmzteach key is one gpio?
03:57.05BruteFrcehuh?
03:57.13BruteFrcebuild what kernel?
03:57.26tmztlinwizard kernel
03:57.28BruteFrcethe kernel is built...?
03:57.39BruteFrcewhat are you talking about
03:57.46tmztyou have to recompile the kernel to add the gpio key definitions
03:58.18BruteFrceoh well ya but what handles them? the kb driver.. where how?
03:58.53tmzta seperate kb driver called gpio-keys
03:59.03tmzteach key gives a different gpio?
03:59.16BruteFrcei dont know what that means?
03:59.29tmztthe omap keyboard driver is omap-keypad
04:00.13tmzt< BruteFrce> once i get the gpio values from gpio watch in haret for the
04:00.14tmzt<PROTECTED>
04:03.16BruteFrcei just have what it told me.. a bunch of hex
04:03.56tmztit should be a small decimal integer, if you used haretconsole
04:04.35tmztharetconsole logs the raw output from haret not what it prints
04:04.58tmztyou need what it prints on the screen (copied to notepad)
04:06.14BruteFrceno its a bunch of hex.. i did it with haret console
04:06.35BruteFrcethat is what it prints on the screen
04:07.16tmztoh, maybe it doesn't decode omap right
04:07.36tmztwhat did you do to trace it?
04:08.00tmztI mean, did someone give you addresses to trace?
04:08.03BruteFrcei didnt another guy id
04:08.31BruteFrcehe used something like gpio-watch 1 in haret console
04:09.12BruteFrceits on gpio 26
04:09.34tmztits?
04:10.16BruteFrcethe dpad lol
04:10.33BruteFrcehe is coming here i am  terrible proxy lil
04:10.40BruteFrcelol
04:10.40tmztok, gpio-keys requires that each key is a different gpio
04:10.49BruteFrcewait wait
04:11.00BruteFrcehe will be here in a sec
04:12.52penguinzHey, i'm the one trying to figure out this d-pad
04:13.09tmzthey
04:13.44penguinzI basically just telnet'd to haret and ran "watch gpio"
04:13.53BruteFrcesorry for being a horrible proxy guys
04:13.56penguinzand took note of what was generated when pressing the dpad
04:13.56tmztok, you want to use haretconsole
04:14.05penguinzok, that gives different results?
04:14.21tmztyeah, it translates traces into more readable form
04:14.35penguinzah okay
04:14.37tmztmost of it used to be in haret, but now its in python
04:14.52penguinzso i need to use the python console to read it instead
04:14.54penguinzgot it
04:15.20tmztif all of the buttons are giving you gpio 26, it is probably something else
04:15.29tmztbut, you have excalibur and can build a kernel?
04:15.44penguinzyes, i have it working
04:15.55BruteFrceya he alreayd has the proper toolchain
04:16.00BruteFrcealready
04:16.25BruteFrcebut we really want to use linwizard so we can teal there gsm work when its done lol
04:16.37penguinzthe output is much different now
04:17.03BruteFrcecause tmzt you wanted to start from scratch didnt you?
04:18.58penguinzalright, i have some output now from the dpad
04:19.27BruteFrceis it still hex or decimal?
04:19.40penguinzdecimal
04:19.48penguinzwant me to send it to you?
04:19.57BruteFrcegood thats what e need i think
04:20.07BruteFrcelol what would i do with it?
04:20.12tmztBruteFrce: on what?
04:20.30BruteFrcetmzt the kernel
04:21.05tmztthe linwizard gsm work would be in the kernel, which is the same wether used with gizard or debian or openembedded
04:21.44BruteFrceya but they have alot of stuff already sone that we would ned to do. so why start over?
04:21.54BruteFrcedone
04:22.13tmztwe don't need to start over
04:22.46BruteFrcei thought you said the other day you wanted to
04:22.57tmztit is just a lot simpler to build a kernel with a simple toolchain than something as complicated as gentoo or openembedded
04:23.18BruteFrcehe already has the toolchain
04:23.28tmztthe kernel build infrastructure works very well in a cross-compiled environment
04:23.31BruteFrceso its not really a problem now
04:23.51tmztbecause there is no library to build code against
04:24.42BruteFrcewe have everything e need to just modify there kernel for this device...
04:26.42BruteFrcei mean we couldnt even get init working when e tried it that way.. why not just use the linwizard kernel and inird that already works?
04:27.06BruteFrceinitrd
04:27.27tmztthe linwizard is fine, and you can use any initrd you want to
04:27.35tmztlinwizard kernel source is fine,
04:27.43tmztwhat are you asking?
04:28.23BruteFrceomg nm
04:29.00tmztif you get those keys mapped then you will have gpe working, is that what you are saying?
04:29.23BruteFrcei dont know if gpe supports keyboard navigation
04:29.42tmztbut you can't build matchbox-desktop or whatever without a full gentoo setup?
04:29.54BruteFrcebut how do we get the dpad working.. we have to modify the driver?
04:30.11tmztpenguinz: did you get those traces?
04:30.24penguinzyes.
04:30.38tmztdid you get different gpio's for each key?
04:30.58BruteFrceis the power key the same?
04:31.02penguinzI believe so, looks like they are sequential
04:31.12penguinz848,849,850,851
04:32.07BruteFrcehow hard would it be to boot stand alone on a sd?
04:32.30tmztit could be a card detect gpio
04:32.39tmztpenguinz: can you trace when you insert a card?
04:32.59penguinzi can try that, one sec
04:33.05tmztpenguinz: those numbers look high
04:33.30penguinzwhich number am i looking at in this line: 006.602    GPIOS GPIO3-IM: IM83(851)=0
04:33.52tmztkevin2 said the one in () is internal to haret for ibit
04:33.58tmztso 83 I think
04:34.06penguinzoh, okay, my mistake
04:34.27tmztmine as well,
04:34.29penguinz80-83 then
04:34.46penguinzand i guess the center button could be 79 or 84
04:34.48tmztsoft keys
04:35.02tmztit doesn't work? (center button)
04:35.09penguinzwell it closes haret
04:35.25penguinzi can try to capturing it again
04:35.49penguinzthe center is actually 76
04:35.58penguinzi must have missed it earlier
04:36.37penguinzcard removal is 79
04:36.39tmztat least it doesn't boot linux
04:36.45BruteFrcewhat about power.. is it gpio?
04:37.08penguinzlooks to be 139
04:37.45druiduhey there!
04:38.01druiduwhat device are you guys working on?
04:38.09penguinzexcalibur
04:39.23tmztit's an omap850, like wizard
04:39.30druiduinteresting
04:39.37druiduso does the android kernel boot?
04:39.44BruteFrceexcept single core
04:39.47tmztandroid kernel? that is for msm
04:39.59penguinzi've not attempted that yet, working on getting keys working nicely
04:40.13tmztI think it's dual core but modem is on the other one
04:40.33BruteFrceso what do we do with these numbers tmzt?
04:40.38tmztandroid may run since it runs on n800
04:40.57tmztbut the kernel would have to adapted, mostly framebuffer driver
04:41.19druiduhehe, framebuffer is always the hardest
04:41.25tmztadd a gpio-keys platform device to htcexcalibur.c
04:41.33BruteFrcereally... i thought the wizard had another core for the radio.. and the excalibur handled everything with one
04:41.46tmztandroid needs SWAP ioctl to do double buffering
04:42.17tmztif that was the case you would probably not be running linux on it
04:42.37tmztthe security those vm's use would make it really difficult
04:42.41BruteFrcepenguinz you know how to add the gpio keys to the htcexcalibur.c
04:44.55penguinzwhat would be a good device for me to look at as an example?
04:45.09tmztlook at tosa.c in mach-pxa
04:45.13penguinzok, thanks
04:45.43tmztadd #define's for those gpios, either to htcexcalibur.c or to a header file
04:45.52tmztand set .gpio =
04:46.07tmztthe power example should work for that power button gpio
04:46.32tmztassuming omap has a full gpio_ api implemented that should work
04:47.54tmztpalmz71 in mach-omap1 might help with mmc
04:48.32BruteFrcemmc already works
04:48.55tmztyou said sd card didn't work?
04:49.05tmztor you couldn't mount root on sd?
04:49.07BruteFrcei was wrong
04:49.33tmztoh, when you insert a card you get a message about the partitions?
04:49.33BruteFrcei wasnt mounting it right
04:50.07BruteFrcehavent tried probably not since that would require the gpio card in stuff right?
04:50.32tmztyeah, unless I left it from wizard and its the same, which is unlikely
04:50.34BruteFrcebut with the card in he could read the dir correctly and open files
04:50.35penguinzI was successful in mounting / reading from an SD card, but did nto try writing
04:50.45BruteFrceya
04:52.30BruteFrceso we could maybe start doing  real boot on the sd.. instead of a ramdisk?
04:52.49tmztyou need a ramdisk to make that work
04:53.00tmztI can send you one that might work
04:53.09tmztit works on pxa
04:53.28BruteFrcei read an rticle about running linwizard from the sd card.. no haret
04:53.43tmztit takes the root= and rootdelay= parameters and mounts gizard or whatever on the sd card
04:53.58tmztthat might be with the htc bootloader
04:54.04tmztdon't know anything about that
04:54.21BruteFrceya, that doesnt require a ramdisk right?
04:54.51tmztwhat doesn't require a ramdisk?
04:54.56BruteFrcesomeone has even partitioned there rom and flashed it on that way
04:55.04BruteFrcenevermind lmao
04:55.24tmztnice, on what device?
04:55.49BruteFrcea wizard.. i believe or maybe something with a 256 rom
04:57.22BruteFrcei dunno i have been reading forums all day
04:57.44BruteFrcetheres alot of projects out there like this
04:58.05tmztit's a goal for most of these projects/devices
04:59.15BruteFrcei read about a guy getting uclinux on his TI scientific calculator
05:00.11BruteFrceit even had a fb wm
05:00.23tmztnice, I would like to see that
05:00.33druiduyou know, I really look forward for the day toasters will be smart enough so you can hack linux onto them...
05:00.41tmztmost have been 92 though, z80 would be really impressive
05:01.59BruteFrcedigital cameras, tivos, mp3 players it amazes me
05:02.34tmzta ti calculated is the only device you can use all day in school
05:02.49tmztand program in basic
05:02.56BruteFrcelmao
05:03.15BruteFrcemaybe even build
05:03.45BruteFrceanyone know fortran?
05:04.00tmztformats and prints
05:04.11tmztwhy?
05:04.22BruteFrcetheres a job opening at my work temp job for a fortran programer
05:04.33BruteFrce60 dolars an hour.
05:04.44BruteFrcedollars
05:04.52tmztno, most fortran is science or math though
05:05.10BruteFrceya its old
05:05.35BruteFrcewe still use oracle
05:07.15BruteFrcehow is it going penguinz?
05:08.04penguinzmight be getting somewhere, about to find out
05:08.35BruteFrcesweet, i fiNaly get to watch the happening tonight
05:09.02BruteFrcebeen waiting forever, i love shymalans work
05:12.30BruteFrcebut thats off topic
05:13.57BruteFrcetmzt how is work for your device going?
05:14.16tmztneed to trace to communication with usb transceiver
05:17.22BruteFrceusb transcieverh
05:17.27BruteFrceh/?
05:17.46tmztthe chip that handles the usb port for charging, audio, serial port and whatever
05:18.19tmztwe need to switch it to a particular mode, and to get the usb detect signal
05:18.29tmztthere doesn't seem to be a simple gpio for that
05:18.42BruteFrcefor serial or to charge?
05:18.51tmztjust usb
05:19.14tmztbut motorola uses the same pins for all of those
05:19.27BruteFrceso you have no usb at al right now?
05:19.59tmztno
05:20.24W8TVI"Ego te absolvo in nomine Torvalds, et Wozniak, et Intel Insidus. Amen."
05:21.24tmzt.
05:21.27tmzt.
05:21.42BruteFrcewhats with the flood?
05:21.52tmztpreservation
05:22.02BruteFrcehuh?
05:22.15BruteFrcewhat are you preserving?
05:22.39BruteFrcehis prayer?
05:22.46tmztjust playing
05:23.21BruteFrcedid i just say al that bout gpe here or in #linwizard? this client sucks
05:23.44tmztI see it in linwizard
05:23.55tmztbut not even tommie-lie is there
05:24.03BruteFrceokay good
05:24.11tmztwell, he helped before, I mean
05:24.14BruteFrcewhat about solar or miknix
05:24.20tmztwith the fbcon rotate thing
05:24.24BruteFrceali1234
05:24.48tmztsolar was
05:25.08BruteFrceya i am writing all these names down to credit you guys if anything official ever comes og this lol
05:25.17BruteFrceof
05:25.48tmztI think its about making the devices more useful, someday
05:25.56BruteFrcei was thinking about making a sf project but i dont know enough to run it, i just want it to exist
05:26.21tmztI just like keyboards, and none of the linux phones have them I can find
05:26.30BruteFrceyes thats what i want, open source always generates more useful applications faster and usually better
05:27.02tmztbeing able to run mobile firefox (fennec) or webkit, abiword (full .doc support), evince (.pdf), etc.
05:27.19tmztand ssh
05:27.41BruteFrceya and al natively
05:27.45BruteFrceall
05:28.06tmztconduit (keep synced with everything), telepathy client with full
05:28.11tmztsupport for different ims
05:28.24BruteFrcethey say firefox mobile will come out for wince this quarter
05:28.40tmztthat will be good to have as well
05:29.00BruteFrceya because skyfire isnt the answer it sucks
05:29.13tmzttomboy or similar for notes, modest-type email for full imap push
05:30.23BruteFrcemaybe a small x irc client would be nice as well
05:30.48tmzttelepathy with muc would work, or xchat2 in a small form
05:31.01BruteFrcei fear the wizard has different gsm hardware and if thats the case who will we ever get to make it work?
05:31.38tmztdoes linwizard at cmd work now?
05:32.16tmztbig problem is going to be gtk2 I think, it needs to fit better
05:32.32tmztbut rewritting everything with efl does not seem to be the answer either
05:32.36BruteFrcewhat ya mean linwizard at cms?
05:32.39BruteFrcecmd
05:32.57tmztlinwizard has a simple at command interface to the modem
05:33.04tmztdoes that work on excalibur?
05:33.40tmztit does not support ppp or reading and writting at the same time
05:33.50BruteFrcewell since i didnt know about it i havent tested it lol
05:34.00tmztor, you have to open it for either reading or writting
05:34.07*** join/#htc-linux Othello (i=Othello@gateway/tor/x-244863c4ef674293)
05:34.14tmztnot sure how it works
05:34.45BruteFrceplus no one even know how the audio is routed.. so even if we could get a call we couldnt hear or send sound
05:35.15tmztthat can be traced
05:35.31tmztfirst, logging at command with the reg entry
05:35.46tmztand then tracing i2c or whatever to find the commands
05:35.56tmztto configure the codec chip
05:36.00BruteFrcewell i dont know why no one has
05:36.08tmzton wizard?
05:36.21BruteFrcepppd is going to be a mess
05:36.25BruteFrceya
05:36.34tmztit needs the tty driver that ali1234 is working on
05:36.45tmztand maybe a mux daemon like on openmoko
05:37.16BruteFrceis he actively working on it?
05:37.23tmztdon't know
05:38.18BruteFrcepenguinz ya still there?
05:39.12BruteFrcehe is a busy bee
05:41.02BruteFrcehad the toolchain setup, rebuilt a kernel with no keymap so he could get the keycodes again from debug messages, and now almost already has everything including dpad mapped, all in a day
05:42.00tmztwhat keycodes are you trying to get?
05:42.35penguinztmzt-- ok i have the structures replicated, do you know where the functions that use them are? i can't really seem to locate them.
05:42.53tmzthold on
05:43.32tmztgpio_keys_platform_data in tosa.c
05:44.10tmztthen add it to the devices array, or as a platform_add_device
05:44.14tmztentry in init
05:45.24penguinzyes, i added my excalibur_gpio_keys_device as a platform_device
05:45.46tmztyou need the platform_data as well
05:45.53penguinzoh, ok
05:46.11tmztgot those backwards
05:46.34BruteFrcetmzt the ones for the keyboard.. i lost the ones i wrote down, but he has em now
05:46.55tmztyeah, you define the platform_data
05:47.10tmztand add the keys reference to it
05:47.27tmztand add the platform_data reference to the _device
05:47.31tmztand register the _device
05:49.12penguinzoh, does the platform_device need to appear after all device structures?
05:49.20penguinzmaybe that is the problem.
05:53.31bollyanyway i can tilt the screen with the angstrom init
06:01.03tmztI think so
06:01.12tmztbolly: what are you asking? rotate?
06:05.48bollyyeah
06:06.11bollyjust loaded the image but unfortunately it's in portrait
06:07.27tmztfbcon:rotate="3" in the startup.txt/default.txt "set cmdline"
06:07.34tmztif you mean in X, xrandr -o 3
06:07.44bollyshall i remove the root=/dev.. bit
06:07.56bollyi have an sd card not sure if i should be loading a rootfs
06:08.01bollyi picked up some files
06:08.15bollyAngstrom-openmoko-image-glibc-ipk-2008.1-test-20080718-htckaiser.rootfs.tar.gz
06:08.21tmztno, add that to the end
06:08.32tmztfbcon:rotate=3
06:08.37tmztno quotes, sorry
06:08.41bollyokies
06:08.43bollytesting
06:08.51tmztyou have kaiser?
06:09.05bollyyeah
06:09.16tmztneat, dcordes has that
06:09.26tmztwere working on it, X and touchscreen
06:09.31bollyran like a dog in wm61 so started looking around
06:09.36bollyoh nice
06:09.48bollyandroid loaded but i had some issues with touchscreen but i can wait
06:09.53bollyanyway i can get to openssh?
06:09.59bollywifi perhaps?
06:10.04tmztusb does not work
06:10.15tmzton gprs
06:10.17tmztonly gprs
06:10.27tmztyou can set up a reverse ssh
06:10.54bollyahh
06:10.55bollygreat
06:10.58bollywill that work through a proxy
06:11.08bollycrappy web bolt on i have is http proxy only
06:12.06bollyi'm guessing run ssh on port 443 or something
06:14.29bollyhmm doesn't appear to be rotating
06:14.39bollyset CMDLINE fbcon:rotate=3 right?
06:15.27tmztdon't remove the root=
06:15.41tmztadd it to it between the " "
06:15.58bollyset CMDLINE "root= fbcon:rotate=3" ?
06:17.10tmztwhat
06:17.22tmztwhatever was after root= before leave it there
06:17.29bollythat line was uncommented before
06:17.33bollyuses /dev/mmcblk0p2
06:17.39bollyis that my internal disk?
06:17.41tmztare you using a sd root?
06:17.46bollyno i'd like to though
06:17.47tmztno, that is the sd card
06:18.01tmztit has dma problems but works sometimes for dcordes with angstrom
06:18.15bollywritable?
06:18.36bollyshall i just extract a rootfs to the sd card?
06:18.46tmztyou can
06:18.58bollyfat32?
06:19.05tmztadd rootdelay=5
06:19.08tmztto cmdline
06:19.14tmztit needs to be ext2/ext3
06:19.19bollyah
06:19.25bollycan i wipe it from angstrom?
06:19.57tmztyou can but the rootfs .tar.bz2 on the fat partition
06:20.03tmztand extract it, I think
06:20.53penguinzi got input!
06:21.20tmztnice
06:21.28tmztcan you map the key syms
06:21.29tmzt>
06:21.31tmzt?
06:21.32penguinzit is not consistent at all though
06:21.59penguinzi press it a lot and it rarely produces a character
06:23.11penguinzperhaps .active_low has something to do with that?
06:23.35penguinzanother question, I cant seem to map direction keys to anything
06:23.59BruteFrcewe already had non dpad input...?
06:24.03penguinzfor instance:  KEY(0,1,KEY_DOWN) does not make a down key
06:24.15penguinzi mean, i got input from the dpad
06:24.41BruteFrceim lost
06:24.50tmztomap-keypad doesn't work now?
06:24.57BruteFrceyou just said you couldnt map them
06:25.03tmztdo you have the source (board.txt) from BruteFrce
06:25.05penguinzyes, it works fine, i just can't map directions
06:25.05tmzt>
06:26.15BruteFrceyou mean you can press them but you get like a debug message?
06:26.38penguinzLet me try to explain the 5-way navi (dpad situation)
06:27.01penguinzYou mash the crap out of it and it will make characters i assigned to it appear on the screen, not once per press
06:27.24BruteFrcecharacters assigned to ith
06:27.34BruteFrceit?
06:27.48penguinzyeah, you have to tell it what "key" to produce
06:28.44BruteFrcein this case its not a character though its telling the cursor to move right?
06:29.12penguinzno, i cant get directions to work at all even with the omap-keyboard
06:29.22penguinzit is mapped to d, c , e
06:30.05BruteFrcefor testing purposes?
06:30.13BruteFrcei dont get it lol
06:30.27penguinzyes, for testing purposes
06:30.34BruteFrceokay
06:30.38tmztpenguinz: are you saying the letter (qwerty) keys work?
06:30.51bollyi can't seem to mount it
06:30.58bollymmcblk0p2 anyway
06:31.10tmztdo you have two partitions?
06:31.16penguinzthe qwerty keys have always worked.
06:31.21BruteFrcelol
06:31.26bollynope tmz
06:31.29bollyjust the main one
06:31.51bollyramdisk
06:31.52BruteFrcehe used iur keymap tmzt or wrote his own
06:32.30penguinzOh, the "original" keymap was tmzt's work?
06:32.54tmztno, BruteFrce made the list of the keys as macros KEY(x,y,kc)
06:33.03tmztI put it in the board file
06:33.10penguinzoh, where is the board file?
06:33.14BruteFrceya group effort lol
06:33.28BruteFrceon the forums...
06:33.36BruteFrceyou knew that lol
06:33.42penguinzoh, that board file, i'm sorry confusing myself
06:33.52BruteFrceyou built a kernel with it i thought
06:34.31penguinzCorrect, and I changed the keymap slightly and have now added structures for gpio_keys to get the 5-way nav button working
06:34.42BruteFrceoh
06:34.50tmztI mailed it to BruteFrce so he could get someone to build the kernel, now I don't know if I have the latest
06:35.20penguinzit's okay I don't need that. I just want to know why directions dont map
06:35.37tmztpenguinz: I thought you just said you had to remake it because BruteFrce didn't have it
06:35.52penguinzno, i'm sorry for the confusion
06:36.01BruteFrceno because i mapped some stuff wrong
06:36.03tmztanyway, you can set the .code to any keycode, such as KEY_UP
06:36.13BruteFrcethe alt shift esc
06:36.28penguinzyes, i set several working keys to KEY_UP, KEY_LEFT etc. and they dont work as such
06:37.32tmztyou mean the hardware direction keys
06:37.45penguinzyes, like what you would move the cursor with
06:37.47BruteFrcebut if they ere wrong you would have had an error at build
06:38.17penguinzcorrect, there are no errors when building.
06:38.29BruteFrceso the syntax is right
06:38.39BruteFrcethats weird
06:38.58tmztthe gpio keys work? the others don't? I am confused now
06:39.25tmztyou might get the linux terminal codes [[A or whatever
06:39.51penguinzThey all work, except the 5-way navigator button does not work consitently
06:40.17penguinzi will see if the terminal codes work.
06:41.06tmztI wonder if those are posted to the console device
06:41.18tmztor only on a seperate input device
06:42.30BruteFrcetmzt qwerty works and always has.. he tried mapping letters to the dpad to test and it only worked sparadicly... he tried mapping qwerty keys to key_up and suc and that didnt even work
06:42.58tmztok
06:47.37BruteFrceany clue how to trouble shoot it?
06:49.18bollyi've just reseated the sd card and it detects it being plugged in
06:49.42tmztok
06:49.42bollyit calls it mmcb1k0 mmc0:4999 SD016 10060B0KiB mmcb1k0: p1
06:50.40tmztyou have one partition, what kind of filesystem is on it?
06:50.58bollyfat32 atm but would like to convert to ext3
06:51.05bollythen untar that rootfs on it
06:51.16bollyrotate is working btw thank you :)
06:51.29tmztdo you have a linux pc?
06:51.37bollyafraid not
06:51.51bollymight have a bootable one somewhere
06:54.39bollyfound one
06:54.44bollydebian 3.1
06:54.50bollywant me to boot that and format the card from my pc?
06:54.50BruteFrcewow
06:55.26bollyshe's fairly scratched
06:55.36BruteFrcedebian 3... is that potato?
06:55.51bollyprolly!
06:55.58bollyit was in my cd graveyard
06:56.01tmzt3.0 is woody, isn't it?
06:56.12BruteFrceya thats right
06:56.26bolly3.1 sarge
06:58.01bollybrb swapping pcs
06:58.07BruteFrcei miss debian
06:58.11*** join/#htc-linux Bolly (n=Bolly@87-194-145-4.bethere.co.uk)
07:00.14BruteFrce0 hour pst
07:01.00BruteFrceum... i didnt type that
07:01.47Bollyim in ash in rescue
07:01.55tmzt7 minutes early anyway
07:02.11BruteFrceearly for?
07:02.38tmzt0:00
07:02.42BruteFrceoh zero hour?
07:03.05BruteFrceno its exactly 00 02 pst
07:03.18BruteFrceaccording to tmobile and my cable box
07:03.29tmztoh, I had this machine set to PST as default until today
07:03.48tmztthe web interface had that
07:03.56BruteFrceoh
07:04.03Bollydon't see mmc in /dev
07:04.39BruteFrcepenguinz?
07:05.21tmzthuh?
07:06.09BruteFrcejust seeing how penguinz is doing with his mapping
07:06.34tmztno, Bolly
07:07.01*** join/#htc-linux rmoravcik (n=rmoravci@ip-89-102-255-171.karneval.cz)
07:07.22Bollyi booted off linux on my pc
07:07.27Bollyits just a rescue console though off a boot cd
07:07.49tmztok, you can extract it to the sd
07:07.58tmztoh, do you have a usb sd reader?
07:08.09Bollyits an old dist of debian i think it doesn't see my sd reader
07:08.10Bollyyeah
07:08.20tmzt/dev/sda
07:08.26Bollyoh
07:08.29BruteFrceyiu know tmz i thought maybe our timings or dotclock was of a lil bit still because of the corruption on the bottom, but you should see how crisp x is, its beautiful
07:09.21Bolly/dev/sda doesn't exist!
07:09.37Bollyi have /dev/scsi /dev/ide
07:09.53tmztdevfs
07:10.01tmztwhats under /dev/scsi/ ?
07:10.06Bollynothing
07:10.35BruteFrceno scuzzies
07:10.42Bolly2.4.27 kernel
07:11.00Bollythey taken the scuzee
07:11.22BruteFrcei sold a 18gb scsi drive on ebay for over 150 dollars lol
07:11.42tmztmodprobe usb-storage
07:13.34Bollyfailed to load it
07:13.50BruteFrcewhy not download the latest gentoo live and use that?
07:14.14Bollyis it small
07:14.20Bollymy connection is pretty poor
07:14.35BruteFrceoh dial up?
07:14.46Bollyah no not that bad
07:14.52Bolly2mb adsl
07:14.53BruteFrceumm knoppix is like 200mb i think
07:15.09BruteFrcelol 3g is faster than that
07:15.34Bollyi should burn down my exchange
07:16.17BruteFrceyou have an exchange server?
07:16.54Bollyexchange is evil
07:16.55tmztexchange, telephone exchange, building where the wires go
07:16.56BruteFrceknoppix with no x might be under 100mb
07:17.05Bollynice
07:17.34tmzt"linux rip" with not x works
07:18.30Bollyfound one
07:18.33Bolly50mb damnsmalllinux
07:18.48BruteFrceya
07:20.19BruteFrcei believe that even has x
07:20.33Bollyoh nice
07:20.41Bollyinstalling it to a pen drive
07:20.49Bollyalways handy i guess
07:20.58BruteFrcei am not familliar with the term telephone exchange are you not in the us?
07:21.10Bollyuk
07:21.24BruteFrceya on machines that have the bios that can actually usb boot
07:21.34Bollythis one can
07:21.37tmztexchange/central office
07:21.51BruteFrceya uk thing lol
07:22.14Bollyhttp://www.samknows.com/broadband/exchange/MYLS
07:22.18Bollythat evil thing
07:23.38BruteFrceblue ray r disks hmm
07:23.58BruteFrce20 dollars a piece
07:24.22BruteFrcethe drive is 1600
07:25.12tmztit's that much and they sell blank disks in the store?
07:25.28BruteFrcenet
07:26.21BruteFrceseems stupid for the media to even exist... flash is the future
07:27.06BruteFrceoh you mean like blue ray movies on disk
07:27.14tmztthey've got it to 100gb a disk
07:28.14BruteFrceflash or blueray?
07:28.31tmztblueray
07:29.33BruteFrcewow but then again... still slow write speed so
07:30.44BruteFrceits good for what compared to other media.. besides movies and maybe software
07:31.22BruteFrcei guess it would be good for backing up servers
07:32.34BruteFrcei was reading /. and read about some company writing and reading to a crystal
07:32.47tmztBolly: dcordes can help you with kaiser if you need anything
07:32.59Bollynice
07:33.06BruteFrcesomething crazy like 100tb to every cubic cm
07:33.28tmztpenguinz: you might use showkey to find out what keycode you are getting
07:34.04BruteFrcebut something like .0001 B/s
07:34.40BruteFrceis penguinz still up evenh
07:35.00BruteFrceand the image didnt have showkey we tried already
07:35.03Bollyyay
07:35.11Bollysda1 mounted
07:35.13BruteFrcewell it wasnt in the path
07:38.24Bollyomg i typed sdc1
07:38.36penguinzyeah, whoever compiled busybox excluded the showkey
07:39.10BruteFrcepenguinz what ya been doin?
07:39.16tmztpenguinz: are you using linwizard too?
07:39.21tmztpenguinz: initrd
07:39.26penguinzre-checking my work and looking up stuff
07:39.44penguinzyes, i'm using the linwizard initrd, it's pretty complete
07:40.50BruteFrcedid you try mapping the arrows to known working qwerty keys?
07:41.14penguinzamazingly not yet, i will try that
07:41.25BruteFrcek
07:41.28penguinzi fixed the dpad to give consitend input
07:41.34penguinzi had one of the gpio values wrong >.>
07:41.41*** join/#htc-linux kiozen (n=oeichler@rgnb-5d87ccb4.pool.einsundeins.de)
07:41.44BruteFrcesweet
07:41.53BruteFrcealmost there then
07:42.13penguinzactually i spoke too soon, after login it does not work consistently anymore
07:42.30BruteFrceif that doesnt work than the kernel just has no support for arrow keys i guess
07:42.53BruteFrceaww crappy
07:44.03tmztwhat? BruteFrce
07:44.54BruteFrcetmzt he thought he fixed the dpad inconsistancy problem
07:44.59BruteFrcebut he didnt
07:45.16tmztno, kernel doesn't support arrow keys
07:45.33BruteFrcewhat? why?
07:45.41BruteFrceto make space?
07:47.01BruteFrceoh i was saying if he maps like key_up to a known working qwerty key like g and it still doesnt work, and the build gives no errors than i guess the kernel doesnt upport arrow keys
07:47.17tmztarrow keys in bash should go up in the history
07:47.37BruteFrcei know... that has nothing to do with my point
07:48.26tmzthe was going to map it to qwerty key like you said
07:48.49BruteFrceya to see if it even works at ll on dpad or not
07:48.56BruteFrcell/all
07:52.13BruteFrceall i was saying is if that doesnt work, then what does that mean? maybe that those macros dont even exist or what?
07:52.48tmztthe gpio api has problems on omap, or the debounce routines or something else
07:52.56BruteFrcepenguinz if the qwerty test does work you should see if you can navigate in gpe or not
07:53.30BruteFrcetmzt what does mapping key_up to a qwert key have to do with gpio?
07:53.31tmztwe copied it from a pxa machine, so it may not work perfectly on omap
07:53.44tmztnothing
07:54.11tmztpenguinz: do you have .type?? set to EV_KEY on all of them but power?
07:54.38penguinzyes, they are all EV_KEY
07:54.39BruteFrceya so this should tell us if its just gpio being finnicky or something else
07:55.04penguinzand KEY_UP on a qwerty key does not work either
07:55.19tmztcan you run cat and see if you get [[A
07:57.52tmztpenguinz: do you have linwizard kernel source?
07:57.55BruteFrceso something is wrong with The KEY_UP macro then?
07:58.01tmztpenguinz: can you check htcwizard.c
07:58.23penguinzyes, what am i looking for?
07:58.33tmztgpio-keys or KEY_UP
07:59.13*** join/#htc-linux goxboxlive (n=goxboxli@139.84-48-212.nextgentel.com)
07:59.32BruteFrcewait... it didnt work even set to a qwerty key... doesnt that mean it has nothing to do with gpio?
08:00.21tmztwe know that wizard works and is omap, so it would be how it should work
08:01.06BruteFrcebut he tried it on a qwerty key that works with other macros?
08:01.12BruteFrcei dont get it
08:01.47penguinzit does not produce [[A while running cat
08:03.37penguinzthe only mention of gpio-keys in board-htcwizard.c is what i put there
08:03.58Bollyhmmm still doing same on my phone tmzt
08:04.05Bollydoesn't seem to see mmcblk0p2
08:04.11Bollyyet it shows it in dmesg
08:04.36Bollymmc0:
08:04.56tmztask in linwizard how they do arrow keys on wizard, I thought they had them working
08:05.05tmztmaybe I took them out of that file??
08:05.08BruteFrceno one is there
08:05.16tmztI know, later
08:05.35BruteFrcehe has the whole source tree
08:05.45BruteFrcehe should have the original
08:06.04penguinzthe original was very similar, just different mappings obviously
08:06.05tmztBolly: fdisk -l /dev/sda on dsl
08:06.52BruteFrcepenguinz can you check the original for any mention of gpuo?
08:06.57BruteFrcegpio
08:07.36BruteFrcemaybe a diff and just ignore what you know has changed
08:08.23Bollyshowing win95 fat32
08:08.27Bollyhmmpf
08:08.31Bollyi did mkfs.ext3
08:08.39tmztonly 1 partition?
08:08.46Bollyyep
08:08.51tmztthat's ok, just change default.txt/startup.txt
08:09.11Bollyis it /dev/sda on the kaiser?
08:09.20Bollysda1 rather
08:09.25tmztno, mmcblk0p1
08:09.45Bollytried that but no cigar
08:09.50Bollycan't find it in /dev
08:10.00Bollybut dmesg sees me inserting and removing the card
08:10.00tmztsda is the first scsi disk, usb storage is the scsi protocol over usb
08:10.13Bollyoh okies
08:10.20Bollycard reader on kaiser isnt usb
08:10.25tmztyou are using the Angstrom image from earlier?
08:10.30Bollyangstrom-new
08:10.54tmztdo you have rootdelay=
08:11.00tmztand where did you get the zImage ?
08:11.08Bollyhttp://linuxtogo.org/~lgorris/
08:11.12Bollydelay is 10 atm
08:11.18Bollyi do get some messages though
08:11.26Bollymmc0: command timeout
08:11.26tmztdoes it say anything about waiting for devices?
08:11.35tmztdma
08:11.42Bollyi also get slot status change detected (0 -> 1)
08:12.39tmztword needs to be done to get the latest android fixes for dma integrated for kaiser/polaris
08:12.42tmztwork
08:12.59Bollyhttp://linuxtogo.org/~lgorris/angstrom-new.bin
08:13.25Bollyand zImage-2.6.25-pm i'm using
08:13.46tmztcan you try one without pm, I think that is for power management
08:13.54Bollysure
08:14.00tmztdebugging for someone
08:14.19Bollyok thanks man
08:15.37BruteFrcepenguinz so what happened, do you still have the original?
08:16.08penguinzyes, there's nothing useful in it that I can determine
08:16.43Bollycan you write to the internal fs from linux?
08:19.46BruteFrcepenguinz well i dont know then
08:21.26penguinzI can't really look at it any more tonight, need to get some sleep. Thanks for your help also tmzt!
08:22.16BruteFrcethanks for your help penguinz night
08:23.31BruteFrceand thanks again tmzt
08:25.12BruteFrcei wish i knew how to explain what he tried so i can ask linwizard people when they come around
08:29.01*** join/#htc-linux Zoolooc (n=fredsiba@nrbg-4dbf88e2.pool.einsundeins.de)
08:46.56BruteFrcetmzt you here?
08:47.37*** join/#htc-linux goxboxlive (n=goxboxli@139.84-48-212.nextgentel.com)
08:52.27*** join/#htc-linux tsdogs (n=tsdogs@net70-17.metalit.net)
09:05.13*** join/#htc-linux LunohoD_ (n=alex@e180076093.adsl.alicedsl.de)
09:11.32*** join/#htc-linux nebi (n=nebi@c-498fe253.02-145-7570701.cust.bredbandsbolaget.se)
09:17.21*** join/#htc-linux LunohoD__ (n=alex@e180071117.adsl.alicedsl.de)
09:33.01goxboxlivehi tsdogs
09:33.12tsdogshi goxboxlive
09:33.15goxboxliveif i make a initrd on a 686 debian system
09:33.24goxboxliveactuelly a deb package
09:33.47*** join/#htc-linux dzo (n=dzo@121.98.128.127)
09:33.57goxboxlivewill i be able to install it on  ubuntu and use the initrd, kernel and modules on it?
09:34.10goxboxlivei have some truoble with an Acer Aspire One pc
09:34.28tsdogswhy make it a deb?
09:34.48goxboxlivetsdogs: because thats the only way i know how to make an initrd :-)
09:35.09goxboxlivei dont jhave mkinitrd on my debian system
09:35.13tsdogsisn't there an mkinitrd command?
09:35.17tsdogsho
09:35.21goxboxliveand it's not available from the repos
09:35.34tsdogshmm, wait
09:35.43tsdogsmkinitramfs ?
09:36.04goxboxliveyes that i have, but i dont know how to use
09:36.06goxboxliveit
09:36.32tsdogsmkinitramfs `uname -r` ?
09:37.23tsdogsor even update-initramfs if you are currently running that version
09:37.30goxboxlivetsdogs: ok, but i cant do that, because i am building on another machine
09:37.49tsdogsand you are not using the same kernel you mean?
09:38.36goxboxlivemy aspire one is so slow compared to my desktop machine, and i miss network connection on my minilaptop
09:38.36tsdogsanyway createing a linux-image deb file will do for you
09:38.36goxboxlivetsdogs: ok, thats what i have done with a vanilla kernel
09:38.37tsdogsyou can use it on all debian based system i think.
09:39.22goxboxlivei also have the just the kernel and the modules so i think i can install them manually, but i should have had the initrd for the kernel i think
09:39.27tsdogsthere is also an apt command to block the kernel update so it won't update it unless you force it
09:40.00goxboxliveok, i was planning of using dpkg -i so i just install it and not updating it.
09:40.03tsdogscan't you install the kernel / modules (copy) and run mkinitramfs from the other system?
09:40.29tsdogsI mean the target system
09:40.49tsdogsdon't forget to change grub :)
09:41.10goxboxlivetsdogs: yes that i can do, but how do i poimnt to the new kernel and modules. If i use uname -r then it will use my old modules
09:41.14goxboxlivegrub i can handle
09:42.04tsdogswell simply put the version of the new kernel i.e.: mkinitramfs 2.6.18-5.vanilla
09:42.35tsdogsit's the name of the modules folder
09:47.04goxboxlivetsdogs: ok, i will try, thanks
09:49.59*** join/#htc-linux silven_ (n=zmc@adsl-64-237-236-235.prtc.net)
10:31.24*** join/#htc-linux kiozen (n=oeichler@rgnb-5d87ccb4.pool.einsundeins.de)
10:53.05*** join/#htc-linux BabelO (n=fcr@lun34-2-82-238-28-28.fbx.proxad.net)
10:55.52*** join/#htc-linux sirox (n=sirox@91-67-142-232-dynip.superkabel.de)
11:12.14*** join/#htc-linux exco (n=exco@e181078248.adsl.alicedsl.de)
11:16.20*** join/#htc-linux Othello (i=Othello@gateway/tor/x-ea01593d76f43be0)
11:25.48druiduif I disable the mmu on a htc, can I still access GPIOs using the physical address?
11:35.43*** join/#htc-linux Guimli (n=guimli@ecu69-1-82-231-127-213.fbx.proxad.net)
11:36.28*** join/#htc-linux dcordes (n=dcordes@unaffiliated/dcordes)
11:45.56BabelOhi
11:46.01BabelOkiozen: around ? :)
11:48.17kiozenBabelO: hi, having fun with 3d?
11:48.44dcordeshi, kiozen you put 3d mode into M?
11:49.20kiozendcordes: not M but GT, and it wasn't me, but some andrew
11:50.21dcordesthat's nice. can you put elevation maps?
11:50.29BabelOkiozen: does not work :(i see the 3D Track but that's all
11:50.47kiozenright button mouse menu :)
11:51.13BabelOyesss
11:52.06kiozenbut I had to look into the code, too
11:52.10BabelOkiozen: hmm i have big mountain around me :)
11:53.00kiozenyou can change the z zoom factor by menu
11:55.27BabelOkiozen: ok i set it -2
11:56.40BabelOkiozen: it is really nice
11:56.47BabelOkiozen: about M on wince
11:57.03kiozenyes ..?
11:57.12BabelOkiozen: it seem than CCanvas does not refresh well :( don't understand why
11:57.27BabelOkiozen: i enter Menu, but menu not displayed
11:57.45BabelOif i click on part where menu should be, i see the title which appear
11:58.16kiozenmaybe it's because of the filtering of update events
11:58.40kiozenthe subsyste decides if an update event is skipped or not
11:59.07kiozenM uses a very non-qt like way to handle widgets
11:59.18kiozenthat might be the cause
11:59.41BabelO:(
11:59.59BabelOkiozen: any idea how can i fix it ?
12:00.54BabelOhmm central mouse button move the map too :)
12:01.15kiozenBabelO: no, I have to play with wince/M. most likely I have to change the overall concept
12:01.28BabelOkiozen: :( ok
12:02.16kiozenBabelO: the big problem is that my point of view how a ppc gui for M should look like, does not correlate with qtopias point of view
12:02.35kiozenBabelO:  thus I do some nasty things in M
12:03.16kiozenBabelO: for linux it seems ok, for wince the real trouble arises
12:03.53kiozenBabelO: think I have to find a more modular, qt like concept.
12:04.37kiozenBabelO: in other words: there must be a reason why all moving map apps suck the same way in their GUI
12:06.07BabelOkiozen: ok, so if i want a usable M i need to desactivate all Event filter and look what happen
12:07.27kiozenBabelO: don't think that's too easy, read docs for void QWidget::update ()
12:09.30BabelOkiozen: ok
12:10.10BabelOin result your code is similar to M for linux less NMEA Class i desactivate and tcpserver
12:13.34kiozenBabelO: anyway it's good to know that you managed to build up a SDK and working binaries for wince.
12:13.48kiozenBabelO: the rest will be solvable too
12:14.15kiozenBabelO: btw is there such a think as a wince sumulator?
12:15.05BabelOthere is a wince simulator in Msvc, yes
12:16.03kiozenthus we can develop without a device, that is good
12:16.07dcordeswhat map data is needed to make use of the 3d?
12:17.04BabelOdcordes: you need STRM elevation data, server on internet provide that
12:18.14dcordesok where can I find the 3d code and those servers?
12:18.42BabelOdcordes: all is in svn at sourceforge, just use google for STRM
12:20.01dcordesBabelO,  do you have a link for a good strm?
12:20.25dcordesnasa?
12:20.30BabelOdcordes: not really, i lost the link with reinstalling suse 64bit
12:20.45BabelOit seem you have better data for your country than mine
12:21.46kiozendcordes: http://www.viewfinderpanoramas.org/dem3.html
12:22.22kiozenbut you have to post process them to convert to geotiff
12:23.05dcordesany scripts?
12:23.14kiozennope
12:23.42kiozendo you have a raster map?
12:24.55dcordesme? I have no maps locally :(
12:25.04dcordestotal mapping noob
12:25.29kiozenI can prepare a small set for you, any area in bavaria you like to look at?
12:26.55dcordesthat would be nice. hm maybe munich area
12:27.15kiozenmunich is too flat :)
12:27.17dcordesonly spot of bavaria I know
12:28.51dcordesok then just put something with some alps
12:42.19druiduafter disabling the mmu, I should be able to access GPIOs using their physical address, right?
12:47.39kiozendcordes: uploading to ftp, it's not the best DEM but it shows the principle
12:47.48kiozen5 min to upload
12:54.58kiozendcordes: http://www.qlandkarte.org/shot3.png
12:55.21kiozendcordes: tell me when you ar edone with the download oft the data
13:13.42kiozendcordes: you have got the date?
13:19.01dcordeskiozen, wgetting
13:19.18dcordeskiozen, done
13:19.22kiozenok
13:20.31BabelOkiozen: i create a zip and upload for you, to test on wince, maybe cr2 can try too
13:21.05dcordeskiozen, a monochrome heightmap. I know that from the time when I played a lot with 3d studio max
13:21.14dcordesand such programs
13:22.28kiozendcordes: it's just 16bit elevation data, but most tif viewer will make some grayscale pic from it
13:22.54dcordesI opened it with the gimp
13:25.11dcordeskiozen, thank. I will try it in qlandkarte when back from düsseldorf. g2g now
13:33.48kiozencr2: around?
13:52.15*** part/#htc-linux kaze (n=kaze@pac33-1-82-235-251-34.fbx.proxad.net)
13:52.15*** join/#htc-linux kaze (n=kaze@pac33-1-82-235-251-34.fbx.proxad.net)
15:16.06*** join/#htc-linux marmotta (n=skodde@unaffiliated/skodde)
15:38.07*** join/#htc-linux Marnux (n=Marnux@83.101.56.166)
15:38.18*** part/#htc-linux Marnux (n=Marnux@83.101.56.166)
15:38.22*** join/#htc-linux jeanseb (n=jeanseb@88.164.32.155)
15:38.40*** join/#htc-linux Marnux (n=Marnux@83.101.56.166)
15:39.43cr2kiozen: reached the computer
15:39.56kiozenhi cr2
15:40.22kiozendo ypu know if one can define a scale and offset in a projection string?
15:40.42kiozenI tried +k_0 and x_0 and y_0
15:40.57kiozenbut they seem to have another purpose
15:40.59cr2kiozen: i've connected 76cx, and can't pick the waypoints ;)
15:41.08cr2what is scale and offset ?
15:41.36kiozeni would like to convert points from rad to px via pj_translate
15:42.05cr2+k_0 is 1.0 or .9996 for GK afaik
15:42.40kiozenyes no real scale and it has an override by lon_0
15:42.52cr2you want an affine transform ?
15:43.26kiozenyes
15:43.32cr2somehow i doubt that proj4 can do it.
15:43.48kiozenok, think I have to ask at the ml
15:44.04kiozencr2: so what is the problem with your 76cx
15:44.06cr2it's easier to write your own.
15:44.12cr2the driver is not found.
15:44.23cr2i've removed garmin_gps module
15:44.28cr2also run as root
15:44.53cr2ok, maybe i'd  update to the latest CVS, and try again.
15:45.07kiozenls /usr/lib/qlandkarte/
15:45.12kiozenis it there?
15:45.35cr2yes.
15:45.51cr2i can also pick it from the combobox
15:45.58*** join/#htc-linux pleemans (n=toi@d54C2AAB7.access.telenet.be)
15:48.16*** join/#htc-linux Othello (i=Othello@gateway/tor/x-2409a85e3ae314d5)
15:49.12kiozencr2: what does the message box say
15:50.14cr2hmm.
15:50.16cr2trunk/src/CCopyright.h:25:27: error: ui_ICopyright.h: Datei oder Verzeichnis nicht gefunden
15:51.39jeansebhi
15:52.04kiozencr2: ???? what are you doing?
15:52.24cr2recompiling
15:53.39kiozenok
15:54.48cr2kiozen: btw, i've picked the .gdb file created by mapsource, and converted it to .osm with gpsbabel
15:55.12cr2the output is of questionable quality.
15:55.56cr2no make install ?
15:56.16kiozensure ./configure && make && make install
15:56.54kiozenor do you compile GT?
15:57.35cr2hehe
15:57.58cr2the bnary is 'qlandkarte'
15:58.11cr2hm. yes it's GT
15:58.58kiozenfor GT it's bin/qlandkartegt
15:59.07kiozenbut make install should work too
15:59.32kiozenmake sure you compile qlandkarte too and do a make install for the drivers
16:01.37cr2checkout
16:01.41cr2no configure
16:02.31cr2qmake QLandkarte.pro ?
16:02.53*** join/#htc-linux miknix (n=miknix@213.13.207.101)
16:03.26cr2make -j3 fails
16:03.26*** join/#htc-linux Marnux_ (n=Marnux@83.101.56.166)
16:03.46cr2In file included from CGarminImg.cpp:27:
16:03.46cr2Platform.h:96:20: error: config.h: Datei oder Verzeichnis nicht gefunden
16:03.47kiozencr2: for qlandkarte it's ./configure
16:03.57cr2there is no ./configure
16:04.01cr2only configure.in
16:04.21cr2./bootstrap.sh
16:04.42kiozenbingo, INSTALL :)
16:06.46cr2ok, make distclean helped
16:11.45cr2failed to load driver
16:13.19cr2Bus 002 Device 008: ID 091e:0003 Garmin International GPSmap (various models)
16:13.41cr2drivers/usb/serial/garmin_gps.c: garmin gps driver v0.31
16:13.41cr2usbcore: deregistering interface driver garmin_gps
16:13.42cr2garmin_gps ttyUSB0: Garmin GPS usb/tty converter now disconnected from ttyUSB0
16:13.42cr2garmin_gps 2-3:1.0: device disconnected
16:13.50cr2garmin_gps removed
16:13.54cr2running as root
16:17.01*** join/#htc-linux hlbot (n=adm@ax113-2-82-225-212-40.fbx.proxad.net)
16:19.21*** join/#htc-linux LunohoD_ (n=alex@e180069182.adsl.alicedsl.de)
16:22.17druiducr2: question
16:22.21druiduafter disabling the mmu, I should be able to access GPIOs using their physical address, right?
16:23.04cr2yes
16:23.37cr2NetRipper had problem with using it after mmu is enabled again.
16:29.35*** join/#htc-linux Alex[sp3dev] (n=alex_dfr@86.110.163.25)
16:31.10NetRipperdruidu, you have to remap the io addresses using the peripheral memory remap register
16:31.13NetRippersec..
16:32.14NetRipperdruidu, http://pastebin.com/m67b9f6f9
16:32.57NetRippercr2, decompressino code works on the vogue kernel
16:33.05kiozencr2: you have to blacklist garmin_gps
16:33.06NetRipperhavent checked the differences with android msm yet
16:35.04NetRipperim not @ home tonight so won't be responding fasts :P
16:39.07druidumy problem is that it won't work with the mmu disabled
16:39.09druiduso, in haret
16:39.19druiduright after disabling the MMU
16:39.48druiduI write to the physical address of the register which shuts down MDDI => screen goes black, have to take out battery
16:40.06druidubut, it doesn't work, doesn't do anything
16:41.17druiduand if I reenable it immediately (basicly, the page table stays the same)
16:41.23druiduand use virtual address, it works
16:42.21druiduso I understand you were able to use the physical address after disabling the mmu, but I seem to can not
16:57.48*** join/#htc-linux nebi (n=nebi@c-498fe253.02-145-7570701.cust.bredbandsbolaget.se)
16:58.21*** join/#htc-linux nebi_ (n=nebi@c-498fe253.02-145-7570701.cust.bredbandsbolaget.se)
17:01.36*** join/#htc-linux chab7 (n=kvirc@212.92.4.114)
17:02.07*** join/#htc-linux nebi_ (n=nebi@c-498fe253.02-145-7570701.cust.bredbandsbolaget.se)
17:02.24*** join/#htc-linux diogene31 (n=rj@mur31-2-82-243-122-54.fbx.proxad.net)
17:04.08druiduNetRipper : when you cam back please read above
17:20.25*** join/#htc-linux Zarathustra (n=tino@port-92-195-11-64.dynamic.qsc.de)
17:20.57Zarathustrahallo
17:21.55Zarathustrahabe ein Problem mit meinem htc magician. ich habe versucht openmoko zu installieren, doch der bootprozess kam nicht zu ende....
17:22.08Zarathustranun ist das handy restlos alle, und geht nicht mehr an
17:22.35NetRipperdruidu, as i said, you need to use the physical memory remap register to enable gpios when mmu is disabled
17:22.40BabelOoui je comprend
17:22.47NetRipperyou can do this before you disable the mmu or after you disable the mmu, doesn't really matter
17:22.51druidushould I do it before or after mmu is disabled?
17:22.52BabelOcr2: ok i erase the file
17:22.55druiduah, ok :)
17:23.05druiduany documentation on this function? in arm datasheet?
17:23.08Zarathustrasoory, i thought this is a german room ;-)
17:23.56NetRipperdruidu, the asm in the pastebin enables gpios in the range of 0xa9000000 till (0xa9500000-1)
17:24.37druiduyes, thanks for that I got it, was wondering if there are any docs to learn why that actually works :)
17:25.07NetRipperyes there are
17:25.13*** join/#htc-linux stylist (n=m@122-148-183-246.static.dsl.dodo.com.au)
17:25.51*** part/#htc-linux Zarathustra (n=tino@port-92-195-11-64.dynamic.qsc.de)
17:27.08druiduunfortunately doesn't seem to work, tried to access 0xa9200808 (which coresponds to virtual address 0x92f00808 in wince)
17:27.32druidujust after mmu/icache/dcache are disabled
17:27.56NetRippertry setting it before mmu is disabled
17:27.59NetRipperthought it should work after
17:29.58druidulemme try
17:30.12druidushit
17:30.14druidu<PROTECTED>
17:30.19druiduI forgot to delete this :P
17:30.22NetRippermov pc,lr is return lol
17:30.24druiduof course it didn't work
17:30.37NetRipperi defined it as a function so you can call it as: bl remap_gpios
17:32.04druiduworked!
17:32.05druiduyou rule :)
17:32.24druiduyeah, I learned the lr/pc/bl/bx stuff recently
17:32.55NetRipperof course i rule
17:33.02NetRipper[/arrogant]
17:33.27druidu:)
17:39.09druiduso, except identity mapping anything else needs to be done to use gpios after mmu is enabled?
17:41.40druiduhere is what I use to do the identity mapping: http://pastebin.com/m17e7fd33
17:43.37kiozencr2: BabelO: first garmin map rendering in GT
17:43.46kiozenwith low memory usage :)
17:47.05BabelOkiozen: oh oh, and elevation data too
17:58.51druiduthis is a historic moment: first lines of kernel wered executed on my HTC Diamond :)
17:58.58druidulinux kernel that is
18:06.41kiozenBabelO: no, no t yet
18:07.25BabelOkiozen: are 3d view ok with strm data ?i mean same level ?
18:07.54kiozenBabelO: don't understand?
18:08.07*** join/#htc-linux FRITZ (n=FRITZ@201-93-211-108.dsl.telesp.net.br)
18:08.08BabelOkiozen: it seem that mountain are to high
18:08.21kiozenhigher than track?
18:08.43BabelOkiozen: no same than track
18:09.27kiozenBabelO: still don't get your problem, sorry I am pretty dense today
18:10.01BabelOnot a real problem but Z zoom is very too high as default
18:10.46*** join/#htc-linux rmoravcik (n=rmoravci@ip-89-102-255-171.karneval.cz)
18:11.18kiozenBabelO: ah ok, depends it's to low for the alps, think it depends on the min/max level
18:11.35BabelOoh ok
18:12.05BabelOkiozen: i still can't compile OE image now :(
18:12.17BabelOso playing with wince M
18:12.39kiozenthat sucks...
18:37.15*** join/#htc-linux tsdogs (n=tsdogs@net203-187-146.mclink.it)
18:37.57*** join/#htc-linux rmoravcik (n=rmoravci@ip-89-102-255-171.karneval.cz)
18:48.56*** join/#htc-linux ali1234 (n=al@robotfuzz.co.uk)
18:49.39goxboxliveBabelO: there?
18:50.28BabelOgoxboxlive: yes
18:50.34goxboxliveHi
18:50.52goxboxlivewhen you comiled a kernel for your machine, did you also make a initrd for it?
18:51.02goxboxlivei am talking about your desktoppc
18:51.19BabelOgoxboxlive: all is done automatically in opensuse
18:51.28goxboxliveBabelO: ok i c
18:51.36BabelOmkinitrd is called and add driver to initrd
18:52.42goxboxliveok
18:59.07cr2BabelO: it's very slow to start
18:59.13cr2hi goxboxlive
18:59.50goxboxlivehi cr2
19:01.15cr2BabelO: i'll copy it into main flash
19:02.14BabelOcr2: yes it is slow, i think because i compile everything in debug mode
19:02.21*** join/#htc-linux ecze (n=ecze@eczema.ecze.com)
19:03.32cr2gdalce is certainly an overkill for M, but it's a nice to have
19:03.45penguinzI am trying to get a d-pad working for excalibur via gpio-keys and It seems to generate Event type 0 (Sync) every time a key is released, and occaisionally i get Event type 1 (Key) which results in ouput. I'm not sure how to correct this.
19:06.18parwow so looks like Roadmap's operability is really coming along now, using garmin's stuff from gnome?
19:06.59cr2par: what are you smoking ?
19:07.03druiducr2: wohoooo, gpios work after MMU is enabled!
19:07.30cr2druidu: that's good.
19:07.55druidudamn, linux rocks!
19:09.03parcr2: sorry, i've been gone awhile
19:11.10cr2druidu: now you can try the halibut kernel.
19:11.34druiduI'm compiling my own from android git
19:11.37cr2par: wtf is garmin's stuff from gnome ?
19:11.41druiduusing halibut board for now
19:11.50druidulet's see how far it goes
19:11.59cr2druidu: but forget about the lcd
19:12.06cr2check if the usb works.
19:12.50paroh its something i saw months ago:
19:12.53parGarmin has posted Linux source code for its Nuvi 8xx and Nuvi 5xxx-series GPS navigation devices
19:12.54druiduhmmm, if the usb driver is enabled, what's the protocol to connect to it?
19:13.01druidudid they implement serial?
19:13.11druiduas in serial port un usb
19:13.22druidu*on
19:14.43cr2par: but it's only the kernel
19:14.55parah
19:15.26cr2par: roadmap could use the converted garmin maps for ages
19:15.50cr2par: points and route planning is still missing though.
19:15.57parlike, for a year or so
19:16.19cr2druidu: the working 'lsusb' will be ok
19:16.33cr2par: 2+
19:17.09parso points and route planning requires.. raster to vector conversion of the maps?
19:17.32druidulsusb as in running the lsusb app?
19:17.53cr2yes, and to see the usb going up after boot
19:18.08cr2then the lcd can be fixed later.
19:18.22druiduquestion: just loading the driver would make the usb active?
19:18.44cr2lsusb does not need the driver
19:18.59*** join/#htc-linux amd64lover (n=miknix@81.193.83.140)
19:19.02cr2it's the core output (id detection)
19:19.32cr2the g1 people still can't dump the rom. it's amazing.
19:20.43druiduok, please be a bit more specific (I'm new to this linux porting thing), so what I need to do is make the kernel load the code in the usb driver that enabled the usb chip/module on 7201A, which would then show up on lsusb on my computer which is connected via usb to the phone
19:20.44druiduright?
19:24.33druiducr2: is anybody working on that with an actual device?
19:24.48druidu(dumping G1 rom) or they're trying on the simulator?
19:26.32tmztpenguinz: you got showkey working?
19:27.26pardruidu: you're trying to bring a usb device up?
19:27.32cr2druidu: boot the halibut zimage first.
19:27.55druiduyou have it?
19:28.13cr2druidu: then connect diamond usb to a linux box
19:28.20cr2druidu: NetRipper should have one.
19:31.00parhmm on that device what does it have for vendorid and productid
19:32.49druidubut, didn't somebody already try this?
19:32.59druiduI'm sure they did, and it didn't work :)
19:33.37druidubasicly I only have some little hacks to give feedback via gpios
19:33.49druiduthe rest is not changed, so I doubt it would be that easy
19:35.00penguinztmzt: yes i got showkey working and my values appear correct for up down etc.
19:36.54penguinzBasically what seems to be happening with the dpad is that the first presses register fine and then they dont work well at all after that.
19:39.09penguinzI also enabled event debugging in the kernel and found the sync messages from the gpio-keys via that.
19:42.17tmztit looks like it sends a sync with every event
19:42.24tmzthave you tried active_low?
19:43.19tmztdo you get a key down and then a sync, but no key up?
19:43.48penguinzi get neither keydown or keyup events just sync
19:43.57penguinzand sync only appears upon release
19:44.21tmztif you hold it down, you don't get sync?
19:44.38penguinzcorrect
19:48.11pardruidu: do you have "auto usb0" in your /etc/network/interfaces?
19:49.18tmztpenguinz: you get events with state of 1 or 0 ?
19:51.53druidupar: well, best thing to do right now is test if usb is functional on htc diamond, and if so create a really basic serial usb connection so I can continue working on the lcd driver like that
19:52.42pari'm not sure if the halibut has allthe regular stuff
19:53.09druiduI compiled the kernel from latest android git
19:53.15druiduwell, we're gonna see very soon
19:53.30druidulet's see if I can make it to start_kernel
19:57.26parif you are looking to see feedback from what other people have got trying it:
19:57.30parhttp://forum.xda-developers.com/showthread.php?t=402002&page=5
20:01.03druiduwell, actually that's the thread that got me onto this forum :)
20:01.33druiduthey tried the kernels but they didn't get anywhere with them afaik
20:01.59penguinzI had to fire up haretconsole again, a single press generates 0110
20:02.30penguinzit does not seem to differentiate between press and release
20:03.55penguinzthe two touchstrip buttons do function in a "press & release" manner
20:04.08*** join/#htc-linux exco (n=exco@e181078248.adsl.alicedsl.de)
20:05.16parwow, so the htc-linux project is the only hope to put android on the diamond.. i had no idea.
20:06.21cr2par: diamond does not have the sd ;)
20:07.16tmztpenguinz: can you dump gpios and get the FE/RE for them
20:09.17penguinzhow exactly would I go about doing that?
20:09.35tmztdump gpios
20:09.40tmztin haret
20:09.51druiduto be honest, I don't no much about the htc-linux project (besides the obvious -- it's linux for htc :P), but this is where I found people that know stuff :)
20:09.54penguinzit reports that there is no dumper gpios available
20:10.02tmztdump gpio
20:10.16tmztmaybe thats not on omap?
20:10.30tmztyou get detected generic omap ...
20:10.32penguinzhelp dump only lists cp and mmu
20:10.33tmzt?
20:11.18penguinzDetected machine Generic TI OMAP/OMAP850 (Plat='SmartPhone' OEM='Excalibur')
20:11.34tmztcr2: how can we get gpio-keys on omap?
20:13.03druidudo you know base address of gpio registers?
20:16.31penguinzLike this: "Watching GPIOS(03): Addr b80bd800(@fffbd800)"?
20:22.38druiduwell, if you have that it's simple
20:22.54druiduyou use: watch gpios <nr seconds>
20:23.17druiduand if there are some that show up when you don't touch the device you ignore them with: ibit gpios x
20:23.33penguinzright, that's what i've been doing
20:23.35druiduwhere x is the id of the gpio
20:23.59druiduso, nothing happens when you play with the buttons while watching the gpios?
20:24.12penguinzStuff happens it's just odd
20:24.23druidukeyboard or other buttons?
20:24.35penguinzOne press on one of the buttons generates 4 events
20:24.39parfor anyone who doesn't already have this omap stuff:
20:24.41parhttp://par.multics.org/omap850_twl30xx.zip
20:25.13penguinzthese buttons are part of the 5-way navigator (dpad)
20:25.43tmztwifi driver?
20:26.08cr2par: hehe
20:26.26tmztcr2: does gpio-keys debounce or is hw supposed to do it?
20:27.19cr2tmzt: don't know
20:28.13druidupenguinz : buttons nowadays aren't just buttons, they're mini-touchpads or have leds and lots of other stuff
20:28.46tmztcr2: he is getting 0110 in a pattern on each press
20:28.54druidubut it's also possible that the button press generates side effects that trigger more gpios
20:29.05druidudid you try to keep the button pressed?
20:29.11druiduthen see on release what happens
20:30.10penguinzit makes 0 1 on press and 1 0 on release
20:30.33parheh, yeah its old but it's got the omap850 technical reference manual
20:32.39druidumaybe they have two pins for the same button
20:33.09druidujust map as many buttons as you can and see if any overlap and if not, just use whatever works :)
20:33.09penguinzthere is an IM83 and IL83 is that what that means?
20:33.53penguinzand if that's the case how do i just pull from the IM83 one?
20:38.49*** join/#htc-linux datachaos (n=datachao@201.22.222.159.adsl.gvt.net.br)
20:39.51druiduno, they're different pins right? different bits of the same word
20:45.31penguinzI have no idea
21:03.51BabelOkiozen: http://trolltech.com/products/device-creation/embedded-widget-demos
21:05.12druiduwhat's the exact output haret gives you, doesn't it say the pin id?
21:05.50penguinzhere are two lines: "000.627    GPIOS GPIO3-IL: IL83(83)=0
21:05.50penguinz000.627    GPIOS GPIO3-IM: IM83(851)=1
21:05.50penguinz"
21:08.59*** join/#htc-linux bolly (n=bolly@87-194-145-4.bethere.co.uk)
21:09.02bollymorning
21:17.39druidupenguinz : now look for GPIO3-IL and GPIO3-IM in the lines just after starting the command, they will show the address of the register
21:19.32druidufor example, for diamond I have Watching GPIOS(02): Addr 92f00804(@a9200804)
21:19.47druiduthen the event: 003.562    GPIOS      in2: in2-23(247)=0
21:20.05druiduwhich says pin 23 at physical address a9200804 changed
21:20.37druiduyou could just do: pd 0xa9200804 1
21:20.46druidubefore and after pressing the button to see what changes exactly
21:21.31penguinzah ok
21:28.37*** join/#htc-linux dcordes (n=dcordes_@unaffiliated/dcordes)
21:32.19penguinznothing appears to change when doing that
21:36.13druiduit is possible that buttons are not gpio controlled
21:36.51penguinzthen why do they kind-of work?
21:40.01druiduif that gpio register changes value when you push them, try to find its address
21:40.13druidubut well, they should also have irqs I think
21:41.19penguinzwhat exactly does input_sync do?
21:43.09dcordesyou guys hacking on diamond?
21:45.21dcordesBabelO, tried to get a 1000h but they are all sold out
21:47.18BabelOdcordes: goxboxlive have a aspire, it is cool too
21:47.27dcordesBabelO, the resolution is ass
21:47.43BabelOhow much ?
21:48.06dcordesbut it's extremely small
21:48.28dcordes1.024 x 600
21:49.07dcordesoh 1000h is the same :D
21:49.47dcordesI might as well get no laptop and be happy with akita kaiser and beagle
21:50.07druidudcordes: I am
21:50.31dcordesdruidu, did you reconstruct NetRipper gpio experiment?
21:51.21druiduwell, kind of, I don't have a flashlight but found a way to shutdown the screen -- for good, gotta take out the battery before it starts again
21:51.26druiduso I'm in start_kernel
21:51.38dcordesBabelO, still I wouldn't get an acer because I already had one and the service is very bad.
21:51.41druiduand the first C function it calls, once it returns it seems to crash
21:52.23dcordesok so you are as far as NetRipper and cr2 on the raphael, right?
21:52.27druidumaybe the return addr is not saved properly...
21:52.34dcordeshow do you turn down the display?
21:52.47druidunot sure how for they are
21:53.00druiduwell, I found a gpio that shuts down mddi
21:53.16druiduit's commented out in vogue's lcd code
21:53.28druiducommented out for a good reason, it shuts it down for good :)
21:53.45druidubut well, at least I have a one shot binary output
21:54.02dcordessomething.
21:54.09dcordesI hope it will all work out well
21:55.35druidume too
21:55.42druiduwhat are you working on?
21:55.49*** join/#htc-linux webPragmatist (n=none@99-6-241-169.lightspeed.rcsntx.sbcglobal.net)
21:56.47dcordesdruidu, only on my plane atm :)
21:57.30dcordesbut I did some things with the kaiser
22:01.53druiduhttp://pastebin.com/m746ecfad
22:02.27druiduif anybody has a clue why it crashes when exiting that function... or any C function probably
22:03.16dcordesprobably? did you try other things?
22:03.39druiduwell, I made another function
22:04.04dcordessame crash?
22:04.10druidumy guess is that the last instruction (which restores fp, sp, pc) is broken...
22:04.26dcordestry removing it?
22:04.49druiduit's a C function, basicly any C function I have is ony-way... you go in, crash when you go out
22:05.35dcordesis it the same behaviour as on raphael?
22:05.54druidudunno
22:06.09druidugonna test the asm code directly
22:06.16druiduthis should proove it / disproove it
22:06.43bollydcordes!
22:06.55bollyi read your site thank you so much
22:07.09bollyyou made my kaiser fun again
22:07.21druiduwhat site? :D
22:07.44bollyxda developers
22:07.48bollywell its a post i guess
22:08.03bollyhttp://wiki.xda-developers.com/index.php?pagename=HTC_Kaiser%2FAndroid
22:08.20bollyi never knew about all this until i stumbled across it
22:08.36bollywindows mobile 6.1 has been annoying me for too long!
22:09.53dcordes:) you can't do too much with it
22:10.28dcordeswe need to put a nice gui like qtopia on it
22:10.35dcordesor whatever that is called nowadays
22:10.51bollyit's amazing having console there
22:10.55bollywith screen titled
22:11.08bollyonly got gprs atm though i think?
22:11.15bollyi want lynx! :D
22:11.18dcordeshm yea don't ask why
22:11.21dcordesinstall it
22:11.32dcordesuse the tgreer special root filesystem from sd card
22:11.34bollyi just got it working last night thanks to dmmz
22:11.39bollymy sd card is playing up
22:11.42dcordestmzt?
22:11.45bollythat's it!
22:11.47bollytmzt was helping me
22:11.52bollybut he said it was a dma prob
22:12.03dcordesyea it seems unsolvable :(
22:12.09bollywhat can you do
22:12.15bollyi don't need sd
22:12.24dcordesnand works
22:12.33dcordesyou know the linux kernel?
22:12.41bollyim not that great with linux
22:12.50dcordesok
22:12.56dcordesthink I should look at nand again
22:12.57bollyi just used it for apache
22:12.59dcordesalways forget about it
22:13.01bollymysql etc
22:13.06dcordesand now I need to catch a bus
22:14.11dcordescya
22:14.17bollycya later bud
22:14.24bollyjust reading about nand now
22:39.32druiduok, I managed to track down why it doesn't work and crashes when exiting the function
22:42.52ali1234can't you make a SD driver that doesn't use DMA? ;)
22:45.36tmztali1234: can you help with gpio-keys on omap?
22:45.39druiduali1234 : why not, it will be the slowest that was ever invented :)
22:45.44tmztali1234: how did it work on wizard/
22:47.14druidufor those who now asm on arm...
22:47.17druidumy_test:
22:47.17druidupush    {lr, pc}
22:47.17druiduldm     sp, {pc}
22:47.30druiduwhat should this little function do, when called like: bl my_test
22:47.30druidu?
22:48.49ali1234druidu: yeah but it might at least work though
22:49.07ali1234tmzt: on wizard they are connected to the egpio chip on i2c i think
22:52.27*** join/#htc-linux lpotter (n=ljp@CPE-124-191-144-181.vic.bigpond.net.au)
22:54.44tmztali1234: oh, penguinz got a different gpio for each one, but gets levels 0110 for each press
22:55.12tmztali1234: we are trying to use gpio-keys with gpio_ api, which apparently doesn't debounce correctly
22:55.51ali1234hmm? what does "levels 0110" mean?
22:56.15tmzthe gets gpio 0, then 1, then 1, then 0 again on each press
22:56.33tmztI mean, the gpio goes from 0, to 1, to 1, to 0
22:56.59ali1234that makes no sense to me. are you using polling?
22:57.26ali1234do you get 0 then 1 on the press, and 1 then 0 on release?
22:57.35penguinzyes, that's what happens
22:57.57penguinzbased on the output from haretconsole
22:59.14ali1234well it seems reasonable enough... so what is the problem? just that the driver doesnt debounce?
22:59.46penguinzI guess that's what is going on, the very first presses work as intended and after that it rarely works
23:00.07penguinzalso, events only generate upon release it seems based on output from event debug
23:00.36ali1234you'd have to examine how the driver works. probably a combination of interrupts and polling. that seems typical
23:00.41ali1234brb
23:02.19tmztpenguinz: have you tried active_low ?
23:02.33penguinzyes, with both values 0 and 1
23:02.46tmztpenguinz: maybe a delay of some kind, though maybe not in an irq handler
23:03.19tmztcan you printk the gpio_get_value ?
23:03.26tmzttake out everything else
23:03.43penguinzyes, i have done that and its correct
23:03.58*** join/#htc-linux ali1234 (n=al@robotfuzz.co.uk)
23:04.00penguinzwell, actually its mostly 1
23:04.17penguinzuntil they key actually decides to work and then becomes 0
23:05.48penguinzgpio_keys.c seems to work differently than omap-keypad
23:06.05tmztbasically all the keys call the same irq handler, which loops through the pdata keys
23:07.44tmztif IRQ HANDLED clears the irq
23:08.33penguinzyeah the function i have my printk statement in returns IRQ_HANDLED
23:09.30*** join/#htc-linux sirox (n=sirox@91-67-142-232-dynip.superkabel.de)
23:09.59tmztcan you take out the event and sync and just printk the gpio number or keycode and the gpio value?
23:12.02penguinzi dont have the keycode in there currently, but that other stuff works
23:15.10penguinzi think the problem has to do with the values not toggling- maybe something is happening too fast and it looks constant?
23:18.38tmztyou can try a udelay(1000) before the return HANDLED
23:18.49penguinzok
23:25.21penguinzis there a function to set gpio values? what if i just set them to 0 manually?
23:26.28tmztyou could, but there not output lines
23:28.08*** join/#htc-linux dcordes (n=dcordes_@unaffiliated/dcordes)
23:31.43druiduwhat options do you use for compiling arm kernels?
23:32.06druiduI'm interested in options related to how function prologue/epilogue is generated
23:33.26*** join/#htc-linux goxboxlive1 (n=jrs@139.84-48-212.nextgentel.com)
23:38.46*** join/#htc-linux nebi (n=nebi@c-498fe253.02-145-7570701.cust.bredbandsbolaget.se)
23:50.29*** join/#htc-linux BabelO (n=fcr@lun34-2-82-238-28-28.fbx.proxad.net)
23:55.16penguinzI've got it! What i did was just send 2 input_events in that function and have one with value 1 followed by a 2nd with value 0!
23:58.31*** join/#htc-linux goxboxlive1 (n=jrs@139.84-48-212.nextgentel.com)
23:59.49tmztwhat does that mean?

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