00:00.40 | dcordes | tmzt: uhm, I just did (from my normal /) mb /jlime/usr/bin/Xfbdev /jlime/usr/bin/Xfbdev-jlime; ln -s /media/ram/Xfbdev /jlime/usr/bin, then chrooted, then did (TSLIB_TSDEVICE=/dev/input/event0 Xfbdev) & (sleep 30; chvt 1) |
00:00.49 | dcordes | tmzt: and it showed the half drawn X |
00:01.19 | pigeon | cr2: how do i do that? (sorry, i'm very new to doing all these things) |
00:01.28 | Kevin2 | pigeon: Nothing in particular - just if it works generally. |
00:01.40 | tmzt | there is no screen option, but try -dumb and -softCursor |
00:01.46 | dcordes | ok |
00:01.50 | tmzt | and fbset -g |
00:02.00 | tmzt | you can do it outside of chroot |
00:02.02 | dcordes | gotta reboot first |
00:02.14 | tmzt | or edit /etc/inittab and add five more getty's |
00:02.23 | cr2 | pigeon: pd 0x90040000 0x20 |
00:02.26 | dcordes | tmzt: why outside of chroot? |
00:02.33 | dcordes | what did we set it up for then? |
00:02.36 | tmzt | you have fbset |
00:02.41 | dcordes | (just trying to understand what is the aim now) |
00:02.46 | tmzt | maybe inside as well |
00:02.48 | dcordes | fbset is in angstrom, yes- |
00:03.12 | tmzt | fbset works inside as well |
00:03.39 | dcordes | but what's the aim about the jlime now? |
00:04.10 | tmzt | to test an Xserver that I know works |
00:04.26 | pigeon | cr2: for all gpios register? |
00:04.31 | dcordes | so why would I run X and fbset outside of jlime then |
00:04.43 | dcordes | rebooted. |
00:05.06 | tmzt | oh, no fbset talks to the kernel not X so it doesn't matter |
00:05.08 | dcordes | brb |
00:09.00 | dcordes | tmzt: last inittab line is 1:2345:respwan:/sbin/getty 38400 tty1, how'd I add up a new one (or five)? |
00:11.22 | cr2 | pigeon: yes |
00:13.40 | tmzt | follow the same syntax and increase the numbers |
00:14.04 | tmzt | 2:2345:respawn:/sbin/getty 38400 tty 2 |
00:14.07 | tmzt | 2:2345:respawn:/sbin/getty 38400 tty2 |
00:14.18 | *** join/#htc-linux danthaman915 (n=daniel@70-138-247-122.lightspeed.hstntx.sbcglobal.net) |
00:14.28 | dcordes | ok |
00:14.30 | pigeon | cr2: at the moment i get: http://pastebin.ca/1083894 |
00:15.12 | tmzt | we should patch that double vxres line in the kernel though |
00:15.41 | tmzt | did you do a free in before you rebooted (how much ram was free)? |
00:15.56 | tmzt | vyres |
00:18.28 | dcordes | tmzt: on my debian/ubunut machines I have virtual terminals on 1 2 3 4 5 6 and 7 is X, how'd I go about that? define the start of 6 vts in /etc/inittab and Xfbdev opens a seventh vt then? |
00:19.01 | tmzt | yes |
00:19.37 | tmzt | we don't have mappings for the keys to switch them but you can do chvt 2 in one and chvt 1 in the other |
00:19.58 | danthaman915 | hey, how do i get started putting linux on my htc hermes? |
00:20.24 | tmzt | if not, we force it with vt7 on the command line (maybe vt07) |
00:21.18 | danthaman915 | hold on nevermind im reading the wiki |
00:21.43 | cr2 | pigeon: ok. good night :) |
00:21.57 | dcordes | night cr2 |
00:22.00 | pigeon | cr2: nite :) |
00:22.33 | tmzt | http://handhelds.org/~koconnor/HTCHermes/ |
00:23.02 | dcordes | tmzt: how'd I go about making ctrl+camera button rotate throug the available vts? |
00:23.06 | tmzt | there is one .exe, but I am not sure if you need a partition for it or not |
00:23.25 | dcordes | that would save loads of time. the kaiser keyboard is nice but honestly, I'm slow on it |
00:23.34 | danthaman915 | so do i need to setup usbnet first |
00:23.44 | danthaman915 | is that in ubuntu already |
00:23.55 | dcordes | the module should be present |
00:24.04 | danthaman915 | i cant open synaptic to check |
00:24.18 | danthaman915 | cause im updating ubuntu |
00:24.23 | dcordes | /lib/modules/2.6.24-19-generic/kernel/drivers/net/usb/usbnet.ko |
00:24.30 | dcordes | modinfo usbnet |
00:24.51 | dcordes | danthaman915: it should have no package anyway. |
00:25.07 | danthaman915 | oh |
00:25.18 | danthaman915 | ok i think its loaded |
00:25.19 | tmzt | http://forum.xda-developers.com/showthread.php?t=273579&page=18 |
00:25.35 | dcordes | tmzt: must I do this in the kernel? control key is already mapped to windows key, and camera button is \ |
00:25.59 | tmzt | you need alt and f1..f7 at least for X |
00:26.08 | danthaman915 | sorry im a noob, although i do know some linux |
00:26.11 | dcordes | tmzt: let |
00:26.15 | tmzt | let me try ctrl-alt-left |
00:26.37 | dcordes | I should put alt on the camera key in the driver |
00:27.01 | tmzt | danthaman915: ifconfig usb0 on the host (desktop computer) |
00:27.36 | tmzt | you can do it through loadkeys though, no recompile |
00:27.43 | ginge | you could map one key to send control-alt- and use the 1-9 for the vt |
00:27.57 | dcordes | danthaman915: in ubuntu I need ctrl+alt+f? to switch out of X |
00:28.25 | *** join/#htc-linux nighthawk08 (n=a@212.143.154.159) |
00:28.25 | dcordes | ginge: sounds good. any hint how to do this in board-kaiser-keypad.c? |
00:28.37 | ginge | do it in loadkeys |
00:28.43 | tmzt | X won't exit at all |
00:29.18 | danthaman915 | ifconfig usb0 is returning "device not found" |
00:29.20 | tmzt | I need to map alt+left to home, alt+up to pgdn, how do I do that in loadkeys |
00:29.24 | ginge | can you not ssh into the phone? |
00:29.26 | tmzt | modprobe usbnet |
00:29.54 | tmzt | did you use that *.exe? |
00:30.03 | dcordes | ginge: never tried. but that would be useful. do you still have the ppp.sh on headfuzz? |
00:30.17 | ginge | yeah ppp.notsh |
00:30.35 | tmzt | did you get your sim working then? |
00:30.49 | dcordes | ginge: could you give me the url again? |
00:31.06 | ginge | http://headfuzz.co.uk/files/android/ppp.notsh |
00:31.19 | dcordes | tmzt: it's working all the time. I'm just get the flatrate contract only on august 3rd |
00:31.27 | dcordes | s/get/getting/ |
00:31.34 | dcordes | thanks |
00:32.18 | tmzt | decordes: modinfo just gives you information/parameters and maybe path, it doesn't load the module |
00:32.57 | danthaman915 | i think the problem might be that im updating the kernel right now |
00:32.57 | tmzt | modprobe and insmod do |
00:32.57 | dcordes | tmzt: it was just an idea how he can check for presence |
00:33.11 | tmzt | modprobe -v usbnet |
00:33.24 | tmzt | then ifconfig usb0 |
00:33.35 | tmzt | unless synaptic is slowing you down, you should be fine |
00:33.51 | dcordes | danthaman915: the kernel will be loaded when you reboot first |
00:33.57 | tmzt | lsusb |
00:33.58 | dcordes | so it doesn't matter right now |
00:34.11 | danthaman915 | i know but it might mess with the modules |
00:34.13 | danthaman915 | maybe... |
00:34.18 | danthaman915 | i dont know |
00:34.37 | tmzt | if you are upgrading to a different kernel, modules will go in /lib/modules/version/ |
00:34.58 | dcordes | danthaman915: you can just reboot before you start coping with it, but it won't really matter |
00:35.21 | dcordes | ginge: do you use some script or so to setup the reverse ssh connection into kaiser? |
00:35.37 | ginge | yes |
00:35.41 | danthaman915 | yeah just to be safe ill just reboot |
00:35.45 | danthaman915 | hold on |
00:36.31 | dcordes | ginge: is it under the ginge highly proprietary liscense or can I have it? |
00:36.44 | ginge | looking for a link now |
00:37.07 | ginge | basically ssh -R |
00:37.42 | dcordes | btw, is that legal? (not that I would care too much) |
00:38.10 | dcordes | or is it just the type of routing the providers use that won't make the direct ssh connection into the device work? |
00:38.43 | ginge | legal, probably, against the terms of the contract, probably. |
00:39.06 | ginge | they couldn't give each phone an ip address,the v4 range would be empty |
00:39.12 | *** join/#htc-linux danthaman915 (n=danthama@70-138-247-122.lightspeed.hstntx.sbcglobal.net) |
00:39.14 | ginge | hence the nat |
00:39.18 | dcordes | why not using ipv6? |
00:39.26 | ginge | are you? |
00:39.27 | danthaman915 | ok |
00:39.39 | dcordes | no I mean the providers, isn't that possible yet? |
00:39.50 | ginge | mostly, yes. requrie $$$ |
00:39.54 | dcordes | I guess they are just saving ruight |
00:39.59 | dcordes | ok |
00:40.23 | ginge | its gonna be ages before we get v6. most devices dont even support it yet. all they stuff has to be replaced |
00:40.45 | tmzt | you can add -N -n will allow you to background the connection |
00:41.03 | dcordes | need to bake the ppp package |
00:41.38 | ginge | ssh -f -N -R 10000:localhost:22 username@your _ip |
00:42.04 | danthaman915 | when i try "ifconfig usb0 192.168.0.1" im getting device not detected |
00:42.55 | tmzt | -n won't work with password though, -N will just keep it from starting a shell |
00:43.16 | danthaman915 | interestingly, in my network manager it says "unspecified misc. usb interface" |
00:43.27 | dcordes | ginge: that is from kaiser, right? |
00:43.28 | danthaman915 | should i connect to that? |
00:43.36 | ginge | dcordes: yes |
00:43.58 | ginge | then you ssh to your localhost port 10000 |
00:44.21 | ginge | you need sshd or dropbear |
00:44.24 | ginge | on the kaiser |
00:44.28 | tmzt | do just ifconfig usb0 and see what it says |
00:44.40 | tmzt | how are you connected to the internet, wired or wireless |
00:44.42 | tmzt | ? |
00:45.01 | danthaman915 | usb0: error fetching interface information: Device not found |
00:45.08 | dcordes | ginge: and 22 in the command is the port kaiser ssh client will use to connect to the remote ssh server? |
00:45.13 | danthaman915 | im connected to wireless |
00:45.14 | tmzt | does your device show up in lsusb? |
00:45.18 | danthaman915 | hmm |
00:45.26 | danthaman915 | yea |
00:45.33 | ginge | dcordes: yes, open that to your machine in your firewall |
00:45.39 | dcordes | ok great |
00:45.39 | danthaman915 | Bus 004 Device 002: ID 0bb4:0b04 High Tech Computer Corp. |
00:45.39 | tmzt | -p to change port |
00:46.04 | tmzt | what initrd are you using? |
00:46.09 | tmzt | what inittrd are you using? |
00:46.12 | ginge | tmzt: would need to reload sshd manually on the host |
00:46.31 | dcordes | ok then I have everythin I need, let's see if that will work |
00:47.20 | dcordes | ginge: so I just don't use -p but put the desired port in place of 22? |
00:47.37 | ginge | dcordes: what port do you run sshd on? |
00:47.49 | ginge | dcordes: on your pc? |
00:48.20 | ginge | dcordes: default is 22 |
00:48.46 | dcordes | ginge: different one |
00:49.01 | ginge | yeah put whatever port you are on then |
00:49.06 | dcordes | ok |
00:49.25 | ginge | test it first by wgetting from a server... saves a rebuild |
00:49.41 | ginge | what was escape mapped to again/ |
00:49.57 | dcordes | none I think |
00:50.11 | ginge | stuck in vi then |
00:50.21 | dcordes | I add nano for that |
00:50.31 | ginge | yeah, not in this image |
00:50.34 | dcordes | prefer it anyway |
00:50.43 | dcordes | which image are you in? |
00:51.02 | ginge | yeah, but I do find I keep pressing control-w in other editors which generally does horrible things |
00:51.07 | ginge | android minimal initrd |
00:53.13 | dcordes | ginge: wget http://linuxtogo.org/~lgorris/nano_2.0.7-r0_armv6.ipk; opkg install nano_2.0.7-r0_armv6.ipk |
00:53.42 | ginge | wont help. not angstrom based |
00:54.04 | ginge | its the android initrd which is tiny |
00:54.52 | ginge | hmm got past the dma error I think |
00:54.53 | danthaman915 | hey do i have to manually mount my phone in ubuntu |
00:55.05 | ginge | just getting different erors now |
00:55.36 | dcordes | ginge: I can get you a real small angstrom initrd if you like. is that in .25 kernel? |
00:56.34 | ginge | dcordes: I need an image that will automount the sd partitions and then move a shitload of data back and forth until it crashes. |
00:57.15 | ginge | so I really only need ppp an editor and basic tools |
00:58.18 | ginge | and wget :) |
01:00.06 | dcordes | hm ppp.sh doesn't liek me anymore |
01:00.57 | ginge | did you chmod it? |
01:01.19 | dcordes | yes it succeeds but I do not get the usual ppp interface |
01:01.20 | *** join/#htc-linux tmzt_mp900c (n=tmzt@adsl-70-228-87-174.dsl.akrnoh.ameritech.net) |
01:02.17 | tmzt_mp900c | danthaman915: have you read back through that thread? |
01:02.36 | danthaman915 | yea but my phone is not showing up |
01:02.55 | tmzt_mp900c | danthaman915: if the image you are using brings up usb0 then usbnet should work |
01:02.57 | danthaman915 | everything has device not dtected |
01:03.31 | tmzt_mp900c | lsusb -v -v |less and look for your device |
01:03.50 | tmzt_mp900c | see if there is a cdc ethernet listed under it |
01:05.40 | danthaman915 | i see "CDC data" |
01:05.57 | dcordes | ginge: I just got a segfault trying to cat /df |
01:06.03 | dcordes | /dev/smd7 |
01:06.55 | danthaman915 | i think the problem is that usb0 is missing |
01:07.19 | danthaman915 | i looked in /dev and there is no usb0 |
01:08.04 | dcordes | ginge: what would you first check for if the script would succeed but the interfaces was missing? |
01:08.26 | ginge | have you tried rerunning it? |
01:08.31 | dcordes | 3x |
01:08.47 | ginge | try bringing ifconfig up manually |
01:09.04 | dcordes | only the device nodes came to my mind, I thought they'd be missing intirely, but with the normal init, udev obviously creates them right |
01:09.09 | ginge | might still be doing ppp in the background |
01:09.18 | ginge | or timing out on dhcp |
01:09.33 | ginge | did you check them? |
01:09.39 | ginge | (device nodes) |
01:09.44 | dcordes | I'll clean out /etc/network/interfaces |
01:09.57 | dcordes | I only cat /dev/smd0, looks good |
01:09.59 | dcordes | didn't write |
01:11.31 | dcordes | ginge: only have auto lo\ iface lo imet loopback now in interfaces. do you add anything for the ppp on kaiser? |
01:11.54 | tmzt_mp900c | ppp only uses netdev's nothing in /dev/ except the tty it runs on |
01:11.58 | tmzt_mp900c | ifconfig -a |
01:12.08 | tmzt_mp900c | ls /sys/class/net/ |
01:12.24 | dcordes | tmzt_mp900c: smd? are the ports to the modem. |
01:12.31 | *** join/#htc-linux foobar` (n=testuser@c-67-170-255-54.hsd1.ca.comcast.net) |
01:12.39 | tmzt_mp900c | yes, those are the tty's |
01:13.02 | tmzt_mp900c | ppp is a line discipline, it runs on a tty and creates a netdev in the kernel ppp0 |
01:13.17 | tmzt_mp900c | there are no special files for netdev's in linux (there are in bsd) |
01:13.27 | dcordes | ok |
01:13.28 | foobar` | the bootkit dir has two .bin files, android-data.bin and android.bin, I dumped them and it looks like there's a few one line changes in the init scripts |
01:13.31 | foobar` | whaths's the reason for two? |
01:13.51 | dcordes | points at ginge, hides |
01:14.46 | dcordes | ginge: I'll add up a bit loger pauses |
01:15.11 | dcordes | oh it worked now. think it really are the timings. |
01:17.45 | foobar` | ...it looks like the -data.bin was updated more recently, but the default.txt points to the older one |
01:19.36 | dcordes | foobar`: iirc, I put the initrd-data as a copy of initrd.bin with some gprs improvements by ginge |
01:20.05 | dcordes | it was merely experimental, I wanted to remove the old one, but then left it like it was because somebody in the forum used the data one |
01:20.40 | foobar` | ah ok |
01:20.45 | foobar` | so -data is the one to use? |
01:21.22 | dcordes | I think so. probably the latest one by ginge would be better |
01:21.31 | dcordes | I didn't boot into android for ages |
01:21.32 | foobar` | oh, where can I find that? |
01:21.37 | foobar` | what do you boot into? |
01:21.40 | dcordes | must ask ginge |
01:22.03 | dcordes | I would like to put the best working android initrd in the bootkit but I don't know which one that is |
01:22.08 | ginge | dcordes: I don't have a later image then the android.bin seems to work ok for me |
01:22.18 | dcordes | ok |
01:22.36 | foobar` | oks |
01:22.41 | foobar` | so GPRS works now, but not UMTS? |
01:23.38 | dcordes | ginge: do we have umts? |
01:23.42 | *** join/#htc-linux TeringTu1y (n=maarten@195-241-125-243.ip.telfort.nl) |
01:23.44 | dcordes | or hsdpa or whatsoever |
01:23.51 | ginge | what is umts? |
01:24.00 | dcordes | the fast 3g internet |
01:24.01 | foobar` | hsdpa |
01:24.02 | foobar` | ya |
01:24.33 | ginge | ahh, doesn't seem so |
01:24.33 | foobar` | ah ok |
01:24.33 | ginge | not sure how that stuff works |
01:24.33 | dcordes | nobody of us ever tried? |
01:24.34 | ginge | how do you even try is the question |
01:24.36 | foobar` | where are the AT commands sent to the modem |
01:24.38 | dcordes | I bet it's just one stupid bit to send to the modem so it will fire up the fast thing |
01:24.47 | dcordes | foobar`: binary |
01:24.51 | foobar` | I found some tutorial online for how to setup some vodaphone 3d card |
01:24.52 | foobar` | er |
01:24.53 | foobar` | 3g |
01:25.06 | foobar` | http://kuix.de/umts/vodafone/ |
01:25.11 | dcordes | foobar`: bug dzo or ginge for the source of rilphon in android |
01:25.28 | foobar` | it looks like it's just one thing you send on the at_opsys command |
01:25.38 | dcordes | foobar`: or better, use angstrom.bin and just do it with cu, miniterm or so |
01:25.48 | foobar` | ah ok |
01:25.51 | dcordes | that would be interesting |
01:25.53 | foobar` | what exactly is the angstrom.bin? |
01:26.12 | dcordes | http://angstron-distribution.org |
01:26.39 | dcordes | mini operating system for tiny devices |
01:26.49 | foobar` | ah |
01:26.59 | dcordes | it will boot you into a console |
01:27.07 | dcordes | where you can play nicely with the device nodes |
01:27.14 | dcordes | I detailed a bit on it in the readme.txt i think |
01:27.15 | foobar` | oh nice that's what I wanted |
01:27.33 | dcordes | yea android is not what you want if you're aiming for system accessibility |
01:27.57 | foobar` | do I need the -tslib.bin too? what's that? |
01:28.10 | dcordes | um that was just for touchscreen poking in angstrom, no need. |
01:28.11 | tmzt_mp900c | that's a whole lot of fun |
01:28.13 | dcordes | could remove it |
01:28.15 | *** join/#htc-linux nighthawk08 (n=a@212.143.154.159) |
01:28.16 | ginge | hat should probably be removed |
01:28.22 | foobar` | ah ok |
01:28.33 | tmzt_mp900c | nighthawk08: how did it go? |
01:28.49 | tmzt_mp900c | I should have given you wiki and xda thread earlier |
01:28.53 | nighthawk08 | didn't progress much, tmzt_mp900c |
01:29.27 | ginge | dcordes: how long does your wm image take to boot? |
01:29.54 | tmzt_mp900c | what do you have for mtype in default.txt? |
01:30.12 | nighthawk08 | tmzt_mp900c -- by what I told you do you think the problem is in the zImage version... |
01:30.23 | nighthawk08 | tmzt_mp900c -- I haven't got the mtype... |
01:30.32 | dcordes | ginge: I think it's faster than vodafone stock. I can stopwatch it |
01:30.34 | tmzt_mp900c | one reason for zImage not to start is the wrong mtype |
01:30.36 | nighthawk08 | tmzt_mp900c -- on the startup.txt |
01:30.54 | ginge | dcordes: that would be nice, its not like you don't do it often ;) |
01:30.57 | nighthawk08 | tmzt_mp900c -- what does the mtype suppose to define? |
01:31.18 | tmzt_mp900c | you might have to create an earlyharetlog.txt and then start haret |
01:31.40 | tmzt_mp900c | (in the same folder) |
01:32.15 | nighthawk08 | I use the angstrom.exe not the haret |
01:32.20 | foobar` | one last question -- is there an easy way to play with angstrom in the emulator? |
01:32.35 | tmzt_mp900c | you had angstrom on the sd partition before didn't you |
01:32.36 | foobar` | it seems the emulator is passing some console commands to the kernel |
01:32.46 | nighthawk08 | tmzt_mp900c -- ye |
01:33.42 | tmzt_mp900c | where did you get angstrom.exe? |
01:33.58 | nighthawk08 | from their site... |
01:34.23 | tmzt_mp900c | in the same place there should be a zImage-something-hh?? |
01:34.40 | tmzt_mp900c | whatever hh kernel you said you were using before |
01:34.41 | nighthawk08 | it is called there: Angstrom-boot-2.6.21-hh20-r6-h3900.exe |
01:34.55 | tmzt_mp900c | is there a zImage in the same place? |
01:34.55 | dcordes | tmzt_mp900c: ok got a remote shell on kaiser now |
01:35.01 | tmzt_mp900c | cool. |
01:35.15 | tmzt_mp900c | then you can use desktop xev! |
01:35.19 | nighthawk08 | they have there the zImage-2.6.21-hh20-r6-h3900.bin image |
01:35.38 | tmzt_mp900c | get that and set the set image line in default/startup.txt to match |
01:35.56 | tmzt_mp900c | is there a default.txt in that directory? |
01:35.59 | nighthawk08 | tried that. |
01:36.05 | nighthawk08 | startup.txt |
01:36.21 | tmzt_mp900c | add the earlyharetlog.txt and earlyharetboot.txt empty files first |
01:36.34 | tmzt_mp900c | can you rename it to default.txt? |
01:36.48 | tmzt_mp900c | it lets us see if it detects your device |
01:36.54 | tmzt_mp900c | before booting |
01:37.30 | *** join/#htc-linux Dinde (n=kayser@sur-internet.net) |
01:38.10 | nighthawk08 | done,. should I run it? |
01:38.27 | tmzt_mp900c | yes, do you have haret from the same place or somewhere else? |
01:38.37 | nighthawk08 | same place |
01:38.56 | tmzt_mp900c | is the a version in the filename? |
01:39.32 | nighthawk08 | Angstrom-boot-2.6.21-hh20-r6-h3900.exe |
01:39.40 | tmzt_mp900c | no the haret.exe filename |
01:39.49 | tmzt_mp900c | ok, start haret.exe |
01:39.57 | tmzt_mp900c | see what version it is |
01:40.10 | nighthawk08 | I start the Angstrom-boot-2.6.21-hh20-r6-h3900.exe -- instead of the haret.exe |
01:40.19 | tmzt_mp900c | no, you need to start haret for this |
01:40.32 | nighthawk08 | oh,. ok |
01:40.36 | tmzt_mp900c | angstrom boot is haret, with the startup.txt builtin |
01:41.29 | dcordes | tmzt_mp900c: what to do with xev? |
01:41.34 | nighthawk08 | the haret.exe got stuck... after running the logo |
01:42.18 | dcordes | ouch just ffed up updating the packaging system cache |
01:42.19 | tmzt_mp900c | I've got that backwards don't I, I want to forward X back to desktop |
01:42.58 | tmzt_mp900c | add it to the -R line as (is it 6100?) |
01:43.07 | dcordes | tmzt_mp900c: me? |
01:43.50 | tmzt_mp900c | yes |
01:44.30 | tmzt_mp900c | nighthawk08: is there anything in haretearlyboot.txt or haretearlylog.txt? |
01:44.31 | dcordes | I'd better not forward X. don't want to cause too much traffic |
01:44.55 | tmzt_mp900c | forwarding X causes the traffic because of pixmaps, xev doesn't use them |
01:45.13 | tmzt_mp900c | but if you have xev local we'll use that |
01:45.28 | foobar` | does android use X or directfb or somethign else? |
01:45.39 | tmzt_mp900c | fbdev |
01:45.42 | tmzt_mp900c | essentially |
01:45.59 | foobar` | er |
01:46.01 | foobar` | X on fbdev? |
01:46.04 | foobar` | or just fbdev raw |
01:46.05 | dcordes | no X |
01:46.06 | tmzt_mp900c | no, no X |
01:46.07 | foobar` | not even directfb ontop |
01:46.08 | foobar` | ah ok |
01:46.09 | tmzt_mp900c | raw fb |
01:46.26 | foobar` | hmm i wonder how hard ti was to port webkit |
01:46.26 | dcordes | secret spy java engine on top of fbdev I think |
01:46.27 | nighthawk08 | tmzt_mp900c: nothing on the .txt files... it sais while booting that it detected PXA2xx |
01:46.43 | dcordes | the google browser is webkit? |
01:46.52 | tmzt_mp900c | add set MTYPE 448 to default.txt and try again |
01:47.01 | *** join/#htc-linux TeringTuby (n=maarten@195-241-125-243.ip.telfort.nl) |
01:47.02 | foobar` | I know the bit pain in the ass for mobile firefox is some X-specific stuff |
01:47.08 | tmzt_mp900c | yes, but java has a native code bridge |
01:47.13 | foobar` | maybe webkit doesn't have those problems |
01:47.19 | foobar` | iirc it was libcairo |
01:47.24 | dcordes | wonders how fast openmoko-browser2 or other webkit based browsers will run on kaiser |
01:47.35 | tmzt_mp900c | that is the lovely bitdepth problem |
01:48.02 | dcordes | foobar`: firefox? at a point in the past firefox 2 worked in openembedded. but I think it's broken for ages |
01:48.03 | tmzt_mp900c | I have run openmoko-browser2 compiled as oabi on my mp900c, not very fast though |
01:48.05 | dcordes | some libc thing or so |
01:48.19 | foobar` | I'm talking about the new offical fennec fox |
01:48.28 | tmzt_mp900c | firefox 1.5 works because it is gtk1 |
01:48.45 | foobar` | http://wiki.mozilla.org/Mobile/DFBPorting |
01:48.49 | foobar` | http://wiki.mozilla.org/Mobile/Build |
01:49.10 | tmzt_mp900c | moko phone is 16bit color, I think |
01:49.18 | foobar` | so angstrom should bring up a terminal on the local console? |
01:49.24 | foobar` | is there a way to get like a USB console? |
01:49.30 | tmzt_mp900c | openmoko-browser2 just needs the moko libs in its LD_LIBRARY_PATH |
01:49.32 | dcordes | foobar`: gprs console |
01:49.40 | foobar` | ah |
01:49.49 | foobar` | but I thought you need to manually setup gprs on angstrom |
01:49.55 | foobar` | so you have to do that on the device first? |
01:50.14 | tmzt_mp900c | you could hook ifup.d and auto ppp0 |
01:50.32 | dcordes | foobar`: /usr/bin/ppp.sh y.our.apn password username |
01:50.38 | foobar` | ah ok |
01:50.42 | tmzt_mp900c | I also like wvdial, it will spin until ready sometimes |
01:50.44 | dcordes | tmzt_mp900c: no need we have the ginge script |
01:51.09 | foobar` | dcordes, I'm really unfamilair with this whole mobile networking stuff -- how can I find those values? |
01:51.15 | *** join/#htc-linux kereslas (n=miguel@44.Red-79-154-231.staticIP.rima-tde.net) |
01:51.22 | tmzt_mp900c | nighthawk08: did you add the set MTYPE 448 line? |
01:51.22 | foobar` | I don't need any user/pass for windows mobile |
01:51.48 | dcordes | foobar`: google. search for your provider name, gprs, username, apn whatever |
01:51.59 | dcordes | that's what I did to find out the required data for my provider |
01:52.22 | dcordes | foobar`: same here. just put user and pass. |
01:53.32 | nighthawk08 | tmzt_mp900c: I've set the mtype line,. wait still checking... |
01:55.25 | foobar` | anyone know the APN info for AT&T? |
01:55.38 | foobar` | google results look like they are showing cingular? I'm guessing that was before the merge? |
01:55.49 | nighthawk08 | tmzt_mp900c: still gets stuck... |
01:57.11 | dcordes | foobar`: how about visiting at and t website |
01:57.13 | *** join/#htc-linux danthaman915 (n=daniel@70-138-247-122.lightspeed.hstntx.sbcglobal.net) |
01:57.50 | foobar` | I figured this is the kind of info most customers have no "legitimate" need for |
01:57.57 | dcordes | foobar`: like http://localization.att.com/loc/controller?prod-snip=support-lp1-ResHelpSupport |
01:57.58 | foobar` | I have no idea how all this stuff works |
01:58.14 | foobar` | alright, I'll check there then, thanks |
01:58.32 | dcordes | there's no magick in it, just figure out your apn. can't you jsut look it up in windows mobile? |
01:58.38 | ginge | foobar`: its either cingular or proxy from what i can see |
01:58.42 | nighthawk08 | tmzt_mp900c: where can I get the latest haret.exe version? |
01:58.48 | foobar` | dcordes: where in wm? |
01:59.05 | dcordes | foobar`: um settings, system networking internet or so? |
01:59.13 | dcordes | you're on kaiser, aren't you? |
01:59.16 | foobar` | ya |
02:04.43 | dcordes | tmzt_mp900c: how'd I run the desktop xev with the remote device? |
02:06.14 | tmzt_mp900c | handhelds.org/~koconnor/haret/haret-20080726.exe |
02:06.21 | tmzt_mp900c | http://handhelds.org/~koconnor/haret/haret-20080726.exe |
02:06.40 | tmzt_mp900c | not the ones with the letters after them |
02:07.49 | *** join/#htc-linux Zoolooc__ (n=fredsiba@nrbg-4dbff951.pool.einsundeins.de) |
02:08.22 | tmzt_mp900c | you would have to forward the X tcp port with the -R option from device |
02:08.40 | dcordes | um I will just put xev on the rootfs |
02:08.41 | foobar` | I don't see where ppp.sh uses the password at all |
02:08.52 | tmzt_mp900c | disable security on Xfbdev |
02:09.02 | foobar` | it passes $1(the APN) to AT+CGDCONT |
02:09.02 | foobar` | and then %2 to pppd |
02:09.02 | tmzt_mp900c | yes, |
02:09.03 | dcordes | ok |
02:09.12 | ginge | foobar`: iirc it doesnt. I should update that at some point |
02:09.13 | dcordes | foobar`: nevermind if you don't put it in wince |
02:09.31 | foobar` | oh ok cool |
02:09.33 | dcordes | ginge: probably the one in the angstrom.bin is deprecated |
02:09.37 | ginge | its as simple as a couple of cats to ppp pass files |
02:09.38 | tmzt_mp900c | you still need it, but the carrier set it up in ce |
02:09.57 | foobar` | ginge: http://kuix.de/umts/vodafone/ this might help with UMTS |
02:10.06 | dcordes | ginge: maybe he could make use of the dzo ril if he wants to look into how to enable umts |
02:10.16 | foobar` | dzo ril? |
02:10.23 | tmzt_mp900c | umts needs an network device, I believe |
02:10.47 | foobar` | ok |
02:11.05 | foobar` | has anyone been able to run angstrom in the android qemu emulator? It doesn't start init for me |
02:11.16 | foobar` | it'd be useful to be able to test there before booting on my phone |
02:11.41 | dcordes | foobar`: dzo is the vogue developer. he reverse engineered the android phone program and rewrote it for use with his phone |
02:11.52 | foobar` | ah ok |
02:11.53 | dcordes | ril is the phone program |
02:12.02 | tmzt_mp900c | angstrom is a root filesystem, you would need a kernel for the sdks mtype |
02:12.14 | foobar` | I'm just using the default kernel |
02:12.26 | foobar` | the init script doesn't load modules or anything |
02:12.28 | dcordes | foobar`: I don't see where it would help you much to run the angstrom rootfs in qemu |
02:12.37 | dcordes | foobar`: btw, you can also boot from an sd card |
02:12.42 | foobar` | just to try things out |
02:13.01 | tmzt_mp900c | there is an angstrom kernel for versitilepb isn't there? |
02:13.12 | dcordes | foobar`: yes you can use the normal init instead. I should really update the android.bin |
02:13.18 | foobar` | why wouldn't the android kernel work? |
02:13.44 | foobar` | what I'm saying is I'm trying to use the default android kernel w/ the SDK, with the angstrom rootfs |
02:14.00 | foobar` | I don't see why it shouldn't work, as the initrd doesn't have kernel modules or anything like that |
02:14.12 | tmzt_mp900c | the arm bootloader protocol passes the mtype to the kernel and the kernel checks if it matches its own |
02:14.15 | dcordes | use a normal qemu then |
02:14.36 | foobar` | tmzt: yeah, I'm using both the emulator and kernel from android |
02:14.40 | foobar` | just replacing the rootfs |
02:14.57 | tmzt_mp900c | the android might work, the source is at http://code.google.com/p/android under sdk emulator something tar.gz |
02:15.13 | foobar` | no it doesn't |
02:15.25 | dcordes | foobar`: to boot from sd, create a vfat partition with everything but the rootfs and an ext2 with the rootfs extracted, specify root=/dev/mmcblk0p2 in default.txt |
02:15.29 | foobar` | i pass -append console=tty to get the console |
02:15.35 | foobar` | and that shows the linux boot msgs but nothing from init |
02:15.50 | foobar` | it just stops where it would normally start init |
02:16.03 | ginge | dcordes: I just updated the ppp.notsh script with the password stuff |
02:17.09 | dcordes | ok I will put it in the new angstrom initrd. will also put a tgz or loop of it |
02:17.26 | dcordes | uh can we use loopfile rootfs now? |
02:17.50 | ginge | not with dma errors |
02:18.12 | dcordes | oh ok, in that case I will put tarballs of both, angstrom and android for now |
02:18.28 | ginge | you could try an ext2 loop, not done that yet |
02:18.30 | foobar` | ok i'll just go ahead and try it on the phone -- is the "GPRS shell" you mentioned just dropbear? |
02:18.46 | dcordes | yes dropbear |
02:19.06 | dcordes | I said it in reply to you asking for USB shell ;) |
02:19.11 | foobar` | yeah |
02:19.13 | foobar` | ok |
02:19.20 | foobar` | someone mentioned uc/minicom on angstrom |
02:19.24 | foobar` | it's not there |
02:19.48 | dcordes | cu should be |
02:20.04 | tmzt_mp900c | dropbear is for the reverse ssh as well |
02:20.15 | foobar` | oh |
02:20.16 | tmzt_mp900c | but you need its client or openssh's too |
02:20.21 | foobar` | nm it's there i'm an idiot |
02:20.27 | tmzt_mp900c | dbclient |
02:20.28 | dcordes | ginge: Running task 758 of 2231 |
02:20.33 | tmzt_mp900c | linked to ssh |
02:20.58 | ginge | dcordes: i'm just writing a script for setting up reverse ssh if you want to put that in too |
02:21.39 | dcordes | ginge: that would be great |
02:22.12 | dcordes | better than another console image would be a one with gpe desktop or so |
02:22.28 | dcordes | or with the shiny poky desktop |
02:22.38 | dcordes | but we need that ts first |
02:22.43 | dcordes | tmzt_mp900c: have xev now on kaiser rootfs |
02:22.49 | tmzt_mp900c | ok |
02:22.59 | dcordes | anything else I can put? |
02:23.00 | tmzt_mp900c | did we ever get the chroot X to work? |
02:23.15 | dcordes | to jlime? |
02:23.20 | tmzt_mp900c | yes |
02:23.33 | tmzt_mp900c | it came up half, I think because of the vyres |
02:23.38 | tmzt_mp900c | problem |
02:23.46 | tmzt_mp900c | are you building zImage? |
02:24.35 | dcordes | I moved the Jlime Xfbdev binary to /media/ram and symlinked /media/ram/Xfbdev back to /jlime/usr/bin/Xfbdev, did the mount/bind things and chroot /jlimed |
02:24.40 | foobar` | oh, and where can I find a toolchain |
02:24.46 | foobar` | to build the kernel/whatever programs I need |
02:24.53 | dcordes | then I ran Xfbdev and it started the half drawn X screen |
02:25.06 | dcordes | tmzt_mp900c: what about zImage? |
02:25.39 | tmzt_mp900c | we need to change that line in arch/mach-msm/android mdpfb.c |
02:25.49 | dcordes | foobar`: use the code sourcery one for instance. I use openembedded arm-linux-gnueabi toolchain |
02:26.02 | dcordes | tmzt_mp900c: ok which? |
02:26.03 | tmzt_mp900c | couldn't think of that name |
02:27.36 | *** join/#htc-linux ptl (n=patola@201.82.18.155) |
02:28.01 | tmzt_mp900c | it must be in drivers |
02:28.08 | dcordes | foobar`: somebody at http://forum.xda-developers.com/showthread.php?t=396782 uses http://www.codesourcery.com/gnu_toolchains/arm/portal/package2549/public/arm-none-linux-gnueabi/arm-2008q1-126-arm-none-linux-gnueabi-i686-pc-linux-gnu.tar.bz2 |
02:28.15 | tmzt_mp900c | anyway if you are booted on kaiser don't worry about it now |
02:28.18 | *** join/#htc-linux nighthawk08 (n=a@212.143.154.159) |
02:28.24 | tmzt_mp900c | just do fbset -g |
02:28.44 | tmzt_mp900c | nighthawk08: did you add that line, did you get that haret? |
02:28.45 | dcordes | tmzt_mp900c: no I don't, I have the filesystem mounted in my host and I'm in the kernel tree :) |
02:28.56 | tmzt_mp900c | drivers/android? |
02:29.17 | nighthawk08 | I added the line, and downloaded the new haret 0.51 -- I had an old version... I'll post you private, the log... |
02:29.33 | foobar` | is there anyone currently working on USB tty? |
02:29.48 | *** join/#htc-linux nighthawk08 (n=a@212.143.154.159) |
02:29.50 | dcordes | ./video/msm/msm_fb.c |
02:29.58 | tmzt_mp900c | usb tty, as in serial gadget? |
02:29.59 | foobar` | if not I guess that's what I'd like first before I worry about anything else so I can do that |
02:30.01 | foobar` | yeah |
02:30.11 | tmzt_mp900c | does usb0 net work? |
02:30.14 | tmzt_mp900c | usbnet? |
02:30.29 | tmzt_mp900c | thanks, dcordes |
02:30.36 | tmzt_mp900c | h=htc-msm ? |
02:30.38 | dcordes | tmzt_mp900c: http://rafb.net/p/Zzukeo18.html |
02:30.49 | tmzt_mp900c | you changed something? |
02:30.52 | dcordes | tmzt_mp900c: htc-msm is the kaiser tree? |
02:30.57 | dcordes | no that's the git file |
02:31.09 | dcordes | I just pasted it because linuxtogo webgit file downloading is b0rken |
02:31.17 | tmzt_mp900c | right |
02:31.52 | tmzt_mp900c | nighthawk08: somebody is pinging you or is that just a message? |
02:32.06 | dcordes | ginge: 1118 of 2231 I will test it a bit/make it work on my BA tomorrow when it's done |
02:32.26 | tmzt_mp900c | you have ba, wifi works? |
02:32.42 | dcordes | yep |
02:32.43 | nighthawk08 | its a message |
02:32.48 | tmzt_mp900c | new acx driver as well |
02:32.51 | tmzt_mp900c | ? |
02:32.56 | dcordes | tmzt_mp900c: I've got the ass baordid6 version with no display init though |
02:33.04 | dcordes | tmzt_mp900c: I have nothing on it atm. |
02:33.10 | tmzt_mp900c | oh |
02:33.11 | dcordes | it's just gaining dust |
02:33.28 | tmzt_mp900c | nighthawk08: ok, does it stop there? |
02:33.49 | nighthawk08 | tmzt_mp900c: did you see the private log that I've sent you? |
02:33.55 | tmzt_mp900c | i'll get that get in a second |
02:33.56 | nighthawk08 | ye |
02:33.57 | tmzt_mp900c | git |
02:34.07 | dcordes | tmzt_mp900c: no dispaly init meaning you can't turn off the display. so no real battery life |
02:34.12 | dcordes | tmzt_mp900c: you also have one? |
02:34.13 | tmzt_mp900c | yeah, but I'm on irssi so its just a little number at the bottom |
02:34.16 | tmzt_mp900c | no |
02:34.21 | tmzt_mp900c | no htc at all |
02:34.23 | nighthawk08 | then the screen gets blank, and it sais kernel is loading... but gets stuck there... |
02:34.54 | tmzt_mp900c | did you add the set MTYPE 448 line to default.txt? |
02:34.59 | nighthawk08 | ye |
02:35.04 | tmzt_mp900c | and set image zimage-whatever |
02:35.09 | nighthawk08 | ye |
02:35.10 | tmzt_mp900c | and set image zImage-whatever |
02:35.28 | tmzt_mp900c | set cmdline "root=/dev/mmcblkp1" |
02:35.29 | tmzt_mp900c | ? |
02:35.56 | nighthawk08 | not "mmcblk0p1" ? |
02:35.57 | dcordes | tmzt_mp900c: I only see two lines with the wrong default vyres=640(??) value in msm_fb.c |
02:36.02 | tmzt_mp900c | set cmdline "root=/dev/mmcblkp2" |
02:36.30 | tmzt_mp900c | hold on, can you give me that paste if don't have copy/paste |
02:36.39 | tmzt_mp900c | someday I might learn to use gpm! |
02:36.52 | dcordes | foobar`: no clue. did you get your apn? |
02:37.00 | foobar` | i just booted it |
02:37.01 | foobar` | checking now |
02:37.24 | foobar` | uh |
02:37.25 | ginge | dcordes: grab this file http://www.headfuzz.co.uk/files/android/revssh.notsh |
02:37.27 | foobar` | keyboard @ doesn't work |
02:37.31 | dcordes | tmzt_mp900c: http://rafb.net/p/Zzukeo18.html line 139 line 148 |
02:37.49 | foobar` | oh |
02:37.51 | foobar` | ! and @ are swapper |
02:37.52 | dcordes | foobar`: reboot.. almost impossible |
02:37.58 | foobar` | ? |
02:38.02 | foobar` | huh |
02:38.23 | dcordes | sorry, I understood keyboard @ doesn't work that your keyboard does nothing. |
02:39.02 | foobar` | ok from there |
02:39.14 | foobar` | dropbear reverse shell should work? |
02:39.25 | ginge | dcordes: can you check over it, not tested, but should work |
02:39.32 | dcordes | foobar`: WFM |
02:39.36 | *** part/#htc-linux kereslas (n=miguel@44.Red-79-154-231.staticIP.rima-tde.net) |
02:39.48 | dcordes | ginge: ok wgetting it on the ext2 |
02:39.57 | foobar` | wfm? |
02:40.09 | ginge | night all |
02:40.11 | dcordes | works for me |
02:40.14 | foobar` | ah |
02:40.15 | tmzt_mp900c | 459 |
02:40.16 | nighthawk08 | tmzt_mp900c: that doesn't work either with mmcblkp2 |
02:40.17 | foobar` | I get a 10. address |
02:40.22 | dcordes | night ginge |
02:40.24 | tmzt_mp900c | what were those lines again? |
02:40.25 | foobar` | i don't know anything about phones |
02:40.29 | foobar` | are phones NATed |
02:40.30 | foobar` | ? |
02:40.34 | foobar` | should I have a 10. address? |
02:40.37 | ginge | foobar`: pretty much, yes |
02:40.38 | tmzt_mp900c | yes, 10. is private |
02:40.44 | foobar` | ah whew |
02:40.53 | tmzt_mp900c | that's what the ssh -R is for |
02:41.03 | ginge | you need that script I posted to get into the phone |
02:41.13 | foobar` | where'd you post it? |
02:41.22 | ginge | just a second ago |
02:41.28 | foobar` | ah |
02:41.30 | foobar` | i see it |
02:41.42 | tmzt_mp900c | I get no .txt version only 404 |
02:42.03 | tmzt_mp900c | dcordes, can you give me those lines again? |
02:42.16 | tmzt_mp900c | the one I am talking about is: |
02:42.19 | tmzt_mp900c | 459 |
02:42.44 | tmzt_mp900c | change that to get rid of the * 2, but comment and copy it first |
02:42.44 | dcordes | tmzt_mp900c: nasty I can't see the raw button anymore |
02:42.54 | tmzt_mp900c | button? |
02:42.58 | dcordes | tmzt_mp900c: roger that |
02:43.05 | tmzt_mp900c | what do you mean |
02:43.08 | tmzt_mp900c | button |
02:43.12 | dcordes | didn't rafb nopaste had a button for .txt version |
02:43.29 | tmzt_mp900c | it did last time, I just changed it to .txt and it worked |
02:43.52 | dcordes | that's why you get the error looks like the person removed it |
02:43.54 | tmzt_mp900c | I made mine C89 though |
02:44.45 | dcordes | ah ok line 450 makes sense regarding the problem |
02:44.52 | dcordes | 49 |
02:45.05 | dcordes | just remove the * "? |
02:45.12 | dcordes | *2 |
02:45.17 | foobar` | ugh |
02:45.23 | tmzt_mp900c | 459? |
02:45.27 | foobar` | the function key maps are wrong |
02:45.31 | foobar` | I can't get : |
02:45.44 | dcordes | fn C |
02:45.50 | foobar` | oh |
02:45.52 | foobar` | nice |
02:46.05 | tmzt_mp900c | info->var.yres_virtual = pi->height * 2; |
02:46.07 | tmzt_mp900c | info->var.yres_virtual = pi->height; |
02:46.10 | dcordes | tmzt_mp900c: 495 info->var.yres_virtual = pi->height * 2; |
02:46.12 | foobar` | is this the same as the HTC vs ATT tilt keyboard issues in windows? |
02:46.31 | tmzt_mp900c | do you have showkey? |
02:46.35 | tmzt_mp900c | foobar: |
02:46.48 | foobar` | this is on angstrom |
02:47.09 | tmzt_mp900c | showkey is in busybox if its built |
02:47.22 | dcordes | foobar`: http://wiki.xda-developers.com/index.php?pagename=Kaiser_Keyboard |
02:47.23 | tmzt_mp900c | busybox showkey |
02:47.35 | dcordes | foobar`: English |
02:48.51 | dcordes | tmzt_mp900c: anything else to change in fb? |
02:48.57 | foobar` | ah |
02:48.59 | foobar` | hahaha |
02:49.35 | foobar` | any way to ctrl+c in the console on the device? |
02:50.32 | dcordes | foobar`: noo sorry that image is kind of fed up |
02:50.52 | foobar` | i messed up the cmd and ssh is hung |
02:50.53 | foobar` | hmm |
02:51.04 | dcordes | I will get up a tgz you can extract to an ext2 partition tomorrow |
02:51.48 | foobar` | there has to be some way to kill this.. |
02:51.56 | dcordes | you can also gunzip and cpio extract this present rootfs, remove /init and use the /usr/sbin/init instead. symlink it to /init |
02:52.13 | dcordes | foobar`: it's because you have not the shell you should |
02:52.35 | dcordes | look at the real strange init script and you'll know why |
02:53.16 | dcordes | tmzt_mp900c: there is info->fix.line_length = pi->width * 2; |
02:53.25 | dcordes | 454 which also has *2 |
02:53.33 | foobar` | ok it timed out |
02:53.51 | dcordes | you could try running /sbin/init |
02:55.24 | *** join/#htc-linux tmzt_mp910c (n=tmzt@adsl-70-228-87-174.dsl.akrnoh.ameritech.net) |
02:55.29 | tmzt_mp910c | what is platform device fb size in the machine .c file in arch/arm/mach-msm? |
02:56.31 | tmzt_mp910c | and did you get that free output yet? |
02:56.42 | tmzt_mp910c | I would like to compare it |
02:56.59 | dcordes | free after booting? |
02:57.40 | dcordes | .fb_size = MSM_FB_SIZE, |
02:58.15 | foobar` | er, dropbear isn't running by default is it? |
02:58.15 | dcordes | 0x9b000 |
02:58.40 | dcordes | foobar`: run /sbin/init |
02:59.12 | foobar` | rl 2 is ok? |
02:59.18 | *** join/#htc-linux surgex (i=surge@pool-71-186-163-107.bflony.fios.verizon.net) |
02:59.32 | tmzt_mp910c | ssh localhost on you device and see what it does |
02:59.33 | dcordes | foobar`: no clue just run /sbin/init ? |
02:59.35 | foobar` | said "timeout opening/writing control channel /dev/initctl |
02:59.44 | foobar` | init needs an argument |
02:59.47 | foobar` | the runlevel |
02:59.51 | tmzt_mp910c | you don't have dev mounted, or its readonly |
02:59.52 | foobar` | 2 should be OK i guess |
02:59.56 | dcordes | foobar`: put /sbin/init in your default.txt reboot |
03:00.01 | tmzt_mp910c | no |
03:00.12 | tmzt_mp910c | unless you mean in cmdline? |
03:00.14 | dcordes | foobar`: cmdline "init=/sbin/init" |
03:00.20 | tmzt_mp910c | right |
03:00.21 | foobar` | on |
03:00.22 | foobar` | oh |
03:00.27 | foobar` | ah ok |
03:00.45 | foobar` | i mean there has to be a way to just start dropbear, no? |
03:00.48 | foobar` | but I gues I should do that anyway |
03:00.49 | foobar` | ok |
03:01.31 | dcordes | just try that or please wait until I update the angstrom initrd and put a tgz tomorrow |
03:01.31 | tmzt_mp900c_ | /usr/sbin/dropbear |
03:01.31 | tmzt_mp900c_ | but your keys will have to be setup first |
03:01.31 | dcordes | foobar`: do yourself a favour and try what I said |
03:01.31 | foobar` | dcordes, does the /sbin/init fix the keyboard? |
03:01.31 | foobar` | ok |
03:01.32 | foobar` | yeah im doing it now |
03:01.38 | dcordes | it should. |
03:01.41 | foobar` | i'm also going to uncomment that fbcon=rotate line |
03:01.41 | foobar` | haha |
03:01.57 | dcordes | use the same cmdline line |
03:01.59 | tmzt_mp900c_ | you can rotate after you boot as well |
03:02.04 | foobar` | oh ok |
03:02.09 | tmzt_mp900c_ | but them together in the cmdline " " |
03:02.18 | dcordes | set CMDLINE "fbcon=rotate:3" |
03:02.29 | dcordes | set CMDLINE "init=/sbin/init fbcon=rotate:3" |
03:02.33 | tmzt_mp900c_ | yes |
03:02.34 | foobar` | ya i know |
03:02.37 | foobar` | ok ty |
03:06.36 | dcordes | tmzt_mp900c_: anything about the MSM_FB_SIZE? |
03:06.44 | dcordes | which is 0x9b000 |
03:06.50 | tmzt_mp900c_ | and physmem? |
03:07.50 | tmzt_mp900c_ | can you calc that to dec and / (320*240*2) |
03:08.43 | dcordes | tmzt_mp900c_: what physmem? and what calc? |
03:08.47 | dcordes | sorry.. |
03:09.13 | tmzt_mp900c_ | PHYS something in that file under that platform device info |
03:09.18 | tmzt_mp900c_ | gcalctool? |
03:09.24 | tmzt_mp900c_ | win calc.exe? |
03:09.31 | dcordes | non win around |
03:09.42 | tmzt_mp900c_ | same idea though |
03:11.45 | dcordes | tmzt_mp900c_: sorry, can't find it. could you take a look? http://de.pastebin.ca/raw/1083991 |
03:12.00 | foobar` | hmm |
03:12.08 | dcordes | tmzt_mp900c_: what's dec and / ? |
03:12.10 | foobar` | the bar is full in haret |
03:12.12 | tmzt_mp900c_ | basically, android kernel wants to many copies of the screen, if those are malloc'd they take up ram |
03:12.13 | foobar` | and the machine is locked up |
03:12.21 | tmzt_mp900c_ | decimal and divide |
03:12.38 | tmzt_mp900c_ | is that a new enough haret? |
03:12.39 | dcordes | foobar`: it does that on some roms |
03:12.47 | foobar` | it's the one in the bootkit-kaiser dir |
03:12.50 | dcordes | foobar`: known problem. |
03:12.52 | foobar` | hmm it worked before |
03:12.55 | tmzt_mp900c_ | oh, its msm |
03:13.12 | tmzt_mp900c_ | I get it from the logs |
03:13.20 | tmzt_mp900c_ | I'll |
03:13.56 | tmzt_mp900c_ | that won't help, can you give me that again? |
03:14.05 | dcordes | tmzt_mp900c_: sorry, can't find it. could you take a look? http://de.pastebin.ca/raw/1083991 |
03:14.29 | dcordes | foobar`: you get the hang with the bootkit files? |
03:14.42 | foobar` | yeah |
03:14.43 | dcordes | s/files/default.txt/ |
03:14.52 | tmzt_mp900c_ | ok, but it works without the de. |
03:14.54 | tmzt_mp900c_ | as well |
03:14.59 | dcordes | foobar`: see then you experience the random-lockup-at-100%-on-kaiser-problem. |
03:15.12 | foobar` | oh |
03:15.21 | foobar` | i didn't get the hang before I added the init=/sbin/init |
03:15.21 | foobar` | but i mean |
03:15.26 | foobar` | that shouldn't do anything |
03:15.28 | tmzt_mp900c_ | does sd boot work well and should we try that? |
03:15.33 | dcordes | foobar`: some roms are known to boot more reliable. I use dutty's may 22nd :D |
03:15.41 | tmzt_mp900c_ | that would not affect it at that point |
03:15.43 | foobar` | hmm |
03:16.19 | dcordes | foobar`: yes, I think you should try sd boot insted. it loads only the zImage to the ram. |
03:16.35 | foobar` | ok |
03:16.41 | dcordes | tmzt_mp900c_: a while ago I detailed how to do that if you have scrollback |
03:16.44 | foobar` | i don't have an SD card I guess i'll try |
03:16.56 | dcordes | bummer |
03:17.08 | tmzt_mp900c_ | huh |
03:17.49 | foobar` | i still want to know why angstrom doesn't work in qemu though heh |
03:18.17 | dcordes | you might pass the akita mtype or so |
03:18.27 | tmzt_mp900c_ | it looks like its dynamic, so lets make that 320*240*2 |
03:18.28 | foobar` | but the kernel is fine |
03:18.32 | foobar` | it's the rootfs |
03:18.42 | dcordes | foobar`: that does what? |
03:18.51 | tmzt_mp900c_ | akita should work with -M ? |
03:18.54 | foobar` | that doesn't work |
03:18.59 | tmzt_mp900c_ | which should give you a list |
03:20.06 | dcordes | foobar`: you mean the the rootfs causes the hang? |
03:20.16 | tmzt_mp900c_ | no, too early for that |
03:20.22 | foobar` | er no |
03:20.29 | foobar` | i think we're mixing two issues |
03:20.30 | *** join/#htc-linux Dinde (n=kayser@sur-internet.net) |
03:20.33 | foobar` | 1 is the haret hanging |
03:20.40 | foobar` | on 100% |
03:20.44 | dcordes | foobar`: that is definetly rom related. |
03:20.50 | dcordes | read xda forum |
03:20.54 | foobar` | yeah |
03:20.59 | foobar` | that's not what i'm talking about anymore |
03:21.10 | foobar` | 2 is totally different, I can't use angstrom rootfs in qemu |
03:21.20 | dcordes | yes don't mind me |
03:21.20 | tmzt_mp900c_ | its the size of the initrd that is the problem or something with zImage |
03:21.28 | tmzt_mp900c_ | but if you are using everything from bootkit |
03:21.31 | foobar` | ooh |
03:21.41 | foobar` | the initrd is maybe too bit |
03:21.42 | foobar` | big |
03:21.43 | foobar` | ok |
03:21.44 | foobar` | that makes sense |
03:21.58 | dcordes | foobar`: I have a minimal image somewhere |
03:22.02 | foobar` | er but |
03:22.06 | foobar` | i want the full one |
03:22.06 | foobar` | hmm |
03:22.17 | dcordes | http://linuxtogo.org/~lgorris/images/ |
03:22.40 | dcordes | http://linuxtogo.org/~lgorris/images/old/Angstrom-minimalist-image-glibc-ipk-2008.1-test-20080510-htckaiser.rootfs.cpio.gz 3,1M |
03:22.42 | foobar` | is there any way to get qemu to just load a big ass rootfs |
03:22.42 | tmzt_mp900c_ | dcordes: the fb size should be changed that way in machine file |
03:22.58 | dcordes | tmzt_mp900c_: put a resolution there? |
03:24.33 | dcordes | foobar`: there is a script for openmoko that sets up a testing enviornment for use with the openmoko phone images based on qemu |
03:24.38 | dcordes | maybe that will help you |
03:24.57 | dcordes | freerunner is armv5 though |
03:25.07 | dcordes | while my kaiser rootfs builds are all armv6 |
03:26.07 | dcordes | http://wiki.openmoko.org/wiki/MokoMakefile |
03:27.06 | dcordes | tmzt_mp900c_: sorry I don't understand what to change in the board file |
03:31.13 | foobar` | hmm i guess i could just convert it to like ext2 and boot from that or something |
03:31.24 | foobar` | rather than load as initrd image |
03:32.55 | *** join/#htc-linux no2chem2 (n=user@h-67-101-50-22.lsanca54.dynamic.covad.net) |
03:37.49 | foobar` | dcordes, /sbin/init is a broken symlink to /sbin/init.sysvinit |
03:38.08 | foobar` | er |
03:38.20 | foobar` | nm its there |
03:38.23 | foobar` | so i got it to boot again |
03:38.26 | foobar` | with the init= option |
03:38.32 | foobar` | but it just dropped me in a shell again |
03:39.52 | tmzt | MSM_FB_SIZE |
03:40.47 | tmzt | 0x25800 |
03:41.53 | tmzt | its about 4 screens worth now |
03:42.37 | tmzt | does angstrom use busybox init? |
03:43.16 | *** join/#htc-linux Sundial (n=Sundial@unaffiliated/sundial) |
03:44.40 | tmzt | no2chem2: do you know anything about toolhelp.dll on mp900c? |
03:45.35 | joshts0 | ginge: hows it going with that keyboard? and do you need anythign else? |
03:49.06 | tmzt | #define MSB_FB_SIZE 0x25800 |
03:49.11 | tmzt | #define MSM_FB_SIZE 0x25800 |
03:50.02 | foobar` | passing the init= looks like it did nothing |
03:50.10 | foobar` | there's no pipe, so I can't pipe dmesg to head |
03:50.17 | foobar` | is there a way to remap keys so i can get a pipe |
03:50.46 | tmzt | that's what init does, starts the programs in i/etc/inittab, which usually includes an rc script, which start the scripts in the runlevel |
03:51.05 | tmzt | dmesg > tmp |
03:51.11 | tmzt | head < tmp |
03:53.13 | foobar` | yeah |
03:53.20 | foobar` | now my kb is all messed up |
03:53.22 | foobar` | enter does up |
03:53.24 | foobar` | er |
03:53.24 | foobar` | down |
03:53.56 | tmzt | did you use loadkeys? |
03:54.13 | foobar` | no (what is that?) |
03:54.28 | foobar` | it looks like even though i put init=/sbin/init |
03:54.31 | tmzt | that might me shell continuation if it goes down, do ctrl-c |
03:54.41 | foobar` | uh |
03:54.45 | foobar` | how do i do ctrl-c? |
03:55.05 | tmzt | win key? |
03:55.13 | foobar` | oh |
03:55.16 | foobar` | win = ctrl? |
03:55.22 | tmzt | I think so |
03:55.30 | tmzt | ask dcordes |
03:55.53 | foobar` | i think trying to run "less" is what messed it up |
03:56.00 | foobar` | oh well, rebooting now |
03:56.11 | tmzt | loadkeys will allow you to map you keys |
03:56.19 | tmzt | q exits less |
03:56.26 | tmzt | sometimes ctrl-c first |
03:56.41 | tmzt | and busybox less is limited |
03:57.20 | tmzt | if your init wasn't working it wouldn't finish booting |
03:57.34 | tmzt | it only falls back to /sbin/init |
03:57.53 | tmzt | are you on the minimal image? |
03:58.04 | foobar` | im using angstrom |
03:58.15 | tmzt | and it does boot |
03:58.16 | tmzt | ? |
03:58.17 | dcordes | back |
03:58.18 | foobar` | yeah |
03:58.20 | foobar` | so |
03:58.24 | foobar` | it looks like it's running |
03:58.25 | tmzt | you have set initrd set to that image? |
03:58.28 | foobar` | yeah |
03:58.35 | foobar` | it looks like its running /init |
03:58.35 | tmzt | what are you trying to do? |
03:58.38 | foobar` | which is just a sh script |
03:58.41 | foobar` | that makes a shell |
03:58.49 | tmzt | yes, it is an initrd |
03:58.49 | foobar` | even if i pass init=/sbin/init on the cmd line |
03:58.56 | dcordes | foobar`: put the other /sbin/init* file then in cmdline |
03:59.10 | foobar` | ? |
03:59.13 | foobar` | huh? |
03:59.14 | dcordes | in case /sbin/init is a broken symlink |
03:59.17 | foobar` | oh |
03:59.19 | foobar` | no it's not |
03:59.20 | foobar` | it's fine |
03:59.40 | tmzt | it's confusing, is that angstrom an initramfs? |
03:59.40 | dcordes | well don't waste your time with that crap I will make up a working one |
03:59.49 | foobar` | ok |
04:00.57 | tmzt | linux treats it as real root if its an initramfs, or starts /linuxrc to get to the root if its not (??) |
04:01.28 | tmzt | repacking it as cpio.gz should work |
04:02.18 | dcordes | it is a cpio.gz, tmzt |
04:02.35 | tmzt | ok |
04:03.01 | dcordes | tmzt: will that #define MSM_FB_SIZE 0x25800 reduce the size allocated in the ram for the framebuffer? |
04:03.06 | tmzt | its falling back to /init then |
04:03.10 | tmzt | yes |
04:03.17 | dcordes | hence the symlink |
04:03.51 | dcordes | tmzt: ok I will try to boot then, with the *2 removed and the changed fb size |
04:04.38 | tmzt | trying to make sure the dma routine doesn't require the extended fb, but the vyres shouldn't be a problem |
04:06.07 | tmzt | there are osk things in that file, that might require the 2* |
04:08.03 | dcordes | #define MSM_FB_SIZE0x25800 |
04:08.20 | dcordes | <PROTECTED> |
04:08.56 | dcordes | tmzt: just to make sure, is that correct? |
04:09.41 | *** join/#htc-linux tmzt_mp900c_ (n=tmzt@adsl-70-228-87-174.dsl.akrnoh.ameritech.net) |
04:10.49 | *** join/#htc-linux tmzt (n=tmzt@adsl-70-228-87-174.dsl.akrnoh.ameritech.net) |
04:12.26 | dcordes | tmzt: so what we assume is, with those changes fbset will print the framebuffer geometric attributeds ?res=v?res ? |
04:12.41 | tmzt_mp900c_ | hey |
04:12.47 | tmzt_mp900c_ | just lost xchat |
04:13.14 | dcordes | on your mp900c or desktop? |
04:13.15 | tmzt_mp900c_ | did you get that last message about the /* */ ? |
04:13.18 | tmzt_mp900c_ | desktop |
04:13.18 | dcordes | no |
04:13.26 | dcordes | I just put double slash |
04:13.43 | dcordes | <PROTECTED> |
04:16.08 | *** join/#htc-linux tmzt_mp900c (n=tmzt@adsl-70-228-87-174.dsl.akrnoh.ameritech.net) |
04:18.16 | *** join/#htc-linux tmzt_mp910c (n=tmzt@adsl-70-228-87-174.dsl.akrnoh.ameritech.net) |
04:18.27 | *** join/#htc-linux TeringTu1y (n=maarten@195-241-125-243.ip.telfort.nl) |
04:19.07 | *** join/#htc-linux tmzt (n=tmzt@adsl-70-228-87-174.dsl.akrnoh.ameritech.net) |
04:20.29 | dcordes | tmzt: hostap doesn't like you no? :) |
04:20.34 | tmzt_mp900c_ | [not a command] /* */ around 157 to 193 in msm_fb.c |
04:20.47 | tmzt_mp900c_ | no, but its irq routing problem |
04:22.09 | tmzt_mp900c_ | it redefines stuff already defined properly for kaiser above |
04:22.40 | dcordes | is that essential? I'm already booting now |
04:24.10 | tmzt_mp900c_ | no |
04:24.10 | tmzt_mp900c_ | I hope |
04:24.10 | tmzt_mp900c_ | I think as long as nothing calls pan ioctl we will be alright |
04:25.04 | dcordes | what does pan ioctl do? |
04:25.38 | tmzt_mp900c_ | I think that android uses it to swap buffers |
04:26.26 | tmzt_mp900c_ | move up or down or left or right one screen (or maybe number of pixels, I don't know) |
04:27.57 | dcordes | well the fbcon draws just fine |
04:28.04 | dcordes | now remote logged in and starting X |
04:28.17 | tmzt | in chroot? |
04:28.23 | dcordes | underscore situation |
04:28.27 | dcordes | no I ran it normally now |
04:28.31 | tmzt | try a few times |
04:28.38 | dcordes | root@(none):~# Xfbdev |
04:28.38 | dcordes | _XSERVTransSocketOpenCOTSServer: Unable to open socket for inet6 |
04:28.38 | dcordes | _XSERVTransOpen: transport open failed for inet6/(none):0 |
04:28.38 | dcordes | _XSERVTransMakeAllCOTSServerListeners: failed to open listener for inet6 |
04:28.38 | dcordes | [config/hal] couldn't initialise context: (null) ((null)) |
04:28.44 | tmzt | did you get xwd? |
04:29.08 | dcordes | ok now 1/4 at top =black situation |
04:29.14 | dcordes | same output |
04:29.31 | dcordes | ran and killed it 4 times now it draws fine |
04:29.33 | tmzt | /etc/init.d/hal start |
04:29.48 | tmzt | great, but that doesn't fix ts does it? |
04:29.52 | dcordes | there is no such |
04:30.14 | tmzt | should have been in same place as xev, but I forgot to mention it |
04:30.22 | dcordes | xev is present now. |
04:30.44 | tmzt | DISPLAY=:0 xev |
04:30.48 | tmzt | touch the screen |
04:30.58 | tmzt | do you have screen |
04:31.00 | tmzt | ? |
04:31.05 | dcordes | wait a second... |
04:31.49 | tmzt | don't worry just start another ssh |
04:32.10 | dcordes | heck just killed it searching for the xev*.ipk |
04:32.16 | tmzt | if it is set up right it will work |
04:32.43 | tmzt | searching for an ipk, you should be able to opkg install *.ipk |
04:32.57 | dcordes | can't ssh in anymore died |
04:33.00 | tmzt | and you have scp now |
04:33.02 | tmzt | oh |
04:33.10 | dcordes | I have a 5M limit |
04:33.19 | dcordes | according to the phone supported |
04:33.22 | dcordes | r |
04:33.38 | tmzt | then nc -p 22 -l -e /bin/sh would be a better choice |
04:33.46 | dcordes | huh |
04:33.57 | dcordes | has no clue of netcat |
04:34.02 | tmzt | less overhead |
04:34.19 | dcordes | oh right, no encryption? |
04:34.37 | tmzt | no no second ssh connection |
04:34.46 | tmzt | same as telnet |
04:34.56 | tmzt | telnetd would be better |
04:35.10 | tmzt | nc gets anoying, but works when nothing else does |
04:35.31 | tmzt | we and ginge should work on bluetooth next |
04:35.35 | dcordes | well it does work I just have to be careful with bigger file operations because of dma prob |
04:35.40 | foobar` | uh |
04:35.44 | foobar` | so i just got it to boot |
04:35.46 | dcordes | yea bluetooth |
04:35.46 | tmzt | do you have bluetooth dongle |
04:35.55 | foobar` | by editing the cpio and making /init point to /sbin/init |
04:36.01 | foobar` | but now the kb doesn't work at all |
04:36.04 | dcordes | tmzt: yes one of the in-jack ones |
04:36.09 | tmzt | should be uart and a gpio to start it |
04:36.22 | dcordes | foobar`: I already started making a new rootfs |
04:36.27 | foobar` | ok |
04:36.39 | tmzt | huh? |
04:36.47 | dcordes | hm? |
04:36.49 | dcordes | ^^ |
04:36.54 | tmzt | in-jack |
04:37.05 | tmzt | plugin? |
04:37.10 | dcordes | wait need to look up the correct word. |
04:37.22 | tmzt | usb? |
04:37.45 | dcordes | yes the whole device disappears in the usb jack |
04:37.53 | dcordes | usb connector |
04:38.21 | tmzt | I have very small IrDA now, but no bt that small |
04:38.33 | tmzt | but if it supports hci it should work |
04:38.41 | tmzt | for rfcomm |
04:38.42 | dcordes | http://ecx.images-amazon.com/images/I/41IPDNrzCGL._SS400_.jpg |
04:39.17 | tmzt | incredible |
04:39.50 | tmzt | but there is microsd wifi so not that incredible, even if it sticks out |
04:41.54 | tmzt | ar x *.ipk |
04:42.16 | *** join/#htc-linux dcordes_ (n=dcordes@unaffiliated/dcordes) |
04:42.17 | tmzt | tar xzf data.tar.gz /usr/bin/xev |
04:42.22 | tmzt | tar xzf data.tar.gz /usr/bin/xev |
04:42.25 | tmzt | ar x *.ipk |
04:42.27 | tmzt | tar xzf data.tar.gz /usr/bin/xev |
04:43.06 | tmzt | strace 2>/dev/null slows things down nicely too |
04:43.28 | *** join/#htc-linux Dinde (n=kayser@sur-internet.net) |
04:43.51 | dcordes_ | oh a kayser |
04:56.36 | tmzt | dcordes: are you there? |
04:56.52 | tmzt | oh, it timed out |
04:58.23 | tmzt | it sounds like that underscore thing is going to happen randomly, but if you do get xwd and can send my a clear screenshot I will see if I can figure out what it is |
04:59.45 | tmzt | if you can try the chroot X server it sould be good to know if that works so I can put together some source for it |
05:00.50 | dcordes_ | I forgot about xwd noo |
05:02.12 | tmzt | is the mmc interfering with the chroot, is that why it didn't work earlier? |
05:02.36 | dcordes_ | good point |
05:03.13 | tmzt | the other libraries are small enough they should not be a problem, we can just run Xfbdev from tmpfs |
05:04.01 | tmzt | can you login now? |
05:04.12 | dcordes_ | I just rebooted because the revers refused to work |
05:04.43 | dcordes_ | I was able to connect from kaiser but afterwards not the other way around |
05:04.47 | tmzt | we can do this from console, and get bt working later when others are here |
05:04.58 | tmzt | with sshd or nc? |
05:05.11 | dcordes_ | ssh |
05:05.19 | dcordes_ | it worked before, the same way |
05:05.30 | tmzt | ssh bust be running, but can be in background |
05:05.50 | tmzt | check who on your desktop |
05:07.30 | tmzt | this stuff drive me nuts but ssh -X was what we wanted, to run bins from the desktop |
05:08.10 | tmzt | but we would have to do three ssh's to make it work if started from desktop |
05:08.15 | dcordes_ | oh now I got you |
05:08.37 | dcordes_ | that will empty my wallet |
05:08.41 | tmzt | netstat -tp |
05:08.54 | tmzt | yeah, don't do that |
05:09.01 | dcordes_ | next week I can pump through that connection whatever I want |
05:09.57 | tmzt | ok |
05:10.06 | tmzt | did you add those getty's? |
05:10.27 | dcordes_ | hm again, I was able to connect from kaiser, but on the pc it times out now |
05:10.36 | dcordes_ | yes I should have 5 vts |
05:10.49 | *** join/#htc-linux Dinde (n=kayser@sur-internet.net) |
05:11.15 | tmzt | the reason that was a issue earlier is I thought there was no fbset in the jlime image, and you would have to keep entering and leaving the chroot |
05:11.50 | tmzt | we just need to be able to start X, wait and change back to a working console, |
05:12.10 | dcordes_ | right so what about the chvt button? |
05:12.21 | tmzt | if the env's are in the chroot (they should be), it should work |
05:12.33 | tmzt | dumpkeys > keys |
05:12.41 | tmzt | vi keys |
05:12.47 | tmzt | loadkeys keys |
05:12.54 | tmzt | do that with tmpfs though |
05:13.19 | dcordes_ | can I do that operation from the desktop |
05:13.20 | dcordes_ | ? |
05:13.26 | tmzt | no |
05:13.30 | dcordes_ | ok |
05:13.35 | tmzt | you can edit it though |
05:13.54 | tmzt | it might be the same keymap (not hw keymap in machine file, a different one) |
05:14.01 | dcordes_ | was just curious if dumpkeys came out of some file but that would make no sense |
05:14.15 | tmzt | but you still need to get it to kaiser and loadkeys |
05:15.21 | tmzt | Decr_Console Incr_Console |
05:15.34 | tmzt | move between vt's, but not in X (??) |
05:18.58 | dcordes_ | it is set to 105/106(left/right) +alt |
05:18.59 | dcordes_ | here |
05:19.22 | tmzt | string F1 = "\033[[A" |
05:19.43 | tmzt | find something to map onto F1 |
05:19.58 | tmzt | fn+a .. fn+k would work |
05:20.03 | dcordes_ | wouldn't I still need ctrl+alt then? |
05:20.06 | dcordes_ | I only have ctrl |
05:20.32 | tmzt | do a showkey and press camera |
05:21.08 | dcordes_ | I just replaced alt with control to try ctrl+left/right |
05:21.15 | dcordes_ | but that won't work |
05:21.18 | dcordes_ | (vts are on) |
05:21.32 | tmzt | do you get anything for camera? |
05:21.38 | tmzt | and did you loadkeys keys? |
05:22.08 | dcordes_ | camera is two keys, soft press and hard press |
05:22.21 | dcordes_ | so you can focus, than take the picture |
05:22.38 | tmzt | Console_1 Console_2, map those to whatever you want |
05:22.40 | dcordes_ | 43 pressrelease is low |
05:22.43 | dcordes_ | 43 pressrelease is soft |
05:23.12 | tmzt | keycode 43? |
05:23.14 | dcordes_ | yes |
05:23.36 | dcordes_ | it does a backslash currently |
05:24.00 | tmzt | ctrl alt F1 = Console_1 ? |
05:24.16 | tmzt | does shift camera give you a pipe? |
05:24.24 | dcordes_ | yea |
05:25.12 | tmzt | do you have ctrl alt F1 = Console_1 |
05:25.31 | dcordes_ | you mean in the dumpkeys output? |
05:25.42 | tmzt | no, in keys |
05:26.30 | tmzt | lets just do fn+a = Console_1 .. fn+j = Console_7 |
05:26.41 | tmzt | do you have any Fn in keys file? |
05:26.49 | dcordes_ | keys is the dumpkeys output |
05:27.03 | tmzt | what keycode do you get from Fn (showkey) |
05:27.13 | tmzt | I know |
05:27.19 | dcordes_ | none |
05:27.28 | dcordes_ | it's because our special driver does it in the kernel |
05:28.01 | tmzt | do you have any other key with a keycode? |
05:28.06 | *** join/#htc-linux Othello__ (i=Magorium@gateway/tor/x-47d4f34bd3f6ad21) |
05:28.26 | dcordes_ | argh now I can't exit showkey |
05:28.34 | tmzt | wait |
05:28.35 | dcordes_ | oh timed out |
05:28.39 | tmzt | it will go away |
05:29.04 | tmzt | it puts console in raw so you can't exit |
05:30.02 | tmzt | there is a standard way to do keyboard leds, even beyond numlock capslock scrolllock |
05:30.30 | dcordes_ | control alt keycode 59 = Console_1 |
05:30.41 | dcordes_ | keycode 59 = F1 |
05:30.45 | tmzt | you will notice on desktop if you set num lock on or off and change vts, change it and switch back it will turn on/off |
05:31.16 | tmzt | find keycode 58 in keys |
05:31.20 | tmzt | add: |
05:31.46 | tmzt | [tab] control keycode 59 = Console_1 |
05:31.57 | tmzt | do the same through f7 |
05:32.21 | tmzt | Console_7 |
05:32.33 | dcordes_ | [tab] control keycode 58 = Console_1 |
05:32.37 | dcordes_ | ? |
05:32.39 | tmzt | still won't work for X though |
05:32.49 | tmzt | yes |
05:32.58 | dcordes_ | something for X is what is of use |
05:33.00 | tmzt | whatever keycode ?? = F1 |
05:33.06 | tmzt | I know |
05:33.17 | tmzt | you need a control and an alt |
05:33.30 | dcordes_ | on the zaurus it is just fn left right |
05:33.32 | tmzt | fn is to the far left on keyboard |
05:33.39 | dcordes_ | and zaurus also has Xfbdev I think |
05:33.39 | tmzt | shift is on far right? |
05:34.11 | dcordes_ | http://wiki.xda-developers.com/index.php?pagename=Kaiser_Keyboard German one |
05:34.19 | dcordes_ | shift is far left |
05:34.25 | tmzt | do you get a keycode for shift? |
05:35.34 | dcordes_ | now because also shfit is hardware |
05:35.40 | dcordes_ | s/hardware/kernel/ |
05:36.12 | dcordes_ | I will look at the zaurus keymap for chvt |
05:36.22 | tmzt | starting X killed my mp900c |
05:36.35 | tmzt | must been battery |
05:38.29 | dcordes_ | isn't it bad for those batteries to blow them completely empty? |
05:38.37 | dcordes_ | I keep forgetting to turn off kaiser when in angstrom |
05:40.38 | dcordes_ | need to charge akita a bit before I can turn it on |
05:41.03 | tmzt | they ever get the bootloader for those? |
05:42.22 | dcordes_ | I use the sharp bootloader |
05:42.37 | tmzt | so limited zImage size |
05:42.44 | dcordes_ | right |
05:43.03 | tmzt | akita is integrated cf hdd? |
05:43.12 | dcordes_ | nope |
05:43.20 | dcordes_ | it's sl-c1000 |
05:43.30 | tmzt | only know those from qemu source |
05:43.33 | dcordes_ | the one from the latest generation without hd |
05:44.03 | tmzt | they all share most of the code, except for is there a cf hdd, and similar |
05:44.20 | dcordes_ | I like its rich keyboard and big vga screen |
05:44.36 | tmzt | if you can find a keycode map it to Ctrl |
05:44.51 | tmzt | I don't have the file in front of me right now |
05:45.00 | tmzt | vga |
05:45.07 | tmzt | mine is half vga |
05:45.14 | dcordes_ | your? |
05:45.24 | tmzt | and stn unfortunately |
05:45.26 | tmzt | mp900c |
05:45.34 | tmzt | is also have broken sl5500 |
05:45.44 | tmzt | which is why I got the Q |
05:45.48 | dcordes_ | 640 x 240 HVGA |
05:45.57 | tmzt | yes |
05:46.27 | dcordes_ | 2 x USB are those powered with host controller? |
05:46.28 | tmzt | I liked the vertical compact design, would have gotten htc excalibur, but needed cdma |
05:46.43 | tmzt | one is host the other client |
05:46.58 | tmzt | nice keyboard and no jp |
05:47.07 | tmzt | which looked confusing |
05:47.18 | dcordes_ | what about juice on the host usb? |
05:47.36 | dcordes_ | ok now the batteryr is full enough to boot |
05:47.39 | tmzt | enough for usb flash or mouse/keyboard |
05:47.51 | dcordes_ | ..I have no problem with the jp keypad |
05:48.10 | tmzt | yes, I would have gotten it anyway, but it did look confusing |
05:48.16 | dcordes_ | I'm so used to the akita keyboard, I can type quite fast on it |
05:48.24 | tmzt | and I got cheap mp900c |
05:48.52 | tmzt | I got cheap sl5500 too, opened package for 100 a few years ago |
05:49.05 | dcordes_ | 100 us dollars? |
05:49.09 | tmzt | yes |
05:49.24 | tmzt | thought it was the greyscale one |
05:49.31 | tmzt | the other linux pda at the time |
05:49.59 | tmzt | mp900c was a little less than that a year ago |
05:50.16 | dcordes_ | lol the zaurus fbcon font looks huge now |
05:50.27 | dcordes_ | vs 3x6 on kaiser |
05:50.29 | tmzt | could have got as many as I wanted but didn't have the money |
05:50.55 | tmzt | you have a 3x6 font, I want that for aalib tv |
05:51.25 | dcordes_ | you payed 100 for the mp900c also? |
05:51.34 | tmzt | getting intelfb to work would be better |
05:51.40 | tmzt | 70/80 |
05:53.04 | dcordes_ | ok in zaurus keymap now |
05:53.19 | dcordes_ | that's quite cheap I'd also take one |
05:53.40 | tmzt | I think the keyboard is bigger than akita, but the whole unit is |
05:53.58 | tmzt | also, full size 16bit pcmcia in side, cf type 3 in front |
05:54.07 | dcordes_ | keycode 105 = Left |
05:54.11 | tmzt | if only the usb host worked in linux |
05:54.26 | dcordes_ | <PROTECTED> |
05:54.27 | tmzt | Fn? |
05:54.33 | dcordes_ | keycode 106 = Right |
05:54.51 | dcordes_ | <PROTECTED> |
05:54.57 | tmzt | Fn must be altgr |
05:55.02 | dcordes_ | I think so |
05:55.13 | dcordes_ | how can I open a new vt just like inittab would? |
05:55.26 | tmzt | if Incr_ Decr_Console works in X then there isn't a problem |
05:55.45 | tmzt | just always wondered why I had to Ctrl Alt F1 |
05:55.53 | tmzt | what is Console_1? |
05:55.54 | dcordes_ | I'm not too sure anymore |
05:56.06 | dcordes_ | how can I open an ew vt to try? |
05:56.22 | tmzt | on akitea? |
05:56.38 | dcordes_ | anywhere |
05:56.40 | tmzt | a new |
05:56.49 | dcordes_ | a new, yes sorry |
05:56.50 | tmzt | alt f2, fn right |
05:57.08 | dcordes_ | no f keys |
05:57.14 | tmzt | alt left doesn't work on my pc |
05:57.29 | tmzt | ctrl alt left doesn't either |
05:57.58 | tmzt | its an xkb thing then |
05:58.41 | tmzt | I don't have altgr anyway, us layout |
05:58.51 | tmzt | in X |
05:59.41 | tmzt | change /etc/inittab and init U |
05:59.51 | dcordes_ | I'm quite sure you were able to chvt out of X |
05:59.57 | dcordes_ | but they changed it at some point in the paste |
06:00.20 | dcordes_ | I changed inittat and shutdown -r now |
06:00.32 | dcordes_ | s/inittat/inittab/ |
06:01.48 | dcordes_ | oh no |
06:02.00 | tmzt | can you get xwd in an image, maybe we can put back Fn (altgr) and Shift, leds won't work until we fix them but |
06:02.07 | dcordes_ | now that I added the gettys I can't kill the X anymore with ctrl alt backspace |
06:02.39 | tmzt | and we will work with ginge and cr2 to trace bt if we can |
06:02.45 | dcordes_ | which leds? |
06:02.48 | tmzt | but I need to go now |
06:02.55 | dcordes_ | ok |
06:02.59 | tmzt | the fn and shift leds, do you have those? |
06:03.03 | dcordes_ | thank you very much |
06:03.05 | dcordes_ | yes |
06:03.14 | tmzt | yeah, no problem |
07:19.23 | *** join/#htc-linux TeringTuby (n=maarten@195-241-125-243.ip.telfort.nl) |
07:24.33 | *** join/#htc-linux kiozen (n=oeichler@rgnb-5d8656da.pool.einsundeins.de) |
07:35.36 | *** join/#htc-linux rmoravcik (n=rmoravci@ip-89-102-255-171.karneval.cz) |
08:08.15 | *** join/#htc-linux smev (n=smev@S010600215514f029.cg.shawcable.net) |
08:50.42 | *** join/#htc-linux Othello_ (i=Magorium@gateway/tor/x-878e246d1e7dd7cc) |
09:08.35 | *** join/#htc-linux marbalon (n=balon@aefx230.neoplus.adsl.tpnet.pl) |
09:09.34 | *** join/#htc-linux Marex (n=vasum7am@auryn.karlin.mff.cuni.cz) |
09:25.19 | *** join/#htc-linux no2chem2 (n=user@h-68-164-237-60.lsanca54.dynamic.covad.net) |
09:25.54 | *** join/#htc-linux nighthawk08 (n=a@nighthaw.bb.netvision.net.il) |
09:27.37 | nighthawk08 | I am trying to install the htc himalaya on my pda,. I am stuck in the process after it boots the machine and sais that it is loading the kenerl linux disto -- am I doing something wrong? how can I debug the process? |
09:39.54 | *** join/#htc-linux LunohoD_ (n=alex@e180070225.adsl.alicedsl.de) |
09:53.27 | *** join/#htc-linux cmonex (i=xy6091@pool-7807.adsl.interware.hu) |
09:53.40 | cmonex | hi cr2, you there ? |
09:58.35 | *** join/#htc-linux cmonex2 (i=xy6091@pool-7807.adsl.interware.hu) |
10:19.48 | *** join/#htc-linux rmoravcik (n=rmoravci@ip-89-102-255-171.karneval.cz) |
10:22.55 | *** join/#htc-linux nighthawk08 (n=a@nighthaw.bb.netvision.net.il) |
10:23.09 | nighthawk08 | how can I debug the boot process? |
10:26.58 | cmonex | cr2: if you repied, I didn't see, got disconnected |
10:27.05 | cmonex | replied* |
10:55.57 | *** join/#htc-linux BabelO (n=Fabrice@unaffiliated/babelo) |
11:03.11 | *** join/#htc-linux pikapika (n=pikapika@mar75-8-88-164-227-147.fbx.proxad.net) |
11:48.01 | *** join/#htc-linux nighthawk08 (n=a@nighthaw.bb.netvision.net.il) |
11:48.18 | nighthawk08 | how can I debug the boot process? |
11:57.48 | cmonex | nighthawk08: on android? :) |
12:11.45 | *** join/#htc-linux dwaradzyn (n=dwaradzy@damian8155.net.autocom.pl) |
12:19.30 | marajin | quack |
12:19.38 | marajin | or for those of you who are still sane... |
12:19.40 | marajin | Hi |
12:23.19 | dwaradzyn | hi. there is a lot of confusion about the d3d drivers. htcclassaction mentions that if ddi.dll exports some functions there is a chance that the driver will work without further modification. Can anyone confirm that ddi.dll can only be obtained as an update from HTC? |
12:26.02 | dwaradzyn | in other words: do we have to wait for 6.1 official update for other phones to make the driver work? |
12:26.37 | cmonex | dwaradzyn |
12:26.42 | cmonex | ddi.dll is written by HTC |
12:27.08 | cmonex | or if you mean non HTC devices |
12:27.13 | cmonex | then it is wiritten by their OEM |
12:27.52 | dwaradzyn | so unofficial 6.1 roms do not have a ddi.dll compatible with the driver? |
12:28.57 | dwaradzyn | every polaris 6.1 rom has ddi.dll from one of original htc 6.0 roms? |
12:32.30 | cmonex | I don't know. |
12:32.52 | cmonex | I'm not sure I understand your question |
12:33.12 | cmonex | you mean polaris has no WM 6.1 update officially ? |
12:33.18 | cmonex | I dont have a polaris so this is why I'm asking |
12:36.01 | dcordes_ | 1,+ |
12:36.27 | *** join/#htc-linux marbalon (n=balon@aefx230.neoplus.adsl.tpnet.pl) |
12:45.49 | marajin | hey dcordes_ |
13:32.32 | *** join/#htc-linux amiral_ (n=amiral@bobafett.staff.proxad.net) |
13:48.36 | *** join/#htc-linux divisionmd (n=division@c-b0a070d5.023-292-73746f23.cust.bredbandsbolaget.se) |
13:48.38 | divisionmd | hello |
13:53.38 | divisionmd | anyone tried to install Linux to a HTC P3300 ? |
14:00.38 | BabelO | divisionmd: http://www.handhelds.org/moin/moin.cgi/Artemis |
14:01.27 | BabelO | divisionmd: and http://forum.xda-developers.com/showthread.php?t=393973&highlight=linux |
14:02.18 | divisionmd | thanks babe10 |
14:03.33 | divisionmd | got some error trying to run that... |
14:03.57 | BabelO | divisionmd: which one ? |
14:04.04 | divisionmd | but i think i know why.. |
14:04.11 | divisionmd | i ran the file from the sd card.. |
14:04.14 | BabelO | divisionmd: you have a dmesg.txt file generated |
14:04.18 | divisionmd | http://forum.xda-developers.com/showthread.php?t=393973 |
14:04.24 | ginge | hey guys. seen the latest google android kernel commits? |
14:04.29 | divisionmd | need the file in the / root.. |
14:04.32 | divisionmd | re-testing.. |
14:05.00 | BabelO | you need both file at same place yes and at least 200b free |
14:05.06 | divisionmd | ok |
14:05.42 | divisionmd | cool... |
14:05.47 | divisionmd | workin.. |
14:05.54 | divisionmd | creating some root file.. |
14:06.02 | cmonex | ginge: why? |
14:06.37 | ginge | cmonex: it has hardware support that related to msm72xx devices |
14:08.03 | cmonex | oh, you mean official support? |
14:08.35 | ginge | cmonex: about as official as we can expect |
14:08.51 | ginge | http://git.android.com/?p=kernel.git;a=shortlog;h=android-msm-2.6.25 if you are interested |
14:10.38 | BabelO | divisionmd: don't worry but first boot is very long :) |
14:11.04 | cmonex | ginge: neat! |
14:11.53 | ginge | cmonex: just minor changes this time. some clock fixes that we are not using. couple of mmc fixes that won't affect kaiser problems... some i2c changes that might be useful... |
14:13.10 | cmonex | oh |
14:13.17 | cmonex | what kaiser problems? |
14:13.23 | divisionmd | babel10 do you havea p3300 ? |
14:14.41 | BabelO | divisionmd: yes, it is me who have made the port and the image you are trying |
14:15.25 | ginge | cmonex: dma transactions errors on mmc with large block transfers |
14:16.10 | divisionmd | Nicely done .. |
14:16.26 | cmonex | oh, I see |
14:16.49 | divisionmd | Babel10 have you haver heard of p3300 just "crashing" or dying.. more like the power is just gone. |
14:16.56 | divisionmd | have 5 p3300 with all the same problem.. |
14:17.18 | divisionmd | i am thinking there is something wrong with the battery.. |
14:17.46 | cmonex | 5 batteries? |
14:17.56 | divisionmd | five phones.. |
14:18.00 | divisionmd | all the same problem.. |
14:18.09 | divisionmd | five different batteries.. |
14:18.15 | divisionmd | something is wrong with the p3300 |
14:18.36 | divisionmd | they just "die" or .. power off |
14:18.46 | BabelO | divisionmd: no, never heard about that. what do you do just before it crash ? |
14:19.10 | divisionmd | i can be anywhere doing anything on the phone.. |
14:19.30 | divisionmd | the one thing i have time to see is that the "battery" warning is flashing.. |
14:19.47 | divisionmd | even though the battery is fully charged.. |
14:19.53 | BabelO | divisionmd: ok, i got some backlight power off, with an old WM6 release, because backlight was set too low |
14:21.11 | divisionmd | ok |
14:21.17 | divisionmd | will change that setting.. |
14:21.57 | BabelO | divisionmd: is it official battery ? |
14:22.05 | divisionmd | yes. |
14:22.32 | divisionmd | must be something with these batteries.. |
14:22.41 | divisionmd | the phone worked very well for over 1-2 years.. |
14:22.56 | divisionmd | then after that time all five phones got the same error |
14:22.59 | BabelO | divisionmd: ok :( |
14:25.25 | divisionmd | Babel do you have a complete "root file" that i can use |
14:25.41 | divisionmd | the phone crashes when it starts to create that file.. |
14:25.50 | divisionmd | it gets to about 80 mb.. |
14:35.42 | BabelO | divisionmd: you have enough free space ? |
14:36.08 | divisionmd | 1200 mb free... |
14:36.15 | BabelO | divisionmd: ok |
14:37.06 | BabelO | divisionmd: you can create a ext3 partition on your sdcard |
14:37.18 | divisionmd | how do i do that.. |
14:37.19 | BabelO | and unpack the bz2 file on it |
14:37.46 | divisionmd | how do i format the sd disk to ext3 and copy that over.. |
14:37.56 | divisionmd | maybe i will try this again once i have working batteries.. |
14:38.16 | BabelO | divisionmd: maybe it is better yes |
14:38.28 | BabelO | wait to got a working battery |
14:38.53 | BabelO | so you can try easily this linux installer without need to reformat sdcard |
14:38.53 | divisionmd | yep.. |
14:38.58 | divisionmd | yep |
14:39.02 | divisionmd | thanks for help Babel10 |
14:52.29 | *** join/#htc-linux nighthawk08 (n=a@nighthaw.bb.netvision.net.il) |
14:53.03 | nighthawk08 | how can I debug the boot process? haret with ?ngstr?m |
14:53.14 | nighthawk08 | angstrom * |
14:59.44 | *** join/#htc-linux nighthawk08 (n=a@nighthaw.bb.netvision.net.il) |
15:03.02 | *** join/#htc-linux marbalon (n=balon@aefx230.neoplus.adsl.tpnet.pl) |
15:06.46 | *** join/#htc-linux jeanseb (n=jeanseb@88.164.32.155) |
15:45.53 | *** join/#htc-linux smev (n=smev@S010600215514f029.cg.shawcable.net) |
16:05.03 | *** join/#htc-linux dcordes (n=dcordes@unaffiliated/dcordes) |
16:07.12 | *** join/#htc-linux tmzt (n=tmzt@adsl-70-228-87-174.dsl.akrnoh.ameritech.net) |
16:07.13 | dcordes | any kaiser owners present? |
16:07.24 | dcordes | hi tmzt |
16:07.28 | tmzt | hey |
16:07.46 | cmonex | hi tmzt |
16:07.47 | cmonex | :) |
16:07.59 | cmonex | so why does cr2 want to know about 900c rom? |
16:07.59 | dcordes | marajin: did we find out what causes the keyboard only making [B problem in angstrom? |
16:08.08 | tmzt | I should have just told you to remap camera as alt with loadkeys |
16:08.23 | tmzt | you can always put it back on backslash\pipe |
16:08.35 | dcordes | didn't use the two anyway |
16:09.00 | tmzt | I was asking about haret on mp900c, and he asked me if it was xip or not |
16:09.39 | tmzt | also, the doesn't seem to be a toolhelp,dll, is that in your rom? |
16:10.44 | cmonex | oh |
16:10.52 | cmonex | toolhelp.dll is in my rom yes |
16:11.12 | cmonex | but if you use my rom.. you'll have to invalidate gapi (gx.dll in \windows) |
16:11.18 | cmonex | somehow haret doesnt like gapi |
16:11.19 | tmzt | I was wondering why lsmod and ps didn't work, thinking it just was not detecting the device |
16:11.28 | cmonex | er, lsmod? |
16:11.37 | tmzt | it tries to get the fb address vram |
16:11.39 | cmonex | anyway, i cant see why xip matters, can you explain? |
16:11.49 | tmzt | no, I don't know why |
16:11.55 | cmonex | and by xip what do you mean... the rom image is xip, but that doesnt mean the programs xip from rom ;) |
16:11.58 | cmonex | and actually |
16:12.07 | tmzt | lsmod lists the loaded device drivers using toolhelp apparently |
16:12.08 | cmonex | on the hpc2000 rom version they do xip from rom, even the kernel does |
16:12.13 | tmzt | ps is the processes |
16:12.20 | cmonex | on ce.net, the rom is xip but the apps are running from ram, as they are stored compressed |
16:12.27 | cmonex | and the kernel is xip but xip in ram, not rom |
16:12.30 | tmzt | ok |
16:12.32 | cmonex | so this is a complex question. |
16:12.41 | cmonex | so i wanted to know what he really wanted to ask |
16:12.41 | cmonex | :) |
16:12.48 | tmzt | we got the map from the bootloader to eliminate the known stuff |
16:13.06 | cmonex | map... driver list... process list... heh, itsutils has them too |
16:13.07 | tmzt | I am hoping to trace usb, since I don't see any definitive information on it |
16:13.09 | cmonex | but it also needs tooolhelp :) |
16:13.22 | tmzt | that uses rapi from a desktop doesn't it |
16:13.31 | cmonex | yeah, ... |
16:13.32 | cmonex | hmm, |
16:13.33 | cmonex | <tmzt> we got the map from the bootloader to eliminate the known stuff |
16:13.37 | cmonex | eliminate what? |
16:13.51 | tmzt | known addresses for devices |
16:14.49 | tmzt | what do you use to trace ce, jtag now? |
16:15.31 | tmzt | and is there a dmesg type buffer in ram or over the serial? |
16:18.26 | cmonex | well |
16:18.33 | cmonex | i dont use anything to trace ce, for now |
16:18.38 | cmonex | I havent needed it yet |
16:18.51 | cmonex | well an ordinary program can be debugged with IDA debugger |
16:19.00 | cmonex | btw jtag works on 900c, have you seen my site where i describe how? |
16:19.07 | tmzt | yes |
16:19.11 | cmonex | ok :) |
16:19.11 | tmzt | but I only have one |
16:19.17 | cmonex | eh? |
16:19.24 | tmzt | one mp900c, not ten or so |
16:19.28 | cmonex | lol |
16:19.31 | cmonex | i needed jtag |
16:19.34 | cmonex | to unbrick some 900c'a |
16:19.56 | cmonex | one was stupidly flashed a bootloader update with buggy bootloader installed in rom |
16:19.57 | tmzt | under the pcmcia, right? |
16:20.03 | cmonex | another just died out of the blue, and owner gave it to me |
16:20.17 | cmonex | appears the NOR can corrupt and flip some bits and make the bootloader not boot anymore |
16:20.31 | tmzt | dump pxa27x made mine go really funny yesterday, I was a little scared |
16:20.41 | tmzt | but I think it was the btuart registers and the pic |
16:20.43 | cmonex | dont be scared. jtag is always there :) |
16:20.47 | cmonex | btuart is PIC.. |
16:20.51 | tmzt | screen flashed, leds blinked |
16:20.54 | cmonex | I mean, the PIC uses those registers |
16:20.57 | cmonex | but why do you need that? |
16:21.03 | cmonex | cosmo0 wrote the keyboard etc drivers already |
16:21.13 | tmzt | I know, they are in jlime |
16:21.21 | cmonex | PIC handles keyboard, touchscreen, backlight |
16:21.37 | cmonex | and leds |
16:21.41 | cmonex | I can easily make it flash the screen and leds like that :) |
16:21.44 | *** join/#htc-linux disturbedsaint (n=Saint_@84-105-33-111.cable.quicknet.nl) |
16:21.50 | cmonex | I forget which register to poke for that |
16:21.52 | tmzt | the isp usb chip has 4 one byte registers so finding it by dumping ram seems unlikely |
16:22.00 | cmonex | but it is normal if you manage to poke that register |
16:22.05 | cmonex | so do not get too scared :) |
16:22.23 | cmonex | oh the usb, i know nothing about that one yet |
16:22.29 | cmonex | usb host isnt working yet then? |
16:22.30 | tmzt | so I want to find a gpio or irq for it in interrupt mode and find the usb driver from there |
16:22.33 | tmzt | no |
16:22.43 | tmzt | host and client are on the same chip |
16:22.44 | cmonex | hmm.. one sec let me check something |
16:27.51 | cmonex | ok |
16:28.00 | cmonex | is this usb isp1161? |
16:28.22 | cmonex | if so, i suggest checking the physical memory mapped range at 0xD000000 |
16:28.46 | cmonex | i have a list of what drivers get what mem, and isp1161 has this |
16:29.18 | cmonex | virtual addr is 0x88700000/0xA8700000 |
16:29.39 | tmzt | how likely is it be at the top of that range, just thinking about the decode logic on the board? |
16:30.21 | cmonex | the driver gets 8 byte at that address |
16:30.39 | cmonex | bytes* |
16:30.41 | tmzt | great |
16:30.53 | cmonex | :) |
16:30.57 | tmzt | so its not in the bootloader map then? |
16:31.01 | cmonex | no |
16:31.23 | cmonex | I stole this list from a driver disasm, that lists some nice mem map for these things |
16:31.26 | tmzt | no you know anything about the debugme kernels? |
16:31.41 | cmonex | I can give you the txt file where I copypasted it from the driver :P |
16:31.49 | cmonex | its not just usb, loads of other things |
16:31.51 | tmzt | ok |
16:32.02 | cmonex | and it seems correct for the ones that I'm familiar with |
16:32.11 | tmzt | maybe jlime can but it on devfiles or jime.git? |
16:32.28 | cmonex | like, NAND, low_memory, |
16:32.30 | cmonex | and xscale stuff |
16:32.58 | cmonex | does dcc work for you? |
16:33.14 | tmzt | I want to have mtd and bootloader eventially |
16:33.21 | cmonex | mtd = ? |
16:33.44 | tmzt | I need to open some ports, but I found the stupid checkbox in my router that was blocking everything yesterday |
16:33.49 | cmonex | lol |
16:33.55 | cmonex | dont put it in dmz if not necessary |
16:33.58 | cmonex | just forward the ports |
16:34.02 | tmzt | flash memory technology devices |
16:34.11 | cmonex | have you jlime guys heard about low_memory btw ? |
16:34.22 | cmonex | it is a special range in memory (RAM) |
16:34.26 | tmzt | I'm just a user |
16:34.28 | cmonex | many global vars to control 900c are stored there |
16:34.33 | cmonex | I found the meaning of many of them |
16:34.40 | tmzt | cool |
16:34.41 | cmonex | like, which one to use for cpu clock setting |
16:34.51 | tmzt | Kristoffer might be able to use that stuff |
16:34.52 | cmonex | or which one to use to tell teh bootloader to force a soft or hard reset |
16:34.55 | cmonex | mm, ok |
16:34.59 | cmonex | let me join jlime :P |
16:35.02 | tmzt | soft reset |
16:35.09 | cmonex | meh, he's not online |
16:35.13 | tmzt | he's away for awhile |
16:35.13 | cmonex | heh soft reset, i wrote program for that |
16:35.18 | cmonex | its in my custom rom |
16:35.22 | cmonex | i didnt put the hardreset one in it |
16:35.38 | tmzt | oh, but not from linux obviously |
16:35.39 | cmonex | all the program does is set the flag in that global var |
16:35.47 | cmonex | then forces system suspend via winapi |
16:36.01 | cmonex | then user has to power it on to wake bootloader up... |
16:36.08 | cmonex | no, not from linux but will be easy to port it |
16:36.17 | tmzt | we can only shut off the screen and slow the clock |
16:36.17 | cmonex | the powerup part is not nice, I was looking for automatic solution |
16:36.21 | cmonex | I can set alarm |
16:36.25 | cmonex | but |
16:36.33 | cmonex | wince doesnt let you set one that is in less than 10 secs :@ |
16:36.36 | tmzt | but linux erases the ram |
16:36.40 | cmonex | I could go on and on |
16:36.47 | cmonex | nah linux wont erase the low_memory |
16:36.48 | cmonex | or if it does |
16:36.51 | cmonex | that's a serious bug |
16:36.59 | cmonex | then you wont have a way to proper suspend / reset |
16:37.17 | cmonex | the bootloader *needs* valid values in that ram |
16:37.32 | cmonex | good point btw, i'll publish the info on jlime |
16:37.35 | tmzt | it just does a hardreset because the windows in ram is wiped out |
16:37.43 | cmonex | yes, hard reset is easy to force |
16:37.58 | tmzt | I actually use debian, but some stuff from jlime |
16:38.00 | cmonex | if ce kernel sees a specific flag (a string really) is not in ram at a specific offset |
16:38.02 | cmonex | it will wipe everything |
16:38.12 | cmonex | (i.e. object store corruption) |
16:39.14 | tmzt | the bootloadeer is a ce kernel? |
16:39.57 | tmzt | do you know how to hide the cursor in ce? |
16:43.16 | cmonex | no |
16:43.19 | cmonex | the bootloader is bootloader |
16:43.30 | cmonex | the cursor is easy to hide by using the right gwes.mui file |
16:43.35 | cmonex | I'm sure I posted it |
16:43.41 | cmonex | also my rom (the version 2) has it in rom |
16:43.49 | cmonex | if you mean mouse cursor :P |
16:45.22 | *** join/#htc-linux tmzt_mp900c (n=tmzt@adsl-70-228-87-174.dsl.akrnoh.ameritech.net) |
16:45.49 | cmonex | hehehe |
16:45.58 | tmzt_mp900c | hey, I started firefox to forward that port and brought back an old session with a bunch of junk |
16:46.02 | tmzt_mp900c | so I am on irrsi |
16:46.18 | tmzt_mp900c | if the irq routing was right for hostap, |
16:46.33 | tmzt_mp900c | it was pretty stable before but its been dropping off |
16:47.36 | tmzt_mp900c | yes, when I bootlinux the hardware mouse cursor stays on the screen |
16:47.48 | tmzt_mp900c | but if I do certain things first it goes away |
16:48.07 | tmzt_mp900c | since I don't calibrate when I am only boot linux, I usually have to alt-tab back and press enter |
16:49.30 | tmzt_mp900c | if you know how to hide it I will add to haret if I detect PXA and OEM NEC |
16:49.37 | tmzt_mp900c | it detects |
16:54.51 | cmonex | heh |
16:54.54 | cmonex | you still there tmzt_mp900c? |
16:54.57 | tmzt_mp900c | yes |
16:55.09 | tmzt_mp900c | that was my desktop |
16:55.59 | *** join/#htc-linux tmzt (n=tmzt@adsl-70-228-87-174.dsl.akrnoh.ameritech.net) |
16:56.52 | tmzt_mp900c | can't turn off the routers ident either |
16:57.15 | tmzt_mp900c | did you get the question about the hardware mouse cursor? |
16:58.42 | tmzt_mp900c | you can try sending those to tmzt if you want to |
16:59.17 | cmonex | yes |
16:59.21 | cmonex | [18:39:11] <tmzt> the bootloadeer is a ce kernel? |
16:59.22 | cmonex | [18:39:54] <tmzt> do you know how to hide the cursor in ce? |
16:59.22 | cmonex | [18:43:12] <cmonex> no |
16:59.22 | cmonex | [18:43:16] <cmonex> the bootloader is bootloader |
16:59.22 | cmonex | [18:43:27] <cmonex> the cursor is easy to hide by using the right gwes.mui file |
16:59.22 | cmonex | [18:43:32] <cmonex> I'm sure I posted it |
16:59.24 | cmonex | [18:43:38] <cmonex> also my rom (the version 2) has it in rom |
16:59.26 | cmonex | [18:43:46] <cmonex> if you mean mouse cursor :P |
16:59.44 | cmonex | i.e. on the version 2 rom you shouldnt have a problem. |
16:59.49 | cmonex | except of course the stupid gapi... |
16:59.56 | tmzt_mp900c | I only need to hide it from haret, but hiding it all the time would be ok |
16:59.57 | cmonex | you could edit haret to not look for gx.dll though |
17:00.09 | cmonex | recompile or just search for gx.dll heh |
17:00.14 | cmonex | in the exe |
17:00.48 | cr2 | hi cmonex |
17:01.03 | tmzt_mp900c | it just looks for the vram to put the launch text? |
17:01.32 | cmonex | hi cr2 |
17:01.34 | tmzt_mp900c | I'm thinking about making haret hide the mouse cursor on mp900c |
17:01.37 | cmonex | why did you want to know about xip? |
17:01.51 | cmonex | tmzt: as i said it is easy to fix the mouse cursor. |
17:02.05 | cr2 | is the nk.exe xip in nor, or is it running from ram ? |
17:02.08 | cmonex | a question, which rom version are you on? |
17:02.14 | cmonex | cr2 : depends |
17:02.21 | cmonex | on hpc2000 and the beta cenet, it is xip in nor |
17:02.26 | cmonex | on final cenet roms it is xip in ram |
17:02.31 | cmonex | why do you ask? |
17:02.40 | cr2 | cmonex: on mp900 |
17:02.52 | cmonex | yes i was talking about that |
17:03.08 | cr2 | because i'd like to see the nk.exe from mp900c for tmzt |
17:03.20 | cr2 | ok, i see it in the log. |
17:03.49 | cr2 | btuart can be traced directly with mmutrace . |
17:04.59 | cmonex | what do you need to know about btuart? |
17:05.10 | cmonex | hmm nk.exe, you need a dump of it or?û |
17:05.12 | cr2 | cmonex: btw, is the MODULE structure layout known for wince2.11 ? |
17:05.35 | cr2 | nothing, tmzt wanted to see the whole btuart data communication. |
17:06.03 | tmzt | no, I was just explaining why I thought pxa27x crashed the machine |
17:06.06 | tmzt | sorry, |
17:06.17 | tmzt | I don't need that btuart trace |
17:06.21 | cr2 | ok |
17:06.32 | cmonex | cr2: lol wince 2.11 |
17:06.36 | cmonex | why do you need 2.11? |
17:06.56 | cmonex | I have no information on the Module struct there but I bet it is very similar, |
17:07.01 | cmonex | dumprom can dump ce 2.11 roms just fine |
17:07.07 | cmonex | aftter you manually add the ECEC header |
17:07.08 | cr2 | cmonex: i have jornada820, but don't have platform builder for 2.11 |
17:07.15 | cmonex | oooo jornada 820 :D |
17:07.19 | cmonex | i dumped the rom of that |
17:07.24 | cr2 | cmonex: there is no ECEC in 2.11 |
17:07.30 | cmonex | no,but dumprom needs ECEC to dump |
17:07.36 | cmonex | so you add it manually after locating romhdr offset |
17:07.40 | cmonex | then dumprom is happy :) |
17:07.43 | cmonex | and dumps the files |
17:08.02 | cr2 | well, how do it find the romhdr offset ? |
17:08.25 | cmonex | with trick heh |
17:08.41 | cmonex | search for stuff like c0 00 00 00 00 ... thats the cpu id in romhdr and almost unique enough |
17:08.45 | cr2 | i wanted to modify the testwm5, but MODULE chain in ROM has different size and some different members. |
17:08.53 | cmonex | oh testwm5 is not needed |
17:08.57 | cmonex | you dump the rom from 0x0 |
17:09.00 | cmonex | then dumprom :) |
17:09.13 | cmonex | the Module struct size always changes from ce version to ce version |
17:09.18 | cr2 | yes, but testwm5 looked easier :) |
17:09.20 | cmonex | ce5 removes a member from start of it |
17:09.27 | cmonex | what a pain in the ass it was until i found out.. |
17:09.37 | cr2 | yeah. |
17:09.41 | cmonex | looked easier.. |
17:09.48 | cmonex | but to be honest testwm5 doesnt even work on cenet |
17:09.51 | cmonex | let alone 2.11 |
17:10.00 | cmonex | even cenet has diffetent Module size |
17:10.01 | cr2 | cmonex: if you have the 820 rom, can you split it into files ? |
17:10.06 | cmonex | yes, i already did |
17:10.09 | cmonex | let me find it |
17:10.14 | cr2 | thanks. |
17:10.31 | cr2 | yes, that's toolhelp.dll is so useful ;) |
17:10.39 | cmonex | heh |
17:10.47 | cmonex | toolhelp is on my site if anyone needs it.. |
17:11.24 | cr2 | ok. |
17:11.55 | cr2 | tmzt: if you'll have the toolhelp.dll, you'll have lsmod and ps (and kill) working. |
17:12.16 | tmzt_mp900c | can I put it in the cwd or \windows then? |
17:12.35 | cr2 | cwd is ok, afair. |
17:12.56 | tmzt_mp900c | hpc*.net? |
17:14.39 | tmzt_mp900c | do you know where on necsite? |
17:17.07 | cmonex | hpcmonex.net, heh |
17:17.13 | cmonex | the izemize page on it |
17:17.24 | cmonex | just drop the dll in root |
17:17.26 | cmonex | \ |
17:18.07 | tmzt_mp900c | arm dlls, got it |
17:18.56 | cmonex | cool |
17:21.05 | *** join/#htc-linux LunohoD (n=alex@e180070225.adsl.alicedsl.de) |
17:21.40 | tmzt | can I put stuff on that doc rom instead of the spreadsheet and stuff without affecting the nor rom? |
17:21.49 | tmzt | (in ce) |
17:23.04 | *** join/#htc-linux smev` (n=smev@S010600215514f029.cg.shawcable.net) |
17:23.36 | cmonex | sure |
17:23.44 | cmonex | they are two different chips physically |
17:23.54 | cmonex | the doc thing is a nand chip |
17:23.58 | cmonex | msystems something |
17:24.03 | tmzt | I don't have the toolhelp its not in arm dlls |
17:24.05 | tmzt | hold on |
17:24.07 | cmonex | er |
17:24.14 | cmonex | there is a separate toolhelp zip on that page |
17:24.25 | cmonex | btw iirc the jllime doesnt handle the DOC yet |
17:24.27 | cmonex | does it? |
17:24.33 | cmonex | it is strange, because we know the address of it |
17:24.38 | cmonex | 0x08000000 |
17:24.43 | tmzt | got it |
17:24.52 | cmonex | (in wince the virtual is 0x88000000/0xA8000000) |
17:25.48 | cmonex | bet it is because it is not entirely standard registers |
17:25.55 | cmonex | at least the msystem datasheets i got, none matches it |
17:26.14 | cmonex | maybe i didnt get the right datasheets...does jlime have it? |
17:26.17 | cmonex | for the msystems doc |
17:27.08 | cr2 | cmang: g3 or g4 ? or g2 ? |
17:27.20 | cr2 | cmonex: hm. g3 or g4 ? or g2 ? |
17:27.35 | cmonex | no idea |
17:27.43 | cmonex | all I know it is millennium 2000 (hope i remember that right) |
17:27.44 | cr2 | how old is the device ? |
17:27.53 | cmonex | was manufactured in 2003-2005 |
17:27.56 | cr2 | yes, it's g2. there is linux driver for it. |
17:28.06 | cmonex | oh |
17:28.19 | cmonex | where? :P |
17:28.22 | cr2 | so it should be supported, once you know the base address and 8/16bit datapath. |
17:28.27 | cmonex | we know the base addr |
17:28.30 | cmonex | 0x08000000 |
17:28.39 | cmonex | i'd guess it is 16bit |
17:28.43 | cmonex | but I'll need to re-check |
17:28.54 | cr2 | mdoc millennium was supported since ages. |
17:29.06 | tmzt | testwm5 still missing components |
17:29.08 | cmonex | to be honest..I get the 16bit idea from similar device :P |
17:29.10 | tmzt | aygshell? |
17:29.28 | cmonex | tmzt: testwm5 will not work on 900c unless you recompile it. module struct changed in ce5/wm5 |
17:29.35 | tmzt | ok |
17:29.38 | cmonex | why do you need it though? |
17:29.47 | cmonex | we have roms and romdumps and official romdumps and everything |
17:29.52 | cmonex | i even posted a kitchen on my site |
17:30.10 | tmzt | not sure what it does, just dumps dlls? |
17:30.26 | cmonex | testwm5 dumps the files from rom |
17:30.37 | cmonex | but as we have romdumps already, testwm5 has nothing to offer |
17:30.43 | cmonex | cr2: i'm finding the j820 rom now |
17:30.50 | cr2 | cmonex: ok. |
17:31.15 | tmzt | lsmod works! |
17:31.25 | cmonex | cool |
17:32.06 | tmzt | http://pastebin.no/13635 |
17:32.40 | cmonex | heh |
17:32.47 | cmonex | this just dumps the loaded dlls? |
17:33.10 | tmzt | ps: http://pastebin.no/13637 |
17:33.10 | cr2 | yes. |
17:33.11 | cmonex | i wrote program for wince that does the same :) |
17:33.14 | cmonex | but i like this |
17:33.32 | cr2 | cmonex: haret is a wince program :) |
17:33.44 | cmonex | yeah, I mean mine doesnt need toolhelp.dll :P |
17:33.46 | cmonex | heh |
17:33.52 | tmzt | http://handhelds.org/~koconnor/haret/ |
17:34.05 | tmzt | for what version? |
17:34.13 | marajin | meh |
17:34.17 | cr2 | cmonex: but then you need to know the MODULE internals. |
17:34.23 | cmonex | cr2: i do |
17:34.34 | cmonex | btw |
17:34.38 | cmonex | cant find where i put the 820 rom |
17:34.52 | cmonex | give me 2 more mins |
17:35.01 | tmzt | usbd is the client? |
17:35.53 | cmonex | good questio |
17:35.54 | cmonex | n |
17:36.00 | cmonex | ok found 820 :) |
17:36.28 | cr2 | 16777216 18. Nov 2006 820us.bin |
17:36.45 | cr2 | after that i've cut the mask rom chips out :) |
17:36.52 | cmonex | er? |
17:36.53 | tmzt | or usbslave.dll? |
17:37.01 | cmonex | hmm, ok, i forgot one thing |
17:37.11 | cmonex | to rewrite decompression method :) |
17:37.18 | cmonex | because apparently it is different for 2.11 |
17:37.29 | cr2 | cmonex: i have german and us version. |
17:37.32 | cmonex | so what dumprom dumps is not fully uncompressed |
17:37.37 | cmonex | I forgot I had plans to fix that |
17:37.48 | cmonex | I dont even have a 820 though.. |
17:38.02 | cr2 | cmonex: the xpr algo is decribed by ms afaik. the lzh is supported for a long time. |
17:38.09 | *** join/#htc-linux Misteri (n=Alex@87.19.180.65) |
17:38.20 | Misteri | salve |
17:38.26 | cr2 | s/lzh/lzx/ |
17:38.38 | cmonex | heh |
17:39.03 | cmonex | well this uses slightly different compression than ce3 or later |
17:39.07 | cr2 | cmonex: and dumprom does not like my amd64. |
17:39.16 | cr2 | ok. |
17:39.23 | cmonex | cr2: oh.. what does it do on amd64? |
17:39.37 | *** part/#htc-linux Misteri (n=Alex@87.19.180.65) |
17:39.47 | cr2 | cmonex: has some pointer problems ;) i need to cuse gcc -m32 |
17:40.10 | cmonex | bleh. |
17:40.22 | tmzt | it be nice if some of this stuff ran on linux, even the perl stuff requires windows dlls |
17:41.07 | cr2 | yes, if the compression code will the written in c/c++, it will be portable. |
17:41.21 | tmzt | I don't know if the source was all there, |
17:41.34 | cr2 | dumprom always worked on x86-32, but the compression was a problem. |
17:41.35 | tmzt | I also was going to port the remaining itsutils to librapi |
17:42.06 | cr2 | tmzt: i've added many hw-related things to haret. |
17:42.33 | cr2 | tmzt: the dumprom.cpp source was there from the very beginning. |
17:42.58 | cr2 | and testwm5, btw. but it has many bugs in the headers. |
17:43.01 | tmzt | ok, I think I tried dumprom, and found information that I should use the perl tools instead |
17:43.10 | cmonex | heh |
17:43.11 | tmzt | but wine rapi doesn't work with synce |
17:43.17 | cmonex | dumprom is good for pre-wm5 anyway.. |
17:43.24 | cr2 | yes. |
17:43.25 | cmonex | because you dont have relocs anyway.. |
17:43.35 | cmonex | on wm5 xip it is less than ideal :( |
17:43.36 | tmzt | I was dumping wm5 though |
17:43.49 | tmzt | (the q) |
17:44.13 | cr2 | cmonex: the most cool wince gadget i have is the cpq aero 8000. |
17:44.13 | tmzt | if that usb mapping is right, and I have the drivers now, I can dump those? |
17:44.22 | tmzt | and start to trace theme |
17:44.24 | cr2 | now if i got haret/dumprom for that :) |
17:44.35 | cmonex | cr2: heh |
17:44.44 | cmonex | i played with one a while ago |
17:44.45 | cmonex | aero 8000 |
17:44.45 | cr2 | cmonex: sh4 cpu ;) |
17:44.50 | cmonex | had no problem with my wifi or bt cards |
17:44.51 | tmzt | thats the small one |
17:44.52 | tmzt | ? |
17:44.59 | cmonex | both had sh4 drivers |
17:45.01 | cmonex | :) |
17:45.03 | cmonex | so i liked the thing :) |
17:45.04 | cr2 | cmonex: drivers ? |
17:45.06 | cr2 | ok. |
17:45.09 | cmonex | yeah |
17:45.09 | tmzt | I think I was going to buy one but it only had one cf |
17:45.22 | cmonex | socketcom was crazy enough to make SH4 ce 2.11 drivers for my bluetooth cf card |
17:45.31 | cmonex | tmzt: it has two cf and a pcmcia slot |
17:45.33 | cr2 | cmonex: there was a linux port in 2000 for aero 8000. |
17:45.37 | cmonex | oh nice |
17:45.38 | tmzt | that's not it then |
17:45.53 | cmonex | tmzt: i have some aero pspc somewhere, maybe thats what you mean :) |
17:45.58 | cmonex | aero 2140 i think, not sure |
17:46.00 | tmzt | this was a tiny device with a clear ce 2.11 Made for Windows CE badge |
17:46.00 | cr2 | but it didn't more further because the pcmcia asic was not RE'd. |
17:46.08 | cmonex | yes, ce 2.11 palmsize pc |
17:46.15 | cmonex | cr2: what a shame |
17:46.21 | cmonex | it is one of the rare devices with three slots.. |
17:46.26 | cmonex | put a big cf in the internal slot |
17:46.31 | cmonex | then put bt in cf and wifi in pcmcia then happy |
17:46.31 | cr2 | tmzt: aero 8000 is a wince notebook with 800x600 LCD. |
17:46.37 | cmonex | (bt in the extenral cf, i mean) |
17:47.06 | cmonex | also it is cool it could use sdram |
17:47.14 | cmonex | so easy to extend the ram |
17:47.16 | cr2 | cmonex: what do you think, is it possible to dump the rom off aero 8000 ? |
17:47.32 | cmonex | well, sure, you just need to know where it resides for SH4 cpus |
17:47.35 | tmzt | patch shlo to do it? |
17:47.40 | cmonex | i made romdumper for sh3 and many mips devices |
17:47.44 | cmonex | for ce 2.11 |
17:47.52 | *** join/#htc-linux marbalon (n=balon@aefx230.neoplus.adsl.tpnet.pl) |
17:47.55 | cmonex | mips sucks, because it is cpu dependent, where the rom is |
17:48.01 | cmonex | sh3 has it at a fixed address |
17:48.04 | cmonex | maybe same for sh4 |
17:48.22 | cr2 | hmm, i can check for the addresses. |
17:48.24 | cmonex | by romdumper i mean physical rom copying |
17:48.31 | cmonex | (run the exe, dumps a 16MB file or whatever) |
17:48.38 | cmonex | ok, if you can look in sh4 datasheet |
17:48.42 | cmonex | I'll recompile the app and send it to you |
17:48.43 | cr2 | hpcboot from netbsd was working on aero 8000. |
17:48.51 | cmonex | just need address for rom |
17:49.00 | cr2 | cmonex: thanks :) |
17:49.03 | cmonex | np :) |
17:49.59 | cmonex | iirc, for sh3 it was at 0xA0000000 (physical addr) |
17:50.22 | cr2 | cmonex: btw, itsutils failed to dump rom on an arm wince device -> |
17:50.55 | cr2 | http://www.handhelds.org/moin/moin.cgi/GoPalP4225 |
17:50.57 | cmonex | which device? |
17:51.19 | cmonex | hmm |
17:51.20 | cmonex | it uses nand? |
17:51.27 | cmonex | pdocread wont work on many PNA's |
17:51.31 | cr2 | nand behind the SD |
17:51.43 | cr2 | no, i used raw disk dump. |
17:51.55 | cr2 | 4Gb(512MB) flash [Samsung K9G4G08UOA] |
17:51.55 | cr2 | <PROTECTED> |
17:52.00 | cmonex | hmm |
17:52.03 | tmzt | wouldn't you find the device name dsk: whatever in registry? |
17:52.06 | cmonex | is that the rom too? |
17:52.10 | cmonex | by rom i mean |
17:52.17 | cmonex | the one where OS and bootloader is stored |
17:52.35 | cr2 | see NAND partitions there: |
17:52.38 | cr2 | size name |
17:52.38 | cr2 | <PROTECTED> |
17:52.39 | cr2 | <PROTECTED> |
17:52.39 | cr2 | <PROTECTED> |
17:52.39 | cr2 | <PROTECTED> |
17:52.39 | cr2 | <PROTECTED> |
17:52.58 | cmonex | DSK1 is the userdisk? |
17:53.03 | cr2 | yes. |
17:53.09 | cr2 | with 4 partitons. |
17:53.09 | cmonex | this atlas cpu.. |
17:53.16 | cmonex | is there any decent datasheet for it? |
17:53.20 | cr2 | no. |
17:53.23 | cmonex | :( |
17:53.26 | cr2 | i've dumped the RAM |
17:53.28 | cmonex | i tried to find it a while ago |
17:53.31 | cmonex | for hp 316 |
17:53.41 | cmonex | but how do you have info on irq etc then? |
17:53.49 | cr2 | but can't pick many dlls from it. testwm5 crashed. |
17:54.03 | cr2 | there was some limited linux patch. |
17:54.13 | cmonex | give me that :) |
17:54.14 | cr2 | for a later sirf cpu. |
17:54.18 | cmonex | I'd like any info possible |
17:54.20 | cmonex | for this atlas |
17:54.22 | cr2 | looking for a link :) |
17:54.25 | cmonex | because i'm interested in the hp 316 |
17:54.26 | cmonex | thanks :) |
17:54.32 | cmonex | and, eh, testwm5 apparently crashes on anything that's not WM5/WM6 :P |
17:54.37 | cr2 | yes, i know. 800x480 LCD is nice. |
17:54.41 | cmonex | :) ys |
17:54.42 | cmonex | yes |
17:54.59 | cmonex | i also was asked to write a nand dumper for another atlas device, |
17:55.12 | cmonex | but it is not like the samsung ones, unfortunately |
17:55.14 | cmonex | not as easy |
17:55.35 | cr2 | it's not a nand, but an "SD card" effectively. |
17:55.43 | cmonex | ah well, i'm only interested in the hp 316 anyway :) |
17:55.49 | cmonex | not in that other PNA |
17:55.50 | cmonex | oh |
17:55.52 | cr2 | because the nand is behind the SD. |
17:55.53 | cr2 | ok. |
17:55.55 | tmzt | sd1.0 is byte addressed? |
17:55.59 | cmonex | even the OS and bootloader is on that SD? |
17:56.00 | cr2 | block. |
17:56.06 | cr2 | yes. |
17:56.14 | cmonex | heh, nice |
17:56.20 | cr2 | there is some magic 256K flash there too. |
17:56.21 | cmonex | so how did itsutils fail? |
17:56.27 | cr2 | i think for the bootloader. |
17:56.31 | cmonex | 256KB? |
17:56.34 | cmonex | i see |
17:56.54 | cr2 | itsutils works, the partition list comes from itsutils |
17:57.05 | cr2 | but you can't do a raw dump :( |
17:57.14 | tmzt | do you have an itsutils dll for it (the arm dll it needs)? |
17:57.36 | cmonex | yeah cr2 |
17:57.39 | cmonex | ive yet to see a PNA |
17:57.41 | tmzt | not everything can be done though rapi |
17:57.45 | cmonex | where you can dump the rom or the disk |
17:57.47 | cmonex | though |
17:57.53 | cmonex | psdread dumped the DOC of the 900c fine |
17:57.58 | cmonex | NOT pdocread, that one freaked out |
17:58.10 | cr2 | cmonex: hmm. that's a good idea. |
17:58.15 | cmonex | yeah worth a try |
17:58.17 | cmonex | :) |
17:58.19 | cr2 | :) |
17:58.30 | cmonex | i fixed the DOC in my 900c once with psdwrite, so it was able to write it too :P |
17:58.42 | cmonex | (after screwing around with too many wince partition utilities) |
17:59.00 | tmzt | so I can backup the factory doc and rewrite it, do you know the filesystem over ftl? |
17:59.18 | cmonex | tmzt: exactly |
17:59.20 | cmonex | if you back it up |
17:59.27 | cmonex | then you can feel free to experiment with it :) |
17:59.46 | cmonex | for example for jlime :) |
17:59.46 | tmzt | I want it to restore the last ts config |
17:59.54 | tmzt | does yours do that? |
17:59.54 | cmonex | what config? |
18:00.00 | tmzt | calibration |
18:00.07 | cmonex | ok now i'm lost.. |
18:00.08 | cr2 | cmonex: http://marc.info/?l=linux-arm-kernel&m=119627244926529&w=2 |
18:00.10 | cmonex | where is this config? |
18:00.12 | tmzt | touchscreen |
18:00.27 | cmonex | cr2: thanks :) |
18:01.01 | cr2 | cmonex: i've added more data in the hh.org wiki table. |
18:01.11 | cmonex | mm, link? |
18:01.29 | cmonex | or you mean the gopal one? |
18:01.30 | tmzt | not sure, I found the mui though |
18:01.45 | cmonex | tmzt: under wince it is in the registry |
18:01.52 | cmonex | i dont know where it is stored in linux |
18:01.54 | tmzt | ceconfig.h, what is that? |
18:01.56 | cr2 | cmonex: the gopal |
18:02.05 | cmonex | ceconfig.h is just a stupid file platform builder puts in the rom |
18:02.18 | cmonex | it lists the platform builder config for that specific rom |
18:02.25 | cmonex | copy it and see |
18:02.25 | tmzt | I had a registry editor for 2003 somewhere |
18:02.31 | cmonex | tmzt: my site also has some reg editors |
18:02.34 | cmonex | phm and tre |
18:02.35 | tmzt | ok |
18:02.36 | cmonex | same izemize page |
18:02.49 | cmonex | but, why do you need the config from there? |
18:03.27 | tmzt | you can run thumb apps on sa? |
18:03.39 | tmzt | linux does a hardreset everytime I reboot |
18:03.53 | tmzt | since it uses the ram as system ram, not storage |
18:03.58 | cmonex | no |
18:04.05 | cmonex | if by sa you mean strongarm |
18:04.14 | tmzt | yes, you had a program to do that, |
18:04.20 | cmonex | ah, i see your idea about the config. |
18:04.26 | cmonex | i have an expermental rom build here |
18:04.32 | cmonex | that stores all wince files in the doc |
18:04.36 | cmonex | (and on cf card) |
18:04.38 | cmonex | and registry too |
18:04.47 | cmonex | no need to recalibrate after removing battery or anything |
18:04.51 | tmzt | ok |
18:04.56 | cmonex | maybe useful for linux folks :) |
18:04.59 | cr2 | cmonex: let me know if you'll dump the '316 rom. |
18:05.00 | tmzt | I haven't flashed it before |
18:05.17 | tmzt | that's that really nice gps, I saw one at compusa? |
18:05.19 | cmonex | cr2: ok.. I dont have a 316, friend has one, so hopefully can experiment on that :) |
18:05.23 | cmonex | if it works out i'll get a 316 myself :) |
18:05.27 | cr2 | :) |
18:05.32 | cmonex | you got one maybe?? |
18:05.33 | cmonex | :) |
18:05.50 | cmonex | tmzt: wait wait |
18:05.54 | cmonex | you NEVER flashed the rom? |
18:05.59 | tmzt | no |
18:06.04 | tmzt | haven't needed to |
18:06.05 | cmonex | what is your current fw version? :O :O |
18:06.10 | cr2 | cmonex: no, only p4225 |
18:06.11 | cmonex | OS and bootloader |
18:06.34 | tmzt | it is ce.net, but I will check the bootloader and read your page a few times before I flash anything |
18:06.46 | tmzt | it is also c model |
18:06.49 | cmonex | tmzt: |
18:06.56 | cmonex | I bet the bootloader is the buggy one |
18:07.02 | cmonex | so say if your OS one day manages to crash |
18:07.05 | tmzt | mp900c-a |
18:07.10 | cmonex | (cosmo0 had that with experimental linux kernel) |
18:07.14 | cmonex | and gets corrupt |
18:07.19 | cmonex | then you'll be stuck |
18:07.20 | tmzt | with doc mtd, I know |
18:07.29 | tmzt | they had the wrong address |
18:07.32 | cmonex | you should get the latest bootloader |
18:07.41 | tmzt | how do I check my bootloader? |
18:07.46 | cmonex | control panel in wince |
18:07.49 | cmonex | firmware info applet |
18:08.05 | cmonex | does it tell you 4.5.1-6 for version? |
18:08.06 | tmzt | 4.5.1-6 |
18:08.09 | tmzt | yes |
18:08.14 | cmonex | wow running a beta linux on that |
18:08.16 | cmonex | not a good idea |
18:08.18 | cmonex | :P |
18:08.25 | tmzt | oh |
18:08.35 | cmonex | http://hpcmonex.net/nec900/download.php |
18:08.42 | cmonex | get the update from there :) |
18:09.13 | cmonex | just select the current OS and bootloader (i guess OS is 1.8.5?) |
18:09.27 | tmzt | how do I check the os |
18:09.47 | tmzt | P530_42.1.8.5 |
18:09.55 | tmzt | P530_42 1.8.5 |
18:09.58 | tmzt | ok |
18:10.41 | cmonex | yeah, that's it |
18:10.46 | tmzt | I want to do just the bootloader first, right? |
18:10.52 | cr2 | "org.synce.odccm" due to security policies |
18:10.57 | cmonex | no |
18:10.59 | cr2 | wtf ? |
18:10.59 | cmonex | this updates OS too |
18:11.05 | tmzt | then I can recover with cf? |
18:11.06 | cmonex | both in one go |
18:11.10 | tmzt | ok |
18:11.13 | cmonex | after that |
18:11.19 | cmonex | you can recover easily even if you have non bootable OS |
18:11.32 | tmzt | cr2: what version os are you running? |
18:11.33 | cmonex | there's an update.exe in that pack |
18:11.41 | cmonex | that loads a bootloader into ram |
18:11.48 | cmonex | all it does is updates the buggy one |
18:11.52 | cr2 | hmm. itsutils need windows :) |
18:11.55 | cmonex | and the OS too, to last official |
18:11.55 | tmzt | I will have to get a windows xp together then |
18:12.07 | tmzt | cr2: the odccm thing |
18:12.12 | *** join/#htc-linux smev (n=smev@S010600215514f029.cg.shawcable.net) |
18:12.12 | cmonex | cr2: what devices do you have |
18:12.20 | cmonex | i know you have 820, aero 8000, this PNA, and ? :) |
18:12.31 | cr2 | cmonex: +many phones. |
18:12.38 | cr2 | htc phones. |
18:12.40 | cmonex | all htc phones? :P |
18:12.41 | cr2 | and a780 |
18:12.46 | cmonex | hmm what is a780? |
18:12.52 | tmzt | cr2: #synce told me to update to synce-hal, but I have fixed that dbus thing before with odccm |
18:12.54 | cr2 | motorola a780 with gps |
18:12.57 | cmonex | oh |
18:13.01 | cmonex | and which htc's? |
18:13.16 | cmonex | if you got athena i might be able to help with some HW info for linux |
18:13.18 | cr2 | cmonex: "genuine" linux phone ,btw :) |
18:13.23 | cmonex | also for universal |
18:13.30 | cmonex | but i guess that one has a nice complete linux port |
18:13.45 | cr2 | hima,ba,uni,athena, hermes and sable |
18:13.51 | tmzt | cr2: does new acx driver work on uni/ba? |
18:13.52 | cmonex | nice list.. |
18:14.01 | cmonex | and you made linux for all of them? |
18:14.14 | cr2 | cmonex: motorola did the port. and alk has written the gps route planner. |
18:14.31 | cmonex | nice |
18:14.33 | cr2 | cmonex: not for all yet, but mostly. |
18:14.41 | cmonex | which ones are neglected? athena? :P |
18:14.52 | cmonex | sable is the hp 6815? |
18:15.15 | cr2 | yes, on athena i need to write the SD driver, and get deeper in the AHI* api. |
18:15.18 | cr2 | 6915 |
18:15.51 | cr2 | yesterday i was looking at the wallaby :) |
18:16.11 | cr2 | and made some big progress. http://wiki.xda-developers.com/index.php?pagename=WallabyMemoryMap |
18:16.25 | cmonex | nice |
18:16.30 | cmonex | I've yet to see a wallaby |
18:16.45 | cmonex | athena should be priority |
18:16.51 | cmonex | the nicest htc device to date |
18:16.55 | cmonex | :P |
18:17.00 | cr2 | yes, a greatest pxa270 notebook. |
18:17.10 | cr2 | shift is not so fun. |
18:17.23 | cmonex | er you got shift? :P |
18:17.27 | cr2 | no. |
18:17.35 | cr2 | i have a normal notebook. |
18:17.42 | cmonex | heh |
18:17.43 | cr2 | x86 sucks. |
18:17.48 | cmonex | shift also has ARM |
18:17.52 | cmonex | did you know.. |
18:17.54 | cmonex | it is a kaiser |
18:17.58 | cmonex | though half the ram and rom :/ |
18:18.01 | cr2 | msm7200 |
18:18.08 | cmonex | yes |
18:18.16 | cr2 | gps too ? |
18:18.19 | cmonex | yes |
18:18.24 | cmonex | HTC disabled it in software |
18:18.29 | cmonex | we found a beta rom that has it though |
18:18.30 | cmonex | so.. |
18:18.35 | cr2 | :) |
18:18.39 | *** join/#htc-linux the_sys0p (n=the_sys0@cpe-76-88-212-37.bak.res.rr.com) |
18:18.39 | cmonex | and also the EC already works |
18:18.45 | cmonex | it sends the gps data to vista too |
18:18.51 | cr2 | ok. |
18:18.56 | cmonex | so gps works on vista too |
18:19.02 | cmonex | or whatever OS you have there, I guess (if it handles EC) |
18:19.12 | cmonex | EC stands for this embedded controller thing |
18:19.16 | cr2 | i see. |
18:19.22 | tmzt | 8051? |
18:19.30 | cmonex | i suspect this causes some problems with power leaks..i'll see soon |
18:19.56 | cmonex | what i mean.. the roms where we put gps on (or had it already), have power leak |
18:20.12 | cmonex | debugging that issue |
18:20.34 | cmonex | anyway.. i also have athena, if you go back to work on it, let me know |
18:20.43 | cmonex | have you got enough info on the SD for example? |
18:21.11 | cr2 | yes, but not the the complete data. |
18:21.26 | cmonex | oh, what is missing? |
18:21.36 | cmonex | i might be able to see if i have info on it |
18:21.46 | cr2 | http://wiki.xda-developers.com/index.php?pagename=ATIWxxxx |
18:22.04 | cr2 | SD is at the bottom. |
18:22.16 | cr2 | i have the datasheets for the rest. |
18:22.20 | cmonex | I see |
18:22.27 | cr2 | even for the epson hdd :) |
18:22.30 | cmonex | ooh |
18:22.34 | cmonex | have you collected the datasheets for athena somewhere? |
18:22.39 | cmonex | I'd like them :) |
18:22.59 | cr2 | http://wiki.xda-developers.com/index.php?pagename=AthenaResearch |
18:23.08 | cmonex | thanks ,) |
18:23.23 | cmonex | so, no datasheet for sd is what youare saying? |
18:23.52 | cr2 | no, it's the ATI chip. |
18:24.52 | tmzt | would you know how to get usb serial to work in ce, I have the jp driver which makes no sense |
18:25.30 | cr2 | cmonex: somewhere in october, probably. i have a vacation soon. |
18:25.38 | cmonex | I see |
18:25.48 | cmonex | i think that time will be good for me too |
18:25.57 | cmonex | i need to do other stuff these days |
18:26.10 | cr2 | ok |
18:27.51 | cmonex | just one question, what do you know about the keyboard? |
18:27.52 | cmonex | on athena |
18:28.40 | cr2 | it's the same as hermes. an spi keyboard like on blueangel, the keycodes are in the wiki. there is a linux driver for it. |
18:29.49 | cmonex | ok :) |
18:30.56 | cr2 | cmonex: psdread syntax ? |
18:31.01 | cr2 | connected the p4225 |
18:31.51 | cr2 | ah. need to remove the 2GB sd card |
18:32.24 | cr2 | remote disk 492MB |
18:32.24 | tmzt | a8700000 | 0d000000 | 1MB section | AP=1 |
18:32.46 | tmzt | where did you find that it is only 8 bytes (the usb thing from earlier) |
18:32.56 | cr2 | tmzt: flash ? |
18:33.18 | tmzt | how do I find out what driver has that mapped? |
18:33.22 | cr2 | tmzt: milennium is supported by mtd. |
18:33.28 | tmzt | no, usb |
18:33.47 | cr2 | tmzt: get the rom, and extract the dlls. |
18:33.54 | cr2 | then you will know. |
18:34.03 | tmzt | are those in that kitchen zip, cmonex? |
18:34.03 | cmonex | so the remote disk |
18:34.06 | cmonex | what disk nr does it haveE? |
18:34.13 | cmonex | psdread -x where x is the number of disk |
18:34.16 | cr2 | cmonex: 1 |
18:34.22 | cmonex | ok then -1 and a filename |
18:34.23 | cr2 | remote disk 1 |
18:34.33 | cmonex | lets hope it works |
18:34.36 | cr2 | to dump the full disk ? |
18:34.39 | cmonex | tmzt: |
18:34.51 | cmonex | the driver has 8 bytes for its use, according to this list i stole from a driver on the 900c |
18:34.55 | cmonex | the 1MB means nothing |
18:35.05 | cmonex | the MMU mapping that sets this up, the granularity for it is 1MB |
18:35.14 | tmzt | I will do that flash when I get a stable xp on a battery backup |
18:35.21 | cr2 | cmonex: dumps some hex to stdout |
18:35.21 | cmonex | (I'm not saying the whole MMU is like that :) but the code that sets this up is like that.) |
18:35.27 | cmonex | cr2: hmm |
18:35.30 | cmonex | you gave a filename? |
18:35.45 | cr2 | ./psdread.exe -1 FOODISK |
18:35.48 | cmonex | right |
18:35.54 | cmonex | help says you need to specify lenght too :P |
18:36.06 | cmonex | like this: |
18:36.06 | cr2 | in sectors ? |
18:36.20 | cmonex | psdread -1 0 0xsize filename |
18:36.25 | cr2 | ok |
18:36.42 | cmonex | tmzt |
18:36.47 | cmonex | let me see the answer to your other q |
18:37.01 | *** join/#htc-linux joshts0 (i=joshts0@cpe-76-186-198-67.tx.res.rr.com) |
18:37.02 | tmzt | which? |
18:37.10 | cr2 | oh, in bytes. |
18:37.43 | joshts0 | ginge; hows it giogn? |
18:38.21 | cr2 | cmonex: hehe. dumps something. |
18:38.23 | tmzt | my question for cr2 before was should I trace this with it connected through the usb client, or should I get the network card working in ce? |
18:38.34 | cmonex | cr2: oh. lets hope valid data |
18:38.43 | cmonex | but thats good start |
18:38.57 | cr2 | 492MB over usb will take some time. |
18:39.00 | cmonex | lol |
18:39.02 | cr2 | yes. |
18:41.00 | tmzt | and can I trace the whole 1MB (unless you know the range), with haret on pxa25x? |
18:43.10 | cr2 | cmonex: NTOC HSFCPPC2K3.NB0 |
18:44.00 | cmonex | what is this nb0? |
18:44.39 | cmonex | tmzt..which network card is that? |
18:44.53 | tmzt | 3cxe589ec |
18:44.56 | cr2 | cmonex: string from dump. |
18:45.10 | tmzt | its an xjack 10mbps version |
18:45.12 | cmonex | oh :P |
18:45.22 | cmonex | why PPC2k3.. |
18:46.04 | cr2 | cmonex: it looks like 2.11 if you'll ask me ;) |
18:46.17 | cr2 | identifies itself as 5.0 |
18:46.32 | cr2 | cmonex: saving $$$ ? |
18:46.51 | cmonex | :O |
18:46.56 | cr2 | SAA7111A, i think i have it already. |
18:47.01 | cmonex | joke eh |
18:47.10 | cmonex | tmzt: 3com, ugh |
18:47.20 | cmonex | I have a few of them |
18:47.27 | cmonex | the last ce version they work on is 2.11 |
18:47.27 | tmzt | I have another one, but the aui won't stay in |
18:47.57 | cmonex | but only on ARM and MIPS, IIRC SH3 had issues |
18:48.04 | cmonex | or maybe MIPS had issues so only ARM and SH3 worked |
18:48.13 | cmonex | wont work on cenet |
18:48.16 | tmzt | I am just not sure if I can trace usb while connected through usb, how much logging it will do, and should I plugin a keyboard or mouse |
18:48.27 | tmzt | ok |
18:48.49 | tmzt | I had my hermes ap working with wep at least, but not wpa |
18:49.07 | tmzt | might try a linksys driver (wpc11) |
18:49.42 | cmonex | heh wpc11 |
18:49.49 | cmonex | you have that card? |
18:50.02 | cmonex | oh wait.. is hermes = orinoco? |
18:50.05 | tmzt | I have wpc11 firmware on it but its an ambicom (not the new g version) |
18:50.08 | tmzt | yes |
18:50.29 | cmonex | wow what a confused card :) |
18:50.35 | cmonex | wpc11 is prism |
18:50.42 | cmonex | unless they have a revision ive not seen |
18:50.53 | tmzt | thought I needed it to get wpa to work in linux, but its all in software |
18:51.01 | cmonex | yeah |
18:51.05 | tmzt | yes, prism, thats what it was on my sl5500 |
18:51.07 | cmonex | the ce software unfortunately only supports wpa for the prism |
18:51.08 | tmzt | not hermes |
18:51.12 | cmonex | not for orinoco |
18:51.16 | tmzt | prism2 |
18:51.18 | cmonex | linux i'm sure has better wpa :) |
18:51.58 | tmzt | I forgot the name of the driver from 2.4, but its prism2_cs compatible |
18:52.38 | tmzt | ambicom wl1100-cf |
18:52.55 | cmonex | i see |
18:56.09 | tmzt | I have the wpc11 v3.0, I get the pri and sta everytime I am in linux, but I forget them |
18:56.39 | tmzt | islp21? |
18:57.35 | tmzt | Windows CE .net (WPA) |
19:01.08 | *** join/#htc-linux BabelO (n=Fabrice@lun34-2-82-238-28-28.fbx.proxad.net) |
19:02.04 | tmzt | prismnds |
19:03.18 | *** join/#htc-linux LunohoD (n=alex@e180070225.adsl.alicedsl.de) |
19:04.05 | tmzt | where do I put the prismnds.dll so that Unidentified PCCard adapter can find it? |
19:04.17 | cmonex | windows is good enough |
19:04.26 | cmonex | my rom would have that sorted heh |
19:04.34 | cmonex | btw islp21 is the linksys wpc11 driver |
19:04.36 | tmzt | full path works, never tried that before! |
19:04.38 | cmonex | maybe you want to try that |
19:04.45 | tmzt | it asks for name |
19:04.57 | cmonex | i see. |
19:05.01 | tmzt | where do I get that, I looked on google and found only used handhelds |
19:05.02 | cmonex | islp21 might work |
19:05.12 | cmonex | it is in the rom |
19:05.14 | tmzt | where do I get that, I looked on google and found only usedhandhelds.com |
19:05.17 | cmonex | IN ROM |
19:05.23 | cmonex | oh wait |
19:05.25 | cmonex | you havent updated yet |
19:05.29 | cmonex | only the latest official rom has that |
19:05.33 | cmonex | (and my custom roms) |
19:05.45 | cmonex | download that rom+bootloader update already ;) |
19:06.16 | *** join/#htc-linux rmoravcik (n=rmoravci@ip-89-102-255-171.karneval.cz) |
19:06.25 | cmonex | btw usedhandhelds took the rom without asking me |
19:06.27 | tmzt | I have an xp and a backup supply I just need to get to it |
19:06.32 | tmzt | oh |
19:06.33 | cmonex | that last official was never released by NEC |
19:06.44 | cmonex | i udmped it from a device that happened to have it (extremely rare, luck.) |
19:06.46 | tmzt | is it in your kitchen zip? |
19:06.48 | cmonex | you dont need xp |
19:06.56 | cmonex | you put the files on a cf card formatted fat32 |
19:06.58 | tmzt | what do I need? |
19:07.07 | cmonex | http://hpcmonex.net/nec900/download.php |
19:07.08 | tmzt | with my bootloader? |
19:07.18 | cmonex | yes. you run the update.exe included in package |
19:07.24 | cmonex | that then loads an update bootloader into ram |
19:07.28 | tmzt | on the ce then, ok |
19:07.29 | cmonex | which takes care of the update |
19:07.33 | cmonex | to proper bootloader, etc :) |
19:07.37 | cmonex | make sure CF is fat32 |
19:07.39 | cmonex | and not fat16 |
19:07.41 | cmonex | er sorry |
19:07.45 | cmonex | fat16, and NOT fat32 |
19:07.51 | cmonex | the bootloader only likes fat16 |
19:07.59 | tmzt | I have on 32mb card for my old z |
19:08.07 | cmonex | that'll be ok if it is fat16. |
19:08.14 | cmonex | hope llinux handles that :) |
19:08.16 | tmzt | mkdos -F 16 works |
19:08.23 | cmonex | ok :) |
19:08.26 | tmzt | yeah, no problem |
19:08.34 | cmonex | guess only ntfs is buggy then |
19:08.47 | cmonex | anyway |
19:08.53 | cmonex | extremely important that you run the update.exe |
19:08.59 | cmonex | and not use any other method to flash these files |
19:09.09 | tmzt | prismnds only supports wpa1 and tkip, I need wpa1 and ccmp |
19:09.15 | cmonex | oh |
19:09.21 | tmzt | right, now that I know that runs on device that will work fine |
19:09.31 | cmonex | ? |
19:09.35 | tmzt | I though it ran on the pc |
19:10.09 | tmzt | should it be in the cf slot or pcmcia? |
19:10.24 | *** join/#htc-linux dcordes (n=dcordes@f048040081.adsl.alicedsl.de) |
19:10.42 | dcordes | hi |
19:10.58 | marajin | dcordes: 'lo |
19:11.16 | dcordes | hi marajin did you see my question about the keyboarD? |
19:11.25 | marajin | nope |
19:12.56 | dcordes | I made a new initrd to replace the current one in bootkit. everytime I boot into it, I get the [B keyboard problem |
19:13.17 | marajin | hmm |
19:13.22 | dcordes | maybe you can try it? http://linuxtogo.org/~lgorris/angstrom-new.bin |
19:15.45 | *** join/#htc-linux LunohoD (n=alex@e180070225.adsl.alicedsl.de) |
19:16.01 | tmzt | does it need to be a raw fat16 on the device or can it be partition? |
19:18.33 | cr2 | BabelO: GpsTmc-API 4.0.11.1 ? |
19:19.15 | BabelO | hi |
19:19.18 | BabelO | cr2: where :) |
19:19.47 | cr2 | p4225 |
19:21.16 | BabelO | cr2: i ve tried the garmin nuvi driver for fm radio.... but nothing |
19:21.31 | cr2 | hmm. |
19:22.00 | *** join/#htc-linux diogene31 (n=rj@mur31-2-82-243-122-54.fbx.proxad.net) |
19:23.59 | *** join/#htc-linux marbalon (n=balon@aefx230.neoplus.adsl.tpnet.pl) |
19:24.04 | BabelO | cr2: i did not see the device on ic bus... and according to driver it must be at 0x11 or 0x63 |
19:25.42 | cr2 | BabelO: the datasheet has the same ids ? |
19:26.13 | BabelO | cr2: no, it say 0x10 |
19:28.11 | BabelO | cr2: but before, i reammy like to get the battery working :( |
19:28.12 | marbalon | dcordes: hi |
19:30.20 | marbalon | dcordes: what are you working on ? |
19:31.23 | marajin | dcordes: I will do |
19:35.59 | marajin | dcordes: yep I get the [B |
19:36.26 | dcordes | marajin: hey there! long time no see. I'm fixing to get a new initrd for the bootkit |
19:36.42 | dcordes | marajin: ouh that sucks. Any clue what to try? |
19:37.01 | dcordes | marbalon: the first messages was for you. damn auto completion |
19:37.04 | marajin | dcordes: Iunno, last time I fixed it by changing the zImage |
19:37.26 | dcordes | marbalon: ginge is working on porting your kaiser keybaord driver to titan |
19:37.32 | dcordes | maybe you can help |
19:37.55 | cr2 | BabelO: how do i mount the raw disk ? |
19:38.45 | BabelO | cr2: raw disk ? |
19:39.04 | cr2 | with partitions. |
19:39.06 | marbalon | dcordes: if I can i will help him |
19:39.35 | dcordes | I don't know if he put the source somewhere |
19:39.39 | BabelO | cr2: ah, you have image of it ? |
19:39.44 | marbalon | dcordes: what is the problem with new initrd ? restart after ~30s ? |
19:39.48 | cr2 | BabelO: yes :) |
19:40.01 | BabelO | cr2: use losetup command |
19:40.02 | marajin | marbalon: Nah we have a bug with the keyboard |
19:40.08 | marajin | marbalon: Every key produces [B |
19:41.04 | marbalon | marajin: yes sometimes it happend but I don't have this problem for a long time :( |
19:41.19 | cr2 | BabelO: syntax ? |
19:41.21 | marajin | marbalon: Well we do nowadays. I've seen it a coupla times |
19:43.09 | cr2 | losetup /dev/loop0 DISK1 |
19:43.29 | dcordes | marajin: something must have changed in the kernel |
19:44.04 | marajin | dcordes: IIRC sometimes replacing the kernel with the /same/ kernel can fix it... |
19:44.43 | dcordes | yea I remember. tried that |
19:44.58 | marajin | it's a bit worrying though |
19:45.03 | marajin | how can that even be explained? |
19:45.30 | dcordes | blackmagick |
19:46.09 | marajin | yeah but it would imply something's getting corrupted or something and it shouldn't be POSSIBLE |
19:47.04 | dcordes | since marbalon put the last changes, I think nothing has changed with the keybaord driver |
19:47.09 | cr2 | BabelO: http://pastebin.no/13651 |
19:47.24 | dcordes | marajin: probably it is parts of the calibration thing, ginge exerpimented with |
19:47.32 | dcordes | which went into git |
19:47.50 | ginge | dcordes: you put my calibration test code into git??? |
19:48.08 | ginge | weeps |
19:48.13 | marajin | Well it's hard to test being very intermittant |
19:48.36 | dcordes | ginge: no it does nothing when you press the cam button. I just wonder if there are some remains in the gpio code or so? |
19:48.39 | marbalon | marajin: did you try to push a camera button when this problem happend ? |
19:49.14 | ginge | dcordes: not sure what you mean |
19:49.33 | dcordes | ginge: was that all only in board-kaiser-keypad.c? |
19:49.59 | dcordes | now it works! |
19:50.06 | ginge | all I did in my code was to add the bit flags for the touchscreen |
19:50.13 | ginge | and set a global |
19:53.17 | dcordes | marajin: can you try what marbalon says? |
19:53.19 | dcordes | it seems to work for me |
19:54.34 | marajin | marbalon: Nope |
19:54.40 | marajin | marbalon: It does it immediately from boot |
19:54.55 | marajin | marbalon: Besides, camera button ..produces / ? |
19:55.06 | dcordes | no \ no? |
19:55.11 | ginge | marajin: dont forget it is 2 stage button |
19:55.26 | dcordes | when I press the second stage it does nothing |
19:56.09 | marbalon | dcordes: what is the problem with initrd ? |
19:56.34 | ginge | dcordes: its mapped to send the key KEY_CAMERA |
19:56.34 | dcordes | marbalon: I think it's not filesystem specific |
19:56.41 | marajin | Oh you're nt going to believe this |
19:56.48 | marajin | my keyboard works now on the 2nd boot |
19:56.50 | dcordes | *_* |
19:56.53 | marajin | I haven't replaced any files |
19:56.55 | dcordes | ya same here |
19:57.04 | dcordes | I bet it is some gpio state on boottime. |
19:57.11 | dcordes | that confuses the driver |
19:57.18 | marajin | could be. I rebooted the device |
19:57.24 | BabelO | cr2: strange, i already do like that :( maybe you have to fsck loop0, don't know |
19:57.29 | marajin | My hermes slide sensor broke too |
19:57.29 | dcordes | marbalon: sometimes the keyboard does just produce [B with every key in angstrom. |
19:57.37 | marajin | it doesn't rotate/keys don't work right when I slide |
19:57.39 | BabelO | cr2: it look like a special drive |
19:58.09 | marajin | ..and now for no reason mykaiser keyboard producesnothing :P |
19:58.20 | dcordes | marajin: can you poke around a bit in the initrd? |
19:58.38 | marajin | aaand now it produce normal keypresses again O.o |
19:58.47 | marajin | you've borked the keyboard! |
19:58.51 | ginge | sometime using the scrool wheel brings it back |
19:59.15 | marbalon | dcordes: yes I know and marajin have right, its depend on gpio state at boot time i think too... |
19:59.18 | marajin | yeah it went again and scroll up fixed it O.o |
19:59.36 | ginge | for some reason the gpio to irq isnt triggered |
19:59.47 | ginge | you have to scroll which calls the sync routines |
20:00.01 | dcordes | scroll what? |
20:00.07 | dcordes | jog wheel? |
20:00.11 | ginge | the yarp |
20:01.44 | dcordes | ginge: wtf is a yarp? blueangel build is broken in OE |
20:01.59 | cr2 | 119600 |
20:02.31 | cr2 | <PROTECTED> |
20:02.41 | ginge | lol. the jog has its own irq pair which calls the keyboard routine, presumably its when the gpios are pulled low that it starts working |
20:02.45 | dcordes | Now I also had the problem that the keys did nothing and scrolled the jog wheel to fix it. |
20:03.22 | marajin | sighs and wonders what he did to his hermes =/ |
20:03.24 | ginge | so to fix a gpio state reset in init should fix it |
20:03.52 | dcordes | what you mean, reset? |
20:04.06 | ginge | pull them all low |
20:04.32 | BabelO | cr2: don't know, you dump it with dd i suppose ? |
20:04.37 | dcordes | ginge: in the board init? |
20:05.08 | BabelO | cr2: you can start at given offset with option -o |
20:05.22 | tmzt | cmonex: I have finished the upgrade |
20:05.48 | ginge | dcordes: in the keyboard init |
20:06.26 | tmzt | can I upgrade to yours from the bootloader? |
20:07.54 | ginge | dcordes: in kaiser_kbd_open I would imagine. loop through gpio_set_value (row_gpio[i], 0) might sort it |
20:08.44 | dcordes | rrright :D |
20:08.45 | cmonex | tmzt: not to the version 2.0 |
20:08.47 | cmonex | read the readme |
20:08.53 | cmonex | it uses a specialized update.exe package |
20:09.02 | tmzt | ok |
20:09.03 | cmonex | version 1.0 is fine from bootloader |
20:09.15 | cmonex | but.. dont forget haret hates gapi :P |
20:09.22 | cmonex | which is in rom in these.. |
20:09.31 | cr2 | BabelO: MSWIN4.1 |
20:09.33 | cmonex | you can edit (or recompile?) haret to not lokok for gx.dll |
20:09.35 | cmonex | then problem is fixed |
20:09.43 | cmonex | make it look for gy.dll or whatever. 1 sec edit |
20:09.52 | cmonex | lokok = look |
20:10.24 | cmonex | or other way, drop a gx.dll file (but it is an invalid file.. say a 0 byte text file named gx.dll) in where haret is. that should also work |
20:10.26 | tmzt | I could just use isl driver, is that in kitchen? |
20:10.41 | ginge | dcordes: like this: http://pastebin.com/m3d11209b |
20:10.41 | cmonex | well the above is easy enough |
20:10.48 | tmzt | cr2: does haret only use gapi for vram? |
20:10.50 | cmonex | the isl driver needs relocs recreated IIRC |
20:11.06 | cmonex | above solution should be easy though :P |
20:11.15 | ginge | dcordes: section labelled set all gpios low |
20:11.36 | cr2 | tmzt: hmm. gapi should be the last resort. looks like a haret bug. |
20:11.54 | tmzt | for 2.01? |
20:12.36 | dcordes | ginge: cool I will try this |
20:12.48 | tmzt | there are different drivers the movie player (??) not only gapi |
20:12.53 | ginge | dcordes: might not even compile... |
20:13.32 | tmzt | the one whose name I can never remember |
20:15.35 | tmzt | is ce.net wordpad the only one that does txt? |
20:15.41 | tmzt | I need that |
20:16.09 | cr2 | cmonex: what is SYSTEM HV and DEFAULT MKY ? |
20:16.14 | dcordes | ginge: 565: error: âflagsâ undeclared (first use in this function) |
20:16.46 | ginge | dcordes: unsigned long flags; |
20:18.36 | marbalon | ginge: hmm, if this problem is related to jog wheel you should set gpio 18,19 to low i think |
20:19.33 | marbalon | ginge: try to add this two gpios too |
20:19.39 | ginge | marbalon: I dont think it is the touchscreen, just the the handler for the job irqs is the same func as the kb handler |
20:19.49 | ginge | s/touchscreen/jobwheel/ |
20:20.03 | ginge | but yes, good idea |
20:21.01 | ginge | dcordes: add two extra lines in that init: gpio_set_value (18, 0); gpio_set_value (19, 0); before the spin unlock |
20:21.21 | dcordes | ginge: I didn't get the previous thing. |
20:21.49 | ginge | the flags? paste that line at the top of the function |
20:22.06 | dcordes | oh ok |
20:23.20 | dcordes | ok builds |
20:23.30 | *** join/#htc-linux skodde (n=skodde@unaffiliated/skodde) |
20:23.44 | cmonex | cr2: |
20:23.51 | cmonex | system.hv is where? on your PNA? |
20:24.01 | cmonex | it saves the hive based registry in that file |
20:24.10 | cmonex | mky, no idea, 900c has it too |
20:24.34 | cmonex | and wordpad, nah, loads of apps do txt |
20:26.06 | tmzt | your readme said it was removed from you rom, that's all |
20:26.16 | tmzt | I need to edit default.txt for haret |
20:26.25 | tmzt | I am upgrading |
20:26.37 | dcordes | ginge: ok that also worked with the extra lines |
20:26.42 | cmonex | dont worry.. |
20:26.45 | cmonex | pocketword is in its place |
20:26.47 | cr2 | cmonex: ok. |
20:26.48 | cmonex | can edit txt same way |
20:26.55 | cmonex | you ucan always get the wordpad from my site |
20:26.58 | cmonex | from cenet viewers package |
20:27.11 | cmonex | it turned out later that the pocketword doesnt do printing |
20:27.14 | cmonex | it does on hpc2000 |
20:27.15 | tmzt | I can recover with XIP.BIN on cf, but don't put SABOOT on there so that it doesn't write the bootloader, if I need to, right? |
20:27.19 | cmonex | something is broken on cenet |
20:27.21 | cmonex | wordpad can print |
20:27.26 | cmonex | so maybe you want that :P |
20:27.36 | cmonex | and yeah, you should only use XIP.BIN |
20:27.42 | tmzt | no windows networking support anyway, net use doesn't work |
20:27.47 | cmonex | heh |
20:27.47 | tmzt | ok |
20:27.51 | cmonex | i mainly meant USB printer |
20:27.53 | cmonex | :P |
20:28.01 | cmonex | not that i use mine for printing but it worked when i tried |
20:28.06 | cr2 | cmonex: binfs partition ? type 0x21 . starts with ECEC wince kernel. case for dumprom ? |
20:28.10 | cmonex | (with wordpad) |
20:28.20 | cmonex | cr2: binfs is just xip with demand loading |
20:28.23 | cmonex | so dumprom yes |
20:28.29 | cmonex | just missing relocs :P |
20:28.35 | cmonex | only WM has the relocs sadly. |
20:28.41 | cmonex | (.reloc PE section) |
20:28.51 | tmzt | ce 5 would require pb to work on mp900c, right? |
20:29.00 | cmonex | tmzt: also would require a bsp |
20:29.17 | cmonex | one day i'll get around to it |
20:29.23 | cmonex | the linux drivers might give hints :) |
20:29.26 | tmzt | nice logo |
20:29.30 | cmonex | heh |
20:29.58 | cmonex | brb |
20:30.03 | tmzt | ok |
20:30.45 | dcordes | tmzt: btw, do your patches to kaiser's tsc2003.c interfer with the way ts works in android? |
20:31.16 | tmzt | probably |
20:31.25 | *** join/#htc-linux kiozen (n=oeichler@rgnb-5d8656da.pool.einsundeins.de) |
20:31.26 | tmzt | it wants the screen coords like qemu gives it |
20:31.51 | tmzt | I was thinking of a way around that, and how to make osk work on every device too |
20:32.01 | tmzt | but only in fbcon |
20:32.33 | tmzt | I think we can create multiple input devices, which android will use the first one |
20:32.42 | cr2 | cmonex: wow |
20:33.00 | tmzt | that scroll wheel should be on gpio keys though, right? |
20:33.07 | tmzt | and its own event? |
20:33.28 | dcordes | not sure how scroll wheel works |
20:33.59 | cr2 | BabelO: GPS_TURBORUN_FLAG, GPS_SECRETJOB_FLAG :) |
20:34.40 | cr2 | $PPLM* |
20:34.47 | cr2 | who is PLM ? |
20:35.07 | ginge | dcordes: tmzt scroll wheel on kaiser is on 2 gpios with gpio irq |
20:35.28 | tmzt | but is it in keyboard driver or gpio-keys? |
20:35.39 | ginge | tmzt: keyboard driver |
20:35.47 | tmzt | that was the problem? |
20:35.59 | tmzt | we need the Fn and Shift in userspace and kernel keymap for loadkeys |
20:36.06 | tmzt | to switch vts |
20:36.12 | BabelO | cr2: i don't like the secret job flag.. |
20:36.18 | dcordes | yea that would be ace to switch vts.. |
20:36.38 | cr2 | BabelO: GBC: Secrect job status:%d |
20:36.41 | tmzt | can't input leds be used for the Fn and Shift leds |
20:36.43 | dcordes | the benefit of a keyboard on mobile device gets questionable when you have to rely on X stability :) |
20:36.53 | cr2 | BabelO: Try to initiliaze Gyro |
20:36.57 | tmzt | if they are exported as standard leds |
20:37.17 | *** join/#htc-linux LanceHaig (n=LanceHai@foresight/member/lhaig) |
20:37.18 | ginge | tmzt: shift is reported |
20:37.42 | tmzt | we need Ctrl Alt Fx for X to switch vts |
20:37.50 | cr2 | BabelO: speed sensor ?? |
20:38.12 | tmzt | if win is ctrl, and camera is alt, then fn+a..fn+k can be F1 through F8 |
20:38.15 | ginge | cant you remap them in userspace? |
20:38.24 | cr2 | BabelO: some really weird nmea sentences there. never seen such things before. |
20:38.24 | BabelO | cr2: that s strange to have a speed sensor with a gps device |
20:38.25 | tmzt | not if there is no keycode |
20:38.42 | ginge | shift generates right shift |
20:38.47 | cr2 | BabelO: dead reckoning |
20:38.47 | BabelO | cr2: maybe the nmea rds sentence for tmc ? |
20:38.51 | dcordes | would it be possible to edit the keys Xfbdev is looking at to change vt? |
20:38.57 | tmzt | fn is altgr on akita |
20:39.30 | dcordes | in that case we could just put the _full_ camera press to change vt |
20:39.32 | tmzt | dcordes: did we get a keycode for shift? |
20:39.46 | dcordes | no. because it is in the driver. also ctrl and fn |
20:39.56 | tmzt | X doesn't like the alt-left alt-right, it wants ctrl-alt-f1 |
20:40.04 | cr2 | BabelO: \ResidentFlash\%dday\BRDC.bin |
20:40.18 | tmzt | we want to take it out of driver and make it a standard shift with led |
20:40.19 | ginge | okay so you need some more input reports in the keyboard driver for the modifers |
20:40.41 | cr2 | BabelO: maybe it's NMEA3.0 |
20:40.47 | tmzt | we could also trace the bluetooth, at least to get the hci working |
20:41.09 | tmzt | we can the put a terminal on rfcomm0, rfcomm1, etc. |
20:41.09 | cr2 | BabelO: and a lot of private PLM sentences |
20:42.05 | dcordes | tmzt: ginge: what's the preferred way of doing it? |
20:42.34 | ginge | keyboard.c line 314 |
20:42.34 | dcordes | I remember pH5 saying the modifier functions in the kaiser keyboard driver rather belong into userspace when marbalon did them |
20:42.41 | *** join/#htc-linux Maxro (n=maxro@p54873E9D.dip.t-dialin.net) |
20:42.49 | ginge | dcordes: quite |
20:42.50 | dcordes | thinks about mainline |
20:43.08 | ginge | it needs a bit of a cleanup, but on the wholes it is ok |
20:43.18 | cr2 | BabelO: http://www.gpspassion.com/FORUMSEN/topic.asp?TOPIC_ID=90605&whichpage=4 |
20:43.47 | Maxro | hello |
20:44.22 | ginge | Maxro: hi |
20:44.37 | kiozen | hi |
20:44.43 | BabelO | hi kiozen |
20:44.54 | kiozen | cr2: what device are you decoding? |
20:44.57 | BabelO | cr2: ok, it is to activate wince on your gps |
20:46.04 | cr2 | BabelO: already knew how to do it. |
20:46.24 | cr2 | kiozen: http://www.handhelds.org/moin/moin.cgi/GoPalP4225 |
20:46.28 | dcordes | ginge: lol in wince when I write an sms, space gets appeneded after the letter it shouold be in front off |
20:46.31 | dcordes | of |
20:46.37 | cr2 | kiozen: do you have new ssp traces ? |
20:46.42 | ginge | dcordes: bizarre |
20:47.07 | Maxro | hi guys .. i found your irc Chanel in the xda-developers Forum.. |
20:47.10 | ginge | dcordes: to handle kb properly you need to change the queueworker to report all keys instead of just regular keys |
20:48.14 | cr2 | BabelO: FM MX9080ZC |
20:48.20 | Maxro | i want to know if i could get Linux working on an HTC Prophet .. is there any ability ?! |
20:48.36 | BabelO | cr2: so we have not the same chipset |
20:48.37 | cr2 | BabelO: who can be MX ? google does not provide anything useful |
20:48.38 | kiozen | cr2: no, did you request some? |
20:48.50 | kiozen | cr2: it's that mediao |
20:48.53 | kiozen | oops |
20:49.03 | kiozen | it's that medion device? |
20:49.07 | cr2 | kiozen: we need to identify the commands sent to tsc2046 |
20:50.19 | cr2 | kiozen: yes. they down-convert the gps signal with SE4110L module, and use DSP to soft-process it. |
20:50.20 | BabelO | cr2: maybe still motorola |
20:50.33 | kiozen | ok, I can do tomorow, what do you want me to trace in detail |
20:51.28 | cr2 | kiozen: the ssp exchanges while charging. the 7280/7200 sequence you have logged before. with the CPLD6 bits. |
20:52.41 | cr2 | kiozen: PLM for nmea, does it tell you something ? |
20:53.07 | kiozen | no haven't seen PLM sofar |
20:53.09 | cr2 | kiozen: GRM is obvious, SRF - too. |
20:53.21 | cr2 | ok. |
20:53.48 | cr2 | i have many $PPLM* sentences here. |
20:53.58 | Maxro | could anyone give me some support ?! |
20:55.05 | cr2 | Maxro: prophet is like wizard ? |
20:55.13 | cr2 | Maxro: ask #linwizard |
20:55.42 | Maxro | okay thanks :) |
20:55.47 | cr2 | BabelO: hehe. gyro driver vgd.dll |
20:56.18 | kiozen | cr2: that was this mmutrace stuff, right? |
20:57.19 | kiozen | like: |
20:57.36 | kiozen | addlist mmutrace p2v(0x41000010) 0xff |
20:58.06 | cr2 | kiozen: yes. |
20:58.17 | dcordes | Maxro: linwizard kernel booted fine on prophet and fb also worked last time I tried |
20:58.18 | cr2 | kiozen: and the CPLD6 |
20:58.47 | kiozen | you mean at 0x1000000c |
20:59.06 | Maxro | yes its booting fine .. but i dont know how to enter "root" as login alias |
20:59.25 | kiozen | cr2: ok, I will do that in the morninig |
21:01.06 | Maxro | ahh .. i think .. i checked how to do .. :) |
21:01.22 | cr2 | kiozen: ok. |
21:04.17 | Maxro | hmm .. did i need a windows system to contact the pda with telnet ? |
21:06.28 | dcordes | Maxro: you might wanna ask #liwnizard how you can setup usbnet to be present on bootup so you can ssh in and try things |
21:06.58 | dcordes | no windows needed I think |
21:07.26 | Maxro | thanks guy |
21:07.40 | *** part/#htc-linux Maxro (n=maxro@p54873E9D.dip.t-dialin.net) |
21:07.59 | dcordes | ginge: the problem doesn't appear anymore |
21:08.17 | ginge | dcordes: good news |
21:10.13 | BabelO | cr2: this mmc make me crazy on omap, i can't find what s wrong... |
21:11.03 | cr2 | BabelO: you have the spl :) |
21:12.12 | BabelO | cr2: yes, but my problem is the suspend resume stuff in linux kernel, it seem that once going to suspen, something still try to write to mmc :( |
21:16.33 | dcordes | ginge: blueangel build now fixed, carrying on |
21:26.09 | tmzt | serial usb works? |
21:26.16 | tmzt | on mp900c |
21:26.27 | tmzt | in ce |
21:38.13 | dcordes | mickeyl: ping |
21:38.21 | mickeyl | pong |
21:38.50 | dcordes | mickeyl: can you help with tslib not working in Xfbdev on kaiseR? |
21:39.28 | dcordes | mickeyl: you probably came across http://bugs.openembedded.net/show_bug.cgi?id=4448 |
21:39.35 | mickeyl | ya, seen it |
21:39.42 | mickeyl | but i have no experience with tslib |
21:39.51 | mickeyl | first I wonder why you have to patch it |
21:39.57 | mickeyl | because all kinds of devices seem to work fine with evdev |
21:40.41 | mickeyl | besides this, the question is whether ts_draw works fine? |
21:41.05 | mickeyl | also, did you check whether your X-build actually links against against tslib and opens the respective evdev? |
21:42.11 | dcordes | mickeyl: didn't try ts_draw. I thought Xfbdev would not mind the TSLIB_* env vars |
21:42.20 | dcordes | mickeyl: it must get some data because of the errors |
21:42.54 | mickeyl | ok, at first you need to make 100% sure that tslib is working fine. do this by checking the tslib example programs |
21:43.21 | mickeyl | after that, I'd advise checking what I said (does it link against tslib at all and is using it to parse data) |
21:43.32 | dcordes | mickeyl: ok booting now to try ts_draw. ts_test and ts_calibrate work just fine |
21:46.36 | dcordes | mickeyl: ts_draw is not in my image. looks like it doesn't come with tslib-tests |
21:48.06 | mickeyl | install tslib-utils |
21:48.27 | dcordes | ok |
21:49.22 | tmzt | most of the patches to tslib in the oe we are using are from moko |
21:49.48 | tmzt | and the Xfbdev appears to be looking for hal for some reason |
21:50.11 | mickeyl | ya, but that should not interfer |
21:50.25 | mickeyl | as a first check I'd spice up ts_read with some debug output in kdrive |
21:50.33 | mickeyl | then you actually know what comes in and goes out |
21:50.37 | mickeyl | and whether that code is active or not |
21:50.45 | tmzt | event does not show up in the straces of Xfbdev |
21:51.35 | tmzt | we hadn't tried debugging in xorg, but we have added them to tslib when we were debugging the kernel driver |
21:52.21 | mickeyl | ok, well if you're 100% sure the tslib part is correct, then next step is patching hw/kdrive/linux/tslib.c |
21:52.24 | *** join/#htc-linux ptl (n=patola@201.82.18.155) |
21:52.40 | *** join/#htc-linux Othello_ (i=Magorium@gateway/tor/x-216ab0e28fb9bafd) |
21:52.55 | tmzt | I was going to ask about your camera driver but I didn't get the chance |
21:53.21 | mickeyl | Openmoko has no camera in a device yet |
21:53.24 | tmzt | ptl: |
21:53.35 | mickeyl | ah, wasn't meant for me |
21:53.37 | tmzt | sorry, I meant ptl: ... |
21:53.40 | tmzt | yes |
21:54.00 | dcordes | mickeyl: NoProvider: tslib-utils |
21:54.17 | mickeyl | dcordes: it's another package getting emitted by the tslib build |
21:54.22 | mickeyl | it's not a seperate recipe |
21:55.51 | mickeyl | hmm |
21:56.07 | mickeyl | perhaps it was ts_test which i was referring to |
21:56.10 | tmzt | its just ts_calibrate, ts_test, ts_harvest, etc. ? |
21:56.14 | mickeyl | the tslib test where you can actually draw stuff |
21:56.17 | mickeyl | did you check with that? |
21:56.23 | mickeyl | like drawing lines and stuff |
21:56.40 | tmzt | ts_draw? |
21:56.45 | mickeyl | i thought it was called that way |
21:56.52 | mickeyl | but perhaps not |
21:56.52 | dcordes | mickeyl: that is ts_test where you can drag a crosshair and draw. |
21:56.56 | mickeyl | ah, right |
21:56.58 | mickeyl | so this works fine? |
21:57.02 | dcordes | yes |
21:57.07 | mickeyl | ok, then we can forget about tslib. seems correct then. |
21:57.11 | dcordes | ok |
21:57.16 | mickeyl | next step: hw/kdrive/tslib.c |
21:57.16 | tmzt | finally! |
21:57.23 | mickeyl | patch TsRead to print something |
21:57.27 | ptl | tmzt: yes? |
21:57.35 | tmzt | I was going to ask about your camera driver but I didn't get the chance |
21:57.42 | mickeyl | if that doesn't work, we need to follow the input device instanciation logic in x |
21:58.35 | dcordes | mickeyl: ok fear I have no clue how to do both. but did you see the error messages Xfbdev spits when I tap the screen? |
21:58.40 | dcordes | they are in the bug |
21:59.00 | tmzt | we dont't get the /dev/input/event0 in strace at all |
21:59.34 | tmzt | dcordes: can you add a current strace to that bug? |
21:59.46 | dcordes | tmzt: be not to sure on that one. sometimes Xfbdev does not spit the "Invalid update: 0 0 25 255 2 blabla" errors when I touch |
22:00.01 | dcordes | I will try and get an strace where I'm sure I had those errors. |
22:00.48 | mickeyl | ok, two more things |
22:00.49 | tmzt | what is grab_events for? |
22:00.56 | mickeyl | a) /etc/pointercal exists? |
22:01.15 | dcordes | mickeyl: yes, it is in the bug |
22:01.29 | mickeyl | b) did you try linking /dev/input/touchscreen0 to the actual tslib input device? |
22:01.37 | mickeyl | usually udev should handle that for you |
22:01.38 | dcordes | no will do |
22:01.41 | mickeyl | but perhaps it's broken |
22:02.19 | tmzt | we use the TSLIB_TSDEVICE env |
22:02.43 | dcordes | mickeyl: no that you're around and kaiser is booted in front of me, what was that AT command again? |
22:02.50 | mickeyl | AT+CLAC |
22:03.02 | mickeyl | and |
22:03.04 | mickeyl | AT+MUX=? |
22:03.17 | dcordes | ok will try both |
22:03.20 | mickeyl | cool |
22:04.14 | mickeyl | next step would be to patch tslib.c with some debug output. you can do this e.g. by calling bitbake -c devshell -b <bbfile> |
22:04.17 | mickeyl | then edit tslib.c |
22:04.19 | mickeyl | then run make |
22:04.23 | mickeyl | and copy the new binary over to your device |
22:04.27 | mickeyl | very convenient way |
22:04.45 | dcordes | no clue what I would want to edit |
22:05.02 | tmzt | is the debugging from earlier still in there? |
22:05.08 | mickeyl | dcordes: tslib.c |
22:05.22 | mickeyl | hw/kdrive/linux/tslib.c |
22:05.29 | tmzt | ok |
22:05.47 | mickeyl | there you have e.g. TsRead |
22:05.52 | mickeyl | which gets the data from the input node |
22:05.54 | mickeyl | feeds it to tslib |
22:06.00 | mickeyl | and feeds it back into the X server input system |
22:06.12 | dcordes | mickeyl: when I run hexdump /dev/input/touchscreen0, it seems to output the same data as event0 |
22:06.36 | mickeyl | ya |
22:06.40 | mickeyl | it's the same device node |
22:06.42 | mickeyl | so this is expected |
22:06.48 | mickeyl | [if you just linked to it] |
22:06.57 | dcordes | no I didn't link. that's the normal state |
22:06.58 | mickeyl | xkdrive is looking for this input device node |
22:06.59 | mickeyl | see tslib.c |
22:07.02 | mickeyl | oh |
22:07.05 | mickeyl | it's already linked |
22:07.09 | mickeyl | good, then udev works for you |
22:07.13 | dcordes | ok |
22:07.24 | dcordes | I will try and get the strace now |
22:07.27 | mickeyl | still you have to find out whether TsRead is actually used to parse the data |
22:07.32 | mickeyl | and you can only do that by patching X |
22:07.39 | mickeyl | spicing it up with some printf |
22:07.45 | tmzt | you have shift-camera as pipe right? |
22:07.47 | mickeyl | or using gdb |
22:07.57 | mickeyl | but that's more complicated |
22:08.06 | nighthawk08 | tmzt: do you know how can I create a log file in the boot process? |
22:08.14 | dcordes | tmzt: yes. |
22:09.04 | tmzt | nighthawk08: you'll need to ask cr2 about haret |
22:09.58 | tmzt | should have checked for that symlink in the strace, then I would have known it had the fd open and done the debugging code |
22:10.24 | nighthawk08 | cr2: I am using haret to boot with angstrom version,. I've downloaded the latest 0.51 and it creates a log file, yet I got stuck after booting the machine,. is there a way to create a log file at that stage? |
22:11.01 | dcordes | tmzt: I can do the strace now |
22:12.26 | *** join/#htc-linux CoKeSERO (n=me@pool-96-249-151-134.hrbgpa.fios.verizon.net) |
22:13.57 | tmzt | if your bulding a new image, do that debugging he's talking about |
22:14.50 | tmzt | if your on kaiser, try the strace Xfbdev and look for touchscreen0 |
22:15.48 | dcordes | tmzt: only run strace Xfbdev or with the options? |
22:16.00 | tmzt | -dumb -softCursor |
22:16.10 | tmzt | is fbset reporting the right numbers now? |
22:16.15 | dcordes | I'll run it in the script that exports the TSLIB_* vars before |
22:16.21 | tmzt | no |
22:16.24 | tmzt | no TSLIB |
22:16.38 | dcordes | tmzt: yeay! that worked. I forgot to try it yesterday. |
22:16.52 | dcordes | fbset shows 240 320 240 320 16 geometry line |
22:16.58 | tmzt | take them out of /etc/profile # comments them |
22:17.06 | dcordes | so the msm_fb.c thing set res=vres |
22:17.19 | dcordes | ok |
22:17.42 | tmzt | you'll have to logout and back in, do you login to get a shell? |
22:18.07 | dcordes | I commented them out |
22:18.13 | dcordes | yea |
22:18.18 | dcordes | will check export for the vars |
22:18.31 | tmzt | ctrl-d until you get a username prompt |
22:18.57 | dcordes | export TSLIB_TSDEVICE=/dev/input/touchscreen0 |
22:19.02 | dcordes | I didn't notice that was all the time in there |
22:19.12 | tmzt | in where? |
22:19.18 | tmzt | after yours? |
22:19.42 | tmzt | we started on moko image though, remember? |
22:19.57 | tmzt | and the kernel driver flags were getting cleared |
22:20.43 | dcordes | hm wait TSLIB_TSDEVICE=/dev/input/touchscreen0 is not in /etc/profile |
22:20.52 | dcordes | so why is it there when I login? |
22:21.02 | tmzt | .bashrc ? |
22:21.03 | dcordes | does libts set it automatically? |
22:21.09 | tmzt | no |
22:21.18 | dcordes | ther's only ~/.ash_history |
22:21.44 | tmzt | then I don't know |
22:22.11 | dcordes | mickeyl: do you know if angstrom sets that somewhere? |
22:22.51 | tmzt | grep -r TSLIB /etc |
22:23.01 | dcordes | that will most definetly cause dma |
22:23.04 | dcordes | err |
22:23.06 | tmzt | oh |
22:23.27 | dcordes | I can shutdown and look on the pc if that's vital to doing strace now properly |
22:23.40 | tmzt | unset |
22:23.44 | tmzt | it |
22:23.48 | dcordes | how? |
22:24.02 | tmzt | unset TSLIB_TSDEVICE |
22:24.12 | tmzt | will that be exported though? |
22:24.23 | mickeyl | <PROTECTED> |
22:24.35 | dcordes | okok not in export anymore |
22:24.36 | mickeyl | if you have no entry for the kaiser in OE tslib |
22:24.45 | mickeyl | then the config files might not be shipped |
22:24.47 | mickeyl | or might be empty |
22:25.08 | dcordes | there is /etc/profile.d/tslib.sh |
22:25.20 | tmzt | cat /etc/profile.d/tslib.sh |
22:25.59 | dcordes | yea it only sets TSLIB_TSDEVICE=/dev/input/touchscreen0 |
22:26.33 | dcordes | mickeyl: when I only run Xfbdev, all the /etc/X11/* scripts are not used, no? |
22:26.45 | mickeyl | yeah |
22:26.52 | tmzt | export -x TSLIB_TSDEVICE on bash, don't know about ash |
22:27.32 | dcordes | tmzt: what should that do? I already unset it and moved the profile.d script |
22:28.04 | tmzt | it might still be in the environment of launched programs, thats what export -x is for |
22:28.38 | dcordes | illegal option -x I can also reboot to make sure |
22:28.42 | tmzt | the profile can only set it, it is run by the shell |
22:28.49 | tmzt | logout and in |
22:28.58 | dcordes | but since I only logged in to tty1 where I removed the var |
22:29.11 | dcordes | already did. export reports nothing is set |
22:29.12 | tmzt | ctrl-d until you get the login: |
22:29.16 | tmzt | ok |
22:29.21 | dcordes | s/nothing/nothing tslib related/ |
22:29.26 | dcordes | so |
22:30.12 | tmzt | strace |
22:30.36 | dcordes | strace Xfbdev & sleep 30; killall Xfbdev? |
22:30.52 | tmzt | strace Xfbdev & (sleep 30; killall Xfbdev? |
22:30.59 | tmzt | strace Xfbdev & (sleep 30; killall Xfbdev) |
22:31.38 | tmzt | strace Xfbdev 2>strace2.txt & (sleep 30; killall Xfbdev) |
22:32.02 | tmzt | grep touchscreen strace2.txt |
22:33.16 | dcordes | underscore |
22:33.21 | tmzt | mickeyl: are we just going to dump the input events in xorg? |
22:33.25 | tmzt | try again |
22:33.28 | dcordes | yea |
22:33.44 | tmzt | strace Xfbdev -dumb -softCursor 2>strace2.txt & (sleep 30; killall Xfbdev) |
22:34.05 | mickeyl | tmzt: you can do that as well in evdev.c, sure |
22:34.16 | mickeyl | but i'd start w/ tslib.c to see whether tslib is getting used at all |
22:34.40 | tmzt | we had that and removed it, we also added them to ts_calibrate |
22:34.55 | *** join/#htc-linux Chuzz` (n=hehe@host137-21-static.28-87-b.business.telecomitalia.it) |
22:34.56 | tmzt | oh, just entry point then |
22:35.19 | dcordes | tmzt: I didn't see the "Invalid update: 0 0 255 20 0" errors from Xfbdev (I touched the screen) |
22:35.29 | tmzt | and the grep? |
22:35.32 | dcordes | tmzt: maybe they only appear when it's drawn ok? |
22:35.47 | tmzt | no, they would be in the strace output which is redirected |
22:35.55 | tmzt | you will see fprintf's for them |
22:36.09 | tmzt | well, writes |
22:36.23 | dcordes | tmzt: no results grepping for touchscreen |
22:36.29 | tmzt | and event |
22:36.33 | tmzt | and dbus? |
22:36.43 | tmzt | hal |
22:37.00 | dcordes | there are some events=POLLIN |
22:37.05 | dcordes | and there are some events=POLLOUT |
22:37.19 | dcordes | I will post the file |
22:37.27 | tmzt | bitbake -c devshell -b <bbfile> |
22:37.35 | tmzt | <PROTECTED> |
22:37.37 | dcordes | tmzt: I don't understand what gets redirected to strace2.txt |
22:37.46 | dcordes | because Xfbdev output disappeared |
22:37.52 | dcordes | I wanna make sure I still get the errors |
22:38.14 | dcordes | I think the Invalid updated errors are of importance becauset they show there is some touchscreen data being tried to processes |
22:38.24 | tmzt | add a fprintf(stderr, "...\n"); right above wherever you see ts_open( in that file |
22:38.28 | tmzt | and then run make |
22:38.59 | tmzt | make sure you can tell each printf apart by putting different text in the ... |
22:39.47 | tmzt | everything that is printed on stderr is redirected to strace2.txt, but strace decodes those as write( system calls |
22:39.53 | tmzt | grep update strace2.txt |
22:40.15 | tmzt | I need to go for two or so hours |
22:40.36 | dcordes | so both Xfbdev and strace output go to 2? |
22:40.42 | tmzt | yes |
22:41.02 | dcordes | ok I will try the pritnfs then. thanks and bye |
22:41.07 | tmzt | ok |
23:14.11 | *** join/#htc-linux dcordes_ (n=dcordes@unaffiliated/dcordes) |
23:26.24 | tmzt | dcordes: did you get those changes made, or do you want to paste that file? |
23:27.33 | tmzt | dcordes_: |
23:36.14 | nighthawk08 | tmzt: are you there? |
23:40.31 | tmzt | yes, which device did you have? |
23:40.40 | nighthawk08 | himalaya |
23:40.59 | tmzt | did you find an image? |
23:41.39 | nighthawk08 | found the latest,. I posted a question on HaRET news,. and Kevin O'Connor replied: After that message, Haret is no longer running. The Linux Kernel is running - in order to get more logs, you'd need to customize your kernel to have it emit diagnostic info some way. |
23:42.05 | nighthawk08 | so, seems that I did something wrong with extrating the tar ball of the image of the angstrom |
23:44.43 | nighthawk08 | You might have an idea how to fix that... |
23:46.46 | tmzt | huh, I need to go I was just asking dcordes a question, you might ask cr2 in here sometime as he said he has HIMA |
23:47.40 | tmzt | dcordes may be able to help you with the tar thing when he gets back |