IRC log for #htc-linux on 20080511

00:42.47*** join/#htc-linux patoche (n=pat@lns-bzn-52-82-65-74-187.adsl.proxad.net)
01:35.23*** join/#htc-linux par (i=par@dipole.idlepattern.com)
01:36.10*** join/#htc-linux JohnnyK (n=johnnyk@area1-132-gw.hkfree.org)
03:01.37*** join/#htc-linux S^P (n=Masood@static-host119-30-95-214.link.net.pk)
03:13.28BabelOcr2: Angstrom image with qtopia run on HTC Artemis :) http://pastebin.ca/1014366
03:13.50BabelOcr2: tomorrow i ll try to add again htc-egpio with 2.6.26 :) that s cool !!!
03:13.53BabelOgood night
03:22.36*** join/#htc-linux S^P (n=Masood@static-host119-30-80-142.link.net.pk)
04:01.13*** join/#htc-linux S^P (n=Masood@static-host119-30-81-79.link.net.pk)
04:26.09*** join/#htc-linux swc|666 (n=swc|666@c66-235-5-56.sea2.cablespeed.com)
06:03.07*** join/#htc-linux S^P (n=Masood@static-host119-30-85-224.link.net.pk)
07:13.00*** join/#htc-linux rmoravcik (n=rmoravci@ip-89-102-255-171.karneval.cz)
07:13.34*** join/#htc-linux JohnnyK (n=johnnyk@area1-132-gw.hkfree.org)
07:49.57*** join/#htc-linux goxboxlive (n=goxboxli@208.84-48-176.nextgentel.com)
08:23.41*** join/#htc-linux dortega (n=David@238.Red-88-16-218.dynamicIP.rima-tde.net)
09:22.00*** join/#htc-linux ecze (n=ecze@eczema.ecze.com)
09:35.26*** join/#htc-linux exco (n=excogita@e181070227.adsl.alicedsl.de)
09:48.08*** join/#htc-linux Marex (n=marex@85-132-216-250-eth3-gwfm10-user.802.cz)
09:52.35*** join/#htc-linux pH5 (n=ph5@p5485EF13.dip.t-dialin.net)
10:00.50*** join/#htc-linux S^P (n=Masood@static-host119-30-95-219.link.net.pk)
10:12.25*** join/#htc-linux skodde (n=skodde@unaffiliated/skodde)
10:16.50*** join/#htc-linux patoche (n=Patrice@lns-bzn-52-82-65-74-187.adsl.proxad.net)
10:22.09*** join/#htc-linux okias (i=ejabberd@poseidon.kraja.cz)
10:23.02*** join/#htc-linux rmoravcik (n=rmoravci@ip-89-102-255-171.karneval.cz)
10:40.20*** join/#htc-linux fdasfasdf (n=Masood@static-host119-30-81-85.link.net.pk)
10:46.50*** join/#htc-linux rmoravcik (n=rmoravci@ip-89-102-255-171.karneval.cz)
11:01.19*** join/#htc-linux marbalon (n=balon@aegl126.neoplus.adsl.tpnet.pl)
11:25.04*** join/#htc-linux dcordes (n=dcordes_@unaffiliated/dcordes)
11:43.58*** join/#htc-linux BabelO (n=Fabrice@lun34-2-82-238-28-28.fbx.proxad.net)
11:48.19*** join/#htc-linux rmoravcik (n=rmoravci@ip-89-102-255-171.karneval.cz)
11:51.18*** join/#htc-linux dzo (n=dzo@121.98.128.127)
11:54.57*** join/#htc-linux techsolo (n=koen@amp89.ampersant.be)
11:55.10*** part/#htc-linux exco (n=excogita@e181070227.adsl.alicedsl.de)
11:56.40BabelOhi
11:56.56BabelOpH5: around ? :)
11:58.04techsolohi
12:19.02BabelOpH5: what does this mean :
12:19.04BabelOgpiochip_add: gpios 193..225 (htc-egpio) not registered
12:19.04BabelOgpiochip_add: gpios 257..281 (htc-egpio) not registered
12:31.47pH5BabelO: look at gpio_chip add in drivers/gpiolib.c
12:31.56*** join/#htc-linux miknix (n=miknix@81.193.88.108)
12:32.18pH5this error message (and -EINVAL) means that gpio_is_valid(..) returned false for the GPIO numbers you want to assign to htc-egpio
12:32.54BabelOpH5: yes that is what i was looking at
12:33.34BabelOpH5: ok I m tryng a different base, highter
12:35.36BabelOpH5: ok found the declaration :)
12:35.45BabelOpH5: #define ARCH_NR_GPIOS           256
12:35.49BabelOif no define
12:36.27pH5BabelO: what is the highest on-board gpio #?
12:36.43pH5s/on-board/cpu/
12:36.44BabelOpH5: according to wiki it is 191
12:37.18BabelOpH5: i set it to 193 because not sure about gpio0 , lol
12:38.19pH5BabelO: still, why does the first gpiochip fail? 225 < 256
12:40.57BabelOright :(
12:44.53miknixhey
12:44.56miknix011.386 IRQS    GIRQ3: IS76(172)=1
12:45.15miknixthe IRQ here is 76 right?
12:45.27miknix172 is just the haret numbering?
12:45.42BabelOmiknix: yes
12:45.51*** join/#htc-linux dcordes (n=guybrush@unaffiliated/dcordes)
12:45.56dcordeshi
12:46.19*** join/#htc-linux patoche (n=Patrice@lns-bzn-52-82-65-74-187.adsl.proxad.net)
12:46.25dcordesmarbalon, forget about what I said about the driver. it seems to be fixed now
12:46.25miknixBabelO, thanks
12:47.07BabelOmiknix: it is same than me
12:47.26marbalondcordes: grate, i have just finish jog wheel. so keyboard driver is done
12:48.34marbalondcordes: I also remap PAD_OK to KEY_BACK, we have other OK button on the pad_center
12:48.37dcordesmarbalon, cool. one question: Somehow I don't build touchscreen support with my config. What is the CONFIG I have to set for kaiser ts?
12:49.41marbalondcordes: obj-$(CONFIG_MACH_HTCKAISER) += board-htckaiser.o 7x00-irq.o tsc2003.o board-kaiser-keypad.o
12:49.59marbalonts driver is compiled if HTCKAISER is enabled
12:50.08dcordesI see
12:50.31dcordesobj-$(CONFIG_MACH_HTCKAISER) += board-htckaiser.o 7x00-irq.o tsc2003.o board-kaiser-keypad.o
12:50.43dcordeshm. but people in xda forum say they have no touchscreen with my latest build
12:51.06dcordesmaybe I miss a depency for tsc2003.c?
12:51.12dcordesdependency
12:51.33marbalonhmm. maye missing i2c ?
12:52.10marbalonmoment, I will try to run android with my newest zImage
12:52.16dcordesok good
12:52.25dcordesCONFIG_TOUCHSCREEN_SYNAPTICS_I2C_RMI=y
12:52.25dcordes# CONFIG_TOUCHSCREEN_TOUCHRIGHT is not set
12:52.25dcordes# CONFIG_TOUCHSCREEN_TOUCHWIN is not set
12:52.25dcordes# CONFIG_TOUCHSCREEN_UCB1400 is not set
12:52.25dcordesCONFIG_INPUT_MISC=y
12:52.26dcordes# CONFIG_INPUT_UINPUT is not set
12:52.28dcordesCONFIG_INPUT_GPIO=y
12:52.59dcordesCONFIG_I2C=y
12:52.59dcordesCONFIG_I2C_BOARDINFO=y
12:52.59dcordesCONFIG_I2C_CHARDEV=y
12:53.03dcordesCONFIG_I2C_MSM=y
12:57.20*** join/#htc-linux revertive (n=revertiv@83.119.75.151)
12:57.49marbalondcordes: hmm. ts don't work for me too :(
12:59.05dcordeslooks like we broke something.
12:59.29marbalonyes
12:59.41*** join/#htc-linux S^P (n=Masood@static-host119-30-86-186.link.net.pk)
13:07.34dcordesmarbalon, is this the first time you try TS with linuxtogo?
13:07.52dcordesmaybe I forgot to commit something
13:08.29marbalonyes, I often use angstrom image so I don't use TS for a long time
13:09.09dcordesyes same here
13:09.28dcordesmarbalon, is there anything not in arch/arm/mach-msm directory that is needed by tsc2003.c?
13:09.35dcordes(anything we changed)
13:10.52dcordesdid we modify anything in drivers?
13:11.17marbalondcordes: ts driver is not probed
13:11.32marbalonsomthing missing in our board file
13:11.46dcordesI'm looking at the board file at this moment
13:13.21dcordesmarbalon, tsc only is in i2c_board_info __initdata vogue_i2c_board_info[] struct
13:15.29marbalondcordes: I doon't sure but 229 line should be I2C_BOARD_INFO("kaiser-ts", 0x48),
13:17.26dcordesmarbalon, where does the value in the " point to? a file?
13:17.48marbalondcordes: I don't understand platform drivers but platform devices find drivers using names
13:17.56marbalondcordes: works for me now
13:19.18dcordesso you changed line 299 from "I2C_BOARD_INFO("tsc2003-ts", 0x48)," to "I2C_BOARD_INFO("kaiser-ts", 0x48)," ?
13:20.12marbalondcordes: commited and pushed to git ;)
13:20.28dcordesgreat
13:21.20marbalonhmm I get an error while pushing :(
13:21.29dcordesnot fast forward?
13:21.32marbalon<PROTECTED>
13:21.35dcordesok
13:21.50dcordesit is because I pushed a commit yesterday and you didn't have this
13:21.59marbalongit update ?
13:22.10dcordesso when you are not up to date and try commit you get this error. no you need to rebase
13:22.21dcordesthat will set your change on top of latest change
13:22.42marbalondcordes: git pull command ?
13:22.50dcordesa guy named shoragan explained it for me yesterday
13:23.33dcordestry "git fetch && git rebase origin/htc-msm"
13:23.42dcordesthen see in git log if my latest change is in
13:23.56*** join/#htc-linux exco (n=excogita@e181070227.adsl.alicedsl.de)
13:24.11marbalondcordes: I don't lose my changes ?
13:24.49dcordeshm don't know. I only had my commit changed when I rebased
13:27.01dcordesnot sure. better make backup
13:28.17marbalonI made backup, use git fetch... but still have a problem :(
13:29.42dcordesalso made the rebase?
13:30.34marbalondcordes: ok, use git pull and git push works fine but there is something went wrong, look into git
13:30.58dcordesok
13:31.00marbalonthere is a git gutu ???
13:31.05marbalon*guru
13:31.12marbalon??
13:31.24dcordesoops shit
13:32.18marbalonhow remove last commit/merge  ??? http://git.linuxtogo.org/?p=groups/mobile-linux/kernel.git;a=shortlog;h=refs/heads/htc-msm
13:32.43dcordespH5, ping
13:32.49marbalonthis commit  is empty
13:33.00dcordes13 min ago
13:33.01dcordesMarcin Baliniak
13:33.01dcordesfix ts driver
13:33.09dcordeslooks like you already committed it
13:33.15dcordesyet before the rebase
13:33.56marbalondcordes: Merge commit is empty
13:34.02marbalonts commit is good
13:34.13dcordesI don't know where this merge comes from
13:35.01*** join/#htc-linux CVirus (n=GoD@196.205.192.185)
13:35.44marbalonhmm, maybe I know http://pastebin.ca/1014726
13:36.18dcordesdamn why does pastebin.ca never work for me
13:36.28dcordesmarbalon, can you put it on rafb.net or so?
13:37.08marbalonrafdb.net don't work for me :(
13:37.57dcordesthen pastebin.com or something else
13:39.21marbalonhttp://baliniak.pl/android/error.txt
13:40.30marbalonloks like effect of "git fetch && git rebase origin/htc-msm"
13:40.43marbalonanother commit created
13:41.35dcordesno idea. let's wait for pH5 or so
13:42.00dcordesmarbalon, so now that keyboard is done what about sd? :)
13:43.09dcordesshoragan, ping
13:43.44marbalonyes, but now i should turn off comp, it is good weather here so best idea - go for a walk with my soon ;)
13:44.15dcordesgoing out is a good idea
13:45.02marbalonbbl, plese ask pH5 how to remove this dummy commit. thanks
13:46.15*** join/#htc-linux goxboxlive (n=goxboxli@208.84-48-176.nextgentel.com)
14:03.29*** join/#htc-linux JohnnyK_ (n=johnnyk@area1-132-gw.hkfree.org)
14:25.41*** join/#htc-linux aLeSD (n=alex@193.153.123.149)
14:29.35*** join/#htc-linux BabelO (n=Fabrice@lun34-2-82-238-28-28.fbx.proxad.net)
14:33.14miknixKevin2, hi
14:35.32miknixI'm trying to use request_irq() for registering an handler for IRQ 141
14:35.42miknixbut it fails with error -22
14:39.36miknixoh
14:39.37miknixI found
14:39.38miknixit
14:41.56miknixforgot to put GPIO_IRQ()
14:43.36Marexhehe :) that happens
14:44.46miknixhum.. a string representation of errors would be nice
14:45.09miknixdo you know the place with something like that?
14:50.52*** join/#htc-linux mistadman (n=mistadma@adsl-241-125-151.msy.bellsouth.net)
14:53.26Marexnope, never needed it
14:55.29*** join/#htc-linux S^P_ (n=Masood@static-host119-30-91-157.link.net.pk)
14:57.46*** join/#htc-linux patoche_ (n=Patrice@lns-bzn-58-82-251-203-145.adsl.proxad.net)
15:02.39miknixtoo much interrupts, this is not the one I want
15:25.03*** join/#htc-linux S^P (n=Masood@static-host119-30-93-84.link.net.pk)
15:31.50*** join/#htc-linux S^P_ (n=Masood@static-host119-30-93-155.link.net.pk)
15:45.41*** join/#htc-linux kiozen (n=kiozen@rgnb-4db1dee8.pool.einsundeins.de)
15:46.41kiozencr2: fyi Garmin support in GT (Wpt up/down, Trk down), svn up!
15:58.48*** join/#htc-linux patoche_ (n=Patrice@lns-bzn-24-82-64-163-99.adsl.proxad.net)
16:43.42BabelOpH5, cr2: http://pastebin.ca/1014865
16:43.42BabelOpH5: i use this seetings
16:43.53BabelOnow no error message
16:44.41pH5what did you change? (what's the value of EGPIO_x_y_START?)
16:47.36BabelOdmesg is here http://pastebin.ca/1014868
16:47.51BabelOpH5: i change the ARCH_NR_GPIOS for board omap
16:48.14pH5ok, that makes sense
16:48.45BabelOpH5: and i set here http://pastebin.ca/1014872
16:49.01BabelOpH5: now my ARCH_NR_GPIOS is now set to 350
16:49.22BabelOpH5: becauseactual omap seem to be 191 gpios, but i see some others
16:49.38BabelOpH5: but when i use those cpld gpios it fail
16:51.16BabelOpH5: i did not found my error :(
16:57.10*** join/#htc-linux MHazem (n=GoD@196.205.192.185)
16:59.32*** join/#htc-linux S^P (n=Masood@static-host119-30-81-87.link.net.pk)
17:09.53miknixdamn
17:11.25okiasmiknix: Hi, are you still working on Wizard?
17:11.43miknixokias, hi, yes
17:13.25miknixI'm implementing a dpad driver using the i2c bus
17:13.46miknixI've already everything working, leds, backlight, vibrator...
17:14.57miknixI'm with a problem now.. when the dpad irq handler is called, the i2c data isnt available yet
17:15.20miknixso I guess I have to pull until it arrives
17:15.25okiasmiknix: good :-)
17:16.01miknixs/pull/poll/
17:37.54*** join/#htc-linux CVirus (n=GoD@196.205.192.185)
17:49.51*** join/#htc-linux marbalon (n=balon@aegl126.neoplus.adsl.tpnet.pl)
18:00.02*** part/#htc-linux okias (i=ejabberd@poseidon.kraja.cz)
18:03.07miknixKevin2, ping
18:18.35*** join/#htc-linux dcordes (n=dcordes@unaffiliated/dcordes)
18:22.21*** join/#htc-linux S^P (n=Masood@static-host119-30-85-83.link.net.pk)
18:24.01*** join/#htc-linux S^P (n=Masood@static-host119-30-85-83.link.net.pk)
18:26.17BabelOmiknix: artemis works fine with 2.6.26-rc1 now
18:26.27BabelOmiknix: i comit my patch tomorrow
18:30.20*** join/#htc-linux exc1 (n=excogita@e181098175.adsl.alicedsl.de)
18:36.08*** join/#htc-linux kiozen (n=kiozen@rgnb-4db1dee8.pool.einsundeins.de)
18:36.25kiozenhi
18:36.37BabelOol kiozen
18:37.10kiozenBabelO: GT has Garmin support now :)
18:37.23BabelOi see :), but no garmin for me
18:37.39BabelOkiozen: once i get egpio working, i think artemis can use M inside :)
18:37.46kiozenBabelO: didn't you say your father had one ?
18:38.19BabelOkiozen: yes he have but for road navigation it is nuvi200
18:38.35kiozen"M inside" ... shhh.... do not summit the Intel lawyers
18:38.49kiozens/summit/summon/
18:40.26BabelO:)
18:40.47BabelOkiozen: btw, qtopia look very nice on artemis ( small screen)
18:41.07BabelOkiozen: and i don't understand all guy saying that 201Mhz is not enough for qtopia
18:41.22kiozenohhh, think you have to do optimize M for that :)
18:41.32BabelOi think they works too much with windows :)
18:42.11kiozenwell it's a big performance difference if you have 2650x1600 pixel or 320x200
18:42.15BabelOkiozen: why optimize ? memory footprint is ok now
18:42.49kiozenBabelO: but the layout is more for 480x640 than 200x320
18:43.07BabelOkiozen: it look ok on blueangel for me
18:43.29kiozenbut you din't see all stuff, did you
18:44.05kiozenthe buttons should be too fat
18:44.23kiozenand the infoscreen on top should get crowded
18:44.59kiozenand the key handling has to be optimized if you use qpe
18:46.22BabelOkiozen: but i can redo some stuff for small screen ;)
18:46.55kiozenBabelO: that's what I mean, I tried to make M as modular as possible
18:47.17BabelOok, but first need this egpio to works
18:47.44BabelOkiozen: this evening http://www.martinsolveig.com/ going to see that
18:49.58kiozenBabelO: funny, are they animated or real?
18:51.50BabelOkiozen: real
18:52.24kiozenBabelO: yeah, just watching the making of
18:56.29pH5BabelO: here now
18:57.06kiozenBabelO: nice big place :) (maison carree)
18:57.11BabelOpH5: egpio still not working :( black screen on boot when i call set_gpio_value
18:57.18BabelOkiozen: yes :)
18:57.29*** join/#htc-linux S^P_ (n=Masood@static-host119-30-86-232.link.net.pk)
18:59.20pH5BabelO: you could enable DEBUG in htc-egpio and comment out the actual egpio_readw/writew call in egpio_get/set to see if register access is correct.
19:01.14BabelOpH5: ok i ll try later
19:01.44BabelOpH5: gpio_mouse look nice, for my artemis but :( have some issue understandgin union { .. }
19:03.31miknixBabelO, cool
19:03.51miknixBabelO, I'll take a look later on and see how to integrate the wizard using your code
19:04.18BabelOmiknix: yes i just use your omap850 patch, not others thing
19:04.52miknixBabelO, ok
19:05.42pH5BabelO: union allows to access the same memory region as completely different data types/structures. it's basically the same as allocating enough memory for the biggest type and then using casts to different data types.
19:07.13pH5in the gpio_mouse case you have 7 ints, and you can access them either as pdata->up etc. or as pdata->pins[GPIO_MOUSE_PIN_UP] etc.
19:12.26BabelOpH5: ok, so i do someting wrong in declaration http://pastebin.ca/1014985
19:16.34*** join/#htc-linux surgex0 (i=surge@pool-71-186-234-216.bflony.fios.verizon.net)
19:19.27cr2hi
19:19.37cr2no times for hacking this weekend :(
19:20.31kiozenhi cr2
19:20.34BabelObbl
19:20.38kiozenI have done a bit ;)
19:21.40cr2BabelO: can you use the gpio/irq numbers directly on omap850 ? i'd be surprised, but don't know better
19:22.06cr2kiozen: i must finish a review of a paper today ;-)
19:22.12BabelOcr2: yes maybe that is the problem
19:22.17BabelOi ll look later
19:22.28miknixwoot!
19:22.31kiozencr2: sound like real work
19:22.37miknixdirectional keys are working
19:23.02cr2kiozen: yeah. i've a lot of real work actually. not only hacking :)
19:23.54exc1hi
19:23.59kiozencr2: these times happen :) make me thinking about my postgresql database, brrrrr
19:24.48excodid anybody else try paulproteus' Magician image?
19:25.07cr2kiozen: i'm using qt4.4 now
19:25.15*** join/#htc-linux JohnnyK (n=johnnyk@nfx-nat-229.pilsfree.net)
19:25.26kiozencr2: ok, GT is working?
19:25.53cr2yes. the "older" one.
19:26.05cr2compiling the new one now
19:27.05dcordeshi pH5. Can you remove the latest commit from htc-linux?
19:29.26pH5why?
19:30.31miknixwhat means !! in C?
19:30.52pH5miknix: not not
19:31.08miknixstate = !!a;
19:31.09pH50 ends up as 0 and anything >0 ends up as 1 usually.
19:31.14miknixoh
19:31.23miknixyeah.. I see it
19:31.30pH5I guess it's part of the standard.
19:31.41cr2pH5: how early one can use the new htc-egpio gpios ? i had _very_ big problems with hh.org version in machine_init()
19:32.00cr2!! is just clever obfuscated C :)
19:32.07paulproteus!!!
19:32.33kiozenx ? x : x
19:34.12cr2kiozen: wow. a full msword for the diary built-in
19:34.55kiozenlol, copy-n-paste from the QT demo
19:35.14excohi paulproteus
19:36.10paulproteusHi exco.
19:36.22excodid you try your image?
19:36.56cr2kiozen: it works
19:37.08pH5cr2: good question, the driver init is a subsys_initcall, so I think after plaform_add_devices it should be available. but didn't try that yet.
19:37.23kiozencr2: the trolls can't change the API with every minor release ;)
19:40.44dcordespH5: this one http://git.linuxtogo.org/?p=groups/mobile-linux/kernel.git;a=commit;h=8b7013acd1f4cc2a549574f97f34162e223010aa . It's empty what is that?
19:40.54dcordesmarbalon commited it accidently
19:41.25pH5dcordes: it's a merge
19:41.46dcordespH5: which means?
19:41.54*** join/#htc-linux zwox_ (i=zwox@par69-7-82-243-234-94.fbx.proxad.net)
19:42.05dcordesI don't think marbalon wanted to merge anything. He just wanted to push that touchscreen fix commit before
19:43.41pH5I guess he already had the fix ts driver based on his previous commits and then pulled your last commit.
19:44.59pH5I think if his local work branch is tracking the remote repo, it will merge automatically when he fetches
19:45.57dcordespH5: he received the 'not fast forward' error when he wanted to push because he didn't have my commit in
19:46.38pH5dcordes: yes, I see from the channel log that he tried to rebase his last commit onto yours
19:46.59pH5but I think the "git fetch" already merged because his work branch is tracking the remote htc-msm
19:49.04dcordespH5: so the rebase was unnecessary?
19:51.10pH5you could say so. it didn't work (didn't do anything) because he already (accidentally) merged before.
19:52.13dcordesso since the commit das nothing, can we remove it to avoid confusion?
19:52.25pH5look at the merge's parents and at the ts fix commit's parent to understand
19:52.48pH5dcordes: the merge doesn't do nothing. it merges the previous two commits in the timeline
19:53.35pH5or look at gitk to see what happened
19:53.37dcordesok. what is the best way to handle such a situation he had for future reference?
19:54.52pH5dcordes: a) nothing, this is the way git is supposed to work. b) avoid merging, then the rebase would have worked and the last two commits would properly be based on each other
19:55.15pH5dcordes: you won't be able to avoid a) completely if people work/commit at the same time
19:55.57pH5but of course to get a nice linear history, b) is exactly what marbalon tried to do. he just has to make sure that git doesn't automatically merge for him when he fetches new refs from linuxtogo's htc-msm
19:56.18pH5(remove the merge option of branch htc-msm in .git/config for example)
19:57.20dcordeswhat's the difference between rebasing and merging?
19:59.10pH5look at htc-msm in gitk. the history branches after 893e6... - both 8587d... and a2ec4... are based on it, and then the merge merges both of them again.
20:00.21pH5the rebase would have replaced 8587d... (the ts fix) with a new commit based on a2ec4... and that the history would be linear.
20:00.35pH5s/that/then/
20:01.14pH5the joys of distributed scms :)
20:04.52dcordesthat's confusing gitk is new to me
20:04.59paulproteusdcordes, Here's the idea:
20:05.08dcordesI just notice the branch and don't understand the figures
20:05.42paulproteusNormally, git lets you merge other people's different histories into yours.
20:05.49paulproteusIt records this, and that's what git pull does.
20:05.51paulproteusBut you have another option:
20:06.06paulproteus(ignore the above "But you have another")
20:06.10paulproteusHave you used Subversion?
20:06.21dcordesyes svn co :)
20:06.35paulproteusdcordes, Okay, have you ever modified files in your svn checkout, and then done 'svn update'?
20:06.48dcordesno.
20:06.52dcordesonly svn co
20:07.00paulproteusGosh, I see.  Okay then. (-:
20:07.11dcordeshopeless I know ^^
20:07.16paulproteus(-;
20:07.17pH5bummer, that promised to be a nice explanation :)
20:07.40kiozenyes, yes, yes, I am waiting for the rest :)
20:08.00paulproteuskiozen, Okay, I'll give the rest. (-:
20:08.08kiozen:)
20:08.34paulproteusWhen you have modified some files and you do svn up, svn says "G" for merGing in the changes.
20:08.58paulproteusWith Subversion, when you svn update, the only option for svn to do is to merge in your changes with the upstream changes, or to show you a conflict happened.
20:10.10paulproteusSubversion can't store your history as separate from the upstream history.
20:10.40paulproteusIn this sense, Subversion doesn't track merges of your local work with the remote work you're tracking, because it can't even know they happened.
20:12.24paulproteusA merge is defined (at least in git-land) as a commit with two parent commits - that is, a version in the history timeline that comes from fusing two different branches.
20:12.39miknixcr2, http://pastebin.com/d2f5423c9 <-- keypad driver
20:13.12paulproteusSubversion doesn't even have "merging" with svn merge - what it does when you "svn merge" is find the patches that one branch of the repository made, and apply them to a different branch.
20:13.20paulproteusBut it doesn't actually *store* which revisions it's pulling patches from.
20:13.22paulproteusIs this clear so far?
20:13.45kiozensomehow
20:14.09paulproteusWith distributed revision control like git, it could do something else:
20:14.19paulproteusWhen upstream has updates, and you have done some of your own work, it could put the two on separate branches.
20:14.39paulproteusIn fact, it turns out that every "git clone" natively creates a branch for you to work in that is separate from the remote branch ("upstream") you are tracking.
20:14.45*** join/#htc-linux S^P_ (n=Masood@static-host119-30-89-218.link.net.pk)
20:15.32paulproteusLet's say this is the timeline:
20:15.38paulproteus* 1:00 you patch file.c
20:15.48paulproteus* 1:15 ph5 patches file2.c
20:15.52miknixpH5, ping
20:15.53paulproteus* 1:30: You merge.
20:16.03paulproteusAt 1:30, your branch has an event that ph5's branch lacks.
20:16.35pH5~pong miknix
20:16.36aptmiknix: PONG!!!!!!!!!!!!!!!!!!
20:16.40miknixlol
20:16.43paulproteus's ears ring.
20:16.56miknixpH5, I've completed the htc-i2c-cpld driver
20:17.01*** join/#htc-linux marbalon (n=balon@aegl126.neoplus.adsl.tpnet.pl)
20:17.14miknixpH5, it supports backlight, leds, directional keys and vibrator
20:17.20dcordeswill just try and git-fetch before he starts something :p
20:17.34miknixpH5, you have an herald correct?
20:17.40paulproteusWell basically, if you "git rebase", you get to use the Subversion model for this.
20:17.54paulproteusgit will replay your patches and give you a linear history.
20:18.12paulproteusI guess I've run out of energy now.
20:18.21kiozenlol
20:18.42paulproteusMaybe pH5 can continue. (-;
20:18.47pH5miknix: nice work. yes, I have stefan_schmidt's herald. unfortunately it is stuck in the bootloader and I couldn't figure out how to boot from diagnostic sd card yet.
20:19.11miknixpH5, : \ is it cid locked?
20:19.16pH5of course
20:19.17kiozenpaulproteus: to summarize it: git is doing all the merging an syncing on the server, whereas svn does it locally
20:19.45paulproteuskiozen, The thing is, every git repository contains enough information to be a server.
20:19.56paulproteusSo it's more like, git does the merging in the history, whereas svn does it without storing the history.
20:19.57miknixpH5, sorry.. I dont know how to get the device keys to allow running the diagnostic card
20:20.15miknixpH5, but mine is cid locked too
20:20.22kiozenpaulproteus: thus svn can't see differences until they are commited 1) to the server  and 2) commited to the same branch
20:20.32paulproteuskiozen, Right, exactly.
20:20.37pH5miknix: stupid thing is, I have the device keys. they are same as artemis.
20:20.49pH5I'm not sure what went wrong, it just wouldn't recognize the card.
20:21.06pH5but it's been some time since I tried it last.
20:21.15miknixpH5, hum.. it doesnt say "operation not allowed" or something?
20:21.19kiozenhowever git can do the magic and sync the trunk with all branches and return the merge to a ll branches, right?
20:21.43pH5nothing, just boots right into the rgb screen after searching for sd card as if none was inserted.
20:21.54miknixhum..
20:21.58paulproteuskiozen, Right - but then you have this thing called a merge commit.
20:22.02paulproteusThat's the way git does merging.
20:22.05marbalonpH5: it is possible to remove my last merge from htc-msm ?
20:22.24miknixpH5, then your diagnostic signature should be wrong
20:22.25paulproteusBut there is this other way, called "rebase".  Now read http://www.kernel.org/pub/software/scm/git/docs/git-rebase.html .
20:22.45paulproteusThe idea is to transplant your patches as if they happened on the latest upstream.
20:23.08paulproteusThat way, you don't have to bother anyone with the merge commits.
20:23.09miknixpH5, is the header within the first two sectors of the sd card? I readed that somewhere
20:23.22pH5miknix: I think so, first 512 bytes
20:23.51pH5miknix: is there a nice howto somewhere?
20:24.02kiozenpaulproteus:  ah, now I start to understand why this is the kernel hacker's favourite
20:24.03miknixpH5, yeah.. some page about artemis I think
20:24.17pH5marbalon: rewriting history of a published git repository is not very nice
20:24.37kiozenpaulproteus: merging a branch with the trunk again is a mess in svn
20:24.48paulproteusYes, quite true.
20:24.49pH5this merge is not a big deal, let's just keep it
20:24.57paulproteuspH5++
20:25.25marbalonpH5: ok, but do I broke something ? commit diff is empty so we can keep this merge
20:25.43miknixdigs into his huge unorganized favorites list
20:26.10paulproteuskiozen, http://changelog.complete.org/posts/586-Rebase-Considered-Harmful.html discusses this further.
20:26.13pH5marbalon: no, you didn't break anything. it's just that (at least as far as git cares) the last two commits  happened at the same time
20:26.41pH5so the merge is just there to put the two branches together again.
20:27.18miknixpH5, http://vivien.chappelier.free.fr/typhoon/doc.html
20:27.20pH5marbalon: if you remove the merge option for the htc-msm branch in .git/config, it won't merge and you can do the rebase in the future, as you planned to do
20:27.32miknixpH5, good luck. I'm going to eat
20:27.37pH5miknix: thanks
20:27.59pH5that's what I tried to use last time. I guess I should just try again and pay extra attention :)
20:28.22marbalonpH5: I need to learn more about git usage
20:28.49marbalonpH5: it is really different than CVS
20:29.04pH5marbalon: yes, it is :)
20:31.37marbalonpH5: hmm, but if I want update my local copy to don't get this message "non-fast forward", i need to use....
20:31.41marbalongit pull ?
20:33.04pH5if you have local commits that are not in the remote you'll get the non-fast forward warning. then you can either merge (this is also what git pull does) or you can rebase
20:34.37pH5marbalon: edit your .git/config and see if you have something like this:
20:34.44pH5[branch "htc-msm"]
20:34.51pH5<PROTECTED>
20:35.00pH5<PROTECTED>
20:35.07marbalonyes
20:35.45pH5this means that your local htc-msm branch is tracking the remote htc-msm (i.e. when you fetch, it will try to merge origin/htc-msm into htc-msm)
20:36.21pH5remove those lines if you want to "git fetch; git rebase origin/htc-msm", it will stop to merge automatically then.
20:36.59marbalonboth lines ?
20:37.09pH5all three of them
20:37.13marbalonor all three ?
20:37.14marbalonok
20:37.26paulproteusSee also http://changelog.complete.org/posts/698-If-Version-Control-Systems-were-Airlines.html ...
20:38.56pH5hehe, there you have it. changing history is rumored to lead to seizures.
20:59.06*** join/#htc-linux LunohoD_ (n=alex@e180074230.adsl.alicedsl.de)
21:04.27*** join/#htc-linux Marex (n=marex@vasut.kolej.mff.cuni.cz)
21:07.18*** join/#htc-linux S^P_ (n=Masood@static-host119-30-91-13.link.net.pk)
21:10.46*** join/#htc-linux surgex0 (i=surge@pool-71-186-234-216.bflony.fios.verizon.net)
21:12.12*** join/#htc-linux ASUS-tek (i=microsta@221.128.205.91)
21:13.49*** join/#htc-linux shoragan (n=shoragan@debian/developer/shoragan)
21:16.56dcordeslol it's asus
21:18.36dcordeshi ASUS-tek
21:20.14*** join/#htc-linux S^P__ (n=Masood@static-host119-30-91-74.link.net.pk)
21:24.56ASUS-tekcheers
21:25.11ASUS-tekhi every one
21:27.39*** join/#htc-linux surgex0 (i=surge@pool-71-186-234-216.bflony.fios.verizon.net)
21:27.45dcordesASUS-tek: you got a free eee for me?
21:28.38ASUS-tekhahah
21:28.54ASUS-tekam also waiting for mine
21:29.04dcordesfor your free one?
21:29.17ASUS-teki will be working for ASUS and AMD from today
21:29.37ASUS-tekiguess but no final planes as so
21:29.42dcordesooh asus employes are the worst fellows
21:30.04ASUS-teki will be wtih ASUS channel partners
21:30.08dcordes:P when can you buy the ones with big display?
21:30.26dcordesmy brother is also working for asus
21:30.27ASUS-teki am in India we still haivng only 7 inch one here
21:30.37ASUS-tekthey have been launched it france
21:30.52dcordesdo you know when you can get them in germany?
21:30.57ASUS-tekthen europe tiwan asia then the STATES
21:31.18ASUS-teki guesss they are avaible for pre order
21:31.56ASUS-tekin the States but they will be avaible only when they are gona be manufacutre on large scale
21:32.09ASUS-teku can also try MSI wind its also kool
21:32.39ASUS-tekhere is the linik for it --> http://www.engadget.com/2008/03/09/msi-intros-the-eee-ish-wind-pc/
21:33.18dcordesno my brother will be making a good price
21:33.22ASUS-teki guess germany is far more advance then India me in 3rd world country
21:33.51ASUS-tek?? i didnt get ya ur bro reseller of ASUS probucts
21:34.17dcordesno employe but I hope he can get me one for co worker price
21:35.07ASUS-tekok what is an co worker price in Deutschland
21:35.15dcordesno idea at all
21:35.16ASUS-tekfor asus eee pc
21:35.36ASUS-tekok what are the prices for 4 gb current modles
21:36.13ASUS-tekhugs dcordes nice to know some one from Deutschland
21:36.56dcordeslike 300?
21:37.11ASUS-tek300 euros
21:37.28ASUS-tekor DM
21:37.32dcordeseuros
21:37.38dcordesdm is deprecated long time
21:37.43ASUS-tekokey its guit expensive there
21:38.00ASUS-teki dont know about that
21:38.19dcordesyou can't use DM any longer
21:38.22ASUS-tekhere it cost in $ about 300 $
21:38.27ASUS-tekabout 1200 Rs
21:38.28dcordesthat's cheap
21:38.32ASUS-tekIn india
21:38.36dcordesdoes asus manufacture in india?
21:38.50ASUS-teknope man they manufacture in China
21:39.07ASUS-tekthey used to in taiwan previously
21:39.20dcordesit's more cheapo in china I guess
21:39.32ASUS-teki am wondering when they goan start there vetnain plant
21:40.44ASUS-teknaa china or made in china is epencive for chinaese but as the yare manufacutred in special ecomonic zone in china they are nore cheap as they are for exports
21:41.38ASUS-tekeee pc might be very cheap in Hong kong or taiwan it self
21:42.14ASUS-tekdcordes what do u do by the way
21:45.19dcordesschool
21:45.31ASUS-tekkool man
21:45.36dcordesbut only until wednesday
21:45.38ASUS-tektell me more about ur
21:45.50ASUS-tekok u student or teacher
21:46.02dcordesstudent
21:46.13ASUS-tekokey kool
21:46.19ASUS-teku also using htc
21:46.20dcordesdo you own a htc device btw?
21:46.24dcordes:P
21:46.53ASUS-teknope i jsut went in to this channel as it was related to linux
21:47.17ASUS-teki jsut wanted to experence what is happening on linux front in hadheld devices
21:48.12ASUS-teku on linux dcordes
21:50.23dcordesyea
21:50.33dcordesthere is a lot happening
21:51.12ASUS-tekokey kool same here
21:51.27ASUS-teklots of my frienda are ardering ubuntu shipit cd
21:51.37ASUS-tekordering *
21:51.51ASUS-tekwhich distro u using dcordes
21:52.27dcordesubuntu with its gigantic pr is what got me away from the dark side
21:52.29dcordesubuntu
21:53.00ASUS-tekokey what is gigantic pr  ??
21:53.14dcordesadvertising
21:53.27ASUS-tekam new to that term well ur friends to using ubuntu
21:53.29dcordesthere is much money behind ubuntu
21:53.41ASUS-tekhow come can u explain
21:53.50ASUS-teklike me to also new to linux
21:54.14ASUS-tekadvertising
21:54.21ASUS-tekof ubuntu kool
21:55.06dcordesthink about how much shipit costs
21:55.13ASUS-tekokey and
21:55.27ASUS-tekokey humm.. i got it waht u syaing
21:55.50ASUS-tekya man we get our ubuntu ship it from germany it self
21:56.12ASUS-tekDeutschland post the biggest of all in the europe
21:56.41ASUS-tekwell how many friends u influenced to use ubuntu
21:57.25*** join/#htc-linux |patoche| (n=patoche@lns-bzn-24-82-64-163-99.adsl.proxad.net)
22:01.53*** join/#htc-linux patoche (n=patoche@lns-bzn-24-82-64-163-99.adsl.proxad.net)
22:02.47*** join/#htc-linux patoche (n=Patrice@lns-bzn-24-82-64-163-99.adsl.proxad.net)
22:02.48ASUS-tekwhere is dcordes kido he suddenly disapeared
22:04.40*** part/#htc-linux ASUS-tek (i=microsta@221.128.205.91)
22:06.24*** join/#htc-linux patoche (n=pat@lns-bzn-24-82-64-163-99.adsl.proxad.net)
22:14.19*** join/#htc-linux surgex0 (i=surge@pool-71-186-234-216.bflony.fios.verizon.net)
22:39.21*** join/#htc-linux patoche (n=Patrice@lns-bzn-24-82-64-163-99.adsl.proxad.net)
23:23.32*** join/#htc-linux skodde (n=skodde@unaffiliated/skodde)
23:45.03revertiveBabelO: ping
23:56.37*** join/#htc-linux Marex (n=marex@vasut.kolej.mff.cuni.cz)

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