| 00:00.19 | bwegh | just checked wether part2 is mounted on /mnt and yes, it is |
| 00:01.02 | bwegh | ready |
| 00:01.09 | cp15 | Ok, then we have to setup the modules |
| 00:01.26 | cp15 | do a rm -rf /mnt/lib/modules and a cp -rp /lib/modules /mnt/lib/modules |
| 00:02.35 | cp15 | Then do a echo g_ether > /mnt/etc/modutils/g_ether |
| 00:02.40 | bwegh | two errors |
| 00:02.53 | bwegh | they come from links to files which dont exist |
| 00:02.53 | cp15 | Yes, about something which is missing. Ignore it |
| 00:03.19 | cp15 | Then do a chroot /mnt |
| 00:03.42 | cp15 | And execute update-modules |
| 00:04.02 | cp15 | Then do a exit to leave the chrooted shell |
| 00:04.41 | cp15 | Next we have to setup your network so you are able to login after boot and fix the remaining things :-) |
| 00:04.48 | cp15 | Do you know how to use vi? |
| 00:05.13 | bwegh | yes |
| 00:05.23 | bwegh | well better: a little |
| 00:05.37 | cp15 | Ok, vi /mnt/etc/network/interfaces |
| 00:05.53 | bwegh | yop |
| 00:06.03 | bwegh | does wifi work? |
| 00:06.15 | bwegh | or why do i see a wlan0 interface? |
| 00:06.19 | cp15 | Replace "iface usb0 inet dhcp" with "iface usb0 inet static" |
| 00:06.41 | cp15 | And then add the following lines, intended with a tab, after the iface usb0 line: |
| 00:06.54 | cp15 | <PROTECTED> |
| 00:06.54 | cp15 | <PROTECTED> |
| 00:06.54 | cp15 | <PROTECTED> |
| 00:06.54 | cp15 | <PROTECTED> |
| 00:07.04 | cp15 | And no, sorry, wlan does not yet work |
| 00:07.22 | cp15 | But if it would, you could configure it in this file :-)))) |
| 00:07.51 | cp15 | Then save the interfaces file |
| 00:08.24 | bwegh | ok, so when i connect as 205 my pc is the default gateway for the ba |
| 00:08.55 | cp15 | Yes, but the default gateway is not critical for now, you can change it later |
| 00:09.12 | cp15 | Then we have to modify startup.txt |
| 00:09.30 | bwegh | tell me im in |
| 00:09.32 | cp15 | cp /boot/linux/startup.txt /boot/linux/start.txt |
| 00:09.55 | cp15 | Just to have a backup, since modifying startup.txt with wince destroys it |
| 00:10.30 | bwegh | i have edited it with wince and it worked |
| 00:10.30 | cp15 | Show me what is currently in startup.txt |
| 00:11.00 | bwegh | SET KERNEL "zImage-2.6.12-hh2-4" |
| 00:11.10 | bwegh | set MTYPE 766 |
| 00:11.29 | bwegh | set INITRD "initrd-2.6.12-hh2.gz-4" |
| 00:12.27 | bwegh | set CMDLINE "root=/dev/ram0 init=/linuxrc ramdisk_size=14336 keepinitrd console=ttyS2,115200 console=tty0" |
| 00:13.16 | bwegh | bootlinux |
| 00:13.50 | cp15 | Ok, in the CMDLINE remove the "console=ttyS2,115200" if you don't need a serial console |
| 00:14.09 | bwegh | how to connect to the serial console on the ba?!? |
| 00:14.22 | cp15 | And then add a "boot_mmc=y". This tells the initrd you want to boot from sd card |
| 00:14.30 | cp15 | You need a special cable |
| 00:14.53 | cp15 | I got mine (with usb and serial connector) from expansys |
| 00:15.15 | cp15 | But it is only useful if you need to debug boot problems |
| 00:15.31 | bwegh | done |
| 00:15.59 | cp15 | Then do a umount /mnt, umount /boot and a sync |
| 00:16.05 | bwegh | the boot_mmc was for the command-line right? |
| 00:16.14 | cp15 | Yes |
| 00:16.37 | cp15 | It gets passed as environment variable to linuxrc |
| 00:16.50 | bwegh | ok |
| 00:16.51 | bwegh | done |
| 00:17.10 | cp15 | Then do a hard reset, open the file manager and start haret in the linux folder |
| 00:17.10 | bwegh | sd unmounted and synced |
| 00:17.28 | cp15 | Hopefully we didn't make a mistake :-) |
| 00:19.25 | bwegh | portmap is running |
| 00:19.34 | bwegh | kernel loaded |
| 00:19.49 | cp15 | Do you see something like "init booting"? |
| 00:20.35 | bwegh | yes |
| 00:20.51 | cp15 | Ok, can you already ping the device? |
| 00:21.49 | bwegh | i think i will have to reboot again - it only works when i put it early enough into the cradle |
| 00:22.30 | cp15 | Yes, there is still a bug in the linux usb setup. It works only if you have it already connected under windows |
| 00:24.02 | bwegh | init 2.8 booting |
| 00:24.16 | cp15 | Ok, looks good |
| 00:24.18 | bwegh | and after that there comes a "entering runlevel 2" |
| 00:24.48 | cp15 | Hopefully ssh login does work after booting is complete, we still have to fix the touchscreen |
| 00:25.38 | bwegh | again no usb0 |
| 00:25.46 | cp15 | Takes some time |
| 00:26.22 | cp15 | Are there still messages scrolling? |
| 00:26.39 | bwegh | nope |
| 00:26.47 | cp15 | And no usb0? |
| 00:26.50 | bwegh | no |
| 00:27.11 | cp15 | Hmm... I wonder what we did wrong |
| 00:27.41 | bwegh | init is telling me that id "TO" is respawning to fast |
| 00:27.43 | cp15 | Have you already tried to dis- and reconnect the BA? |
| 00:28.32 | bwegh | "new full speed usb dev using add 13" |
| 00:28.40 | bwegh | "control timeout on ep0in" |
| 00:28.44 | cp15 | Ah :-) |
| 00:28.47 | cp15 | Oh :-( |
| 00:29.05 | cp15 | Did you also see something on the BA? |
| 00:29.06 | bwegh | device not accepting add 13, error -71" |
| 00:29.23 | bwegh | the "TO" is respawning to fast |
| 00:29.49 | cp15 | Hmm... Probably there was a problem with the g_ether driver |
| 00:30.14 | bwegh | and now? |
| 00:30.56 | cp15 | I am still looking what is different on my setup |
| 00:30.56 | bwegh | .... ist guter Rat teuer ;) |
| 00:31.45 | bwegh | how long do you wanna stay with me here, cp? |
| 00:31.59 | bwegh | just asking because i am thinking of picking some coffee ;) |
| 00:32.36 | cp15 | I think I will go to bed soon. Sorry... We have to continue tomorrow |
| 00:32.53 | bwegh | what would be the next steps ? |
| 00:32.57 | bwegh | in short= |
| 00:33.00 | bwegh | in short? |
| 00:33.10 | cp15 | Ah, I know the error |
| 00:33.42 | cp15 | In the interfaces file there is a second line which has to be changed |
| 00:33.57 | cp15 | auto lo usb0 (close to the top) |
| 00:34.33 | cp15 | You 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.03 | cp15 | Next step would be to load the touchscreen modules |
| 00:36.12 | cp15 | You need to load tsdev, himalaya_ts3 and himalaya_tsc2200 |
| 00:36.40 | cp15 | Then you need to make a symlink from /dev/ts to /dev/input/event0 |
| 00:37.44 | bwegh | and then x will come up? |
| 00:37.48 | cp15 | Then run Xfbdev and xtscal to calibrate the touchscreen |
| 00:38.42 | cp15 | Then echo himalaya_ts3 > /etc/modutils/himalaya_ts3 |
| 00:38.52 | cp15 | and echo evdev > /etc/modutils/evdev |
| 00:39.14 | cp15 | and run update-modutils again (so the modules get automatically loaded next time) |
| 00:39.40 | cp15 | If you run /etc/init.d/gpe-dm restart then, you should be able to log in to gpe |
| 00:39.50 | cp15 | Good luck and good night from me |
| 00:39.58 | bwegh | thanks for your help |
| 00:40.01 | bwegh | good night |
| 00:40.05 | bwegh | ill go on |
| 00:40.17 | bwegh | right 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.01 | bwegh | good 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.35 | bwegh | moin, rob_w |
| 09:41.07 | rob_w-cgi | hi |
| 09:41.50 | bwegh | rob is that you or your bot? |
| 10:05.04 | rob_w-cgi | that is me in the office and the other is my home pc ..sorry |
| 10:05.16 | rob_w-cgi | have xchat autostarted there |
| 10:05.30 | rob_w-cgi | how is it going ? |
| 10:17.25 | bwegh | fine ... well not too good, thanx# |
| 10:17.28 | bwegh | and there? |
| 10:17.38 | bwegh | trying to install Linux on my BA |
| 10:18.59 | bwegh | it 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.36 | bwegh | what do i have to do to get the module loaded during startup? |
| 10:20.03 | bwegh | cant find a config file in the ramdisk modutils that tells the kernel to load this module ... |
| 10:28.49 | rob_w-cgi | check /linuxrc in the initrd filysystem |
| 10:29.23 | rob_w-cgi | i will upload a fixed initrd soon |
| 10:32.24 | bwegh | so it doesnt work when i try to boot with mmc but it does work when booting with rd? |
| 10:34.07 | rob_w-cgi | ah 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.42 | rob_w-cgi | so having the same stuff also in the mmc boot "if" then we are fine even when the rootfs has problems ! |
| 10:35.58 | bwegh | yes, i know |
| 10:36.20 | bwegh | so which is the magical file? ;) |
| 10:37.37 | rob_w-cgi | gunzip 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.50 | bwegh | i have added a file "g_ether" containing "g_ether" to the modutils on my mmc - so it should be loaded, shouldnt it? |
| 10:40.42 | rob_w-cgi | well i think ,, you you configure gpe network settings to come up if the static usb0 |
| 10:41.22 | rob_w-cgi | yet 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.15 | bwegh | that is a reason! |
| 10:45.46 | rob_w-cgi | yep |
| 10:55.30 | rob_w-cgi | and else ? |
| 11:36.33 | bwegh | what do you mean with your "and else" ? |
| 11:41.22 | rob_w-cgi | never mind |
| 11:42.15 | bwegh | did you mean the german " und sonst?" |
| 11:42.25 | bwegh | if so: good thanks and you? |
| 11:42.56 | bwegh | just edited the linuxrc and now will boot into mmc .... press your thumbs for me ;) |
| 11:45.58 | bwegh | seems like pivot_root is not working: "pivot_root: pivot_root: No such file or directory"! |
| 12:05.02 | bwegh | there 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.22 | rob_w-cgi | yeah i meant this :-) |
| 12:13.00 | rob_w-cgi | u need to call pivot_root with a direkt path !°! like /mnt/sbin/pivot_root |
| 12:14.37 | bwegh | no that wasnt the fault, thought that, too but path is exported correctly - i didnt have the /mnt/oldroot dir |
| 12:15.31 | bwegh | right now i am trying to use the ts ... but doesnt react yet |
| 12:16.59 | rob_w-cgi | check if evdev and himalay_ts3 are loaded |
| 12:17.27 | rob_w-cgi | they then create a device called /dev/input/event0 which is the touchscreen |
| 12:17.32 | bwegh | do i have to create nods or is it devfs= |
| 12:17.33 | bwegh | ? |
| 12:17.52 | rob_w-cgi | it will be created on loading these modules ! |
| 12:23.31 | bwegh | thanks a lot |
| 12:23.40 | bwegh | gpe is running on my ba right now ;) |
| 12:25.48 | rob_w-cgi | cool ,, |
| 12:25.59 | rob_w-cgi | nice ,eh |
| 12:27.27 | rob_w-cgi | load blueangel_kp and your keyboard works ! |
| 12:27.46 | rob_w-cgi | load blueangle_leds and you can access and trigger the leds at /sys/class/leds/* |
| 12:28.14 | rob_w-cgi | s/blueangle_leds/blueangel_leds |
| 12:28.47 | rob_w-cgi | go hciattach /dev/tts/3 texas and you can enable bluetooth |
| 12:29.21 | rob_w-cgi | unfortunately we are missing wifi and a "deeper" suspend mode to get longer battery life |
| 13:10.56 | bwegh | the system doesnt suspend at all |
| 13:15.28 | bwegh | and it hangs after some time |
| 13:24.38 | rob_w-cgi | well that is not on my system |
| 13:24.59 | bwegh | and the screen is flattering |
| 13:25.05 | rob_w-cgi | you may need to try a later xfbdev executable .. there is a bugfix there |
| 13:25.16 | rob_w-cgi | or try killing apmd |
| 13:28.13 | bwegh | is your system so damn slow, too? |
| 13:29.33 | rob_w-cgi | hmm not that i feel it that way ?! |
| 13:30.40 | bwegh | seems like the ba looses the ts each reboot?! |
| 13:31.16 | bwegh | now he has it again .... seems to be my mistake |
| 13:31.53 | bwegh | how do i enable sound? load blueangel_sound? |
| 13:32.39 | bwegh | damn it ... |
| 13:32.42 | bwegh | it hangs again |
| 13:38.55 | rob_w-cgi | thats a bit more trickey ... load snd-pcm snd-uda1380 and blueangel_audio .. .assuming you used the "fixed " haret |
| 13:45.13 | bwegh | downloaded the haret from handhelds.org/moin/moin/blueangel or so |
| 13:49.11 | rob_w-cgi | yep that is ok |
| 13:53.59 | bwegh | is there a possibility to load the german keymap? |
| 13:54.25 | bwegh | better: how to type a "-" ?? |
| 14:13.59 | rob_w-cgi | no idea sorry , brain is shutting down |
| 14:14.20 | bwegh | hehe |
| 14:14.23 | bwegh | just took some coke |
| 14:14.31 | bwegh | mine started to shut down, too ;) |
| 14:14.59 | bwegh | the system is gettin very slow |
| 14:27.52 | rob_w-cgi | did you load blueangel_battery ?? you shouldnt !! |
| 14:30.24 | bwegh | what is it for? |
| 14:33.05 | rob_w-cgi | it was attempted but it interfers with the touchscreen as they are routed through the same asic tsc2200 |
| 14:33.26 | rob_w-cgi | so these modules, either touchscreen or battery do still have a bug that a irq is not cleared ... |
| 14:33.51 | bwegh | are all settings stored to sd? |
| 14:33.52 | rob_w-cgi | the outcome of loading the battery module is that the toucschreen stucks and only gets every 3rd or more click |
| 14:34.03 | bwegh | i see |
| 14:34.04 | rob_w-cgi | gpe settings , yes |
| 14:34.58 | bwegh | what should i set to the sleeping settings in gpe? |
| 14:35.30 | bwegh | because auto sleep is at 3 mins and after 3 mins i cant login if the settings are like this |
| 14:38.27 | bwegh | when i try to change the power-safe config it doesnt safe my changes |
| 14:39.04 | bwegh | look and feel doesnt work |
| 14:44.38 | bwegh | sound doesnt work, too :( |
| 14:54.14 | rob_w-cgi | hang on hang on .... |
| 14:54.51 | rob_w-cgi | look and feel is not ba dependant .. sleep will work with a newer Xfbdev !! and sound is a bit crumpy i admit |
| 14:55.23 | rob_w-cgi | try 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.37 | llange | Hello. 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.25 | rob_w-cgi | hi llange .. |
| 15:07.41 | rob_w-cgi | did you get my mail about the errors i got with your patch ?! |
| 15:07.47 | llange | I'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.17 | rob_w-cgi | the touchscreen patch from before was applyed |
| 15:08.43 | llange | rob: 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.39 | rob_w-cgi | well basicly applying your batch breaks some blueangel stuff ... i think it was someing with the irq voodoo |
| 15:11.06 | rob_w-cgi | try it on your and and build the blueanagel modules you should quikcly notice what is wrong |
| 15:12.01 | rob_w-cgi | i 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.56 | llange | Ok I'm going to try to build BA modules right now. |
| 15:14.05 | rob_w-cgi | it was something #include <asm/hardware/ipaq-ops.h>with that hack |
| 15:14.31 | llange | Yes I remember this one. I guess I didn't apply the correct fix. |
| 15:14.36 | rob_w-cgi | i think i remmeber that the blueangel things include his functions elsewhere |
| 15:15.02 | rob_w-cgi | beside that .. good job , man |
| 15:17.05 | llange | thanks 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.14 | rob_w-cgi | yeah .. nonetheless someone needs to do this efford !! |
| 15:20.42 | llange | I 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.19 | bwegh | rob_w, i have a later gpe-image; do i have to cross-compile xfbdev or can i donwload it somewhere? |
| 15:27.04 | rob_w-cgi | llange ok done |
| 15:27.24 | rob_w-cgi | hmm you only need to get the Xfbdev from it |
| 15:33.41 | bwegh | thanks a lot for your help, rob |
| 15:33.51 | bwegh | ill continue playing with my ba later |
| 16:03.39 | llange | http://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.02 | llange | Any 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.28 | rob_w | re |
| 19:27.27 | llange | hi |
| 19:28.00 | llange | Do you have any experience with framebuffer compiled as modules (not built-in) ? |
| 19:28.52 | llange | I'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.15 | llange | And drawing on the framebuffer works ! great piece of news ! |
| 19:41.57 | rob_w | this order sounds logical to me , as you first need to enable "the monitor " and then load the video |
| 19:42.41 | rob_w | real life video of course dont need that ,, |
| 19:43.52 | rob_w | did 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.51 | llange | rob_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.15 | llange | It should apply cleanly and also let blueangel compile. |
| 19:52.11 | llange | Any idea for the problem "IRQ LOCK: IRQ4 is locking the system, disabled" when enabling USB Gadget driver ? |
| 19:54.45 | immolo | why has no one created a amstrad emulator for the pocket pc :( |
| 20:13.58 | immolo | hey bhima you got any idea on how to uninstall java games from symbian S60? |
| 20:31.45 | rob_w | immolo, on gpe ? |
| 20:36.29 | immolo | I thought nokia used gpe on newer models |
| 20:36.44 | rob_w | the 770 to some extend |
| 20:37.53 | bhima | gtk+ on the 770. Not on anything else. |
| 20:38.18 | immolo | all other models seem to have a uninstall program but not this version |
| 20:41.02 | immolo | ah found it |
| 20:41.15 | immolo | what a strange name to call it |
| 20:41.40 | bhima | What is it called? |
| 20:48.18 | immolo | under device manager |
| 20:48.36 | immolo | which I would thought it would have it's own laucher |
| 20:54.27 | rob_w | hmm |
| 22:10.44 | *** join/#htc-blueangel immolo (n=immolo@cpc1-cosh1-4-0-cust126.cos2.cable.ntl.com) |