00:00.31 | cr2 | hmm. |
00:00.52 | cr2 | in the first part of the IPL the gpio regs are initialized. |
00:01.07 | cr2 | and not only gpio, but gpio is the most interesting. |
00:02.03 | lkcl | what's the IPL again? |
00:02.34 | cr2 | G4 |
00:02.39 | lkcl | ah yep. |
00:02.49 | lkcl | forgot about that. joy. |
00:04.24 | lkcl | i still have some lights on, btw, after a suspend. the green led, the blue led, and the phone-buttons are all on. does that mean there's a problem, where suspend hasn't completed? |
00:04.47 | lkcl | or doesn't it matter? |
00:05.20 | lkcl | i need to double-check asic sleepconf |
00:11.33 | lkcl | cr2, can you double-check something with me? |
00:11.39 | lkcl | the asic3 raw dump is this: |
00:11.41 | lkcl | 10000000 | bffbffff ffff8083 00000000 0080ffff | ................ |
00:11.41 | lkcl | 10000010 | 00000000 000c6000 c087c087 00000000 | .....`.......... |
00:12.05 | lkcl | the asic3 gpio a settings in htcsable.c are this: |
00:12.07 | lkcl | <PROTECTED> |
00:12.07 | lkcl | <PROTECTED> |
00:12.07 | lkcl | <PROTECTED> |
00:12.07 | lkcl | <PROTECTED> |
00:12.07 | lkcl | <PROTECTED> |
00:12.08 | lkcl | <PROTECTED> |
00:12.29 | lkcl | but the offsets are this: |
00:12.32 | lkcl | <PROTECTED> |
00:12.32 | lkcl | <PROTECTED> |
00:12.53 | lkcl | and that says to me that alt_function and sleep_conf values in htcsable.c are the wrong way round |
00:15.30 | cr2 | wait. that's why i prefer names. |
00:16.12 | lkcl | oh hang on - the dump is... word-aligned, isn't it. |
00:16.26 | lkcl | 32-bit word-aligned. |
00:16.51 | cr2 | i think it is right. |
00:17.05 | cr2 | little-endian. right to left. |
00:17.20 | cr2 | what id 0x6000 alt ? |
00:17.35 | cr2 | it's A13 and A14, the mysterious bits. |
00:17.42 | cr2 | it is ok. |
00:17.42 | lkcl | yep. |
00:17.47 | lkcl | oOoOOooOOo :) |
00:18.29 | lkcl | what am i missing? |
00:19.10 | cr2 | PW* bits look ok. |
00:19.19 | cr2 | what is 1<<5 ? |
00:20.06 | lkcl | 1<<5 is 0x20 - it's one that's set that isn't listed (!) |
00:21.16 | lkcl | !pxa27x power |
00:21.16 | lkcl | <pre> |
00:21.16 | lkcl | <PROTECTED> |
00:21.16 | lkcl | <PROTECTED> |
00:21.16 | lkcl | <PROTECTED> |
00:21.17 | lkcl | <PROTECTED> |
00:21.17 | cr2 | i'll look in the manual. |
00:21.18 | lkcl | <PROTECTED> |
00:23.23 | lkcl | k |
00:33.54 | *** join/#htc-linux ljp (n=lpotter@203.94.178.46) |
00:39.33 | cr2 | it's reserved ;) |
00:39.41 | cr2 | so remove it. |
00:39.45 | lkcl | ack |
00:40.17 | lkcl | gone :) |
00:40.24 | cr2 | so you have the power button and asic3. ok. |
00:40.51 | lkcl | yep? :) |
00:41.43 | *** join/#htc-linux skodde (n=skodde@unaffiliated/skodde) |
00:42.22 | cr2 | the pgsr* is ok. |
00:42.34 | lkcl | ack |
00:44.32 | lkcl | AH bugger. |
00:45.08 | lkcl | oh it's ok i am calling the ll_pm_init fn |
00:45.35 | cr2 | wwhere ? |
00:47.55 | lkcl | htcsable_core_probe() |
00:48.24 | cr2 | yes, universal does the same. |
00:50.25 | lkcl | these are all the PM devices: |
00:50.27 | lkcl | PM: Adding info for platform:asic3.0 |
00:50.27 | lkcl | PM: Adding info for platform:htcsable_core.0 |
00:50.27 | lkcl | PM: Adding info for platform:pxa2xx-mci |
00:50.27 | lkcl | PM: Adding info for platform:pxa2xx-udc |
00:50.27 | lkcl | PM: Adding info for platform:pxa2xx-fb |
00:50.28 | lkcl | PM: Adding info for platform:pxa2xx-uart.0 |
00:50.30 | lkcl | PM: Adding info for platform:pxa2xx-uart.1 |
00:50.32 | lkcl | PM: Adding info for platform:pxa2xx-uart.2 |
00:50.34 | lkcl | PM: Adding info for platform:pxa2xx-ir |
00:50.36 | lkcl | PM: Adding info for platform:pxa2xx-i2c.0 |
00:50.38 | lkcl | PM: Adding info for platform:pxa2xx-i2s |
00:50.40 | lkcl | PM: Adding info for platform:sa1100-rtc |
00:50.42 | lkcl | PM: Adding info for platform:pxa27x-ohci |
00:50.46 | lkcl | SCSI subsystem initialized |
00:50.48 | lkcl | asic3: using irq 160-229 on irq 41 |
00:50.50 | lkcl | PM: Adding info for platform:asic3_mmc.1283 |
00:50.52 | lkcl | PM: Adding info for platform:htcsable_ts.0 |
00:50.54 | lkcl | PM: Adding info for platform:htcsable_kbd.0 |
00:50.56 | lkcl | PM: Adding info for platform:htcsable_lcd.0 |
00:50.58 | lkcl | PM: Adding info for platform:pxa27x-keyboard |
00:51.00 | lkcl | PM: Adding info for platform:htcsable_buttons.0 |
00:51.02 | lkcl | PM: Adding info for platform:corgi-bl.0 |
00:51.04 | lkcl | PM: Adding info for platform:htcsable_bt |
00:51.06 | lkcl | PM: Adding info for platform:htcsable_phone |
00:51.08 | lkcl | PM: Adding info for platform:htcsable_udc.0 |
00:51.10 | lkcl | oh there's a few more |
00:51.12 | lkcl | PM: Adding info for mmc:mmc0:a95c |
00:51.16 | lkcl | all of these _are_ actually being called |
00:51.26 | lkcl | as best i can tell |
00:52.20 | lkcl | brb baby |
01:08.02 | cr2 | write to the vibra gpio at wakeup. |
01:09.16 | cr2 | then you will know, that you jumped to RAM. |
01:09.22 | *** join/#htc-linux dullard (n=jim@adsl-static-1-30.uklinux.net) |
01:18.17 | lkcl | oh1 |
01:18.18 | lkcl | oh |
01:18.20 | lkcl | of course. |
01:27.37 | lkcl | added it - let's see what happens... |
01:28.01 | lkcl | of course - i can add in a sleep of 1 second in between each.... yep |
01:28.06 | lkcl | this is going to be boring... |
01:28.55 | lkcl | ok that vibra idea was a good one |
02:01.03 | lamikr | cr2 and lkcl Hi, I made some changes to gomunicator. 1) I added the ringing tone file. 2) Made the mixer configuration to be selected in configuration (h6300 and BA are now configured) as asked by goxboxlive 3) Tagged the cvs version with "gomunicator_0_1_4" label |
02:02.20 | cr2 | lamikr: hi. what channels does your mixer support ? how general is it ? |
02:04.56 | lamikr | cr2: I believe it could be general at least with those devices which needs to use mixer for turning on the "phone". It tries to open a mixer element called "target" which offers selection between "speaker", headset and phone. |
02:05.33 | cr2 | bt headset ? |
02:05.42 | cr2 | i think i'll make it work. |
02:05.48 | lamikr | cr2: No, just normal headset. |
02:06.12 | lamikr | At least we do not have yet the bt headset. |
02:06.15 | cr2 | what bt chipset do you have ? |
02:06.49 | lamikr | cr2: But there is also a support for doing the thing in BA's way if the mixer (If the code fails to find the h6300's mixer element, it try to use the mixer in BA's way) |
02:07.03 | lamikr | cr2: We have brf6100 |
02:07.39 | cr2 | it's the same as ba. and it can be traced on ba. |
02:08.28 | lamikr | ok. Btw, h6300 has 4 different bts files and I am not sure which of those I should try to load with the hciattach command. |
02:08.30 | cr2 | with current haret. i have some extensive logs of brf6150, and the decoded bts scripts. |
02:09.01 | cr2 | for 610x there is no bts (afaik), but the logs should be sufficient. |
02:09.15 | cr2 | you have bts ? |
02:09.28 | lamikr | Yes, wince seems to have 4 bts files. |
02:09.37 | cr2 | tell me the names |
02:09.57 | lamikr | [lamikr@aragorn2 xip_files]$ ls -la *.bts |
02:09.59 | lamikr | -rw-r--r-- 1 lamikr lamikr 738 Nov 11 01:23 BT_coex_disable_v1.0.bts |
02:10.00 | lamikr | -rw-r--r-- 1 lamikr lamikr 742 Nov 11 01:23 BT_coex_enable_v1.0.bts |
02:10.02 | lamikr | -rw-r--r-- 1 lamikr lamikr 15730 Nov 11 01:23 BT_Init_with_Coex_v1.0.bts |
02:10.03 | lamikr | -rw-r--r-- 1 lamikr lamikr 15175 Nov 11 01:23 BT_Init_without_Coex_v1.0.bts |
02:10.14 | cr2 | ok. |
02:10.25 | cr2 | i can send you my bts decoder. |
02:10.31 | lamikr | Size differences are quite big with first 2 and last 2. |
02:10.55 | cr2 | there is nothing special there, i just have taken the code from hciattach. |
02:11.06 | cr2 | it's standalone. |
02:11.17 | lamikr | That would be very nice, I could try to check those tomorrow. I have now build btw a "freshed" gpe image with dbus-1.0 support and gpe-0.54, etc... |
02:11.31 | lkcl | allo lamikr |
02:11.36 | cr2 | maybe i'll put then in gomunicator CVS. |
02:11.51 | lamikr | hi lkcl. |
02:12.19 | lamikr | cr2: The bts parser code? Maybe some kind of test dir would be cool. |
02:13.48 | lamikr | I btw, added gpl licensing info to gomunicator src files. I think authors file and copyright file infos are mising info from a lof of committers. |
02:15.49 | lamikr | cr2: Do yuo have "Coex" in your your bts script names in any of your devices? |
02:16.03 | cr2 | lamikr: i'd like to separate the gtk gui stuff into gtk/ directory. |
02:16.19 | cr2 | no, but it's different chipset here. |
02:17.38 | lamikr | cr2: That would be very good thing to do... Partially that was the reason why I now made my current changes and tagged this version so that we could start making structure changes and dbus changes more freely. Should we start working in dev branch or just in head? |
02:18.16 | cr2 | since you have a tag, we can change head. |
02:18.27 | lkcl | such a fucking waste of space. |
02:18.39 | cr2 | lkcl: even qt will have dbus now :) |
02:19.04 | scatterp | cr2 i keep geting an issue where the touch screen is not enabled on reboot i tryed to fix it on my own and i moved a recalibrate file to the first screen some how but runing it does not help is there a way to make opie start and initiate the touch screen ? |
02:19.04 | lkcl | the d-bus team are such fucking pricks. they're spending _years_ re-duplicating dce/rpc. |
02:19.06 | lkcl | badly. |
02:20.10 | cr2 | lkcl: but it's a team and they are working. that's good. |
02:20.15 | lamikr | lkcl: Yeah, and I think threre is anyway needed some "standard" method for gomunicating between desktop and apps. So dbus is ok for me when used with lowlevel api. (gtk opie indenpendent way) |
02:20.39 | cr2 | lamikr: i've sent you the parser. |
02:20.40 | lamikr | Current dbus.c uses btw, the glib.h but I will change that. |
02:20.44 | lkcl | they're working on shit. d-bus promises the earth, and yet it doesn't provide anything that 1,500 lines of c-code can't replace. |
02:20.46 | lamikr | cr2: Thanks |
02:20.56 | lkcl | just pisses me off. |
02:21.46 | cr2 | lamikr: is there a non-glib version of g_strsplit() ? |
02:22.01 | cr2 | lkcl: get the resume working first :) |
02:22.04 | lkcl | the main thing that projects need _isn't_ another inter-process communications system, it's an RPC compiler. |
02:22.17 | lkcl | ok. but don't mention d-bus at me, anyone, ok? :) |
02:22.22 | cr2 | ok. |
02:22.43 | lamikr | cr2: I am not sure. Currently btw, almost all of those files includes glib as they uses gchar instead of char, gboolean, etc... We need to remove those. |
02:22.56 | lkcl | glib must dieeee |
02:23.03 | cr2 | scatterp: which kernel version are you using ? |
02:23.24 | scatterp | 2.6.17 |
02:23.31 | cr2 | lkcl: competition is good. |
02:23.32 | lamikr | lkcl: I will be quiet :-) |
02:23.36 | lkcl | he he |
02:23.57 | scatterp | it was a copy goxboxlive made that was suppose to have sound 20041124 |
02:24.03 | scatterp | but the sound didnt work |
02:24.06 | cr2 | scatterp: i have found an annoying bug in the ts driver, it is fixed now. |
02:24.28 | scatterp | where should i download the fixed copy ? |
02:24.36 | lkcl | hm - this vibrate isn't going |
02:24.47 | cr2 | look for 0xd100000 and relace it by 0xd10000 |
02:24.53 | lamikr | I must now go to sleep. Goodnight |
02:25.02 | cr2 | good night. |
02:25.11 | scatterp | nite |
02:25.13 | lkcl | night lamikr |
02:25.46 | lkcl | htcsable_ts.c |
02:25.56 | lkcl | ??? |
02:26.19 | cr2 | i'm 1 step away from the generic tsc2046_ts driver. at least for pxa, because of the 24bit spi issue. |
02:26.42 | scatterp | oh so its not ready for download yet |
02:26.43 | cr2 | lkcl: i have fixed it also in htcsable_ts.c |
02:26.48 | lkcl | cool. ta |
02:27.14 | scatterp | ok well im gonna head off to bed too ill drop in again in a day or two |
02:27.35 | cr2 | lkcl: i need sleep to. good night. |
02:27.37 | lkcl | cr2: d100000 doesn't exist |
02:27.39 | lkcl | ok dude |
02:27.52 | cr2 | lkcl: i've fixed it in your source. |
02:27.57 | lkcl | ok ta |
02:29.46 | *** join/#htc-linux baud123 (n=baud@ver78-1-82-240-29-152.fbx.proxad.net) |
02:31.11 | *** join/#htc-linux BHSPitMonkey (n=stephen@adsl-67-64-112-116.dsl.rcsntx.swbell.net) |
02:49.19 | lkcl | ok! resume works... |
02:50.45 | lkcl | using that vibrate trick. hooray. |
03:01.28 | *** join/#htc-linux rejon (n=rejon@adsl-69-105-38-111.dsl.pltn13.pacbell.net) |
03:29.40 | lkcl | fucking fucking root nfs - i spotted it earlier. |
03:30.04 | lkcl | the network is down. |
03:30.10 | lkcl | so there's an nfs timeout |
03:30.13 | lkcl | i think that's it... |
03:30.17 | lkcl | we'll see... |
03:54.49 | lkcl | ok it's somewhere in one of the resume functions... |
03:55.23 | lkcl | i took a photo of the screen to get the list of devices / resume order :) |
04:04.23 | lkcl | ahh nuts - i think it's to do with mci |
04:04.32 | lkcl | like... there isn't some code for it. |
04:16.12 | lkcl | maybe not... |
04:16.28 | lkcl | who knows... who cares!! |
05:49.17 | *** join/#htc-linux rob_w (n=bob@p85.212.202.157.tisdip.tiscali.de) |
07:17.51 | *** join/#htc-linux rmoravcik (n=rmoravci@pc-3s0zt5w2e4y0vzmhnrzq3a21zqajzfw.users.student.utc.sk) |
07:27.54 | *** join/#htc-linux goxboxlive (n=goxboxli@9.80-202-160.nextgentel.com) |
07:28.31 | *** join/#htc-linux rob_w (n=rob_w@p549B9EC3.dip0.t-ipconnect.de) |
08:00.50 | *** join/#htc-linux dullard (n=jim@adsl-static-1-30.uklinux.net) |
08:29.19 | *** join/#htc-linux Fossi (n=cmewes@195.177.48.115) |
09:39.51 | *** join/#htc-linux drap (n=drap@p3E9E2B56.dip0.t-ipconnect.de) |
10:20.05 | *** join/#htc-linux booba (n=booba@lns-bzn-47f-81-56-252-135.adsl.proxad.net) |
10:31.14 | *** join/#htc-linux rob__w (n=bob@p85.212.202.157.tisdip.tiscali.de) |
10:54.02 | *** part/#htc-linux rmoravcik (n=rmoravci@pc-3s0zt5w2e4y0vzmhnrzq3a21zqajzfw.users.student.utc.sk) |
11:47.13 | *** join/#htc-linux goxboxlive (n=goxboxli@9.80-202-160.nextgentel.com) |
12:10.55 | *** join/#htc-linux babeloued (n=Fabrice@faim1.itesoft.com) |
12:37.28 | *** join/#htc-linux pH5 (n=ph5@e178227015.adsl.alicedsl.de) |
12:37.29 | *** join/#htc-linux g3gg0_ (n=g3gg0@ppp-82-135-4-16.dynamic.mnet-online.de) |
12:44.06 | *** join/#htc-linux Kmarc_ (i=kari@markos.biz) |
12:44.09 | pH5 | can anybody explain to me the weirdness that is the magician's connection to the uda1380 chip? |
12:44.14 | pH5 | the DAC is connected to SSP1, the ADC to I2S like in the blueangel. |
12:44.40 | pH5 | it seems to use the pxa27x audio clock for SSP (SSCR0_P1[ADC] is set). |
12:45.43 | pH5 | but the SSACD1 audio clock divider register always has the same value (0x11), no matter what kind of sound is played. |
12:48.20 | cr2 | ADC ? |
12:49.16 | cr2 | on blueangel the external SSP clock comes from ASIC3 CONTROL_CX, it seems. |
12:49.33 | pH5 | ADC = analog-to-digital converter, the input part |
12:49.47 | cr2 | the outgoing I2S clock is generated by PXA. |
12:49.53 | cr2 | it's pure PCM |
12:50.01 | cr2 | no analog here. |
12:50.46 | cr2 | is pxa2xx-i2sound.c capable of such split SSP/I2S config at all ? i think not. |
12:50.47 | pH5 | I mean the ADC's (digital) output is connected to I2S |
12:50.53 | pH5 | the magician's SSCR0_P1 is 0x4000009f |
12:51.14 | pH5 | this is ACS(1<<30) set, but ECS(1<<21) and NCS(1<<6) are zero |
12:51.46 | cr2 | wait. what is the data direction, and who generates the sync clock ? |
12:52.27 | pH5 | My problem currently is sound output. SSP1 -> DAC. |
12:52.38 | pH5 | It looks like the clock is generated by the pxa27x (the audio clock) |
12:53.31 | cr2 | on blueangel SSP TXD audio out data , SSP external clock |
12:54.10 | cr2 | I2S SYSCLK for input. |
12:55.05 | cr2 | I2S SDATA_IN , (I2S SDATA_OUT unused) |
12:55.33 | pH5 | I'm not at I2S input yet, but I guess it is exactly the same here. |
12:55.47 | pH5 | Only my output clock always seems to be at the same frequency (1418125 Hz) in wince. |
12:56.08 | cr2 | ok, but then you need to enable the external clock somehow. |
12:56.25 | cr2 | output clock ? |
12:56.58 | pH5 | Eh, the audio clock that drives SSP1. |
12:57.11 | pH5 | wince doesn't seem to use an external clock |
12:57.25 | cr2 | hmm. you have a different config from blueangle then. |
13:01.21 | cr2 | SSACD1 ? was it not SADIV ? |
13:02.27 | pH5 | not for pxa27x |
13:03.52 | cr2 | if it's I2SCLK, isn't it controlled by SADIV ? |
13:03.58 | pH5 | oh wait, does the gsm chipset provides the clock to the codec when doing voicecalls? perhaps I'm always playing sounds at the same sample rate... |
13:06.08 | pH5 | cr2: you're right about SADIV controlling the I2S clock |
13:06.51 | pH5 | cr2: but SSACD1 controls the ssp clock for the I2S-over-SSP1 emulation I need to use for output, as I2S is only connected to the input |
13:07.39 | cr2 | ok. |
13:07.58 | cr2 | i'm not sure about audio routing at all. |
13:08.33 | cr2 | there is also the PCM coming from the BT headset. it gets the gsm clock, or generates it itself, i don't know. |
13:09.54 | pH5 | oh well, don't get me started about BT. I wasn't even able to find any egpios associated with bt switching. wavedev.dll still is magic to me. |
13:10.37 | cr2 | and now it seems that alpine and magician still have a different setup from himalaya and blueangel. |
13:10.39 | *** part/#htc-linux booba (n=booba@lns-bzn-47f-81-56-252-135.adsl.proxad.net) |
13:10.49 | cr2 | it may be done by AT commands. |
13:10.50 | pH5 | for now I'd be happy to get some sound out of the device (except for the whining when I kill the codec while still powering the speaker ;)) |
13:11.03 | cr2 | :) |
13:12.12 | cr2 | the audio clock it not very high, maybe i should measure it directly with the frequency counter :) |
13:15.17 | cr2 | AT%HTCCLOCK=%x, on magician ? |
13:15.45 | cr2 | is it called by wavedev.dll ? |
13:17.25 | cr2 | i'm thinking about RIL_SetAudioDevices test code. |
13:18.04 | pH5 | I have TCLOCK, but not TCCLOCK |
13:18.26 | pH5 | s/TC/HTC/ |
13:20.31 | cr2 | ok. |
13:20.54 | cr2 | i copied it from http://wiki.xda-developers.com/index.php?pagename=rilgsm.dll |
13:21.01 | cr2 | and was a bit surprised. |
13:21.22 | pH5 | heh, typo |
13:22.18 | pH5 | fixed |
13:27.27 | cr2 | http://www.teksoftco.com/articles/article 006/speakerphone.htm |
13:27.33 | cr2 | can be useful. |
14:35.52 | lkcl | allo |
14:42.10 | *** join/#htc-linux rmoravcik (n=rmoravci@158.193.198.3) |
14:42.38 | pH5 | hey lkcl |
14:42.43 | lkcl | hp pH5 |
14:42.52 | lkcl | oops s/hp/hi duh |
15:13.27 | babeloued | hi |
15:14.02 | babeloued | cr2 what is it HTC_misc.dll and HTC_Cmd.dll ? |
15:19.46 | cr2 | cmd is for the gsm commands (ldisc for lkcl). misc is some virtual driver. |
15:20.51 | cr2 | lkcl: did you have any progress with resume ? |
15:31.57 | cr2 | duh. the pxa27x_keyboard did not show up because there was no next in 'tristate' ;-) |
15:56.50 | babeloued | cr2 thanks, i try to find some battery stuff and i try batdrvr.dll |
15:57.48 | lkcl | cr2: not yet. |
15:58.12 | lkcl | although the IPL looks fascinating, from a purely aesthetic point of view. |
16:02.32 | cr2 | babeloued: battery.dll |
16:03.08 | cr2 | lkcl: it's probably written in macroassembler. |
16:03.24 | lkcl | yes - there are signs of inefficiency. |
16:11.05 | lkcl | ok i see the 0xa0040000 jump-point. |
16:13.15 | babeloued | cr2 using taskmanger exe i can see which dll is attached to devices, device BAT2 is attach to battery.dll and BAT1 is attach to battdrvr.dll |
16:13.38 | lkcl | any use of msleep causes a lock-up. |
16:13.45 | lkcl | which is odd in itself. |
16:13.55 | cr2 | babeloued: ok. |
16:14.16 | cr2 | lkcl: if you have interrupts disabled it is not odd. |
16:14.20 | lkcl | any use of *mdelay()* causes a lock-up which is even more weird |
16:14.21 | lkcl | ahhh |
16:14.24 | lkcl | oops :) |
16:14.48 | lkcl | ok any ideas on how i enable them - and which ones? :) |
16:14.48 | cr2 | babeloued: but BAT2 already has a driver ? |
16:14.58 | cr2 | lkcl: why do you need it ? |
16:15.22 | lkcl | i'm quite happy to write a bit of code which spells out hexadecimal numbers in morse code or binary, via the VIBRATE :) |
16:15.38 | lkcl | msleep() ? it's used _all over_ the place. |
16:15.41 | lkcl | in the resume functions |
16:16.02 | cr2 | babeloued: sorry, BAT1 |
16:16.12 | lkcl | asic3_mmc uses it to do wake-up / redetection of the mmc cards |
16:16.16 | cr2 | lkcl: where do you call vibrate ? and how ? |
16:16.29 | lkcl | asic3_set_gpio_d |
16:16.33 | lkcl | in maaany places :) |
16:16.45 | lkcl | i've been moving it around. |
16:17.01 | cr2 | after the asic3_base is loaded ? |
16:17.04 | lkcl | static void suspend_finish(suspend_state_t state) |
16:17.05 | lkcl | { |
16:17.05 | lkcl | <PROTECTED> |
16:17.05 | lkcl | <PROTECTED> |
16:17.05 | lkcl | <PROTECTED> |
16:17.17 | lkcl | ... |
16:17.18 | lkcl | } |
16:17.22 | lkcl | it seems to work fine |
16:17.27 | lkcl | kernel/power/main.c |
16:17.59 | cr2 | i think you can't call it this way for the devices loaded before asic3_base. |
16:21.24 | lkcl | remember this is in _resume_ - it's well after things have been loaded. |
16:21.28 | babeloued | cr2 : i can't copy file battdrvr.dll |
16:22.01 | cr2 | babeloued: you need to dissect the rom. |
16:22.13 | babeloued | arghh |
16:33.52 | babeloued | there are tools to extract nk.nbf file ? |
16:40.36 | cr2 | xda-dev |
16:41.46 | cr2 | hehe. this is going to break a _lot_ of braindead userspace stuff. |
16:43.14 | lkcl | what have you done, cr2? |
16:43.24 | pH5 | lkcl: funny, I also used vibrate to debug my suspend/resume problems. anybody wants to write an early console via morse codes on vibra? |
16:43.34 | *** join/#htc-linux psokolovsky_ (n=psokolov@239.usernat.ip.net.ua) |
16:43.36 | lkcl | he he. |
16:44.20 | *** join/#htc-linux rob_w (n=bob@p85.212.202.157.tisdip.tiscali.de) |
16:44.20 | lkcl | actually what we need is a microphone or motion sensor, so that the vibrations can be translated back into characters. |
16:45.03 | lkcl | then it could be just plain serial encoding, baud rate ermm..... 30? 75? :) |
16:45.53 | cr2 | pwm is better. |
16:46.23 | cr2 | lkcl: i have completely rewritten the keyboard and asic3 button code. |
16:46.30 | lkcl | cr2: oh cool |
16:46.49 | cr2 | pH5: our vibra is on asic3. |
16:47.27 | cr2 | lkcl: but i'm out of buttons ;) what should i use for "flashlight" ? |
16:47.39 | lkcl | oh dear! |
16:47.43 | lkcl | flashlight?? |
16:47.52 | lkcl | oh - yes - the camera light |
16:47.55 | cr2 | and opie should be modified. |
16:48.00 | cr2 | it's a joke. |
16:48.08 | cr2 | flashlight is a led device. |
16:48.25 | lkcl | oh - the one that on the universal burns out if you leave it on for more than 30 seconds? |
16:48.27 | cr2 | night sensor is not quite right now. |
16:48.33 | cr2 | yes. |
16:48.53 | pH5 | what is vibra, is it a "led" too? |
16:49.07 | pH5 | connecting it to the heartbeat trigger sounds like a nice idea, at least. |
16:49.17 | cr2 | vibra is led too. |
16:49.25 | cr2 | it's an output device. |
16:49.29 | cr2 | not input. |
16:50.06 | cr2 | pwm on flashlight is also funny. |
16:50.16 | pH5 | strobe! |
16:50.18 | babeloued | it's disco :) |
16:50.19 | cr2 | i think the best is still the irda. if done right. |
16:50.49 | cr2 | because it is always on the cpu. at least on pxa. |
16:51.02 | pH5 | agreed. if only I could get it to work reliably on my laptop. |
16:51.34 | lkcl | sorry |
16:51.52 | lkcl | oh yes - of course, cr2. forgot about irda. |
16:51.56 | cr2 | hmm. camera button is mapped to F10. |
16:52.07 | lkcl | except for the nightmares i had trying to get that to work on my laptop. |
16:52.19 | cr2 | but irda _is_ a serial console. |
16:52.25 | cr2 | it's SIR vs FIR. |
16:52.45 | pH5 | .. .-.. .. -.- . -- --- .-. ... . -... . - - . .-. |
16:52.49 | cr2 | and raw SIR without irda encapsulation. |
16:53.19 | cr2 | pH5: :) |
16:53.58 | *** join/#htc-linux skodde (n=skodde@unaffiliated/skodde) |
16:54.14 | cr2 | lkcl: can you open your redphone cd ? do you have qtopia phone headers there ? i'd like to know which button should i use for the cam(s). |
16:54.40 | lkcl | cr2: i need a machine with a cd-reader, and connected to the network. |
16:55.01 | cr2 | ok. |
16:55.53 | lkcl | both my laptops (the one slowly dying and the nice new one) are tiny and have external cdrom drives - which are in holland. |
16:56.19 | lkcl | i'm pretty useless WHOA that font's a bit big |
16:56.53 | lkcl | i set the font to 8x8 so i could see it as the lcd when it resumes has scan-lines missing |
17:00.09 | lkcl | argh. i don't really feel like i'm getting anywhere with this resume thing, or spending my time productively. |
17:01.59 | cr2 | pH5: are the phones EMBEDDED ? |
17:02.37 | pH5 | kernel-config wise? |
17:02.45 | cr2 | yes. |
17:02.47 | pH5 | that's just a switch to enable turning off certain parts of the kernel |
17:03.01 | cr2 | i can't switch off the "mice" |
17:04.29 | pH5 | I have EMBEDDED and turned off sysctl syscall support, some kallsyms options and /proc/vmstat |
17:04.37 | pH5 | mice shouldn't be related to that |
17:05.22 | pH5 | wait, what "mice"? |
17:05.32 | cr2 | Mouse devices |
17:05.39 | pH5 | INPUT_MOUSEDEV? |
17:06.02 | cr2 | tristate "Mouse interface" if EMBEDDED |
17:06.10 | pH5 | ah, ok |
17:06.17 | pH5 | never noticed that. so enable embedded |
17:06.36 | cr2 | it's nowhere for arm. |
17:07.07 | cr2 | maybe goxboxlive would like to test the bt mouse. |
17:07.28 | pH5 | ?? EMBEDDED is under General setup |
17:07.33 | *** part/#htc-linux babeloued (n=Fabrice@faim1.itesoft.com) |
17:08.08 | cr2 | find . -name Kconfig | grep EMBEDDED |
17:08.08 | pH5 | do you need mousedev under opie for that? i only have evdev support enabled here. |
17:08.17 | cr2 | don't know. |
17:08.34 | cr2 | but this empty /dev/input/mice is annoying. |
17:09.04 | pH5 | ./init/Kconfig:menuconfig EMBEDDED |
17:09.48 | cr2 | ok, but it's not used anywhere in arch/arm |
17:11.09 | pH5 | that is true |
17:11.35 | pH5 | nice. |
17:11.46 | pH5 | now I can make my speaker go 'PLOC!' |
17:12.01 | cr2 | by powerup ? |
17:12.14 | pH5 | by playing a sound. somehow the clocks must be terribly wrong |
17:12.55 | cr2 | ok, done with the keyboard. waiting for the nightmare when goxboxlive appears :) |
17:13.18 | lkcl | ha ha |
17:13.29 | cr2 | need to trace the actual matrix keyboard map. |
17:13.52 | cr2 | by adding printks to the old driver ? :) |
17:14.03 | lkcl | i added in a printk in the interrupt service to print out col and row |
17:14.07 | lkcl | yep! |
17:14.39 | lkcl | then went through pressing keys one-by-one - actually it only took about 30 mins or so |
17:14.46 | cr2 | pH5: i have only one serious problem left. the asic3 OWM driver and the charging control. |
17:15.12 | cr2 | lkcl: i'll try to extract this data from the old driver. |
17:15.17 | lkcl | what device is this for, again, cr2? |
17:15.24 | *** join/#htc-linux rob__w (n=bob@p85.212.200.199.tisdip.tiscali.de) |
17:15.27 | lkcl | just out of curiosity |
17:15.27 | cr2 | lkcl: you need it too. |
17:15.33 | lkcl | i do? oh, ok :) |
17:15.43 | pH5 | cr2: cool |
17:15.50 | cr2 | device ? universal. |
17:16.22 | pH5 | lkcl: are there any news in the ldisc department? |
17:16.23 | lkcl | pH5: i'll be honest, i think the ldisc stuff is far too complex and difficult to program. |
17:16.23 | cr2 | pH5: SLIP and IRDA are very close. |
17:16.32 | cr2 | ppp is too complex. |
17:16.38 | lkcl | there was another idea, which i came up with and harald also had the same idea |
17:16.44 | cr2 | imho, slip is the best. |
17:17.09 | lkcl | which is to do a userspace daemon working in combination with a back-to-back dummy-serial-driver |
17:17.20 | *** join/#htc-linux pleemans (n=peter@d51A5E421.access.telenet.be) |
17:17.32 | lkcl | which has one 'master' dummy serial, and many 'slave' dummy serials. |
17:17.58 | cr2 | what is the UMTS speed ? |
17:17.59 | lkcl | and you do an IOCTL to say which one of the 'slaves' that data being written on the 'master' must be sent to. |
17:18.28 | lkcl | i reckon i could write the whole thing in about 400 lines. |
17:19.54 | pH5 | can this be done without copying the whole gprs traffic between kernel and userspace twice? |
17:19.54 | cr2 | pH5: you are the w1 god :) can you create a nice template w1 asic3 driver from the mess named hx4700_power ? |
17:22.25 | lkcl | ok am just off to do some painting while i wait for a file to download using pd off the hermes zzzzzzz pdump takes _forever_ on sc2442-haret |
17:24.09 | pH5 | cr2: yeah, I'll try that |
17:24.31 | cr2 | pH5: thanks. we have 3 devices that will use it. |
17:30.55 | *** join/#htc-linux goxboxlive (n=goxboxli@9.80-202-160.nextgentel.com) |
17:31.54 | lkcl | btw cr2? http://lists.arm.linux.org.uk/pipermail/linux-arm-kernel/2005-September/031325.html |
17:33.05 | *** join/#htc-linux florian (n=fuchs@84.245.175.111) |
17:35.01 | lkcl | yaay - pierrox got the sd card working on eten g500 - that means it's a good chance to work on hermes, too |
17:38.05 | *** join/#htc-linux manaPirat (n=mana@bravo387.server4you.de) |
17:38.17 | manaPirat | hi there |
17:38.25 | cr2 | lkcl: i don't have "keys". |
17:38.33 | cr2 | hi manaPirat |
17:38.41 | manaPirat | hi guys :o) |
17:38.45 | cr2 | only matrix keyboard, like apache. |
17:38.47 | manaPirat | eeh well ye |
17:39.20 | lkcl | i got one key - power button |
17:39.52 | lkcl | cr2: the apache and the sable have both a matrix and a joystick thing |
17:40.07 | lkcl | the joystick is on DKIN0-5 |
17:40.35 | cr2 | ok. i don't have DKIN, my joystick is on asic3. |
17:40.40 | manaPirat | so guys, i heard you "tricked" HTC devices to boot linux? |
17:40.58 | cr2 | manaPirat: it depends on the device. |
17:41.59 | cr2 | lkcl: sable is missing here http://wiki.xda-developers.com/index.php?pagename=Xanadux |
17:42.11 | lkcl | cr2: ack |
17:42.50 | manaPirat | so uuh .. well .. which of the devices you are exprimenting with give sthe best resutls? |
17:43.22 | lkcl | manaPirat: there are lots of htc devices - we've been tracking them for over 3 years. they're getting simpler to do as HTC go for common hardware and also learn their lessons to not choose strange hardware |
17:43.48 | manaPirat | so the newer the easier to install "universal" on? |
17:43.59 | cr2 | manaPirat: the best is the universal, but it's the most expensive one. |
17:44.06 | manaPirat | uhun |
17:44.10 | cr2 | and it's not really a phone. |
17:44.17 | manaPirat | eeh v |
17:44.23 | pH5 | and it's ugly |
17:44.25 | pH5 | *ducks* |
17:45.17 | cr2 | pH5: the lcd is nice. i'd like to see the lcd in openmoko. |
17:45.17 | lkcl | the hermes is possibly the best price/features/performance/size but there's only the research stage |
17:46.01 | goxboxlive | manaPirat: This is the HTC Universal : http://www.pdagold.com/articles/detail.asp?a=257 |
17:46.02 | cr2 | but the rest in openmoko is a joke. |
17:46.06 | pH5 | cr2: ack! |
17:46.35 | cr2 | pH5: if hermes had this "openmoko" vga lcd . |
17:46.45 | pH5 | yeah, "if only.." :) |
17:46.55 | cr2 | hermes has 2D accel ? |
17:47.13 | pH5 | yup. but it's as closed source as it gets with the imageon |
17:47.16 | lkcl | hermes has an ATI multimedia chipset |
17:47.38 | lkcl | well that's not a problem - it wasn't for the himalaya :) |
17:47.46 | cr2 | pH5: ati*dll is the most clean dll i have seen in wince. |
17:48.06 | lkcl | it's a framebuffer device, so it's only the initialisation sequence that's really needed. |
17:48.16 | cr2 | lkcl: you've done testwm5 on it ? |
17:48.18 | lkcl | i'm just dumping the bootloader, now (it's taking forever) |
17:48.20 | lkcl | yes i have |
17:48.39 | cr2 | show me the ati*dll |
17:49.19 | lkcl | i'm downloading the bootloader and it's writing to the sdcard at about 10k/sec (urgh) |
17:49.26 | lkcl | 6mbytes... |
17:50.52 | cr2 | goxboxlive: i have written the new keyboard driver. |
17:51.07 | goxboxlive | cr2: havw you tried it? |
17:51.11 | cr2 | but you should track the keys first. |
17:51.27 | cr2 | with the old driver. |
17:51.37 | cr2 | and it will break a lot of things. |
17:51.44 | goxboxlive | such as? |
17:51.52 | cr2 | some button mappings are still uncertain. |
17:52.06 | cr2 | i'm not sure it will popup as event1 |
17:52.20 | goxboxlive | doesnt mather, we dont use buttons for now |
17:52.33 | goxboxlive | ok, i can try it if you like |
17:52.47 | manaPirat | hmm guys did you get the HTC universal to actually make phonecalls AND be online with? :) |
17:52.54 | cr2 | add the printk to the old driver first, and log the keys. |
17:53.00 | manaPirat | (me not at the same time neccessarily, but hey, what a featrue!) |
17:53.05 | cr2 | otherwise it will not work. |
17:53.09 | cr2 | at all. |
17:53.44 | goxboxlive | ok, but where do i add the printk |
17:55.57 | cr2 | hmm. maybe i'll better try it myself. |
17:56.07 | goxboxlive | i guess that will be easier |
17:56.24 | cr2 | goxboxlive: but i need the kernel without eabi ? |
17:56.25 | goxboxlive | then you can see the status of the other stuff to |
17:56.38 | goxboxlive | why? |
17:56.39 | cr2 | or with ? |
17:56.48 | cr2 | it's not in defconfig. |
17:56.55 | goxboxlive | If you use one of mine then you have to use eabi |
17:57.04 | cr2 | and the current config is seriously changed |
17:57.11 | cr2 | ok. |
17:57.20 | goxboxlive | I know, i am using my owv defconfig |
17:57.52 | cr2 | can you send the the oe-your complete diff ? we really need to merge the bits where they belong. |
17:58.13 | goxboxlive | yes, i also send over my local.conf |
17:58.24 | cr2 | lkcl also needs an image. |
17:58.39 | cr2 | we should think how to join the forces. |
17:59.16 | cr2 | where is the eabi setting ? |
17:59.46 | goxboxlive | in oe? or .config |
17:59.58 | cr2 | found. |
18:00.03 | cr2 | allow old abi ? |
18:00.39 | cr2 | cc1: error: invalid option `abi=aapcs-linux' |
18:01.13 | *** join/#htc-linux rmoravcik (n=rmoravci@pc-3s0zt5w2e4y0vzmhnrzq3a21zqajzfw.users.student.utc.sk) |
18:01.24 | goxboxlive | yes allow old eabi |
18:01.49 | goxboxlive | but you need the toolchain that the opie.image u are using where buildt with :-/ |
18:03.23 | cr2 | PATH=~/stuff/tmp/cross/bin/:$PATH CC=arm-angstrom-linux-gnueabi-gcc make |
18:03.29 | cr2 | still does not work. |
18:04.17 | goxboxlive | you have to edit your Makefile |
18:04.45 | cr2 | hmm. |
18:05.16 | goxboxlive | line 177 |
18:05.29 | goxboxlive | CROSS_COMPILE ?= arm-angstrom-linux-gnueabi- |
18:06.01 | *** join/#htc-linux rmoravcik (n=rmoravci@pc-3s0zt5w2e4y0vzmhnrzq3a21zqajzfw.users.student.utc.sk) |
18:06.18 | cr2 | ok. |
18:06.22 | cr2 | PATH=~/stuff/tmp/cross/bin/:$PATH CROSS_COMPILE=arm-angstrom-linux-gnueabi- make |
18:06.29 | cr2 | no need to edit. |
18:06.53 | goxboxlive | cr2: If you do a update of your oe.dev i'll post a opie-image that where buidl today. Then we have used the same toolchain, and the image will work with self compiled modules/kernel image |
18:07.47 | cr2 | ok. |
18:08.15 | goxboxlive | then use the toolchain in the cross directoey |
18:09.35 | goxboxlive | but it has to be build first. |
18:13.29 | goxboxlive | cr2: upped |
18:13.48 | cr2 | goxboxlive: we need to automate an automatic build of the ramdisk and put modules there too. |
18:14.46 | goxboxlive | well i made a ramdisk, but there where restrictions about the image size. Haret refused to start. |
18:16.17 | cr2 | Bitbake version 1.6.2 is required and version 1.6.1 was found |
18:16.38 | cr2 | ok. we will take care of it. |
18:17.15 | goxboxlive | yes then do svn update form the bitbake directory |
18:17.48 | cr2 | yes. |
18:18.16 | cr2 | we should modularize everything possible, but then it will be very painful without an autobuild. |
18:20.45 | cr2 | NOTE: preferred version 2.5 of glibc not available |
18:21.11 | goxboxlive | doesnt mather |
18:21.20 | *** join/#htc-linux skodde (n=skodde@unaffiliated/skodde) |
18:21.50 | cr2 | ok. bbl |
18:22.09 | goxboxlive | k |
18:27.06 | *** join/#htc-linux jjazz (n=jjazz@cpe-24-90-14-159.nyc.res.rr.com) |
18:39.19 | *** join/#htc-linux babeloued (n=Fabrice@faim1.itesoft.com) |
19:12.45 | *** join/#htc-linux FossiFoo (n=Fossi@e176104153.adsl.alicedsl.de) |
19:20.03 | *** join/#htc-linux NickBee (i=HydraIRC@221.134.52.117) |
19:26.53 | *** join/#htc-linux FossiFoo_ (n=Fossi@e176104153.adsl.alicedsl.de) |
19:33.59 | *** join/#htc-linux goxboxlive (n=goxboxli@9.80-202-160.nextgentel.com) |
19:37.37 | goxboxlive | rob__w / lkcl could one of you add the link to the #htc-linux log, like it was a few days ago. I miss it in the subject view. |
19:37.56 | rob__w | goxboxlive, hang on .. sorry |
19:38.19 | goxboxlive | :-*) |
19:38.48 | *** mode/#htc-linux [+o rob_w] by ChanServ |
19:41.32 | cr2 | goxboxlive: i'm back. |
19:41.47 | cr2 | <PROTECTED> |
19:42.26 | *** topic/#htc-linux by rob_w -> HTC Linux Channel: Find logs at http://apt.rikers.org/%23htc-linux/ | please check http://handhelds.org/moin/moin.cgi/HTC_2dPhones | http://wiki.xda-developers.com/index.php?pagename=Xanadux |
19:42.46 | goxboxlive | ok |
19:43.27 | goxboxlive | cr2, what command? |
19:43.38 | cr2 | opie says at boot |
19:44.41 | lkcl | that's entirely rob's fault |
19:44.51 | rob_w | huh ? |
19:45.16 | goxboxlive | cr2: Yes, i know, but you have used a diffrent toolchain to create the modules and kernel image |
19:45.37 | lkcl | cr2: Dump of hermes is up on my site. |
19:45.37 | rob_w | ~massacre lkcl |
19:45.39 | apt | ACTION sets seeds of discontent and difference among the lkcl; years later two factions have formed; history will take its course |
19:46.57 | lkcl | ha ha |
19:47.06 | goxboxlive | cr2: Use the one that you have buildt today, and of course, you have to have angstrom as distro in your local.conf |
19:47.46 | cr2 | goxboxlive: that's your uploaded files. |
19:47.50 | rob_w | damn i dont have the guts to make a powerpc embedded linux, sometimes you just need to stop before a task .. |
19:47.51 | lkcl | o hell i just ran /home out of space on my server |
19:47.54 | *** join/#htc-linux BabelOued (n=Fabrice@lun34-2-82-238-28-28.fbx.proxad.net) |
19:48.01 | cr2 | i need to enable usb login now, to debug the keyboard. |
19:48.11 | rob_w | welcome back BabelOued |
19:48.32 | goxboxlive | Well, i have tested them today, and they booted for me. Did you grab the images with the todays date (both opie and zImage) ? |
19:48.40 | BabelOued | hi rob_w |
19:49.08 | cr2 | rob_w: blueangel looks not bad now, with the battery monitor decoded. |
19:49.31 | rob_w | cr2, ur doing great work i bet |
19:49.48 | cr2 | goxboxlive: where do i put ifup usb0 ? i think it should be default. |
19:50.13 | rob_w | did you guys get a also latest gpe images .. ? gtk 2.10 is back in speed .. |
19:50.41 | goxboxlive | well, i am not using it, but it's easy to fix |
19:51.07 | *** join/#htc-linux pwr (n=pwr@86.121.148.15) |
19:51.14 | goxboxlive | cr2: Go in to /etc/modutils create a file named g_ether with the content g_ether |
19:52.00 | goxboxlive | cr2: Go back to /etc and edit the file modules , add a line like the others just with g_ether instead. |
19:52.15 | cr2 | ok. |
19:52.51 | cr2 | g_ether is already in /etc/modutils |
19:53.07 | goxboxlive | good, check your /etc/modules then |
19:53.09 | lkcl | AhiDrawIdle |
19:53.09 | lkcl | AhiDrawStretchBlt |
19:53.09 | lkcl | AhiDrawBitBlt |
19:53.09 | lkcl | AhiDrawSurfDstSet |
19:53.09 | lkcl | AhiDrawSurfSrcSet |
19:53.09 | lkcl | AhiDrawClipDstSet |
19:53.11 | lkcl | AhiDrawClipSrcSet |
19:53.15 | lkcl | AhiDrawRopSet |
19:53.17 | lkcl | AhiTerm |
19:53.19 | lkcl | AhiDevClose |
19:53.21 | lkcl | strings AtiMidWare.dll |
19:53.24 | lkcl | looks about right... |
19:53.47 | cr2 | and /etc/modules have g_ether too. it's a autogenerated file. |
19:54.02 | cr2 | lkcl: looks like the same api. |
19:54.11 | cr2 | is there ahioem.dll ? |
19:55.05 | cr2 | goxboxlive: without the keyboard i can't run ifup usb0, and there is no "usb" applet ? |
19:56.32 | goxboxlive | cr2: ok, then check your /etc/network/interfaces and add 'auto usb0' in it |
19:57.06 | goxboxlive | no there isent, but your OPIE keyboard will work i guess. |
19:57.40 | cr2 | nothing will work with the new driver. |
19:58.15 | goxboxlive | So you wouldnt be able to start opie then? |
19:58.35 | cr2 | goxboxlive: btw, your changes are mainly cosmetic, only the keyboard need more detailed study. |
19:58.53 | goxboxlive | ok |
19:59.00 | cr2 | goxboxlive: i don't need opie, i want to watch syslog messages on the console. |
19:59.25 | goxboxlive | i have made a bootstrap image today, do you rather want to have that? |
19:59.54 | *** join/#htc-linux asylumed (n=insanity@196.211.116.2) |
20:02.24 | goxboxlive | cr2: a bootstrap image is upped. It's without any Opie/GPE stuff. Use the hh1 zImage you earlier downloaded today. |
20:07.19 | cr2 | ok, now i'll try the new kernel. |
20:09.18 | BabelOued | cr2: i ve another question ( a lot these days) :) |
20:09.24 | BabelOued | what is irq 133(gpio 99) |
20:09.31 | BabelOued | i didn t find it |
20:10.08 | cr2 | BabelOued: haret assumes pxa27x cpu. you should make everything above 88 ? |
20:10.17 | cr2 | s/make/mask/ |
20:10.26 | BabelOued | ok |
20:12.10 | *** join/#htc-linux rmoravcik (n=rmoravci@pc-3s0zt5w2e4y0vzmhnrzq3a21zqajzfw.users.student.utc.sk) |
20:12.40 | rob_w | bah stupid .. |
20:13.14 | rob_w | so did you guys have the uda1380 back up on ba ? |
20:13.31 | rob_w | ~lart powerpc for having stupid bootloaders |
20:14.03 | BabelOued | rob_w: no uda1380 |
20:14.39 | rob_w | oh i see |
20:15.47 | cr2 | rob_w: the driver has completely new infrastructure. |
20:16.18 | cr2 | is there a /dev/input tool to dump raw scancodes ? |
20:16.41 | rob_w | yeah but yet we still need to add things to that new structure, mic stuff and so on .. that was what i last remeber .. some |
20:16.42 | cr2 | goxboxlive: the keyboard is event2 now |
20:17.53 | rob_w | cr2, google doesnt come up with one |
20:18.13 | goxboxlive | cr2: ok, isent there a way to force it to '1'? |
20:18.34 | rob_w | the ba keyboard driver is kinda cool ,, it manages to work on 3 different irq`s .. quite messy but it works to some extend |
20:19.01 | cr2 | rob_w: it should be split too. |
20:19.03 | rob_w | goxboxlive, the order in which you load the modules !! |
20:19.15 | goxboxlive | ok |
20:19.21 | cr2 | rob_w: it's compiled in right now. |
20:20.06 | rob_w | hmm then itthis tis the old question which one will be first .. or does the kernel has a priority list of such things |
20:20.07 | cr2 | yes, i can change the sequence. |
20:20.33 | rob_w | same question comes to me for serial ata cards + scsi cards or such .. who gets sda who sdc etc |
20:20.40 | cr2 | it's the order of platform_devices how they are initialized. |
20:20.46 | rob_w | if their compiled in |
20:21.00 | cr2 | use unique ids on the disks. |
20:21.02 | rob_w | ok but in which order are they "compiled in " |
20:21.16 | cr2 | you'll never know the controller name. |
20:21.37 | rob_w | cr2, good point .. i never used disk id`s .. |
20:21.41 | cr2 | it is possible to change the order of the pci bus scan, and you get it mirrored. |
20:22.26 | rob_w | i wonder what is not possible at all in linux ;-) |
20:23.02 | cr2 | :) |
20:23.15 | cr2 | lkcl: pressed=1 or pressed=0 ? |
20:23.24 | cr2 | what should i log ? |
20:26.38 | pH5 | I just got sound out of my uda1380 with Liam's help and AsoC! It's twice the speed, way too loud and doesn't honour the mixer settings, but at least a start :) |
20:27.30 | cr2 | pH5: great! now you should convince them to port ak4641 |
20:28.13 | rob_w | pH5, twice the speed !? .. i had this also once .. it was some gpe setting on loading the modules i think ,, maybe its documented on some wiki still |
20:30.17 | cr2 | goxboxlive: how should i name the keys ? we had this discussion already. i have the german keyboard. |
20:30.18 | pH5 | rob_w: this is new code. there's something wrong with the bitclock settings. |
20:30.56 | *** join/#htc-linux FossiFoo (n=Fossi@e176098212.adsl.alicedsl.de) |
20:35.55 | goxboxlive | cr2: I think we should nake them the international way, like mine :-) |
20:36.37 | goxboxlive | Isent there a way we can make it as userspace or something |
20:37.50 | cr2 | it can be translated by loading a map. |
20:38.11 | cr2 | show me the "international" keyboard screenshot :) |
20:38.36 | goxboxlive | ok, the i think we should do that. Like haveing a map for german, italian and so on, and use the WorldWIdeEdition as default |
20:38.50 | goxboxlive | Hold on i will |
20:39.05 | cr2 | we have a wiki page afaik. |
20:39.47 | cr2 | http://wiki.xda-developers.com/index.php?pagename=UniversalKeyboard |
20:40.12 | goxboxlive | cr2: http://www.pdagold.com/img/articles/en/large/0000000257_wre46285711851.jpg |
20:40.34 | cr2 | ok. |
20:42.20 | *** join/#htc-linux dullard (n=jim@adsl-static-1-30.uklinux.net) |
20:47.23 | goxboxlive | Has anyone seen picture of the HTC Omni yet? |
20:48.04 | rob_w | htc is quite impressive in putting new devices out .. they truly rule these markets ! |
20:48.08 | rob_w | ~hail HTC |
20:48.10 | apt | ACTION bows down to HTC and chants, "I'M NOT WORTHY!!" |
20:49.13 | goxboxlive | The Omni should be the succesor of the Universal, and thatwill say it will be shipped with GPS and hopefully more ram. |
20:50.23 | jjazz | rob_w: $630 bucks isn't bad |
20:50.51 | cr2 | more ram ? unlikely. mickey$soft says 64MB for wince5. |
20:51.31 | goxboxlive | ok, but wince6 is allmost ready AFAIK |
20:53.06 | goxboxlive | Maybe they just wait for it. I saw also that it might not be shipped with intel cpu. |
20:53.38 | rob_w | jjazz, phuew |
20:55.18 | jjazz | rob_w: A guy selling them for under $400, but he has low feedback, negative feedback and apparently didn't go through with the transactionon his last htc sale. |
20:55.38 | rob_w | hehe well , no risk ... no htc |
20:55.53 | cr2 | goxboxlive: it's unlikely it will be pxa. |
20:56.11 | cr2 | ready :) |
20:56.28 | cr2 | now i'll put the map into htcuniversal.c |
20:56.40 | goxboxlive | cool |
20:56.43 | jjazz | rob_w: Yeah, I'm going to pass on the risk of sending a few hundred bucks to some random with a history of screwing people. |
20:57.05 | jjazz | How usable is the htc with linux on it? |
20:57.14 | jjazz | I.e. what features aren't working yet? |
20:57.17 | goxboxlive | I cant test it yet thow, i am cgharging my new battery, and i want it to be fully charged before using it. |
20:57.29 | rob_w | jjazz, maybe ask the question the other way around :-) |
20:58.09 | jjazz | rob_w: Fair enough. Does the phone work? |
20:58.11 | rob_w | no kidding , universal is already a mark stone in htc-linux |
20:58.35 | rob_w | i think the uni phone is still debugged |
20:59.20 | cr2 | UMTS is not yet working. |
20:59.41 | cr2 | i would not bet it will work before openmoko comes out. we need mux support. |
21:00.10 | jjazz | hmm |
21:00.19 | jjazz | What about GPRS? |
21:00.48 | rob_w | openmoko ??? ,, oh oh , FIC attacks .. heads down |
21:01.31 | cr2 | GPRS is UMTS |
21:01.31 | rob_w | lets see |
21:02.02 | *** join/#htc-linux rmoravcik (n=rmoravci@pc-3s0zt5w2e4y0vzmhnrzq3a21zqajzfw.users.student.utc.sk) |
21:02.11 | cr2 | goxboxlive: i'll set the keys as they were. we may modify something later. |
21:02.24 | jjazz | Ah. Let me ask the question in a simple way that even I can understand: Will I be able to use the htc with linux on it in NY with TMobile service? |
21:02.27 | goxboxlive | cr2: ok |
21:04.21 | cr2 | damn. mixed row and column. |
21:04.33 | goxboxlive | :-) |
21:05.25 | cr2 | wow. even the LCD suspend works. |
21:05.37 | goxboxlive | i know |
21:06.08 | cr2 | jjazz: we have no idea. 99.99% of us are from Europe. |
21:06.42 | cr2 | the phone works, but the sound is a bit broken now. wait a bit for the things to be polished. |
21:07.24 | goxboxlive | cr2: Did the keyboard work on resume? |
21:08.21 | cr2 | the data/fax/videocall will not work in the next 2 months. the rest probably will. |
21:08.21 | cr2 | goxboxlive: can't test suspend right now. |
21:08.21 | cr2 | it was inactivity lcd suspend |
21:08.48 | goxboxlive | ok,, but why in two months? Are you going on vacation again? |
21:09.34 | goxboxlive | ok |
21:13.47 | cr2 | hmm. the keyboard table is the same. |
21:14.34 | goxboxlive | hmm |
21:16.19 | cr2 | Fn == KEY_RESERVED ? |
21:16.41 | cr2 | maybe control ? |
21:17.16 | goxboxlive | maybe |
21:17.55 | goxboxlive | no FN is not CTRL |
21:18.22 | goxboxlive | FN is for the " € symbols |
21:18.32 | goxboxlive | CTRL is the one beside the FN key |
21:19.30 | cr2 | weird. i always things ctrl is the lower left corner. |
21:19.31 | goxboxlive | FN is for use to get the special symbols. |
21:19.47 | cr2 | rightalt is better. |
21:19.56 | goxboxlive | ok |
21:20.18 | cr2 | well, it should be remapped according to the national tastes. |
21:20.19 | goxboxlive | ALT is the one left for the space bar |
21:20.25 | cr2 | but reserved is bad. |
21:20.30 | goxboxlive | ok |
21:21.51 | cr2 | because if i'm not mistaken, Fn will not work now. |
21:22.08 | goxboxlive | ok |
21:23.09 | goxboxlive | then we will noyt able to make siggns like " < > ' ; : " " and so on |
21:25.31 | cr2 | ok, the old driver will stay for a while, but i'll remove it from Kconfig |
21:25.42 | cr2 | i preserved the old key map. |
21:26.02 | cr2 | will test, if it will work, i'll commit all the changes. |
21:26.10 | goxboxlive | good |
21:29.15 | cr2 | the changes are huge. |
21:29.38 | lkcl | are you breaking everything, cr2? |
21:29.56 | cr2 | now we need to create the tsc2046-ts abstract driver. and fix the power. |
21:30.05 | cr2 | lkcl: in the htcuniversal tree. |
21:30.15 | lkcl | excellent |
21:30.32 | goxboxlive | cr2: did it work? |
21:30.44 | cr2 | <PROTECTED> |
21:30.44 | cr2 | fs/smbfs/proc.c: In function ‘smb_proc_setattr_unix’: |
21:30.45 | cr2 | fs/smbfs/proc.c:3110: warning: large integer implicitly truncated to unsigned type |
21:30.57 | cr2 | i'm compiling |
21:31.27 | *** join/#htc-linux rmoravcik (n=rmoravci@pc-3s0zt5w2e4y0vzmhnrzq3a21zqajzfw.users.student.utc.sk) |
21:31.46 | goxboxlive | ok |
21:32.28 | cr2 | this is also 1000 years old message |
21:32.31 | cr2 | <PROTECTED> |
21:32.31 | cr2 | drivers/usb/gadget/pxa27x_udc.c: In function ‘pxa27x_ep_alloc_buffer’: |
21:32.31 | cr2 | drivers/usb/gadget/pxa27x_udc.c:371: warning: ‘virt_to_bus’ is deprecated (declared at include/asm/memory.h:192) |
21:40.41 | cr2 | ok. console works. composite is of course broken. |
21:40.52 | cr2 | opie is broekn. |
21:41.03 | goxboxlive | cr2 opie is easy |
21:41.14 | cr2 | don't get the gpio button input device |
21:41.21 | cr2 | get rid of /dev/input/mice |
21:41.33 | goxboxlive | go in to /etc/init.d/opie and change from event1 to event2 |
21:41.37 | cr2 | so, gpio button |
21:41.59 | cr2 | goxboxlive: it's hardcoded in odevice_htc.cpp |
21:42.18 | goxboxlive | realy? |
21:42.29 | *** join/#htc-linux g3gg0__ (n=g3gg0@ppp-82-135-76-116.dynamic.mnet-online.de) |
21:42.32 | cr2 | yes, this file is fscked anyway. |
21:42.43 | cr2 | where is the gpio button device ? |
21:42.44 | goxboxlive | ok |
21:43.06 | goxboxlive | /dev/input/eventx? |
21:45.39 | goxboxlive | m_hinge.setName( "/dev/input/event1" this was in odevicae_htc.cpp. It is the hinge |
21:45.57 | cr2 | yes. |
21:46.05 | cr2 | ok, it can be fixed later. |
21:46.28 | cr2 | we have more pressing issues. i'll put the code into CVS. |
21:46.55 | goxboxlive | good, i'll try to fix the opie stuff. Is the keyboard on event2 now? |
21:46.55 | *** join/#htc-linux [1]NickBee (i=HydraIRC@221.134.52.117) |
21:48.18 | pH5 | oh dear, pxa27x_udc definitely needs some love |
21:49.09 | goxboxlive | cr2: Also update the Kconfig since the keyboard works. The Opie stuff should be easy i guess (with some help) |
21:49.28 | *** part/#htc-linux asylumed (n=insanity@196.211.116.2) |
21:49.31 | cr2 | goxboxlive: the keyboard does not resume. |
21:49.41 | cr2 | hmm, anyway. |
21:49.54 | goxboxlive | hmm ok |
21:52.39 | cr2 | usb is broken after the resume too. |
21:55.25 | cr2 | ok. done. |
21:56.24 | cr2 | the defconfig should be updated |
21:57.17 | goxboxlive | cr2: the usb has never resumes, only acx |
21:57.56 | lkcl | hermes has a 6mbyte bootloader because it's xxxxing wince. |
21:58.17 | cr2 | done |
21:58.23 | lkcl | cr2: there's no resume function in the pxa keyboard driver that's why |
21:58.53 | cr2 | goxboxlive: it's probably the general pxa27x_udc probelm. |
21:59.00 | goxboxlive | ok |
21:59.03 | cr2 | lkcl: call init again ? |
21:59.14 | lkcl | que? whatwhatwhat, cr2? |
21:59.57 | cr2 | lkcl: i'll have a look at it. |
22:00.03 | lkcl | okie. |
22:00.24 | lkcl | oh gawd it's got RIL in it... |
22:00.33 | cr2 | in the bootloader ? |
22:00.51 | lkcl | yeh, looks like it. |
22:00.57 | lkcl | looks like it's got test routines in it. |
22:01.07 | lkcl | for the camera, TI wifi, etc. |
22:01.08 | cr2 | i think they got lazy and use the wince kernel as a bootloader |
22:01.23 | cr2 | stripped down. |
22:01.25 | lkcl | thawte, verisign and microsoft certificates |
22:01.45 | cr2 | so losers like you don't mess with the botloader :) |
22:01.57 | lkcl | ha ha |
22:02.04 | lkcl | well that doesn't stop _total_ replacement :) |
22:02.15 | cr2 | not really. |
22:02.33 | cr2 | the phone may refuse to work if the bl certs are not found. |
22:02.47 | lkcl | hmmm... |
22:02.50 | cr2 | then you will write your own gsm/umts stack :D |
22:03.06 | lkcl | joy! |
22:03.22 | cr2 | desolder the BB flash, and flash it in the programmer device . |
22:03.57 | cr2 | universal seems to be the last device where you can really hack. |
22:03.58 | lkcl | yep! |
22:04.06 | lkcl | there's so much _shit_ in this bootloader |
22:04.09 | cr2 | without soldering things. |
22:04.55 | goxboxlive | cr2: It failes compiling |
22:05.04 | cr2 | goxboxlive: where ? |
22:05.13 | goxboxlive | pastebin |
22:05.18 | cr2 | yes. |
22:05.29 | goxboxlive | http://pastebin.ca/259960 |
22:05.38 | goxboxlive | Do you understand, or should i translate |
22:06.01 | goxboxlive | "No rule to make target ' arch/arm*************' |
22:06.01 | cr2 | _buttons.c missing |
22:07.13 | goxboxlive | wich needs builtin.o |
22:07.21 | cr2 | done. |
22:07.27 | goxboxlive | good |
22:15.36 | cr2 | lkcl: the keyboard should probably switch off the CKEN on suspend, and switch on on resume and setup other regs it does in _init. |
22:29.21 | goxboxlive | cr2: My keyboard work in Opie. I just changed the event1 to event2 in /etc/init.d/opie |
22:32.49 | cr2 | ok. |
22:33.04 | cr2 | it'm testing the keyboard suspend/resume |
22:33.30 | goxboxlive | And as you said the FN key doesnt work, and the power button doesnt react |
22:34.12 | goxboxlive | suspend is still not working in opie, even tho I use the suspend icon |
22:34.25 | cr2 | this is strange. |
22:36.19 | goxboxlive | I have a failure mesaage: IRQ handler type missmatch for IRQ 165 |
22:36.45 | goxboxlive | It's between usbcore and input asic3_keys |
22:38.07 | cr2 | 165 ? what is the base irq ? |
22:38.09 | cr2 | asic3 |
22:38.38 | goxboxlive | there is just a line between those two i mentian |
22:38.41 | goxboxlive | see your dmesg |
22:38.48 | cr2 | ok. |
22:58.25 | *** join/#htc-linux rejon (n=rejon@adsl-75-5-124-98.dsl.pltn13.sbcglobal.net) |
22:58.51 | *** part/#htc-linux rejon (n=rejon@adsl-75-5-124-98.dsl.pltn13.sbcglobal.net) |
23:06.12 | cr2 | Kevin2: the evil keyboard does not want to resume ;) i copied the relevant init code, it is executed , but the keyboard is still stuck. |
23:08.41 | *** join/#htc-linux florian (n=fuchs@84-245-188-248.dus.bpool.celox.de) |
23:30.23 | lkcl | cr2: i'm guessing that the hermes 'bootloader' is in fact the entire os |
23:31.06 | lkcl | it's got far too much in it to just be a plain bootloader |
23:31.54 | lkcl | oh - and it's got the name of the haret-sc32442.exe process in it :) |
23:33.12 | cr2 | how are you dumping it ? |
23:34.26 | lkcl | and this is a _biiig_ clue: Windows CE Kernel for ARM (Thumb Enabled) Built on Oct 25 2005 at 17:27:50 |
23:34.48 | lkcl | direct from memory using haret-sc32442.exe |
23:34.53 | lkcl | to a file |
23:36.35 | cr2 | with which command ? |
23:37.54 | lkcl | i forget. not pd. |
23:38.08 | lkcl | the other one. |
23:38.34 | lkcl | it was _hours_ ago :) |
23:40.38 | cr2 | don't see anything on your site. |
23:42.41 | *** join/#htc-linux WizMaui (n=WizMaui@62.112.90.179) |
23:57.41 | cr2 | good night. |