IRC log for #htc-linux on 20080507

00:09.31*** join/#htc-linux CVirus (n=GoD@82.201.174.38)
00:10.20*** join/#htc-linux exco (n=excogita@e181118231.adsl.alicedsl.de)
01:09.52*** join/#htc-linux CVirus (n=GoD@82.201.174.38)
02:24.16miknixcr2, revertive dumped a lot of i2c stuff: http://linwizard.wiki.sourceforge.net/I2C
02:29.59*** join/#htc-linux maleki (n=Miranda@80.191.134.46)
03:03.28*** join/#htc-linux the_sys0p (i=the_sys0@gateway/tor/x-00fa48824efee877)
04:33.21*** join/#htc-linux goxboxlive (n=goxboxli@195.159.97.196)
05:14.48*** join/#htc-linux rmoravcik (n=rmoravci@ip-89-102-255-171.karneval.cz)
05:27.54*** join/#htc-linux kiozen (n=kiozen@rgnb-4db1da5e.pool.einsundeins.de)
05:43.46*** join/#htc-linux the_sys0p (i=the_sys0@gateway/tor/x-22f95590b271735f)
05:51.26*** join/#htc-linux rob_w (n=bob@Ma561.m.pppool.de)
05:57.08*** join/#htc-linux marbalon (n=marbalon@212.122.223.98)
06:14.06*** join/#htc-linux BabelO (n=Fabrice@lun34-2-82-238-28-28.fbx.proxad.net)
06:15.05*** join/#htc-linux patoche (n=patoche@77.197.64.50)
06:29.31*** join/#htc-linux the_sys0p (i=the_sys0@gateway/tor/x-073714eca631b7d0)
06:35.25*** join/#htc-linux zwox_ (i=zwox@par69-7-82-243-234-94.fbx.proxad.net)
06:36.20*** join/#htc-linux rob_w|laptop (n=rob@Ma561.m.pppool.de)
06:49.51*** join/#htc-linux rmoravcik (n=rmoravci@gtsgw.ttc.cz)
07:08.05*** join/#htc-linux the_sys0p (i=the_sys0@gateway/tor/x-86bd79856f04d952)
07:22.23*** join/#htc-linux rob_w|laptop (n=rob@Ma561.m.pppool.de)
07:29.22*** join/#htc-linux BabelO_ (n=fcr@lun34-2-82-238-28-28.fbx.proxad.net)
07:42.10*** join/#htc-linux kiozen (n=kiozen@rgnb-4db1da5e.pool.einsundeins.de)
07:42.27kiozenmorning
07:51.12*** join/#htc-linux exco (n=excogita@e181082082.adsl.alicedsl.de)
07:57.40kiozencr2: around?
08:13.14BabelO_morning kiozen :)
08:13.17BabelO_hi all
08:56.03excogood morning
09:06.59*** join/#htc-linux pleemans (n=peter@d51A5E76A.access.telenet.be)
09:41.10*** join/#htc-linux ltxda (n=ltxda@unaffiliated/ltxda)
10:19.49*** join/#htc-linux zoolooc (n=lucian@nrbg-4dbfeb98.pool.einsundeins.de)
10:30.44*** join/#htc-linux the_sys0p (i=the_sys0@gateway/tor/x-6dfcbcccfb171969)
10:46.12BabelO_kiozen: still around ? :)
10:46.44kiozenyepm ,having a break from preparing a bithday party :)
10:48.08kiozenwaht's up BabelO_?
10:48.11BabelO_kiozen: ah ah , ok
10:49.07BabelO_kiozen: Having a meeting this morning and cofee after
10:49.14BabelO_kiozen: cofee was very interesting
10:49.25kiozenthinks coffee is a good idea
10:49.42BabelO_kiozen: was speaking we a INRIA guy
10:49.47BabelO_kiozen: if you know what it is
10:50.01kiozenyes
10:50.22kiozenlike Fraunhofer in germany, right?
10:50.30BabelO_kiozen: yes
10:51.11BabelO_kiozen: we pay some people who are working for INRIA / LORIA specialised on document process
10:51.17kiozenso, we get a research budget?
10:51.22kiozen:)
10:51.28BabelO_kiozen: better :)
10:52.11kiozenok?
10:52.25BabelO_kiozen: we get a library :) GPL licenced
10:52.32BabelO_kiozen: http://qgar.loria.fr/themes.php
10:53.04BabelO_kiozen: i just check my crossing / line detection and we get all
10:53.27kiozeni like the topic "symbol recognition"
10:57.23kiozenhas a coffe now
10:58.10BabelO_kiozen: yes binarisation , raster/vector :)
10:58.17BabelO_and i like GPL
10:58.19zooloochi there
10:58.39kiozenBabelO_: they use cmake, very wise, I think I like that thing :)
10:58.41zooloocanyone around of the guys messing with linux on kaiser?
10:59.00BabelO_kiozen: yes, but maybe it is better to do plugin ?
10:59.31kiozenBabelO_:  at least with compile switch
10:59.44BabelO_kiozen: ok
10:59.49kiozenBabelO_: they have a win32 binary, too
11:00.01BabelO_but i don't know this part in linux
11:00.09BabelO_kiozen: yes :)
11:00.18kiozenBabelO_: plugins?
11:00.28BabelO_kiozen: yes
11:00.42BabelO_kiozen: dlopen and so
11:00.55kiozenBabelO_: easy ;), do it the QT way
11:01.15kiozensame as the driver plugins for QLandkarte
11:01.35BabelO_ok
11:02.09kiozenaarrrrrgg, no root directory in the tar ball, grrrrrrrr
11:02.22BabelO_lol
11:02.33BabelO_kiozen: research guy, not developper :)
11:03.01kiozenBabelO_: the first impression was better than the stuff from Fraunhofer
11:05.35kiozenBabelO_: compiling
11:06.08kiozencr2: we shouldn't forget about the loadlin.exe
11:06.40kiozenBabelO_: compiled :)
11:08.17BabelO_ok i need to start linux vm, they used pgm format for entry sample
11:08.31BabelO_kiozen: need to binarize first with -t thresold
11:08.58kiozenBabelO_: hm I am a bit clueless now where to start :)
11:10.00BabelO_kiozen: take a map tif, convert it to pgm then QAthrsBinarization -in test.pgm -out testbin.pgm -t 128
11:10.10BabelO_not sure about parameters
11:13.48kiozenBabelO_: have to play with that later. not the right patience now :)
11:14.29BabelO_kiozen: ok, 128 is a good value for binarisation, i ll try symbol match :) and to finish vector
11:15.38kiozenBabelO_: and I prepare a robber's chest and the BBQ
11:17.31BabelO_kiozen: BBQ i know what it is  :) this week end i m not really at home, big big fiesta
11:18.56BabelO_kiozen: http://www.nemausus.com/gard/FERIA.htm look at video, until Monday :)
11:18.57kiozenwe are having a BBQ in an old robber's cave this afternoon, with 10 six year old robbers
11:20.01BabelO_ok :)
11:21.02BabelO_qgar libs works well on maps :)
11:26.57*** join/#htc-linux revertive (n=revertiv@83.119.75.151)
11:27.47kiozenBabelO_: another good test map is the example map of my referencing tutorial
11:28.11kiozenBabelO_: it's quite colorfull, thus lines are hard to detect
11:28.30BabelO_kiozen: can you send it to gmail ?
11:29.18kiozenBabelO_: http://www.qlandkarte.org/images/stories/screenshots/dolo_150_3_5.tif
11:29.42BabelO_kiozen: done
11:30.47BabelO_kiozen: ok line are not continuous :) need to adjust parameters
11:37.47BabelO_kiozen: what is the dxf file reader on linux ?
11:37.54*** join/#htc-linux patoche (n=patoche@77.197.64.50)
11:44.33*** join/#htc-linux patoche (n=patoche@77.197.64.50)
11:55.05kiozenBabelO_: no clue, maybe inkscape
11:55.25BabelO_ok
12:05.37cr2hi
12:05.53cr2kiozen: i can test only the linload.exe with 2 partitions
12:06.46kiozencr2: ok, then I have to reformat my SD card this evening.
12:07.15kiozenyou have to give me step by step intruction to make sure we have both the same
12:07.38kiozenbbl
12:08.46cr2kiozen: i'll look for some other cards, so i can make a clean test
12:09.35kiozencr2: ok, I'll be around at ~21:00
12:09.53kiozenif I survive that party :)
12:10.39cr2ok
12:18.18*** join/#htc-linux Marex (n=marex@vasut.kolej.mff.cuni.cz)
12:20.36*** join/#htc-linux exco (n=excogita@e181082082.adsl.alicedsl.de)
13:14.22*** join/#htc-linux BabelO_ (n=fcr@lun34-2-82-238-28-28.fbx.proxad.net)
13:38.26*** join/#htc-linux dcordes (n=guybrush@unaffiliated/dcordes)
13:51.22*** part/#htc-linux zoolooc (n=lucian@nrbg-4dbfeb98.pool.einsundeins.de)
14:08.59revertiveBabelO_: does the artemis use the same i2c driver as the wizard?
14:10.30BabelO_revertive: yes
14:11.43revertiveBabelO_: i2c seems to be working here, i can switch leds,lcd etc off/on. But i cant seem to write to it
14:12.42cr2BabelO_: found something for you
14:13.00cr2BabelO_: http://www.htc.com/www/Job_Current.aspx?id=41482
14:13.33revertiveBabelO_: here's some info i gattered from the i2c: http://linwizard.wiki.sourceforge.net/I2C
14:15.49cr2revertive: do you have a wizardCPLD page ?
14:16.29revertivecr2: not that i know off
14:18.10cr2revertive: ok. it should have different layout from other *CPLD pages, but i suspect it will be very similar to the page above
14:19.15revertivecr2: where can i find a CPLD for other devices so i can see the difference in layout?
14:21.30cr2revertive: other cplds are memory mapped, so they define registers and offsets
14:22.49revertivecr2: hm ok, ill try to find some off them and check them out
14:23.16cr2http://wiki.xda-developers.com/index.php?pagename=AthenaCPLD1
14:25.24revertivehm all my data is gattered with i2c-tools, i guess i need to find some otherway to getter information
14:26.42revertivecr2: could you send me in the right direction so i can get the information?
14:32.20revertivecr2: http://wiki.xda-developers.com/index.php?pagename=WizardCPLD <- there is CPLD page for the wizard, but i dont know how to get more info for it
14:53.49*** join/#htc-linux TimRiker (n=timr@68.27.153.148)
14:57.39BabelO_cr2: not for HTC, or maybe i can access documentation :)
14:58.41BabelO_revertive: your i2c information are wrong, i2c is a protocol, so you need to send multiple packet for one command, not only one
14:59.06BabelO_revertive: and each i2c device on bus have an adress
15:18.47excoif I only get the upper taskbar (keyboard bt signal power icons) can I (re)start the window manager using ssh (OpenMoko)
15:20.40dcordescr2, we don't have the AT fifo reg size, do we?
15:21.54*** join/#htc-linux zwox_ (i=zwox@par69-7-82-243-234-94.fbx.proxad.net)
15:25.13*** join/#htc-linux CVirus (n=GoD@82.201.174.38)
15:26.23revertiveBabelO_: Ok, is there a howto/program to get that kind of information
15:27.44excols
15:27.59excoups (not the console)
15:28.21BabelO_revertive: beter is to use haret to trace 0xfffb3800
15:28.38BabelO_and you can see the i2c adress of cpld and command sent
15:29.18revertivehm.. ok ill try to find some info about that then
15:29.32BabelO_revertive: because like you do, you can see that some command have no effect it depend of the order
15:29.52BabelO_revertive: i need to do it this evening to for artemis to found camera type
15:30.33revertiveBabelO_: so i only have fragments of the commands? and i need to get the full commands?
15:30.45BabelO_revertive: yes :)
15:31.16revertiveBabelO_: ok i'm starting to understand it now
15:32.13BabelO_revertive: normally you can see always same sequence if you push a key many time
15:33.25revertiveBabelO_: So getting keys should be too hard, but what about leds etc...
15:35.16BabelO_revertive: why getting too hard ?
15:35.21BabelO_just pressing key
15:35.40BabelO_revertive: about led, cr2 add a function to switch led on / off from haret
15:35.55BabelO_revertive: you need to telnet to deveice on 9998 and 9999 at same time
15:36.22BabelO_revertive: then send the nleds 1 command for exemple on a console, and look at traces dump on other consoel
15:37.15revertiveBabelO_: a ok i understand it, i will play with it and see what it can find
15:37.18revertiveBabelO_: thanks for the help
15:37.39*** join/#htc-linux surgex0 (i=surge@pool-71-186-234-216.bflony.fios.verizon.net)
15:37.54BabelO_revertive: normally there is a add TRACES p2v(0xfffb3800) 0xff 1 16
15:38.13BabelO_to it for each register with bus shift +2 like miknix have done for TS
15:38.46BabelO_revertive: be carefull, TRACES are limited in number if there is two much event on register access
15:39.05BabelO_revertive: so use this command for 3 register at a time
15:40.08revertiveBabelO_: do i need to boot into linux or do i start haret and press "Listen for network connection"
15:40.42BabelO_revertive: start haret and press listen, then on pc side, use haretconsole twice
15:40.57revertiveok
15:43.00revertivehm gonna find out how to setup haretconsole, which host ip i need etc...
15:45.30revertivehow do you assign a ip to usb in wm5?
15:55.29*** join/#htc-linux pH5 (n=ph5@e178206148.adsl.alicedsl.de)
15:58.14*** join/#htc-linux miknix (n=miknix@81.193.89.28)
15:59.55BabelO_revertive: compile usb-rndis-lite for your kernel linux, then install odccm
16:00.07BabelO_revertive: then your wm5 device ip is 169.254.2.1
16:00.17revertiveBabelO_: ok thanks
16:00.18BabelO_then haretconsole 169.254.2.1
16:00.19miknixBabelO, did you see revertive i2c dumps?
16:00.49BabelO_miknix: http://irclog.iclem.net/?chan=htc-linux
16:00.57BabelO_miknix: ho, at bottom of this log
16:01.22miknixBabelO, revertive found the chip addresses for controlling the vibrator, leds, screen brightness...
16:02.30miknixBabelO, http://linwizard.wiki.sourceforge.net/I2C
16:04.13cr2BabelO: 1-2 years of experiences in devices testing (IOT & GCF)
16:07.31cr2BabelO: so TRACES work, but mmutrace not ? mmutrace is a better option. if it works ;)
16:54.39BabelO_cr2: for SPI tracing only TRACES works, but for i2c on artemis mmutrace works, but i did with 32 bit so i can not see register with +shift +2, that is why i use TRACES :)
17:01.53cr2ok.
17:02.15cr2but keep in mind that you can't trace the write-only cplds with TRACES
17:02.27cr2i've already had this problem on n560
17:56.52*** join/#htc-linux Marex (n=marex@vasut.kolej.mff.cuni.cz)
17:59.42excohave you seen the Sparkle's specs... nice!
18:02.30*** join/#htc-linux patoche (n=patoche@lns-bzn-55-82-255-139-217.adsl.proxad.net)
18:21.03*** join/#htc-linux surgex0 (i=surge@pool-71-186-234-216.bflony.fios.verizon.net)
18:27.56*** join/#htc-linux surgex0 (i=surge@pool-71-186-234-216.bflony.fios.verizon.net)
18:30.36*** join/#htc-linux marbalon (n=balon@aege110.neoplus.adsl.tpnet.pl)
18:35.00*** join/#htc-linux marbalon (n=balon@aege110.neoplus.adsl.tpnet.pl)
18:36.47*** join/#htc-linux kiozen (n=kiozen@rgnb-4db1da5e.pool.einsundeins.de)
18:37.04kiozenhi, survived :)
18:41.42BabelOlol
18:45.02kiozenthe only one that got burned was me
18:45.53kiozenBabelO: how is qgar going?
18:46.35BabelOkiozen: very good, i know all step now :)
18:46.49kiozenBabelO: even for my map?
18:48.29BabelOno, your map is impossible
18:48.35kiozenhehe :)
18:49.22BabelOi can try with last params i found
18:49.38BabelOlet me dl qgar for linux
18:51.11*** join/#htc-linux LunohoD_ (n=alex@e180072213.adsl.alicedsl.de)
18:51.18BabelOalways use tar tvzf before
18:52.25kiozenwonders what the 't' does
18:52.42majorburntable of contents
18:53.04kiozenah :)
18:57.15BabelOkiozen: how do you solve the cmake error about multiple version of qt found
18:57.44kiozenBabelO: I ignored it as the qmake path was right
18:57.52cr2hi kiozen
18:57.57kiozenhi cr2
18:58.35BabelOkiozen: ok good compiled
18:58.40BabelOnow commandline
19:00.48cr2BabelO: does it work like 'r.to.vect in=raster_thin out=raster_vect feature=line' ?
19:01.26cr2http://www.hpcc.nectec.or.th/grass/grass51/manuals/html57_user/r.to.vect.html
19:01.37BabelOcr2: not exactly, it ouput a dxf file with polyline
19:02.03BabelOcr2: wait i do one from scratch
19:02.14cr2i guess it still needs color separation ?
19:03.10*** join/#htc-linux revertive (n=revertiv@83.119.75.151)
19:03.43BabelOcr2: no :) i need grey level then ->binarize picture -> remove small connex -> skeletize ->hough ( to find lat / long lines ) -> vector
19:03.48BabelOcr2: that is what i do
19:04.11cr2yes, .pbm
19:04.12*** join/#htc-linux patoche (n=root@lns-bzn-55-82-255-139-217.adsl.proxad.net)
19:04.43cr2BabelO: do you have some output ?
19:05.08BabelOcr2: yes that is what i do just to show you, and you will like it
19:05.19BabelOcr2: also extracted symbols / word
19:05.28BabelObut not elevation lines
19:05.59BabelOcr2: do you build it on your computer ?
19:07.07cr2no, i'm digging through the sd cards, want to check the image for kiozen
19:07.35*** join/#htc-linux wireddd (n=wired@unaffiliated/wireddd)
19:09.10*** join/#htc-linux kiozen_ (n=kiozen@rgnb-4db1d8e8.pool.einsundeins.de)
19:13.32excoif I only geht the taskbar icons in OM an the rest is black... where should I start looking?
19:19.22cr2kiozen_: 512MB miniSD card found.
19:19.47kiozen_cr2: that should be enought for my fat rootfs
19:23.05cr2mke2fs -m0 -j
19:23.54cr2tar xfvj /tmp/LOOX_QT_SD.tar.bz2
19:25.07cr2hm. has /mnt
19:25.36kiozen_hmhm
19:25.44BabelOcr2, kiozen : demo http://linuxbox2.free.fr/demo-maps.tar.bz2
19:27.01cr2kiozen_: lol
19:27.05cr22036 -rw-------   1 root root 2338816 22. Okt 2007  core
19:27.36kiozen_it got everything you need :)
19:29.29cr2ok, umounting. will take some time.
19:30.23cr2done
19:30.43cr2copying linload.exe
19:30.51cr2hmm. i have 1 partition on SD
19:31.02cr2need to recompile linload.exe
19:32.37*** join/#htc-linux goxboxlive (n=goxboxli@208.84-48-176.nextgentel.com)
19:32.40kiozencr2: didn't we agree to have no partition?
19:36.33cr2hmm
19:38.27kiozencr2: what was that partition command again for no partition?
19:39.01*** join/#htc-linux JohnnyK (n=johnnyk@area1-132-gw.hkfree.org)
19:39.37cr2/dev/sdb ist ein vollständiges Gerät, nicht nur eine Partition!
19:39.37cr2Trotzdem fortsetzen? (y,n) y
19:40.06cr2command ?
19:40.26kiozencr2: it was fdisk something
19:41.11cr2mke2fs -j -m 0 /dev/sdb
19:41.38kiozenah, ok
19:50.53kiozencr2: problems?
19:51.49cr2unknown partition table :)
19:52.10cr2no soundcard found :(
19:52.17*** join/#htc-linux diogene31_ (n=rj@mur31-2-82-243-122-54.fbx.proxad.net)
19:52.27cr2going out
19:56.15cr2ok, everything works as expected.
19:56.53kiozencr2: ok thus it's loadlin ->  M without any interaction?
19:57.25cr2hehe. doesn't wakeup.
19:57.59kiozencr2: and SD card preparation can be done like http://pastebin.ca/1011010
19:58.06kiozenwakeup?
19:58.32cr2did soft+power
19:58.39cr2it's probably confused.
19:59.16cr2because the zimage is in the wince space, but my wakeup handler overwrites one 4byte area that it expectes to see.
20:00.05cr2cd /mnt ,not cd /
20:00.26cr2then cd /mnt
20:00.33cr2mv mnt mnt.old
20:00.34kiozencr2: but the archive has mnt as root
20:00.39cr2cd mnt.old
20:00.42cr2mv * ..
20:00.55cr2ok, that's what i've done
20:01.39cr2then you need to copy linload-n560-0.exe to the G4 flash from some other SD card
20:01.48cr2insert the linux SD card
20:02.01cr2wince will whine that it wants to format it.
20:02.15cr2soft reset
20:02.23cr2run linload-n560-0.exe
20:02.50kiozenwhat is the softreset for?
20:03.08cr2just to be sure.
20:03.36cr2if it will hang on boot (in haret), then softreset too. with the stylus
20:03.36kiozenok, close all windows and restart
20:04.18cr2we will teach haret to shutdown all devices properly
20:05.13kiozenok, let's see if I am lucky tomorrow :)
20:05.14cr2at least with linload the script should disable the devices with haret commands.
20:05.23cr2ok. sending you the linload.*
20:05.38cr2so it work for me on a clean test.
20:06.38cr2BabelO/goxboxlive have a .cab approach to run linux without reformatting the SD, but it's rectainly slower, and for demo purposes only
20:06.50cr2since you know how to format anyway :)
20:07.01kiozencr2: the ip is 192.168.1.20
20:07.39kiozenand the command to init tcp via usb was :
20:07.53kiozenifconfig usb0 192.168.1.21
20:07.55kiozenright?
20:08.35cr2kiozen: sent
20:08.43cr2where ?
20:09.13kiozenok got it
20:09.27kiozenifconfig on the pc side
20:09.55kiozenand 192.168.1.20 is loox IP right?
20:10.21cr2btw, if you change the script to link /dev/gps to /dev/ttyUSB0, you can attach 60CSx :) with external power.
20:10.46cr2hmm. have not tried for some time
20:10.57kiozenok we do that on the next demo :)
20:11.16cr2it's easier to attach the USB keyboard instead messing with usbnet
20:11.28cr2the keyboard does not need external power.
20:11.44kiozenno usb keybord here, let's hope I will not need it
20:12.24cr2think of the the sparrows
20:12.24kiozenok thank you cr2. I will report on Frieday
20:12.31kiozenlol
20:12.32cr2got the .exe ?
20:12.35kiozenyes
20:12.38cr2ok
20:12.54cr2BabelO: xda-dev not available ?
20:13.18cr2kiozen: good luck. as i've said, it works for me(tm) on clean install
20:13.22BabelOcr2: no
20:13.50kiozencr2: will (must ) work ;), need some sleep now, the kids exausted me :) and it will get late tomorrow
20:13.54kiozencu
20:13.56cr2BabelO: don't know which cam arte uses
20:14.05cr2good night
20:14.48BabelOah, pfiou cr2, was surprise that you say good night at 22h00 :)
20:15.02BabelOcr2: no, i ve few problem tracing data
20:17.25BabelOcr2: did you look at data i ll upload ?
20:18.50cr2which one ?
20:23.48*** join/#htc-linux aLeSD (n=alex@119.Red-88-19-11.staticIP.rima-tde.net)
20:25.17BabelOcr2: http://linuxbox2.free.fr/demo-maps.tar.bz2 the dxf file ?
20:29.00*** join/#htc-linux tuff (n=phil@tuffnatty.dialup.corbina.ru)
20:29.23cr2downloading
20:31.52cr2BabelO: do you have a "new" htc-egpio driver for arte ?
20:32.21BabelOcr2: yes, but can not boot 2.6.25 to this state
20:32.23cr2imho it's a good idea to mirror the xda-dev wiki pages to hh.org
20:32.41cr2is it a 2.6.25 fault ?
20:33.15cr2pH5 can boot magician, so i guess athena/n560 will boot too.
20:33.44cr2xda-dev is back
20:36.04*** join/#htc-linux zwox__ (i=zwox@par69-7-82-243-234-94.fbx.proxad.net)
20:37.46cr2pH5: are you here ?
20:41.02BabelOcr2: i don't know, i ll try with miknix patch, but it is a full omap patch, and does not work for me
20:41.35miknixBabelO, miknix patch?
20:43.03BabelOmiknix: yes
20:43.45miknixBabelO, the diff against linwizard MMC tree?
20:44.12BabelOyes
20:44.18cr2miknix: does it correlate with I2C wiki page ? http://wiki.xda-developers.com/index.php?pagename=WizardCPLD
20:45.35BabelObut i m like pH5, i prefer to  use real mainline and not the full omap in mainline, so i try to separate things
20:45.35miknixBabelO, you can also fetch master branch from linwizard repo. this way will be less prune to mistakes. Master branch is currently working for everyone in linwizard
20:46.05miknixBabelO, we also use linus mainline
20:46.30miknixBabelO, we dont merge with mvista a long time ago
20:49.10miknixrevertive, http://wiki.xda-developers.com/index.php?pagename=WizardCPLD
20:50.38miknixcr2, hum.. dont find any correlation between those
20:51.11revertivemiknix: i found it this afternoon
20:51.21cr2BabelO: i think you can achieve better results with proper color separation
20:51.42miknixrevertive, the wizard cpld?
20:51.52cr2revertive: that's what htc uses
20:52.07revertivemiknix: yes i searched the web and found that
20:52.25cr2revertive: somehow i doubt that the cpld uses multiple addresses
20:52.48cr2i need to check which register is used for i2c data transfer
20:53.15revertivecr2: a ok ill try to play with haretconsole and see what i can find
20:53.26excohello paulproteus
20:53.50paulproteusexco, Hey now.
20:54.21BabelOcr2: yep i know, just need to find something to do it
20:54.35cr2revertive: do you know which cam is used by wiza ?
20:54.35excoso... as 'expecet' I ran into the same problem building ... nonetheless... I asked around in OE and got a solution
20:54.38BabelOcr2: but my binarize is done quickly
20:54.45excoexpected I mean
20:54.53paulproteusexco, Oh, great!
20:55.20exconow I made it past 658... but it's gonna take some more hours till completion (if there's no other problem)
20:55.23paulproteusBTW, I no longer believe the OpenMoko phone stack is ready for daily use - apparently it still silently disconnects GSM  after a while.
20:55.26BabelOcr2: i2c on artemis with mmutrace http://pastebin.ca/1011074
20:55.27revertivecr2: no
20:55.37paulproteusBut we should try it, and then try building a Qtopia phone stack too.
20:56.06BabelOcr2: for camera, so always sam trace, this is good
20:56.11excomine doesn't... but the phonestack or implementation aren't finished
20:56.12cr2revertive: you may mmutrace the whole page, and then sort out the spamming addresses
20:56.44miknixcr2, but what is the problem with the i2c addresses dumped by revertive ?
20:57.57BabelOcr2: does this match the camera pdf from yesturday ?
20:58.48paulproteusexco, http://lists.openmoko.org/pipermail/device-owners/2008-May/001622.html fwiw
20:58.49cr2miknix: i don't like the multiple i2c_ids
20:59.04excoif you update your OE - you should get an error msg when trying to build informing you about setting  /proc/sys/vm/mmap_min_addr to 0 - if you want to try again, paulproteus
20:59.18cr2BabelO: i need to filter out IE and such spam first
20:59.20paulproteusexco, Oh, awesome, thanks. (-:
20:59.58BabelOcr2: some spam ? humm where :)
21:00.13cr2in your list
21:00.51cr2<PROTECTED>
21:00.57excoalso I was able to upgrade the other OM image (daily) and boot... talk to you about that later if you're still on or tomorrow... gotta go eat now.
21:02.11cr2BabelO: you have e5,e6 e7 there
21:04.59cr2BabelO: i2c can use dma on omap ?
21:05.55BabelOcr2: yes i check
21:06.22cr2BabelO: btw, what about the clocks ?
21:06.39cr2ick and fck.
21:06.46cr2are they the same on omap850 ?
21:06.56BabelOcr2: this is my big issue now :) clock settings 400Khz or 100Khz
21:07.02cr2i have only the hh.org tree there, and look at the driver there.
21:07.12cr2BabelO: check with haret
21:09.59cr2BabelO: this clock stuff look strange there. only looking at .asm and haret can help
21:10.06BabelOcr2: nothing about dma
21:10.27BabelOcr2: ok i need clock register
21:10.43cr2/* I2C Buffer Configuration Register (OMAP_I2C_BUF): */
21:10.44cr2#define OMAP_I2C_BUF_RDMA_EN    (1 << 15)       /* RX DMA channel enable */
21:10.44cr2#define OMAP_I2C_BUF_XDMA_EN    (1 << 7)        /* TX DMA channel enable */
21:11.29BabelOcr2: yes but not use in driver
21:11.46cr2ok.
21:11.51cr2used by wince ?
21:12.40cr2you may dump all the regs with pd.
21:13.27BabelOcr2: nothing to see wioth pd
21:13.51cr2?
21:14.02BabelOcr2: only 0x0
21:14.15BabelOfor i2c registers
21:14.49cr2hmm.
21:14.49*** part/#htc-linux tuff (n=phil@tuffnatty.dialup.corbina.ru)
21:14.52cr2spl
21:14.57cr2:)
21:15.26cr2fcking undocumented and crippled cpus ;)
21:15.52cr2i really have no idea why anybody will use omap instead of pxa.
21:19.27miknixcr2, does Intel have a development branch for pxas?
21:20.04cr2no, they sold it to marvell
21:20.23cr2but it was always the best documented arm cpu i know.
21:21.17BabelOcr2: so camera is unknown for you, i can do a nicer dump, from power on
21:22.31cr2miknix: testaddr,data
21:23.06cr2BabelO: ok, you may limit it to 0x0e
21:23.32miknixcr2, I'm almost finishing my work. I'll be back dumping i2c in no time
21:23.46BabelOcr2: really ? shit, i restart :)
21:24.46miknixfuc!##$%%&! submission form!!
21:26.06cr2<PROTECTED>
21:26.06cr2<PROTECTED>
21:26.33*** join/#htc-linux infernixx (n=nix@unaffiliated/infernix)
21:27.52cr20x84 - 0x1f000
21:28.22cr2fffe1084
21:28.45cr2bic 0xff
21:29.11cr20xfffe1084   OMAP730_IO_CONF5
21:30.10cr22 4 10 14 18
21:30.31cr20xfffb3802   OMAP_I2C_IE_REG
21:30.31cr2<PROTECTED>
21:30.40BabelOcr2: dumped and sent :)
21:30.42cr20xfffb3810   OMAP_I2C_SYSC_REG
21:30.52cr20xfffb3814   OMAP_I2C_OA_REG
21:30.54BabelOcr2: only register from 0x0 to 0xe
21:31.04cr2<PROTECTED>
21:32.06cr2BabelO: ok
21:32.31BabelOcr2: and clean dump :)
21:33.19cr2it's nonobvious because of strh
21:33.54miknixBabelO, cr2 the registers on i2c-omap are wrong?
21:34.14cr2miknix: ?
21:34.38cr2i just can't keep all the names in mind.
21:34.51cr2and they are accessed by offset
21:34.57cr2in wince
21:35.00BabelOmiknix: yes wrong, it is +2 shift register , not 4 on omap850
21:35.09miknixBabelO, yes, I have that fixed
21:35.20cr2so you can't just sed them
21:35.22darkerror05I wish I could know what you guys talk about
21:35.30darkerror05someday...
21:35.38majorburn<PROTECTED>
21:35.52miknixyou were pasting OMAP_I2C_* here, I though they were wrong
21:36.01cr2BabelO: 079c1b10 addr2mod ?
21:37.05miknixcr2, BabelO ok. I have time now to do some dumping. what do you want me to do?
21:37.08cr2BabelO: btw, only e0 repeats in your dump
21:37.59darkerror05Quick question, anyone working on a better htcuniversal WIFI driver?
21:38.03BabelOcr2: htc_lib.dll
21:38.07cr270
21:38.31cr2hmm. S5K3BAFB is 0x5a
21:38.45BabelOmiknix: dump your i2c with haret
21:39.02BabelOcr2: :( so easy
21:39.27miknixBabelO, I have i2ctools and i2c working on linux. dont want me to dump it from there?
21:40.00BabelOmiknix: no, with haret you have real dump and you can know what is connected on other side
21:40.53miknixBabelO, but we know what is connected to the other side :p
21:41.19darkerror05no
21:42.24cr2miknix: i think the i2c_id for cpld is 1.
21:42.41miknixcr2, it is
21:42.42BabelOmiknix: no maybe there is more than cpld and you need cpld adress
21:42.49cr2from your earlier dumps and other things.
21:43.25miknixcr2, I suspect some address/id representation is wrong on the i2c wiki
21:43.56miknixBabelO, I suspect there is the cpld and the dpad controller
21:44.17cr2miknix: can you dump the i2c address space for id 1 ?
21:44.24miknixcr2, yes
21:44.25cr2all registers
21:44.26cr2ok
21:44.28excorehi paulproteus
21:48.18excothe link you sent (snapshot review) should have nothing to do with our GSM problem since we're using a way older image
21:51.21paulproteusexco, Sure, but I seem to have found myself with that problem.
21:51.27paulproteusPlus when we build a new image we may have that problem.
21:52.09excoyes
21:54.22*** join/#htc-linux rmoravcik (n=rmoravci@ip-89-102-255-171.karneval.cz)
21:54.27excothe thing is ... the GSM stuff doesn't seem to be fully implemented anyways (no signal bars, no sms, ...)
21:56.03paulproteusnods
21:56.23excoit seems I need a faster machine for building those images (task 9xx of 4xxx)
21:56.40paulproteusexco, If you want I can give you a shell on my server with a Core 2 Duo.
21:56.48paulproteusThe only problem is that it's in Japan, so download speeds might not be great.
21:56.59paulproteus(and 4G of RAM)
21:57.16excoyou have a server in JP or are you in JP?
21:57.35paulproteusI'm in the US, but my personal server is in JP in my friend's colo space.
21:57.44paulproteusYou can test that by downloading wide-rose.makesad.us/~paulproteus/100-mb (or rose.makesad.us/~paulproteus/100-mb ).
21:59.00excodownspeed is about 33k
21:59.10paulproteus(Same machine, but it has two ISPs; one may be faster for you.)
21:59.58paulproteusIf that's okay with you, just paste me an SSH public key and I'll give you an account.
22:00.19paulproteusObviously be nice, and if you find root exploits or other bad things, let me know rather than using them.
22:00.38excoactually it went up to 120k second one is 700k
22:00.41paulproteusHeh.
22:01.32excowell the link to the first file is 120KByte/s the other one 70KByte/s
22:01.43exco700
22:01.47darkerror05What devices are you all working with?
22:01.52paulproteusdarkerror05, Magician for me.
22:02.05excodarkerror05: me too (magician that is)
22:02.10miknixLOL
22:02.27miknixmy wizard screen is flashing
22:02.29darkerror05Anyone use the Universal anymore?
22:02.44miknixkeys are flashing
22:02.48paulproteusdarkerror05, Yeah, I have one, and tsdogs and a few others are using it.
22:02.48miknixbut still dumping
22:04.02darkerror05I bought one off ebay.  It is in crappy condition.  The back-camera doesn't work, the speakers work 50% of the time, and the simcard clip is missing(but the contacts are still there)
22:04.08*** join/#htc-linux dcordes (n=dcordes_@unaffiliated/dcordes)
22:04.14darkerror05I wish I had the money for a new one
22:04.22paulproteusdarkerror05, WHOA!
22:04.24paulproteusRochester.rr.com!?
22:04.25paulproteusNice!
22:04.30darkerror05yeah why?
22:04.35darkerror05rochester NY
22:04.35paulproteusI'm from there. (-:
22:04.38paulproteusWhere are you exactly?
22:04.40darkerror05Orlu?
22:04.42dcordeshi
22:04.43darkerror05orly even
22:04.54paulproteusA year ago I moved to San Francisco, but my parents still live there.
22:05.03paulproteusI'm sure I'll be back in the next month or two for a long weekend.
22:05.16darkerror05I was thinking about doing the same thing later
22:05.31darkerror05did you ever go to LUGOR?
22:05.41paulproteusI never did, but I'm on the lists.
22:05.48darkerror05same here
22:06.02darkerror05(can't drive myself yet so never seem to be able to make it)
22:06.06paulproteusnods
22:06.13paulproteusAre you in high school?
22:06.17miknixcr2, BabelO http://pastebin.com/d543935b0
22:06.17darkerror05yup
22:06.20paulproteusCool - whereabouts?
22:06.25paulproteusI went to Brighton, graduated 2002.
22:06.26darkerror05hence the lack of money to buy a new Uni
22:06.29cr2BabelO: si470x ?
22:06.37darkerror05Hilton I graduate 2010
22:07.18paulproteusCool - you guys had a good Model UN team, but we were even better. (-:
22:07.28BabelOcr2: wait i check it over wifi, i hope it works
22:07.28darkerror05You people can really read all of that, is it hex?
22:07.48paulproteusexco, Lemme know if you want that account.
22:07.52darkerror05lol well we had Mr. Philips and he RAN UNAR so HA!
22:08.02paulproteus(-:
22:08.07darkerror05small world
22:08.13paulproteusSomething like that. (-:
22:08.16cr2BabelO: http://www.silabs.com/public/documents/tpub_doc/dshort/Broadcast/Radio_Tuners/en/Si4700_01_short.pdf
22:08.29BabelOmiknix: look like random
22:08.37excoI'm reading up on creating an ssh key ... hell yeah
22:09.11darkerror05Does anyone know of someone who has a Uni with maybe a broken screen or something I could get cheap(or free)
22:09.12cr2BabelO: i2c controlled ?
22:09.14paulproteusexco, Should be as easy as ssh-keygen
22:09.34paulproteusdarkerror05, The one you bought - is it not usable?
22:09.50darkerror05oh it is usable and i love it to death
22:10.04darkerror05but if I want to use it for I phone i would need to tape the simcard in
22:10.09paulproteusdarkerror05, Ah-hah.
22:10.16darkerror05and the good camera is broken
22:10.26darkerror05(ebay screwed me)
22:10.30paulproteusI broke my SIM card holder on my Neo1973 and I was holding the SIM in with a business card.
22:10.36paulproteusWell, a little cut piece of one.
22:10.40darkerror05noice
22:10.48darkerror05I THINK this device was stolen
22:11.12darkerror05because the condition was terrible and stuff was missing from the box
22:11.17miknixBabelO, does it use smbus or is it only i2c?
22:11.21cr2BabelO: 4701 has RDS
22:11.32darkerror05no charger or cable, luckly I had a USB that fit
22:11.39paulproteusdarkerror05, It's possible the old owner just was careless.
22:11.48darkerror05could be
22:12.01cr2BabelO: http://www.silabs.com/tgwWebApp/public/web_content/products/Broadcast/Radio_Tuners/en/Si4700-01.htm
22:12.18darkerror05also the headphone jack is messed up so that I need to pitch the case to get it to notice that the headphone is no longer in(aka play out of the speakers)
22:12.43cr2BabelO: The Si4703/05/06/09 incorporate a digital processor for the European Radio Data System (RDS)
22:13.42cr2BabelO: this one is good: http://www.silabs.com/public/documents/tpub_doc/dsheet/Broadcast/Radio_Tuners/en/Si4702-03-C19.pdf
22:14.42BabelOcr2: i cannot access artemis over wifi since few days now, i think new security on router
22:15.21cr2drivers/media/radio/radio-si470x.c
22:16.18BabelOcr2: nk is clear for fm
22:16.32cr2http://cateee.net/lkddb/web-lkddb/USB_SI470X.html
22:16.38cr2this one is for usb
22:16.47cr2the chip has sdio interface too
22:17.05cr2htc_lib has an i2c hook in the fm driver
22:18.01excothat was odd... ssh-keygen doesn't generate files if I enter a desired filename...
22:18.47cr2BabelO: hmm. goes over devioctl, need to find the dev name
22:18.47excoso you ned the pub file, paulproteus or the fingerprint it gives after creating the files?
22:18.47dcordescr2, I can't try AT because I don't get a device node for it on kais
22:18.47paulproteusexco, The .pub file - put it in a pastebin
22:18.57excohttp://pastebin.com/m75287b2e
22:19.31BabelOcr2: good
22:19.36paulproteusexco, Username?
22:19.37BabelOcr2: two good news :)
22:19.46BabelOcr2: first is that fm is on i2c too
22:20.09BabelOcr2: second is that  wifi sdio have power enhancement :)
22:20.46BabelOcr2: few second and i send you the log :)
22:20.48BabelOunlog
22:21.08cr2ok.
22:21.18excoyou need mine, or I can choose?
22:21.28cr2BabelO: fm is i2c controlled
22:21.37paulproteusexco, You can choose what username you want to use.
22:21.54excoexc or excogitation or whatever you want :-)
22:22.10dcordescr2, are you familiar with smd_tty.c?
22:22.15excobuild didn't make it past 999 http://pastebin.com/m22043c9e
22:22.49paulproteusexco, Bingo - ph5 told me how to address that, just one sec.
22:22.55cr2BabelO: no i2c here http://www.linuxhq.com/kernel/v2.6/25-rc6/drivers/media/radio/radio-si470x.c
22:23.34dcordesexco, you lack the initramfs-image
22:23.42paulproteusexco, Okay, you can SSH to rose.makesad.us.
22:23.46excopaulproteus: that's 341+ if we can average that per build... we need another 12 runs *hope not*
22:24.05BabelOcr2: mail sent :)
22:24.25cr2BabelO: 45 and 7c. radio power/reset there ?
22:24.54BabelOsorry , where 45 / 7c ?
22:25.53BabelOcr2: usb key can embbed an i2c chipset encapsulation :)
22:26.22cr2yes.
22:26.26cr2gpio
22:26.47cr2can't access xda-dev again
22:26.54miknixcr2, aha!
22:26.59miknixcr2, found something
22:27.05paulproteusexco,  ANGSTROM_MODE=uclibc bitbake initramfs-bootmenu-image
22:27.07paulproteusexco, Do that first.
22:27.10miknixcr2, watch -n 1 i2cget -y 1 0x10
22:27.17excopaulproteus: ssh works ... I can't even rename the keyfiles? (I could only create without choosing a filename)
22:27.25miknixcr2, it gives 0xff
22:27.41miknixcr2, when I press the dpad it gives 0xef
22:27.52paulproteusexco, It's strange but I'm too busy to care about that right now. (-;
22:28.31excothat command, paulproteus - just anywhere in local.conf?
22:28.33*** join/#htc-linux p3t3r__ (n=p3t3r__@wlan.net-you.de)
22:28.36paulproteusexco, No - I mean, you should actually bitbake that.
22:28.37paulproteusOn the command line.
22:28.42paulproteusNo local.conf changes necessary.
22:29.26cr2miknix: that's good.
22:29.59miknixcr2, i2c bus 1 from addr 0x04 to at least 0x10 is dpad
22:30.03revertivecr2: i have haretconsole working over wifi now, where should i start i never used it before
22:30.05miknixcr2, shift is 2
22:30.09cr2BabelO: the si470x driver is very recent
22:30.28miknixcr2, dpad down gives 0xef dpad up gives 0xdf
22:30.31cr2miknix: nice. compare it with the wizardcpld list
22:32.11excopaulproteus:  instead of the openmoko-devel-image?
22:32.47cr2BabelO: write an e-mail to the usb driver authors and ask them about i2c.
22:32.59paulproteusexco, Right - you have to build the ulibc image before openmoko-devel-image will work.
22:33.06BabelOcr2: is it ok with the dump ?
22:33.07paulproteusFeel free to start this up on rose instead.
22:34.00excois OE already installed?
22:34.09BabelOcr2: you should see the chip id with my dump
22:35.20paulproteusexco, Nope, you can enjoy setting it up in your $HOME there. (-:
22:35.27cr2BabelO: no 0e reg there.
22:36.33excopaulproteus: I will... within the next days. (looks like an amd not c2d btw)
22:36.43paulproteusmodel name: Intel(R) Core(TM)2 CPU          6400  @ 2.13GHz
22:36.47paulproteusFrom /proc/cpuinfo
22:37.01paulproteusexco, Yes, no hurry, I've been too busy to help much so I don't mind if you are also busy!
22:37.24exco2.6.18-6-vserver-amd64
22:37.45BabelOpaulproteus: :b Intel(R) Core(TM)2 Quad CPU    Q6600  @ 2.40GHz  x 4
22:37.51paulproteusBabelO, Nice.
22:38.38paulproteusexco, amd64 is the name for the x86-64 architecture in the kernel.
22:38.50paulproteus"x86-64 was designed by AMD, who have since renamed it AMD64. It has been cloned by Intel under the name Intel 64 (formerly known as EM64T among other names)" <http://en.wikipedia.org/wiki/X86-64>
22:39.06excogasps
22:39.11cr2BabelO: i don't see i2c in the datasheet
22:39.31excopaulproteus: nice history lesson :-P
22:39.45cr2BabelO: but there are 3 gpios
22:41.59cr2BabelO: ok, they speak about 2-wire and 3-wire control
22:42.05*** join/#htc-linux JEEB (n=kanakana@a88-112-94-153.elisa-laajakaista.fi)
22:42.14excopaulproteus: what I wanted to ask - if I only get the top panel in OM (updgraded image using daily http://de.pastebin.ca/1010621) how can I restart the window manager using ssh, or can I restart the today plugin or ...
22:43.03BabelOcr2: yes there are two modes
22:43.31cr23-wire looks like i2c + _cs ;)
22:43.52miknixcr2, this is strange
22:43.56dcordesexco, did you successfully build an openmoko image?
22:44.02BabelOcr2: yes it is this chip, cause of the band select :)
22:44.13cr2chipaddr 0110
22:44.29miknixcr2, i2cget -y 1 0x04 0xfa b   turns off the keyboard light
22:44.34cr23 ?
22:44.39miknixcr2, i2cget -y 1 0x04 0xff b  turns on everything
22:44.59cr2miknix: compare with the wizardcpld, maybe you'll see some pattern
22:45.54miknixcr2, but how is it possible that when getting a i2c value it does some hw operation?
22:46.06miknixcr2, I'm not writing..
22:46.34cr2BabelO: the regs are documented.
22:46.50paulproteusexco, I'm not sure actually.  Maybe #openmoko could answer.
22:47.07excodcordes: no, not yet, but I think I'm getting there
22:47.15cr2miknix: it sends a command to read the register
22:48.57excowhat I'm doing on the side is trying to upgrade an existing one from december using ipkg and changing the "repos" ... partially works
22:49.16cr2BabelO: i think that if you'll apply the right gpio/cpld power,reset you'll be able to talk to it properly. write an e-mail to the usb driver authors.
22:49.55excopaulproteus: so this is actually the htc research channel?
22:50.20paulproteusPretty much, yeah.
22:50.26BabelOcr2: ok, but i need to have a running i2c driver before ;)
22:50.27paulproteusBut it's also help for HTC Linux users.
22:50.44cr2BabelO: ok.
22:50.56cr2BabelO: ok, so this problem is solved too :)
22:51.10*** join/#htc-linux Marex (n=marex@85-132-216-250-eth3-gwfm10-user.802.cz)
22:51.23BabelOcr2: yes :)
22:51.42BabelOcr2: that s new, it seem that wifi power in low mode,
22:51.47excopaulproteus: what is your impression of the image from in dec ? what do you expect from the new one? what next?
22:51.54BabelOcr2: cause that device is not accessible from outside
22:52.50cr2strange. is the antenna so bad ?
22:53.19cr2probably they 've reduced the power output to reduce the SAR value
22:53.42*** join/#htc-linux mistadman (n=mistadma@adsl-250-200-79.msy.bellsouth.net)
22:56.54cr2good night.
22:57.14BabelOcr2: good night
22:59.30Marexhttp://www.linuxdevices.com/news/NS7548149165.html
22:59.33Marexpukes
22:59.46Marexcr2, oyasumi ;)
23:13.15miknixBabelO, I really wanted to help.. But I'm lost with this
23:13.36BabelOmiknix: with what ?
23:14.03miknixBabelO, so to communicate with the cpld we read i2c addresses?
23:14.05BabelOmiknix: can you post your zImage please :)
23:14.41miknixBabelO, sure: http://miknix.homelinux.com/linwizard/dev/Image-nfsroot.bz2
23:15.00BabelOmiknix: i2c-get mean, write to i2c send buffer for a given chip asking a given register
23:15.12BabelOmiknix: and it reply the good thing :)
23:15.42BabelOmiknix: is it your kernel also or just nfsroot?
23:15.49BabelOi ve my own
23:16.09miknixBabelO, is the mmc kernel with nfsroot support. it also has i2c
23:16.27miknixBabelO, so this isnt really "i2c" right?
23:16.45BabelOmiknix: it is i2c
23:17.20miknixBabelO, so the cpld does things according to the requested register?
23:17.36BabelOmiknix: yes
23:18.13BabelOdifference between i2c and spi is that i2C have only one line data for read /write, only one thing at a time
23:18.25BabelOspi is shift bit
23:18.49BabelOwhen you want to read on spi bus you need to write on output line to get input data for exemple
23:19.01miknixBabelO, ok. and do you know why all the registers returns the same? I mean, if I press dpad down why all registers returns 0xfe?
23:19.03BabelOso most driver send fake data
23:19.32BabelOmiknix: why you say all register?
23:19.50BabelOmiknix: look at actual cpld driver,i2c should do same
23:19.55BabelOon cpld
23:20.08BabelOyou need to tell the chip which gpio bank you need to activate
23:20.13BabelOand then whcih gpio
23:20.35BabelOso you need to send 2 write to two register for exemple
23:20.40BabelOi just suppose how it works
23:20.50miknixBabelO, hum..
23:22.08*** join/#htc-linux skodde (n=skodde@unaffiliated/skodde)
23:22.12revertiveBabelO: so CPLD isnt the same as I2C?
23:22.42BabelOrevertive: CPLD is a chipset connected on the i2c bus in your case
23:22.56BabelOfor me cpld is mmpaed in memory
23:23.17BabelOso i can access all register directly into  memory
23:23.29miknixhum..
23:24.36miknixBabelO, and why all addresses returns the same value?
23:24.39miknix0xefdpad down
23:24.39miknix0xbfdpad up
23:24.39miknix0xdfdpad left
23:24.39miknix0x7fdpad right
23:24.39miknix0xf7dpad enter
23:25.53BabelOmiknix: what command did you use
23:26.07BabelOmiknix: and what adress is the dpad on i2c
23:26.44miknixBabelO, i2cget 1 [0x04-0x76] [doesnt matter] c   # all returns the same value
23:27.04miknixnot "c", it is "b"
23:27.54BabelOmiknix: so you ask on  i2c-1 bus any chipset ?
23:28.11miknixBabelO, yes
23:28.38miknixall returns the same
23:28.58miknixand the same value for the corresponding pressed key
23:30.06BabelOmiknix: so the chip on bus 1 does not check his ID, maybe a htc self made like kevin2 found on hermes
23:30.32miknixso we only have a chip then
23:31.00miknixK
23:31.15miknixwhat about all the addresses? why they all return the same value?
23:33.59BabelOmiknix: normally each i2c chip on a bus have its own adress ID, but the chip you have on this bus seem to answer to every ID, i m looking for kevin2 input driver
23:38.19Marexwoohoo ... obscurness :)
23:38.55miknixBabelO, well.. if I only have to attach my driver to the bus and do some polling while reading some address
23:39.01miknixBabelO, I can do the driver
23:40.40BabelOmiknix: yes and not need polling i think, there is a i2c key driver somewhere
23:40.45BabelO~ping Kevin2
23:40.46aptpong Kevin2
23:41.07miknixBabelO, thats easy then
23:42.13miknixBabelO, I think I'm going to implement a standard joydev instead of standard input
23:42.28miknixBabelO, what do you think?
23:43.04BabelOmiknix: no it is a standard input
23:43.30miknixBabelO, I can export it to userspace as whatever we want
23:44.36*** join/#htc-linux patoche (n=root@lns-bzn-32-82-254-51-4.adsl.proxad.net)
23:44.48miknixBabelO, also, only the dpad below the screen returns values on i2c. The directional keys on the qwerty kb they dont work
23:48.54BabelOmiknix: think generic for other people who have prophet or so
23:49.35miknixBabelO, IMHO a joystick device ( /dev/js0) would be nice
23:49.50miknixxorg handles it very well. and is cool for scrolling pages
23:50.11BabelOmiknix: all other pda have keypad direction as standard input not jsx
23:50.25miknixlol
23:50.28miknixok
23:51.21excopaulproteus: can I update monotone on rose?
23:51.32paulproteusexco, No, but I can, just a sec.
23:55.35Kevin2BabelO: pong
23:55.57excobad news, paulproteus -  ANGSTROM_MODE=uclibc bitbake initramfs-bootmenu-image
23:55.57exco<PROTECTED>
23:56.29paulproteusexco, Yippee.  Paste?
23:56.31BabelOhi Kevin2
23:56.53BabelOKevin2: i m looking for the driver you use with your bbkey bitbang ?
23:58.07Kevin2BabelO: http://git.linuxtogo.org/?p=groups/mobile-linux/kernel.git;a=blob;f=drivers/mfd/htc-bbkeys.c;h=9c1bec40ff9e6b7273f9f028a1ce1732f1193315;hb=refs/heads/work
23:58.29BabelOKevin2: thanks
23:59.40excopaulproteus: that's all I could get out of the console (http://de.pastebin.ca/1011233) - task 461

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