irclog2html for #htc-blueangel on 20051111

00:00.19bweghjust checked wether part2 is mounted on /mnt and yes, it is
00:01.02bweghready
00:01.09cp15Ok, then we have to setup the modules
00:01.26cp15do a rm -rf /mnt/lib/modules and a cp -rp /lib/modules /mnt/lib/modules
00:02.35cp15Then do a echo g_ether > /mnt/etc/modutils/g_ether
00:02.40bweghtwo errors
00:02.53bweghthey come from links to files which dont exist
00:02.53cp15Yes, about something which is missing. Ignore it
00:03.19cp15Then do a chroot /mnt
00:03.42cp15And execute update-modules
00:04.02cp15Then do a exit to leave the chrooted shell
00:04.41cp15Next we have to setup your network so you are able to login after boot and fix the remaining things :-)
00:04.48cp15Do you know how to use vi?
00:05.13bweghyes
00:05.23bweghwell better: a little
00:05.37cp15Ok, vi /mnt/etc/network/interfaces
00:05.53bweghyop
00:06.03bweghdoes wifi work?
00:06.15bweghor why do i see a wlan0 interface?
00:06.19cp15Replace "iface usb0 inet dhcp" with "iface usb0 inet static"
00:06.41cp15And then add the following lines, intended with a tab, after the iface usb0 line:
00:06.54cp15<PROTECTED>
00:06.54cp15<PROTECTED>
00:06.54cp15<PROTECTED>
00:06.54cp15<PROTECTED>
00:07.04cp15And no, sorry, wlan does not yet work
00:07.22cp15But if it would, you could configure it in this file :-))))
00:07.51cp15Then save the interfaces file
00:08.24bweghok, so when i connect as 205 my pc is the default gateway for the ba
00:08.55cp15Yes, but the default gateway is not critical for now, you can change it later
00:09.12cp15Then we have to modify startup.txt
00:09.30bweghtell me im in
00:09.32cp15cp /boot/linux/startup.txt /boot/linux/start.txt
00:09.55cp15Just to have a backup, since modifying startup.txt with wince destroys it
00:10.30bweghi have edited it with wince and it worked
00:10.30cp15Show me what is currently in startup.txt
00:11.00bweghSET KERNEL "zImage-2.6.12-hh2-4"
00:11.10bweghset MTYPE 766
00:11.29bweghset INITRD "initrd-2.6.12-hh2.gz-4"
00:12.27bweghset CMDLINE "root=/dev/ram0 init=/linuxrc ramdisk_size=14336 keepinitrd console=ttyS2,115200 console=tty0"
00:13.16bweghbootlinux
00:13.50cp15Ok, in the CMDLINE remove the "console=ttyS2,115200" if you don't need a serial console
00:14.09bweghhow to connect to the serial console on the ba?!?
00:14.22cp15And then add a "boot_mmc=y". This tells the initrd you want to boot from sd card
00:14.30cp15You need a special cable
00:14.53cp15I got mine (with usb and serial connector) from expansys
00:15.15cp15But it is only useful if you need to debug boot problems
00:15.31bweghdone
00:15.59cp15Then do a umount /mnt, umount /boot and a sync
00:16.05bweghthe boot_mmc was for the command-line right?
00:16.14cp15Yes
00:16.37cp15It gets passed as environment variable to linuxrc
00:16.50bweghok
00:16.51bweghdone
00:17.10cp15Then do a hard reset, open the file manager and start haret in the linux folder
00:17.10bweghsd unmounted and synced
00:17.28cp15Hopefully we didn't make a mistake :-)
00:19.25bweghportmap is running
00:19.34bweghkernel loaded
00:19.49cp15Do you see something like "init booting"?
00:20.35bweghyes
00:20.51cp15Ok, can you already ping the device?
00:21.49bweghi think i will have to reboot again - it only works when i put it early enough into the cradle
00:22.30cp15Yes, there is still a bug in the linux usb setup. It works only if you have it already connected under windows
00:24.02bweghinit 2.8 booting
00:24.16cp15Ok, looks good
00:24.18bweghand after that there comes a "entering runlevel 2"
00:24.48cp15Hopefully ssh login does work after booting is complete, we still have to fix the touchscreen
00:25.38bweghagain no usb0
00:25.46cp15Takes some time
00:26.22cp15Are there still messages scrolling?
00:26.39bweghnope
00:26.47cp15And no usb0?
00:26.50bweghno
00:27.11cp15Hmm... I wonder what we did wrong
00:27.41bweghinit is telling me that id "TO" is respawning to fast
00:27.43cp15Have you already tried to dis- and reconnect the BA?
00:28.32bwegh"new full speed usb dev using add 13"
00:28.40bwegh"control timeout on ep0in"
00:28.44cp15Ah :-)
00:28.47cp15Oh :-(
00:29.05cp15Did you also see something on the BA?
00:29.06bweghdevice not accepting add 13, error -71"
00:29.23bweghthe "TO" is respawning to fast
00:29.49cp15Hmm... Probably there was a problem with the g_ether driver
00:30.14bweghand now?
00:30.56cp15I am still looking what is different on my setup
00:30.56bwegh.... ist guter Rat teuer ;)
00:31.45bweghhow long do you wanna stay with me here, cp?
00:31.59bweghjust asking because i am thinking of picking some coffee ;)
00:32.36cp15I think I will go to bed soon. Sorry... We have to continue tomorrow
00:32.53bweghwhat would be the next steps ?
00:32.57bweghin short=
00:33.00bweghin short?
00:33.10cp15Ah, I know the error
00:33.42cp15In the interfaces file there is a second line which has to be changed
00:33.57cp15auto lo usb0 (close to the top)
00:34.33cp15You have to rename the startup.txt to start2.txt and start.txt to startup.txt and reboot into the ramdisk where you can fix it
00:35.03cp15Next step would be to load the touchscreen modules
00:36.12cp15You need to load tsdev, himalaya_ts3 and himalaya_tsc2200
00:36.40cp15Then you need to make a symlink from /dev/ts to /dev/input/event0
00:37.44bweghand then x will come up?
00:37.48cp15Then run Xfbdev and xtscal to calibrate the touchscreen
00:38.42cp15Then echo himalaya_ts3 > /etc/modutils/himalaya_ts3
00:38.52cp15and echo evdev > /etc/modutils/evdev
00:39.14cp15and run update-modutils again (so the modules get automatically loaded next time)
00:39.40cp15If you run /etc/init.d/gpe-dm restart then, you should be able to log in to gpe
00:39.50cp15Good luck and good night from me
00:39.58bweghthanks for your help
00:40.01bweghgood night
00:40.05bweghill go on
00:40.17bweghright now again usb0
05:47.07*** join/#htc-blueangel rob_w (n=bob@p85.212.136.78.tisdip.tiscali.de)
05:47.07*** mode/#htc-blueangel [+o rob_w] by ChanServ
07:45.53*** join/#htc-blueangel bwegh (n=bas@p54A33A36.dip0.t-ipconnect.de)
07:46.01bweghgood morning all
08:34.49*** join/#htc-blueangel rob_w-cgi (n=txuser@dd1010.kasserver.com)
08:34.49*** mode/#htc-blueangel [+o rob_w-cgi] by ChanServ
09:40.35bweghmoin, rob_w
09:41.07rob_w-cgihi
09:41.50bweghrob is that you or your bot?
10:05.04rob_w-cgithat is me in the office and the other is my home pc ..sorry
10:05.16rob_w-cgihave xchat autostarted there
10:05.30rob_w-cgihow is it going ?
10:17.25bweghfine ... well not too good, thanx#
10:17.28bweghand there?
10:17.38bweghtrying to install Linux on my BA
10:18.59bweghit is running right now but only boots from ramdisk, not yet from mmc bcause the pxa2..._udc module isnt loaded and therefore the g_ether isnt working so i cant connect to my device using ssh over usbnet :(
10:19.36bweghwhat do i have to do to  get the module loaded during startup?
10:20.03bweghcant find a config file in the ramdisk modutils that tells the kernel to load this module ...
10:28.49rob_w-cgicheck /linuxrc in the initrd filysystem
10:29.23rob_w-cgii will upload a fixed initrd soon
10:32.24bweghso it doesnt work when i try to boot with mmc but it does work when booting with rd?
10:34.07rob_w-cgiah in the initrd there is the section where it gets in when you specify the mmc boot . .in this section these things are missing .. as we did assume all wil lthen be handle by the rootfs on the mmc !
10:34.42rob_w-cgiso having the same stuff also in the mmc boot "if" then we are fine even when the rootfs has problems !
10:35.58bweghyes, i know
10:36.20bweghso which is the magical file? ;)
10:37.37rob_w-cgigunzip the initrd .. mount it via mount -oloop initrd Yourmountpoint ... vi yourmountpoint/linuxrc ... inside the IF $boot_mmc  ..add the modprobe of g_ether and pxa2xxxudc i guess
10:39.50bweghi have added a file "g_ether" containing "g_ether" to the modutils on my mmc - so it should be loaded, shouldnt it?
10:40.42rob_w-cgiwell i think ,, you you configure gpe network settings to come up if the static usb0
10:41.22rob_w-cgiyet we should have it done in the linuxrc of the initrd ,.. so if any problem exists at pivot to mmc the ssh is already available
10:42.15bweghthat is a reason!
10:45.46rob_w-cgiyep
10:55.30rob_w-cgiand else ?
11:36.33bweghwhat do you mean with your "and else" ?
11:41.22rob_w-cginever mind
11:42.15bweghdid you mean the german " und sonst?"
11:42.25bweghif so: good thanks and you?
11:42.56bweghjust edited the linuxrc and now will boot into mmc .... press your thumbs for me ;)
11:45.58bweghseems like pivot_root is not working: "pivot_root: pivot_root: No such file or directory"!
12:05.02bweghthere seems to be another mistake in the linuxrc: the old system is mounted on /mnt/oldroot but it is tried to unmount /mnt/oldroot instead of /oldroot - so i guess the pivot_root command should look like this: "pivot_root /mnt /mnt/mnt/oldroot"
12:10.22rob_w-cgiyeah i meant this :-)
12:13.00rob_w-cgiu need to call pivot_root with a direkt path !°!  like /mnt/sbin/pivot_root
12:14.37bweghno that wasnt the fault, thought that, too but path is exported correctly - i didnt have the /mnt/oldroot dir
12:15.31bweghright now i am trying to use the ts ... but doesnt react yet
12:16.59rob_w-cgicheck if evdev and himalay_ts3 are loaded
12:17.27rob_w-cgithey then create a device called /dev/input/event0  which is the touchscreen
12:17.32bweghdo i have to create nods or is it devfs=
12:17.33bwegh?
12:17.52rob_w-cgiit will be created on loading these modules !
12:23.31bweghthanks a lot
12:23.40bweghgpe is running on my ba right now ;)
12:25.48rob_w-cgicool ,,
12:25.59rob_w-cginice ,eh
12:27.27rob_w-cgiload blueangel_kp and your keyboard works !
12:27.46rob_w-cgiload blueangle_leds and you can access and trigger the leds at /sys/class/leds/*
12:28.14rob_w-cgis/blueangle_leds/blueangel_leds
12:28.47rob_w-cgigo hciattach /dev/tts/3 texas and you can enable bluetooth
12:29.21rob_w-cgiunfortunately we are missing wifi and a "deeper" suspend mode to get longer battery life
13:10.56bweghthe system doesnt suspend at all
13:15.28bweghand it hangs after some time
13:24.38rob_w-cgiwell that is not on my system
13:24.59bweghand the screen is flattering
13:25.05rob_w-cgiyou may need to try a later xfbdev executable .. there is a bugfix there
13:25.16rob_w-cgior try killing apmd
13:28.13bweghis your system so damn slow, too?
13:29.33rob_w-cgihmm not that i feel it that way ?!
13:30.40bweghseems like the ba looses the ts each reboot?!
13:31.16bweghnow he has it again .... seems to be my mistake
13:31.53bweghhow do i enable sound? load blueangel_sound?
13:32.39bweghdamn it ...
13:32.42bweghit hangs again
13:38.55rob_w-cgithats a bit more trickey ... load snd-pcm snd-uda1380 and blueangel_audio   .. .assuming you used the "fixed " haret
13:45.13bweghdownloaded the haret from handhelds.org/moin/moin/blueangel or so
13:49.11rob_w-cgiyep that is ok
13:53.59bweghis there a possibility to load the german keymap?
13:54.25bweghbetter: how to type a "-" ??
14:13.59rob_w-cgino idea sorry , brain is shutting down
14:14.20bweghhehe
14:14.23bweghjust took some coke
14:14.31bweghmine started to shut down, too ;)
14:14.59bweghthe system is gettin very slow
14:27.52rob_w-cgidid you load blueangel_battery ?? you shouldnt !!
14:30.24bweghwhat is it for?
14:33.05rob_w-cgiit was attempted but it interfers with the touchscreen as they are routed through the same asic tsc2200
14:33.26rob_w-cgiso these modules, either touchscreen or battery do still have a bug that a irq is not cleared ...
14:33.51bweghare all settings stored to sd?
14:33.52rob_w-cgithe outcome of loading the battery module is that the toucschreen stucks and only gets every 3rd or more click
14:34.03bweghi see
14:34.04rob_w-cgigpe settings , yes
14:34.58bweghwhat should i set to the sleeping settings in gpe?
14:35.30bweghbecause auto sleep is at 3 mins and after 3 mins i cant login if the settings are like this
14:38.27bweghwhen i try to change the power-safe config it doesnt safe my changes
14:39.04bweghlook and feel doesnt work
14:44.38bweghsound doesnt work, too :(
14:54.14rob_w-cgihang on hang on ....
14:54.51rob_w-cgilook and feel is not ba dependant ..  sleep will work with a newer Xfbdev !! and sound is a bit crumpy i admit
14:55.23rob_w-cgitry to use a later gpe-image .. i know i need to also update this on the wiki
15:02.07*** join/#htc-blueangel llange (n=llange@lange.nom.fr)
15:06.37llangeHello. Just for information, my latest patch for Himalaya is there : http://himalaya.lange.nom.fr/K2-6-12-hh2-xda0-ba0-himalaya-20051111.diff . Fixes for serial, touchscreen, buttons. Buttons are now working (except keypad_enter which works 8/10)
15:07.25rob_w-cgihi llange ..
15:07.41rob_w-cgidid you get my mail about the errors i got with your patch ?!
15:07.47llangeI'm now trying to fix USB / Gadget. I'm facing the "IRQ LOCK: IRQ4 is locking the system, disabled" problem which is mentionned on the net ( http://www.handhelds.org/hypermail/h4100-port/1/0175.html ) but don't have a clue.
15:08.17rob_w-cgithe touchscreen patch from before was applyed
15:08.43llangerob: hello. No I don't think I got your mail, however I do have a ton of spam, I must have a deep look. When did you send it ? I saw for the TS, thanks.
15:10.39rob_w-cgiwell basicly applying your batch breaks some blueangel stuff ... i think it was someing with the irq voodoo
15:11.06rob_w-cgitry it on your and and build the blueanagel modules you should quikcly notice what is wrong
15:12.01rob_w-cgii was planning to strip of the working parts of the your patches .. after i didnt got a response from you ... like i will apply the defconfig and stuff
15:12.56llangeOk I'm going to try to build BA modules right now.
15:14.05rob_w-cgiit was something  #include <asm/hardware/ipaq-ops.h>with that  hack
15:14.31llangeYes I remember this one. I guess I didn't apply the correct fix.
15:14.36rob_w-cgii think i remmeber that the blueangel things include his functions elsewhere
15:15.02rob_w-cgibeside that .. good job , man
15:17.05llangethanks rob, but what I did is only tweaking what was already done for the BlueAngel. All the hard work was already done, and using kernel drivers (instead of specific hardware drivers) wherever is possible really did help.
15:19.14rob_w-cgiyeah .. nonetheless someone needs to do this efford !!
15:20.42llangeI guess others will follow me =) Btw, I just sent you a mail, could you please answer so that I see why I couldn't receive yours ?
15:26.19bweghrob_w, i have a later gpe-image; do i have to cross-compile xfbdev or can i donwload it somewhere?
15:27.04rob_w-cgillange ok done
15:27.24rob_w-cgihmm you only need to get the Xfbdev from it
15:33.41bweghthanks a lot for your help, rob
15:33.51bweghill continue playing with my ba later
16:03.39llangehttp://himalaya.lange.nom.fr/K2-6-12-hh2-xda0-ba0-himalaya-20051111.diff is now corrected and should apply to blueangel with no pb.
16:07.02llangeAny idea for the problem "IRQ LOCK: IRQ4 is locking the system, disabled" when enabling USB Gadget driver ?
18:14.37*** join/#htc-blueangel blackhat (n=blackhat@c-24-62-188-126.hsd1.ma.comcast.net)
18:51.28rob_wre
19:27.27llangehi
19:28.00llangeDo you have any experience with framebuffer compiled as modules (not built-in) ?
19:28.52llangeI'm compiling as a module, a I just found that I needed to manually modprobe in that order : 'himalaya_lcd' / 'w100fb'. Doing the other order result in a kernel oops. strange.
19:31.15llangeAnd drawing on the framebuffer works ! great piece of news !
19:41.57rob_wthis order sounds logical to me , as you first need to enable "the monitor " and then load the video
19:42.41rob_wreal life video of course dont need that ,,
19:43.52rob_wdid you catch up with the compiling problem ?
19:47.44*** join/#htc-blueangel immolo (n=immolo@cpc1-cosh1-4-0-cust126.cos2.cable.ntl.com)
19:48.22*** join/#htc-blueangel immolo (n=immolo@cpc1-cosh1-4-0-cust126.cos2.cable.ntl.com)
19:49.51llangerob_w: yes for the compilation, the patch is now corrected : http://himalaya.lange.nom.fr/K2-6-12-hh2-xda0-ba0-himalaya-20051111.diff
19:50.15llangeIt should apply cleanly and also let blueangel compile.
19:52.11llangeAny idea for the problem "IRQ LOCK: IRQ4 is locking the system, disabled" when enabling USB Gadget driver ?
19:54.45immolowhy has no one created a amstrad emulator for the pocket pc :(
20:13.58immolohey bhima you got any idea on how to uninstall java games from symbian S60?
20:31.45rob_wimmolo, on gpe ?
20:36.29immoloI thought nokia used gpe on newer models
20:36.44rob_wthe 770 to some extend
20:37.53bhimagtk+ on the 770. Not on anything else.
20:38.18immoloall other models seem to have a uninstall program but not this version
20:41.02immoloah found it
20:41.15immolowhat a strange name to call it
20:41.40bhimaWhat is it called?
20:48.18immolounder device manager
20:48.36immolowhich I would thought it would have it's own laucher
20:54.27rob_whmm
22:10.44*** join/#htc-blueangel immolo (n=immolo@cpc1-cosh1-4-0-cust126.cos2.cable.ntl.com)

Generated by irclog2html.pl by Jeff Waugh - find it at freshmeat.net! Modified by Tim Riker to work with blootbot logs, split per channel, etc.