IRC log for #htc-linux on 20080727

00:00.40dcordestmzt: 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.49dcordestmzt: and it showed the half drawn X
00:01.19pigeoncr2: how do i do that? (sorry, i'm very new to doing all these things)
00:01.28Kevin2pigeon: Nothing in particular - just if it works generally.
00:01.40tmztthere is no screen option, but try -dumb and -softCursor
00:01.46dcordesok
00:01.50tmztand fbset -g
00:02.00tmztyou can do it outside of chroot
00:02.02dcordesgotta reboot first
00:02.14tmztor edit /etc/inittab and add five more getty's
00:02.23cr2pigeon: pd 0x90040000 0x20
00:02.26dcordestmzt: why outside of chroot?
00:02.33dcordeswhat did we set it up for then?
00:02.36tmztyou have fbset
00:02.41dcordes(just trying to understand what is the aim now)
00:02.46tmztmaybe inside as well
00:02.48dcordesfbset is in angstrom, yes-
00:03.12tmztfbset works inside as well
00:03.39dcordesbut what's the aim about the jlime now?
00:04.10tmztto test an Xserver that I know works
00:04.26pigeoncr2: for all gpios register?
00:04.31dcordesso why would I run X and fbset outside of jlime then
00:04.43dcordesrebooted.
00:05.06tmztoh, no fbset talks to the kernel not X so it doesn't matter
00:05.08dcordesbrb
00:09.00dcordestmzt: last inittab line is 1:2345:respwan:/sbin/getty 38400 tty1, how'd I add up a new one (or five)?
00:11.22cr2pigeon: yes
00:13.40tmztfollow the same syntax and increase the numbers
00:14.04tmzt2:2345:respawn:/sbin/getty 38400 tty 2
00:14.07tmzt2: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.28dcordesok
00:14.30pigeoncr2: at the moment i get: http://pastebin.ca/1083894
00:15.12tmztwe should patch that double vxres line in the kernel though
00:15.41tmztdid you do a free in before you rebooted (how much ram was free)?
00:15.56tmztvyres
00:18.28dcordestmzt: 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.01tmztyes
00:19.37tmztwe 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.58danthaman915hey, how do i get started putting linux on my htc hermes?
00:20.24tmztif not, we force it with vt7 on the command line (maybe vt07)
00:21.18danthaman915hold on nevermind im reading the wiki
00:21.43cr2pigeon: ok. good night :)
00:21.57dcordesnight cr2
00:22.00pigeoncr2: nite :)
00:22.33tmzthttp://handhelds.org/~koconnor/HTCHermes/
00:23.02dcordestmzt: how'd I go about making ctrl+camera button rotate throug the available vts?
00:23.06tmztthere is one .exe, but I am not sure if you need a partition for it or not
00:23.25dcordesthat would save loads of time. the kaiser keyboard is nice but honestly, I'm slow on it
00:23.34danthaman915so do i need to setup usbnet first
00:23.44danthaman915is that in ubuntu already
00:23.55dcordesthe module should be present
00:24.04danthaman915i cant open synaptic to check
00:24.18danthaman915cause im updating ubuntu
00:24.23dcordes/lib/modules/2.6.24-19-generic/kernel/drivers/net/usb/usbnet.ko
00:24.30dcordesmodinfo usbnet
00:24.51dcordesdanthaman915: it should have no package anyway.
00:25.07danthaman915oh
00:25.18danthaman915ok i think its loaded
00:25.19tmzthttp://forum.xda-developers.com/showthread.php?t=273579&page=18
00:25.35dcordestmzt: must I do this in the kernel? control key is already mapped to windows key, and camera button is \
00:25.59tmztyou need alt and f1..f7 at least for X
00:26.08danthaman915sorry im a noob, although i do know some linux
00:26.11dcordestmzt: let
00:26.15tmztlet me try ctrl-alt-left
00:26.37dcordesI should put alt on the camera key in the driver
00:27.01tmztdanthaman915: ifconfig usb0 on the host (desktop computer)
00:27.36tmztyou can do it through loadkeys though, no recompile
00:27.43gingeyou could map one key to send control-alt- and use the 1-9 for the vt
00:27.57dcordesdanthaman915: 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.25dcordesginge: sounds good. any hint how to do this in board-kaiser-keypad.c?
00:28.37gingedo it in loadkeys
00:28.43tmztX won't exit at all
00:29.18danthaman915ifconfig usb0 is returning "device not found"
00:29.20tmztI need to map alt+left to home, alt+up to pgdn, how do I do that in loadkeys
00:29.24gingecan you not ssh into the phone?
00:29.26tmztmodprobe usbnet
00:29.54tmztdid you use that *.exe?
00:30.03dcordesginge: never tried. but that would be useful. do you still have the ppp.sh on headfuzz?
00:30.17gingeyeah ppp.notsh
00:30.35tmztdid you get your sim working then?
00:30.49dcordesginge: could you give me the url again?
00:31.06gingehttp://headfuzz.co.uk/files/android/ppp.notsh
00:31.19dcordestmzt: it's working all the time. I'm just get the flatrate contract only on august 3rd
00:31.27dcordess/get/getting/
00:31.34dcordesthanks
00:32.18tmztdecordes: modinfo just gives you information/parameters and maybe path, it doesn't load the module
00:32.57danthaman915i think the problem might be that im updating the kernel right now
00:32.57tmztmodprobe and insmod do
00:32.57dcordestmzt: it was just an idea how he can check for presence
00:33.11tmztmodprobe -v usbnet
00:33.24tmztthen ifconfig usb0
00:33.35tmztunless synaptic is slowing you down, you should be fine
00:33.51dcordesdanthaman915: the kernel will be loaded when you reboot first
00:33.57tmztlsusb
00:33.58dcordesso it doesn't matter right now
00:34.11danthaman915i know but it might mess with the modules
00:34.13danthaman915maybe...
00:34.18danthaman915i dont know
00:34.37tmztif you are upgrading to a different kernel, modules will go in /lib/modules/version/
00:34.58dcordesdanthaman915: you can just reboot before you start coping with it, but it won't really matter
00:35.21dcordesginge: do you use some script or so to setup the reverse ssh connection into kaiser?
00:35.37gingeyes
00:35.41danthaman915yeah just to be safe ill just reboot
00:35.45danthaman915hold on
00:36.31dcordesginge: is it under the ginge highly proprietary liscense or can I have it?
00:36.44gingelooking for a link now
00:37.07gingebasically ssh -R
00:37.42dcordesbtw, is that legal? (not that I would care too much)
00:38.10dcordesor is it just the type of routing the providers use that won't make the direct ssh connection into the device work?
00:38.43gingelegal, probably, against the terms of the contract, probably.
00:39.06gingethey 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.14gingehence the nat
00:39.18dcordeswhy not using ipv6?
00:39.26gingeare you?
00:39.27danthaman915ok
00:39.39dcordesno I mean the providers, isn't that possible yet?
00:39.50gingemostly, yes. requrie $$$
00:39.54dcordesI guess they are just saving ruight
00:39.59dcordesok
00:40.23gingeits gonna be ages before we get v6. most devices dont even support it yet. all they stuff has to be replaced
00:40.45tmztyou can add -N -n will allow you to background the connection
00:41.03dcordesneed to bake the ppp package
00:41.38gingessh -f -N -R 10000:localhost:22 username@your _ip
00:42.04danthaman915when i try "ifconfig usb0 192.168.0.1" im getting device not detected
00:42.55tmzt-n won't work with password though, -N will just keep it from starting a shell
00:43.16danthaman915interestingly, in my network manager it says "unspecified misc. usb interface"
00:43.27dcordesginge: that is from kaiser, right?
00:43.28danthaman915should i connect to that?
00:43.36gingedcordes: yes
00:43.58gingethen you ssh to your localhost port 10000
00:44.21gingeyou need sshd or dropbear
00:44.24gingeon the kaiser
00:44.28tmztdo just ifconfig usb0 and see what it says
00:44.40tmzthow are you connected to the internet, wired or wireless
00:44.42tmzt?
00:45.01danthaman915usb0: error fetching interface information: Device not found
00:45.08dcordesginge: and 22 in the command is the port kaiser ssh client will use to connect to the remote ssh server?
00:45.13danthaman915im connected to wireless
00:45.14tmztdoes your device show up in lsusb?
00:45.18danthaman915hmm
00:45.26danthaman915yea
00:45.33gingedcordes:  yes, open that to your machine in your firewall
00:45.39dcordesok great
00:45.39danthaman915Bus 004 Device 002: ID 0bb4:0b04 High Tech Computer Corp.
00:45.39tmzt-p to change port
00:46.04tmztwhat initrd are you using?
00:46.09tmztwhat inittrd are you using?
00:46.12gingetmzt: would need to reload sshd manually on the host
00:46.31dcordesok then I have everythin I need, let's see if that will work
00:47.20dcordesginge: so I just don't use -p but put the desired port in place of 22?
00:47.37gingedcordes: what port do you run sshd on?
00:47.49gingedcordes: on your pc?
00:48.20gingedcordes: default is 22
00:48.46dcordesginge: different one
00:49.01gingeyeah put whatever port you are on then
00:49.06dcordesok
00:49.25gingetest it first by wgetting from a server... saves a rebuild
00:49.41gingewhat was escape mapped to again/
00:49.57dcordesnone I think
00:50.11gingestuck in vi then
00:50.21dcordesI add nano for that
00:50.31gingeyeah, not in this image
00:50.34dcordesprefer it anyway
00:50.43dcordeswhich image are you in?
00:51.02gingeyeah, but I do find I keep pressing control-w in other editors which generally does horrible things
00:51.07gingeandroid minimal initrd
00:53.13dcordesginge: wget http://linuxtogo.org/~lgorris/nano_2.0.7-r0_armv6.ipk; opkg install nano_2.0.7-r0_armv6.ipk
00:53.42gingewont help. not angstrom based
00:54.04gingeits the android initrd which is tiny
00:54.52gingehmm got past the dma error I think
00:54.53danthaman915hey do i have to manually mount my phone in ubuntu
00:55.05gingejust getting different  erors now
00:55.36dcordesginge: I can get you a real small angstrom initrd if you like. is that in .25 kernel?
00:56.34gingedcordes: 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.15gingeso I really only need ppp an editor and basic tools
00:58.18gingeand wget :)
01:00.06dcordeshm ppp.sh doesn't liek me anymore
01:00.57gingedid you chmod it?
01:01.19dcordesyes 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.17tmzt_mp900cdanthaman915: have you read back through that thread?
01:02.36danthaman915yea but my phone is not showing up
01:02.55tmzt_mp900cdanthaman915: if the image you are using brings up usb0 then usbnet should work
01:02.57danthaman915everything has device not dtected
01:03.31tmzt_mp900clsusb -v -v |less and look for your device
01:03.50tmzt_mp900csee if there is a cdc ethernet listed under it
01:05.40danthaman915i see "CDC data"
01:05.57dcordesginge: I just got a segfault trying to cat /df
01:06.03dcordes/dev/smd7
01:06.55danthaman915i think the problem is that usb0 is missing
01:07.19danthaman915i looked in /dev and there is no usb0
01:08.04dcordesginge: what would you first check for if the script would succeed but the interfaces was missing?
01:08.26gingehave you tried rerunning it?
01:08.31dcordes3x
01:08.47gingetry bringing ifconfig up manually
01:09.04dcordesonly 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.09gingemight still be doing ppp in the background
01:09.18gingeor timing out on dhcp
01:09.33gingedid you check them?
01:09.39ginge(device nodes)
01:09.44dcordesI'll clean out /etc/network/interfaces
01:09.57dcordesI only cat /dev/smd0, looks good
01:09.59dcordesdidn't write
01:11.31dcordesginge: only have auto lo\ iface lo imet loopback now in interfaces. do you add anything for the ppp on kaiser?
01:11.54tmzt_mp900cppp only uses netdev's nothing in /dev/ except the tty it runs on
01:11.58tmzt_mp900cifconfig -a
01:12.08tmzt_mp900cls /sys/class/net/
01:12.24dcordestmzt_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.39tmzt_mp900cyes, those are the tty's
01:13.02tmzt_mp900cppp is a line discipline, it runs on a tty and creates a netdev in the kernel ppp0
01:13.17tmzt_mp900cthere are no special files for netdev's in linux (there are in bsd)
01:13.27dcordesok
01:13.28foobar`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.31foobar`whaths's the reason for two?
01:13.51dcordespoints at ginge, hides
01:14.46dcordesginge: I'll add up a bit loger pauses
01:15.11dcordesoh it worked now. think it really are the timings.
01:17.45foobar`...it looks like the -data.bin was updated more recently, but the default.txt points to the older one
01:19.36dcordesfoobar`: iirc, I put the initrd-data as a copy of initrd.bin with some gprs improvements by ginge
01:20.05dcordesit 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.40foobar`ah ok
01:20.45foobar`so -data is the one to use?
01:21.22dcordesI think so. probably the latest one by ginge would be better
01:21.31dcordesI didn't boot into android for ages
01:21.32foobar`oh, where can I find that?
01:21.37foobar`what do you boot into?
01:21.40dcordesmust ask ginge
01:22.03dcordesI would like to put the best working android initrd in the bootkit but I don't know which one that is
01:22.08gingedcordes: I don't have a later image then the android.bin seems to work ok for me
01:22.18dcordesok
01:22.36foobar`oks
01:22.41foobar`so GPRS works now, but not UMTS?
01:23.38dcordesginge: do we have umts?
01:23.42*** join/#htc-linux TeringTu1y (n=maarten@195-241-125-243.ip.telfort.nl)
01:23.44dcordesor hsdpa or whatsoever
01:23.51gingewhat is umts?
01:24.00dcordesthe fast 3g internet
01:24.01foobar`hsdpa
01:24.02foobar`ya
01:24.33gingeahh, doesn't seem so
01:24.33foobar`ah ok
01:24.33gingenot sure how that stuff works
01:24.33dcordesnobody of us ever tried?
01:24.34gingehow do you even try is the question
01:24.36foobar`where are the AT commands sent to the modem
01:24.38dcordesI bet it's just one stupid bit to send to the modem so it will fire up the fast thing
01:24.47dcordesfoobar`: binary
01:24.51foobar`I found some tutorial online for how to setup some vodaphone 3d card
01:24.52foobar`er
01:24.53foobar`3g
01:25.06foobar`http://kuix.de/umts/vodafone/
01:25.11dcordesfoobar`: bug dzo or ginge for the source of rilphon in android
01:25.28foobar`it looks like it's just one thing you send on the at_opsys command
01:25.38dcordesfoobar`: or better, use angstrom.bin and just do it with cu, miniterm or so
01:25.48foobar`ah ok
01:25.51dcordesthat would be interesting
01:25.53foobar`what exactly is the angstrom.bin?
01:26.12dcordeshttp://angstron-distribution.org
01:26.39dcordesmini operating system for tiny devices
01:26.49foobar`ah
01:26.59dcordesit will boot you into a console
01:27.07dcordeswhere you can play nicely with the device nodes
01:27.14dcordesI detailed a bit on it in the readme.txt i think
01:27.15foobar`oh nice that's what I wanted
01:27.33dcordesyea android is not what you want if you're aiming for system accessibility
01:27.57foobar`do I need the -tslib.bin too? what's that?
01:28.10dcordesum that was just for touchscreen poking in angstrom, no need.
01:28.11tmzt_mp900cthat's a whole lot of fun
01:28.13dcordescould remove it
01:28.15*** join/#htc-linux nighthawk08 (n=a@212.143.154.159)
01:28.16gingehat should probably be removed
01:28.22foobar`ah ok
01:28.33tmzt_mp900cnighthawk08: how did it go?
01:28.49tmzt_mp900cI should have given you wiki and xda thread earlier
01:28.53nighthawk08didn't progress much, tmzt_mp900c
01:29.27gingedcordes: how long does your wm image take to boot?
01:29.54tmzt_mp900cwhat do you have for mtype in default.txt?
01:30.12nighthawk08tmzt_mp900c -- by what I told you do you think the problem is in the zImage version...
01:30.23nighthawk08tmzt_mp900c -- I haven't got the mtype...
01:30.32dcordesginge: I think it's faster than vodafone stock. I can stopwatch it
01:30.34tmzt_mp900cone reason for zImage not to start is the wrong mtype
01:30.36nighthawk08tmzt_mp900c -- on the startup.txt
01:30.54gingedcordes: that would be nice, its not like you don't do it often ;)
01:30.57nighthawk08tmzt_mp900c -- what does the mtype suppose to define?
01:31.18tmzt_mp900cyou might have to create an earlyharetlog.txt and then start haret
01:31.40tmzt_mp900c(in the same folder)
01:32.15nighthawk08I use the angstrom.exe not the haret
01:32.20foobar`one last question -- is there an easy way to play with angstrom in the emulator?
01:32.35tmzt_mp900cyou had angstrom on the sd partition before didn't you
01:32.36foobar`it seems the emulator is passing some console commands to the kernel
01:32.46nighthawk08tmzt_mp900c -- ye
01:33.42tmzt_mp900cwhere did you get angstrom.exe?
01:33.58nighthawk08from their site...
01:34.23tmzt_mp900cin the same place there should be a zImage-something-hh??
01:34.40tmzt_mp900cwhatever hh kernel you said you were using before
01:34.41nighthawk08it is called there: Angstrom-boot-2.6.21-hh20-r6-h3900.exe
01:34.55tmzt_mp900cis there a zImage in the same place?
01:34.55dcordestmzt_mp900c: ok got a remote shell on kaiser now
01:35.01tmzt_mp900ccool.
01:35.15tmzt_mp900cthen you can use desktop xev!
01:35.19nighthawk08they have there the zImage-2.6.21-hh20-r6-h3900.bin image
01:35.38tmzt_mp900cget that and set the set image line in default/startup.txt to match
01:35.56tmzt_mp900cis there a default.txt in that directory?
01:35.59nighthawk08tried that.
01:36.05nighthawk08startup.txt
01:36.21tmzt_mp900cadd the earlyharetlog.txt and earlyharetboot.txt empty files first
01:36.34tmzt_mp900ccan you rename it to default.txt?
01:36.48tmzt_mp900cit lets us see if it detects your device
01:36.54tmzt_mp900cbefore booting
01:37.30*** join/#htc-linux Dinde (n=kayser@sur-internet.net)
01:38.10nighthawk08done,. should I run it?
01:38.27tmzt_mp900cyes, do you have haret from the same place or somewhere else?
01:38.37nighthawk08same place
01:38.56tmzt_mp900cis the a version in the filename?
01:39.32nighthawk08Angstrom-boot-2.6.21-hh20-r6-h3900.exe
01:39.40tmzt_mp900cno the haret.exe filename
01:39.49tmzt_mp900cok, start haret.exe
01:39.57tmzt_mp900csee what version it is
01:40.10nighthawk08I start the Angstrom-boot-2.6.21-hh20-r6-h3900.exe -- instead of the haret.exe
01:40.19tmzt_mp900cno, you need to start haret for this
01:40.32nighthawk08oh,. ok
01:40.36tmzt_mp900cangstrom boot is haret, with the startup.txt builtin
01:41.29dcordestmzt_mp900c: what to do with xev?
01:41.34nighthawk08the haret.exe got stuck... after running the logo
01:42.18dcordesouch just ffed up updating the packaging system cache
01:42.19tmzt_mp900cI've got that backwards don't I, I want to forward X back to desktop
01:42.58tmzt_mp900cadd it to the -R line as (is it 6100?)
01:43.07dcordestmzt_mp900c: me?
01:43.50tmzt_mp900cyes
01:44.30tmzt_mp900cnighthawk08: is there anything in haretearlyboot.txt or haretearlylog.txt?
01:44.31dcordesI'd better not forward X. don't want to cause too much traffic
01:44.55tmzt_mp900cforwarding X causes the traffic because of pixmaps, xev doesn't use them
01:45.13tmzt_mp900cbut if you have xev local we'll use that
01:45.28foobar`does android use X or directfb or somethign else?
01:45.39tmzt_mp900cfbdev
01:45.42tmzt_mp900cessentially
01:45.59foobar`er
01:46.01foobar`X on fbdev?
01:46.04foobar`or just fbdev raw
01:46.05dcordesno X
01:46.06tmzt_mp900cno, no X
01:46.07foobar`not even directfb ontop
01:46.08foobar`ah ok
01:46.09tmzt_mp900craw fb
01:46.26foobar`hmm i wonder how hard ti was to port webkit
01:46.26dcordessecret spy java engine on top of fbdev I think
01:46.27nighthawk08tmzt_mp900c: nothing on the .txt files... it sais while booting that it detected PXA2xx
01:46.43dcordesthe google browser is webkit?
01:46.52tmzt_mp900cadd 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.02foobar`I know the bit pain in the ass for mobile firefox is some X-specific stuff
01:47.08tmzt_mp900cyes, but java has a native code bridge
01:47.13foobar`maybe webkit doesn't have those problems
01:47.19foobar`iirc it was libcairo
01:47.24dcordeswonders how fast openmoko-browser2 or other webkit based browsers will run on kaiser
01:47.35tmzt_mp900cthat is the lovely bitdepth problem
01:48.02dcordesfoobar`: firefox? at a point in the past firefox 2 worked in openembedded. but I think it's broken for ages
01:48.03tmzt_mp900cI have run openmoko-browser2 compiled as oabi on my mp900c, not very fast though
01:48.05dcordessome libc thing or so
01:48.19foobar`I'm talking about the new offical fennec fox
01:48.28tmzt_mp900cfirefox 1.5 works because it is gtk1
01:48.45foobar`http://wiki.mozilla.org/Mobile/DFBPorting
01:48.49foobar`http://wiki.mozilla.org/Mobile/Build
01:49.10tmzt_mp900cmoko phone is 16bit color, I think
01:49.18foobar`so angstrom should bring up a terminal on the local console?
01:49.24foobar`is there a way to get like a USB console?
01:49.30tmzt_mp900copenmoko-browser2 just needs the moko libs in its LD_LIBRARY_PATH
01:49.32dcordesfoobar`: gprs console
01:49.40foobar`ah
01:49.49foobar`but I thought you need to manually setup gprs on angstrom
01:49.55foobar`so you have to do that on the device first?
01:50.14tmzt_mp900cyou could hook ifup.d and auto ppp0
01:50.32dcordesfoobar`: /usr/bin/ppp.sh y.our.apn password username
01:50.38foobar`ah ok
01:50.42tmzt_mp900cI also like wvdial, it will spin until ready sometimes
01:50.44dcordestmzt_mp900c: no need we have the ginge script
01:51.09foobar`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.22tmzt_mp900cnighthawk08: did you add the set MTYPE 448 line?
01:51.22foobar`I don't need any user/pass for windows mobile
01:51.48dcordesfoobar`: google. search for your provider name, gprs, username, apn whatever
01:51.59dcordesthat's what I did to find out the required data for my provider
01:52.22dcordesfoobar`: same here. just put user and pass.
01:53.32nighthawk08tmzt_mp900c: I've set the mtype line,. wait still checking...
01:55.25foobar`anyone know the APN info for AT&T?
01:55.38foobar`google results look like they are showing cingular? I'm guessing that was before the merge?
01:55.49nighthawk08tmzt_mp900c: still gets stuck...
01:57.11dcordesfoobar`: 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.50foobar`I figured this is the kind of info most customers have no "legitimate" need for
01:57.57dcordesfoobar`: like http://localization.att.com/loc/controller?prod-snip=support-lp1-ResHelpSupport
01:57.58foobar`I have no idea how all this stuff works
01:58.14foobar`alright, I'll check there then, thanks
01:58.32dcordesthere's no magick in it, just figure out your apn. can't you jsut look it up in windows mobile?
01:58.38gingefoobar`: its either cingular or proxy from what i can see
01:58.42nighthawk08tmzt_mp900c: where can I get the latest haret.exe version?
01:58.48foobar`dcordes: where in wm?
01:59.05dcordesfoobar`: um settings, system networking internet or so?
01:59.13dcordesyou're on kaiser, aren't you?
01:59.16foobar`ya
02:04.43dcordestmzt_mp900c: how'd I run the desktop xev with the remote device?
02:06.14tmzt_mp900chandhelds.org/~koconnor/haret/haret-20080726.exe
02:06.21tmzt_mp900chttp://handhelds.org/~koconnor/haret/haret-20080726.exe
02:06.40tmzt_mp900cnot the ones with the letters after them
02:07.49*** join/#htc-linux Zoolooc__ (n=fredsiba@nrbg-4dbff951.pool.einsundeins.de)
02:08.22tmzt_mp900cyou would have to forward the X tcp port with the -R option from device
02:08.40dcordesum I will just put xev on the rootfs
02:08.41foobar`I don't see where ppp.sh uses the password at all
02:08.52tmzt_mp900cdisable security on Xfbdev
02:09.02foobar`it passes $1(the APN) to AT+CGDCONT
02:09.02foobar`and then %2 to pppd
02:09.02tmzt_mp900cyes,
02:09.03dcordesok
02:09.12gingefoobar`: iirc it doesnt. I should update that at some point
02:09.13dcordesfoobar`: nevermind if you don't put it in wince
02:09.31foobar`oh ok cool
02:09.33dcordesginge: probably the one in the angstrom.bin is deprecated
02:09.37gingeits as simple as a couple of cats to ppp pass files
02:09.38tmzt_mp900cyou still need it, but the carrier set it up in ce
02:09.57foobar`ginge: http://kuix.de/umts/vodafone/ this might help with UMTS
02:10.06dcordesginge: maybe he could make use of the dzo ril if he wants to look into how to enable umts
02:10.16foobar`dzo ril?
02:10.23tmzt_mp900cumts needs an network device, I believe
02:10.47foobar`ok
02:11.05foobar`has anyone been able to run angstrom in the android qemu emulator? It doesn't start init for me
02:11.16foobar`it'd be useful to be able to test there before booting on my phone
02:11.41dcordesfoobar`: dzo is the vogue developer. he reverse engineered the android phone program and rewrote it for use with his phone
02:11.52foobar`ah ok
02:11.53dcordesril is the phone program
02:12.02tmzt_mp900cangstrom is a root filesystem, you would need a kernel for the sdks mtype
02:12.14foobar`I'm just using the default kernel
02:12.26foobar`the init script doesn't load modules or anything
02:12.28dcordesfoobar`: I don't see where it would help you much to run the angstrom rootfs in qemu
02:12.37dcordesfoobar`: btw, you can also boot from an sd card
02:12.42foobar`just to try things out
02:13.01tmzt_mp900cthere is an angstrom kernel for versitilepb isn't there?
02:13.12dcordesfoobar`: yes you can use the normal init instead. I should really update the android.bin
02:13.18foobar`why wouldn't the android kernel work?
02:13.44foobar`what I'm saying is I'm trying to use the default android kernel w/ the SDK, with the angstrom rootfs
02:14.00foobar`I don't see why it shouldn't work, as the initrd doesn't have kernel modules or anything like that
02:14.12tmzt_mp900cthe arm bootloader protocol passes the mtype to the kernel and the kernel checks if it matches its own
02:14.15dcordesuse a normal qemu then
02:14.36foobar`tmzt: yeah, I'm using both the emulator and kernel from android
02:14.40foobar`just replacing the rootfs
02:14.57tmzt_mp900cthe android might work, the source is at http://code.google.com/p/android under sdk emulator something tar.gz
02:15.13foobar`no it doesn't
02:15.25dcordesfoobar`: 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.29foobar`i pass -append console=tty to get the console
02:15.35foobar`and that shows the linux boot msgs but nothing from init
02:15.50foobar`it just stops where it would normally start init
02:16.03gingedcordes: I just updated the ppp.notsh script with the password stuff
02:17.09dcordesok I will put it in the new angstrom initrd. will also put a tgz or loop of it
02:17.26dcordesuh can we use loopfile rootfs now?
02:17.50gingenot with dma errors
02:18.12dcordesoh ok, in that case I will put tarballs of both, angstrom and android for now
02:18.28gingeyou could try an ext2 loop, not done that yet
02:18.30foobar`ok i'll just go ahead and try it on the phone -- is the "GPRS shell" you mentioned just dropbear?
02:18.46dcordesyes dropbear
02:19.06dcordesI said it in reply to you asking for USB shell ;)
02:19.11foobar`yeah
02:19.13foobar`ok
02:19.20foobar`someone mentioned uc/minicom on angstrom
02:19.24foobar`it's not there
02:19.48dcordescu should be
02:20.04tmzt_mp900cdropbear is for the reverse ssh as well
02:20.15foobar`oh
02:20.16tmzt_mp900cbut you need its client or openssh's too
02:20.21foobar`nm it's there i'm an idiot
02:20.27tmzt_mp900cdbclient
02:20.28dcordesginge: Running task 758 of 2231
02:20.33tmzt_mp900clinked to ssh
02:20.58gingedcordes: i'm just writing a script for setting up reverse ssh if you want to put that in too
02:21.39dcordesginge: that would be great
02:22.12dcordesbetter than another console image would be a one with gpe desktop or so
02:22.28dcordesor with the shiny poky desktop
02:22.38dcordesbut we need that ts first
02:22.43dcordestmzt_mp900c: have xev now on kaiser rootfs
02:22.49tmzt_mp900cok
02:22.59dcordesanything else I can put?
02:23.00tmzt_mp900cdid we ever get the chroot X to work?
02:23.15dcordesto jlime?
02:23.20tmzt_mp900cyes
02:23.33tmzt_mp900cit came up half, I think because of the vyres
02:23.38tmzt_mp900cproblem
02:23.46tmzt_mp900care you building zImage?
02:24.35dcordesI 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.40foobar`oh, and where can I find a toolchain
02:24.46foobar`to build the kernel/whatever programs I need
02:24.53dcordesthen I ran Xfbdev and it started the half drawn X screen
02:25.06dcordestmzt_mp900c: what about zImage?
02:25.39tmzt_mp900cwe need to change that line in arch/mach-msm/android mdpfb.c
02:25.49dcordesfoobar`: use the code sourcery one for instance. I use openembedded arm-linux-gnueabi toolchain
02:26.02dcordestmzt_mp900c: ok which?
02:26.03tmzt_mp900ccouldn't think of that name
02:27.36*** join/#htc-linux ptl (n=patola@201.82.18.155)
02:28.01tmzt_mp900cit must be in drivers
02:28.08dcordesfoobar`: 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.15tmzt_mp900canyway 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.24tmzt_mp900cjust do fbset -g
02:28.44tmzt_mp900cnighthawk08: did you add that line, did you get that haret?
02:28.45dcordestmzt_mp900c: no I don't,  I have the filesystem mounted in my host and I'm in the kernel tree :)
02:28.56tmzt_mp900cdrivers/android?
02:29.17nighthawk08I added the line, and downloaded the new haret 0.51 -- I had an old version... I'll post you private, the log...
02:29.33foobar`is there anyone currently working on USB tty?
02:29.48*** join/#htc-linux nighthawk08 (n=a@212.143.154.159)
02:29.50dcordes./video/msm/msm_fb.c
02:29.58tmzt_mp900cusb tty, as in serial gadget?
02:29.59foobar`if not I guess that's what I'd like first before I worry about anything else so I can do that
02:30.01foobar`yeah
02:30.11tmzt_mp900cdoes usb0 net work?
02:30.14tmzt_mp900cusbnet?
02:30.29tmzt_mp900cthanks, dcordes
02:30.36tmzt_mp900ch=htc-msm ?
02:30.38dcordestmzt_mp900c: http://rafb.net/p/Zzukeo18.html
02:30.49tmzt_mp900cyou changed something?
02:30.52dcordestmzt_mp900c: htc-msm is the kaiser tree?
02:30.57dcordesno that's the git file
02:31.09dcordesI just pasted it because linuxtogo webgit file downloading is b0rken
02:31.17tmzt_mp900cright
02:31.52tmzt_mp900cnighthawk08: somebody is pinging you or is that just a message?
02:32.06dcordesginge: 1118 of 2231 I will test it a bit/make it work on my BA tomorrow when it's done
02:32.26tmzt_mp900cyou have ba, wifi works?
02:32.42dcordesyep
02:32.43nighthawk08its a message
02:32.48tmzt_mp900cnew acx driver as well
02:32.51tmzt_mp900c?
02:32.56dcordestmzt_mp900c: I've got the ass baordid6 version with no display init though
02:33.04dcordestmzt_mp900c: I have nothing on it atm.
02:33.10tmzt_mp900coh
02:33.11dcordesit's just gaining dust
02:33.28tmzt_mp900cnighthawk08: ok, does it stop there?
02:33.49nighthawk08tmzt_mp900c: did you see the private log that I've sent you?
02:33.55tmzt_mp900ci'll get that get in a second
02:33.56nighthawk08ye
02:33.57tmzt_mp900cgit
02:34.07dcordestmzt_mp900c: no dispaly init meaning you can't turn off the display. so no real battery life
02:34.12dcordestmzt_mp900c: you also have one?
02:34.13tmzt_mp900cyeah, but I'm on irssi so its just a little number at the bottom
02:34.16tmzt_mp900cno
02:34.21tmzt_mp900cno htc at all
02:34.23nighthawk08then the screen gets blank, and it sais kernel is loading... but gets stuck there...
02:34.54tmzt_mp900cdid you add the set MTYPE 448 line to default.txt?
02:34.59nighthawk08ye
02:35.04tmzt_mp900cand set image zimage-whatever
02:35.09nighthawk08ye
02:35.10tmzt_mp900cand set image zImage-whatever
02:35.28tmzt_mp900cset cmdline "root=/dev/mmcblkp1"
02:35.29tmzt_mp900c?
02:35.56nighthawk08not "mmcblk0p1" ?
02:35.57dcordestmzt_mp900c: I only see two lines with the wrong default vyres=640(??) value in msm_fb.c
02:36.02tmzt_mp900cset cmdline "root=/dev/mmcblkp2"
02:36.30tmzt_mp900chold on, can you give me that paste if don't have copy/paste
02:36.39tmzt_mp900csomeday I might learn to use gpm!
02:36.52dcordesfoobar`: no clue. did you get your apn?
02:37.00foobar`i just booted it
02:37.01foobar`checking now
02:37.24foobar`uh
02:37.25gingedcordes: grab this file http://www.headfuzz.co.uk/files/android/revssh.notsh
02:37.27foobar`keyboard @ doesn't work
02:37.31dcordestmzt_mp900c: http://rafb.net/p/Zzukeo18.html line 139 line 148
02:37.49foobar`oh
02:37.51foobar`! and @ are swapper
02:37.52dcordesfoobar`: reboot.. almost impossible
02:37.58foobar`?
02:38.02foobar`huh
02:38.23dcordessorry, I understood keyboard @ doesn't work that your keyboard does nothing.
02:39.02foobar`ok from there
02:39.14foobar`dropbear reverse shell should work?
02:39.25gingedcordes: can you check over it, not tested, but should work
02:39.32dcordesfoobar`: WFM
02:39.36*** part/#htc-linux kereslas (n=miguel@44.Red-79-154-231.staticIP.rima-tde.net)
02:39.48dcordesginge: ok wgetting it on the ext2
02:39.57foobar`wfm?
02:40.09gingenight all
02:40.11dcordesworks for me
02:40.14foobar`ah
02:40.15tmzt_mp900c459
02:40.16nighthawk08tmzt_mp900c: that doesn't work either with mmcblkp2
02:40.17foobar`I get a 10. address
02:40.22dcordesnight ginge
02:40.24tmzt_mp900cwhat were those lines again?
02:40.25foobar`i don't know anything about phones
02:40.29foobar`are phones NATed
02:40.30foobar`?
02:40.34foobar`should I have a 10. address?
02:40.37gingefoobar`: pretty much, yes
02:40.38tmzt_mp900cyes, 10. is private
02:40.44foobar`ah whew
02:40.53tmzt_mp900cthat's what the ssh -R is for
02:41.03gingeyou need that script I posted to get into the phone
02:41.13foobar`where'd you post it?
02:41.22gingejust a second ago
02:41.28foobar`ah
02:41.30foobar`i see it
02:41.42tmzt_mp900cI get no .txt version only 404
02:42.03tmzt_mp900cdcordes, can you give me those lines again?
02:42.16tmzt_mp900cthe one I am talking about is:
02:42.19tmzt_mp900c459
02:42.44tmzt_mp900cchange that to get rid of the * 2, but comment and copy it first
02:42.44dcordestmzt_mp900c: nasty I can't see the raw button anymore
02:42.54tmzt_mp900cbutton?
02:42.58dcordestmzt_mp900c: roger that
02:43.05tmzt_mp900cwhat do you mean
02:43.08tmzt_mp900cbutton
02:43.12dcordesdidn't rafb nopaste had a button for .txt version
02:43.29tmzt_mp900cit did last time, I just changed it to .txt and it worked
02:43.52dcordesthat's why you get the error looks like the person removed it
02:43.54tmzt_mp900cI made mine C89 though
02:44.45dcordesah ok line 450 makes sense regarding the problem
02:44.52dcordes49
02:45.05dcordesjust remove the * "?
02:45.12dcordes*2
02:45.17foobar`ugh
02:45.23tmzt_mp900c459?
02:45.27foobar`the function key maps are wrong
02:45.31foobar`I can't get :
02:45.44dcordesfn C
02:45.50foobar`oh
02:45.52foobar`nice
02:46.05tmzt_mp900cinfo->var.yres_virtual = pi->height * 2;
02:46.07tmzt_mp900cinfo->var.yres_virtual = pi->height;
02:46.10dcordestmzt_mp900c: 495 info->var.yres_virtual = pi->height * 2;
02:46.12foobar`is this the same as the HTC vs ATT tilt keyboard issues in windows?
02:46.31tmzt_mp900cdo you have showkey?
02:46.35tmzt_mp900cfoobar:
02:46.48foobar`this is on angstrom
02:47.09tmzt_mp900cshowkey is in busybox if its built
02:47.22dcordesfoobar`: http://wiki.xda-developers.com/index.php?pagename=Kaiser_Keyboard
02:47.23tmzt_mp900cbusybox showkey
02:47.35dcordesfoobar`: English
02:48.51dcordestmzt_mp900c: anything else to change in fb?
02:48.57foobar`ah
02:48.59foobar`hahaha
02:49.35foobar`any way to ctrl+c in the console on the device?
02:50.32dcordesfoobar`: noo sorry that image is kind of fed up
02:50.52foobar`i messed up the cmd and ssh is hung
02:50.53foobar`hmm
02:51.04dcordesI will get up a tgz you can extract to an ext2 partition tomorrow
02:51.48foobar`there has to be some way to kill this..
02:51.56dcordesyou can also gunzip and cpio extract this present rootfs, remove /init and use the /usr/sbin/init instead. symlink it to /init
02:52.13dcordesfoobar`: it's because you have not the shell you should
02:52.35dcordeslook at the real strange init script and you'll know why
02:53.16dcordestmzt_mp900c: there is info->fix.line_length = pi->width * 2;
02:53.25dcordes454 which also has *2
02:53.33foobar`ok it timed out
02:53.51dcordesyou 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.29tmzt_mp910cwhat is platform device fb size in the machine .c file in arch/arm/mach-msm?
02:56.31tmzt_mp910cand did you get that free output yet?
02:56.42tmzt_mp910cI would like to compare it
02:56.59dcordesfree after booting?
02:57.40dcordes.fb_size = MSM_FB_SIZE,
02:58.15foobar`er, dropbear isn't running by default is it?
02:58.15dcordes0x9b000
02:58.40dcordesfoobar`: run /sbin/init
02:59.12foobar`rl 2 is ok?
02:59.18*** join/#htc-linux surgex (i=surge@pool-71-186-163-107.bflony.fios.verizon.net)
02:59.32tmzt_mp910cssh localhost on you device and see what it does
02:59.33dcordesfoobar`: no clue just run /sbin/init ?
02:59.35foobar`said "timeout opening/writing control channel /dev/initctl
02:59.44foobar`init needs an argument
02:59.47foobar`the runlevel
02:59.51tmzt_mp910cyou don't have dev mounted, or its readonly
02:59.52foobar`2 should be OK i guess
02:59.56dcordesfoobar`: put /sbin/init in your default.txt reboot
03:00.01tmzt_mp910cno
03:00.12tmzt_mp910cunless you mean in cmdline?
03:00.14dcordesfoobar`: cmdline "init=/sbin/init"
03:00.20tmzt_mp910cright
03:00.21foobar`on
03:00.22foobar`oh
03:00.27foobar`ah ok
03:00.45foobar`i mean there has to be a way to just start dropbear, no?
03:00.48foobar`but I gues I should do that anyway
03:00.49foobar`ok
03:01.31dcordesjust try that or please wait until I update the angstrom initrd and put a tgz tomorrow
03:01.31tmzt_mp900c_/usr/sbin/dropbear
03:01.31tmzt_mp900c_but your keys will have to be setup first
03:01.31dcordesfoobar`: do yourself a favour and try what I said
03:01.31foobar`dcordes, does the /sbin/init fix the keyboard?
03:01.31foobar`ok
03:01.32foobar`yeah im doing it now
03:01.38dcordesit should.
03:01.41foobar`i'm also going to uncomment that fbcon=rotate line
03:01.41foobar`haha
03:01.57dcordesuse the same cmdline line
03:01.59tmzt_mp900c_you can rotate after you boot as well
03:02.04foobar`oh ok
03:02.09tmzt_mp900c_but them together in the cmdline " "
03:02.18dcordesset CMDLINE "fbcon=rotate:3"
03:02.29dcordesset CMDLINE "init=/sbin/init fbcon=rotate:3"
03:02.33tmzt_mp900c_yes
03:02.34foobar`ya i know
03:02.37foobar`ok ty
03:06.36dcordestmzt_mp900c_: anything about the MSM_FB_SIZE?
03:06.44dcordeswhich is 0x9b000
03:06.50tmzt_mp900c_and physmem?
03:07.50tmzt_mp900c_can you calc that to dec and / (320*240*2)
03:08.43dcordestmzt_mp900c_: what physmem? and what calc?
03:08.47dcordessorry..
03:09.13tmzt_mp900c_PHYS something in that file under that platform device info
03:09.18tmzt_mp900c_gcalctool?
03:09.24tmzt_mp900c_win calc.exe?
03:09.31dcordesnon win around
03:09.42tmzt_mp900c_same idea though
03:11.45dcordestmzt_mp900c_: sorry, can't find it. could you take a look? http://de.pastebin.ca/raw/1083991
03:12.00foobar`hmm
03:12.08dcordestmzt_mp900c_: what's dec and / ?
03:12.10foobar`the bar is full in haret
03:12.12tmzt_mp900c_basically, android kernel wants to many copies of the screen, if those are malloc'd they take up ram
03:12.13foobar`and the machine is locked up
03:12.21tmzt_mp900c_decimal and divide
03:12.38tmzt_mp900c_is that a new enough haret?
03:12.39dcordesfoobar`: it does that on some roms
03:12.47foobar`it's the one in the bootkit-kaiser dir
03:12.50dcordesfoobar`: known problem.
03:12.52foobar`hmm it worked before
03:12.55tmzt_mp900c_oh, its msm
03:13.12tmzt_mp900c_I get it from the logs
03:13.20tmzt_mp900c_I'll
03:13.56tmzt_mp900c_that won't help, can you give me that again?
03:14.05dcordestmzt_mp900c_: sorry, can't find it. could you take a look? http://de.pastebin.ca/raw/1083991
03:14.29dcordesfoobar`: you get the hang with the bootkit files?
03:14.42foobar`yeah
03:14.43dcordess/files/default.txt/
03:14.52tmzt_mp900c_ok, but it works without the de.
03:14.54tmzt_mp900c_as well
03:14.59dcordesfoobar`: see then you experience the random-lockup-at-100%-on-kaiser-problem.
03:15.12foobar`oh
03:15.21foobar`i didn't get the hang before I added the init=/sbin/init
03:15.21foobar`but i mean
03:15.26foobar`that shouldn't do anything
03:15.28tmzt_mp900c_does sd boot work well and should we try that?
03:15.33dcordesfoobar`: some roms are known to boot more reliable. I use dutty's may 22nd :D
03:15.41tmzt_mp900c_that would not affect it at that point
03:15.43foobar`hmm
03:16.19dcordesfoobar`: yes, I think you should try sd boot insted. it loads only the zImage to the ram.
03:16.35foobar`ok
03:16.41dcordestmzt_mp900c_: a while ago I detailed how to do that if you have scrollback
03:16.44foobar`i don't have an SD card I guess i'll try
03:16.56dcordesbummer
03:17.08tmzt_mp900c_huh
03:17.49foobar`i still want to know why angstrom doesn't work in qemu though heh
03:18.17dcordesyou might pass the akita mtype or so
03:18.27tmzt_mp900c_it looks like its dynamic, so lets make that 320*240*2
03:18.28foobar`but the kernel is fine
03:18.32foobar`it's the rootfs
03:18.42dcordesfoobar`: that does what?
03:18.51tmzt_mp900c_akita should work with -M ?
03:18.54foobar`that doesn't work
03:18.59tmzt_mp900c_which should give you a list
03:20.06dcordesfoobar`: you mean the the rootfs causes the hang?
03:20.16tmzt_mp900c_no, too early for that
03:20.22foobar`er no
03:20.29foobar`i think we're mixing two issues
03:20.30*** join/#htc-linux Dinde (n=kayser@sur-internet.net)
03:20.33foobar`1 is the haret hanging
03:20.40foobar`on 100%
03:20.44dcordesfoobar`: that is definetly rom related.
03:20.50dcordesread xda forum
03:20.54foobar`yeah
03:20.59foobar`that's not what i'm talking about anymore
03:21.10foobar`2 is totally different, I can't use angstrom rootfs in qemu
03:21.20dcordesyes don't mind me
03:21.20tmzt_mp900c_its the size of the initrd that is the problem or something with zImage
03:21.28tmzt_mp900c_but if you are using everything from bootkit
03:21.31foobar`ooh
03:21.41foobar`the initrd is maybe too bit
03:21.42foobar`big
03:21.43foobar`ok
03:21.44foobar`that makes sense
03:21.58dcordesfoobar`: I have a minimal image somewhere
03:22.02foobar`er but
03:22.06foobar`i want the full one
03:22.06foobar`hmm
03:22.17dcordeshttp://linuxtogo.org/~lgorris/images/
03:22.40dcordeshttp://linuxtogo.org/~lgorris/images/old/Angstrom-minimalist-image-glibc-ipk-2008.1-test-20080510-htckaiser.rootfs.cpio.gz 3,1M
03:22.42foobar`is there any way to get qemu to just load a big ass rootfs
03:22.42tmzt_mp900c_dcordes: the fb size should be changed that way in machine file
03:22.58dcordestmzt_mp900c_: put a resolution there?
03:24.33dcordesfoobar`: there is a script for openmoko that sets up a testing enviornment for use with the openmoko phone images based on qemu
03:24.38dcordesmaybe that will help you
03:24.57dcordesfreerunner is armv5 though
03:25.07dcordeswhile my kaiser rootfs builds are all armv6
03:26.07dcordeshttp://wiki.openmoko.org/wiki/MokoMakefile
03:27.06dcordestmzt_mp900c_: sorry I don't understand what to change in the board file
03:31.13foobar`hmm i guess i could just convert it to like ext2 and boot from that or something
03:31.24foobar`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.49foobar`dcordes, /sbin/init is a broken symlink to /sbin/init.sysvinit
03:38.08foobar`er
03:38.20foobar`nm its there
03:38.23foobar`so i got it to boot again
03:38.26foobar`with the init= option
03:38.32foobar`but it just dropped me in a shell again
03:39.52tmztMSM_FB_SIZE
03:40.47tmzt0x25800
03:41.53tmztits about 4 screens worth now
03:42.37tmztdoes angstrom use busybox init?
03:43.16*** join/#htc-linux Sundial (n=Sundial@unaffiliated/sundial)
03:44.40tmztno2chem2: do you know anything about toolhelp.dll on mp900c?
03:45.35joshts0ginge: hows it going with that keyboard? and do you need anythign else?
03:49.06tmzt#define MSB_FB_SIZE 0x25800
03:49.11tmzt#define MSM_FB_SIZE 0x25800
03:50.02foobar`passing the init= looks like it did nothing
03:50.10foobar`there's no pipe, so I can't pipe dmesg to head
03:50.17foobar`is there a way to remap keys so i can get a pipe
03:50.46tmztthat'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.05tmztdmesg > tmp
03:51.11tmzthead < tmp
03:53.13foobar`yeah
03:53.20foobar`now my kb is all messed up
03:53.22foobar`enter does up
03:53.24foobar`er
03:53.24foobar`down
03:53.56tmztdid you use loadkeys?
03:54.13foobar`no (what is that?)
03:54.28foobar`it looks like even though i put init=/sbin/init
03:54.31tmztthat might me shell continuation if it goes down, do ctrl-c
03:54.41foobar`uh
03:54.45foobar`how do i do ctrl-c?
03:55.05tmztwin key?
03:55.13foobar`oh
03:55.16foobar`win = ctrl?
03:55.22tmztI think so
03:55.30tmztask dcordes
03:55.53foobar`i think trying to run "less" is what messed it up
03:56.00foobar`oh well, rebooting now
03:56.11tmztloadkeys will allow you to map you keys
03:56.19tmztq exits less
03:56.26tmztsometimes ctrl-c first
03:56.41tmztand busybox less is limited
03:57.20tmztif your init wasn't working it wouldn't finish booting
03:57.34tmztit only falls back to /sbin/init
03:57.53tmztare you on the minimal image?
03:58.04foobar`im using angstrom
03:58.15tmztand it does boot
03:58.16tmzt?
03:58.17dcordesback
03:58.18foobar`yeah
03:58.20foobar`so
03:58.24foobar`it looks like it's running
03:58.25tmztyou have set initrd set to that image?
03:58.28foobar`yeah
03:58.35foobar`it looks like its running /init
03:58.35tmztwhat are you trying to do?
03:58.38foobar`which is just a sh script
03:58.41foobar`that makes a shell
03:58.49tmztyes, it is an initrd
03:58.49foobar`even if i pass init=/sbin/init on the cmd line
03:58.56dcordesfoobar`: put the other /sbin/init* file then in cmdline
03:59.10foobar`?
03:59.13foobar`huh?
03:59.14dcordesin case /sbin/init is a broken symlink
03:59.17foobar`oh
03:59.19foobar`no it's not
03:59.20foobar`it's fine
03:59.40tmztit's confusing, is that angstrom an initramfs?
03:59.40dcordeswell don't waste your time with that crap I will make up a working one
03:59.49foobar`ok
04:00.57tmztlinux treats it as real root if its an initramfs, or starts /linuxrc to get to the root if its not (??)
04:01.28tmztrepacking it as cpio.gz should work
04:02.18dcordesit is a cpio.gz, tmzt
04:02.35tmztok
04:03.01dcordestmzt: will that  #define MSM_FB_SIZE 0x25800 reduce the size allocated in the ram for the framebuffer?
04:03.06tmztits falling back to /init then
04:03.10tmztyes
04:03.17dcordeshence the symlink
04:03.51dcordestmzt: ok I will try to boot then, with the *2 removed and the changed fb size
04:04.38tmzttrying to make sure the dma routine doesn't require the extended fb, but the vyres shouldn't be a problem
04:06.07tmztthere are osk things in that file, that might require the 2*
04:08.03dcordes#define MSM_FB_SIZE0x25800
04:08.20dcordes<PROTECTED>
04:08.56dcordestmzt: 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.26dcordestmzt: so what we assume is, with those changes fbset will print the framebuffer geometric attributeds ?res=v?res ?
04:12.41tmzt_mp900c_hey
04:12.47tmzt_mp900c_just lost xchat
04:13.14dcordeson your mp900c or desktop?
04:13.15tmzt_mp900c_did you get that last message about the /* */ ?
04:13.18tmzt_mp900c_desktop
04:13.18dcordesno
04:13.26dcordesI just put double slash
04:13.43dcordes<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.29dcordestmzt: hostap doesn't like you no? :)
04:20.34tmzt_mp900c_[not a command] /* */ around 157 to 193 in msm_fb.c
04:20.47tmzt_mp900c_no, but its irq routing problem
04:22.09tmzt_mp900c_it redefines stuff already defined properly for kaiser above
04:22.40dcordesis that essential? I'm already booting now
04:24.10tmzt_mp900c_no
04:24.10tmzt_mp900c_I hope
04:24.10tmzt_mp900c_I think as long as nothing calls pan ioctl we will be alright
04:25.04dcordeswhat does pan ioctl do?
04:25.38tmzt_mp900c_I think that android uses it to swap buffers
04:26.26tmzt_mp900c_move up or down or left or right one screen (or maybe number of pixels, I don't know)
04:27.57dcordeswell the fbcon draws just fine
04:28.04dcordesnow remote logged in and starting X
04:28.17tmztin chroot?
04:28.23dcordesunderscore situation
04:28.27dcordesno I ran it normally now
04:28.31tmzttry a few times
04:28.38dcordesroot@(none):~# Xfbdev
04:28.38dcordes_XSERVTransSocketOpenCOTSServer: Unable to open socket for inet6
04:28.38dcordes_XSERVTransOpen: transport open failed for inet6/(none):0
04:28.38dcordes_XSERVTransMakeAllCOTSServerListeners: failed to open listener for inet6
04:28.38dcordes[config/hal] couldn't initialise context: (null) ((null))
04:28.44tmztdid you get xwd?
04:29.08dcordesok now 1/4 at top =black situation
04:29.14dcordessame output
04:29.31dcordesran and killed it 4 times now it draws fine
04:29.33tmzt/etc/init.d/hal start
04:29.48tmztgreat, but that doesn't fix ts does it?
04:29.52dcordesthere is no such
04:30.14tmztshould have been in same place as xev, but I forgot to mention it
04:30.22dcordesxev is present now.
04:30.44tmztDISPLAY=:0 xev
04:30.48tmzttouch the screen
04:30.58tmztdo you have screen
04:31.00tmzt?
04:31.05dcordeswait a second...
04:31.49tmztdon't worry just start another ssh
04:32.10dcordesheck just killed it searching for the xev*.ipk
04:32.16tmztif it is set up right it will work
04:32.43tmztsearching for an ipk, you should be able to opkg install *.ipk
04:32.57dcordescan't ssh in anymore died
04:33.00tmztand you have scp now
04:33.02tmztoh
04:33.10dcordesI have a 5M limit
04:33.19dcordesaccording to the phone supported
04:33.22dcordesr
04:33.38tmztthen nc -p 22 -l -e /bin/sh would be a better choice
04:33.46dcordeshuh
04:33.57dcordeshas no clue of netcat
04:34.02tmztless overhead
04:34.19dcordesoh right, no encryption?
04:34.37tmztno no second ssh connection
04:34.46tmztsame as telnet
04:34.56tmzttelnetd would be better
04:35.10tmztnc gets anoying, but works when nothing else does
04:35.31tmztwe and ginge should work on bluetooth next
04:35.35dcordeswell it does work I just have to be careful with bigger file operations because of dma prob
04:35.40foobar`uh
04:35.44foobar`so i just got it to boot
04:35.46dcordesyea bluetooth
04:35.46tmztdo you have bluetooth dongle
04:35.55foobar`by editing the cpio and making /init point to /sbin/init
04:36.01foobar`but now the kb doesn't work at all
04:36.04dcordestmzt: yes one of the in-jack ones
04:36.09tmztshould be uart and a gpio to start it
04:36.22dcordesfoobar`: I already started making a new rootfs
04:36.27foobar`ok
04:36.39tmzthuh?
04:36.47dcordeshm?
04:36.49dcordes^^
04:36.54tmztin-jack
04:37.05tmztplugin?
04:37.10dcordeswait need to look up the correct word.
04:37.22tmztusb?
04:37.45dcordesyes the whole device disappears in the usb jack
04:37.53dcordesusb connector
04:38.21tmztI have very small IrDA now, but no bt that small
04:38.33tmztbut if it supports hci it should work
04:38.41tmztfor rfcomm
04:38.42dcordeshttp://ecx.images-amazon.com/images/I/41IPDNrzCGL._SS400_.jpg
04:39.17tmztincredible
04:39.50tmztbut there is microsd wifi so not that incredible, even if it sticks out
04:41.54tmztar x *.ipk
04:42.16*** join/#htc-linux dcordes_ (n=dcordes@unaffiliated/dcordes)
04:42.17tmzttar xzf data.tar.gz /usr/bin/xev
04:42.22tmzttar xzf data.tar.gz /usr/bin/xev
04:42.25tmztar x *.ipk
04:42.27tmzttar xzf data.tar.gz /usr/bin/xev
04:43.06tmztstrace 2>/dev/null slows things down nicely too
04:43.28*** join/#htc-linux Dinde (n=kayser@sur-internet.net)
04:43.51dcordes_oh a kayser
04:56.36tmztdcordes: are you there?
04:56.52tmztoh, it timed out
04:58.23tmztit 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.45tmztif 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.50dcordes_I forgot about xwd noo
05:02.12tmztis the mmc interfering with the chroot, is that why it didn't work earlier?
05:02.36dcordes_good point
05:03.13tmztthe other libraries are small enough they should not be a problem, we can just run Xfbdev from tmpfs
05:04.01tmztcan you login now?
05:04.12dcordes_I just rebooted because the revers refused to work
05:04.43dcordes_I was able to connect from kaiser but afterwards not the other way around
05:04.47tmztwe can do this from console, and get bt working later when others are here
05:04.58tmztwith sshd or nc?
05:05.11dcordes_ssh
05:05.19dcordes_it worked before, the same way
05:05.30tmztssh bust be running, but can be in background
05:05.50tmztcheck who on your desktop
05:07.30tmztthis stuff drive me nuts but ssh -X was what we wanted, to run bins from the desktop
05:08.10tmztbut we would have to do three ssh's to make it work if started from desktop
05:08.15dcordes_oh now I got you
05:08.37dcordes_that will empty my wallet
05:08.41tmztnetstat -tp
05:08.54tmztyeah, don't do that
05:09.01dcordes_next week I can pump through that connection whatever I want
05:09.57tmztok
05:10.06tmztdid you add those getty's?
05:10.27dcordes_hm again, I was able to connect from kaiser, but on the pc it times out now
05:10.36dcordes_yes I should have 5 vts
05:10.49*** join/#htc-linux Dinde (n=kayser@sur-internet.net)
05:11.15tmztthe 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.50tmztwe just need to be able to start X, wait and change back to a working console,
05:12.10dcordes_right so what about the chvt button?
05:12.21tmztif the env's are in the chroot (they should be), it should work
05:12.33tmztdumpkeys > keys
05:12.41tmztvi keys
05:12.47tmztloadkeys keys
05:12.54tmztdo that with tmpfs though
05:13.19dcordes_can I do that operation from the desktop
05:13.20dcordes_?
05:13.26tmztno
05:13.30dcordes_ok
05:13.35tmztyou can edit it though
05:13.54tmztit might be the same keymap (not hw keymap in machine file, a different one)
05:14.01dcordes_was just curious if dumpkeys came out of some file but that would make no sense
05:14.15tmztbut you still need to get it to kaiser and loadkeys
05:15.21tmztDecr_Console Incr_Console
05:15.34tmztmove between vt's, but not in X (??)
05:18.58dcordes_it is set to 105/106(left/right) +alt
05:18.59dcordes_here
05:19.22tmztstring F1 = "\033[[A"
05:19.43tmztfind something to map onto F1
05:19.58tmztfn+a .. fn+k would work
05:20.03dcordes_wouldn't I still need ctrl+alt then?
05:20.06dcordes_I only have ctrl
05:20.32tmztdo a showkey and press camera
05:21.08dcordes_I just replaced alt with control to try ctrl+left/right
05:21.15dcordes_but that won't work
05:21.18dcordes_(vts are on)
05:21.32tmztdo you get anything for camera?
05:21.38tmztand did you loadkeys keys?
05:22.08dcordes_camera is two keys, soft press and hard press
05:22.21dcordes_so you can focus, than take the picture
05:22.38tmztConsole_1 Console_2, map those to whatever you want
05:22.40dcordes_43 pressrelease is low
05:22.43dcordes_43 pressrelease is soft
05:23.12tmztkeycode 43?
05:23.14dcordes_yes
05:23.36dcordes_it does a backslash currently
05:24.00tmztctrl alt F1 = Console_1 ?
05:24.16tmztdoes shift camera give you a pipe?
05:24.24dcordes_yea
05:25.12tmztdo you have ctrl alt F1 = Console_1
05:25.31dcordes_you mean in the dumpkeys output?
05:25.42tmztno, in keys
05:26.30tmztlets just do fn+a = Console_1 .. fn+j = Console_7
05:26.41tmztdo you have any Fn in keys file?
05:26.49dcordes_keys is the dumpkeys output
05:27.03tmztwhat keycode do you get from Fn (showkey)
05:27.13tmztI know
05:27.19dcordes_none
05:27.28dcordes_it's because our special driver does it in the kernel
05:28.01tmztdo you have any other key with a keycode?
05:28.06*** join/#htc-linux Othello__ (i=Magorium@gateway/tor/x-47d4f34bd3f6ad21)
05:28.26dcordes_argh now I can't exit showkey
05:28.34tmztwait
05:28.35dcordes_oh timed out
05:28.39tmztit will go away
05:29.04tmztit puts console in raw so you can't exit
05:30.02tmztthere is a standard way to do keyboard leds, even beyond numlock capslock scrolllock
05:30.30dcordes_control alt keycode 59 = Console_1
05:30.41dcordes_keycode 59 = F1
05:30.45tmztyou 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.16tmztfind keycode 58 in keys
05:31.20tmztadd:
05:31.46tmzt[tab]   control keycode 59 = Console_1
05:31.57tmztdo the same through f7
05:32.21tmztConsole_7
05:32.33dcordes_[tab]   control keycode 58 = Console_1
05:32.37dcordes_?
05:32.39tmztstill won't work for X though
05:32.49tmztyes
05:32.58dcordes_something for X is what is of use
05:33.00tmztwhatever keycode ?? = F1
05:33.06tmztI know
05:33.17tmztyou need a control and an alt
05:33.30dcordes_on the zaurus it is just fn left right
05:33.32tmztfn is to the far left on keyboard
05:33.39dcordes_and zaurus also has Xfbdev I think
05:33.39tmztshift is on far right?
05:34.11dcordes_http://wiki.xda-developers.com/index.php?pagename=Kaiser_Keyboard German one
05:34.19dcordes_shift is far left
05:34.25tmztdo you get a keycode for shift?
05:35.34dcordes_now because also shfit is hardware
05:35.40dcordes_s/hardware/kernel/
05:36.12dcordes_I will look at the zaurus keymap for chvt
05:36.22tmztstarting X killed my mp900c
05:36.35tmztmust been battery
05:38.29dcordes_isn't it bad for those batteries to blow them completely empty?
05:38.37dcordes_I keep forgetting to turn off kaiser when in angstrom
05:40.38dcordes_need to charge akita a bit before I can turn it on
05:41.03tmztthey ever get the bootloader for those?
05:42.22dcordes_I use the sharp bootloader
05:42.37tmztso limited zImage size
05:42.44dcordes_right
05:43.03tmztakita is integrated cf hdd?
05:43.12dcordes_nope
05:43.20dcordes_it's sl-c1000
05:43.30tmztonly know those from qemu source
05:43.33dcordes_the one from the latest generation without hd
05:44.03tmztthey all share most of the code, except for is there a cf hdd, and similar
05:44.20dcordes_I like its rich keyboard and big vga screen
05:44.36tmztif you can find a keycode map it to Ctrl
05:44.51tmztI don't have the file in front of me right now
05:45.00tmztvga
05:45.07tmztmine is half vga
05:45.14dcordes_your?
05:45.24tmztand stn unfortunately
05:45.26tmztmp900c
05:45.34tmztis also have broken sl5500
05:45.44tmztwhich is why I got the Q
05:45.48dcordes_640 x 240 HVGA
05:45.57tmztyes
05:46.27dcordes_2 x USB are those powered with host controller?
05:46.28tmztI liked the vertical compact design, would have gotten htc excalibur, but needed cdma
05:46.43tmztone is host the other client
05:46.58tmztnice keyboard and no jp
05:47.07tmztwhich looked confusing
05:47.18dcordes_what about juice on the host usb?
05:47.36dcordes_ok now the batteryr is full enough to boot
05:47.39tmztenough for usb flash or mouse/keyboard
05:47.51dcordes_..I have no problem with the jp keypad
05:48.10tmztyes, I would have gotten it anyway, but it did look confusing
05:48.16dcordes_I'm so used to the akita keyboard, I can type quite fast on it
05:48.24tmztand I got cheap mp900c
05:48.52tmztI got cheap sl5500 too, opened package for 100 a few years ago
05:49.05dcordes_100 us dollars?
05:49.09tmztyes
05:49.24tmztthought it was the greyscale one
05:49.31tmztthe other linux pda at the time
05:49.59tmztmp900c was a little less than that a year ago
05:50.16dcordes_lol the zaurus fbcon font looks huge now
05:50.27dcordes_vs 3x6 on kaiser
05:50.29tmztcould have got as many as I wanted but didn't have the money
05:50.55tmztyou have a 3x6 font, I want that for aalib tv
05:51.25dcordes_you payed 100 for the mp900c also?
05:51.34tmztgetting intelfb to work would be better
05:51.40tmzt70/80
05:53.04dcordes_ok in zaurus keymap now
05:53.19dcordes_that's quite cheap I'd also take one
05:53.40tmztI think the keyboard is bigger than akita, but the whole unit is
05:53.58tmztalso, full size 16bit pcmcia in side, cf type 3 in front
05:54.07dcordes_keycode 105 = Left
05:54.11tmztif only the usb host worked in linux
05:54.26dcordes_<PROTECTED>
05:54.27tmztFn?
05:54.33dcordes_keycode 106 = Right
05:54.51dcordes_<PROTECTED>
05:54.57tmztFn must be altgr
05:55.02dcordes_I think so
05:55.13dcordes_how can I open a new vt just like inittab would?
05:55.26tmztif Incr_ Decr_Console works in X then there isn't a problem
05:55.45tmztjust always wondered why I had to Ctrl Alt F1
05:55.53tmztwhat is Console_1?
05:55.54dcordes_I'm not too sure anymore
05:56.06dcordes_how can I open an ew vt to try?
05:56.22tmzton akitea?
05:56.38dcordes_anywhere
05:56.40tmzta new
05:56.49dcordes_a new, yes sorry
05:56.50tmztalt f2, fn right
05:57.08dcordes_no f keys
05:57.14tmztalt left doesn't work on my pc
05:57.29tmztctrl alt left doesn't either
05:57.58tmztits an xkb thing then
05:58.41tmztI don't have altgr anyway, us layout
05:58.51tmztin X
05:59.41tmztchange /etc/inittab and init U
05:59.51dcordes_I'm quite sure you were able to chvt out of X
05:59.57dcordes_but they changed it at some point in the paste
06:00.20dcordes_I changed inittat and shutdown -r now
06:00.32dcordes_s/inittat/inittab/
06:01.48dcordes_oh no
06:02.00tmztcan 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.07dcordes_now that I added the gettys I can't kill the X anymore with ctrl alt backspace
06:02.39tmztand we will work with ginge and cr2 to trace bt if we can
06:02.45dcordes_which leds?
06:02.48tmztbut I need to go now
06:02.55dcordes_ok
06:02.59tmztthe fn and shift leds, do you have those?
06:03.03dcordes_thank you very much
06:03.05dcordes_yes
06:03.14tmztyeah, 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.37nighthawk08I 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.40cmonexhi 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.09nighthawk08how can I debug the boot process?
10:26.58cmonexcr2: if you repied, I didn't see, got disconnected
10:27.05cmonexreplied*
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.18nighthawk08how can I debug the boot process?
11:57.48cmonexnighthawk08: on android? :)
12:11.45*** join/#htc-linux dwaradzyn (n=dwaradzy@damian8155.net.autocom.pl)
12:19.30marajinquack
12:19.38marajinor for those of you who are still sane...
12:19.40marajinHi
12:23.19dwaradzynhi. 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.02dwaradzynin other words: do we have to wait for 6.1 official update for other phones to make the driver work?
12:26.37cmonexdwaradzyn
12:26.42cmonexddi.dll is written by HTC
12:27.08cmonexor if you mean non HTC devices
12:27.13cmonexthen it is wiritten by their OEM
12:27.52dwaradzynso unofficial 6.1 roms do not have a ddi.dll compatible with the driver?
12:28.57dwaradzynevery polaris 6.1 rom has ddi.dll from one of original htc 6.0 roms?
12:32.30cmonexI don't know.
12:32.52cmonexI'm not sure I understand your question
12:33.12cmonexyou mean polaris has no WM 6.1 update officially ?
12:33.18cmonexI dont have a polaris so this is why I'm asking
12:36.01dcordes_1,+
12:36.27*** join/#htc-linux marbalon (n=balon@aefx230.neoplus.adsl.tpnet.pl)
12:45.49marajinhey 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.38divisionmdhello
13:53.38divisionmdanyone tried to install Linux to a HTC P3300 ?
14:00.38BabelOdivisionmd: http://www.handhelds.org/moin/moin.cgi/Artemis
14:01.27BabelOdivisionmd: and http://forum.xda-developers.com/showthread.php?t=393973&highlight=linux
14:02.18divisionmdthanks babe10
14:03.33divisionmdgot some error trying to run that...
14:03.57BabelOdivisionmd: which one ?
14:04.04divisionmdbut i think i know why..
14:04.11divisionmdi ran the file from the sd card..
14:04.14BabelOdivisionmd: you have a dmesg.txt file generated
14:04.18divisionmdhttp://forum.xda-developers.com/showthread.php?t=393973
14:04.24gingehey guys. seen the latest google android kernel commits?
14:04.29divisionmdneed the file in the / root..
14:04.32divisionmdre-testing..
14:05.00BabelOyou need both file at same place yes and at least 200b free
14:05.06divisionmdok
14:05.42divisionmdcool...
14:05.47divisionmdworkin..
14:05.54divisionmdcreating some root file..
14:06.02cmonexginge: why?
14:06.37gingecmonex: it has hardware support that related to msm72xx devices
14:08.03cmonexoh, you mean official support?
14:08.35gingecmonex: about as official as we can expect
14:08.51gingehttp://git.android.com/?p=kernel.git;a=shortlog;h=android-msm-2.6.25 if you are interested
14:10.38BabelOdivisionmd: don't worry but first boot is very long :)
14:11.04cmonexginge: neat!
14:11.53gingecmonex: 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.10cmonexoh
14:13.17cmonexwhat kaiser problems?
14:13.23divisionmdbabel10 do you havea p3300 ?
14:14.41BabelOdivisionmd: yes, it is me who have made the port and the image you are trying
14:15.25gingecmonex: dma transactions errors on mmc with large block transfers
14:16.10divisionmdNicely done ..
14:16.26cmonexoh, I see
14:16.49divisionmdBabel10 have you haver heard of p3300 just "crashing" or dying.. more like the power is just gone.
14:16.56divisionmdhave 5 p3300 with all the same problem..
14:17.18divisionmdi am thinking there is something wrong with the battery..
14:17.46cmonex5 batteries?
14:17.56divisionmdfive phones..
14:18.00divisionmdall the same problem..
14:18.09divisionmdfive different batteries..
14:18.15divisionmdsomething is wrong with the p3300
14:18.36divisionmdthey just "die" or .. power off
14:18.46BabelOdivisionmd: no, never heard about that. what do you do just before it crash ?
14:19.10divisionmdi can be anywhere doing anything on the phone..
14:19.30divisionmdthe one thing i have time to see is that the "battery" warning is flashing..
14:19.47divisionmdeven though the battery is fully charged..
14:19.53BabelOdivisionmd: ok, i got some backlight power off, with an old WM6 release, because backlight was set too low
14:21.11divisionmdok
14:21.17divisionmdwill change that setting..
14:21.57BabelOdivisionmd: is it official battery ?
14:22.05divisionmdyes.
14:22.32divisionmdmust be something with these batteries..
14:22.41divisionmdthe phone worked very well for over 1-2 years..
14:22.56divisionmdthen after that time all five phones got the same error
14:22.59BabelOdivisionmd: ok :(
14:25.25divisionmdBabel do you have a complete "root file" that i can use
14:25.41divisionmdthe phone crashes when it starts to create that file..
14:25.50divisionmdit gets to about 80 mb..
14:35.42BabelOdivisionmd: you have enough free space ?
14:36.08divisionmd1200 mb free...
14:36.15BabelOdivisionmd: ok
14:37.06BabelOdivisionmd: you can create a ext3 partition on your sdcard
14:37.18divisionmdhow do i do that..
14:37.19BabelOand unpack the bz2 file on it
14:37.46divisionmdhow do i format the sd disk to ext3 and copy that over..
14:37.56divisionmdmaybe i will try this again once i have working batteries..
14:38.16BabelOdivisionmd: maybe it is better yes
14:38.28BabelOwait to got a working battery
14:38.53BabelOso you can try easily this linux installer without need to reformat sdcard
14:38.53divisionmdyep..
14:38.58divisionmdyep
14:39.02divisionmdthanks for help Babel10
14:52.29*** join/#htc-linux nighthawk08 (n=a@nighthaw.bb.netvision.net.il)
14:53.03nighthawk08how can I debug the boot process? haret with ?ngstr?m
14:53.14nighthawk08angstrom *
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.13dcordesany kaiser owners present?
16:07.24dcordeshi tmzt
16:07.28tmzthey
16:07.46cmonexhi tmzt
16:07.47cmonex:)
16:07.59cmonexso why does cr2 want to know about 900c rom?
16:07.59dcordesmarajin: did we find out what causes the keyboard only making [B problem in angstrom?
16:08.08tmztI should have just told you to remap camera as alt with loadkeys
16:08.23tmztyou can always put it back on backslash\pipe
16:08.35dcordesdidn't use the two anyway
16:09.00tmztI was asking about haret on mp900c, and he asked me if it was xip or not
16:09.39tmztalso, the doesn't seem to be a toolhelp,dll, is that in your rom?
16:10.44cmonexoh
16:10.52cmonextoolhelp.dll is in my rom yes
16:11.12cmonexbut if you use my rom.. you'll have to invalidate gapi (gx.dll in \windows)
16:11.18cmonexsomehow haret doesnt like gapi
16:11.19tmztI was wondering why lsmod and ps didn't work, thinking it just was not detecting the device
16:11.28cmonexer, lsmod?
16:11.37tmztit tries to get the fb address vram
16:11.39cmonexanyway, i cant see why xip matters, can you explain?
16:11.49tmztno, I don't know why
16:11.55cmonexand by xip what do you mean... the rom image is xip, but that doesnt mean the programs xip from rom ;)
16:11.58cmonexand actually
16:12.07tmztlsmod lists the loaded device drivers using toolhelp apparently
16:12.08cmonexon the hpc2000 rom version they do xip from rom, even the kernel does
16:12.13tmztps is the processes
16:12.20cmonexon ce.net, the rom is xip but the apps are running from ram, as they are stored compressed
16:12.27cmonexand the kernel is xip but xip in ram, not rom
16:12.30tmztok
16:12.32cmonexso this is a complex question.
16:12.41cmonexso i wanted to know what he really wanted to ask
16:12.41cmonex:)
16:12.48tmztwe got the map from the bootloader to eliminate the known stuff
16:13.06cmonexmap... driver list... process list... heh, itsutils has them too
16:13.07tmztI am hoping to trace usb, since I don't see any definitive information on it
16:13.09cmonexbut it also needs tooolhelp :)
16:13.22tmztthat uses rapi from a desktop doesn't it
16:13.31cmonexyeah, ...
16:13.32cmonexhmm,
16:13.33cmonex<tmzt> we got the map from the bootloader to eliminate the known stuff
16:13.37cmonexeliminate what?
16:13.51tmztknown addresses for devices
16:14.49tmztwhat do you use to trace ce, jtag now?
16:15.31tmztand is there a dmesg type buffer in ram or over the serial?
16:18.26cmonexwell
16:18.33cmonexi dont use anything to trace ce, for now
16:18.38cmonexI havent needed it yet
16:18.51cmonexwell an ordinary program can be debugged with IDA debugger
16:19.00cmonexbtw jtag works on 900c, have you seen my site where i describe how?
16:19.07tmztyes
16:19.11cmonexok :)
16:19.11tmztbut I only have one
16:19.17cmonexeh?
16:19.24tmztone mp900c, not ten or so
16:19.28cmonexlol
16:19.31cmonexi needed jtag
16:19.34cmonexto unbrick some 900c'a
16:19.56cmonexone was stupidly flashed a bootloader update with buggy bootloader installed in rom
16:19.57tmztunder the pcmcia, right?
16:20.03cmonexanother just died out of the blue, and owner gave it to me
16:20.17cmonexappears the NOR can corrupt and flip some bits and make the bootloader not boot anymore
16:20.31tmztdump pxa27x made mine go really funny yesterday, I was a little scared
16:20.41tmztbut I think it was the btuart registers and the pic
16:20.43cmonexdont be scared. jtag is always there :)
16:20.47cmonexbtuart is PIC..
16:20.51tmztscreen flashed, leds blinked
16:20.54cmonexI mean, the PIC uses those registers
16:20.57cmonexbut why do you need that?
16:21.03cmonexcosmo0 wrote the keyboard etc drivers already
16:21.13tmztI know, they are in jlime
16:21.21cmonexPIC handles keyboard, touchscreen, backlight
16:21.37cmonexand leds
16:21.41cmonexI 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.50cmonexI forget which register to poke for that
16:21.52tmztthe isp usb chip has 4 one byte registers so finding it by dumping ram seems unlikely
16:22.00cmonexbut it is normal if you manage to poke that register
16:22.05cmonexso do not get too scared :)
16:22.23cmonexoh the usb, i know nothing about that one yet
16:22.29cmonexusb host isnt working yet then?
16:22.30tmztso I want to find a gpio or irq for it in interrupt mode and find the usb driver from there
16:22.33tmztno
16:22.43tmzthost and client are on the same chip
16:22.44cmonexhmm.. one sec let me check something
16:27.51cmonexok
16:28.00cmonexis this usb isp1161?
16:28.22cmonexif so, i suggest checking the physical memory mapped range at 0xD000000
16:28.46cmonexi have a list of what drivers get what mem, and isp1161 has this
16:29.18cmonexvirtual addr is 0x88700000/0xA8700000
16:29.39tmzthow likely is it be at the top of that range, just thinking about the decode logic on the board?
16:30.21cmonexthe  driver gets 8 byte at that address
16:30.39cmonexbytes*
16:30.41tmztgreat
16:30.53cmonex:)
16:30.57tmztso its not in the bootloader map then?
16:31.01cmonexno
16:31.23cmonexI stole this list from a driver disasm, that lists some nice mem map for these things
16:31.26tmztno you know anything about the debugme kernels?
16:31.41cmonexI can give you the txt file where I copypasted it from the driver :P
16:31.49cmonexits not just usb, loads of other things
16:31.51tmztok
16:32.02cmonexand it seems correct for the ones that I'm familiar with
16:32.11tmztmaybe jlime can but it on devfiles or jime.git?
16:32.28cmonexlike, NAND, low_memory,
16:32.30cmonexand xscale stuff
16:32.58cmonexdoes dcc work for you?
16:33.14tmztI want to have mtd and bootloader eventially
16:33.21cmonexmtd = ?
16:33.44tmztI need to open some ports, but I found the stupid checkbox in my router that was blocking everything yesterday
16:33.49cmonexlol
16:33.55cmonexdont put it in dmz if not necessary
16:33.58cmonexjust forward the ports
16:34.02tmztflash memory technology devices
16:34.11cmonexhave you jlime guys heard about low_memory btw ?
16:34.22cmonexit is a special range in memory (RAM)
16:34.26tmztI'm just a user
16:34.28cmonexmany global vars to control 900c are stored there
16:34.33cmonexI found the meaning of many of them
16:34.40tmztcool
16:34.41cmonexlike, which one to use for cpu clock setting
16:34.51tmztKristoffer might be able to use that stuff
16:34.52cmonexor which one to use to tell teh bootloader to force a soft or hard reset
16:34.55cmonexmm, ok
16:34.59cmonexlet me join jlime :P
16:35.02tmztsoft reset
16:35.09cmonexmeh, he's not online
16:35.13tmzthe's away for awhile
16:35.13cmonexheh soft reset, i wrote program for that
16:35.18cmonexits in my custom rom
16:35.22cmonexi didnt put the hardreset one in it
16:35.38tmztoh, but not from linux obviously
16:35.39cmonexall the program does is set the flag in that global var
16:35.47cmonexthen forces system suspend via winapi
16:36.01cmonexthen user has to power it on to wake bootloader up...
16:36.08cmonexno, not from linux but will be easy to port it
16:36.17tmztwe can only shut off the screen and slow the clock
16:36.17cmonexthe powerup part is not nice, I was looking for automatic solution
16:36.21cmonexI can set alarm
16:36.25cmonexbut
16:36.33cmonexwince doesnt let you set one that is in less than 10 secs :@
16:36.36tmztbut linux erases the ram
16:36.40cmonexI could go on and on
16:36.47cmonexnah linux wont erase the low_memory
16:36.48cmonexor if it does
16:36.51cmonexthat's a serious bug
16:36.59cmonexthen you wont have a way to proper suspend / reset
16:37.17cmonexthe bootloader *needs* valid values in that ram
16:37.32cmonexgood point btw, i'll publish the info on jlime
16:37.35tmztit just does a hardreset because the windows in ram is wiped out
16:37.43cmonexyes, hard reset is easy to force
16:37.58tmztI actually use debian, but some stuff from jlime
16:38.00cmonexif ce kernel sees a specific flag (a string really) is not in ram at a specific offset
16:38.02cmonexit will wipe everything
16:38.12cmonex(i.e. object store corruption)
16:39.14tmztthe bootloadeer is a ce kernel?
16:39.57tmztdo you know how to hide the cursor in ce?
16:43.16cmonexno
16:43.19cmonexthe bootloader is bootloader
16:43.30cmonexthe cursor is easy to hide by using the right gwes.mui file
16:43.35cmonexI'm sure I posted it
16:43.41cmonexalso my rom (the version 2) has it in rom
16:43.49cmonexif 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.49cmonexhehehe
16:45.58tmzt_mp900chey, I started firefox to forward that port and brought back an old session with a bunch of junk
16:46.02tmzt_mp900cso I am on irrsi
16:46.18tmzt_mp900cif the irq routing was right for hostap,
16:46.33tmzt_mp900cit was pretty stable before but its been dropping off
16:47.36tmzt_mp900cyes, when I bootlinux the hardware mouse cursor stays on the screen
16:47.48tmzt_mp900cbut if I do certain things first it goes away
16:48.07tmzt_mp900csince I don't calibrate when I am only boot linux, I usually have to alt-tab back and press enter
16:49.30tmzt_mp900cif you know how to hide it I will add to haret if I detect PXA and OEM NEC
16:49.37tmzt_mp900cit detects
16:54.51cmonexheh
16:54.54cmonexyou still there tmzt_mp900c?
16:54.57tmzt_mp900cyes
16:55.09tmzt_mp900cthat was my desktop
16:55.59*** join/#htc-linux tmzt (n=tmzt@adsl-70-228-87-174.dsl.akrnoh.ameritech.net)
16:56.52tmzt_mp900ccan't turn off the routers ident either
16:57.15tmzt_mp900cdid you get the question about the hardware mouse cursor?
16:58.42tmzt_mp900cyou can try sending those to tmzt if you want to
16:59.17cmonexyes
16:59.21cmonex[18:39:11] <tmzt> the bootloadeer is a ce kernel?
16:59.22cmonex[18:39:54] <tmzt> do you know how to hide the cursor in ce?
16:59.22cmonex[18:43:12] <cmonex> no
16:59.22cmonex[18:43:16] <cmonex> the bootloader is bootloader
16:59.22cmonex[18:43:27] <cmonex> the cursor is easy to hide by using the right gwes.mui file
16:59.22cmonex[18:43:32] <cmonex> I'm sure I posted it
16:59.24cmonex[18:43:38] <cmonex> also my rom (the version 2) has it in rom
16:59.26cmonex[18:43:46] <cmonex> if you mean mouse cursor :P
16:59.44cmonexi.e. on the version 2 rom you shouldnt have a problem.
16:59.49cmonexexcept of course the stupid gapi...
16:59.56tmzt_mp900cI only need to hide it from haret, but hiding it all the time would be ok
16:59.57cmonexyou could edit haret to not look for gx.dll though
17:00.09cmonexrecompile or just search for gx.dll heh
17:00.14cmonexin the exe
17:00.48cr2hi cmonex
17:01.03tmzt_mp900cit just looks for the vram to put the launch text?
17:01.32cmonexhi cr2
17:01.34tmzt_mp900cI'm thinking about making haret hide the mouse cursor on mp900c
17:01.37cmonexwhy did you want to know about xip?
17:01.51cmonextmzt: as i said it is easy to fix the mouse cursor.
17:02.05cr2is the nk.exe xip in nor, or is it running from ram ?
17:02.08cmonexa question, which rom version are you on?
17:02.14cmonexcr2 : depends
17:02.21cmonexon hpc2000 and the beta cenet, it is xip in nor
17:02.26cmonexon final cenet roms it is xip in ram
17:02.31cmonexwhy do you ask?
17:02.40cr2cmonex: on mp900
17:02.52cmonexyes i was talking about that
17:03.08cr2because i'd like to see the nk.exe from mp900c for tmzt
17:03.20cr2ok, i see it in the log.
17:03.49cr2btuart can be traced directly with mmutrace .
17:04.59cmonexwhat do you need to know about btuart?
17:05.10cmonexhmm nk.exe, you need a dump of it or?û
17:05.12cr2cmonex: btw, is the MODULE structure layout known for wince2.11 ?
17:05.35cr2nothing, tmzt wanted to see the whole btuart data communication.
17:06.03tmztno, I was just explaining why I thought pxa27x crashed the machine
17:06.06tmztsorry,
17:06.17tmztI don't need that btuart trace
17:06.21cr2ok
17:06.32cmonexcr2: lol wince 2.11
17:06.36cmonexwhy do you need 2.11?
17:06.56cmonexI have no information on the Module struct there but I bet it is very similar,
17:07.01cmonexdumprom can dump ce 2.11 roms just fine
17:07.07cmonexaftter you manually add the ECEC header
17:07.08cr2cmonex: i have jornada820, but don't have platform builder for 2.11
17:07.15cmonexoooo jornada 820 :D
17:07.19cmonexi dumped the rom of that
17:07.24cr2cmonex: there is no ECEC in 2.11
17:07.30cmonexno,but dumprom needs ECEC to dump
17:07.36cmonexso you add it manually after locating romhdr offset
17:07.40cmonexthen dumprom is happy :)
17:07.43cmonexand dumps the files
17:08.02cr2well, how do it find the romhdr offset ?
17:08.25cmonexwith trick heh
17:08.41cmonexsearch for stuff like c0 00 00 00 00 ... thats the cpu id in romhdr and almost unique enough
17:08.45cr2i wanted to modify the testwm5, but MODULE chain in ROM has different size and some different members.
17:08.53cmonexoh testwm5 is not needed
17:08.57cmonexyou dump the rom from 0x0
17:09.00cmonexthen dumprom :)
17:09.13cmonexthe Module struct size always changes from ce version to ce version
17:09.18cr2yes, but testwm5 looked easier :)
17:09.20cmonexce5 removes a member from start of it
17:09.27cmonexwhat a pain in the ass it was until i found out..
17:09.37cr2yeah.
17:09.41cmonexlooked easier..
17:09.48cmonexbut to be honest testwm5 doesnt even work on cenet
17:09.51cmonexlet alone 2.11
17:10.00cmonexeven cenet has diffetent Module size
17:10.01cr2cmonex: if you have the 820 rom, can you split it into files ?
17:10.06cmonexyes, i already did
17:10.09cmonexlet me find it
17:10.14cr2thanks.
17:10.31cr2yes, that's toolhelp.dll is so useful ;)
17:10.39cmonexheh
17:10.47cmonextoolhelp is on my site if anyone needs it..
17:11.24cr2ok.
17:11.55cr2tmzt: if you'll have the toolhelp.dll, you'll have lsmod and ps (and kill) working.
17:12.16tmzt_mp900ccan I put it in the cwd or \windows then?
17:12.35cr2cwd is ok, afair.
17:12.56tmzt_mp900chpc*.net?
17:14.39tmzt_mp900cdo you know where on necsite?
17:17.07cmonexhpcmonex.net, heh
17:17.13cmonexthe izemize page on it
17:17.24cmonexjust drop the dll in root
17:17.26cmonex\
17:18.07tmzt_mp900carm dlls, got it
17:18.56cmonexcool
17:21.05*** join/#htc-linux LunohoD (n=alex@e180070225.adsl.alicedsl.de)
17:21.40tmztcan I put stuff on that doc rom instead of the spreadsheet and stuff without affecting the nor rom?
17:21.49tmzt(in ce)
17:23.04*** join/#htc-linux smev` (n=smev@S010600215514f029.cg.shawcable.net)
17:23.36cmonexsure
17:23.44cmonexthey are two different chips physically
17:23.54cmonexthe doc thing is a nand chip
17:23.58cmonexmsystems something
17:24.03tmztI don't have the toolhelp its not in arm dlls
17:24.05tmzthold on
17:24.07cmonexer
17:24.14cmonexthere is a separate toolhelp zip on that page
17:24.25cmonexbtw iirc the jllime doesnt handle the DOC yet
17:24.27cmonexdoes it?
17:24.33cmonexit is strange, because we know the address of it
17:24.38cmonex0x08000000
17:24.43tmztgot it
17:24.52cmonex(in wince the virtual is 0x88000000/0xA8000000)
17:25.48cmonexbet it is because it is not entirely standard registers
17:25.55cmonexat least the msystem datasheets i got, none matches it
17:26.14cmonexmaybe i didnt get the right datasheets...does jlime have it?
17:26.17cmonexfor the msystems doc
17:27.08cr2cmang: g3 or g4 ? or g2 ?
17:27.20cr2cmonex: hm. g3 or g4 ? or g2 ?
17:27.35cmonexno idea
17:27.43cmonexall I know it is millennium 2000 (hope i remember that right)
17:27.44cr2how old is the device ?
17:27.53cmonexwas manufactured in 2003-2005
17:27.56cr2yes, it's g2. there is linux driver for it.
17:28.06cmonexoh
17:28.19cmonexwhere? :P
17:28.22cr2so it should be supported, once you know the base address and 8/16bit datapath.
17:28.27cmonexwe know the base addr
17:28.30cmonex0x08000000
17:28.39cmonexi'd guess it is 16bit
17:28.43cmonexbut I'll need to re-check
17:28.54cr2mdoc millennium was supported since ages.
17:29.06tmzttestwm5 still missing components
17:29.08cmonexto be honest..I get the 16bit idea from similar device :P
17:29.10tmztaygshell?
17:29.28cmonextmzt: testwm5 will not work on 900c unless you recompile it. module struct changed in ce5/wm5
17:29.35tmztok
17:29.38cmonexwhy do you need it though?
17:29.47cmonexwe have roms and romdumps and official romdumps and everything
17:29.52cmonexi even posted a kitchen on my site
17:30.10tmztnot sure what it does, just dumps dlls?
17:30.26cmonextestwm5 dumps the files from rom
17:30.37cmonexbut as we have romdumps already, testwm5 has nothing to offer
17:30.43cmonexcr2: i'm finding the j820 rom now
17:30.50cr2cmonex: ok.
17:31.15tmztlsmod works!
17:31.25cmonexcool
17:32.06tmzthttp://pastebin.no/13635
17:32.40cmonexheh
17:32.47cmonexthis just dumps the loaded dlls?
17:33.10tmztps: http://pastebin.no/13637
17:33.10cr2yes.
17:33.11cmonexi wrote program for wince that does the same :)
17:33.14cmonexbut i like this
17:33.32cr2cmonex: haret is a wince program :)
17:33.44cmonexyeah, I mean mine doesnt need toolhelp.dll :P
17:33.46cmonexheh
17:33.52tmzthttp://handhelds.org/~koconnor/haret/
17:34.05tmztfor what version?
17:34.13marajinmeh
17:34.17cr2cmonex: but then you need to know the MODULE internals.
17:34.23cmonexcr2: i do
17:34.34cmonexbtw
17:34.38cmonexcant find where i put the 820 rom
17:34.52cmonexgive me 2 more mins
17:35.01tmztusbd is the client?
17:35.53cmonexgood questio
17:35.54cmonexn
17:36.00cmonexok found 820 :)
17:36.28cr216777216 18. Nov 2006  820us.bin
17:36.45cr2after that i've cut the mask rom chips out :)
17:36.52cmonexer?
17:36.53tmztor usbslave.dll?
17:37.01cmonexhmm, ok, i forgot one thing
17:37.11cmonexto rewrite decompression method :)
17:37.18cmonexbecause apparently it is different for 2.11
17:37.29cr2cmonex: i have german and us version.
17:37.32cmonexso what dumprom dumps is not fully uncompressed
17:37.37cmonexI forgot I had plans to fix that
17:37.48cmonexI dont even have a 820 though..
17:38.02cr2cmonex: 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.20Misterisalve
17:38.26cr2s/lzh/lzx/
17:38.38cmonexheh
17:39.03cmonexwell this uses slightly different compression than ce3 or later
17:39.07cr2cmonex: and dumprom does not like my amd64.
17:39.16cr2ok.
17:39.23cmonexcr2: oh.. what does it do on amd64?
17:39.37*** part/#htc-linux Misteri (n=Alex@87.19.180.65)
17:39.47cr2cmonex: has some pointer problems ;) i need to cuse gcc -m32
17:40.10cmonexbleh.
17:40.22tmztit be nice if some of this stuff ran on linux, even the perl stuff requires windows dlls
17:41.07cr2yes, if the compression code will the written in c/c++, it will be portable.
17:41.21tmztI don't know if the source was all there,
17:41.34cr2dumprom always worked on x86-32, but the compression was a problem.
17:41.35tmztI also was going to port the remaining itsutils to librapi
17:42.06cr2tmzt: i've added many hw-related things to haret.
17:42.33cr2tmzt: the dumprom.cpp source was there from the very beginning.
17:42.58cr2and testwm5, btw. but it has many bugs in the headers.
17:43.01tmztok, I think I tried dumprom, and found information that I should use the perl tools instead
17:43.10cmonexheh
17:43.11tmztbut wine rapi doesn't work with synce
17:43.17cmonexdumprom is good for pre-wm5 anyway..
17:43.24cr2yes.
17:43.25cmonexbecause you dont have relocs anyway..
17:43.35cmonexon wm5 xip it is less than ideal :(
17:43.36tmztI was dumping wm5 though
17:43.49tmzt(the q)
17:44.13cr2cmonex: the most cool wince gadget i have is the cpq aero 8000.
17:44.13tmztif that usb mapping is right, and I have the drivers now, I can dump those?
17:44.22tmztand start to trace theme
17:44.24cr2now if i got haret/dumprom for that :)
17:44.35cmonexcr2: heh
17:44.44cmonexi played with one a while ago
17:44.45cmonexaero 8000
17:44.45cr2cmonex: sh4 cpu ;)
17:44.50cmonexhad no problem with my wifi or bt cards
17:44.51tmztthats the small one
17:44.52tmzt?
17:44.59cmonexboth had sh4 drivers
17:45.01cmonex:)
17:45.03cmonexso i liked the thing :)
17:45.04cr2cmonex: drivers ?
17:45.06cr2ok.
17:45.09cmonexyeah
17:45.09tmztI think I was going to buy one but it only had one cf
17:45.22cmonexsocketcom was crazy enough to make SH4 ce 2.11 drivers for my bluetooth cf card
17:45.31cmonextmzt: it has two cf and a pcmcia slot
17:45.33cr2cmonex: there was a linux port in 2000 for aero 8000.
17:45.37cmonexoh nice
17:45.38tmztthat's not it then
17:45.53cmonextmzt: i have some aero pspc somewhere, maybe thats what you mean :)
17:45.58cmonexaero 2140 i think, not sure
17:46.00tmztthis was a tiny device with a clear ce 2.11 Made for Windows CE badge
17:46.00cr2but it didn't more further because the pcmcia asic was not RE'd.
17:46.08cmonexyes, ce 2.11 palmsize pc
17:46.15cmonexcr2: what a shame
17:46.21cmonexit is one of the rare devices with three slots..
17:46.26cmonexput a big cf in the internal slot
17:46.31cmonexthen put bt in cf and wifi in pcmcia then happy
17:46.31cr2tmzt: aero 8000 is a wince notebook with 800x600 LCD.
17:46.37cmonex(bt in the extenral cf, i mean)
17:47.06cmonexalso it is cool it could use sdram
17:47.14cmonexso easy to extend the ram
17:47.16cr2cmonex: what do you think, is it possible to dump the rom off aero 8000 ?
17:47.32cmonexwell, sure, you just need to know where it resides for SH4 cpus
17:47.35tmztpatch shlo to do it?
17:47.40cmonexi made romdumper for sh3 and many mips devices
17:47.44cmonexfor ce 2.11
17:47.52*** join/#htc-linux marbalon (n=balon@aefx230.neoplus.adsl.tpnet.pl)
17:47.55cmonexmips sucks, because it is cpu dependent, where the rom is
17:48.01cmonexsh3 has it at a fixed address
17:48.04cmonexmaybe same for sh4
17:48.22cr2hmm, i can check for the addresses.
17:48.24cmonexby romdumper i mean physical rom copying
17:48.31cmonex(run the exe, dumps a 16MB file or whatever)
17:48.38cmonexok, if you can look in sh4 datasheet
17:48.42cmonexI'll recompile the app and send it to you
17:48.43cr2hpcboot from netbsd was working on aero 8000.
17:48.51cmonexjust need address for rom
17:49.00cr2cmonex: thanks :)
17:49.03cmonexnp :)
17:49.59cmonexiirc, for sh3 it was at 0xA0000000 (physical addr)
17:50.22cr2cmonex: btw, itsutils failed to dump rom on an arm wince device ->
17:50.55cr2http://www.handhelds.org/moin/moin.cgi/GoPalP4225
17:50.57cmonexwhich device?
17:51.19cmonexhmm
17:51.20cmonexit uses nand?
17:51.27cmonexpdocread wont work on many PNA's
17:51.31cr2nand behind the SD
17:51.43cr2no, i used raw disk dump.
17:51.55cr24Gb(512MB) flash [Samsung K9G4G08UOA]
17:51.55cr2<PROTECTED>
17:52.00cmonexhmm
17:52.03tmztwouldn't you find the device name dsk: whatever in registry?
17:52.06cmonexis that the rom too?
17:52.10cmonexby rom i mean
17:52.17cmonexthe one where OS and bootloader is stored
17:52.35cr2see NAND partitions there:
17:52.38cr2size    name
17:52.38cr2<PROTECTED>
17:52.39cr2<PROTECTED>
17:52.39cr2<PROTECTED>
17:52.39cr2<PROTECTED>
17:52.39cr2<PROTECTED>
17:52.58cmonexDSK1 is the userdisk?
17:53.03cr2yes.
17:53.09cr2with 4 partitons.
17:53.09cmonexthis atlas cpu..
17:53.16cmonexis there any decent datasheet for it?
17:53.20cr2no.
17:53.23cmonex:(
17:53.26cr2i've dumped the RAM
17:53.28cmonexi tried to find it a while ago
17:53.31cmonexfor hp 316
17:53.41cmonexbut how do you have info on irq etc then?
17:53.49cr2but can't pick many dlls from it. testwm5 crashed.
17:54.03cr2there was some limited linux patch.
17:54.13cmonexgive me that :)
17:54.14cr2for a later sirf cpu.
17:54.18cmonexI'd like any info possible
17:54.20cmonexfor this atlas
17:54.22cr2looking for a link :)
17:54.25cmonexbecause i'm interested in the hp 316
17:54.26cmonexthanks :)
17:54.32cmonexand, eh, testwm5 apparently crashes on anything that's not WM5/WM6 :P
17:54.37cr2yes, i know. 800x480 LCD is nice.
17:54.41cmonex:) ys
17:54.42cmonexyes
17:54.59cmonexi also was asked to write a nand dumper for another atlas device,
17:55.12cmonexbut it is not like the samsung ones, unfortunately
17:55.14cmonexnot as easy
17:55.35cr2it's not a nand, but an "SD card" effectively.
17:55.43cmonexah well, i'm only interested in the hp 316 anyway :)
17:55.49cmonexnot in that other PNA
17:55.50cmonexoh
17:55.52cr2because the nand is behind the SD.
17:55.53cr2ok.
17:55.55tmztsd1.0 is byte addressed?
17:55.59cmonexeven the OS and bootloader is on that SD?
17:56.00cr2block.
17:56.06cr2yes.
17:56.14cmonexheh, nice
17:56.20cr2there is some magic 256K flash there too.
17:56.21cmonexso how did itsutils fail?
17:56.27cr2i think for the bootloader.
17:56.31cmonex256KB?
17:56.34cmonexi see
17:56.54cr2itsutils works, the partition list comes from itsutils
17:57.05cr2but you can't do a raw dump :(
17:57.14tmztdo you have an itsutils dll for it (the arm dll it needs)?
17:57.36cmonexyeah cr2
17:57.39cmonexive yet to see a PNA
17:57.41tmztnot everything can be done though rapi
17:57.45cmonexwhere you can dump the rom or the disk
17:57.47cmonexthough
17:57.53cmonexpsdread dumped the DOC of the 900c fine
17:57.58cmonexNOT pdocread, that one freaked out
17:58.10cr2cmonex: hmm. that's a good idea.
17:58.15cmonexyeah worth a try
17:58.17cmonex:)
17:58.19cr2:)
17:58.30cmonexi fixed the DOC in my 900c once with psdwrite, so it was able to write it too :P
17:58.42cmonex(after screwing around with too many wince partition utilities)
17:59.00tmztso I can backup the factory doc and rewrite it, do you know the filesystem over ftl?
17:59.18cmonextmzt: exactly
17:59.20cmonexif you back it up
17:59.27cmonexthen you can feel free to experiment with it :)
17:59.46cmonexfor example for jlime :)
17:59.46tmztI want it to restore the last ts config
17:59.54tmztdoes yours do that?
17:59.54cmonexwhat config?
18:00.00tmztcalibration
18:00.07cmonexok now i'm lost..
18:00.08cr2cmonex: http://marc.info/?l=linux-arm-kernel&m=119627244926529&w=2
18:00.10cmonexwhere is this config?
18:00.12tmzttouchscreen
18:00.27cmonexcr2: thanks :)
18:01.01cr2cmonex: i've added more data in the hh.org wiki table.
18:01.11cmonexmm, link?
18:01.29cmonexor you mean the gopal one?
18:01.30tmztnot sure, I found the mui though
18:01.45cmonextmzt: under wince it is in the registry
18:01.52cmonexi dont know where it is stored in linux
18:01.54tmztceconfig.h, what is that?
18:01.56cr2cmonex: the gopal
18:02.05cmonexceconfig.h is just a stupid file platform builder puts in the rom
18:02.18cmonexit lists the platform builder config for that specific rom
18:02.25cmonexcopy it and see
18:02.25tmztI had a registry editor for 2003 somewhere
18:02.31cmonextmzt: my site also has some reg editors
18:02.34cmonexphm and tre
18:02.35tmztok
18:02.36cmonexsame izemize page
18:02.49cmonexbut, why do you need the config from there?
18:03.27tmztyou can run thumb apps on sa?
18:03.39tmztlinux does a hardreset everytime I reboot
18:03.53tmztsince it uses the ram as system ram, not storage
18:03.58cmonexno
18:04.05cmonexif by sa you mean strongarm
18:04.14tmztyes, you had a program to do that,
18:04.20cmonexah, i see your idea about the config.
18:04.26cmonexi have an expermental rom build here
18:04.32cmonexthat stores all wince files in the doc
18:04.36cmonex(and on cf card)
18:04.38cmonexand registry too
18:04.47cmonexno need to recalibrate after removing battery or anything
18:04.51tmztok
18:04.56cmonexmaybe useful for linux folks :)
18:04.59cr2cmonex: let me know if you'll dump the '316 rom.
18:05.00tmztI haven't flashed it before
18:05.17tmztthat's that really nice gps, I saw one at compusa?
18:05.19cmonexcr2: ok.. I dont have a 316, friend has one, so hopefully can experiment on that :)
18:05.23cmonexif it works out i'll get a 316 myself :)
18:05.27cr2:)
18:05.32cmonexyou got one maybe??
18:05.33cmonex:)
18:05.50cmonextmzt: wait wait
18:05.54cmonexyou NEVER flashed the rom?
18:05.59tmztno
18:06.04tmzthaven't needed to
18:06.05cmonexwhat is your current fw version? :O :O
18:06.10cr2cmonex: no, only p4225
18:06.11cmonexOS and bootloader
18:06.34tmztit is ce.net, but I will check the bootloader and read your page a few times before I flash anything
18:06.46tmztit is also c model
18:06.49cmonextmzt:
18:06.56cmonexI bet the bootloader is the buggy one
18:07.02cmonexso say if your OS one day manages to crash
18:07.05tmztmp900c-a
18:07.10cmonex(cosmo0 had that with experimental linux kernel)
18:07.14cmonexand gets corrupt
18:07.19cmonexthen you'll be stuck
18:07.20tmztwith doc mtd, I know
18:07.29tmztthey had the wrong address
18:07.32cmonexyou should get the latest bootloader
18:07.41tmzthow do I check my bootloader?
18:07.46cmonexcontrol panel in wince
18:07.49cmonexfirmware info applet
18:08.05cmonexdoes it tell you 4.5.1-6 for version?
18:08.06tmzt4.5.1-6
18:08.09tmztyes
18:08.14cmonexwow running a beta linux on that
18:08.16cmonexnot a good idea
18:08.18cmonex:P
18:08.25tmztoh
18:08.35cmonexhttp://hpcmonex.net/nec900/download.php
18:08.42cmonexget the update from there :)
18:09.13cmonexjust select the current OS and bootloader (i guess OS is 1.8.5?)
18:09.27tmzthow do I check the os
18:09.47tmztP530_42.1.8.5
18:09.55tmztP530_42 1.8.5
18:09.58tmztok
18:10.41cmonexyeah, that's it
18:10.46tmztI want to do just the bootloader first, right?
18:10.52cr2"org.synce.odccm" due to security policies
18:10.57cmonexno
18:10.59cr2wtf ?
18:10.59cmonexthis updates OS too
18:11.05tmztthen I can recover with cf?
18:11.06cmonexboth in one go
18:11.10tmztok
18:11.13cmonexafter that
18:11.19cmonexyou can recover easily even if you have non bootable OS
18:11.32tmztcr2: what version os are you running?
18:11.33cmonexthere's an update.exe in that pack
18:11.41cmonexthat loads a bootloader into ram
18:11.48cmonexall it does is updates the buggy one
18:11.52cr2hmm. itsutils need windows :)
18:11.55cmonexand the OS too, to last official
18:11.55tmztI will have to get a windows xp together then
18:12.07tmztcr2: the odccm thing
18:12.12*** join/#htc-linux smev (n=smev@S010600215514f029.cg.shawcable.net)
18:12.12cmonexcr2: what devices do you have
18:12.20cmonexi know you have 820, aero 8000, this PNA, and ? :)
18:12.31cr2cmonex: +many phones.
18:12.38cr2htc phones.
18:12.40cmonexall htc phones? :P
18:12.41cr2and a780
18:12.46cmonexhmm what is a780?
18:12.52tmztcr2: #synce told me to update to synce-hal, but I have fixed that dbus thing before with odccm
18:12.54cr2motorola a780 with gps
18:12.57cmonexoh
18:13.01cmonexand which htc's?
18:13.16cmonexif you got athena i might be able to help with some HW info for linux
18:13.18cr2cmonex: "genuine" linux phone ,btw :)
18:13.23cmonexalso for universal
18:13.30cmonexbut i guess that one has a nice complete linux port
18:13.45cr2hima,ba,uni,athena, hermes and sable
18:13.51tmztcr2: does new acx driver work on uni/ba?
18:13.52cmonexnice list..
18:14.01cmonexand you made linux for all of them?
18:14.14cr2cmonex: motorola did the port. and alk has written the gps route planner.
18:14.31cmonexnice
18:14.33cr2cmonex: not for all yet, but mostly.
18:14.41cmonexwhich ones are neglected? athena? :P
18:14.52cmonexsable is the hp 6815?
18:15.15cr2yes, on athena i need to write the SD driver, and get deeper in the AHI* api.
18:15.18cr26915
18:15.51cr2yesterday i was looking at the wallaby :)
18:16.11cr2and made some big progress. http://wiki.xda-developers.com/index.php?pagename=WallabyMemoryMap
18:16.25cmonexnice
18:16.30cmonexI've yet to see a wallaby
18:16.45cmonexathena should be priority
18:16.51cmonexthe nicest htc device to date
18:16.55cmonex:P
18:17.00cr2yes, a greatest pxa270 notebook.
18:17.10cr2shift is not so fun.
18:17.23cmonexer you got shift? :P
18:17.27cr2no.
18:17.35cr2i have a normal notebook.
18:17.42cmonexheh
18:17.43cr2x86 sucks.
18:17.48cmonexshift also has ARM
18:17.52cmonexdid you know..
18:17.54cmonexit is a kaiser
18:17.58cmonexthough half the ram and rom :/
18:18.01cr2msm7200
18:18.08cmonexyes
18:18.16cr2gps too ?
18:18.19cmonexyes
18:18.24cmonexHTC disabled it in software
18:18.29cmonexwe found a beta rom that has it though
18:18.30cmonexso..
18:18.35cr2:)
18:18.39*** join/#htc-linux the_sys0p (n=the_sys0@cpe-76-88-212-37.bak.res.rr.com)
18:18.39cmonexand also the EC already works
18:18.45cmonexit sends the gps data to vista too
18:18.51cr2ok.
18:18.56cmonexso gps works on vista too
18:19.02cmonexor whatever OS you have there, I guess (if it handles EC)
18:19.12cmonexEC stands for this embedded controller thing
18:19.16cr2i see.
18:19.22tmzt8051?
18:19.30cmonexi suspect this causes some problems with power leaks..i'll see soon
18:19.56cmonexwhat i mean.. the roms where we put gps on (or had it already), have power leak
18:20.12cmonexdebugging that issue
18:20.34cmonexanyway.. i also have athena, if you go back to work on it, let me know
18:20.43cmonexhave you got enough info on the SD for example?
18:21.11cr2yes, but not the the complete data.
18:21.26cmonexoh, what is missing?
18:21.36cmonexi might be able to see if i have info on it
18:21.46cr2http://wiki.xda-developers.com/index.php?pagename=ATIWxxxx
18:22.04cr2SD is at the bottom.
18:22.16cr2i have the datasheets for the rest.
18:22.20cmonexI see
18:22.27cr2even for the epson hdd :)
18:22.30cmonexooh
18:22.34cmonexhave you collected the datasheets for athena somewhere?
18:22.39cmonexI'd like them :)
18:22.59cr2http://wiki.xda-developers.com/index.php?pagename=AthenaResearch
18:23.08cmonexthanks ,)
18:23.23cmonexso, no datasheet for sd is what youare saying?
18:23.52cr2no, it's the ATI chip.
18:24.52tmztwould you know how to get usb serial to work in ce, I have the jp driver which makes no sense
18:25.30cr2cmonex: somewhere in october, probably. i have a vacation soon.
18:25.38cmonexI see
18:25.48cmonexi think that time will be good for me too
18:25.57cmonexi need to do other stuff these days
18:26.10cr2ok
18:27.51cmonexjust one question, what  do you know about the keyboard?
18:27.52cmonexon athena
18:28.40cr2it'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.49cmonexok :)
18:30.56cr2cmonex: psdread syntax ?
18:31.01cr2connected the p4225
18:31.51cr2ah. need to remove the 2GB sd card
18:32.24cr2remote disk 492MB
18:32.24tmzta8700000  | 0d000000 |   1MB section |    AP=1
18:32.46tmztwhere did you find that it is only 8 bytes (the usb thing from earlier)
18:32.56cr2tmzt: flash ?
18:33.18tmzthow do I find out what driver has that mapped?
18:33.22cr2tmzt: milennium is supported by mtd.
18:33.28tmztno, usb
18:33.47cr2tmzt: get the rom, and extract the dlls.
18:33.54cr2then you will know.
18:34.03tmztare those in that kitchen zip, cmonex?
18:34.03cmonexso the remote disk
18:34.06cmonexwhat disk nr does it haveE?
18:34.13cmonexpsdread -x where x is the number of disk
18:34.16cr2cmonex: 1
18:34.22cmonexok then -1 and a filename
18:34.23cr2remote disk 1
18:34.33cmonexlets hope it works
18:34.36cr2to dump the full disk ?
18:34.39cmonextmzt:
18:34.51cmonexthe driver has 8 bytes for its use, according to this list i stole from a driver on the 900c
18:34.55cmonexthe 1MB means nothing
18:35.05cmonexthe MMU mapping that sets this up, the granularity for it is 1MB
18:35.14tmztI will do that flash when I get a stable xp on a battery backup
18:35.21cr2cmonex: dumps some hex to stdout
18:35.21cmonex(I'm not saying the whole MMU is like that :) but the code that sets this up is like that.)
18:35.27cmonexcr2: hmm
18:35.30cmonexyou gave a filename?
18:35.45cr2./psdread.exe -1 FOODISK
18:35.48cmonexright
18:35.54cmonexhelp says you need to specify lenght too :P
18:36.06cmonexlike this:
18:36.06cr2in sectors ?
18:36.20cmonexpsdread -1 0 0xsize filename
18:36.25cr2ok
18:36.42cmonextmzt
18:36.47cmonexlet 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.02tmztwhich?
18:37.10cr2oh, in bytes.
18:37.43joshts0ginge; hows it giogn?
18:38.21cr2cmonex: hehe. dumps something.
18:38.23tmztmy 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.34cmonexcr2: oh. lets hope valid data
18:38.43cmonexbut thats good start
18:38.57cr2492MB over usb will take some time.
18:39.00cmonexlol
18:39.02cr2yes.
18:41.00tmztand can I trace the whole 1MB (unless you know the range), with haret on pxa25x?
18:43.10cr2cmonex: NTOC HSFCPPC2K3.NB0
18:44.00cmonexwhat is this nb0?
18:44.39cmonextmzt..which network card is that?
18:44.53tmzt3cxe589ec
18:44.56cr2cmonex: string from dump.
18:45.10tmztits an xjack 10mbps version
18:45.12cmonexoh :P
18:45.22cmonexwhy PPC2k3..
18:46.04cr2cmonex: it looks like 2.11 if you'll ask me ;)
18:46.17cr2identifies itself as 5.0
18:46.32cr2cmonex: saving $$$ ?
18:46.51cmonex:O
18:46.56cr2SAA7111A, i think i have it already.
18:47.01cmonexjoke eh
18:47.10cmonextmzt: 3com, ugh
18:47.20cmonexI have a few of them
18:47.27cmonexthe last ce version they work on is 2.11
18:47.27tmztI have another one, but the aui won't stay in
18:47.57cmonexbut only on ARM and MIPS, IIRC SH3 had issues
18:48.04cmonexor maybe MIPS had issues so only ARM and SH3 worked
18:48.13cmonexwont work on cenet
18:48.16tmztI 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.27tmztok
18:48.49tmztI had my hermes ap working with wep at least, but not wpa
18:49.07tmztmight try a linksys driver (wpc11)
18:49.42cmonexheh wpc11
18:49.49cmonexyou have that card?
18:50.02cmonexoh wait.. is hermes = orinoco?
18:50.05tmztI have wpc11 firmware on it but its an ambicom (not the new g version)
18:50.08tmztyes
18:50.29cmonexwow what a confused card :)
18:50.35cmonexwpc11 is prism
18:50.42cmonexunless they have a revision ive not seen
18:50.53tmztthought I needed it to get wpa to work in linux, but its all in software
18:51.01cmonexyeah
18:51.05tmztyes, prism, thats what it was on my sl5500
18:51.07cmonexthe ce software unfortunately only supports wpa for the prism
18:51.08tmztnot hermes
18:51.12cmonexnot for orinoco
18:51.16tmztprism2
18:51.18cmonexlinux i'm sure has better wpa :)
18:51.58tmztI forgot the name of the driver from 2.4, but its prism2_cs compatible
18:52.38tmztambicom wl1100-cf
18:52.55cmonexi see
18:56.09tmztI have the wpc11 v3.0, I get the pri and sta everytime I am in linux, but I forget them
18:56.39tmztislp21?
18:57.35tmztWindows CE .net (WPA)
19:01.08*** join/#htc-linux BabelO (n=Fabrice@lun34-2-82-238-28-28.fbx.proxad.net)
19:02.04tmztprismnds
19:03.18*** join/#htc-linux LunohoD (n=alex@e180070225.adsl.alicedsl.de)
19:04.05tmztwhere do I put the prismnds.dll so that Unidentified PCCard adapter can find it?
19:04.17cmonexwindows is good enough
19:04.26cmonexmy rom would have that sorted heh
19:04.34cmonexbtw islp21 is the linksys wpc11 driver
19:04.36tmztfull path works, never tried that before!
19:04.38cmonexmaybe you want to try that
19:04.45tmztit asks for name
19:04.57cmonexi see.
19:05.01tmztwhere do I get that, I looked on google and found only used handhelds
19:05.02cmonexislp21 might work
19:05.12cmonexit is in the rom
19:05.14tmztwhere do I get that, I looked on google and found only usedhandhelds.com
19:05.17cmonexIN ROM
19:05.23cmonexoh wait
19:05.25cmonexyou havent updated yet
19:05.29cmonexonly the latest official rom has that
19:05.33cmonex(and my custom roms)
19:05.45cmonexdownload that rom+bootloader update already ;)
19:06.16*** join/#htc-linux rmoravcik (n=rmoravci@ip-89-102-255-171.karneval.cz)
19:06.25cmonexbtw usedhandhelds took the rom without asking me
19:06.27tmztI have an xp and a backup supply I just need to get to it
19:06.32tmztoh
19:06.33cmonexthat last official was never released by NEC
19:06.44cmonexi udmped it from a device that happened to have it (extremely rare, luck.)
19:06.46tmztis it in your kitchen zip?
19:06.48cmonexyou dont need xp
19:06.56cmonexyou put the files on a cf card formatted fat32
19:06.58tmztwhat do I need?
19:07.07cmonexhttp://hpcmonex.net/nec900/download.php
19:07.08tmztwith my bootloader?
19:07.18cmonexyes. you run the update.exe included in package
19:07.24cmonexthat then loads an update bootloader into ram
19:07.28tmzton the ce then, ok
19:07.29cmonexwhich takes care of the update
19:07.33cmonexto proper bootloader, etc :)
19:07.37cmonexmake sure CF is fat32
19:07.39cmonexand not fat16
19:07.41cmonexer sorry
19:07.45cmonexfat16, and NOT fat32
19:07.51cmonexthe bootloader only likes fat16
19:07.59tmztI have on 32mb card for my old z
19:08.07cmonexthat'll be ok if it is fat16.
19:08.14cmonexhope llinux handles that :)
19:08.16tmztmkdos -F 16 works
19:08.23cmonexok :)
19:08.26tmztyeah, no problem
19:08.34cmonexguess only ntfs is buggy then
19:08.47cmonexanyway
19:08.53cmonexextremely important that you run the update.exe
19:08.59cmonexand not use any other method to flash these files
19:09.09tmztprismnds only supports wpa1 and tkip, I need wpa1 and ccmp
19:09.15cmonexoh
19:09.21tmztright, now that I know that runs on device that will work fine
19:09.31cmonex?
19:09.35tmztI though it ran on the pc
19:10.09tmztshould it be in the cf slot or pcmcia?
19:10.24*** join/#htc-linux dcordes (n=dcordes@f048040081.adsl.alicedsl.de)
19:10.42dcordeshi
19:10.58marajindcordes: 'lo
19:11.16dcordeshi marajin did you see my question about the keyboarD?
19:11.25marajinnope
19:12.56dcordesI made a new initrd to replace the current one in bootkit. everytime I boot into it, I get the [B keyboard problem
19:13.17marajinhmm
19:13.22dcordesmaybe 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.01tmztdoes it need to be a raw fat16 on the device or can it be partition?
19:18.33cr2BabelO: GpsTmc-API 4.0.11.1 ?
19:19.15BabelOhi
19:19.18BabelOcr2: where :)
19:19.47cr2p4225
19:21.16BabelOcr2: i ve tried the garmin nuvi driver for fm radio.... but nothing
19:21.31cr2hmm.
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.04BabelOcr2: i did not see the device on ic bus... and according to driver it must be at 0x11 or 0x63
19:25.42cr2BabelO: the datasheet has the same ids ?
19:26.13BabelOcr2: no, it say 0x10
19:28.11BabelOcr2: but before, i reammy like to get the battery working :(
19:28.12marbalondcordes: hi
19:30.20marbalondcordes: what are you working on ?
19:31.23marajindcordes: I will do
19:35.59marajindcordes: yep I get the [B
19:36.26dcordesmarajin: hey there! long time no see. I'm fixing to get a new initrd for the bootkit
19:36.42dcordesmarajin: ouh that sucks. Any clue what to try?
19:37.01dcordesmarbalon: the first messages was for you. damn auto completion
19:37.04marajindcordes: Iunno, last time I fixed it by changing the zImage
19:37.26dcordesmarbalon: ginge is working on porting your kaiser keybaord driver to titan
19:37.32dcordesmaybe you can help
19:37.55cr2BabelO: how do i mount the raw disk ?
19:38.45BabelOcr2: raw disk ?
19:39.04cr2with partitions.
19:39.06marbalondcordes: if I can i will help him
19:39.35dcordesI don't know if he put the source somewhere
19:39.39BabelOcr2: ah, you have image of it ?
19:39.44marbalondcordes: what is the problem with new initrd ? restart after ~30s ?
19:39.48cr2BabelO: yes :)
19:40.01BabelOcr2: use losetup command
19:40.02marajinmarbalon: Nah we have a bug with the keyboard
19:40.08marajinmarbalon: Every key produces [B
19:41.04marbalonmarajin: yes sometimes it happend but I don't have this problem for a long time :(
19:41.19cr2BabelO: syntax ?
19:41.21marajinmarbalon: Well we do nowadays. I've seen it a coupla times
19:43.09cr2losetup /dev/loop0 DISK1
19:43.29dcordesmarajin: something must have changed in the kernel
19:44.04marajindcordes: IIRC sometimes replacing the kernel with the /same/ kernel can fix it...
19:44.43dcordesyea I remember. tried that
19:44.58marajinit's a bit worrying though
19:45.03marajinhow can that even be explained?
19:45.30dcordesblackmagick
19:46.09marajinyeah but it would imply something's getting corrupted or something and it shouldn't be POSSIBLE
19:47.04dcordessince marbalon put the last changes, I think nothing has changed with the keybaord driver
19:47.09cr2BabelO: http://pastebin.no/13651
19:47.24dcordesmarajin: probably it is parts of the calibration thing, ginge exerpimented with
19:47.32dcordeswhich went into git
19:47.50gingedcordes: you put my calibration test code into git???
19:48.08gingeweeps
19:48.13marajinWell it's hard to test being very intermittant
19:48.36dcordesginge: 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.39marbalonmarajin: did you try to push a camera button when this problem happend ?
19:49.14gingedcordes: not sure what you mean
19:49.33dcordesginge: was that all only in board-kaiser-keypad.c?
19:49.59dcordesnow it works!
19:50.06gingeall I did in my code was to add the bit flags for the touchscreen
19:50.13gingeand set a global
19:53.17dcordesmarajin: can you try what marbalon says?
19:53.19dcordesit seems to work for me
19:54.34marajinmarbalon: Nope
19:54.40marajinmarbalon: It does it immediately from boot
19:54.55marajinmarbalon: Besides, camera button ..produces / ?
19:55.06dcordesno \ no?
19:55.11gingemarajin: dont forget it is 2 stage button
19:55.26dcordeswhen I press the second stage it does nothing
19:56.09marbalondcordes: what is the problem with initrd ?
19:56.34gingedcordes: its mapped to send the key KEY_CAMERA
19:56.34dcordesmarbalon: I think it's not filesystem specific
19:56.41marajinOh you're nt going to believe this
19:56.48marajinmy keyboard works now on the 2nd boot
19:56.50dcordes*_*
19:56.53marajinI haven't replaced any files
19:56.55dcordesya same here
19:57.04dcordesI bet it is some gpio state on boottime.
19:57.11dcordesthat confuses the driver
19:57.18marajincould be. I rebooted the device
19:57.24BabelOcr2: strange, i already do like that :( maybe you have to fsck loop0, don't know
19:57.29marajinMy hermes slide sensor broke too
19:57.29dcordesmarbalon: sometimes the keyboard does just produce [B with every key in angstrom.
19:57.37marajinit doesn't rotate/keys don't work right when I slide
19:57.39BabelOcr2: it look like a special drive
19:58.09marajin..and now for no reason mykaiser keyboard producesnothing :P
19:58.20dcordesmarajin: can you poke around a bit in the initrd?
19:58.38marajinaaand now it produce normal keypresses again O.o
19:58.47marajinyou've borked the keyboard!
19:58.51gingesometime using the scrool wheel brings it back
19:59.15marbalondcordes: yes I know and marajin have right, its depend on gpio state at boot time i think too...
19:59.18marajinyeah it went again and scroll up fixed it O.o
19:59.36gingefor some reason the gpio to irq isnt triggered
19:59.47gingeyou have to scroll which calls the sync routines
20:00.01dcordesscroll what?
20:00.07dcordesjog wheel?
20:00.11gingethe yarp
20:01.44dcordesginge: wtf is a yarp? blueangel build is broken in OE
20:01.59cr2119600
20:02.31cr2<PROTECTED>
20:02.41gingelol. 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.45dcordesNow I also had the problem that the keys did nothing and scrolled the jog wheel to fix it.
20:03.22marajinsighs and wonders what he did to his hermes =/
20:03.24gingeso to fix a gpio state reset in init should fix it
20:03.52dcordeswhat you mean, reset?
20:04.06gingepull them all low
20:04.32BabelOcr2: don't know, you dump it with dd i suppose ?
20:04.37dcordesginge: in the board init?
20:05.08BabelOcr2: you can start at given offset with option -o
20:05.22tmztcmonex: I have finished the upgrade
20:05.48gingedcordes: in the keyboard init
20:06.26tmztcan I upgrade to yours from the bootloader?
20:07.54gingedcordes: in kaiser_kbd_open I would imagine. loop through gpio_set_value (row_gpio[i], 0) might sort it
20:08.44dcordesrrright :D
20:08.45cmonextmzt: not to the version 2.0
20:08.47cmonexread the readme
20:08.53cmonexit uses a specialized update.exe package
20:09.02tmztok
20:09.03cmonexversion 1.0 is fine from bootloader
20:09.15cmonexbut.. dont forget haret hates gapi :P
20:09.22cmonexwhich is in rom in these..
20:09.31cr2BabelO: MSWIN4.1
20:09.33cmonexyou can edit (or recompile?) haret to not lokok for gx.dll
20:09.35cmonexthen problem is fixed
20:09.43cmonexmake it look for gy.dll or whatever. 1 sec edit
20:09.52cmonexlokok = look
20:10.24cmonexor 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.26tmztI could just use isl driver, is that in kitchen?
20:10.41gingedcordes:  like this: http://pastebin.com/m3d11209b
20:10.41cmonexwell the above is easy enough
20:10.48tmztcr2: does haret only use gapi for vram?
20:10.50cmonexthe isl driver needs relocs recreated IIRC
20:11.06cmonexabove solution should be easy though :P
20:11.15gingedcordes: section labelled set all gpios low
20:11.36cr2tmzt: hmm. gapi should be the last resort. looks like a haret bug.
20:11.54tmztfor 2.01?
20:12.36dcordesginge: cool I will try this
20:12.48tmztthere are different drivers the movie player (??) not only gapi
20:12.53gingedcordes: might not even compile...
20:13.32tmztthe one whose name I can never remember
20:15.35tmztis ce.net wordpad the only one that does txt?
20:15.41tmztI need that
20:16.09cr2cmonex: what is SYSTEM HV and DEFAULT MKY ?
20:16.14dcordesginge: 565: error: ‘flags’ undeclared (first use in this function)
20:16.46gingedcordes:  unsigned long   flags;
20:18.36marbalonginge: hmm, if this problem is related to jog wheel you should set gpio 18,19 to low i think
20:19.33marbalonginge: try to add this two gpios too
20:19.39gingemarbalon: 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.49ginges/touchscreen/jobwheel/
20:20.03gingebut yes, good idea
20:21.01gingedcordes: add two extra lines in that init: gpio_set_value (18, 0); gpio_set_value (19, 0); before the spin unlock
20:21.21dcordesginge: I didn't get the previous thing.
20:21.49gingethe flags? paste that line at the top of the function
20:22.06dcordesoh ok
20:23.20dcordesok builds
20:23.30*** join/#htc-linux skodde (n=skodde@unaffiliated/skodde)
20:23.44cmonexcr2:
20:23.51cmonexsystem.hv is where? on your PNA?
20:24.01cmonexit saves the hive based registry in that file
20:24.10cmonexmky, no idea, 900c has it too
20:24.34cmonexand wordpad, nah, loads of apps do txt
20:26.06tmztyour readme said it was removed from you rom, that's all
20:26.16tmztI need to edit default.txt for haret
20:26.25tmztI am upgrading
20:26.37dcordesginge: ok that also worked with the extra lines
20:26.42cmonexdont worry..
20:26.45cmonexpocketword is in its place
20:26.47cr2cmonex: ok.
20:26.48cmonexcan edit txt same way
20:26.55cmonexyou ucan always get the wordpad from my site
20:26.58cmonexfrom cenet viewers package
20:27.11cmonexit turned out later that the pocketword doesnt do printing
20:27.14cmonexit does on hpc2000
20:27.15tmztI 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.19cmonexsomething is broken on cenet
20:27.21cmonexwordpad can print
20:27.26cmonexso maybe you want that :P
20:27.36cmonexand yeah, you should only use XIP.BIN
20:27.42tmztno windows networking support anyway, net use doesn't work
20:27.47cmonexheh
20:27.47tmztok
20:27.51cmonexi mainly meant USB printer
20:27.53cmonex:P
20:28.01cmonexnot that i use mine for printing but it worked when i tried
20:28.06cr2cmonex: binfs partition ?  type 0x21 . starts with ECEC wince kernel. case for dumprom ?
20:28.10cmonex(with wordpad)
20:28.20cmonexcr2: binfs is just xip with demand loading
20:28.23cmonexso dumprom yes
20:28.29cmonexjust missing relocs :P
20:28.35cmonexonly WM has the relocs sadly.
20:28.41cmonex(.reloc PE section)
20:28.51tmztce 5 would require pb to work on mp900c, right?
20:29.00cmonextmzt: also would require a bsp
20:29.17cmonexone day i'll get around to it
20:29.23cmonexthe linux drivers might give hints :)
20:29.26tmztnice logo
20:29.30cmonexheh
20:29.58cmonexbrb
20:30.03tmztok
20:30.45dcordestmzt: btw, do your patches to kaiser's tsc2003.c interfer with the way ts works in android?
20:31.16tmztprobably
20:31.25*** join/#htc-linux kiozen (n=oeichler@rgnb-5d8656da.pool.einsundeins.de)
20:31.26tmztit wants the screen coords like qemu gives it
20:31.51tmztI was thinking of a way around that, and how to make osk work on every device too
20:32.01tmztbut only in fbcon
20:32.33tmztI think we can create multiple input devices, which android will use the first one
20:32.42cr2cmonex: wow
20:33.00tmztthat scroll wheel should be on gpio keys though, right?
20:33.07tmztand its own event?
20:33.28dcordesnot sure how scroll wheel works
20:33.59cr2BabelO: GPS_TURBORUN_FLAG, GPS_SECRETJOB_FLAG :)
20:34.40cr2$PPLM*
20:34.47cr2who is PLM ?
20:35.07gingedcordes: tmzt scroll wheel on kaiser is on 2 gpios with gpio irq
20:35.28tmztbut is it in keyboard driver or gpio-keys?
20:35.39gingetmzt: keyboard driver
20:35.47tmztthat was the problem?
20:35.59tmztwe need the Fn and Shift in userspace and kernel keymap for loadkeys
20:36.06tmztto switch vts
20:36.12BabelOcr2: i don't like the secret job flag..
20:36.18dcordesyea that would be ace to switch vts..
20:36.38cr2BabelO: GBC: Secrect job status:%d
20:36.41tmztcan't input leds be used for the Fn and Shift leds
20:36.43dcordesthe benefit of a keyboard on mobile device gets questionable when you have to rely on X stability :)
20:36.53cr2BabelO: Try to initiliaze Gyro
20:36.57tmztif they are exported as standard leds
20:37.17*** join/#htc-linux LanceHaig (n=LanceHai@foresight/member/lhaig)
20:37.18gingetmzt: shift is reported
20:37.42tmztwe need Ctrl Alt Fx for X to switch vts
20:37.50cr2BabelO: speed sensor ??
20:38.12tmztif win is ctrl, and camera is alt, then fn+a..fn+k can be F1 through F8
20:38.15gingecant you remap them in userspace?
20:38.24cr2BabelO: some really weird nmea sentences there. never seen such things before.
20:38.24BabelOcr2: that s strange to have a speed sensor with a gps device
20:38.25tmztnot if there is no keycode
20:38.42gingeshift generates right shift
20:38.47cr2BabelO: dead reckoning
20:38.47BabelOcr2: maybe the nmea rds sentence for tmc ?
20:38.51dcordeswould it be possible to edit the keys Xfbdev is looking at to change vt?
20:38.57tmztfn is altgr on akita
20:39.30dcordesin that case we could just put the _full_ camera press to change vt
20:39.32tmztdcordes: did we get a keycode for shift?
20:39.46dcordesno. because it is in the driver. also ctrl and fn
20:39.56tmztX doesn't like the alt-left alt-right, it wants ctrl-alt-f1
20:40.04cr2BabelO: \ResidentFlash\%dday\BRDC.bin
20:40.18tmztwe want to take it out of driver and make it a standard shift with led
20:40.19gingeokay so you need some more input reports in the keyboard driver for the modifers
20:40.41cr2BabelO: maybe it's NMEA3.0
20:40.47tmztwe could also trace the bluetooth, at least to get the hci working
20:41.09tmztwe can the put a terminal on rfcomm0, rfcomm1, etc.
20:41.09cr2BabelO: and a lot of private PLM sentences
20:42.05dcordestmzt: ginge: what's the preferred way of doing it?
20:42.34gingekeyboard.c line 314
20:42.34dcordesI 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.49gingedcordes: quite
20:42.50dcordesthinks about mainline
20:43.08gingeit needs a bit of a cleanup, but on the wholes it is ok
20:43.18cr2BabelO: http://www.gpspassion.com/FORUMSEN/topic.asp?TOPIC_ID=90605&whichpage=4
20:43.47Maxrohello
20:44.22gingeMaxro: hi
20:44.37kiozenhi
20:44.43BabelOhi kiozen
20:44.54kiozencr2: what device are you decoding?
20:44.57BabelOcr2: ok, it is to activate wince on your gps
20:46.04cr2BabelO: already knew how to do it.
20:46.24cr2kiozen: http://www.handhelds.org/moin/moin.cgi/GoPalP4225
20:46.28dcordesginge: lol in wince when I write an sms, space gets appeneded after the letter it shouold be in front off
20:46.31dcordesof
20:46.37cr2kiozen: do you have new ssp traces ?
20:46.42gingedcordes: bizarre
20:47.07Maxrohi guys .. i found your irc Chanel in the xda-developers Forum..
20:47.10gingedcordes: to handle kb properly you need to change the queueworker to report all keys instead of just regular keys
20:48.14cr2BabelO: FM MX9080ZC
20:48.20Maxroi want to know if i could get Linux working on an HTC Prophet .. is there any ability ?!
20:48.36BabelOcr2: so we have not the same chipset
20:48.37cr2BabelO: who can be MX ? google does not provide anything useful
20:48.38kiozencr2: no, did you request some?
20:48.50kiozencr2: it's that mediao
20:48.53kiozenoops
20:49.03kiozenit's that medion device?
20:49.07cr2kiozen: we need to identify the commands sent to tsc2046
20:50.19cr2kiozen: yes. they down-convert the gps signal with SE4110L module, and use DSP to soft-process it.
20:50.20BabelOcr2: maybe still motorola
20:50.33kiozenok, I can do tomorow, what do you want me to trace in detail
20:51.28cr2kiozen: the ssp exchanges while charging. the 7280/7200 sequence you have logged before. with the CPLD6 bits.
20:52.41cr2kiozen: PLM for nmea, does it tell you something ?
20:53.07kiozenno haven't seen PLM sofar
20:53.09cr2kiozen: GRM is obvious, SRF - too.
20:53.21cr2ok.
20:53.48cr2i have many $PPLM* sentences here.
20:53.58Maxrocould anyone give me some support ?!
20:55.05cr2Maxro: prophet is like wizard ?
20:55.13cr2Maxro: ask #linwizard
20:55.42Maxrookay thanks :)
20:55.47cr2BabelO: hehe. gyro driver vgd.dll
20:56.18kiozencr2: that was this mmutrace stuff, right?
20:57.19kiozenlike:
20:57.36kiozenaddlist mmutrace p2v(0x41000010) 0xff
20:58.06cr2kiozen: yes.
20:58.17dcordesMaxro: linwizard kernel booted fine on prophet and fb also worked last time I tried
20:58.18cr2kiozen: and the CPLD6
20:58.47kiozenyou mean at 0x1000000c
20:59.06Maxroyes its booting fine .. but i dont know how to enter "root" as login alias
20:59.25kiozencr2: ok, I will do that in the morninig
21:01.06Maxroahh .. i think .. i checked how to do .. :)
21:01.22cr2kiozen: ok.
21:04.17Maxrohmm .. did i need a windows system to contact the pda with telnet ?
21:06.28dcordesMaxro: 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.58dcordesno windows needed I think
21:07.26Maxrothanks guy
21:07.40*** part/#htc-linux Maxro (n=maxro@p54873E9D.dip.t-dialin.net)
21:07.59dcordesginge: the problem doesn't appear anymore
21:08.17gingedcordes: good news
21:10.13BabelOcr2: this mmc make me crazy on omap, i can't find what s wrong...
21:11.03cr2BabelO: you have the spl :)
21:12.12BabelOcr2: 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.33dcordesginge: blueangel build now fixed, carrying on
21:26.09tmztserial usb works?
21:26.16tmzton mp900c
21:26.27tmztin ce
21:38.13dcordesmickeyl: ping
21:38.21mickeylpong
21:38.50dcordesmickeyl: can you help with tslib not working in Xfbdev on kaiseR?
21:39.28dcordesmickeyl: you probably came across http://bugs.openembedded.net/show_bug.cgi?id=4448
21:39.35mickeylya, seen it
21:39.42mickeylbut i have no experience with tslib
21:39.51mickeylfirst I wonder why you have to patch it
21:39.57mickeylbecause all kinds of devices seem to work fine with evdev
21:40.41mickeylbesides this, the question is whether ts_draw works fine?
21:41.05mickeylalso, did you check whether your X-build actually links against against tslib and opens the respective evdev?
21:42.11dcordesmickeyl: didn't try ts_draw. I thought Xfbdev would not mind the TSLIB_* env vars
21:42.20dcordesmickeyl: it must get some data because of the errors
21:42.54mickeylok, at first you need to make 100% sure that tslib is working fine. do this by checking the tslib example programs
21:43.21mickeylafter that, I'd advise checking what I said (does it link against tslib at all and is using it to parse data)
21:43.32dcordesmickeyl: ok booting now to try ts_draw. ts_test and ts_calibrate work just fine
21:46.36dcordesmickeyl: ts_draw is not in my image. looks like it doesn't come with tslib-tests
21:48.06mickeylinstall tslib-utils
21:48.27dcordesok
21:49.22tmztmost of the patches to tslib in the oe we are using are from moko
21:49.48tmztand the Xfbdev appears to be looking for hal for some reason
21:50.11mickeylya, but that should not interfer
21:50.25mickeylas a first check I'd spice up ts_read with some debug output in kdrive
21:50.33mickeylthen you actually know what comes in and goes out
21:50.37mickeyland whether that code is active or not
21:50.45tmztevent does not show up in the straces of Xfbdev
21:51.35tmztwe hadn't tried debugging in xorg, but we have added them to tslib when we were debugging the kernel driver
21:52.21mickeylok, 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.55tmztI was going to ask about your camera driver but I didn't get the chance
21:53.21mickeylOpenmoko has no camera in a device yet
21:53.24tmztptl:
21:53.35mickeylah, wasn't meant for me
21:53.37tmztsorry, I meant ptl: ...
21:53.40tmztyes
21:54.00dcordesmickeyl: NoProvider: tslib-utils
21:54.17mickeyldcordes: it's another package getting emitted by the tslib build
21:54.22mickeylit's not a seperate recipe
21:55.51mickeylhmm
21:56.07mickeylperhaps it was ts_test which i was referring to
21:56.10tmztits just ts_calibrate, ts_test, ts_harvest, etc. ?
21:56.14mickeylthe tslib test where you can actually draw stuff
21:56.17mickeyldid you check with that?
21:56.23mickeyllike drawing lines and stuff
21:56.40tmztts_draw?
21:56.45mickeyli thought it was called that way
21:56.52mickeylbut perhaps not
21:56.52dcordesmickeyl: that is ts_test where you can drag a crosshair and draw.
21:56.56mickeylah, right
21:56.58mickeylso this works fine?
21:57.02dcordesyes
21:57.07mickeylok, then we can forget about tslib. seems correct then.
21:57.11dcordesok
21:57.16mickeylnext step: hw/kdrive/tslib.c
21:57.16tmztfinally!
21:57.23mickeylpatch TsRead to print something
21:57.27ptltmzt: yes?
21:57.35tmztI was going to ask about your camera driver but I didn't get the chance
21:57.42mickeylif that doesn't work, we need to follow the input device instanciation logic in x
21:58.35dcordesmickeyl: 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.40dcordesthey are in the bug
21:59.00tmztwe dont't get the /dev/input/event0 in strace at all
21:59.34tmztdcordes: can you add a current strace to that bug?
21:59.46dcordestmzt: 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.01dcordesI will try and get an strace where I'm sure I had those errors.
22:00.48mickeylok, two more things
22:00.49tmztwhat is grab_events for?
22:00.56mickeyla) /etc/pointercal exists?
22:01.15dcordesmickeyl: yes, it is in the bug
22:01.29mickeylb) did you try linking /dev/input/touchscreen0 to the actual tslib input device?
22:01.37mickeylusually udev should handle that for you
22:01.38dcordesno will do
22:01.41mickeylbut perhaps it's broken
22:02.19tmztwe use the TSLIB_TSDEVICE env
22:02.43dcordesmickeyl: no that you're around and kaiser is booted in front of me, what was that AT command again?
22:02.50mickeylAT+CLAC
22:03.02mickeyland
22:03.04mickeylAT+MUX=?
22:03.17dcordesok will try both
22:03.20mickeylcool
22:04.14mickeylnext 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.17mickeylthen edit tslib.c
22:04.19mickeylthen run make
22:04.23mickeyland copy the new binary over to your device
22:04.27mickeylvery convenient way
22:04.45dcordesno clue what I would want to edit
22:05.02tmztis the debugging from earlier still in there?
22:05.08mickeyldcordes: tslib.c
22:05.22mickeylhw/kdrive/linux/tslib.c
22:05.29tmztok
22:05.47mickeylthere you have e.g. TsRead
22:05.52mickeylwhich gets the data from the input node
22:05.54mickeylfeeds it to tslib
22:06.00mickeyland feeds it back into the X server input system
22:06.12dcordesmickeyl: when I run hexdump /dev/input/touchscreen0, it seems to output the same data as event0
22:06.36mickeylya
22:06.40mickeylit's the same device node
22:06.42mickeylso this is expected
22:06.48mickeyl[if you just linked to it]
22:06.57dcordesno I didn't link. that's the normal state
22:06.58mickeylxkdrive is looking for this input device node
22:06.59mickeylsee tslib.c
22:07.02mickeyloh
22:07.05mickeylit's already linked
22:07.09mickeylgood, then udev works for you
22:07.13dcordesok
22:07.24dcordesI will try and get the strace now
22:07.27mickeylstill you have to find out whether TsRead is actually used to parse the data
22:07.32mickeyland you can only do that by patching X
22:07.39mickeylspicing it up with some printf
22:07.45tmztyou have shift-camera as pipe right?
22:07.47mickeylor using gdb
22:07.57mickeylbut that's more complicated
22:08.06nighthawk08tmzt: do you know how can I create a log file in the boot process?
22:08.14dcordestmzt: yes.
22:09.04tmztnighthawk08: you'll need to ask cr2 about haret
22:09.58tmztshould 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.24nighthawk08cr2: 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.01dcordestmzt: 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.57tmztif your bulding a new image, do that debugging he's talking about
22:14.50tmztif your on kaiser, try the strace Xfbdev and look for touchscreen0
22:15.48dcordestmzt: only run strace  Xfbdev or with the options?
22:16.00tmzt-dumb -softCursor
22:16.10tmztis fbset reporting the right numbers now?
22:16.15dcordesI'll run it in the script that exports the TSLIB_* vars before
22:16.21tmztno
22:16.24tmztno TSLIB
22:16.38dcordestmzt: yeay! that worked. I forgot to try it yesterday.
22:16.52dcordesfbset shows 240 320 240 320 16 geometry line
22:16.58tmzttake them out of /etc/profile # comments them
22:17.06dcordesso the msm_fb.c thing set res=vres
22:17.19dcordesok
22:17.42tmztyou'll have to logout and back in, do you login to get a shell?
22:18.07dcordesI commented them out
22:18.13dcordesyea
22:18.18dcordeswill check export for the vars
22:18.31tmztctrl-d until you get a username prompt
22:18.57dcordesexport TSLIB_TSDEVICE=/dev/input/touchscreen0
22:19.02dcordesI didn't notice that was all the time in there
22:19.12tmztin where?
22:19.18tmztafter yours?
22:19.42tmztwe started on moko image though, remember?
22:19.57tmztand the kernel driver flags were getting cleared
22:20.43dcordeshm wait TSLIB_TSDEVICE=/dev/input/touchscreen0 is not in /etc/profile
22:20.52dcordesso why is it there when I login?
22:21.02tmzt.bashrc ?
22:21.03dcordesdoes libts set it automatically?
22:21.09tmztno
22:21.18dcordesther's only ~/.ash_history
22:21.44tmztthen I don't know
22:22.11dcordesmickeyl: do you know if angstrom sets that somewhere?
22:22.51tmztgrep -r TSLIB /etc
22:23.01dcordesthat will most definetly cause dma
22:23.04dcordeserr
22:23.06tmztoh
22:23.27dcordesI can shutdown and look on the pc if that's vital to doing strace now properly
22:23.40tmztunset
22:23.44tmztit
22:23.48dcordeshow?
22:24.02tmztunset TSLIB_TSDEVICE
22:24.12tmztwill that be exported though?
22:24.23mickeyl<PROTECTED>
22:24.35dcordesokok not in export anymore
22:24.36mickeylif you have no entry for the kaiser in OE tslib
22:24.45mickeylthen the config files might not be shipped
22:24.47mickeylor might be empty
22:25.08dcordesthere is /etc/profile.d/tslib.sh
22:25.20tmztcat /etc/profile.d/tslib.sh
22:25.59dcordesyea it only sets TSLIB_TSDEVICE=/dev/input/touchscreen0
22:26.33dcordesmickeyl: when I only run Xfbdev, all the /etc/X11/* scripts are not used, no?
22:26.45mickeylyeah
22:26.52tmztexport -x TSLIB_TSDEVICE on bash, don't know about ash
22:27.32dcordestmzt: what should that do? I already unset it and moved the profile.d script
22:28.04tmztit might still be in the environment of launched programs, thats what export -x is for
22:28.38dcordesillegal option -x I can also reboot to make sure
22:28.42tmztthe profile can only set it, it is run by the shell
22:28.49tmztlogout and in
22:28.58dcordesbut since I only logged in to tty1 where I removed the var
22:29.11dcordesalready did. export reports nothing is set
22:29.12tmztctrl-d until you get the login:
22:29.16tmztok
22:29.21dcordess/nothing/nothing tslib related/
22:29.26dcordesso
22:30.12tmztstrace
22:30.36dcordesstrace Xfbdev & sleep 30; killall Xfbdev?
22:30.52tmztstrace Xfbdev & (sleep 30; killall Xfbdev?
22:30.59tmztstrace Xfbdev & (sleep 30; killall Xfbdev)
22:31.38tmztstrace Xfbdev 2>strace2.txt & (sleep 30; killall Xfbdev)
22:32.02tmztgrep touchscreen strace2.txt
22:33.16dcordesunderscore
22:33.21tmztmickeyl: are we just going to dump the input events in xorg?
22:33.25tmzttry again
22:33.28dcordesyea
22:33.44tmztstrace Xfbdev -dumb -softCursor 2>strace2.txt & (sleep 30; killall Xfbdev)
22:34.05mickeyltmzt: you can do that as well in evdev.c, sure
22:34.16mickeylbut i'd start w/ tslib.c to see whether tslib is getting used at all
22:34.40tmztwe 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.56tmztoh, just entry point then
22:35.19dcordestmzt: I didn't see the "Invalid update: 0 0 255 20 0" errors from Xfbdev (I touched the screen)
22:35.29tmztand the grep?
22:35.32dcordestmzt: maybe they only appear when it's drawn ok?
22:35.47tmztno, they would be in the strace output which is redirected
22:35.55tmztyou will see fprintf's for them
22:36.09tmztwell, writes
22:36.23dcordestmzt: no results grepping for touchscreen
22:36.29tmztand event
22:36.33tmztand dbus?
22:36.43tmzthal
22:37.00dcordesthere are some events=POLLIN
22:37.05dcordesand there are some events=POLLOUT
22:37.19dcordesI will post the file
22:37.27tmztbitbake -c devshell -b <bbfile>
22:37.35tmzt<PROTECTED>
22:37.37dcordestmzt: I don't understand what gets redirected to strace2.txt
22:37.46dcordesbecause Xfbdev output disappeared
22:37.52dcordesI wanna make sure I still get the errors
22:38.14dcordesI think the Invalid updated errors are of importance becauset they show there is some touchscreen data being tried to processes
22:38.24tmztadd a fprintf(stderr, "...\n"); right above wherever you see ts_open( in that file
22:38.28tmztand then run make
22:38.59tmztmake sure you can tell each printf apart by putting different text in the ...
22:39.47tmzteverything that is printed on stderr is redirected to strace2.txt, but strace decodes those as write( system calls
22:39.53tmztgrep update strace2.txt
22:40.15tmztI need to go for two or so hours
22:40.36dcordesso both Xfbdev and strace output go to 2?
22:40.42tmztyes
22:41.02dcordesok I will try the pritnfs then. thanks and bye
22:41.07tmztok
23:14.11*** join/#htc-linux dcordes_ (n=dcordes@unaffiliated/dcordes)
23:26.24tmztdcordes: did you get those changes made, or do you want to paste that file?
23:27.33tmztdcordes_:
23:36.14nighthawk08tmzt: are you there?
23:40.31tmztyes, which device did you have?
23:40.40nighthawk08himalaya
23:40.59tmztdid you find an image?
23:41.39nighthawk08found 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.05nighthawk08so, seems that I did something wrong with extrating the tar ball of the image of the angstrom
23:44.43nighthawk08You might have an idea how to fix that...
23:46.46tmzthuh, 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.40tmztdcordes may be able to help you with the tar thing when he gets back

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