irclog2html for #htc-linux on 20061127

00:00.31cr2hmm.
00:00.52cr2in the first part of the IPL the gpio regs are initialized.
00:01.07cr2and not only gpio, but gpio is the most interesting.
00:02.03lkclwhat's the IPL again?
00:02.34cr2G4
00:02.39lkclah yep.
00:02.49lkclforgot about that.  joy.
00:04.24lkcli 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.47lkclor doesn't it matter?
00:05.20lkcli need to double-check asic sleepconf
00:11.33lkclcr2, can you double-check something with me?
00:11.39lkclthe asic3 raw dump is this:
00:11.41lkcl10000000 | bffbffff ffff8083 00000000 0080ffff | ................
00:11.41lkcl10000010 | 00000000 000c6000 c087c087 00000000 | .....`..........
00:12.05lkclthe asic3 gpio a settings in htcsable.c are this:
00:12.07lkcl<PROTECTED>
00:12.07lkcl<PROTECTED>
00:12.07lkcl<PROTECTED>
00:12.07lkcl<PROTECTED>
00:12.07lkcl<PROTECTED>
00:12.08lkcl<PROTECTED>
00:12.29lkclbut the offsets are this:
00:12.32lkcl<PROTECTED>
00:12.32lkcl<PROTECTED>
00:12.53lkcland that says to me that alt_function and sleep_conf values in htcsable.c are the wrong way round
00:15.30cr2wait. that's why i prefer names.
00:16.12lkcloh hang on - the dump is... word-aligned, isn't it.
00:16.26lkcl32-bit word-aligned.
00:16.51cr2i think it is right.
00:17.05cr2little-endian. right to left.
00:17.20cr2what id 0x6000 alt ?
00:17.35cr2it's A13 and A14, the mysterious bits.
00:17.42cr2it is ok.
00:17.42lkclyep.
00:17.47lkcloOoOOooOOo :)
00:18.29lkclwhat am i missing?
00:19.10cr2PW* bits look ok.
00:19.19cr2what is 1<<5 ?
00:20.06lkcl1<<5 is 0x20 - it's one that's set that isn't listed (!)
00:21.16lkcl!pxa27x power
00:21.16lkcl<pre>
00:21.16lkcl<PROTECTED>
00:21.16lkcl<PROTECTED>
00:21.16lkcl<PROTECTED>
00:21.17lkcl<PROTECTED>
00:21.17cr2i'll look in the manual.
00:21.18lkcl<PROTECTED>
00:23.23lkclk
00:33.54*** join/#htc-linux ljp (n=lpotter@203.94.178.46)
00:39.33cr2it's reserved ;)
00:39.41cr2so remove it.
00:39.45lkclack
00:40.17lkclgone :)
00:40.24cr2so you have the power button and asic3. ok.
00:40.51lkclyep? :)
00:41.43*** join/#htc-linux skodde (n=skodde@unaffiliated/skodde)
00:42.22cr2the pgsr* is ok.
00:42.34lkclack
00:44.32lkclAH bugger.
00:45.08lkcloh it's ok i am calling the ll_pm_init fn
00:45.35cr2wwhere ?
00:47.55lkclhtcsable_core_probe()
00:48.24cr2yes, universal does the same.
00:50.25lkclthese are all the PM devices:
00:50.27lkclPM: Adding info for platform:asic3.0
00:50.27lkclPM: Adding info for platform:htcsable_core.0
00:50.27lkclPM: Adding info for platform:pxa2xx-mci
00:50.27lkclPM: Adding info for platform:pxa2xx-udc
00:50.27lkclPM: Adding info for platform:pxa2xx-fb
00:50.28lkclPM: Adding info for platform:pxa2xx-uart.0
00:50.30lkclPM: Adding info for platform:pxa2xx-uart.1
00:50.32lkclPM: Adding info for platform:pxa2xx-uart.2
00:50.34lkclPM: Adding info for platform:pxa2xx-ir
00:50.36lkclPM: Adding info for platform:pxa2xx-i2c.0
00:50.38lkclPM: Adding info for platform:pxa2xx-i2s
00:50.40lkclPM: Adding info for platform:sa1100-rtc
00:50.42lkclPM: Adding info for platform:pxa27x-ohci
00:50.46lkclSCSI subsystem initialized
00:50.48lkclasic3: using irq 160-229 on irq 41
00:50.50lkclPM: Adding info for platform:asic3_mmc.1283
00:50.52lkclPM: Adding info for platform:htcsable_ts.0
00:50.54lkclPM: Adding info for platform:htcsable_kbd.0
00:50.56lkclPM: Adding info for platform:htcsable_lcd.0
00:50.58lkclPM: Adding info for platform:pxa27x-keyboard
00:51.00lkclPM: Adding info for platform:htcsable_buttons.0
00:51.02lkclPM: Adding info for platform:corgi-bl.0
00:51.04lkclPM: Adding info for platform:htcsable_bt
00:51.06lkclPM: Adding info for platform:htcsable_phone
00:51.08lkclPM: Adding info for platform:htcsable_udc.0
00:51.10lkcloh there's a few more
00:51.12lkclPM: Adding info for mmc:mmc0:a95c
00:51.16lkclall of these _are_ actually being called
00:51.26lkclas best i can tell
00:52.20lkclbrb baby
01:08.02cr2write to the vibra gpio at wakeup.
01:09.16cr2then 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.17lkcloh1
01:18.18lkcloh
01:18.20lkclof course.
01:27.37lkcladded it - let's see what happens...
01:28.01lkclof course - i can add in a sleep of 1 second in between each.... yep
01:28.06lkclthis is going to be boring...
01:28.55lkclok that vibra idea was a good one
02:01.03lamikrcr2 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.20cr2lamikr: hi. what channels does your mixer support ? how general is it ?
02:04.56lamikrcr2: 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.33cr2bt headset ?
02:05.42cr2i think i'll make it work.
02:05.48lamikrcr2: No, just normal headset.
02:06.12lamikrAt least we do not have yet the bt headset.
02:06.15cr2what bt chipset do you have ?
02:06.49lamikrcr2: 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.03lamikrcr2: We have brf6100
02:07.39cr2it's the same as ba. and it can be traced on ba.
02:08.28lamikrok. 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.30cr2with current haret. i have some extensive logs of brf6150, and the decoded bts scripts.
02:09.01cr2for 610x there is no bts (afaik), but the logs should be sufficient.
02:09.15cr2you have bts ?
02:09.28lamikrYes, wince seems to have 4 bts files.
02:09.37cr2tell me the names
02:09.57lamikr[lamikr@aragorn2 xip_files]$ ls -la *.bts
02:09.59lamikr-rw-r--r-- 1 lamikr lamikr   738 Nov 11 01:23 BT_coex_disable_v1.0.bts
02:10.00lamikr-rw-r--r-- 1 lamikr lamikr   742 Nov 11 01:23 BT_coex_enable_v1.0.bts
02:10.02lamikr-rw-r--r-- 1 lamikr lamikr 15730 Nov 11 01:23 BT_Init_with_Coex_v1.0.bts
02:10.03lamikr-rw-r--r-- 1 lamikr lamikr 15175 Nov 11 01:23 BT_Init_without_Coex_v1.0.bts
02:10.14cr2ok.
02:10.25cr2i can send you my bts decoder.
02:10.31lamikrSize differences are quite big with first 2 and last 2.
02:10.55cr2there is nothing special there, i just have taken the code from hciattach.
02:11.06cr2it's standalone.
02:11.17lamikrThat 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.31lkclallo lamikr
02:11.36cr2maybe i'll put then in gomunicator CVS.
02:11.51lamikrhi lkcl.
02:12.19lamikrcr2: The bts parser code? Maybe some kind of test dir would be cool.
02:13.48lamikrI 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.49lamikrcr2: Do yuo have "Coex" in your your bts script names in any of your devices?
02:16.03cr2lamikr: i'd like to separate the gtk gui stuff into gtk/ directory.
02:16.19cr2no, but it's different chipset here.
02:17.38lamikrcr2: 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.16cr2since you have a tag, we can change head.
02:18.27lkclsuch a fucking waste of space.
02:18.39cr2lkcl: even qt will have dbus now :)
02:19.04scatterpcr2 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.04lkclthe d-bus team are such fucking pricks.  they're spending _years_ re-duplicating dce/rpc.
02:19.06lkclbadly.
02:20.10cr2lkcl: but it's a team and they are working. that's good.
02:20.15lamikrlkcl: 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.39cr2lamikr: i've sent you the parser.
02:20.40lamikrCurrent dbus.c uses btw, the glib.h but I will change that.
02:20.44lkclthey'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.46lamikrcr2: Thanks
02:20.56lkcljust pisses me off.
02:21.46cr2lamikr: is there a non-glib version of g_strsplit() ?
02:22.01cr2lkcl: get the resume working first :)
02:22.04lkclthe main thing that projects need _isn't_ another inter-process communications system, it's an RPC compiler.
02:22.17lkclok.  but don't mention d-bus at me, anyone, ok? :)
02:22.22cr2ok.
02:22.43lamikrcr2: 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.56lkclglib must dieeee
02:23.03cr2scatterp: which kernel version are you using ?
02:23.24scatterp2.6.17
02:23.31cr2lkcl: competition is good.
02:23.32lamikrlkcl: I will be quiet :-)
02:23.36lkclhe he
02:23.57scatterpit was a copy goxboxlive made that was suppose to have sound 20041124
02:24.03scatterpbut the sound didnt work
02:24.06cr2scatterp: i have found an annoying bug in the ts driver, it is fixed now.
02:24.28scatterpwhere should i download the fixed copy ?
02:24.36lkclhm - this vibrate isn't going
02:24.47cr2look for 0xd100000 and relace it by 0xd10000
02:24.53lamikrI must now go to sleep. Goodnight
02:25.02cr2good night.
02:25.11scatterpnite
02:25.13lkclnight lamikr
02:25.46lkclhtcsable_ts.c
02:25.56lkcl???
02:26.19cr2i'm 1 step away from the generic tsc2046_ts driver. at least for pxa, because of the 24bit spi issue.
02:26.42scatterpoh so its not ready for download yet
02:26.43cr2lkcl: i have fixed it also in htcsable_ts.c
02:26.48lkclcool.  ta
02:27.14scatterpok well im gonna head off to bed too ill drop in again in a day or two
02:27.35cr2lkcl: i need sleep to. good night.
02:27.37lkclcr2: d100000 doesn't exist
02:27.39lkclok dude
02:27.52cr2lkcl: i've fixed it in your source.
02:27.57lkclok 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.19lkclok!  resume works...
02:50.45lkclusing that vibrate trick.  hooray.
03:01.28*** join/#htc-linux rejon (n=rejon@adsl-69-105-38-111.dsl.pltn13.pacbell.net)
03:29.40lkclfucking fucking root nfs - i spotted it earlier.
03:30.04lkclthe network is down.
03:30.10lkclso there's an nfs timeout
03:30.13lkcli think that's it...
03:30.17lkclwe'll see...
03:54.49lkclok it's somewhere in one of the resume functions...
03:55.23lkcli took a photo of the screen to get the list of devices / resume order :)
04:04.23lkclahh nuts - i think it's to do with mci
04:04.32lkcllike... there isn't some code for it.
04:16.12lkclmaybe not...
04:16.28lkclwho 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.09pH5can anybody explain to me the weirdness that is the magician's connection to the uda1380 chip?
12:44.14pH5the DAC is connected to SSP1, the ADC to I2S like in the blueangel.
12:44.40pH5it seems to use the pxa27x audio clock for SSP (SSCR0_P1[ADC] is set).
12:45.43pH5but the SSACD1 audio clock divider register always has the same value (0x11), no matter what kind of sound is played.
12:48.20cr2ADC ?
12:49.16cr2on blueangel the external SSP clock comes from ASIC3 CONTROL_CX, it seems.
12:49.33pH5ADC = analog-to-digital converter, the input part
12:49.47cr2the outgoing I2S clock is generated by PXA.
12:49.53cr2it's pure PCM
12:50.01cr2no analog here.
12:50.46cr2is pxa2xx-i2sound.c capable of such split SSP/I2S config at all ? i think not.
12:50.47pH5I mean the ADC's (digital) output is connected to I2S
12:50.53pH5the magician's SSCR0_P1 is 0x4000009f
12:51.14pH5this is ACS(1<<30) set, but ECS(1<<21) and NCS(1<<6) are zero
12:51.46cr2wait. what is the data direction, and who generates the sync clock ?
12:52.27pH5My problem currently is sound output. SSP1 -> DAC.
12:52.38pH5It looks like the clock is generated by the pxa27x (the audio clock)
12:53.31cr2on blueangel SSP TXD audio out data , SSP external clock
12:54.10cr2I2S SYSCLK for input.
12:55.05cr2I2S SDATA_IN , (I2S SDATA_OUT unused)
12:55.33pH5I'm not at I2S input yet, but I guess it is exactly the same here.
12:55.47pH5Only my output clock always seems to be at the same frequency (1418125 Hz) in wince.
12:56.08cr2ok, but then you need to enable the external clock somehow.
12:56.25cr2output clock ?
12:56.58pH5Eh, the audio clock that drives SSP1.
12:57.11pH5wince doesn't seem to use an external clock
12:57.25cr2hmm. you have a different config from blueangle then.
13:01.21cr2SSACD1 ? was it not SADIV ?
13:02.27pH5not for pxa27x
13:03.52cr2if it's I2SCLK, isn't it controlled by SADIV ?
13:03.58pH5oh 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.08pH5cr2: you're right about SADIV controlling the I2S clock
13:06.51pH5cr2: 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.39cr2ok.
13:07.58cr2i'm not sure about audio routing at all.
13:08.33cr2there is also the PCM coming from the BT headset. it gets the gsm clock, or generates it itself, i don't know.
13:09.54pH5oh 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.37cr2and 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.49cr2it may be done by AT commands.
13:10.50pH5for 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.03cr2:)
13:12.12cr2the audio clock it not very high, maybe i should measure it directly with the frequency counter :)
13:15.17cr2AT%HTCCLOCK=%x, on magician ?
13:15.45cr2is it called by wavedev.dll ?
13:17.25cr2i'm thinking about RIL_SetAudioDevices test code.
13:18.04pH5I have TCLOCK, but not TCCLOCK
13:18.26pH5s/TC/HTC/
13:20.31cr2ok.
13:20.54cr2i copied it from http://wiki.xda-developers.com/index.php?pagename=rilgsm.dll
13:21.01cr2and was a bit surprised.
13:21.22pH5heh, typo
13:22.18pH5fixed
13:27.27cr2http://www.teksoftco.com/articles/article 006/speakerphone.htm
13:27.33cr2can be useful.
14:35.52lkclallo
14:42.10*** join/#htc-linux rmoravcik (n=rmoravci@158.193.198.3)
14:42.38pH5hey lkcl
14:42.43lkclhp pH5
14:42.52lkcloops s/hp/hi duh
15:13.27babelouedhi
15:14.02babelouedcr2 what is it HTC_misc.dll and HTC_Cmd.dll ?
15:19.46cr2cmd is for the gsm commands (ldisc for lkcl). misc is some virtual driver.
15:20.51cr2lkcl: did you have any progress with resume ?
15:31.57cr2duh. the pxa27x_keyboard did not show up because there was no next in 'tristate' ;-)
15:56.50babelouedcr2 thanks, i try to find some battery stuff and i try batdrvr.dll
15:57.48lkclcr2: not yet.
15:58.12lkclalthough the IPL looks fascinating, from a purely aesthetic point of view.
16:02.32cr2babeloued: battery.dll
16:03.08cr2lkcl: it's probably written in macroassembler.
16:03.24lkclyes - there are signs of inefficiency.
16:11.05lkclok i see the 0xa0040000 jump-point.
16:13.15babelouedcr2  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.38lkclany use of msleep causes a lock-up.
16:13.45lkclwhich is odd in itself.
16:13.55cr2babeloued: ok.
16:14.16cr2lkcl: if you have interrupts disabled it is not odd.
16:14.20lkclany use of *mdelay()* causes a lock-up which is even more weird
16:14.21lkclahhh
16:14.24lkcloops :)
16:14.48lkclok any ideas on how i enable them - and which ones? :)
16:14.48cr2babeloued: but BAT2 already has a driver ?
16:14.58cr2lkcl: why do you need it ?
16:15.22lkcli'm quite happy to write a bit of code which spells out hexadecimal numbers in morse code or binary, via the VIBRATE :)
16:15.38lkclmsleep() ? it's used _all over_ the place.
16:15.41lkclin the resume functions
16:16.02cr2babeloued: sorry, BAT1
16:16.12lkclasic3_mmc uses it to do wake-up / redetection of the mmc cards
16:16.16cr2lkcl: where do you call vibrate ? and how ?
16:16.29lkclasic3_set_gpio_d
16:16.33lkclin maaany places :)
16:16.45lkcli've been moving it around.
16:17.01cr2after the asic3_base is loaded ?
16:17.04lkclstatic void suspend_finish(suspend_state_t state)
16:17.05lkcl{
16:17.05lkcl<PROTECTED>
16:17.05lkcl<PROTECTED>
16:17.05lkcl<PROTECTED>
16:17.17lkcl...
16:17.18lkcl}
16:17.22lkclit seems to work fine
16:17.27lkclkernel/power/main.c
16:17.59cr2i think you can't call it this way for the devices loaded before asic3_base.
16:21.24lkclremember this is in _resume_ - it's well after things have been loaded.
16:21.28babelouedcr2 : i can't copy file battdrvr.dll
16:22.01cr2babeloued: you need to dissect the rom.
16:22.13babelouedarghh
16:33.52babelouedthere are tools to extract nk.nbf file ?
16:40.36cr2xda-dev
16:41.46cr2hehe. this is going to break a _lot_ of braindead userspace stuff.
16:43.14lkclwhat have you done, cr2?
16:43.24pH5lkcl: 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.36lkclhe he.
16:44.20*** join/#htc-linux rob_w (n=bob@p85.212.202.157.tisdip.tiscali.de)
16:44.20lkclactually what we need is a microphone or motion sensor, so that the vibrations can be translated back into characters.
16:45.03lkclthen it could be just plain serial encoding, baud rate ermm..... 30?  75? :)
16:45.53cr2pwm is better.
16:46.23cr2lkcl: i have completely rewritten the keyboard and asic3 button code.
16:46.30lkclcr2: oh cool
16:46.49cr2pH5: our vibra is on asic3.
16:47.27cr2lkcl: but i'm out of buttons ;) what should i use for "flashlight" ?
16:47.39lkcloh dear!
16:47.43lkclflashlight??
16:47.52lkcloh - yes - the camera light
16:47.55cr2and opie should be modified.
16:48.00cr2it's a joke.
16:48.08cr2flashlight is a led device.
16:48.25lkcloh - the one that on the universal burns out if you leave it on for more than 30 seconds?
16:48.27cr2night sensor is not quite right now.
16:48.33cr2yes.
16:48.53pH5what is vibra, is it a "led" too?
16:49.07pH5connecting it to the heartbeat trigger sounds like a nice idea, at least.
16:49.17cr2vibra is led too.
16:49.25cr2it's an output device.
16:49.29cr2not input.
16:50.06cr2pwm on flashlight is also funny.
16:50.16pH5strobe!
16:50.18babelouedit's disco :)
16:50.19cr2i think the best is still the irda. if done right.
16:50.49cr2because it is always on the cpu. at least on pxa.
16:51.02pH5agreed. if only I could get it to work reliably on my laptop.
16:51.34lkclsorry
16:51.52lkcloh yes - of course, cr2.  forgot about irda.
16:51.56cr2hmm. camera button is mapped to F10.
16:52.07lkclexcept for the nightmares i had trying to get that to work on my laptop.
16:52.19cr2but irda _is_ a serial console.
16:52.25cr2it's SIR vs FIR.
16:52.45pH5..  .-.. .. -.- .  -- --- .-. ... .  -... . - - . .-.
16:52.49cr2and raw SIR without irda encapsulation.
16:53.19cr2pH5: :)
16:53.58*** join/#htc-linux skodde (n=skodde@unaffiliated/skodde)
16:54.14cr2lkcl: 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.40lkclcr2: i need a machine with a cd-reader, and connected to the network.
16:55.01cr2ok.
16:55.53lkclboth my laptops (the one slowly dying and the nice new one) are tiny and have external cdrom drives - which are in holland.
16:56.19lkcli'm pretty useless WHOA that font's a bit big
16:56.53lkcli set the font to 8x8 so i could see it as the lcd when it resumes has scan-lines missing
17:00.09lkclargh.  i don't really feel like i'm getting anywhere with this resume thing, or spending my time productively.
17:01.59cr2pH5: are the phones EMBEDDED ?
17:02.37pH5kernel-config wise?
17:02.45cr2yes.
17:02.47pH5that's just a switch to enable turning off certain parts of the kernel
17:03.01cr2i can't switch off the "mice"
17:04.29pH5I have EMBEDDED and turned off sysctl syscall support, some kallsyms options and /proc/vmstat
17:04.37pH5mice shouldn't be related to that
17:05.22pH5wait, what "mice"?
17:05.32cr2Mouse devices
17:05.39pH5INPUT_MOUSEDEV?
17:06.02cr2tristate "Mouse interface" if EMBEDDED
17:06.10pH5ah, ok
17:06.17pH5never noticed that. so enable embedded
17:06.36cr2it's nowhere for arm.
17:07.07cr2maybe goxboxlive would like to test the bt mouse.
17:07.28pH5?? EMBEDDED is under General setup
17:07.33*** part/#htc-linux babeloued (n=Fabrice@faim1.itesoft.com)
17:08.08cr2find . -name Kconfig | grep EMBEDDED
17:08.08pH5do you need mousedev under opie for that? i only have evdev support enabled here.
17:08.17cr2don't know.
17:08.34cr2but this empty /dev/input/mice is annoying.
17:09.04pH5./init/Kconfig:menuconfig EMBEDDED
17:09.48cr2ok, but it's not used anywhere in arch/arm
17:11.09pH5that is true
17:11.35pH5nice.
17:11.46pH5now I can make my speaker go 'PLOC!'
17:12.01cr2by powerup ?
17:12.14pH5by playing a sound. somehow the clocks must be terribly wrong
17:12.55cr2ok, done with the keyboard. waiting for the nightmare when goxboxlive appears :)
17:13.18lkclha ha
17:13.29cr2need to trace the actual matrix keyboard map.
17:13.52cr2by adding printks to the old driver ? :)
17:14.03lkcli added in a printk in the interrupt service to print out col and row
17:14.07lkclyep!
17:14.39lkclthen went through pressing keys one-by-one - actually it only took about 30 mins or so
17:14.46cr2pH5: i have only one serious problem left. the asic3 OWM driver and the charging control.
17:15.12cr2lkcl: i'll try to extract this data from the old driver.
17:15.17lkclwhat 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.27lkcljust out of curiosity
17:15.27cr2lkcl: you need it too.
17:15.33lkcli do?  oh, ok :)
17:15.43pH5cr2: cool
17:15.50cr2device ? universal.
17:16.22pH5lkcl: are there any news in the ldisc department?
17:16.23lkclpH5: i'll be honest, i think the ldisc stuff is far too complex and difficult to program.
17:16.23cr2pH5: SLIP and IRDA are very close.
17:16.32cr2ppp is too complex.
17:16.38lkclthere was another idea, which i came up with and harald also had the same idea
17:16.44cr2imho, slip is the best.
17:17.09lkclwhich 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.32lkclwhich has one 'master' dummy serial, and many 'slave' dummy serials.
17:17.58cr2what is the UMTS speed ?
17:17.59lkcland you do an IOCTL to say which one of the 'slaves' that data being written on the 'master' must be sent to.
17:18.28lkcli reckon i could write the whole thing in about 400 lines.
17:19.54pH5can this be done without copying the whole gprs traffic between kernel and userspace twice?
17:19.54cr2pH5: you are the w1 god :) can you create a nice template w1 asic3 driver from the mess named hx4700_power ?
17:22.25lkclok 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.09pH5cr2: yeah, I'll try that
17:24.31cr2pH5: 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.54lkclbtw 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.01lkclyaay - 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.17manaPirathi there
17:38.25cr2lkcl: i don't have "keys".
17:38.33cr2hi manaPirat
17:38.41manaPirathi guys :o)
17:38.45cr2only matrix keyboard, like apache.
17:38.47manaPirateeh well ye
17:39.20lkcli got one key - power button
17:39.52lkclcr2: the apache and the sable have both a matrix and a joystick thing
17:40.07lkclthe joystick is on DKIN0-5
17:40.35cr2ok. i don't have DKIN, my joystick is on asic3.
17:40.40manaPiratso guys, i heard you "tricked" HTC devices to boot linux?
17:40.58cr2manaPirat: it depends on the device.
17:41.59cr2lkcl: sable is missing here http://wiki.xda-developers.com/index.php?pagename=Xanadux
17:42.11lkclcr2: ack
17:42.50manaPiratso uuh .. well .. which of the devices you are exprimenting with give sthe best resutls?
17:43.22lkclmanaPirat: 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.48manaPiratso the newer the easier to install "universal" on?
17:43.59cr2manaPirat: the best is the universal, but it's the most expensive one.
17:44.06manaPiratuhun
17:44.10cr2and it's not really a phone.
17:44.17manaPirateeh v
17:44.23pH5and it's ugly
17:44.25pH5*ducks*
17:45.17cr2pH5: the lcd is nice. i'd like to see the lcd in openmoko.
17:45.17lkclthe hermes is possibly the best price/features/performance/size but there's only the research stage
17:46.01goxboxlivemanaPirat: This is the HTC Universal : http://www.pdagold.com/articles/detail.asp?a=257
17:46.02cr2but the rest in openmoko is a joke.
17:46.06pH5cr2: ack!
17:46.35cr2pH5: if hermes had this "openmoko" vga lcd .
17:46.45pH5yeah, "if only.." :)
17:46.55cr2hermes has 2D accel ?
17:47.13pH5yup. but it's as closed source as it gets with the imageon
17:47.16lkclhermes has an ATI multimedia chipset
17:47.38lkclwell that's not a problem - it wasn't for the himalaya :)
17:47.46cr2pH5: ati*dll is the most clean dll i have seen in wince.
17:48.06lkclit's a framebuffer device, so it's only the initialisation sequence that's really needed.
17:48.16cr2lkcl: you've done testwm5 on it ?
17:48.18lkcli'm just dumping the bootloader, now (it's taking forever)
17:48.20lkclyes i have
17:48.39cr2show me the ati*dll
17:49.19lkcli'm downloading the bootloader and it's writing to the sdcard at about 10k/sec (urgh)
17:49.26lkcl6mbytes...
17:50.52cr2goxboxlive: i have written the new keyboard driver.
17:51.07goxboxlivecr2: havw you tried it?
17:51.11cr2but you should track the keys first.
17:51.27cr2with the old driver.
17:51.37cr2and it will break a lot of things.
17:51.44goxboxlivesuch as?
17:51.52cr2some button mappings are still uncertain.
17:52.06cr2i'm not sure it will popup as event1
17:52.20goxboxlivedoesnt mather, we dont use buttons for now
17:52.33goxboxliveok, i can try it if you like
17:52.47manaPirathmm guys did you get the HTC universal to actually make phonecalls AND be online with? :)
17:52.54cr2add the printk to the old driver first, and log the keys.
17:53.00manaPirat(me not at the same time neccessarily, but hey, what a featrue!)
17:53.05cr2otherwise it will not work.
17:53.09cr2at all.
17:53.44goxboxliveok, but where do i add the printk
17:55.57cr2hmm. maybe i'll better try it  myself.
17:56.07goxboxlivei guess that will be easier
17:56.24cr2goxboxlive: but i need the kernel without eabi ?
17:56.25goxboxlivethen you can see the status of the other stuff to
17:56.38goxboxlivewhy?
17:56.39cr2or with ?
17:56.48cr2it's not in defconfig.
17:56.55goxboxliveIf you use one of mine then you have to use eabi
17:57.04cr2and the current config is seriously changed
17:57.11cr2ok.
17:57.20goxboxliveI know, i am using my owv defconfig
17:57.52cr2can you send the the oe-your complete diff ?  we really need to merge the bits where they belong.
17:58.13goxboxliveyes, i also send over my local.conf
17:58.24cr2lkcl also needs an image.
17:58.39cr2we should think how to join the forces.
17:59.16cr2where is the eabi setting ?
17:59.46goxboxlivein oe? or .config
17:59.58cr2found.
18:00.03cr2allow old abi ?
18:00.39cr2cc1: error: invalid option `abi=aapcs-linux'
18:01.13*** join/#htc-linux rmoravcik (n=rmoravci@pc-3s0zt5w2e4y0vzmhnrzq3a21zqajzfw.users.student.utc.sk)
18:01.24goxboxliveyes allow old eabi
18:01.49goxboxlivebut you need the toolchain that the opie.image u are using where buildt with :-/
18:03.23cr2PATH=~/stuff/tmp/cross/bin/:$PATH CC=arm-angstrom-linux-gnueabi-gcc make
18:03.29cr2still does not work.
18:04.17goxboxliveyou have to edit your Makefile
18:04.45cr2hmm.
18:05.16goxboxliveline 177
18:05.29goxboxliveCROSS_COMPILE   ?= arm-angstrom-linux-gnueabi-
18:06.01*** join/#htc-linux rmoravcik (n=rmoravci@pc-3s0zt5w2e4y0vzmhnrzq3a21zqajzfw.users.student.utc.sk)
18:06.18cr2ok.
18:06.22cr2PATH=~/stuff/tmp/cross/bin/:$PATH CROSS_COMPILE=arm-angstrom-linux-gnueabi- make
18:06.29cr2no need to edit.
18:06.53goxboxlivecr2: 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.47cr2ok.
18:08.15goxboxlivethen use the toolchain in the cross directoey
18:09.35goxboxlivebut it has to be build first.
18:13.29goxboxlivecr2: upped
18:13.48cr2goxboxlive: we need to automate an automatic build of the ramdisk and put modules there too.
18:14.46goxboxlivewell i made a ramdisk, but there where restrictions about the image size. Haret refused to start.
18:16.17cr2Bitbake version 1.6.2 is required and version 1.6.1 was found
18:16.38cr2ok. we will take care of it.
18:17.15goxboxliveyes then do svn update form the bitbake directory
18:17.48cr2yes.
18:18.16cr2we should modularize everything possible, but then it will be very painful without an autobuild.
18:20.45cr2NOTE: preferred version 2.5 of glibc not available
18:21.11goxboxlivedoesnt mather
18:21.20*** join/#htc-linux skodde (n=skodde@unaffiliated/skodde)
18:21.50cr2ok. bbl
18:22.09goxboxlivek
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.37goxboxliverob__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.56rob__wgoxboxlive, hang on .. sorry
19:38.19goxboxlive:-*)
19:38.48*** mode/#htc-linux [+o rob_w] by ChanServ
19:41.32cr2goxboxlive: i'm back.
19:41.47cr2<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.46goxboxliveok
19:43.27goxboxlivecr2, what command?
19:43.38cr2opie says at boot
19:44.41lkclthat's entirely rob's fault
19:44.51rob_whuh ?
19:45.16goxboxlivecr2: Yes, i know, but you have used a diffrent toolchain to create the modules and kernel image
19:45.37lkclcr2: Dump of hermes is up on my site.
19:45.37rob_w~massacre lkcl
19:45.39aptACTION sets seeds of discontent and difference among the lkcl; years later two factions have formed; history will take its course
19:46.57lkclha ha
19:47.06goxboxlivecr2: Use the one that you have buildt today, and of course, you have to have angstrom as distro in your local.conf
19:47.46cr2goxboxlive: that's your uploaded files.
19:47.50rob_wdamn i dont have the guts to make a powerpc embedded linux, sometimes you just need to stop before a task ..
19:47.51lkclo 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.01cr2i need to enable usb login now, to debug the keyboard.
19:48.11rob_wwelcome back BabelOued
19:48.32goxboxliveWell, 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.40BabelOuedhi rob_w
19:49.08cr2rob_w: blueangel looks not bad now, with the battery monitor decoded.
19:49.31rob_wcr2, ur doing great work i bet
19:49.48cr2goxboxlive: where do i put ifup usb0 ? i think it should be default.
19:50.13rob_wdid you guys get a also latest gpe images .. ? gtk 2.10 is back in speed ..
19:50.41goxboxlivewell, 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.14goxboxlivecr2: Go in to /etc/modutils create a file named g_ether with the content g_ether
19:52.00goxboxlivecr2: Go back to /etc and edit the file modules , add a line like the others just with g_ether instead.
19:52.15cr2ok.
19:52.51cr2g_ether is already in /etc/modutils
19:53.07goxboxlivegood, check your /etc/modules then
19:53.09lkclAhiDrawIdle
19:53.09lkclAhiDrawStretchBlt
19:53.09lkclAhiDrawBitBlt
19:53.09lkclAhiDrawSurfDstSet
19:53.09lkclAhiDrawSurfSrcSet
19:53.09lkclAhiDrawClipDstSet
19:53.11lkclAhiDrawClipSrcSet
19:53.15lkclAhiDrawRopSet
19:53.17lkclAhiTerm
19:53.19lkclAhiDevClose
19:53.21lkclstrings AtiMidWare.dll
19:53.24lkcllooks about right...
19:53.47cr2and /etc/modules have g_ether too. it's a autogenerated file.
19:54.02cr2lkcl: looks like the same api.
19:54.11cr2is there ahioem.dll ?
19:55.05cr2goxboxlive: without the keyboard i can't run ifup usb0, and there is no "usb" applet ?
19:56.32goxboxlivecr2: ok, then check your /etc/network/interfaces and add 'auto usb0' in it
19:57.06goxboxliveno there isent, but your OPIE keyboard will work i guess.
19:57.40cr2nothing will work with the new driver.
19:58.15goxboxliveSo you wouldnt be able to start opie then?
19:58.35cr2goxboxlive: btw, your changes are mainly cosmetic, only the keyboard need more detailed study.
19:58.53goxboxliveok
19:59.00cr2goxboxlive: i don't need opie, i want to watch syslog messages on the console.
19:59.25goxboxlivei 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.24goxboxlivecr2: a bootstrap image is upped. It's without any Opie/GPE stuff. Use the hh1 zImage you earlier downloaded today.
20:07.19cr2ok, now i'll try the new kernel.
20:09.18BabelOuedcr2: i ve another question ( a lot these days) :)
20:09.24BabelOuedwhat is irq 133(gpio 99)
20:09.31BabelOuedi didn t find it
20:10.08cr2BabelOued: haret assumes pxa27x cpu. you should make everything above 88 ?
20:10.17cr2s/make/mask/
20:10.26BabelOuedok
20:12.10*** join/#htc-linux rmoravcik (n=rmoravci@pc-3s0zt5w2e4y0vzmhnrzq3a21zqajzfw.users.student.utc.sk)
20:12.40rob_wbah stupid ..
20:13.14rob_wso did you guys have the uda1380 back up on ba ?
20:13.31rob_w~lart powerpc for having stupid bootloaders
20:14.03BabelOuedrob_w: no uda1380
20:14.39rob_woh i see
20:15.47cr2rob_w: the driver has completely new infrastructure.
20:16.18cr2is there a /dev/input tool to dump raw scancodes ?
20:16.41rob_wyeah 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.42cr2goxboxlive: the keyboard is event2 now
20:17.53rob_wcr2, google doesnt come up with one
20:18.13goxboxlivecr2: ok, isent there a way to force it to '1'?
20:18.34rob_wthe 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.01cr2rob_w: it should be split too.
20:19.03rob_wgoxboxlive, the order in which you load the modules !!
20:19.15goxboxliveok
20:19.21cr2rob_w: it's compiled in right now.
20:20.06rob_whmm then itthis tis the old question which one will be first .. or does the kernel has  a priority list of such things
20:20.07cr2yes, i can change the sequence.
20:20.33rob_wsame question comes to me for serial ata cards + scsi cards or such .. who gets sda who sdc etc
20:20.40cr2it's the order of platform_devices how they are initialized.
20:20.46rob_wif their compiled in
20:21.00cr2use unique ids on the disks.
20:21.02rob_wok but in which order are they "compiled in "
20:21.16cr2you'll never know the controller name.
20:21.37rob_wcr2, good point .. i never used disk id`s ..
20:21.41cr2it is possible to change the order of the pci bus scan, and you get it mirrored.
20:22.26rob_wi wonder what is not possible at all in linux ;-)
20:23.02cr2:)
20:23.15cr2lkcl: pressed=1 or pressed=0 ?
20:23.24cr2what should i log ?
20:26.38pH5I 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.30cr2pH5: great! now you should convince them to port ak4641
20:28.13rob_wpH5,  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.17cr2goxboxlive: how should i name the keys ? we had this discussion already. i have the german keyboard.
20:30.18pH5rob_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.55goxboxlivecr2: I think we should nake them the international way, like mine :-)
20:36.37goxboxliveIsent there a way we can make it as userspace or something
20:37.50cr2it can be translated by loading a map.
20:38.11cr2show me the "international" keyboard screenshot :)
20:38.36goxboxliveok, 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.50goxboxliveHold on i will
20:39.05cr2we have a wiki page afaik.
20:39.47cr2http://wiki.xda-developers.com/index.php?pagename=UniversalKeyboard
20:40.12goxboxlivecr2: http://www.pdagold.com/img/articles/en/large/0000000257_wre46285711851.jpg
20:40.34cr2ok.
20:42.20*** join/#htc-linux dullard (n=jim@adsl-static-1-30.uklinux.net)
20:47.23goxboxliveHas anyone seen picture of the HTC Omni yet?
20:48.04rob_whtc is quite impressive in putting new devices out .. they truly rule these markets !
20:48.08rob_w~hail HTC
20:48.10aptACTION bows down to HTC and chants, "I'M NOT WORTHY!!"
20:49.13goxboxliveThe Omni should be the succesor of the Universal, and thatwill say it will be shipped with GPS and hopefully more ram.
20:50.23jjazzrob_w: $630 bucks isn't bad
20:50.51cr2more ram ? unlikely. mickey$soft says 64MB for wince5.
20:51.31goxboxliveok, but wince6 is allmost ready AFAIK
20:53.06goxboxliveMaybe they just wait for it. I saw also that it might not be shipped with intel cpu.
20:53.38rob_wjjazz, phuew
20:55.18jjazzrob_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.38rob_whehe well , no risk ... no htc
20:55.53cr2goxboxlive: it's unlikely it will be pxa.
20:56.11cr2ready :)
20:56.28cr2now i'll put the map into htcuniversal.c
20:56.40goxboxlivecool
20:56.43jjazzrob_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.05jjazzHow usable is the htc with linux on it?
20:57.14jjazzI.e. what features aren't working yet?
20:57.17goxboxliveI cant test it yet thow, i am cgharging my new battery, and i want it to be fully charged before using it.
20:57.29rob_wjjazz, maybe ask the question the other way around :-)
20:58.09jjazzrob_w: Fair enough.  Does the phone work?
20:58.11rob_wno kidding , universal is already a mark stone in htc-linux
20:58.35rob_wi think the uni phone is still debugged
20:59.20cr2UMTS is not yet working.
20:59.41cr2i would not bet it will work before openmoko comes out. we need mux support.
21:00.10jjazzhmm
21:00.19jjazzWhat about GPRS?
21:00.48rob_wopenmoko ??? ,, oh oh , FIC attacks .. heads down
21:01.31cr2GPRS is UMTS
21:01.31rob_wlets see
21:02.02*** join/#htc-linux rmoravcik (n=rmoravci@pc-3s0zt5w2e4y0vzmhnrzq3a21zqajzfw.users.student.utc.sk)
21:02.11cr2goxboxlive: i'll set the keys as they were. we may modify something later.
21:02.24jjazzAh.  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.27goxboxlivecr2: ok
21:04.21cr2damn. mixed row and column.
21:04.33goxboxlive:-)
21:05.25cr2wow. even the LCD suspend works.
21:05.37goxboxlivei know
21:06.08cr2jjazz: we have no idea. 99.99% of us are from Europe.
21:06.42cr2the phone works, but the sound is a bit broken now. wait a bit for the things to be polished.
21:07.24goxboxlivecr2: Did the keyboard work on resume?
21:08.21cr2the data/fax/videocall will not work in the next 2 months. the rest probably will.
21:08.21cr2goxboxlive: can't test suspend right now.
21:08.21cr2it was inactivity lcd suspend
21:08.48goxboxliveok,, but why in two months? Are you going on vacation again?
21:09.34goxboxliveok
21:13.47cr2hmm. the keyboard table is the same.
21:14.34goxboxlivehmm
21:16.19cr2Fn == KEY_RESERVED ?
21:16.41cr2maybe control ?
21:17.16goxboxlivemaybe
21:17.55goxboxliveno FN is not CTRL
21:18.22goxboxliveFN is for the " € symbols
21:18.32goxboxliveCTRL is the one beside the FN key
21:19.30cr2weird. i always things ctrl is the lower left corner.
21:19.31goxboxliveFN is for use to get the special symbols.
21:19.47cr2rightalt is better.
21:19.56goxboxliveok
21:20.18cr2well, it should be remapped according to the national tastes.
21:20.19goxboxliveALT is the one left for the space bar
21:20.25cr2but reserved is bad.
21:20.30goxboxliveok
21:21.51cr2because if i'm not mistaken, Fn will not work now.
21:22.08goxboxliveok
21:23.09goxboxlivethen we will noyt able to make siggns like " < > ' ; : " " and so on
21:25.31cr2ok, the old driver will stay for a while, but i'll remove it from Kconfig
21:25.42cr2i preserved the old key map.
21:26.02cr2will test, if it will work, i'll commit all the changes.
21:26.10goxboxlivegood
21:29.15cr2the changes are huge.
21:29.38lkclare you breaking everything, cr2?
21:29.56cr2now we need to create the tsc2046-ts abstract driver. and fix the power.
21:30.05cr2lkcl: in the htcuniversal tree.
21:30.15lkclexcellent
21:30.32goxboxlivecr2: did it work?
21:30.44cr2<PROTECTED>
21:30.44cr2fs/smbfs/proc.c: In function ‘smb_proc_setattr_unix’:
21:30.45cr2fs/smbfs/proc.c:3110: warning: large integer implicitly truncated to unsigned type
21:30.57cr2i'm compiling
21:31.27*** join/#htc-linux rmoravcik (n=rmoravci@pc-3s0zt5w2e4y0vzmhnrzq3a21zqajzfw.users.student.utc.sk)
21:31.46goxboxliveok
21:32.28cr2this is also 1000 years old message
21:32.31cr2<PROTECTED>
21:32.31cr2drivers/usb/gadget/pxa27x_udc.c: In function ‘pxa27x_ep_alloc_buffer’:
21:32.31cr2drivers/usb/gadget/pxa27x_udc.c:371: warning: ‘virt_to_bus’ is deprecated (declared at include/asm/memory.h:192)
21:40.41cr2ok. console works. composite is of course broken.
21:40.52cr2opie is broekn.
21:41.03goxboxlivecr2 opie is easy
21:41.14cr2don't get the gpio button input device
21:41.21cr2get rid of /dev/input/mice
21:41.33goxboxlivego in to /etc/init.d/opie and change from event1 to event2
21:41.37cr2so, gpio button
21:41.59cr2goxboxlive: it's hardcoded in odevice_htc.cpp
21:42.18goxboxliverealy?
21:42.29*** join/#htc-linux g3gg0__ (n=g3gg0@ppp-82-135-76-116.dynamic.mnet-online.de)
21:42.32cr2yes, this file is fscked anyway.
21:42.43cr2where is the gpio button device ?
21:42.44goxboxliveok
21:43.06goxboxlive/dev/input/eventx?
21:45.39goxboxlivem_hinge.setName( "/dev/input/event1"  this was in odevicae_htc.cpp. It is the hinge
21:45.57cr2yes.
21:46.05cr2ok, it can be fixed later.
21:46.28cr2we have more pressing issues. i'll put the code into CVS.
21:46.55goxboxlivegood, 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.18pH5oh dear, pxa27x_udc definitely needs some love
21:49.09goxboxlivecr2: 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.31cr2goxboxlive: the keyboard does not resume.
21:49.41cr2hmm, anyway.
21:49.54goxboxlivehmm ok
21:52.39cr2usb is broken after the resume too.
21:55.25cr2ok. done.
21:56.24cr2the defconfig should be updated
21:57.17goxboxlivecr2: the usb has never resumes, only acx
21:57.56lkclhermes has a 6mbyte bootloader because it's xxxxing wince.
21:58.17cr2done
21:58.23lkclcr2: there's no resume function in the pxa keyboard driver that's why
21:58.53cr2goxboxlive: it's probably the   general pxa27x_udc probelm.
21:59.00goxboxliveok
21:59.03cr2lkcl: call init again ?
21:59.14lkclque?  whatwhatwhat, cr2?
21:59.57cr2lkcl: i'll have a look at it.
22:00.03lkclokie.
22:00.24lkcloh gawd it's got RIL in it...
22:00.33cr2in the bootloader ?
22:00.51lkclyeh, looks like it.
22:00.57lkcllooks like it's got test routines in it.
22:01.07lkclfor the camera, TI wifi, etc.
22:01.08cr2i think they got lazy and use the wince kernel as a bootloader
22:01.23cr2stripped down.
22:01.25lkclthawte, verisign and microsoft certificates
22:01.45cr2so losers like you don't mess with the botloader :)
22:01.57lkclha ha
22:02.04lkclwell that doesn't stop _total_ replacement :)
22:02.15cr2not really.
22:02.33cr2the phone may refuse to work if the bl certs are not found.
22:02.47lkclhmmm...
22:02.50cr2then you will write your own gsm/umts stack :D
22:03.06lkcljoy!
22:03.22cr2desolder the BB flash, and flash it in the programmer device .
22:03.57cr2universal seems to be the last device where you can really hack.
22:03.58lkclyep!
22:04.06lkclthere's so much _shit_ in this bootloader
22:04.09cr2without soldering things.
22:04.55goxboxlivecr2: It failes compiling
22:05.04cr2goxboxlive: where ?
22:05.13goxboxlivepastebin
22:05.18cr2yes.
22:05.29goxboxlivehttp://pastebin.ca/259960
22:05.38goxboxliveDo you understand, or should i translate
22:06.01goxboxlive"No rule to make target ' arch/arm*************'
22:06.01cr2_buttons.c missing
22:07.13goxboxlivewich needs builtin.o
22:07.21cr2done.
22:07.27goxboxlivegood
22:15.36cr2lkcl: 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.21goxboxlivecr2: My keyboard work in Opie. I just changed the event1 to event2 in /etc/init.d/opie
22:32.49cr2ok.
22:33.04cr2it'm testing the keyboard suspend/resume
22:33.30goxboxliveAnd as you said the FN key doesnt work, and the power button doesnt react
22:34.12goxboxlivesuspend is still not working in opie, even tho I use the suspend icon
22:34.25cr2this is strange.
22:36.19goxboxliveI have a failure mesaage: IRQ handler type missmatch for IRQ 165
22:36.45goxboxliveIt's between usbcore and input asic3_keys
22:38.07cr2165 ? what is the base irq ?
22:38.09cr2asic3
22:38.38goxboxlivethere is just a line between those two i mentian
22:38.41goxboxlivesee your dmesg
22:38.48cr2ok.
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.12cr2Kevin2: 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.23lkclcr2: i'm guessing that the hermes 'bootloader' is in fact the entire os
23:31.06lkclit's got far too much in it to just be a plain bootloader
23:31.54lkcloh - and it's got the name of the haret-sc32442.exe process in it :)
23:33.12cr2how are you dumping it ?
23:34.26lkcland this is a _biiig_ clue: Windows CE Kernel for ARM (Thumb Enabled) Built on Oct 25 2005 at 17:27:50
23:34.48lkcldirect from memory using haret-sc32442.exe
23:34.53lkclto a file
23:36.35cr2with which command ?
23:37.54lkcli forget.  not pd.
23:38.08lkclthe other one.
23:38.34lkclit was _hours_ ago :)
23:40.38cr2don't see anything on your site.
23:42.41*** join/#htc-linux WizMaui (n=WizMaui@62.112.90.179)
23:57.41cr2good night.

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