00:00.13 | exco | maybe 128MB is too small... Now I get Unable to mount root fs on unknown-block (254,2) |
00:01.32 | miknix | cr2_, 0b448f1c looks like a data line |
00:02.13 | cr2_ | miknix: addr2mod 0x0b448f1c |
00:02.14 | exco | or I'm just too tired |
00:02.43 | miknix | cr2_, Address 0b448f1c in process: gwes.exe (0a000000 - 0c000000) |
00:02.44 | miknix | <PROTECTED> |
00:03.05 | cr2_ | hmm |
00:03.17 | miknix | cr2_, GPIO 141 is DPAD press which we already know |
00:03.38 | miknix | gvimdiff is great |
00:04.34 | dcordes | cr2_, pmemdump.exe? |
00:05.12 | cr2_ | miknix: it's necessary to check if this register is used for the data transmission. |
00:05.27 | cr2_ | miknix: for me it looks like the id is 2, i.e. 1. |
00:05.46 | cr2_ | dcordes: i have a bit better idea. |
00:06.01 | miknix | cr2_, 0x0b448f1c is the only changed register between key press down and up. 0xe1c431b0 and 0xe1c431be behave similar in both cases |
00:06.19 | dcordes | cr2_, kernel: smd_core_init() done |
00:06.44 | cr2_ | miknix: it asks about the key gpio over i2c. |
00:07.05 | cr2_ | dcordes: addlist mmutrace p2v(0x01f00000) 0x100000 |
00:07.16 | paulproteus | miknix, re: diff tools: Try kdiff3, it's really great also. |
00:07.48 | cr2_ | dcordes: and then run 'wi' with the phone on and off. or while inserting the SD card and pulling it out. |
00:07.59 | miknix | paulproteus, I already use vim for ++time . gvimdiff is simply great |
00:08.00 | dcordes | ok |
00:08.40 | cr2_ | BabelO: sent |
00:08.50 | BabelO | cr2_: ok |
00:08.52 | *** join/#htc-linux aLeSD (n=alex@227.Red-83-44-153.dynamicIP.rima-tde.net) |
00:09.28 | cr2_ | BabelO: but the wince gpio setup may be a bit different. still you can create a working config. |
00:09.47 | miknix | cr2_, http://pastebin.com/d20d1c109 |
00:11.32 | cr2_ | miknix: 2 is persistent, so i guess it's the i2c id. can you insert/remove the SD card while tracing ? |
00:11.49 | dcordes | cr2_, is there data flowing on the fifo addresses while wifi is on? |
00:11.55 | dcordes | I mean because of sd |
00:12.02 | cr2_ | dcordes: maybe. |
00:12.18 | miknix | cr2_, haret is on the SD, lets hope wm5 does't go crazy |
00:12.28 | cr2_ | dcordes: i think the wifi DMA buffers are in the SDRAM, but who knows. |
00:12.42 | cr2_ | miknix: copy it to the device, the file is not so big. |
00:13.19 | miknix | cr2_, I'll try, I already have a lot of gpios masked, dont want to do this all over again |
00:14.30 | miknix | hehe.. went without probs |
00:15.05 | BabelO | yoooooooo |
00:15.23 | miknix | BabelO, : o |
00:15.26 | miknix | cr2_, http://pastebin.com/d5e18193c |
00:16.18 | BabelO | cr2_: mmc works now :) |
00:16.36 | BabelO | miknix: i send you mine |
00:17.03 | cr2_ | BabelO: ??? |
00:17.21 | miknix | ~ AWESOME ~ |
00:17.28 | cr2_ | miknix: you'd add your masking commands to default.txt and exec it. |
00:17.30 | BabelO | cr2_: mmc is ok, i make a diff with typhoon and my hack |
00:17.58 | BabelO | cr2_: in typhoon try, they caomment the cad status error detection :) |
00:18.13 | cr2_ | BabelO: i was surprised it was not working in the first place. since we know all gpios now. |
00:18.17 | BabelO | mmcblk0: mmc0:8759 SD02G 1966080KiB (ro) |
00:18.49 | miknix | BabelO, is the mmci driver using dma? |
00:19.07 | BabelO | miknix: don't know |
00:19.17 | cr2_ | BabelO: now you'd fix the gps uart :) |
00:19.20 | BabelO | miknix: but i don't need your workaround |
00:19.43 | miknix | BabelO, that is great, I hope I dont need it either |
00:20.34 | BabelO | miknix: major / minor of mmc ? |
00:21.01 | dcordes | cr2_, http://rafb.net/p/MPxWq663.html |
00:21.02 | miknix | BabelO, see on /sys/block/.../dev |
00:21.48 | cr2_ | dcordes: so nothing changes there. |
00:21.48 | BabelO | ok 254:1 |
00:22.21 | dcordes | cr2_, maybe that is really because of the wifi data flow |
00:22.39 | dcordes | will try sd inserteject now |
00:22.52 | miknix | cr2_, lightsdr.dll is the SD driver on wm5 |
00:22.55 | BabelO | cr2_: humm mounting sd freeze :( |
00:24.22 | dcordes | cr2_, the mapping access to is the relevant part, right? |
00:24.25 | BabelO | miknix: http://pastebin.ca/1005570 |
00:25.15 | cr2_ | miknix: no. |
00:25.38 | cr2_ | miknix: OMAP850_SDHC.dll |
00:31.21 | dcordes | cr2_, no change with sd in/out either |
00:31.34 | miknix | cr2_, addr2mod 0x074f339c |
00:31.35 | miknix | Address 074f339c in process: device.exe (06000000 - 08000000) |
00:31.35 | miknix | <PROTECTED> |
00:31.54 | dcordes | what about usb? is that also shared mem business? I wonder how dzo traced the fifo then |
00:32.16 | miknix | cr2_, addr2mod 0x073a2654 |
00:32.17 | miknix | Address 073a2654 in process: device.exe (06000000 - 08000000) |
00:32.17 | miknix | <PROTECTED> |
00:33.02 | dcordes | cr2_, or maybe a complete dump with phone on/off would help |
00:40.23 | cr2_ | good night |
00:47.02 | dcordes | good night cr2_ |
00:52.21 | *** join/#htc-linux aLeSD (n=alex@227.Red-83-44-153.dynamicIP.rima-tde.net) |
00:52.46 | Kevin2 | dcordes: pong |
00:53.00 | Kevin2 | Just missed 'em. |
01:30.42 | BabelO | good 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.23 | dcordes | Kevin2, 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.37 | Zoolooc | hi 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.33 | cr2_ | it is quiet today |
12:25.50 | exco | so make some noise :-P |
12:34.14 | exco | turns out I was just to tired yesterday... or... I still don't quite understand how exactly to get the partitions I need |
12:47.07 | BabelO | hi |
12:47.45 | BabelO | cr2_: why on omap they ignore the card status ? |
12:48.24 | cr2_ | BabelO: what is card status ? |
12:54.04 | BabelO | cr2_: it is CMD3 :) |
12:54.46 | BabelO | cr2_: 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.19 | BabelO | cr2_: 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.08 | BabelO | bbl, 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.01 | exco | what 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.23 | exco | also when I put it back in the cardreader it's empty? |
13:22.46 | exco | gparted shows the right sized partitions, but Nautilus shows previous existing partitions - how can I refresh? |
13:31.54 | mistadman | slaps cr2_ around a bit with a large trout |
13:36.14 | Marex | slaps mistadman with metal baseball bat |
13:36.20 | Marex | good night :) |
13:40.28 | Kevin2 | Hi |
13:42.29 | cr2_ | hi Kevin2 |
13:43.02 | cr2_ | Kevin2: can you check if linuxtogo git kernel works on apache ? |
13:46.16 | Kevin2 | cr2_: I haven't checked in a while, but it did used to work. Why? |
13:47.43 | cr2_ | 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.43 | dcordes | hi |
13:54.59 | dcordes | Kevin2, did I miss you again? :) |
13:55.00 | Kevin2 | cr2_: It boots fine. |
13:55.10 | Kevin2 | dcordes: Hi. |
13:56.19 | *** join/#htc-linux p3t3r__ (n=p3t3r__@gate1.net-you.de) |
13:57.13 | dcordes | Kevin2, can you do that msm git branch pH5 mentioned on the ML? |
13:57.24 | dcordes | can't reach ltg.org |
13:57.41 | exco | if anybody's intersted - partprobe solved the issue |
13:57.56 | Kevin2 | dcordes: I can't ssh in either. |
13:58.20 | cr2_ | Kevin2: thanks. |
13:58.55 | dcordes | Kevin2, 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.41 | Kevin2 | dcordes: Yes, it should. |
14:01.00 | dcordes | Kevin2, is there any documentation on linuxtogo about this? |
14:02.25 | Kevin2 | dcordes: Nope. Florian just setup git as a one-off for me. |
14:05.48 | cr2_ | Kevin2: is it 2.6.25 there ? |
14:06.33 | dcordes | ~lart ltg server breakage |
14:06.33 | apt | slams ltg server breakage against a large cement Tux |
14:08.05 | dcordes | cr2_, about the fifo registers thing: would a dump help now that I got no useful results using mmutrace? |
14:12.45 | Kevin2 | cr2_: I haven't yet synched to .25 - maybe someone else did. |
14:14.20 | dcordes | dcordes can't reach either, either. |
14:18.06 | cr2_ | dcordes: dump and bzip2 the 9MB of SRAM first. |
14:18.23 | cr2_ | dcordes: pwf kaiser9 0x0 0x900000 |
14:18.40 | dcordes | will that dump to haret dir? |
14:18.46 | cr2_ | yes |
14:19.11 | exco | is it just me or is angstrom-distribution.org and linuxtogo.org down? |
14:20.10 | dcordes | exco, afaik that's all on one server |
14:20.41 | dcordes | a sharp borzoi ;P |
14:21.27 | exco | thanks, dcordes |
14:23.54 | *** join/#htc-linux CVirus (n=GoD@82.201.222.72) |
14:24.14 | dcordes | cr2_, done it |
14:25.24 | dcordes | cr2_, can you pm me your email? |
14:26.15 | dcordes | seems like the file consits merely of zeros. it is only 310,5K. had phone and wifi on while dumping |
14:28.15 | dcordes | in bziped state it's 310,5K |
14:34.48 | dcordes | brb |
14:47.43 | *** join/#htc-linux rmoravcik (n=rmoravci@ip-89-102-255-171.karneval.cz) |
15:02.16 | dcordes | ~ping cr2_ |
15:02.17 | apt | pong cr2_ |
15:21.16 | dcordes | SRAM has lots of strings |
15:23.27 | dcordes | DMOV dev %d chan %d init: result FIFO not empty |
15:23.58 | dcordes | ARM 9 power failed -> are all those messages part of init logs? |
15:29.44 | dcordes | almost 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.45 | frederick | hello all |
15:45.18 | frederick | any luck for linux htc to herald ? |
15:45.29 | frederick | p4350 |
15:46.59 | frederick | or 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.36 | paulproteus | exco, Morning. |
17:35.01 | exco | good morning |
17:35.20 | exco | (it's 19:35 around here :) |
17:36.21 | exco | paulproteus: I still don't understand 100% the problems I'm having with partitions... |
17:38.29 | paulproteus | Tell me more. |
17:38.48 | exco | it sometimes (or most the time) behaves really weird |
17:39.03 | exco | Nautilus shows previous partition sizes |
17:39.18 | exco | I can copy files, but on reconnect the files are gone |
17:39.48 | paulproteus | You must be very careful when changing partition table entries via dd. |
17:40.00 | exco | I'm not using dd |
17:40.06 | paulproteus | What are you using, pv? |
17:40.11 | exco | I was using gparted or fdisk |
17:40.14 | paulproteus | Oh, okay. |
17:40.31 | paulproteus | Well, you must always be sure to umount all the partitions before using either gparted or fdisk. |
17:40.37 | paulproteus | All the partitions on the card, that is. |
17:40.46 | paulproteus | And you should probably do a fresh mkfs when you create new partitions. |
17:41.31 | exco | I'm sticking to your advice and unmounting all partitions before doing pv/fdisk and alike |
17:41.37 | paulproteus | Cool. |
17:41.51 | paulproteus | When you change the partition table, though, are you sure you mkfs? |
17:42.05 | exco | I will try that |
17:42.30 | paulproteus | You usually shouldn't have to change the partition table much once you set it up once. Why are you repartitioning? |
17:43.14 | exco | so mkfs /dev/sdb? |
17:43.55 | exco | I had to because I started out with 1 partition per SD-card |
17:43.59 | paulproteus | I see. |
17:44.22 | paulproteus | You have to mkfs on the partition you want, not the whole disk - and you have to specify which filesystem to make. |
17:44.26 | exco | then 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.28 | paulproteus | So something like mkfs.vfat /dev/sdb1 . |
17:46.08 | exco | ah, ok. but if I use mkdosfs I already have fat16, or mke2fs for ext2 |
17:46.44 | exco | so basically you're saying I have to format the new partitions accordingly (which I already do) |
17:47.22 | paulproteus | Right, okay, that's all I'm saying. |
17:47.38 | exco | so that's not causing the problem |
17:47.53 | exco | Tell me if that's right: |
17:48.50 | exco | I start out with an SD-card |
17:48.50 | exco | unmount all partitions |
17:48.50 | exco | use fdisk to make new partitions and write those |
17:48.50 | exco | then I format those partitions, |
17:48.50 | exco | replug the SD-card |
17:48.51 | exco | (did I make sth wrong?) |
17:49.09 | paulproteus | So the important thing is these steps: |
17:49.15 | paulproteus | * use fdisk to make new partitions and write those |
17:49.39 | exco | yes |
17:49.41 | paulproteus | Now, you should check with dmesg to make sure that your partitions were recognized by the kernel properly. |
17:49.53 | paulproteus | If so, then "then I format those partitions" is great to do right then. |
17:50.04 | paulproteus | If not, for some reason, then I would unplug and replug the SD card after the fdisk operation. |
17:50.38 | paulproteus | I 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.03 | exco | dmesg (tell me more) what I did to make sure it gets recognized is to call partprobe /dev/sdb |
17:51.25 | paulproteus | Oh, that should do it. |
17:51.33 | paulproteus | dmesg is a program to let you read the kernel's log. |
17:51.49 | paulproteus | It gives lots of output, but it should have a note about partition tables changing. |
17:51.51 | exco | yes, but that's quite some output if I only call dmesg |
17:51.59 | paulproteus | Yes, but it should be right at the end. |
17:52.15 | paulproteus | partprobe is designed to solve this problem, so I don't think it can be the issue. |
17:52.21 | paulproteus | So now I'm as confused as you. |
17:52.42 | paulproteus | Can you consistently cause your files to vanish this way? |
17:52.49 | paulproteus | Or is it only sometimes that it fails this way? |
17:52.53 | exco | sometimes |
17:53.11 | exco | now that I know of the problem it's easier because i copy sth replug and check |
17:53.20 | exco | but it caused some wasted hours |
17:53.30 | paulproteus | nods |
17:53.38 | paulproteus | Do you umount the filesystems before you unplug? |
17:53.43 | exco | no |
17:53.48 | paulproteus | Oh! Well, you have to do that! |
17:54.03 | exco | the partitions get automatically dismounted |
17:54.23 | paulproteus | But the problem is that Linux may not have written all the updates to the disk when you pull it out. |
17:55.12 | exco | I was looking if I could check for that but I'll just unmount from now on |
17:55.42 | paulproteus | Yeah - if you just umount from now on, you'll be fine. |
17:55.51 | paulproteus | Generally there's no way to check for it - you're supposed to remember to umount manually. |
17:56.10 | exco | I was about to try the latest kernel (hh21) when I ran into those problems yesterday night |
17:56.12 | paulproteus | The 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.30 | paulproteus | Then when the card stops flashing, it's probably okay to remove it. But even then you still should umount. |
17:56.35 | exco | so today I did it all over (have working images of) qt, OM and A.. |
17:56.40 | paulproteus | Cool. (-: |
17:57.07 | exco | but maybe I have a broken partition table in the OM one because |
17:57.23 | paulproteus | (The partition table is probably not broken, but the filesystems may be broken.) |
17:57.24 | exco | I can start sucessfully but can't copy anything to the ext partition |
17:57.41 | paulproteus | Also, do use ext3 not ext2. |
17:57.54 | paulproteus | It lets you recover from more errors; ext2 may require a fsck where ext3 will not. |
17:58.04 | exco | ok |
17:58.26 | exco | I gotta go make spaghetti ... be back in a few minutes |
17:58.30 | paulproteus | Sounds good. (-: |
18:05.08 | *** join/#htc-linux marbalon (n=balon@aeft178.neoplus.adsl.tpnet.pl) |
18:10.07 | exco | so ... I'm back |
18:10.37 | exco | I wouldn't have played with the partitions that long if there weren't those errors I had to figure out |
18:13.25 | paulproteus | nods |
18:13.31 | paulproteus | The key is umount before unplug. |
18:13.58 | exco | it drives me nuts if I do sth and _sometimes_ it works and I don't understand why |
18:17.11 | paulproteus | nods |
18:17.14 | paulproteus | I hope you understand why now! |
18:18.00 | exco | I'm just about to find out if it now works with unmounting like every other step |
18:19.46 | exco | of course it does |
18:20.18 | exco | that 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.02 | exco | do 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.10 | paulproteus | I have no idea, and it's a drag. |
18:30.30 | BabelO | scanning IGN maps to show cr2_ |
18:30.43 | paulproteus | It's a drag, I was just going to refresh my monotone setup. |
18:31.29 | exco | ok... the hh20-r6 kernel seems to be booting |
18:31.42 | exco | now that I don't have those partition problems anymore :-) |
18:34.22 | exco | paulproteus: ui seems way more responsive |
18:34.35 | paulproteus | Interesting. Which system is this, OM? |
18:34.51 | exco | Armstrong |
18:34.59 | exco | I mean Angstrom |
18:35.00 | paulproteus | Angstrom. |
18:35.01 | paulproteus | (-: |
18:35.18 | exco | (although I kinda feel like the first man on the moon) |
18:35.51 | exco | so Angstrom Qtopia and Openmoko are like Gnome and KDE? |
18:36.05 | paulproteus | Well, Angstrom is really just a distribution. |
18:36.54 | paulproteus | I think it uses GPE on top by default. |
18:37.01 | paulproteus | But GPE, Qtopia, and OpenMoko are like GNOME and KDE. |
18:37.32 | exco | ok |
18:38.31 | paulproteus | There's also QPE, which is an older Qtopia-based setup. |
18:39.01 | exco | so now I would only need to get GSM and PowerManagement to work and it would suffice for daily use |
18:39.02 | paulproteus | Modern-day "Qtopia" refers to Qtopia 4.3.x. |
18:39.17 | paulproteus | The OpenMoko image supposedly has GSM working anyway. |
18:39.23 | exco | guess there's no image for Magician available :-) |
18:39.36 | exco | yes it has (didn't I tell you?) |
18:39.48 | paulproteus | No image of what available for Magician? |
18:39.52 | paulproteus | Yes, I guess you did! |
18:40.03 | exco | the latest Qtopia |
18:40.19 | paulproteus | Oh, right. |
18:40.40 | paulproteus | No, but I can work to build one shortly-ish. |
18:41.22 | exco | if you want I can send you an image of the 256 SD-card (OpenMoko and Armstrong with latest kernel - both working) |
18:41.29 | paulproteus | Sure! |
18:41.32 | paulproteus | Just put 'em online somewhere, then. |
18:43.31 | exco | pv progress bar works nice SD->HDD but the other way round it only works sometimes or partially |
18:43.54 | paulproteus | Huh, that's strange - it should work well in both cases. |
18:53.04 | exco | it's only 83MB as tar.bz2 |
18:59.59 | exco | 15minutes to go |
19:04.45 | paulproteus | I'm going to go get a prepaid SIM for testing this stuff with. |
19:04.51 | paulproteus | (Separate from my regular SIM) |
19:05.19 | exco | that's always a good idea to have a prepaid card (you never know) |
19:06.24 | exco | So do you have any ideas as to what steps to take next? |
19:07.11 | paulproteus | Well, we know that audio and GSM work in the OpenMoko image? |
19:07.22 | paulproteus | So let's just see how power management is. |
19:07.34 | paulproteus | My feeling is that suspend and resume works, but that the phone will not be woken up on incoming call. |
19:07.44 | paulproteus | One important question, then, is how long can the phone stay on when not suspended. |
19:07.52 | paulproteus | And the other question is, how can we fix wake up on GSM ring? |
19:08.13 | exco | sound also works with Angstrom |
19:08.27 | exco | I don't know if the mic works |
19:08.45 | paulproteus | I'm going to get my SIM right now, and then I'll call my other phone and we'll see. (-: |
19:08.47 | paulproteus | I think it does, though. |
19:09.26 | paulproteus | So a next step is that power testing I was talking about. |
19:09.34 | paulproteus | Or to test calling. |
19:09.38 | exco | I don't also don't know if suspend/resume work - if you press the quit button the device freezes |
19:09.55 | exco | calling works both ways - I tested |
19:10.04 | paulproteus | Got it, awesome. |
19:10.18 | paulproteus | Well, I'll be back in 20 min or so. |
19:10.26 | exco | 5 minutes and I'm done uploading |
19:10.39 | exco | ok see you later |
19:12.42 | exco | sorry, 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.09 | paulproteus | But 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.47 | exco | yes |
19:15.07 | *** join/#htc-linux pleemans (n=peter@d51A5E76A.access.telenet.be) |
19:15.14 | exco | the implementation only seems partial |
19:15.59 | miknix | cr2_, ping |
19:17.00 | exco | powering down gsm antenna the beeping gets interrupted (so you can power down) |
19:17.00 | exco | also you can power it up afterwards |
19:17.50 | exco | doesn't always work instantly though |
19:18.00 | exco | http://sharedzilla.com/en/get?id=144219 |
19:18.09 | exco | there's the image |
19:18.11 | *** join/#htc-linux CVirus (n=GoD@82.201.222.72) |
19:23.16 | exco | the OM image runs with the hh18 Kernel |
19:28.59 | cr2_ | hi miknix |
19:29.07 | miknix | hi cr2_ |
19:29.35 | miknix | cr2_, S^P is wiling to help in htc herald |
19:30.21 | S^P | hi cr2_ |
19:31.26 | miknix | BabelO, can I find your changes somewhere? |
19:31.34 | cr2_ | hi S^P |
19:32.07 | cr2_ | afair herald is like wizard and uses the i2c cpld |
19:32.14 | BabelO | miknix: which changes ? |
19:32.22 | miknix | BabelO, to get the MMC working |
19:33.09 | BabelO | miknix: i post it yesturday, and basically it is just a card status error detection to remove |
19:33.46 | miknix | cr2_, is it possible to create a git for all HTC linux devices?= |
19:34.11 | cr2_ | miknix: already exists at linuxtogo |
19:36.50 | miknix | cr2_, which url? |
19:37.15 | BabelO | miknix: git.linuxtogo.org |
19:38.05 | miknix | cr2_, can I have push permissions? |
19:38.20 | cr2_ | miknix: ask Kevin2 |
19:38.45 | miknix | cr2_, it doesnt make much sense to have two separate branches for the same purpose |
19:39.15 | miknix | s/branches/repos/ |
19:40.26 | BabelO | cr2_: what is the magic convert line to convert png to tiff for gt ? :) |
19:40.51 | cr2_ | yes, your major difference with BabelO is the htc-i2c_cpld.c driver |
19:41.21 | cr2_ | BabelO: convert +dither -colors 255 -depth 8 file.tif file.png |
19:41.27 | exco | guys, can I connect to a smartphone running linux through USB (easily?) |
19:41.31 | cr2_ | BabelO: isn't it in the docs ? |
19:42.09 | cr2_ | exco: if your usersapce software is configured for ssh on usb0 then yes. |
19:42.47 | exco | cr2_: :-) thanks that gives me sth to go on using best friend google |
19:42.53 | cr2_ | BabelO: you need imagemagick for that. is there imagemagick for windows ? then it'd be probably added to GT.exe |
19:43.12 | cr2_ | exco: but it's usually the case. |
19:43.15 | BabelO | cr2_: don't know, but i m on linux only at home :) |
19:43.59 | miknix | cr2_, is kevin usually around here? |
19:44.41 | *** join/#htc-linux CVirus (n=GoD@82.201.222.72) |
19:45.10 | cr2_ | miknix: he was here today |
19:45.29 | cr2_ | miknix: keep in mind that he is in the US, so there is some time offset |
19:45.35 | miknix | cr2_, 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.23 | ivucica | hey everyone |
19:57.50 | ivucica | did anyone try to boot "Linux as Bootloader" with HaRET, and then to load the kernel itself? |
19:58.52 | BabelO | cr2_: yes following the doc now |
19:59.07 | *** join/#htc-linux TimRiker (n=timr@rikers.org) |
20:01.29 | BabelO | cr2_: Mercator Transverse Universel fuseau 31 |
20:03.05 | exco | do you know of a how-to to get ssh over usb0 running |
20:04.21 | miknix | cr2_, BabelO there is an i2c-omap.c i2c master driver on my linux branch |
20:04.44 | BabelO | miknix: yes on mine too, i use this one |
20:04.52 | BabelO | miknix: check the bus shift |
20:05.09 | exco | can ping the device and the other way round |
20:14.49 | miknix | BabelO, can you paste your i2c platform configuration? |
20:15.21 | BabelO | miknix: no configuration specific |
20:15.46 | paulproteus | exco, BTW, I'm back. |
20:16.36 | miknix | BabelO, omap_register_i2c_bus(1, 100, NULL, 0); |
20:17.50 | exco | super |
20:18.34 | miknix | BabelO, whats the clockrate and busid? |
20:18.37 | BabelO | cr2_: this grid tool is crazy ;) very good |
20:18.50 | exco | paulproteus: I'm trying to ssh into the Magicion over USB |
20:18.52 | BabelO | miknix: i change nothig just enable the support in kernel |
20:18.59 | BabelO | and change the bus shift |
20:19.25 | paulproteus | exco, Cool - let me know if you have any problems. |
20:19.35 | exco | did you get the image? |
20:20.04 | paulproteus | I'm downloading it now. |
20:20.11 | paulproteus | I'm also setting up OpenEmbedded. |
20:20.19 | paulproteus | How did you compile the kernel - using OE? |
20:20.27 | exco | I didn't |
20:20.41 | paulproteus | Oh, okay. (-: |
20:20.45 | exco | there's an autobuild site |
20:20.50 | paulproteus | Oh, I didn't realize.... |
20:20.54 | paulproteus | That's very convenient. |
20:21.13 | paulproteus | So I guess I should focus on the Qtopia stuff instead. |
20:21.25 | paulproteus | BTW, this downlaod site is amazingly slow for me. 20KB/s, done in one hour. |
20:21.38 | exco | http://www.angstrom-distribution.org/unstable/autobuild/magician/ |
20:21.55 | exco | you can ftp it from my server at 100k if you want |
20:22.14 | paulproteus | That'd be better. |
20:22.25 | exco | I thought putting it on one of those 1-click hosters would be way faster |
20:22.56 | exco | or can I send it directly here in irc? |
20:23.22 | paulproteus | You can use IRC to send the file too. |
20:24.35 | paulproteus | FTP is also fine, though. |
20:26.05 | cr2_ | BabelO: "Mercator Transverse Universel fuseau 31" <- it's a localized GT ? :) |
20:26.57 | BabelO | cr2_: i don't understand all, just reading my IGN maps :), and all precalculated from grid tool fit perfect the map |
20:28.04 | BabelO | cr2_: but i get this error !! ERROR 1: Only OGC WKT Projections supported for writing to GeoTIFF |
20:32.10 | cr2_ | BabelO: what projection did you set ? |
20:32.37 | BabelO | cr2_: +proj=merc +ellps=WGS84 +datum=WGS84 +no_defs |
20:32.52 | BabelO | cr2_: with the wizard |
20:36.26 | exco | so guess 15minutes till you have the img |
20:37.13 | cr2_ | BabelO: strange. works for me in linux |
20:37.24 | cr2_ | BabelO: how do you define the grid ? |
20:37.43 | paulproteus | So exco we still need to see if we can make it wake from sleep. |
20:37.48 | BabelO | cr2_: i use the gridtool like the doc say |
20:37.57 | exco | I do whatever you tell me :-) |
20:38.18 | exco | right now I took my gf's phone trying to figure out if bt works |
20:38.27 | paulproteus | ? |
20:38.37 | BabelO | cr2_: i send you link in pm |
20:38.45 | paulproteus | Before, did you say you asked the Magician to do suspend? |
20:38.47 | exco | bt = bluetooth |
20:38.58 | paulproteus | I see, to test bt on the Magician. |
20:39.26 | 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:39.28 | cr2_ | BabelO: ok, i'll check |
20:39.39 | miknix | BabelO, 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.57 | paulproteus | exco, Hmm, I think the power button is supposed to wake it up. |
20:40.00 | BabelO | miknix: and does it works ? ;) |
20:40.14 | paulproteus | cr2_, Can you answer exco's question about suspend maybe? |
20:40.20 | miknix | BabelO, I have new mmc errors |
20:40.27 | paulproteus | exco, While I'm a little farther than you, I'm by no means an expert here. |
20:40.42 | exco | paulproteus: the power button closes applications in OM |
20:41.00 | cr2_ | paulproteus: which one ? |
20:41.05 | paulproteus | <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.49 | paulproteus | In general, cr2_, how should one test suspend and resume? |
20:41.52 | paulproteus | (From within Linux) |
20:42.03 | BabelO | paulproteus: apm -s |
20:42.13 | cr2_ | cat mem > /sys/... |
20:42.13 | paulproteus | That's for suspend-and what about for wake? |
20:42.14 | BabelO | paulproteus: or echo mem > sys/power/state |
20:42.31 | cr2_ | paulproteus: for wakeup you'd press the power button |
20:42.39 | miknix | BabelO, http://pastebin.com/d2505a7e3 |
20:42.58 | cr2_ | BabelO: i don't have apm -s on kiozen's image |
20:43.19 | paulproteus | cr2_, That's very normal, thanks. (-: |
20:45.39 | miknix | BabelO, the double initialization of omap-mmc is rather strange |
20:46.03 | exco | suspend and resume works |
20:46.11 | paulproteus | exco, w00t, the way it should be. |
20:46.30 | exco | gotta c&p that somewhere |
20:46.41 | paulproteus | So exco, we should test how long the phone can stay alive suspended, and |
20:46.47 | paulproteus | we should also check if incoming rings can wake it. |
20:47.04 | paulproteus | I think the latter is not true, which is why I switched to Universal when tsdogs (iirc) fixed that. |
20:47.14 | paulproteus | But that should be doable by doing some tracing in haret. |
20:47.24 | exco | I will do the incoming ring now (have to reboot thoug because I now can't seem to get the GSM back on) |
20:47.25 | paulproteus | Which, now that I have a separate SIM, I'm willing to do. |
20:47.31 | paulproteus | exco, Okay, cool |
20:51.55 | exco | this time I did receive the call |
20:52.24 | paulproteus | And what about if the phone is suspended? |
20:52.42 | exco | gotta one-finger-type that command first :-) |
20:53.26 | BabelO | miknix: it is because you keep the mmc register in your board file |
20:54.15 | BabelO | cr2_: all upload finished, i remove the trouble border on images |
20:54.58 | miknix | BabelO, you are right.. I didnt even noticed that |
20:55.10 | exco | wakes up and rings |
20:55.36 | paulproteus | exco, Whoa. |
20:55.44 | paulproteus | Uh, then, the only thing left to check is battery life. |
20:55.50 | paulproteus | Other than that, we're golden! |
20:56.05 | paulproteus | We might want to port Qtopia or something, but that's pretty great. |
20:56.07 | exco | we'll know about battery life by tommorrow |
20:56.11 | paulproteus | Amazing. |
20:56.12 | paulproteus | exco++ |
20:56.29 | exco | yeah, that's really great |
20:56.50 | exco | btw I've learnt a lot so far |
20:57.33 | paulproteus | Awesome. I've been very lazy so far, but I'm very happy to have helped. (-: |
20:58.05 | BabelO | cr2_: ok i found kiozen bug ;) |
20:58.28 | paulproteus | BTW, exco, I guess I'll try building a more recent OpenMoko image using OE tonight also. |
20:58.40 | exco | anyways the OM is running hh18 kernel - can we update that to the latest one? |
20:59.13 | exco | I 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.59 | miknix | BabelO, err.. not really, the only thing being configured on the board file is omap_mmc_config |
21:00.00 | paulproteus | You mean kernel improvements, exco, or OpenMoko software improvements? |
21:00.06 | paulproteus | I'm sure there are OpenMoko software improvements that would be nice to have. |
21:00.56 | exco | the Armstrong image seems to run way faster (same ui) |
21:01.01 | exco | with the latest kernel |
21:01.10 | paulproteus | Way faster than with the older kernel you mean? |
21:01.29 | exco | compared to the hh17 one, yes |
21:01.34 | paulproteus | Awesome. |
21:01.39 | exco | you can try for yourself |
21:01.45 | paulproteus | I will in a few minutes. (-: |
21:01.56 | paulproteus | I'm configuring OE while your file finishes downloading. |
21:02.02 | paulproteus | Hopefully my SD card reader won't be totally broken. |
21:02.20 | exco | I 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.23 | exco | hh20 |
21:02.36 | paulproteus | Huh? |
21:02.56 | exco | the other hh17 kernel is also included |
21:03.46 | exco | which you can run simply by naming it zImage instead of the other one or adapting the default txt |
21:03.51 | paulproteus | nods |
21:04.15 | exco | so you can see the difference in speed very easily |
21:05.11 | exco | if we can custom build a new image of OM - I gues that's the way to go because of GSM already working? |
21:05.26 | paulproteus | I agree. |
21:07.37 | exco | we could also look up what they've done to get it working (possibly n_tihtc ...) and use that with Angstrom |
21:07.49 | paulproteus | Agreed. |
21:08.04 | paulproteus | I'm going to take a shower for now. This is very exciting. |
21:08.14 | exco | so ttyl |
21:09.40 | *** join/#htc-linux pikapika (n=pikapika@mar75-8-88-164-227-147.fbx.proxad.net) |
21:09.58 | pikapika | hi |
21:10.02 | exco | hi |
21:12.51 | pikapika | :) |
21:13.34 | exco | yes I'm currently also very happy :-) |
21:13.42 | pikapika | about what ? |
21:15.43 | exco | about running linux on my magician |
21:15.55 | exco | I made my first call using linux - yesterday |
21:16.02 | pikapika | great :) |
21:16.23 | exco | you could have possibly seen me smiling from like 2 miles away |
21:16.45 | pikapika | first time i tried qtopia on my blueangel was nice too :) |
21:18.29 | exco | I 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.10 | pikapika | exco: i'm using it for years now ;) |
21:26.01 | exco | I only started like 3 months ago (tried every year once... this time it got me) |
21:26.42 | exco | I have a totally messed up XP installation (gparted somewhat sucks), and I don't care the least |
21:27.17 | S^P | miknix: any idea about this error http://pastebin.com/d3ec07699 |
21:27.54 | miknix | S^P, yes.. I just fixed it a while ago |
21:28.14 | S^P | in branch? |
21:28.19 | pikapika | exco: good luck ;) |
21:28.28 | miknix | S^P, just add a int b_hw to the structure and remove else statements |
21:28.36 | S^P | ok |
21:28.41 | miknix | S^P, I didnt commit |
21:31.40 | exco | pikapika: ? what for? |
21:32.36 | paulproteus | rehi, all. |
21:33.15 | pikapika | exco: it's a little hard at beginning |
21:34.49 | exco | yes... 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.57 | exco | because then it just does what you tell it to |
21:35.24 | pikapika | cli is great when you get used to it |
21:36.23 | exco | rehi |
21:39.49 | exco | how can I check if ip forwarding is enabled ? |
21:40.10 | paulproteus | cat /proc/net/ipv4/something |
21:40.50 | *** join/#htc-linux cr2 (n=konversa@crpl6.physik.uni-wuppertal.de) |
21:41.11 | exco | don't have ipv4 dir - cat /proc/net/ipv6_route ? |
21:41.29 | paulproteus | paulproteus@swallowtail:/proc/sys/net/ipv4 $ cat ip_forward |
21:41.29 | paulproteus | 0 |
21:42.23 | miknix | BabelO, damn.. they added mmc_init() to devices.c on plat-omap |
21:42.42 | paulproteus | exco, Booting! |
21:43.06 | exco | so cat /proc/sys/net/ipv4/ip_forward |
21:43.06 | exco | 0 means it's disabled? |
21:43.09 | paulproteus | Yup. |
21:43.14 | paulproteus | You can "echo 1" into that file to enable it. |
21:43.55 | paulproteus | exco, For me, this image says, "Error connecting to gsmd" on boot. |
21:44.18 | exco | yes, the armstrong one, right? |
21:44.24 | paulproteus | Yup. |
21:44.34 | exco | same her |
21:44.39 | marbalon | BabelO: hi |
21:44.45 | exco | if you run the other executable you boot the OM |
21:44.48 | paulproteus | Got it. |
21:44.50 | exco | and it has GSM |
21:45.05 | paulproteus | hits reboot |
21:45.18 | paulproteus | BTW 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.34 | BabelO | hi marbalon |
21:45.44 | marbalon | BabelO: i have some problems with egpio in kaiser |
21:46.05 | exco | don't know if we can shutdown and boot the kernel again without the hardreset in between |
21:46.14 | exco | thanks, now I see the menu |
21:46.17 | marbalon | BabelO: reddefine some function in generic_gpio.c set,get,to_irq |
21:46.26 | paulproteus | I think you're right. How are you doing your reset? |
21:46.37 | marbalon | BabelO: and set func works fine |
21:47.17 | exco | right now... I'm pressing shutdown plus pressing that little button next to the usb port -> hardreset |
21:47.20 | BabelO | marbalon: of, you have problem with get then ? |
21:47.29 | exco | calibrate screen and that other shit ... |
21:47.30 | paulproteus | "pressing shutdown" meaning power button? |
21:47.38 | paulproteus | There we go! |
21:47.39 | paulproteus | Thanks. (-: |
21:47.41 | marbalon | BabelO: but when I add irq = gpio_to_irq(EGPIO_6_0_KBD_UP); to int kernel hangs |
21:48.01 | marbalon | int = init |
21:48.02 | exco | how do I echo 1 into the file |
21:48.11 | paulproteus | echo 1 > /path/to/wherever |
21:48.15 | paulproteus | But you must do this as root. |
21:48.44 | marbalon | BabelO: get func should works but haven't tested yet |
21:48.48 | paulproteus | Great, jumping to the OM image now. |
21:49.11 | exco | yes |
21:49.20 | paulproteus | I wonder how this OM image was made. |
21:49.55 | exco | I do too... (so far I haven't found out) |
21:49.56 | exco | I really tried echo /proc/sys/net/ipv4/ip_forward > 1 :-) |
21:50.12 | exco | so that wrote /proc/sys/net/ipv4/ip_forward into 1 |
21:50.19 | marbalon | BabelO: and this is a problem because I want use egpios like normal gpios |
21:50.23 | exco | hahaha |
21:50.59 | BabelO | marbalon: i understand, better is to look at htcapache definition |
21:51.33 | paulproteus | If the kernels are the same, the difference could simply be loading n_tihtc (or whatever it was called). |
21:51.46 | marbalon | BabelO: any link to file ? |
21:53.17 | paulproteus | exco, inbound and outbound calls tested. (-: |
21:53.22 | BabelO | marbalon: you need more definition for egpio struct |
21:53.25 | BabelO | marbalon: http://handhelds.org/cgi-bin/cvsweb.cgi/linux/kernel26/arch/arm/mach-pxa/htcapache/htcapache.c |
21:54.00 | exco | bet you have a big smile in your face |
21:54.37 | paulproteus | For me, I screamed "YES!" and my roommate then wondered what happened. |
21:54.47 | exco | :-P |
21:55.04 | paulproteus | Okay, in the Terminal I'm grinning. |
21:55.11 | BabelO | marbalon: i think it is the .irq_base = IRQ_BOARD_START, |
21:55.45 | miknix | is there any registry key to disable activesync? I'm full of it |
21:55.55 | paulproteus | Now how to change that horrible ringtone... |
21:55.59 | exco | I think I can ping my box through usb |
21:56.12 | exco | I have no idea - but I didn't look |
21:56.31 | exco | easiest way should be to locate the ringtone and simply replace it |
21:57.07 | paulproteus | Good point. |
21:57.40 | paulproteus | My face keeps accidentally hitting the hang up button. |
21:57.45 | marbalon | BabelO: ok, thanks I will try it |
21:57.47 | exco | I 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.58 | BabelO | marbalon: and at the top also there is IRQ related def ;) |
21:58.18 | exco | we can probably disable the screen while talking ... later on |
21:58.25 | BabelO | marbalon: tell me if you need something, i have all onmy hardriver, faster to look for something |
21:58.32 | paulproteus | I think it's worth trying a Qtopia image, too. |
21:58.33 | exco | that's always an issue with pda-phones |
21:58.39 | paulproteus | nods |
21:58.42 | exco | I can send you an image if you want |
21:58.56 | paulproteus | Of Qtopia, you mean? If it's the same as from htcpxa I can get it from there. |
21:58.58 | exco | or I mean you can download one |
21:59.00 | paulproteus | nods |
21:59.11 | exco | yes, it's the one from htcpxa |
21:59.51 | miknix | BabelO, mmci-omap mmci-omap.1: no slots |
21:59.52 | paulproteus | I guess I'll give it a shot to see what works. |
22:00.42 | marbalon | BabelO: hm, today I should go sleep, it's realy late, but thanks, see you tomorrow |
22:00.53 | marbalon | good night |
22:01.11 | miknix | BabelO, http://pastebin.com/d238a943b I also dont have any message from the i2c host |
22:02.10 | exco | paulproteus: |
22:02.10 | exco | At the linux box |
22:02.10 | exco | - echo 1 > /proc/sys/net/ipv4/ip_forward |
22:02.10 | exco | - modprobe usbnet |
22:02.10 | exco | - ifconfig usb0 192.168.0.200 netmask 255.255.255.0 broadcast 192.168.0.255 |
22:02.10 | exco | - iptables -t nat -A POSTROUTING -o eth0 -s 192.168.0.200/32 -j MASQUERADE |
22:02.10 | exco | At the Smartphone |
22:02.10 | exco | - ifconfig usb0 192.168.0.202 netmask 255.255.255.0 broadcast 192.168.0.255 gateway 192.168.0.200 |
22:02.20 | exco | paulproteus: does that look good? |
22:03.10 | miknix | BabelO, do you have your dmesg with i2c working somewhere? |
22:03.25 | paulproteus | Sure - 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.26 | BabelO | miknix: wait i reboot |
22:03.43 | BabelO | miknix: but do you enable omap i2c module in kernel ? |
22:03.48 | exco | my lan has never been on ..0.. :-) |
22:04.11 | exco | <PROTECTED> |
22:04.11 | exco | ssh: connect to host 192.168.2.202 port 22: No route to host |
22:04.23 | miknix | BabelO, CONFIG_I2C_OMAP yes its enabled |
22:05.14 | paulproteus | exco, That's old Qtopia, forget it. |
22:05.18 | S^P | miknix: I got this msg |
22:05.19 | BabelO | miknix: CONFIG_I2C_CHARDEV=y and CONFIG_I2C=y also ? |
22:05.32 | S^P | i2c /dev entries driver i2c-core: driver [dev_driver] registered i2c-gpio: probe failed: -19 |
22:05.39 | miknix | BabelO, yes |
22:06.04 | exco | thought so |
22:06.21 | miknix | BabelO, what do you have in arch/arm/mach-omap1/devices.c:omap1_init_devices() ? |
22:07.33 | exco | can I get that device online through USB? |
22:08.13 | BabelO | miknix: it is in plat-omap/devices.s |
22:08.52 | miknix | BabelO, what? |
22:09.03 | miknix | BabelO, .s? |
22:09.16 | BabelO | miknix: arch/arm/plat-omap/devices.c |
22:09.30 | miknix | BabelO, so i2c init is called there for you? |
22:10.22 | miknix | damn |
22:10.23 | miknix | / Broken in linwizard |
22:10.23 | miknix | //omap_init_i2c(); |
22:10.47 | miknix | enabled.. lets see |
22:11.11 | BabelO | miknix: http://pastebin.ca/1006408 |
22:11.47 | S^P | :) |
22:13.44 | BabelO | S |
22:14.14 | BabelO | S^P: last time pH5 was able to boot my kernel for artemis |
22:14.15 | miknix | BabelO, omap_init_i2c() I dont have this function implemented on omap1 |
22:15.06 | BabelO | miknix: ok, then maybe i do it myself ;), wait i pastebin |
22:15.30 | miknix | BabelO, I can also platform_register() the i2c_bus on the board file |
22:16.15 | BabelO | miknix: http://pastebin.ca/1006410 |
22:16.43 | cr2 | compiling gcc-4.3.0 on alpha |
22:17.43 | BabelO | miknix: sorry i ve disabled i2c in latest compile ;) |
22:17.44 | paulproteus | cr2, BTW, do you know how goxboxlive made his EXE kernels at http://www.linuxtogo.org/~htcpxa/htcmagician/images/OpenMoko/ ? |
22:18.16 | paulproteus | And/or do you know how to extract the zImage from them? I tried cabextract on the EXEs to no avail. |
22:20.36 | miknix | grrrrrr... I hate wm5 |
22:20.46 | paulproteus | Not as bad as WM3! |
22:21.13 | exco | ;-) |
22:21.17 | miknix | paulproteus, you said that because you dont have active sync always poping around |
22:21.36 | exco | do you need AS for now? |
22:21.36 | BabelO | paulproteus: you need haret sources to do an .Exe |
22:22.06 | paulproteus | miknix, I also say that because WM3 takes a hard reset whenever Linux boots. |
22:22.11 | miknix | exco, no.. I tried to delete the .exe file but I couldnt |
22:22.19 | exco | so can't we ask goxboxlive to provide us with the zImage? |
22:22.21 | miknix | paulproteus, Oo.. you win |
22:22.32 | paulproteus | miknix, "Great" |
22:22.36 | miknix | :) |
22:23.38 | *** join/#htc-linux patoche (n=pat@lns-bzn-57-82-249-45-162.adsl.proxad.net) |
22:27.40 | paulproteus | exco, Yeah, we can when he's online. (-: |
22:28.39 | exco | paulproteus: so can I get www over USB to work? |
22:28.59 | paulproteus | exco, You mean web surfing from the phone via USB? |
22:29.04 | exco | yes |
22:29.26 | paulproteus | Sure, it should be possible if you can get your IP forwarding going. |
22:29.39 | exco | or more important can I check the battery status somehow? |
22:30.06 | miknix | BabelO, 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.18 | cr2 | paulproteus: no, it was some hack on hack on hack. |
22:34.28 | exco | miknix: exco, no.. I tried to delete the .exe file but I couldnt |
22:34.43 | exco | I lost you... you want to delete the activesync exe? |
22:35.00 | paulproteus | exco, OpenMoko does show the battery state in the corner. |
22:35.03 | paulproteus | And /proc/acpi will likely have it. |
22:35.05 | paulproteus | Or /proc/apm. |
22:35.05 | miknix | exco, I'm desperate.. I want to do anything to kill this annoying crap |
22:35.41 | exco | miknix: if you don't need it - kill it inside taskmanager |
22:35.55 | miknix | exco, it pops up after a minute |
22:36.17 | miknix | and it will ruin my linux boot |
22:36.42 | exco | not if you kill it... I'll look up the process name |
22:37.12 | exco | miknix: wcescomm.exe |
22:37.41 | exco | if you need it again just start it from your Startmenu |
22:37.46 | miknix | hum.. I think my task manager doesnt show that obscure processes |
22:37.59 | exco | wcescomm.exe = ActiveSync |
22:38.14 | miknix | then yes, I'm killing it |
22:38.20 | miknix | and it pops up after a while |
22:38.46 | exco | so either it gets called when you connect (boot WinCE) again |
22:39.02 | miknix | it detects a rndis compatible proto on usb |
22:39.07 | miknix | and pops up |
22:39.53 | exco | if I was in windows right now... I could tell you |
22:41.24 | exco | you could kill the process then rename C:\Program Files\Microsoft ActiveSync (and if you need it again -> rename it back) |
22:41.31 | miknix | exco, meh.. dont bother. TTL for wm5 is everytime smaller :p |
22:43.28 | exco | paulproteus: cat /proc/sys/net/ipv4/ip_forward returns 1, also I can browse my local webserver through usb |
22:43.44 | paulproteus | Then you probably just need to set DNS in /etc/resolv.conf on the phone. |
22:43.54 | exco | paulproteus: I can't ping google.de, so I can't ... ah thanks |
22:45.20 | exco | (no gedit ;-() |
22:45.32 | exco | I can't even use vi on my machine ... yet |
22:45.32 | paulproteus | There is probably nano, though. |
22:46.34 | miknix | exco, my activesync is not there |
22:46.53 | exco | paulproteus: it already has 192.168.200 as nameserver in it |
22:47.05 | exco | paulproteus: 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.14 | paulproteus | Nope, ifconfig doesn't touch nameserver. |
22:47.17 | paulproteus | Is your desktop running a DNS server? |
22:47.22 | paulproteus | Probably not - what is the real DNS server? |
22:47.23 | exco | probably not |
22:47.48 | exco | my wlan-box - I guess... I'll try if I can ping that |
22:48.25 | exco | miknix: we'll what language is your Windows ... and ... you should know where you installed AS to :-) |
22:48.33 | paulproteus | exco, You might want to read http://www.debian-administration.org/articles/23 too fwiw. |
22:48.33 | BabelO | exco: iptables -t nat -A POSTROUTING -s 192.168.1.0/24 -o eth2 -j MASQUERADE |
22:48.42 | paulproteus | Or just run BabelO's command. (-: |
22:48.47 | BabelO | exco: 192.168.1.0/24 is the network of your magician |
22:48.58 | miknix | exco, its english. :) but my As is in the windoz dir |
22:49.32 | miknix | like any other piece of crap |
22:51.51 | exco | :-) |
22:52.06 | exco | well... I had my problems with AS ... but I quite like it |
22:53.02 | exco | BabelO: 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.16 | BabelO | exco: i use just the subnetwork connected between my computer and device |
22:54.45 | exco | my Magician just froze in vi (subnetwork 24?) |
22:55.31 | exco | miknix: btw... gksudo pops up everytime I do a hardreset cause of synce :-) |
22:56.35 | exco | BabelO: can you explain the dis-/advantage of that? |
22:57.38 | BabelO | exco: just that i have more than one device, and i want them to access internet |
22:58.33 | exco | BabelO: so you just give them different ip's? |
22:58.58 | BabelO | exco: yes |
22:59.54 | miknix | BabelO, do you have omap_register_i2c_bus() on arch/arm/plat-omap/i2c.c ? |
23:02.38 | cr2 | good night |
23:02.44 | miknix | cr2, see ya |
23:03.12 | BabelO | good night cr2 |
23:03.29 | BabelO | miknix: no i2c.c in plat-omap |
23:03.47 | miknix | BabelO, in my kernel version i2c initialization was moved to there |
23:03.55 | miknix | no 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.48 | exco | good night cr2 |
23:14.25 | exco | BabelO: thanks, I can now ping my router or the ip of google, |
23:14.33 | paulproteus | Yay exco. |
23:14.40 | exco | but ping google.de still results in host name lookup |
23:14.53 | paulproteus | Copy /etc/resolv.conf from your desktop to the phone. |
23:14.54 | exco | aeh failure I mean |
23:15.19 | exco | paulproteus: that sounds easy... |
23:16.09 | exco | or install dns server |
23:17.55 | *** join/#htc-linux silven (n=zmc@adsl-72-50-84-84.prtc.net) |
23:19.21 | exco | hopefully vi doesn't crash again |
23:20.45 | exco | what do I need to press in vi to get to edit mode |
23:24.56 | exco | ping google.de now works - hijey |
23:27.02 | exco | smile: I'm surfing the web |
23:27.44 | exco | the only thing cooler would be if I was connected through bluetooth |
23:27.55 | exco | paulproteus: what are you up to |
23:28.26 | paulproteus | exco, I'm working on another project, setting up some wikis. |
23:29.51 | exco | I'll go to bed soon... I'll tell you tomorrow about the battery lifetime |
23:29.55 | paulproteus | Awesome! |
23:35.29 | exco | the Magician is not discoverable through bluetooth |
23:39.04 | exco | pressing the camera button longer you can switch fullscreen, orientation and make screenshots |
23:39.17 | paulproteus | exco, Oh, I didn't know you could switch orientation. Awesome. |
23:40.00 | exco | can I reboot because my mainscreen just went gray |
23:40.10 | exco | I mean without hardreset |
23:40.21 | paulproteus | No. |
23:40.27 | paulproteus | )-: |
23:41.12 | exco | reboot command shuts it off |
23:42.17 | exco | so 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.36 | exco | darned... today is a good day... I ssh'ed into the Magician |
23:49.17 | exco | cat /proc/apm |
23:49.17 | exco | 1.13 1.2 0x02 0x01 0x00 0x00 100% -1 min |
23:51.37 | exco | no apt-get :-( |
23:52.31 | Marex | exco, ipkg ; rm -rfv / |
23:52.39 | exco | sure |
23:53.23 | exco | funny man |
23:54.36 | Marex | well I was looking forward to yet another cut on my scythe ... oh well |
23:54.43 | Marex | ipkg should help you anyway |
23:55.03 | exco | yes, just looked that up |
23:55.12 | Marex | :) |
23:55.44 | exco | anyways those rm... hints on Ubuntuforum help ... otherwise I might have just c&p it |
23:57.05 | Marex | Im 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.53 | Marex | at least from #ubuntu-cz |
23:58.02 | exco | I mean... in this case I'd just have deleted the stuff on my Magician - which I have an image of anyways, |
23:58.06 | BabelO | Marex: do you have any idea how can i find an irq problem ? |
23:58.09 | Marex | well I had my fun ... and half of channel had their as well ... a little bit different though :D |
23:58.20 | Marex | BabelO, what irq problem ? |
23:59.03 | Marex | exco, you use ubuntu? :) |
23:59.04 | exco | if 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.10 | exco | 8.04 |
23:59.16 | BabelO | Marex: with omap kernel, when i mount sd , or just use irq inside a fake module, it freeze the device :( |
23:59.17 | Marex | poor you :) |
23:59.18 | univac | ;o |
23:59.41 | Marex | BabelO, I see ... the irq handler is too fat probably ... |
23:59.51 | Marex | also dont forget mutex locks all over the place |