| 06:18.37 | *** join/#htc-blueangel masked (n=masked@static-203-87-16-192.vic.chariot.net.au) |
| 06:18.43 | masked | hi all! |
| 06:50.22 | masked | how can i login to my ba via terminal with a windows box? |
| 06:51.43 | bhima | Well, one solution starts with a Debian installation CD... :) |
| 06:51.59 | bhima | Do you have a serial cable? |
| 06:54.13 | masked | Yeah i do somewhere |
| 06:54.21 | masked | im on a gentoo box here |
| 06:54.29 | masked | but i jave the pda plugged into a windows box atm |
| 06:54.43 | bhima | I believe you can just use hyperterminal over the serial port. |
| 06:54.55 | masked | the serial cable isn't suited for the phone tho |
| 06:55.25 | masked | how can i do it with linux/usb? |
| 06:57.30 | bhima | Does your linux box recognize the BA as a USB serial device? |
| 06:58.23 | bhima | If not, "insmod <pathto>/usbserial.ko vendor=0xfoo device=0xf00" will work. |
| 06:58.24 | masked | cant say it does as i haven't tried it |
| 06:59.06 | bhima | It probably doesn't, unfortunately. If it is supported, you'll just find it appearing as /dev/ttyUSB0, say. |
| 06:59.42 | masked | ok so i only need the usbserial module, nothing else? |
| 06:59.56 | masked | and once i have that dev node how do i tap in? |
| 07:00.13 | bhima | Well, that, and the rest of the modules required for USB on your system, but, yeah. |
| 07:00.25 | bhima | minicom or other terminal emulator. |
| 07:00.46 | masked | ok |
| 07:02.07 | *** join/#htc-blueangel rob_w-cgi (n=txuser@dd1010.kasserver.com) |
| 07:02.08 | *** mode/#htc-blueangel [+o rob_w-cgi] by ChanServ |
| 07:02.47 | masked | what other possible names could the usbtty have? |
| 07:03.00 | masked | it doesn't seem to show as ttyUSB0 |
| 07:03.13 | bhima | Look at your kernel messages... |
| 07:03.41 | masked | oh and as far as vendor and device codes how do i determine those? |
| 07:03.56 | bhima | Kernel messages should include those. |
| 07:04.28 | masked | how do i source the kernel messages? |
| 07:05.05 | masked | dmesg? |
| 07:06.34 | bhima | I think dmesg will give you the appropriate messages. |
| 07:07.57 | masked | eww |
| 07:07.59 | masked | usb 3-1: new full speed USB device using ohci_hcd and address 3 |
| 07:07.59 | masked | usb 3-1: khubd timed out on ep0in |
| 07:08.45 | masked | is that bad? |
| 07:08.52 | masked | usb 3-1: device descriptor read/64, error -110 |
| 07:09.45 | bhima | It doesn't sound very happy. |
| 07:10.46 | rob_w-cgi | hi all |
| 07:10.51 | masked | hi rob_w-cgi |
| 07:16.02 | rob_w-cgi | how is it going ? |
| 07:17.01 | *** join/#htc-blueangel cp15 (i=qtfpyt@p549A04C2.dip0.t-ipconnect.de) |
| 07:17.01 | *** mode/#htc-blueangel [+o cp15] by ChanServ |
| 07:17.08 | cp15 | Good morning |
| 07:17.18 | masked | cp15, morn' |
| 07:17.26 | masked | rob_w-cgi, not bad, having some usbserial problems.. |
| 07:18.29 | rob_w-cgi | hey cp15 ... good work on the weekend ,, i was filled with cvs update emails ! |
| 07:18.43 | cp15 | :-) |
| 07:19.10 | rob_w-cgi | well it seems i am not from good help these days in terms of coding but i am filled with other stuff ( buying houses, fighting german bürcratics |
| 07:19.12 | cp15 | Its not working perfectly, but is getting better. You can send SMSes now |
| 07:19.24 | cp15 | I know... No problem |
| 07:20.00 | masked | cp15, i dont want to bug u but are you familiar with this kind of error w/ usb-serial: usb 3-1: device descriptor read/64, error -110 |
| 07:20.18 | cp15 | I think there will still be a lot of work left when you are finished with your house |
| 07:20.38 | cp15 | Have you used a pre-compiled kernel? |
| 07:21.01 | masked | nah i compiled it, then just compiled usbserial as a module a few minsa go |
| 07:22.00 | cp15 | Ok, I had one similar report from another user. It might be a compiler problem. Which compiler did you use? |
| 07:22.15 | masked | gcc 3.3.6 |
| 07:22.40 | cp15 | mompl |
| 07:22.41 | masked | normally i wouldn't use this old setup but i left my other hdd's 2 hours drive south |
| 07:22.59 | masked | mompl? |
| 07:23.27 | cp15 | Moment please :-) |
| 07:23.40 | masked | ok :) likewise ill brb with chips |
| 07:24.20 | cp15 | I used a even older one gcc 3.3.2 from ftp://ftp.handhelds.org/projects/toolchain/arm-linux-gcc-3.3.2.tar.bz2 |
| 07:25.07 | cp15 | It doesn't like the linker script (just comment out the ASSERT lines) and has another problem with the framebuffer (workaround applied) |
| 07:25.14 | rob_w-cgi | masked : i saw this on my host machine also and it came down that my usb bus is not too stable ... so when i disconnected all other devices and rebooted the host cold it worked ... also make sure that there is no active sync running or on the host the "ipaq.ko" is loaded once ! |
| 07:26.13 | cp15 | And hubs are also often problematic. I got nearly crazy after the 4th reboot of host and ba it didn't work. Until I made a direct connection. Now it works flawless. |
| 07:26.52 | cp15 | Ahh... One additional issue comes to my mind. Did you already connect the usb when WinCE was running? |
| 07:29.59 | cp15 | I noticed a few days ago that the linux usb driver does not enable the usb clock bit (how silly!), so if WinCE does not set it (usb is connected), usb under linux does not work |
| 07:30.01 | masked | cp15, this is my host machine |
| 07:30.28 | masked | oh it was connected to the cradle. |
| 07:30.44 | masked | so i need the ipaq mod? |
| 07:30.50 | cp15 | cradle should be fine |
| 07:31.03 | cp15 | no, don't use it if you are not running synce |
| 07:31.10 | masked | ok |
| 07:31.14 | masked | umm |
| 07:31.18 | masked | brb being summoned |
| 07:33.10 | cp15 | I will fix the clock issue this week, since it annoys me too |
| 07:38.05 | rob_w-cgi | hehe |
| 07:38.52 | rob_w-cgi | oh what Keysym do i have to use to work with teh powerbutton which apps in which row do i need to toggle to suspend properly ? |
| 07:43.27 | cp15 | I have used the following xmodmap |
| 07:43.29 | cp15 | keycode 71 = XF86Book |
| 07:43.30 | cp15 | keycode 72 = XF86Calendar |
| 07:43.30 | cp15 | keycode 73 = XF86Phone |
| 07:43.30 | cp15 | keycode 74 = Cancel |
| 07:43.30 | cp15 | keycode 75 = XF86AudioRecord |
| 07:43.30 | cp15 | keycode 76 = XF86Video |
| 07:43.36 | cp15 | keycode 122 = XF86AudioLowerVolume |
| 07:43.38 | cp15 | keycode 123 = XF86AudioRaiseVolume |
| 07:43.40 | cp15 | keycode 124 = XF86PowerDown |
| 07:44.02 | cp15 | There are 4 missing, but matchbox seems to have a bug and crashes when there are too many keysyms |
| 07:45.19 | cp15 | There is also a strange problem with the x server. It gets a USR1 signal on wakeup |
| 07:45.45 | cp15 | The x server interprets this as "switch to console". It then tries to release the touchscreen |
| 07:46.00 | cp15 | Since the touchscreen is not yet active again, it crashes |
| 07:46.13 | cp15 | I have recompiled it to ignore the USR1 |
| 07:46.37 | rob_w-cgi | oh |
| 07:47.18 | rob_w-cgi | hmm i think it would be better to work aournd this per script .. |
| 07:47.33 | cp15 | We probably also need to add code for lcd shutdown for your display |
| 07:47.52 | cp15 | How do you want to solve it via script? |
| 07:48.47 | rob_w-cgi | how does it try to release the touch .. is that inbuild or a script down by a xserver shutdown ? |
| 07:50.15 | cp15 | The x server opens /dev/apm_bios. When the kernel gets a suspend command, it writes something to this device. The x server closes all input devices and writes an acknowledge to apmbios |
| 07:50.23 | rob_w-cgi | i guess that is inbuild in matchbox .. so then it is hard |
| 07:50.59 | cp15 | No hook for a script in there :-( |
| 07:55.01 | cp15 | rob: do you think we could check in our kernel tree to xanadux cvs? |
| 07:58.15 | rob_w-cgi | yeah the guy said no problem .. just tree it differently as a different project |
| 07:59.40 | cp15 | I would have made a branch in the linux-2.6-xda tree |
| 08:02.15 | cp15 | I think I will also checkin my updated hciattach, gpe-contacts and keylaunch |
| 08:03.03 | cp15 | So, I will have to leave now doing real work :-) |
| 08:03.27 | rob_w-cgi | hmm |
| 08:03.32 | rob_w-cgi | yep |
| 08:03.38 | cp15 | Bye |
| 08:33.25 | masked | any idea on what the tx power is on the wlan card? |
| 08:35.38 | rob_w-cgi | not me |
| 08:36.31 | masked | how about the internal wifi antenna? |
| 08:37.20 | masked | im gunna unplug my usb mouse and do a quick reboot see if that helps |
| 08:40.29 | *** join/#htc-blueangel mskiddy (n=w@static-203-87-16-192.vic.chariot.net.au) |
| 08:45.49 | rob_w-cgi | hi mskiddy |
| 08:46.15 | rob_w-cgi | oh it is u masked ! |
| 08:48.16 | rob_w-cgi | ur nick sounds more like a microsoft one ?? |
| 09:53.50 | mskiddy | HAHAHA |
| 09:54.04 | mskiddy | sorry about that got distracted |
| 09:57.22 | rob_w-cgi | hehe |
| 09:57.48 | rob_w-cgi | ~lart masked for using a dirty nick |
| 10:01.10 | masked | lol |
| 10:01.37 | masked | it was meant to read m'skiddy |
| 10:01.44 | masked | nm |
| 10:36.31 | masked | i still cant work this thing out |
| 10:37.36 | *** join/#htc-blueangel rob_w-cgi (n=txuser@dd1010.kasserver.com) |
| 10:37.36 | *** mode/#htc-blueangel [+o rob_w-cgi] by ChanServ |
| 10:46.04 | masked | hey rob_w-cgi |
| 10:46.23 | masked | had no luck with the usb thing, unplugging the mouse and rebooting got rid of the error, but still got no tty |
| 10:46.56 | rob_w-cgi | does the usb start on the BA ? |
| 10:47.24 | rob_w-cgi | and did you ideally move the ipaq.ko to a different name so it doesnt get loaded at all? |
| 11:02.33 | masked | i never had ipaq compiled |
| 11:02.43 | masked | the usb does start if its plugged in at boot |
| 11:35.50 | rob_w-cgi | what modules are loaded from hotplug when you connect the BA running linux ? |
| 11:55.43 | masked | good question |
| 11:55.54 | masked | im not entirely sure i have hotplug enabled |
| 11:56.06 | masked | sorry i've been distracted by work |
| 11:56.43 | masked | its time for me to sleep, but thanks for the help i will likely be back tomorrow. |
| 11:56.58 | *** join/#htc-blueangel immolo (n=immolo@cpc1-cosh1-4-0-cust126.cos2.cable.ntl.com) |
| 14:25.00 | *** join/#htc-blueangel immolo (n=immolo@cpc1-cosh1-4-0-cust126.cos2.cable.ntl.com) |
| 15:32.50 | *** join/#htc-blueangel cp15 (i=whhkon@p549A04C2.dip0.t-ipconnect.de) |
| 15:32.50 | *** mode/#htc-blueangel [+o cp15] by ChanServ |
| 15:32.56 | cp15 | Good morning |
| 16:01.55 | bhima | Hah. In Brazil, adding a "+" before a long distance number when dialling on your cellphone doesn't work. |
| 16:02.02 | bhima | You need to select a long distance provider. |
| 16:17.35 | cp15 | :-( So the canonical numbers arent a good idea, too? |
| 16:18.22 | bhima | They're a good idea. |
| 16:18.41 | cp15 | But not for brazil |
| 16:18.50 | bhima | No, they're still a good idea there. :) |
| 16:18.59 | bhima | It's just that the conversion function is annnoying |
| 16:19.14 | bhima | You can't assume "+" |
| 16:19.16 | cp15 | Maybe we need a "replace + with xyz" feature |
| 16:19.42 | bhima | Well, I figuring the + would be stored. |
| 16:20.27 | bhima | Actually, I think in the czech republic, they also have optiosn where you can dial digits in advance for cheaper rates. |
| 16:21.19 | cp15 | Similar in german non-mobile phone system. But I don't think its possible here with mobile phones |
| 16:26.41 | bhima | Yeah. You can do that in the US, too. |
| 16:26.51 | bhima | I think it's best to just keep it in mind. |
| 16:27.16 | bhima | I would ignore people who decide to store their phone numbers with the long distance accessor codes pre-pended to them |
| 16:54.25 | cp15 | Ok, i will visit a friend now. |
| 16:54.28 | cp15 | Bye |
| 18:30.14 | *** join/#htc-blueangel rob_w (n=bob@p213.54.157.251.tisdip.tiscali.de) |
| 18:30.14 | *** mode/#htc-blueangel [+o rob_w] by ChanServ |
| 19:08.50 | *** join/#htc-blueangel _bob_w (n=bob@p213.54.156.220.tisdip.tiscali.de) |
| 20:00.30 | *** join/#htc-blueangel rob_w (n=bob@p213.54.156.220.tisdip.tiscali.de) |
| 20:00.30 | *** mode/#htc-blueangel [+o rob_w] by ChanServ |
| 21:55.29 | *** join/#htc-blueangel cp15 (i=ohohos@p549A04C2.dip0.t-ipconnect.de) |
| 21:55.29 | *** mode/#htc-blueangel [+o cp15] by ChanServ |
| 21:55.35 | cp15 | Good morning |
| 22:19.08 | immolo | hey |
| 22:25.56 | cp15 | Hi immolo |
| 22:26.14 | cp15 | Did you succeed in creating a newer sd card image? |
| 22:28.22 | immolo | I fixed the permission errors and found out you are suppose to log in as root on those images |
| 22:28.36 | immolo | but it does untar more cleanly now |
| 22:30.10 | cp15 | Do you have time and are you interested in making a little distribution for the ba? |
| 22:30.43 | immolo | sure, I was planning on trying to help in that part anyway |
| 22:31.17 | cp15 | Ok, then here are the steps to go, I think |
| 22:32.20 | cp15 | Take a look at http://oe.handhelds.org/cgi-bin/moin.cgi/GettingStarted |
| 22:34.00 | immolo | right |
| 22:34.24 | cp15 | Then take a look at http://userpage.fu-berlin.de/~zabel/hx4700. There is some nice customization for the hx4700 |
| 22:34.42 | immolo | I was trying to play with that the other day |
| 22:35.09 | immolo | trying to open a jffs2 is not fun |
| 22:35.25 | cp15 | :-) I also found out that |
| 22:35.30 | immolo | I can mount about 4megs of it |
| 22:35.40 | cp15 | Yes? I failed |
| 22:36.31 | immolo | heh not much in those 4megs |
| 22:36.50 | cp15 | I used gpe-image-h3900-20050814160204.rootfs.tar.bz2 (found somewhere on hh ftp) as a base for my currently running system |
| 22:36.51 | immolo | you need to hack the kernel driver of mtdram to see anymore |
| 22:37.24 | cp15 | It should work to setup a loop device and use mtdblock... But for me, it didn't work |
| 22:37.27 | immolo | that's also the sdimage on the hh wiki is nased on |
| 22:37.43 | immolo | you can't use loop with mtd |
| 22:38.04 | cp15 | There is a mtd-emulation-on-blockdev driver |
| 22:38.10 | immolo | someone is working on a driver so you can but until then |
| 22:38.19 | immolo | hmm? |
| 22:38.23 | immolo | two secs |
| 22:38.32 | immolo | I'll fire up menuconfig |
| 22:39.18 | cp15 | MTD_BLKMTD |
| 22:39.27 | cp15 | But as I said, I failed |
| 22:40.48 | immolo | let me see if I can get passed the 4megs with that driver compiled |
| 22:47.28 | immolo | nope I can't get into it other then the first 4 megs |
| 22:48.25 | immolo | oh wait |
| 22:48.46 | immolo | you know the size of the image open? |
| 22:49.12 | cp15 | I guess 32MB |
| 22:50.47 | immolo | while this is compiling quick are you planning on using an sdcard or using the storage built into the ba? |
| 22:51.39 | cp15 | Currently the sdcard, because sometimes we have to look at windows how things work :-) |
| 22:52.13 | cp15 | But if that is no longer necessary, I could imagine the following setup: |
| 22:52.13 | immolo | hehe but isn't wince installed rom? |
| 22:52.29 | immolo | installed to rom rather |
| 22:52.41 | cp15 | Kernel, initrd (if necessary) and base operating system in pxa flash |
| 22:53.05 | cp15 | home, user customization and other more dynamic stuff in DOC |
| 22:53.30 | cp15 | Bigger packages in sd |
| 22:54.47 | cp15 | wince is mainly in the pxa flash, provider customization in DOC, user data in RAM and rest of DOC unused |
| 22:54.48 | immolo | pretty much what I thought |
| 22:55.03 | immolo | expect having home on sd |
| 22:55.23 | cp15 | I would put home on doc, since home on sd makes it hard to change the sd card |
| 22:55.35 | immolo | true |
| 22:56.07 | immolo | as long as my stuff isn't in ram I'll be happy |
| 22:56.12 | cp15 | And so you can have multiple sd cards for multiple purposes... One for a navigation system, one for a big mp3 collection, one for some videos |
| 22:56.33 | immolo | and psx games :D |
| 22:56.33 | cp15 | No, I always hated this on the zaurus. Battery empty -> all data lost |
| 22:57.39 | immolo | I remember the first time, I spent a week setting up everyones birthday on my xda2 and then the thing crashes and lost everything |
| 22:57.44 | cp15 | And since the ba has 96 MB flash, it should be enough to keep os, settings and basic applications there |
| 22:58.31 | cp15 | I also make regularely backups from my ba now. With rsync a matter of seconds |
| 22:59.07 | *** part/#htc-blueangel cp15 (i=ohohos@p549A04C2.dip0.t-ipconnect.de) |
| 22:59.10 | immolo | haha mounted |
| 22:59.19 | *** join/#htc-blueangel cp15 (i=ohohos@p549A04C2.dip0.t-ipconnect.de) |
| 22:59.19 | *** mode/#htc-blueangel [+o cp15] by ChanServ |
| 22:59.28 | cp15 | Sorry, pressed the wrong key :-( |
| 22:59.38 | immolo | hehe well I just mounted it |
| 22:59.44 | cp15 | complete? |
| 22:59.53 | immolo | just checking |
| 23:00.25 | immolo | back to stage 1 :P |
| 23:00.33 | immolo | at least I can mount 50mb now |
| 23:01.07 | cp15 | Ok :-) |
| 23:01.27 | immolo | there |
| 23:01.54 | immolo | you want me to tar this up? |
| 23:02.06 | cp15 | Maybe better test it first |
| 23:02.31 | cp15 | And next step will be to compile it from source |
| 23:02.54 | cp15 | I have some patches and additional apps for integration |
| 23:03.01 | immolo | heh let me make some coffee quick and I'll transfer over |
| 23:03.17 | cp15 | Ok, but I will go to bed now |
| 23:03.35 | immolo | I also remember the last time me and oe tried to compile from source |
| 23:04.00 | immolo | k night |
| 23:04.32 | cp15 | Night |