IRC log for #htc-linux on 20080503

00:00.13excomaybe 128MB is too small... Now I get Unable to mount root fs on unknown-block (254,2)
00:01.32miknixcr2_, 0b448f1c looks like a data line
00:02.13cr2_miknix: addr2mod 0x0b448f1c
00:02.14excoor I'm just too tired
00:02.43miknixcr2_, Address 0b448f1c in process: gwes.exe (0a000000 - 0c000000)
00:02.44miknix<PROTECTED>
00:03.05cr2_hmm
00:03.17miknixcr2_, GPIO 141 is DPAD press which we already know
00:03.38miknixgvimdiff is great
00:04.34dcordescr2_, pmemdump.exe?
00:05.12cr2_miknix: it's necessary to check if this register is used for the data transmission.
00:05.27cr2_miknix: for me it looks like the id is 2, i.e. 1.
00:05.46cr2_dcordes: i have a bit better idea.
00:06.01miknixcr2_,  0x0b448f1c is the only changed register between key press down and up. 0xe1c431b0 and 0xe1c431be behave similar in both cases
00:06.19dcordescr2_, kernel: smd_core_init() done
00:06.44cr2_miknix: it asks about the key gpio over i2c.
00:07.05cr2_dcordes: addlist mmutrace p2v(0x01f00000) 0x100000
00:07.16paulproteusmiknix, re: diff tools: Try kdiff3, it's really great also.
00:07.48cr2_dcordes: and then run 'wi' with the phone on and off. or while inserting the SD card and pulling it out.
00:07.59miknixpaulproteus, I already use vim for ++time . gvimdiff is simply great
00:08.00dcordesok
00:08.40cr2_BabelO: sent
00:08.50BabelOcr2_: ok
00:08.52*** join/#htc-linux aLeSD (n=alex@227.Red-83-44-153.dynamicIP.rima-tde.net)
00:09.28cr2_BabelO: but the wince gpio setup may be a bit different. still you can create a working config.
00:09.47miknixcr2_, http://pastebin.com/d20d1c109
00:11.32cr2_miknix: 2 is persistent, so i guess it's the i2c id. can you insert/remove the SD card while tracing ?
00:11.49dcordescr2_, is there data flowing on the fifo addresses while wifi is on?
00:11.55dcordesI mean because of sd
00:12.02cr2_dcordes: maybe.
00:12.18miknixcr2_, haret is on the SD, lets hope wm5 does't go crazy
00:12.28cr2_dcordes: i think the wifi DMA buffers are in the SDRAM, but who knows.
00:12.42cr2_miknix: copy it to the device, the file is not so big.
00:13.19miknixcr2_, I'll try, I already have a lot of gpios masked, dont want to do this all over again
00:14.30miknixhehe.. went without probs
00:15.05BabelOyoooooooo
00:15.23miknixBabelO, : o
00:15.26miknixcr2_, http://pastebin.com/d5e18193c
00:16.18BabelOcr2_: mmc works now :)
00:16.36BabelOmiknix: i send you mine
00:17.03cr2_BabelO: ???
00:17.21miknix~ AWESOME ~
00:17.28cr2_miknix: you'd add your masking commands to default.txt and exec it.
00:17.30BabelOcr2_: mmc is ok, i make a diff with typhoon and my hack
00:17.58BabelOcr2_: in typhoon try, they caomment the cad status error detection :)
00:18.13cr2_BabelO: i was surprised it was not working in the first place. since we know all gpios now.
00:18.17BabelOmmcblk0: mmc0:8759 SD02G 1966080KiB (ro)
00:18.49miknixBabelO, is the mmci driver using dma?
00:19.07BabelOmiknix: don't know
00:19.17cr2_BabelO: now you'd fix the gps uart :)
00:19.20BabelOmiknix: but i don't need your workaround
00:19.43miknixBabelO, that is great, I hope I dont need it either
00:20.34BabelOmiknix: major / minor of mmc ?
00:21.01dcordescr2_, http://rafb.net/p/MPxWq663.html
00:21.02miknixBabelO, see on /sys/block/.../dev
00:21.48cr2_dcordes: so nothing changes there.
00:21.48BabelOok 254:1
00:22.21dcordescr2_, maybe that is really because of the wifi data flow
00:22.39dcordeswill try sd inserteject now
00:22.52miknixcr2_, lightsdr.dll is the SD driver on wm5
00:22.55BabelOcr2_: humm mounting sd freeze :(
00:24.22dcordescr2_, the mapping access to is the relevant part, right?
00:24.25BabelOmiknix: http://pastebin.ca/1005570
00:25.15cr2_miknix: no.
00:25.38cr2_miknix: OMAP850_SDHC.dll
00:31.21dcordescr2_, no change with sd in/out either
00:31.34miknixcr2_, addr2mod 0x074f339c
00:31.35miknixAddress 074f339c in process: device.exe (06000000 - 08000000)
00:31.35miknix<PROTECTED>
00:31.54dcordeswhat about usb? is that also shared mem business? I wonder how dzo traced the fifo then
00:32.16miknixcr2_, addr2mod 0x073a2654
00:32.17miknixAddress 073a2654 in process: device.exe (06000000 - 08000000)
00:32.17miknix<PROTECTED>
00:33.02dcordescr2_, or maybe a complete dump with phone on/off would help
00:40.23cr2_good night
00:47.02dcordesgood night cr2_
00:52.21*** join/#htc-linux aLeSD (n=alex@227.Red-83-44-153.dynamicIP.rima-tde.net)
00:52.46Kevin2dcordes: pong
00:53.00Kevin2Just missed 'em.
01:30.42BabelOgood night
01:36.27*** join/#htc-linux swetland (n=swetland@sunnyvale.frotz.net) [NETSPLIT VICTIM]
01:36.27*** join/#htc-linux dereks (n=dereks@unaffiliated/dereks) [NETSPLIT VICTIM]
01:47.21*** join/#htc-linux noelcragg (n=noel@adsl-68-121-164-151.dsl.pltn13.pacbell.net)
01:47.28*** part/#htc-linux noelcragg (n=noel@adsl-68-121-164-151.dsl.pltn13.pacbell.net)
03:31.46*** join/#htc-linux the_sys0p` (i=the_sys0@gateway/tor/x-b5486279b69498f2)
03:40.12*** join/#htc-linux dcordes (n=lukas@g227115046.adsl.alicedsl.de)
03:40.23dcordesKevin2, still there?
04:04.38*** join/#htc-linux TimRiker (n=timr@rikers.org)
04:31.34*** join/#htc-linux dereks (n=dereks@cpe-66-65-46-91.nyc.res.rr.com)
04:36.32*** join/#htc-linux Primax^ (n=primax@90-224-25-66-no112.tbcn.telia.com)
06:41.36*** join/#htc-linux rmoravcik (n=rmoravci@ip-89-102-255-171.karneval.cz)
07:22.21*** join/#htc-linux SmallR2002 (n=SmallR20@79-69-20-242.dynamic.dsl.as9105.com)
07:40.17*** join/#htc-linux SmallR2002 (n=SmallR20@79-69-20-242.dynamic.dsl.as9105.com)
08:24.08*** join/#htc-linux patoche (n=root@lns-bzn-27-82-248-11-192.adsl.proxad.net)
08:51.56*** join/#htc-linux tuff (n=phil@tuffnatty.dialup.corbina.ru)
09:02.27*** join/#htc-linux pH5 (n=ph5@e178210003.adsl.alicedsl.de)
09:09.19*** join/#htc-linux Zoolooc (n=fredsiba@nrbg-4dbfaf51.pool.einsundeins.de)
09:09.37Zooloochi folks
10:00.56*** join/#htc-linux goxboxlive (n=goxboxli@208.84-48-176.nextgentel.com)
10:34.15*** join/#htc-linux patoche (n=root@lns-bzn-27-82-248-11-192.adsl.proxad.net)
10:46.27*** join/#htc-linux patoche (n=root@lns-bzn-27-82-248-11-192.adsl.proxad.net)
10:55.21*** join/#htc-linux hlbot919 (n=adm@iclem.net)
10:57.32*** join/#htc-linux skodde (n=skodde@unaffiliated/skodde) [NETSPLIT VICTIM]
10:57.32*** join/#htc-linux surgex0 (i=surge@pool-71-186-234-216.bflony.fios.verizon.net) [NETSPLIT VICTIM]
10:57.32*** join/#htc-linux majorburn (n=andy@207.96.50.10) [NETSPLIT VICTIM]
10:57.32*** join/#htc-linux tg (i=tg@x-net.hu) [NETSPLIT VICTIM]
10:58.21*** join/#htc-linux surgex0 (i=surge@pool-71-186-234-216.bflony.fios.verizon.net)
11:45.46*** join/#htc-linux BabelO (n=Fabrice@lun34-2-82-238-28-28.fbx.proxad.net)
12:01.59*** join/#htc-linux patoche (n=patoche@lns-bzn-57-82-249-45-162.adsl.proxad.net)
12:20.27*** join/#htc-linux exco (n=excogita@e181115149.adsl.alicedsl.de)
12:25.33cr2_it is quiet today
12:25.50excoso make some noise :-P
12:34.14excoturns out I was just to tired yesterday... or... I still don't quite understand how exactly to get the partitions I need
12:47.07BabelOhi
12:47.45BabelOcr2_: why on omap they ignore the card status ?
12:48.24cr2_BabelO: what is card status ?
12:54.04BabelOcr2_: it is CMD3 :)
12:54.46BabelOcr2_: this is commented in omap.c, that is why i miss this, all other setup was ok, just this strange thing in driver
12:55.19BabelOcr2_: now i need to understand why mounting card, touching screen or dump of i2c cause a freeze of device
12:59.51*** join/#htc-linux skodde (n=skodde@unaffiliated/skodde)
13:00.08BabelObbl, going to the sea :)
13:12.24*** join/#htc-linux CVirus (n=GoD@82.201.222.72)
13:16.14*** join/#htc-linux Marex (n=marex@85-132-216-250-eth3-gwfm10-user.802.cz)
13:20.50*** join/#htc-linux Oktal (i=mat@cpc3-cmbg8-0-0-cust1018.cmbg.cable.ntl.com)
13:21.01excowhat am I doing wrong if I have a fat32 partition on an SD card - copy some stuff on it - and the WinCE device shows it's empty?
13:21.23excoalso when I put it back in the cardreader it's empty?
13:22.46excogparted shows the right sized partitions, but Nautilus shows previous existing partitions - how can I refresh?
13:31.54mistadmanslaps cr2_ around a bit with a large trout
13:36.14Marexslaps mistadman with metal baseball bat
13:36.20Marexgood night :)
13:40.28Kevin2Hi
13:42.29cr2_hi Kevin2
13:43.02cr2_Kevin2: can you check if linuxtogo git kernel works on apache ?
13:46.16Kevin2cr2_: I haven't checked in a while, but it did used to work.  Why?
13:47.43cr2_i'd like to check if n560 and athena work too. bot need htc-egpio
13:52.25*** join/#htc-linux dcordes (n=lukas@g227115046.adsl.alicedsl.de)
13:53.43dcordeshi
13:54.59dcordesKevin2, did I miss you again? :)
13:55.00Kevin2cr2_: It boots fine.
13:55.10Kevin2dcordes: Hi.
13:56.19*** join/#htc-linux p3t3r__ (n=p3t3r__@gate1.net-you.de)
13:57.13dcordesKevin2, can you do that msm git branch pH5 mentioned on the ML?
13:57.24dcordescan't reach ltg.org
13:57.41excoif anybody's intersted - partprobe solved the issue
13:57.56Kevin2dcordes: I can't ssh in either.
13:58.20cr2_Kevin2: thanks.
13:58.55dcordesKevin2, does being member of the kernel developer team give me git access?
13:59.12*** join/#htc-linux |patoche| (n=patoche@lns-bzn-57-82-249-45-162.adsl.proxad.net)
14:00.41Kevin2dcordes: Yes, it should.
14:01.00dcordesKevin2, is there any documentation on linuxtogo about this?
14:02.25Kevin2dcordes: Nope.  Florian just setup git as a one-off for me.
14:05.48cr2_Kevin2: is it 2.6.25 there ?
14:06.33dcordes~lart ltg server breakage
14:06.33aptslams ltg server breakage against a large cement Tux
14:08.05dcordescr2_, about the fifo registers thing: would a dump help now that I got no useful results using mmutrace?
14:12.45Kevin2cr2_: I haven't yet synched to .25 - maybe someone else did.
14:14.20dcordesdcordes can't reach either, either.
14:18.06cr2_dcordes: dump and bzip2 the 9MB of SRAM first.
14:18.23cr2_dcordes: pwf kaiser9 0x0 0x900000
14:18.40dcordeswill that dump to haret dir?
14:18.46cr2_yes
14:19.11excois it just me or is angstrom-distribution.org and linuxtogo.org down?
14:20.10dcordesexco, afaik that's all on one server
14:20.41dcordesa sharp borzoi ;P
14:21.27excothanks, dcordes
14:23.54*** join/#htc-linux CVirus (n=GoD@82.201.222.72)
14:24.14dcordescr2_, done it
14:25.24dcordescr2_, can you pm me your email?
14:26.15dcordesseems like the file consits merely of zeros. it is only 310,5K. had phone and wifi on while dumping
14:28.15dcordesin bziped state it's 310,5K
14:34.48dcordesbrb
14:47.43*** join/#htc-linux rmoravcik (n=rmoravci@ip-89-102-255-171.karneval.cz)
15:02.16dcordes~ping cr2_
15:02.17aptpong cr2_
15:21.16dcordesSRAM has lots of strings
15:23.27dcordesDMOV dev %d chan %d init: result FIFO not empty
15:23.58dcordesARM 9 power failed -> are all those messages part of init logs?
15:29.44dcordesalmost half of the ascii parts of that dump are FAIL messages
15:44.35*** join/#htc-linux frederick (n=frederic@ti200710a080-5092.bb.online.no)
15:44.45frederickhello all
15:45.18frederickany luck for linux htc  to herald ?
15:45.29frederickp4350
15:46.59frederickor is there anything i can do to help
15:48.25*** join/#htc-linux patoche (n=patoche@lns-bzn-57-82-249-45-162.adsl.proxad.net)
16:50.48*** join/#htc-linux miknix (n=miknix@81.193.95.20)
17:01.17*** join/#htc-linux LunohoD_ (n=alex@e180075148.adsl.alicedsl.de)
17:23.39*** join/#htc-linux skodde (n=skodde@unaffiliated/skodde)
17:30.47*** join/#htc-linux |patoche| (n=patoche@lns-bzn-57-82-249-45-162.adsl.proxad.net)
17:33.36paulproteusexco, Morning.
17:35.01excogood morning
17:35.20exco(it's 19:35 around here :)
17:36.21excopaulproteus: I still don't understand 100% the problems I'm having with partitions...
17:38.29paulproteusTell me more.
17:38.48excoit sometimes (or most the time) behaves really weird
17:39.03excoNautilus shows previous partition sizes
17:39.18excoI can copy files, but on reconnect the files are gone
17:39.48paulproteusYou must be very careful when changing partition table entries via dd.
17:40.00excoI'm not using dd
17:40.06paulproteusWhat are you using, pv?
17:40.11excoI was using gparted or fdisk
17:40.14paulproteusOh, okay.
17:40.31paulproteusWell, you must always be sure to umount all the partitions before using either gparted or fdisk.
17:40.37paulproteusAll the partitions on the card, that is.
17:40.46paulproteusAnd you should probably do a fresh mkfs when you create new partitions.
17:41.31excoI'm sticking to your advice and unmounting all partitions before doing pv/fdisk and alike
17:41.37paulproteusCool.
17:41.51paulproteusWhen you change the partition table, though, are you sure you mkfs?
17:42.05excoI will try that
17:42.30paulproteusYou usually shouldn't have to change the partition table much once you set it up once.  Why are you repartitioning?
17:43.14excoso mkfs /dev/sdb?
17:43.55excoI had to because I started out with 1 partition per SD-card
17:43.59paulproteusI see.
17:44.22paulproteusYou have to mkfs on the partition you want, not the whole disk - and you have to specify which filesystem to make.
17:44.26excothen I realized I can't use fat16 because the WinCE device can't see it (or at least if it's too small)
17:44.28paulproteusSo something like mkfs.vfat /dev/sdb1 .
17:46.08excoah, ok. but if I use mkdosfs I already have fat16, or mke2fs for ext2
17:46.44excoso basically you're saying I have to format the new partitions accordingly (which I already do)
17:47.22paulproteusRight, okay, that's all I'm saying.
17:47.38excoso that's not causing the problem
17:47.53excoTell me if that's right:
17:48.50excoI start out with an SD-card
17:48.50excounmount all partitions
17:48.50excouse fdisk to make new partitions and write those
17:48.50excothen I format those partitions,
17:48.50excoreplug the SD-card
17:48.51exco(did I make sth wrong?)
17:49.09paulproteusSo the important thing is these steps:
17:49.15paulproteus* use fdisk to make new partitions and write those
17:49.39excoyes
17:49.41paulproteusNow, you should check with dmesg to make sure that your partitions were recognized by the kernel properly.
17:49.53paulproteusIf so, then "then I format those partitions" is great to do right then.
17:50.04paulproteusIf not, for some reason, then I would unplug and replug the SD card after the fdisk operation.
17:50.38paulproteusI slightly fear the kernel is using the old partition table in its cache of the partitions on the disk, even though you have updated the partition table on the disk.
17:51.03excodmesg (tell me more) what I did to make sure it gets recognized is to call partprobe /dev/sdb
17:51.25paulproteusOh, that should do it.
17:51.33paulproteusdmesg is a program to let you read the kernel's log.
17:51.49paulproteusIt gives lots of output, but it should have a note about partition tables changing.
17:51.51excoyes, but that's quite some output if I only call dmesg
17:51.59paulproteusYes, but it should be right at the end.
17:52.15paulproteuspartprobe is designed to solve this problem, so I don't think it can be the issue.
17:52.21paulproteusSo now I'm as confused as you.
17:52.42paulproteusCan you consistently cause your files to vanish this way?
17:52.49paulproteusOr is it only sometimes that it fails this way?
17:52.53excosometimes
17:53.11exconow that I know of the problem it's easier because i copy sth replug and check
17:53.20excobut it caused some wasted hours
17:53.30paulproteusnods
17:53.38paulproteusDo you umount the filesystems before you unplug?
17:53.43excono
17:53.48paulproteusOh!  Well, you have to do that!
17:54.03excothe partitions get automatically dismounted
17:54.23paulproteusBut the problem is that Linux may not have written all the updates to the disk when you pull it out.
17:55.12excoI was looking if I could check for that but I'll just unmount from now on
17:55.42paulproteusYeah - if you just umount from now on, you'll be fine.
17:55.51paulproteusGenerally there's no way to check for it - you're supposed to remember to umount manually.
17:56.10excoI was about to try the latest kernel (hh21) when I ran into those problems yesterday night
17:56.12paulproteusThe only other choice you have is to mount with the "sync" option, which makes the kernel not use a cache but work "sync"hronously.
17:56.30paulproteusThen when the card stops flashing, it's probably okay to remove it.  But even then you still should umount.
17:56.35excoso today I did it all  over (have working images of) qt, OM and A..
17:56.40paulproteusCool. (-:
17:57.07excobut maybe I have a broken partition table in the OM one because
17:57.23paulproteus(The partition table is probably not broken, but the filesystems may be broken.)
17:57.24excoI can start sucessfully but can't copy anything to the ext partition
17:57.41paulproteusAlso, do use ext3 not ext2.
17:57.54paulproteusIt lets you recover from more errors; ext2 may require a fsck where ext3 will not.
17:58.04excook
17:58.26excoI gotta go make spaghetti ... be back in a few minutes
17:58.30paulproteusSounds good. (-:
18:05.08*** join/#htc-linux marbalon (n=balon@aeft178.neoplus.adsl.tpnet.pl)
18:10.07excoso ... I'm back
18:10.37excoI wouldn't have played with the partitions that long if there weren't those errors I had to figure out
18:13.25paulproteusnods
18:13.31paulproteusThe key is umount before unplug.
18:13.58excoit drives me nuts if I do sth and _sometimes_ it works and I don't understand why
18:17.11paulproteusnods
18:17.14paulproteusI hope you understand why now!
18:18.00excoI'm just about to find out if it now works with unmounting like every other step
18:19.46excoof course it does
18:20.18excothat didn't go the easy way :-)
18:21.14*** join/#htc-linux patoche (n=root@lns-bzn-57-82-249-45-162.adsl.proxad.net)
18:24.02excodo you have any idea why linuxtogo is down today?
18:26.35*** join/#htc-linux diogene31 (n=rj@mur31-2-82-243-122-54.fbx.proxad.net)
18:30.10paulproteusI have no idea, and it's a drag.
18:30.30BabelOscanning IGN maps to show cr2_
18:30.43paulproteusIt's a drag, I was just going to refresh my monotone setup.
18:31.29excook... the hh20-r6 kernel seems to be booting
18:31.42exconow that I don't have those partition problems anymore :-)
18:34.22excopaulproteus: ui seems way more responsive
18:34.35paulproteusInteresting.  Which system is this, OM?
18:34.51excoArmstrong
18:34.59excoI mean Angstrom
18:35.00paulproteusAngstrom.
18:35.01paulproteus(-:
18:35.18exco(although I kinda feel like the first man on the moon)
18:35.51excoso Angstrom Qtopia and Openmoko are like Gnome and KDE?
18:36.05paulproteusWell, Angstrom is really just a distribution.
18:36.54paulproteusI think it uses GPE on top by default.
18:37.01paulproteusBut GPE, Qtopia, and OpenMoko are like GNOME and KDE.
18:37.32excook
18:38.31paulproteusThere's also QPE, which is an older Qtopia-based setup.
18:39.01excoso now I would only need to get GSM and PowerManagement to work and it would suffice for daily use
18:39.02paulproteusModern-day "Qtopia" refers to Qtopia 4.3.x.
18:39.17paulproteusThe OpenMoko image supposedly has GSM working anyway.
18:39.23excoguess there's no image for Magician available :-)
18:39.36excoyes it has (didn't I tell you?)
18:39.48paulproteusNo image of what available for Magician?
18:39.52paulproteusYes, I guess you did!
18:40.03excothe latest Qtopia
18:40.19paulproteusOh, right.
18:40.40paulproteusNo, but I can work to build one shortly-ish.
18:41.22excoif you want I can send you an image of the 256 SD-card (OpenMoko and Armstrong with latest kernel - both working)
18:41.29paulproteusSure!
18:41.32paulproteusJust put 'em online somewhere, then.
18:43.31excopv progress bar works nice SD->HDD but the other way round it only works sometimes or partially
18:43.54paulproteusHuh, that's strange - it should work well in both cases.
18:53.04excoit's only 83MB as tar.bz2
18:59.59exco15minutes to go
19:04.45paulproteusI'm going to go get a prepaid SIM for testing this stuff with.
19:04.51paulproteus(Separate from my regular SIM)
19:05.19excothat's always a good idea to have a prepaid card (you never know)
19:06.24excoSo do you have any ideas as to what steps to take next?
19:07.11paulproteusWell, we know that audio and GSM work in the OpenMoko image?
19:07.22paulproteusSo let's just see how power management is.
19:07.34paulproteusMy feeling is that suspend and resume works, but that the phone will not be woken up on incoming call.
19:07.44paulproteusOne important question, then, is how long can the phone stay on when not suspended.
19:07.52paulproteusAnd the other question is, how can we fix wake up on GSM ring?
19:08.13excosound also works with Angstrom
19:08.27excoI don't know if the mic works
19:08.45paulproteusI'm going to get my SIM right now, and then I'll call my other phone and we'll see. (-:
19:08.47paulproteusI think it does, though.
19:09.26paulproteusSo a next step is that power testing I was talking about.
19:09.34paulproteusOr to test calling.
19:09.38excoI don't also don't know if suspend/resume work - if you press the quit button the device freezes
19:09.55excocalling works both ways - I tested
19:10.04paulproteusGot it, awesome.
19:10.18paulproteusWell, I'll be back in 20 min or so.
19:10.26exco5 minutes and I'm done uploading
19:10.39excook see you later
19:12.42excosorry, must have gotten sth wrong - I cannot call the Magician - the magician doesn't ring but the other end get's the ringing sound
19:14.09paulproteusBut when you make outgoing calls, it does work, right?
19:14.10*** join/#htc-linux S^P (n=Masood@static-host119-30-88-1.link.net.pk)
19:14.47excoyes
19:15.07*** join/#htc-linux pleemans (n=peter@d51A5E76A.access.telenet.be)
19:15.14excothe implementation only seems partial
19:15.59miknixcr2_, ping
19:17.00excopowering down gsm antenna the beeping gets interrupted (so you can power down)
19:17.00excoalso you can power it up afterwards
19:17.50excodoesn't always work instantly though
19:18.00excohttp://sharedzilla.com/en/get?id=144219
19:18.09excothere's the image
19:18.11*** join/#htc-linux CVirus (n=GoD@82.201.222.72)
19:23.16excothe OM image runs with the hh18 Kernel
19:28.59cr2_hi miknix
19:29.07miknixhi cr2_
19:29.35miknixcr2_, S^P is wiling to help in htc herald
19:30.21S^Phi cr2_
19:31.26miknixBabelO, can I find your changes somewhere?
19:31.34cr2_hi S^P
19:32.07cr2_afair herald is like wizard and uses the i2c cpld
19:32.14BabelOmiknix: which changes ?
19:32.22miknixBabelO, to get the MMC working
19:33.09BabelOmiknix: i post it yesturday, and basically it is just a card status error detection to remove
19:33.46miknixcr2_, is it possible to create a git for all HTC linux devices?=
19:34.11cr2_miknix: already exists at linuxtogo
19:36.50miknixcr2_, which url?
19:37.15BabelOmiknix: git.linuxtogo.org
19:38.05miknixcr2_, can I have push permissions?
19:38.20cr2_miknix: ask Kevin2
19:38.45miknixcr2_, it doesnt make much sense to have two separate branches for the same purpose
19:39.15miknixs/branches/repos/
19:40.26BabelOcr2_: what is the magic convert line to convert png to tiff for gt ? :)
19:40.51cr2_yes, your major difference with BabelO is the htc-i2c_cpld.c driver
19:41.21cr2_BabelO: convert +dither -colors 255 -depth 8 file.tif file.png
19:41.27excoguys, can I connect to a smartphone running linux through USB (easily?)
19:41.31cr2_BabelO: isn't it in the docs ?
19:42.09cr2_exco: if your usersapce software is configured for ssh on usb0 then yes.
19:42.47excocr2_: :-) thanks that gives me sth to go on using best friend google
19:42.53cr2_BabelO: you need imagemagick for that. is there imagemagick for windows ? then it'd be probably added to GT.exe
19:43.12cr2_exco: but it's usually the case.
19:43.15BabelOcr2_: don't know, but i m on linux only at home :)
19:43.59miknixcr2_, is kevin usually around here?
19:44.41*** join/#htc-linux CVirus (n=GoD@82.201.222.72)
19:45.10cr2_miknix: he was here today
19:45.29cr2_miknix: keep in mind that he is in the US, so there is some time offset
19:45.35miknixcr2_, ok thanks. I'll talk with him next time I see him
19:57.18*** join/#htc-linux ivucica (n=ivucica@77.237.101.91)
19:57.23ivucicahey everyone
19:57.50ivucicadid anyone try to boot "Linux as Bootloader" with HaRET, and then to load the kernel itself?
19:58.52BabelOcr2_: yes following the doc now
19:59.07*** join/#htc-linux TimRiker (n=timr@rikers.org)
20:01.29BabelOcr2_: Mercator Transverse Universel fuseau 31
20:03.05excodo you know of a how-to to get ssh over usb0 running
20:04.21miknixcr2_, BabelO there is an i2c-omap.c i2c master driver on my linux branch
20:04.44BabelOmiknix: yes on mine too, i use this one
20:04.52BabelOmiknix: check the bus shift
20:05.09excocan ping the device and the other way round
20:14.49miknixBabelO, can you paste your i2c platform configuration?
20:15.21BabelOmiknix: no configuration specific
20:15.46paulproteusexco, BTW, I'm back.
20:16.36miknixBabelO, omap_register_i2c_bus(1, 100, NULL, 0);
20:17.50excosuper
20:18.34miknixBabelO, whats the clockrate and busid?
20:18.37BabelOcr2_: this grid tool is crazy ;) very good
20:18.50excopaulproteus: I'm trying to ssh into the Magicion over USB
20:18.52BabelOmiknix: i change nothig just enable the support in kernel
20:18.59BabelOand change the bus shift
20:19.25paulproteusexco, Cool - let me know if you have any problems.
20:19.35excodid you get the image?
20:20.04paulproteusI'm downloading it now.
20:20.11paulproteusI'm also setting up OpenEmbedded.
20:20.19paulproteusHow did you compile the kernel - using OE?
20:20.27excoI didn't
20:20.41paulproteusOh, okay. (-:
20:20.45excothere's an autobuild site
20:20.50paulproteusOh, I didn't realize....
20:20.54paulproteusThat's very convenient.
20:21.13paulproteusSo I guess I should focus on the Qtopia stuff instead.
20:21.25paulproteusBTW, this downlaod site is amazingly slow for me. 20KB/s, done in one hour.
20:21.38excohttp://www.angstrom-distribution.org/unstable/autobuild/magician/
20:21.55excoyou can ftp it from my server at 100k if you want
20:22.14paulproteusThat'd be better.
20:22.25excoI thought putting it on one of those 1-click hosters would be way faster
20:22.56excoor can I send it directly here in irc?
20:23.22paulproteusYou can use IRC to send the file too.
20:24.35paulproteusFTP is also fine, though.
20:26.05cr2_BabelO: "Mercator Transverse Universel fuseau 31" <- it's a localized GT ? :)
20:26.57BabelOcr2_: i don't understand all, just reading my IGN maps :), and all precalculated from grid tool fit perfect the map
20:28.04BabelOcr2_: but i get this error !! ERROR 1: Only OGC WKT Projections supported for writing to GeoTIFF
20:32.10cr2_BabelO: what projection did you set ?
20:32.37BabelOcr2_: +proj=merc +ellps=WGS84 +datum=WGS84 +no_defs
20:32.52BabelOcr2_: with the wizard
20:36.26excoso guess 15minutes till you have the img
20:37.13cr2_BabelO: strange. works for me in linux
20:37.24cr2_BabelO: how do you define the grid ?
20:37.43paulproteusSo exco we still need to see if we can make it wake from sleep.
20:37.48BabelOcr2_: i use the gridtool like the doc say
20:37.57excoI do whatever you tell me :-)
20:38.18excoright now I took my gf's phone trying to figure out if bt works
20:38.27paulproteus?
20:38.37BabelOcr2_: i send you link in pm
20:38.45paulproteusBefore, did you say you asked the Magician to do suspend?
20:38.47excobt = bluetooth
20:38.58paulproteusI see, to test bt on the Magician.
20:39.26excohow do I send it to suspend from console - and how do I check if a key is assigned to wake it back up?
20:39.28cr2_BabelO: ok, i'll check
20:39.39miknixBabelO, linux is booting for me with I2C and MMC patches. it was missing to set the mux configuration at boot on patoche changes
20:39.57paulproteusexco, Hmm, I think the power button is supposed to wake it up.
20:40.00BabelOmiknix: and does it works ? ;)
20:40.14paulproteuscr2_, Can you answer exco's question about suspend maybe?
20:40.20miknixBabelO, I have new mmc errors
20:40.27paulproteusexco, While I'm a little farther than you, I'm by no means an expert here.
20:40.42excopaulproteus: the power button closes applications in OM
20:41.00cr2_paulproteus: which one ?
20:41.05paulproteus<exco> how do I send it to suspend from console - and how do I check if a key is assigned to wake it back up?
20:41.49paulproteusIn general, cr2_, how should one test suspend and resume?
20:41.52paulproteus(From within Linux)
20:42.03BabelOpaulproteus: apm -s
20:42.13cr2_cat mem > /sys/...
20:42.13paulproteusThat's for suspend-and what about for wake?
20:42.14BabelOpaulproteus: or echo mem > sys/power/state
20:42.31cr2_paulproteus: for wakeup you'd press the power button
20:42.39miknixBabelO, http://pastebin.com/d2505a7e3
20:42.58cr2_BabelO: i don't have apm -s on kiozen's image
20:43.19paulproteuscr2_, That's very normal, thanks. (-:
20:45.39miknixBabelO, the double initialization of omap-mmc is rather strange
20:46.03excosuspend and resume works
20:46.11paulproteusexco, w00t, the way it should be.
20:46.30excogotta c&p that somewhere
20:46.41paulproteusSo exco, we should test how long the phone can stay alive suspended, and
20:46.47paulproteuswe should also check if incoming rings can wake it.
20:47.04paulproteusI think the latter is not true, which is why I switched to Universal when tsdogs (iirc) fixed that.
20:47.14paulproteusBut that should be doable by doing some tracing in haret.
20:47.24excoI will do the incoming ring now (have to reboot thoug because I now can't seem to get the GSM back on)
20:47.25paulproteusWhich, now that I have a separate SIM, I'm willing to do.
20:47.31paulproteusexco, Okay, cool
20:51.55excothis time I did receive the call
20:52.24paulproteusAnd what about if the phone is suspended?
20:52.42excogotta one-finger-type that command first :-)
20:53.26BabelOmiknix: it is because you keep the mmc register in your board file
20:54.15BabelOcr2_: all upload finished, i remove the trouble border on images
20:54.58miknixBabelO, you are right.. I didnt even noticed that
20:55.10excowakes up and rings
20:55.36paulproteusexco, Whoa.
20:55.44paulproteusUh, then, the only thing left to check is battery life.
20:55.50paulproteusOther than that, we're golden!
20:56.05paulproteusWe might want to port Qtopia or something, but that's pretty great.
20:56.07excowe'll know about battery life by tommorrow
20:56.11paulproteusAmazing.
20:56.12paulproteusexco++
20:56.29excoyeah, that's really great
20:56.50excobtw I've learnt a lot so far
20:57.33paulproteusAwesome.  I've been very lazy so far, but I'm very happy to have helped. (-:
20:58.05BabelOcr2_: ok i found kiozen bug ;)
20:58.28paulproteusBTW, exco, I guess I'll try building a more recent OpenMoko image using OE tonight also.
20:58.40excoanyways the OM is running hh18 kernel - can we update that to the latest one?
20:59.13excoI don't know if there have been fixes/improvements that are interesting for the Magician
20:59.29*** join/#htc-linux Kevin2 (n=Kevin@207-237-52-122.c3-0.avec-ubr12.nyr-avec.ny.cable.rcn.com)
20:59.59miknixBabelO, err.. not really, the only thing being configured on the board file is omap_mmc_config
21:00.00paulproteusYou mean kernel improvements, exco, or OpenMoko software improvements?
21:00.06paulproteusI'm sure there are OpenMoko software improvements that would be nice to have.
21:00.56excothe Armstrong image seems to run way faster (same ui)
21:01.01excowith the latest kernel
21:01.10paulproteusWay faster than with the older kernel you mean?
21:01.29excocompared to the hh17 one, yes
21:01.34paulproteusAwesome.
21:01.39excoyou can try for yourself
21:01.45paulproteusI will in a few minutes. (-:
21:01.56paulproteusI'm configuring OE while your file finishes downloading.
21:02.02paulproteusHopefully my SD card reader won't be totally broken.
21:02.20excoI havent included any docs but with the hret 2008 (which I read somewhere doesn't work - but it does fine) you start Angstrom
21:02.23excohh20
21:02.36paulproteusHuh?
21:02.56excothe other hh17 kernel is also included
21:03.46excowhich you can run simply by naming it zImage instead of the other one or adapting the default txt
21:03.51paulproteusnods
21:04.15excoso you can see the difference in speed very easily
21:05.11excoif we can custom build a new image of OM - I gues that's the way to go because of GSM already working?
21:05.26paulproteusI agree.
21:07.37excowe could also look up what they've done to get it working (possibly n_tihtc ...) and use that with Angstrom
21:07.49paulproteusAgreed.
21:08.04paulproteusI'm going to take a shower for now.  This is very exciting.
21:08.14excoso ttyl
21:09.40*** join/#htc-linux pikapika (n=pikapika@mar75-8-88-164-227-147.fbx.proxad.net)
21:09.58pikapikahi
21:10.02excohi
21:12.51pikapika:)
21:13.34excoyes I'm currently also very happy :-)
21:13.42pikapikaabout what ?
21:15.43excoabout running linux on my magician
21:15.55excoI made my first call using linux - yesterday
21:16.02pikapikagreat :)
21:16.23excoyou could have possibly seen me smiling from like 2 miles away
21:16.45pikapikafirst time i tried qtopia on my blueangel was nice too :)
21:18.29excoI should have really stuck to linux earlier
21:20.35*** join/#htc-linux aLeSD (n=alex@119.Red-88-19-11.staticIP.rima-tde.net)
21:24.10pikapikaexco: i'm using it for years now ;)
21:26.01excoI only started like 3 months ago (tried every year once... this time it got me)
21:26.42excoI have a totally messed up XP installation (gparted somewhat sucks), and I don't care the least
21:27.17S^Pmiknix: any idea about this error http://pastebin.com/d3ec07699
21:27.54miknixS^P, yes.. I just fixed it a while ago
21:28.14S^Pin branch?
21:28.19pikapikaexco: good luck ;)
21:28.28miknixS^P, just add a int b_hw to the structure and remove else statements
21:28.36S^Pok
21:28.41miknixS^P, I didnt commit
21:31.40excopikapika: ? what for?
21:32.36paulproteusrehi, all.
21:33.15pikapikaexco: it's a little hard at beginning
21:34.49excoyes... and in linux the gui apps... most the time have unexpected behaviour... so I'm trying to catch as much cli as I can
21:34.57excobecause then it just does what you tell it to
21:35.24pikapikacli is great when you get used to it
21:36.23excorehi
21:39.49excohow can I check if ip forwarding is enabled ?
21:40.10paulproteuscat /proc/net/ipv4/something
21:40.50*** join/#htc-linux cr2 (n=konversa@crpl6.physik.uni-wuppertal.de)
21:41.11excodon't have ipv4 dir - cat /proc/net/ipv6_route ?
21:41.29paulproteuspaulproteus@swallowtail:/proc/sys/net/ipv4 $ cat ip_forward
21:41.29paulproteus0
21:42.23miknixBabelO, damn.. they added mmc_init() to devices.c on plat-omap
21:42.42paulproteusexco, Booting!
21:43.06excoso cat /proc/sys/net/ipv4/ip_forward
21:43.06exco0 means it's disabled?
21:43.09paulproteusYup.
21:43.14paulproteusYou can "echo 1" into that file to enable it.
21:43.55paulproteusexco, For me, this image says, "Error connecting to gsmd" on boot.
21:44.18excoyes, the armstrong one, right?
21:44.24paulproteusYup.
21:44.34excosame her
21:44.39marbalonBabelO: hi
21:44.45excoif you run the other executable you boot the OM
21:44.48paulproteusGot it.
21:44.50excoand it has GSM
21:45.05paulproteushits reboot
21:45.18paulproteusBTW in OpenMoko you can get a menu with reboot in it by pressing and holding power, if you didn't see that before.
21:45.34BabelOhi marbalon
21:45.44marbalonBabelO: i have some problems with egpio in kaiser
21:46.05excodon't know if we can shutdown and boot the kernel again without the hardreset in between
21:46.14excothanks, now I see the menu
21:46.17marbalonBabelO:  reddefine some function in generic_gpio.c set,get,to_irq
21:46.26paulproteusI think you're right.  How are you doing your reset?
21:46.37marbalonBabelO: and set func works fine
21:47.17excoright now... I'm pressing shutdown plus pressing that little button next to the usb port -> hardreset
21:47.20BabelOmarbalon: of, you have problem with get then ?
21:47.29excocalibrate screen and that other shit ...
21:47.30paulproteus"pressing shutdown" meaning power button?
21:47.38paulproteusThere we go!
21:47.39paulproteusThanks. (-:
21:47.41marbalonBabelO: but when I add irq = gpio_to_irq(EGPIO_6_0_KBD_UP); to int kernel hangs
21:48.01marbalonint = init
21:48.02excohow do I echo 1 into the file
21:48.11paulproteusecho 1 > /path/to/wherever
21:48.15paulproteusBut you must do this as root.
21:48.44marbalonBabelO: get func should works but haven't tested yet
21:48.48paulproteusGreat, jumping to the OM image now.
21:49.11excoyes
21:49.20paulproteusI wonder how this OM image was made.
21:49.55excoI do too... (so far I haven't found out)
21:49.56excoI really tried  echo /proc/sys/net/ipv4/ip_forward > 1 :-)
21:50.12excoso that wrote  /proc/sys/net/ipv4/ip_forward into 1
21:50.19marbalonBabelO: and this is a problem because I want use egpios like normal gpios
21:50.23excohahaha
21:50.59BabelOmarbalon: i understand, better is to look at htcapache definition
21:51.33paulproteusIf the kernels are the same, the difference could simply be loading n_tihtc (or whatever it was called).
21:51.46marbalonBabelO: any link to file ?
21:53.17paulproteusexco, inbound and outbound calls tested. (-:
21:53.22BabelOmarbalon: you need more definition for egpio struct
21:53.25BabelOmarbalon: http://handhelds.org/cgi-bin/cvsweb.cgi/linux/kernel26/arch/arm/mach-pxa/htcapache/htcapache.c
21:54.00excobet you have a big smile in your face
21:54.37paulproteusFor me, I screamed "YES!" and my roommate then wondered what happened.
21:54.47exco:-P
21:55.04paulproteusOkay, in the Terminal I'm grinning.
21:55.11BabelOmarbalon: i think it is the .irq_base = IRQ_BOARD_START,
21:55.45miknixis there any registry key to disable activesync? I'm full of it
21:55.55paulproteusNow how to change that horrible ringtone...
21:55.59excoI think I can ping my box through usb
21:56.12excoI have no idea - but I didn't look
21:56.31excoeasiest way should be to locate the ringtone and simply replace it
21:57.07paulproteusGood point.
21:57.40paulproteusMy face keeps accidentally hitting the hang up button.
21:57.45marbalonBabelO: ok, thanks I will  try it
21:57.47excoI guess we need to konvert that OM img so we can use hret, but you said the kernel is inside that exe so we need to compile it
21:57.58BabelOmarbalon: and at the top also there is IRQ related def ;)
21:58.18excowe can probably disable the screen while talking ... later on
21:58.25BabelOmarbalon: tell me if you need something, i have all onmy hardriver, faster to look for something
21:58.32paulproteusI think it's worth trying a Qtopia image, too.
21:58.33excothat's always an issue with pda-phones
21:58.39paulproteusnods
21:58.42excoI can send you an image if you want
21:58.56paulproteusOf Qtopia, you mean?  If it's the same as from htcpxa I can get it from there.
21:58.58excoor I mean you can download one
21:59.00paulproteusnods
21:59.11excoyes, it's the one from htcpxa
21:59.51miknixBabelO, mmci-omap mmci-omap.1: no slots
21:59.52paulproteusI guess I'll give it a shot to see what works.
22:00.42marbalonBabelO: hm, today I should go sleep, it's realy late, but thanks, see you tomorrow
22:00.53marbalongood night
22:01.11miknixBabelO, http://pastebin.com/d238a943b   I also dont have any message from the i2c host
22:02.10excopaulproteus:
22:02.10excoAt the linux box
22:02.10exco- echo 1 > /proc/sys/net/ipv4/ip_forward
22:02.10exco- modprobe usbnet
22:02.10exco- ifconfig usb0 192.168.0.200 netmask 255.255.255.0 broadcast 192.168.0.255
22:02.10exco- iptables -t nat -A POSTROUTING -o eth0 -s 192.168.0.200/32 -j MASQUERADE
22:02.10excoAt the Smartphone
22:02.10exco- ifconfig usb0 192.168.0.202 netmask 255.255.255.0 broadcast 192.168.0.255 gateway 192.168.0.200
22:02.20excopaulproteus: does that look good?
22:03.10miknixBabelO, do you have your dmesg with i2c working somewhere?
22:03.25paulproteusSure - just make sure your LAN isn't on 192.168.0.x; if it is, you'll need to add an extra route or do bridging.
22:03.26BabelOmiknix: wait i reboot
22:03.43BabelOmiknix: but do you enable omap i2c module in kernel ?
22:03.48excomy lan has never been on ..0.. :-)
22:04.11exco<PROTECTED>
22:04.11excossh: connect to host 192.168.2.202 port 22: No route to host
22:04.23miknixBabelO, CONFIG_I2C_OMAP yes its enabled
22:05.14paulproteusexco, That's old Qtopia, forget it.
22:05.18S^Pmiknix: I got this msg
22:05.19BabelOmiknix: CONFIG_I2C_CHARDEV=y and CONFIG_I2C=y also ?
22:05.32S^Pi2c /dev entries driver   i2c-core: driver [dev_driver] registered  i2c-gpio: probe failed: -19
22:05.39miknixBabelO, yes
22:06.04excothought so
22:06.21miknixBabelO, what do you have in arch/arm/mach-omap1/devices.c:omap1_init_devices() ?
22:07.33excocan I get that device online through USB?
22:08.13BabelOmiknix: it is in plat-omap/devices.s
22:08.52miknixBabelO, what?
22:09.03miknixBabelO, .s?
22:09.16BabelOmiknix: arch/arm/plat-omap/devices.c
22:09.30miknixBabelO, so i2c init is called there for you?
22:10.22miknixdamn
22:10.23miknix/ Broken in linwizard
22:10.23miknix//omap_init_i2c();
22:10.47miknixenabled.. lets see
22:11.11BabelOmiknix: http://pastebin.ca/1006408
22:11.47S^P:)
22:13.44BabelOS
22:14.14BabelOS^P: last time pH5 was able to boot my kernel for artemis
22:14.15miknixBabelO, omap_init_i2c() I dont have this function implemented on omap1
22:15.06BabelOmiknix: ok, then maybe i do it myself ;), wait i pastebin
22:15.30miknixBabelO, I can also platform_register() the i2c_bus on the board file
22:16.15BabelOmiknix: http://pastebin.ca/1006410
22:16.43cr2compiling gcc-4.3.0 on alpha
22:17.43BabelOmiknix: sorry i ve disabled i2c in latest compile ;)
22:17.44paulproteuscr2, BTW, do you know how goxboxlive made his EXE kernels at http://www.linuxtogo.org/~htcpxa/htcmagician/images/OpenMoko/ ?
22:18.16paulproteusAnd/or do you know how to extract the zImage from them?  I tried cabextract on the EXEs to no avail.
22:20.36miknixgrrrrrr... I hate wm5
22:20.46paulproteusNot as bad as WM3!
22:21.13exco;-)
22:21.17miknixpaulproteus, you said that because you dont have active sync always poping around
22:21.36excodo you need AS for now?
22:21.36BabelOpaulproteus: you need haret sources to do an .Exe
22:22.06paulproteusmiknix, I also say that because WM3 takes a hard reset whenever Linux boots.
22:22.11miknixexco, no.. I tried to delete the .exe file but I couldnt
22:22.19excoso can't we ask goxboxlive to provide us with the zImage?
22:22.21miknixpaulproteus, Oo.. you win
22:22.32paulproteusmiknix, "Great"
22:22.36miknix:)
22:23.38*** join/#htc-linux patoche (n=pat@lns-bzn-57-82-249-45-162.adsl.proxad.net)
22:27.40paulproteusexco, Yeah, we can when he's online. (-:
22:28.39excopaulproteus: so can I get www over USB to work?
22:28.59paulproteusexco, You mean web surfing from the phone via USB?
22:29.04excoyes
22:29.26paulproteusSure, it should be possible if you can get your IP forwarding going.
22:29.39excoor more important can I check the battery status somehow?
22:30.06miknixBabelO, still no i2c messages
22:31.12*** join/#htc-linux patoche (n=root@lns-bzn-57-82-249-45-162.adsl.proxad.net)
22:32.18cr2paulproteus: no, it was some hack on hack on hack.
22:34.28excomiknix: exco, no.. I tried to delete the .exe file but I couldnt
22:34.43excoI lost you... you want to delete the activesync exe?
22:35.00paulproteusexco, OpenMoko does show the battery state in the corner.
22:35.03paulproteusAnd /proc/acpi will likely have it.
22:35.05paulproteusOr /proc/apm.
22:35.05miknixexco, I'm desperate.. I want to do anything to kill this annoying crap
22:35.41excomiknix: if you don't need it - kill it inside taskmanager
22:35.55miknixexco, it pops up after a minute
22:36.17miknixand it will ruin my linux boot
22:36.42exconot if you kill it... I'll look up the process name
22:37.12excomiknix: wcescomm.exe
22:37.41excoif you need it again just start it from your Startmenu
22:37.46miknixhum.. I think my task manager doesnt show that obscure processes
22:37.59excowcescomm.exe = ActiveSync
22:38.14miknixthen yes, I'm killing it
22:38.20miknixand it pops up after a while
22:38.46excoso either it gets called when you connect (boot WinCE) again
22:39.02miknixit detects a rndis compatible proto on usb
22:39.07miknixand pops up
22:39.53excoif I was in windows right now... I could tell you
22:41.24excoyou could kill the process then rename C:\Program Files\Microsoft ActiveSync (and if you need it again -> rename it back)
22:41.31miknixexco, meh.. dont bother. TTL for wm5 is everytime smaller :p
22:43.28excopaulproteus: cat /proc/sys/net/ipv4/ip_forward returns 1, also I can browse my local webserver through usb
22:43.44paulproteusThen you probably just need to set DNS in /etc/resolv.conf on the phone.
22:43.54excopaulproteus: I can't ping google.de, so I can't ... ah thanks
22:45.20exco(no gedit ;-()
22:45.32excoI can't even use vi on my machine ... yet
22:45.32paulproteusThere is probably nano, though.
22:46.34miknixexco, my activesync is not there
22:46.53excopaulproteus: it already has 192.168.200 as nameserver in it
22:47.05excopaulproteus: probably ifconfig usb0 192.168.0.202 netmask 255.255.255.0 broadcast 192.168.0.255 gateway 192.168.0.200 did that :-)
22:47.14paulproteusNope, ifconfig doesn't touch nameserver.
22:47.17paulproteusIs your desktop running a DNS server?
22:47.22paulproteusProbably not - what is the real DNS server?
22:47.23excoprobably not
22:47.48excomy wlan-box  - I guess... I'll try if I can ping that
22:48.25excomiknix: we'll what language is your Windows ... and ... you should know where you installed AS to :-)
22:48.33paulproteusexco, You might want to read http://www.debian-administration.org/articles/23 too fwiw.
22:48.33BabelOexco: iptables -t nat -A POSTROUTING -s 192.168.1.0/24 -o eth2 -j MASQUERADE
22:48.42paulproteusOr just run BabelO's command. (-:
22:48.47BabelOexco: 192.168.1.0/24 is the network of your magician
22:48.58miknixexco, its english. :) but my As is in the windoz dir
22:49.32miknixlike any other piece of crap
22:51.51exco:-)
22:52.06excowell... I had my problems with AS ... but I quite like it
22:53.02excoBabelO: thanks, I used iptables -t nat -A POSTROUTING -o eth0 -s 192.168.0.200/32 -j MASQUERADE but I guess it has to be 202 if that's the ip of the Magician
22:54.16BabelOexco: i use just the subnetwork connected between my computer and device
22:54.45excomy Magician just froze in vi (subnetwork 24?)
22:55.31excomiknix: btw... gksudo pops up everytime I do a hardreset cause of synce :-)
22:56.35excoBabelO: can you explain the dis-/advantage of that?
22:57.38BabelOexco: just that i have more than one device, and i want them to access internet
22:58.33excoBabelO: so you just give them different ip's?
22:58.58BabelOexco: yes
22:59.54miknixBabelO, do you have omap_register_i2c_bus() on arch/arm/plat-omap/i2c.c ?
23:02.38cr2good night
23:02.44miknixcr2, see ya
23:03.12BabelOgood night cr2
23:03.29BabelOmiknix: no i2c.c in plat-omap
23:03.47miknixBabelO, in my kernel version i2c initialization was moved to there
23:03.55miknixno i2c_init anymore here
23:04.30*** join/#htc-linux patoche (n=root@lns-bzn-57-82-249-45-162.adsl.proxad.net)
23:06.44*** join/#htc-linux surgex0 (i=surge@pool-71-186-234-216.bflony.fios.verizon.net)
23:06.48excogood night cr2
23:14.25excoBabelO: thanks, I can now ping my router or the ip of google,
23:14.33paulproteusYay exco.
23:14.40excobut ping google.de still results in host name lookup
23:14.53paulproteusCopy /etc/resolv.conf from your desktop to the phone.
23:14.54excoaeh failure I mean
23:15.19excopaulproteus: that sounds easy...
23:16.09excoor install dns server
23:17.55*** join/#htc-linux silven (n=zmc@adsl-72-50-84-84.prtc.net)
23:19.21excohopefully vi doesn't crash again
23:20.45excowhat do I need to press in vi to get to edit mode
23:24.56excoping google.de now works - hijey
23:27.02excosmile: I'm surfing the web
23:27.44excothe only thing cooler would be if I was connected through bluetooth
23:27.55excopaulproteus: what are you up to
23:28.26paulproteusexco, I'm working on another project, setting up some wikis.
23:29.51excoI'll go to bed soon... I'll tell you tomorrow about the battery lifetime
23:29.55paulproteusAwesome!
23:35.29excothe Magician is not discoverable through bluetooth
23:39.04excopressing the camera button longer you can switch fullscreen, orientation and make screenshots
23:39.17paulproteusexco, Oh, I didn't know you could switch orientation.  Awesome.
23:40.00excocan I reboot because my mainscreen just went gray
23:40.10excoI mean without hardreset
23:40.21paulproteusNo.
23:40.27paulproteus)-:
23:41.12excoreboot command shuts it off
23:42.17excoso all in all... I wonder why there's so little going regarding linux on magician... I didn't really expect it to work "this good"
23:48.36excodarned... today is a good day... I ssh'ed into the Magician
23:49.17excocat /proc/apm
23:49.17exco1.13 1.2 0x02 0x01 0x00 0x00 100% -1 min
23:51.37excono apt-get :-(
23:52.31Marexexco, ipkg ; rm -rfv /
23:52.39excosure
23:53.23excofunny man
23:54.36Marexwell I was looking forward to yet another cut on my scythe ... oh well
23:54.43Marexipkg should help you anyway
23:55.03excoyes, just looked that up
23:55.12Marex:)
23:55.44excoanyways those rm... hints on Ubuntuforum help ... otherwise I might have just c&p it
23:57.05MarexIm already banned to enter #ubuntu* O:)
23:57.23*** join/#htc-linux darkerror05 (n=darkerro@cpe-72-230-169-235.rochester.res.rr.com)
23:57.53Marexat least from #ubuntu-cz
23:58.02excoI mean... in this case I'd just have deleted the stuff on my Magician - which I have an image of anyways,
23:58.06BabelOMarex: do you have any idea how can i find an irq problem  ?
23:58.09Marexwell I had my fun ... and half of channel had their as well ... a little bit different though :D
23:58.20MarexBabelO, what irq problem ?
23:59.03Marexexco, you use ubuntu? :)
23:59.04excoif you see it from the "noob's" eyes... you might just have scared so off Linux... I don't think it's funny... but that's always just depending on the point of view
23:59.10exco8.04
23:59.16BabelOMarex: with omap kernel, when i mount sd , or just use irq inside a fake module, it freeze the device :(
23:59.17Marexpoor you :)
23:59.18univac;o
23:59.41MarexBabelO, I see ... the irq handler is too fat probably ...
23:59.51Marexalso dont forget mutex locks all over the place

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