irclog2html for #htc-linux on 20061210

00:00.20cr2forget tts/0. it is dead long ago.
00:00.22goxboxlivebut i am not using cu now
00:00.29goxboxliveI am using minicom.
00:00.44cr2yes, but try to do chown.
00:01.19cr2strange permissions btw.
00:01.48goxboxlivestill the same
00:02.28cr2does cu work ?
00:02.45goxboxliveyes with uucp as owner
00:02.51cr2dmesg ?
00:03.05goxboxlive<5>htcuniversal configure phone: 0
00:03.05goxboxlive<5>htcuniversal configure phone: 1
00:03.05goxboxlive<4>UMTS_DCD tries=0 of 200
00:03.05goxboxlive<4>BB_READY tries=130 of 200
00:03.05goxboxlive<5>htcuniversal configure phone: 2
00:03.06goxboxlive<5>htcuniversal configure phone: 3
00:03.12cr2ok.
00:04.11cr2hmm.
00:04.33goxboxlivedo you want the minicom yourself and try out?
00:05.35goxboxlivesendt
00:06.19cr2do you have $HOME/minicom.log ?
00:06.20rob_wdamn .. people change those namings too often ..
00:06.58rob_wfirst there was ttyS0 , then i learned about tts/X then i also got to know ttySAX and now i am back again to good old ttyS0 ..
00:07.55goxboxlivecr2: no
00:08.52cr2ttySAX was the first for strongarm.
00:09.25rob_waha .. so is this still acurate ?
00:11.01cr2afaik no.
00:11.14cr2ttyS0 is more convenient
00:11.28rob_whmm i do use it on my compulab kernel as it is 2.6.16 afaik !?!
00:13.07cr2goxboxlive: i don't have the -hh4 opie.
00:14.23rob_wok time for me to leave .. cu cr2 ... maybe one day we could meet up ?
00:14.36*** join/#htc-linux florian (n=fuchs@87.193.38.165)
00:14.46cr2maybe :)
00:14.51cr2good night.
00:46.54BabelOuedcr2: bluetooth is working on BA
00:47.19BabelOuedbut hciattach doesn t accept hciattach /dev/ttyS3 texas 115200
00:49.47*** join/#htc-linux pwr (n=pwr@86.121.147.79)
02:55.01*** join/#htc-linux RoEn_PC (n=roen@p54A670E8.dip.t-dialin.net)
03:10.14*** join/#htc-linux RoEn_PC (n=roen@p54A670E8.dip.t-dialin.net)
03:12.47Kevin2cr2: You need to put 'arm-linux-objdump' in your path (or in the current directory, or in the directory of haretconsole).  This will allow haretconsole to disassemble the instructions while "wi" runs.
06:11.44*** join/#htc-linux JTRipper_ (n=jtripper@p54B1CD67.dip.t-dialin.net)
07:20.00*** join/#htc-linux LunohoD (n=alex@e180086014.adsl.alicedsl.de)
07:34.04*** join/#htc-linux psokolovsky (n=psokolov@237.usernat.ip.net.ua)
07:59.06*** join/#htc-linux asylumed (n=insanity@196.211.28.91)
08:11.14*** join/#htc-linux rob_w (n=bob@p85.212.179.23.tisdip.tiscali.de)
08:11.34*** join/#htc-linux rob__w (n=bob@p85.212.179.23.tisdip.tiscali.de)
09:11.25*** join/#htc-linux goxboxlive (n=goxboxli@9.80-202-160.nextgentel.com)
09:34.46*** join/#htc-linux rob_w (n=bob@p85.212.173.109.tisdip.tiscali.de)
09:52.55*** join/#htc-linux FossiFoo (n=Fossi@e176096109.adsl.alicedsl.de)
10:01.08*** join/#htc-linux asylumed (n=insanity@196.211.116.2)
10:16.50*** join/#htc-linux lkcl (n=lkcl@5ac263ae.bb.sky.com)
10:17.08lkclallo darlins
10:43.17cr2hi lkcl
10:43.21lkclhiya cr2
10:43.27lkclhow are ya?
10:43.47cr2Kevin2: it's not the disassemly that is a problem, but the missing absolute offsets.
10:44.14cr2lkcl: a lot of work wants to be done ;-)
10:44.21lkclhe he
10:44.30lkclby magic?
10:44.35cr2i hope
10:44.44*** join/#htc-linux asylumed (n=insanity@196.211.28.91)
10:45.36goxboxlivegood morning.
10:46.09cr2goxboxlive: have you tried AT+CMUT=0 ?
10:46.09asylumedgoxboxlive: morning
10:46.44goxboxlivecr2: No i haven, i can try it out. What should it do?
10:47.31goxboxliveok, i found it. Mte off
10:54.17goxboxlivecr2: I tried it out now, no response.
10:55.49goxboxliveI have search for some info about the FS loox t830. And i found out that it is not HTC who manufactures the phone, it is Compal. So maybe it is a lot differ to a HTC phone.
10:57.02*** join/#htc-linux TripleDES (n=sergio@89.129.143.241)
10:59.05*** join/#htc-linux BabelOued (n=Fabrice@lun34-2-82-238-28-28.fbx.proxad.net)
11:22.20lkclit's a fujitsu-siemens product.
11:23.26lkclahh look - it's _another_ samsung processor device.
11:26.11lkcl*lol* - look at the photo at the bottom of this:
11:26.13lkclhttp://www.gpspassion.com/forumsen/topic.asp?TOPIC_ID=60925
11:31.00*** join/#htc-linux BabelOued (n=Fabrice@lun34-2-82-238-28-28.fbx.proxad.net)
11:32.20*** join/#htc-linux asylume1 (n=insanity@196.211.28.91)
11:39.39*** join/#htc-linux WizMaui (n=WizMaui@62.112.90.231)
11:47.35*** join/#htc-linux rmoravcik (n=rmoravci@icm1-orange.orange.sk)
11:47.50*** join/#htc-linux rmoravcik (n=rmoravci@icm1-orange.orange.sk)
11:59.17*** join/#htc-linux asylumed (n=insanity@vc-196-207-41-253.3g.vodacom.co.za)
12:01.04cr2<PROTECTED>
12:12.06*** join/#htc-linux RoEn_PC (n=roen@p54A66305.dip.t-dialin.net)
12:18.33*** join/#htc-linux florian__ (n=fuchs@87.193.38.165)
12:19.25*** join/#htc-linux bd2 (n=ufo@89.113.84.151)
12:29.58*** join/#htc-linux rmoravcik (n=rmoravci@icm1-orange.orange.sk)
12:42.42cr2goxboxlive: can you compile the latest kernel and create a new opie image (with minicom) ?
13:52.35*** join/#htc-linux goxboxlive (n=goxboxli@9.80-202-160.nextgentel.com)
14:10.29*** join/#htc-linux psokolovsky (n=psokolov@237.usernat.ip.net.ua)
14:30.26*** join/#htc-linux g3gg0_ (n=g3gg0@ppp-82-135-81-223.dynamic.mnet-online.de)
14:30.41*** join/#htc-linux BabelOued_ (n=Fabrice@lun34-2-82-238-28-28.fbx.proxad.net)
14:30.55Kevin2Hi
14:31.37BabelOued_hi Kevin2
14:34.37Kevin2Hi BabelOued_
14:34.44*** join/#htc-linux TripleDES (n=sergio@89.129.143.241)
14:45.10BabelOued_Kevin2: can you help me with some trace ?
14:55.22*** join/#htc-linux asylumed (n=insanity@vc-196-207-41-253.3g.vodacom.co.za)
15:07.16Kevin2BabelOued_: Sure, what are you trying to trace?
15:07.49BabelOued_i m trying to trace AIC2 on Blueangel
15:08.46BabelOued_i use set trace 0xa940000a and set trace2 0xa940000c
15:08.51Kevin2Okay, I don't think I have that on pxa27x - where is it at?
15:08.53BabelOued_and set tracemask 0xffffff
15:09.01BabelOued_it is very large mask i know
15:09.21Kevin2You can have one trace with a mask, or two traces.  You can't have two traces and a mask.
15:09.22BabelOued_i have a pxa263
15:09.55Kevin2So what happens when you do the trace?
15:10.10BabelOued_i use your console script, very usefull
15:10.17BabelOued_017.400395 80205698: 11d230b0 ldrneh r3, [r2]       # r3=00004042 r2=a9300180
15:10.21BabelOued_017.400398 80205870: e1c230b0 strh   r3, [r2]       # r3=00004046 r2=a9300180
15:10.25BabelOued_017.400402 80205880: e1f231b2 ldrh   r3, [r2, #18]! # r3=00000004 r2=a9300192
15:10.25BabelOued_017.400403 80205888: e1c230b0 strh   r3, [r2]       # r3=00000000 r2=a9300192
15:10.25BabelOued_017.445508 8020b090: e1d130b0 ldrh   r3, [r1]       # r3=00004046 r1=a9300180
15:10.26BabelOued_017.445514 8020b098: e1c130b0 strh   r3, [r1]       # r3=00004042 r1=a9300180
15:10.26BabelOued_01
15:10.44BabelOued_a9300xxx is asic3 base register
15:11.19BabelOued_after this trace i can see some trace about ds1wm
15:11.38Kevin2Did you not want to see asic3 stuff?  What is it you did want to see?
15:13.20BabelOued_i want to see 0x930000a and c register
15:15.14Kevin2set trace 0xa930000a ; set trace2 0xa930000c ; set tracemask 0
15:18.29BabelOued_ok thanks,
15:18.31BabelOued_i try to suspend resume :)
15:21.07asylumedKevin2: What does tracemask do?
15:27.11Kevin2asylumed: Expands the area of memory to watch by using a bitmap mask.  The processor does something like:  if (addr & tracemask == traceaddr & tracemask) cause_interrupt()
15:27.41Kevin2Actually it should be like:  if (addr & ~tracemask == traceaddr & ~tracemask) cause_interrupt()
15:27.42asylumedthx
15:43.44Kevin2psokolovsky: Are you around?  I'm having problems starting GPE with the .19 kernel.  It dies right before it would normaly start X.
15:44.14psokolovskyKevin2, Hi, and ack. Fam0.8.4. appears too old for .19. Angstrom works ok.
15:44.54Kevin2psokolovsky: Okay, thanks.  Can you give me any pointers on how to get that running?
15:45.59psokolovskyKevin2, I build angstrom images from OE.dev myself...
15:46.19psokolovskyKevin2, but for quick try, you can start at http://www.angstrom-distribution.org/unstable/images/
15:51.06*** join/#htc-linux rmoravcik (n=rmoravci@icm1-orange.orange.sk)
15:58.36Kevin2psokolovsky: Hrmm.  The latest unstable image for h2200 just hangs after "Freeing init memory: 84K".
15:58.58Kevin2Do I need any special command-line parameters for Angstrom?
15:59.13psokolovskyKevin2, is your kernel AEABI? ;-) sorry that I didn'y mention that
15:59.18BabelOued_Kevin2: do you compile with eabi ?
15:59.37Kevin2Oh, right - I should have thought of that too.
16:02.52Kevin2Ughh.  It looks like gcc 4.0.2 is too old.
16:03.29BabelOued_Kevin2: http://www.codesourcery.com/gnu_toolchains/arm/download.html
16:05.23Kevin2Thanks, I'm going to build a toolchain.  Any idea if 4.2 is stable enough for use?
16:05.45*** join/#htc-linux RoEn_PC (n=roen@p54A66305.dip.t-dialin.net)
16:07.18Kevin2psokolovsky: Do you use gcc 4.2.0 or 4.1.1?
16:08.39psokolovskyKevin2, for what? angstrom images (incl.) I build with OE, that's gcc4.2 iirc
16:09.28Kevin2Okay, thanks.
16:15.13*** join/#htc-linux Ro_En_PC (n=roen@p54A67474.dip.t-dialin.net)
16:18.20goxboxliveAngstrom build with gcc-4.1.1.
16:19.03goxboxliveI have the same problem with gpe images. When X is about to start it hangs. It happends randomly.
16:21.54goxboxliveThen i login in via a virtual terminal, and tries to restart gpe-dm but the same think happens but now everything freezes.
16:22.11*** join/#htc-linux asylumed (n=insanity@196.211.116.2)
17:38.57Kevin2Ughh.  It still hangs after enabling CONFIG_EABI.
17:53.58*** join/#htc-linux g3gg0__ (n=g3gg0@ppp-88-217-5-102.dynamic.mnet-online.de)
18:04.15BabelOued_hi ahhhh
18:04.25BabelOued_WIFI run on blueangel :)
18:11.44BabelOued_goxboxlive: are you around ?
18:12.40asylumedno freaken way!
18:21.19goxboxlive<BabelOued_> i am around
18:21.35BabelOued_goxboxlive: i va some question about acx
18:22.01goxboxliveok, but dont aslk me about the cource, i have no idea
18:22.05BabelOued_how do you setup a connection ?
18:22.43lkclBabeloued: what does iwconfig wlan0 say?
18:22.51lkclthen run dmesg and what does _that_ say?
18:23.42goxboxliveMy setup is doen in /etc/network/interfaces
18:24.55BabelOued_lkcl : all is here http://pastebin.ca/274407
18:25.10BabelOued_goxboxlive: ok
18:25.13goxboxliveiface home inet static
18:25.13goxboxlive<PROTECTED>
18:25.13goxboxlive<PROTECTED>
18:25.13goxboxlive<PROTECTED>
18:25.13goxboxlive<PROTECTED>
18:25.13goxboxlive<PROTECTED>
18:25.15goxboxlive<PROTECTED>
18:25.17goxboxlive<PROTECTED>
18:25.19goxboxlive<PROTECTED>
18:25.21goxboxlive<PROTECTED>
18:25.23goxboxlive<PROTECTED>
18:25.25lkclBabeloued: it's a standard setup for a debian system.  iwconfig, ifconfig, iwlist wlan0 scanning and other such commands are all your friend.
18:25.25goxboxlive<PROTECTED>
18:25.32BabelOued_lkcl: but i see some error in dmesg
18:26.08goxboxliveThis is one of my connections. I also have a line before all this: iface wlan0 inet static
18:26.09goxboxlive<PROTECTED>
18:26.09goxboxlive<PROTECTED>
18:26.21lkclok do ifconfig wlan0 up
18:26.29lkclthen iwlist wlan0 scan
18:26.37lkclbut run dmesg in between each
18:26.50lkclthe ifconfig wlan0 up will 'activate' the acx.
18:27.14lkclgoboxlive: i didn't bother with all that pre-up and post-down stuff.
18:28.22lkclstrictly speaking, there should be a two-stage powerup/down.  because the rmmod acx is a _bit_ drastic
18:28.22BabelOued_lkcl : i got a pcmcia fail with this command
18:28.45lkclok just type iwconfig
18:29.01lkclthe name of the interface will be obvious
18:29.07BabelOued_wlan0     IEEE 802.11b+  ESSID:"STA1059C7"  Nickname:"acx v0.3.35"
18:29.11BabelOued_<PROTECTED>
18:29.13lkclbut it ahhh there you go.
18:29.15BabelOued_<PROTECTED>
18:29.19BabelOued_<PROTECTED>
18:29.19BabelOued_<PROTECTED>
18:29.19BabelOued_<PROTECTED>
18:29.20BabelOued_<PROTECTED>
18:29.20BabelOued_<PROTECTED>
18:29.20BabelOued_<PROTECTED>
18:29.28goxboxliveWell, it's good to have since the acx is spamming dmesg. So if you unload acx (ifdown wlan0 doesnt help) you get rid of the debuggmessages.
18:29.29lkclok so actually it is up!
18:29.51lkclok so now do iwlist wlan0 scan
18:29.56lkclwhat does _that_ say?
18:29.56goxboxlive<BabelOued_> change the speed to 1Mb/s 22. is unstable.
18:30.26lkclifconfig wlan0 rate 1M
18:30.29lkclor something like that
18:30.36goxboxliveright
18:31.04BabelOued_root@htcblueangel:~$  ifconfig wlan0 rate 1M
18:31.05BabelOued_root@htcblueangel:~$ iwlist wlan0 scan
18:31.05BabelOued_wlan0     Interface doesn't support scanning : Resource temporarily unavailable
18:31.15BabelOued_ok maybe i missed some more gpio :(
18:31.16lkclok.  then it's screwed.
18:31.22lkclyes you did, babeloued.
18:31.28lkclthere are 5.
18:31.38lkclhere's what you need to do, to find them.
18:31.41lkcl1) reboot into wince
18:31.47BabelOued_oh i have PWR1-3 RESET and IRQ
18:31.57lkcl2) examine the BlueangelGPIO page and Blueangel ASIC3 page
18:32.16lkcl3) examine the pxa27xgpio 'dump' page
18:32.29lkcl4) examine the asic3gpio 'dump page
18:32.57lkcl5) look SPECIFICALLY for outputs that are ALREADY set to 1 which have NOT yet had a comment against them which says what they are for.
18:33.37lkclbecause we have been on the blueangel's case for such a stupidly long time, that will actually only be a few I/O outputs that are set to 1 which are left.
18:33.38BabelOued_lkcl: so mayve 5 power pin ?
18:34.05BabelOued_s/mayve/maybe/
18:34.07lkclthere are 5 pins involved: 2 of them are permanently set in wince.  2 of them are additional power.  1 of them is reset.
18:34.36lkclwhen you 'switch off' wireless in wince, it ONLY flips 3 of the pins, leaving the other 2 permanently on.
18:35.20lkcl6) in wince, use pfw 0xNNNNNNNN 1 0x000N0000 to clear the correct GPCR pin to set the output to 0
18:35.21BabelOued_lkcl: can i send you my c file ?
18:35.38*** join/#htc-linux florian (n=fuchs@87.193.38.165)
18:35.54lkclwell, you can - but my brain is fried so don't expect too much, k? :)
18:36.06lkcl^wince^gnu-haret
18:36.31lkcland also in gnu-haret, set the ASIC3s bits to 0
18:38.25lkclunidentified outputs: GPIO12, 17 (also an I. ???) 61, 62, 75 (also an I ???) and it stops at 89.  huh.
18:38.45BabelOued_lkcl: mail sent
18:38.49lkclok
18:39.11BabelOued_lkcl: fiormware is the same as universal ?
18:39.18lkclasic3: GPIOA13 is an output.
18:39.24lkcldon't count on it, BabelOued.
18:39.38lkclyou need to extract the firmware files with TestWM5.exe
18:39.43lkclor some other method.
18:40.01lkclAsic3 C3 is an output, set to 1
18:40.43lkclok i go get my blueangel.
18:41.05BabelOued_ok :)
18:42.02asylumed:)
18:42.38asylumedBabelOued: what file from wince contains the firmware?
18:42.45BabelOued_goxboxlive: i have a bts file for bluetooth more recent... maybe it is for a2dp headset
18:42.52BabelOued_asylumed: it is walngen.bin
18:42.58BabelOued_and radioxx.bin
18:43.36goxboxliveThe bts file is for running bt on 921200
18:44.20BabelOued_goxboxlive: yes i know, i have version TIInit_3_4_27.bts
18:44.31goxboxliveok
18:44.37BabelOued_a2dp need a lot of bandwith :)
18:44.44goxboxliveok
18:46.12lkclwlangen.bin not walngen.bin
18:46.31BabelOued_yes, sorry
18:51.28*** join/#htc-linux skodde (n=skodde@unaffiliated/skodde)
18:53.51lkclok i gotta get some food.
18:54.07lkclBabelOued: can you run a pxa gpio dump and asic3 dump?
18:54.10goxboxliveCan someone hlep me here with gomunicator on angstrom. I start the gomunicator and the gui shows up, everytning is initialized, but then it just dies out
18:54.14lkclwith wifi off
18:54.17goxboxliveHere is the message i get:
18:54.20goxboxlivedbus-marshall-recursive.c(1186) got heredbus_bus_request_name error:
18:54.20goxboxlive(Connection ":1.8" is not allowd to own the service "org.familiar.handhelds.dbus.battery.info.server" due to security policiew in the configuration file)
18:54.20goxboxlivedbus_listen(). started
18:54.20goxboxliveSegmention fault
18:54.54BabelOued_lkcl: ok
18:54.55lkclput them on here:
18:54.58lkclhttp://wiki.xda-developers.com/index.php?pagename=BlueangelPXAdumps
18:55.32lkclplease do put a small note saying what devices are on and what is off when you make the dump.
18:56.17lkcland even _better_, fill in the 0s and 1s on the missing (unknown) entries i mentioned earlier
18:56.24lkclesp. the outputs.
18:56.35lkclbbl
19:00.50*** join/#htc-linux rmoravcik (n=rmoravci@pc-3s0zt5w2e4y0vzmhnrzq3a21zqajzfw.users.student.utc.sk)
19:06.58psokolovskyKevin2, do you have device with ati w100+ chip? ;-)
19:07.12psokolovskyKevin2, how about "dump w100"? ;-)
19:27.06*** join/#htc-linux ellisway (n=ellis@host-87-74-241-174.bulldogdsl.com)
19:34.24*** join/#htc-linux cr2 (n=konversa@crpl22.physik.uni-wuppertal.de)
19:35.04*** join/#htc-linux mind (n=mind@2.81-167-1.customer.lyse.net)
19:35.07goxboxlivehi cr2
19:35.22cr2hi goxboxlive
19:35.25cr2copy_from_slavemem: warning!  destination not word-aligned
19:35.30cr2why is that ?
19:35.52BabelOued_cr2: i don t know :(
19:35.55goxboxlivei dont know. Where do you have that from?
19:36.03cr2blueangel
19:36.22cr2BabelOued_: look into /proc
19:36.51cr2it seems that everything is initialized properly. this is the only problem.
19:37.35cr2it will probably not resume after suspend because of the bugs in blueangel_pcmcia, but it's another issue.
19:37.55BabelOued_cr2: to have it working
19:38.10BabelOued_i only use h4000 version :)
19:38.19BabelOued_modified some gpio only
19:38.25goxboxlivecr2: I have uploaded both GPE and Opie imgages buildt today with minicom. Also latest gomunicator included in gpe.
19:38.30cr2ok.
19:39.03BabelOued_cr2: you want to see firmware into /proc ?
19:39.12cr2BabelOued_: the proper pcmcia and asic3 clocks is necessary anyway.
19:39.40cr2ba firmware is the same as on universal. we have compared md5sums with goxboxlive
19:39.52BabelOued_ok so it's good :)
19:39.58BabelOued_i use your opie image
19:40.36cr2some bugs are inevitable, but it should be our goal to have a common image.
19:41.52cr2<PROTECTED>
19:41.53cr2<PROTECTED>
19:41.53cr2<PROTECTED>
19:42.02cr2looks reasonable
19:42.39cr2can you printk the destination here ?
19:43.10BabelOued_yes i can :)
19:43.26BabelOued_clock is here
19:43.29BabelOued_asic3_set_clock_cdex(&blueangel_asic3.dev, CLOCK_CDEX_EX1, CLOCK_CDEX_EX1);
19:45.42cr2there are others
19:45.56cr2needed
19:46.12BabelOued_which one ?
19:53.45cr2look at hx4700_pcmcia. even there some settings are missing.
19:54.13cr2but i don#t think it's a problem right now.
19:54.29cr2do you boot from wince with wifi on ?
19:56.27BabelOued_cr2: no wifi is off when i boot
20:00.45goxboxlivehmm where is lamikr when you need him
20:03.38cr2:)
20:04.31cr2BabekOued_: boot with wifi on, and printk the unaligned destination addresses.
20:07.24BabelOued_cr2: what is format foru u32 ? is it %x ?
20:07.54cr2%lu or %u
20:08.11cr2it's 32bit cpu, they are the same.
20:08.31BabelOued_ok, i m better with delphi :)
20:10.22BabelOued_ok so ouput is that now
20:10.25BabelOued_<4>acx copy_from_slavemem: warning!  destination not word-aligned!
20:10.30BabelOued_<4>acx copy_from_slavemem: destination < 3353582582 >
20:10.33BabelOued_<4>got sensitivity value 176
20:10.37BabelOued_<4>acx copy_from_slavemem: warning!  destination not word-aligned!
20:10.41BabelOued_<4>acx copy_from_slavemem: destination < 3353582582 >
20:10.45BabelOued_<4>got antenna value 0x8D
20:10.49BabelOued_<4>acx copy_from_slavemem: warning!  destination not word-aligned!
20:10.53BabelOued_<4>acx copy_from_slavemem: destination < 3353582582 >
20:10.54BabelOued_<4>got Energy Detect (ED) threshold 112
20:10.54BabelOued_<4>acx copy_from_slavemem: warning!  destination not word-aligned!
20:10.54BabelOued_<4>acx copy_from_slavemem: destination < 3353582582 >
20:10.54BabelOued_<4>got Channel Clear Assessment (CCA) value 13
20:11.35cr20xc7e39bf6
20:11.52cr2is it possible to disable the 32bit mode ?
20:12.08BabelOued_yes i think, there is a define for that
20:12.21cr2try switching to 16bit
20:12.54cr2the address is 2byte aligned. i'm not sure pcmcia is always capable of 32bit accesses.
20:16.12BabelOued_ok it is in acx_config.h with a good comment :)
20:16.42cr2yes.
20:16.52*** join/#htc-linux jgw_ (n=jgw@c-24-22-48-124.hsd1.or.comcast.net)
20:18.02BabelOued_same warning
20:18.05BabelOued_:(
20:18.14BabelOued_<4>acx copy_from_slavemem: destination < 3354933996 >
20:18.18cr2the warning is ok.
20:18.34cr2because you are not 32bit aligned.
20:19.06cr2does it work ?
20:19.12BabelOued_no :(
20:19.41BabelOued_asylumed  have another idea
20:22.37*** join/#htc-linux rmoravcik (n=rmoravci@pc-3s0zt5w2e4y0vzmhnrzq3a21zqajzfw.users.student.utc.sk)
20:23.30asylumedBabelOued: i don't get the word-aligned error...
20:23.45goxboxlivecr2: Is this a Universal bug or is it gpe? http://pastebin.ca/274569
20:24.04*** join/#htc-linux rmoravcik (n=rmoravci@pc-3s0zt5w2e4y0vzmhnrzq3a21zqajzfw.users.student.utc.sk)
20:24.23cr2BabelOued: using IRQ 40 ?
20:24.37BabelOued_cr2: gpio 17
20:24.59cr2goxboxlive: oops is a kernel error ;)
20:25.38cr2in pxafb_check_var
20:25.40goxboxliveok, it has happen a lot, but i have thought it was gpe
20:26.07cr2goxboxlive: what wifi irq do you have ?
20:26.25goxboxlivedont know, i am not using wifi
20:26.38goxboxliveBut i can check, hold on, have to boot
20:27.25cr2hmm. ok.
20:27.46cr2goxboxlive: now i have understood it.
20:27.56goxboxliveok
20:28.35cr2pxafb_check_var uses old config style, so the bug is in pxafb
20:29.02goxboxliveok
20:30.02cr2the kernel-discuss mailing list is gone crazy.
20:31.56cr2goxboxlive: you should have the epson RTC driver enabled now
20:32.38goxboxliveok, i havent enabled it. I have used your defconfig, just added usbhost
20:33.46cr2i have included it in the defconfig.
20:33.54cr2do you have something in /sys/class/rtc/
20:34.04asylumedcr2: what do you make of http://asylumed.za.net/wlan.txt ?
20:34.31goxboxlivecr2: no nothing
20:35.12cr2Unbalanced enable for IRQ 25 ?
20:35.40asylumedcr2: nah that's the tsc2200 stuff...
20:36.12asylumedcr2: lines like <4>[42949489.170000] wlan0: issue_cmd(cmd:ACX1xx_CMD_CONFIG_PROBE_REQUEST) FAILED
20:37.24goxboxlivecr2: this one is enabled: Philips PCF8563/Epson RTC8564 (RTC_DRV_PCF8563)
20:37.27cr2it may be also an irq problem. the gpio17 is just a guess.
20:37.44cr2goxboxlive: load this module.
20:37.48goxboxliveok
20:38.07cr2asylumed: this does not look good too -> cs: pcmcia_socket0: time out after reset.
20:38.48asylumedcr2: :/
20:39.01goxboxlivehmm i am not using the latest kernel. I am using a older one, so i dont have it in my image. It is in the image i uploaded for you.
20:39.57goxboxliveWhy is this enabled again: SA11x0/PXA2xx (RTC_DRV_SA1100) ?
20:40.13cr2it's a different driver.
20:40.26cr2the other one was in char/
20:40.35cr2compile it as a module.
20:40.59goxboxliveok
20:43.48cr2hmm. gpio17 is referenced
20:44.23cr2but do we configure it properly?
20:46.32cr2yes, gpio17 is the irq.
20:48.42cr2and should be configured as input and FE irq.
20:49.16BabelOued_cr2: do you my code to investigate ?
20:50.07goxboxlivecr2: The /dev/input is fu**ed up.
20:50.14goxboxliveevent0 doesnt react
20:50.32cr2goxboxlive: when ?
20:50.48goxboxliveevent1 and 2 react with the power button
20:51.05goxboxliveand event 3 is like it shpould be
20:51.20goxboxliveSince i did the update now.
20:51.43cr2dmesg ?
20:53.23goxboxlivesays nothing
20:53.58cr2i'll look. post the link.
20:55.14goxboxlive<6>input: htcuniversal_ts as /class/input/input0
20:55.15goxboxlive<7>PM: Adding info for platform:asic3-keys.0
20:55.46goxboxlive<6>input: gpio-keys as /class/input/input1
20:55.46goxboxlive<3>IRQ handler type mismatch for IRQ 165
20:55.46goxboxlive<3>current handler: backlight_button
20:55.46goxboxlive<6>input: asic3-keys as /class/input/input2
20:55.46goxboxlive<6>input: pxa27x-keyboard as /class/input/input3
20:55.47cr2BabelOued_: can you make 'dump gpio' with running wifi ?
20:55.47goxboxlive<6>PXA27x keyboard controller enabled
20:56.32goxboxliveroot@htcuniversal:~$ ls -la /sys/class/rtc/
20:56.32goxboxlivedrwxr-xr-x    2 root     root            0 Dec 10 21:53 .
20:56.33goxboxlivedrwxr-xr-x   27 root     root            0 Dec 10 21:53 ..
20:57.27cr2goxboxlive: modprobe the rtc module ?
20:57.35goxboxliveyes, both
20:57.44goxboxliveModule                  Size  Used by
20:57.44goxboxlivertc_sa1100              8972  0
20:57.44goxboxlivertc_pcf8563             5868  0
20:57.44goxboxlivertc_core                6868  1 rtc_pcf8563
20:58.13cr2hmm.
20:58.32goxboxlive:-) one step forward, two steps backward
20:58.36cr2maybe it is confused ?
20:58.45cr2remove rtc_sa1100
20:58.54goxboxliveme, to. Why isent touchscreen working
20:58.57goxboxliveok
20:59.53goxboxlive<7>PM: Removing info for platform:sa-pxa-rtc
20:59.54goxboxlive<3>Device 'sa-pxa-rtc' does not have a release() function, it is broken and must be fixed.
20:59.54goxboxlive<4>BUG: warning at drivers/base/core.c:103/device_release()
20:59.54goxboxlive<6>SA1100/PXA RTC removed
21:00.09cr2nice.
21:00.16goxboxlive??
21:00.37cr2remove rtc_pcf8563
21:00.43goxboxlivedone
21:02.02cr2modprobe rtc_pcf8563
21:02.24goxboxliveyes
21:02.54goxboxliveroot@htcuniversal:~$ ls -la /sys/class/rtc/
21:02.54goxboxlivedrwxr-xr-x    2 root     root            0 Dec 10 22:03 .
21:02.55goxboxlivedrwxr-xr-x   27 root     root            0 Dec 10 22:03 ..
21:03.35cr2hmm.
21:03.41cr2dmesg ?
21:03.45BabelOued_cr2: http://pastebin.ca/274627
21:04.00goxboxlivedmesg gives me nothing
21:04.24cr2BabelOued_: ok.
21:04.39cr2goxboxlive: where is the new opie image ?
21:05.01goxboxliveat gnulinux.biz
21:05.09goxboxliveohh no, it suspended
21:05.43ralith_Is there any technical difference between the universal model other than kb backlight color?
21:05.55ralith_universal models*
21:05.56goxboxliveno keyboard just a flicker screen. Have to reboot it.
21:06.00cr2BabelOued_: do you see any gpio75 activity ?
21:08.23BabelOued_cr2: yes 6 month ago when i try i see some activity on this gpio
21:08.44goxboxlivehmm now i dont understand a thing. After reusme my touchscreen suddenly work.
21:16.21*** join/#htc-linux cr2 (n=konversa@crpl22.physik.uni-wuppertal.de)
21:22.32cr2goxboxlive: sh: rw: unknown operand
21:23.04cr2this happens at remount. something must be wrong with the script or with the /etc/fstab
21:23.44cr2Welcome to opie is stretched horizontally. is it really a 640x480 image ?
21:23.45goxboxlivetake a look and see if i have added a swap partition at mmcblk0p2?
21:23.59goxboxliveI thought i had removed it
21:25.28goxboxliveNo, i have reomved that
21:26.29goxboxliveMaybe because you miss usbfs mount? It's commented out.
21:26.31cr2you don't enable usb by default.
21:27.04goxboxliveOnly at my own image (i add files). I can enable it in fstab.
21:27.38cr2i can't debug the touchscreen on alpine because of that.
21:28.46goxboxliveWell change it before you boot then.
21:29.00goxboxliveI have added it fstab now.
21:29.17cr2how are they supposed to do that ?
21:29.49cr2no keyboard, touchscreen not working.
21:29.49goxboxliveWell, like i do, change it before you boot.
21:30.17cr2but i can't just point them to gnulinux.biz
21:32.05goxboxliveWell, the images are not made for every devices, you know that. The reason i dont have added usbfs in fstab is beacuse it is not enabled in the htcuniversal_defconifg.
21:32.25goxboxliveSo i thought it wasent ready to use yet.
21:32.35goxboxliveBut, it is enabled now.
21:32.56cr2not usbfs, ifup usb0
21:33.31goxboxliveWell, that is out of OE, has nothing to do whit hacks.
21:33.38cr2i booted now, but there is no rtc module ?
21:35.06goxboxliveNom, i guess not, because of the modules install stuff in OE. It doesnt install othe modules than listed.
21:35.22cr2ok.
21:35.34goxboxliveIf i add it to htcuniversal.conf it will be installed.
21:36.08cr2ok, it's barebones system now.
21:37.04goxboxliveIf you use gcc-eabi-4.1.1 you can make yourself a new kernel and modules. Other gcc versions wouldnt work. Use the one in the cross directory.
21:37.47ralith_Does Universal linux support connecting other USB devices to the phone?
21:38.32goxboxliveNo, it's not a barebone system, the only missing module are the rtc because i havent added it yet. DIdnt know about it before i had made the images.
21:39.20cr2uucp@htcuniversal:/$ minicom
21:39.20cr2minicom: cannot open /dev/ttyS0: Permission denied
21:39.31cr2root@htcuniversal:~$ chown uucp.uucp /dev/ttyS0
21:39.42cr2uucp@htcuniversal:/$ minicom
21:39.42cr2minicom: cannot open /dev/ttyS0: No such file or directory
21:39.43cr2uucp@htcuniversal:/$
21:39.53goxboxliveWhy uucp when running minicom?
21:40.09goxboxliverun it as root
21:40.47cr2great. you have strace
21:41.04cr2open("/dev/ttyS0", O_RDWR|O_NONBLOCK|O_NOCTTY) = ? ERESTARTSYS (To be restarted)
21:44.14goxboxlivedo you get it working?
21:46.40cr2no. maybe the timeout is too short.
21:46.52cr2i also need to replace ^M to \r
21:46.54cr2hmm.
21:48.18cr2it exits too early.
21:48.31goxboxliveok
21:48.38cr2rt_sigaction(SIGALRM, {0x1ec88, [ALRM], SA_RESTART|0x4000000}, {SIG_DFL}, 8) = 0
21:48.39cr2setitimer(ITIMER_REAL, {it_interval={0, 0}, it_value={4, 0}}, {it_interval={0, 0}, it_value={0, 0}}) = 0
21:48.39cr2open("/dev/ttyS0", O_RDWR|O_NONBLOCK|O_NOCTTY) = ? ERESTARTSYS (To be restarted)
21:48.39cr2--- SIGALRM (Alarm clock) @ 0 (0) ---
21:48.39cr2s
21:48.58*** join/#htc-linux pH5 (n=ph5@e178232151.adsl.alicedsl.de)
21:48.59cr2because it takes some time to reset the BB on open()
21:49.40goxboxliveThe same is with gomuncator, so i added a sleep in it, and then it got initialized.
21:53.59cr2the mp3 works with the headset :)
21:54.14goxboxlivei know
21:54.20cr2cool
21:54.31BabelOued_cr2: maybe ad2p soon :)
21:54.32goxboxlive:-)
21:54.40cr2btsco ?
21:54.50goxboxliveit's included.
21:54.58cr2i dont have stereo headset.
21:55.11goxboxliveme neither
21:55.19cr2we need to load the right bts
21:55.40BabelOued_cr2: i have a newer bts file :)
21:56.00cr2can you send it to me ?
21:56.03BabelOued_version 3.4.27
21:56.07BabelOued_yes
21:56.12cr2it's for 6100, btw.
21:56.19cr2we have 6150.
21:56.20goxboxlive<BabelOued_> what is the name of the bts file in wince?
21:56.35BabelOued_it is for 6150
21:56.46BabelOued_i have a ba with a patch for ad2p
21:56.59BabelOued_goxboxlive: the same name
21:57.03goxboxliveok
21:57.04cr2goxboxlive: now i don't understand why the speakers do not work.
21:57.16goxboxlivehow do you see the version number?
21:57.17cr2BabelOued_: but ba has 6100
21:57.57*** join/#htc-linux lamikr (n=chatzill@aragorn.kortex.jyu.fi)
21:58.42cr2goxboxlive: the speakers are powered, it's just the sound not coming through ak4641
21:59.12cr2is there a mixer app ?
21:59.28goxboxlivei know, and the headset is detected as it should. But i remember with .12, we had the same problem before we got it working.
21:59.34goxboxliveyes alsamixer
22:00.04goxboxliveThe same thicks and buzz camed out of the speakers before you solved it.
22:00.08BabelOued_cr2: i have this header in bts file http://pastebin.ca/274692
22:03.20*** join/#htc-linux rmoravcik (n=rmoravci@pc-3s0zt5w2e4y0vzmhnrzq3a21zqajzfw.users.student.utc.sk)
22:03.33cr2BabelOued_: but it's from hermes ??
22:03.36*** join/#htc-linux rmoravcik (n=rmoravci@pc-3s0zt5w2e4y0vzmhnrzq3a21zqajzfw.users.student.utc.sk)
22:04.40BabelOued_goxboxlive: i have sent bts file to you, if you can transfer it to cr2
22:04.54BabelOued_cr2: it come when a install windows 2005 on my ba
22:07.03cr2BabelOued_: interesting.
22:07.06goxboxliveok
22:09.02cr2<5>snd_htcuniversal_audio_set_speaker_power: 1
22:09.02cr2<5>snd_htcuniversal_audio_set_speaker_power: 0
22:09.03cr2<5>snd_htcuniversal_audio_set_speaker_power: 1
22:09.03cr2<5>snd_htcuniversal_audio_set_speaker_power: 0
22:10.08cr2<4>Alignment trap: opieplayer2 (2314) PC=0x40a699bc Instr=0xe5917038 Address=0x000cd38e FSR 0x013
22:10.08cr2<5>snd_htcuniversal_audio_set_speaker_power: 0
22:10.40cr2it must be something i2c command related.
22:10.59goxboxliveok
22:13.08goxboxliveBut cr2, one qustion. WHen it do this: <5>snd_htcuniversal_audio_set_speaker_power: 0 does it set the power or does it shut it off?
22:14.43cr2shut off.
22:15.19goxboxliveok
22:19.22cr2BabelOued_: and you use it on BA ?
22:19.43BabelOued_cr2: yes, it works fine :)
22:20.52BabelOued_eh eh i have same error in opieplayer... lkcl too
22:21.27cr2buggy.
22:23.36cr2ok. it's not like hermes.
22:26.43*** join/#htc-linux lamikr (n=chatzill@aragorn.kortex.jyu.fi)
22:27.24cr2-# Last Updated   : 26-Jul-2005, 10:11:12.11
22:27.24cr2+# Last Updated   : 26-Sep-2005, 15:34:19.80
22:27.44BabelOued_cr2: i got this error <3>IRQ handler type mismatch for IRQ 40
22:28.12cr2do you init it as FE ?
22:29.07*** join/#htc-linux RoEn_PC (n=roen@p54A67474.dip.t-dialin.net)
22:29.26BabelOued_no, i don t thinf, i don't no what it is
22:29.41BabelOued_falling edge ?
22:29.45cr2yes.
22:30.06BabelOued_ok, i do that
22:30.30cr2do it when you powerup the chip.
22:33.09BabelOued_ok, this syntax is correct for gpio irqs ?
22:33.12BabelOued_set_irq_type(GPIO_NR_BLUEANGEL_WLAN_IRQ_N, IRQ_TYPE_EDGE_FALLING);
22:33.57cr2yes.
22:34.19cr2is GPIO_NR_BLUEANGEL_WLAN_IRQ_N = 40 ?
22:34.39BabelOued_no it equal 17
22:34.50BabelOued_i have made a mistake here maybe
22:34.52cr2then it is wrong :)
22:35.17cr2there is some IRQ_GPIO macro.
22:35.41BabelOued_yes i use this macro
22:36.04cr2it must be 40.
22:36.51BabelOued_oh ? but what is 40 value ?
22:40.50cr2set_irq_type(IRQ_GPIO(GPIO_NR_ ...
22:41.25cr2IRQ_GPIO(GPIO_NR_BLUEANGEL_WLAN_IRQ_N)=40
22:41.35BabelOued_ah ok, sorry
22:52.33cr2goxboxlive: it seems to me that i2c/ak4641.c sends the speaker sound to a wrong output.
22:52.49*** join/#htc-linux asylumed (n=insanity@196.211.116.2)
22:58.55lkclgpio 74 to 0 on the blueangel just made the screen go white horizontal lines and totally crash.
22:59.55asylumed:/
23:01.02lkclhow many gpio regs on a pxa 263?  96 or 128?
23:01.16asylumed90?
23:01.44lkcl90, huh?
23:01.45lkclhuh.
23:01.55lkclsure about that?
23:01.59cr285
23:02.26lkcldamn.
23:02.38lkcl*sigh* on to asic3, then.
23:03.01lkcllet's go prod some gpio...
23:05.58cr2gpio38 is the only unknown irq.
23:15.00cr2good night. it will be a hard week ;)
23:15.41BabelOued_good night
23:15.42lkclnight dude
23:25.45lkclB14 is a sound power pin on the blueangel.
23:25.45lkclxxxxing hooray.
23:25.53BabelOued_oohhh
23:27.09lkclthis:
23:27.18lkclHaRET(47)# pd 0x0c000098 4
23:27.18lkcl0c000098 | 28fc68fc                            | .h.(
23:27.18lkclHaRET(48)# pfw 0x0c000084 1 0x28fc28fc
23:27.18lkclHaRET(49)# pd 0x0c000098 4
23:27.18lkcl0c000098 | 28fc28fc
23:27.27lkclthis:
23:27.36lkcl>>> hex(0x68fc & ~0x4000)
23:27.36lkcl'0x28fc'
23:27.43lkcland then played a sound and got this:
23:27.52lkclGPIO112 S 0 1600897
23:27.52lkclGPIO112 S 1 1601080
23:27.52lkclGPIOA15 S 1 ? 1601158
23:27.52lkclGPIOB14 S 1 ? 1601801
23:27.52lkclGPIO29 S 1 1602419
23:27.53lkclGPIOA15 S 0 ? 1602498
23:27.55lkclGPIOB10 S 1 ? 1607144
23:27.57lkclGPIOB11 S 0  1607539
23:27.59lkclGPIOD2 S 0  1607707
23:28.01lkclGPIO3 S 1 1608027
23:28.03lkclGPIOD2 S 1  1608105
23:28.05lkclGPIO3 S 0 1608272
23:28.07lkclGPIOD2 S 0  1608357
23:28.09lkclGPIOD2 S 1  1608602
23:28.11lkclGPIOB10 S 0 ? 1609072
23:28.13lkclGPIOB11 S 1  1609317
23:28.17lkclGPIOD2 S 0  1609637
23:28.19lkclGPIO3 S 1 1609958
23:28.21lkclGPIOD2 S 1  1610036
23:28.23lkclGPIO3 S 0 1610579
23:28.25lkclGPIOD2 S 0  1610658
23:28.27lkclGPIOD2 S 1  1611353
23:28.49BabelOued_D2 is owm irq
23:29.14lkcl29 is i2s.  B10 is charger.   B11 is listed as 'display power for 0x5 boardid ba?'
23:29.36lkclok - B10 is _listed_ as charger
23:30.18lkclwhat's the owm again?
23:30.37BabelOued_owm is ds1wm one wire bus
23:31.41lkcloh ok.
23:32.07BabelOued_i think it is the good gpio
23:32.11lkclwell i just totally screwed sound up by setting that B14.
23:32.53lkcloops the cradle is a bit wobbly, which is why the charger IRQs keep coming on
23:42.48BabelOued_grhhh
23:42.59BabelOued_always same message
23:43.02BabelOued_<3>IRQ handler type mismatch for IRQ 40
23:44.35lkclnope - i screwed up.  i thought it was A14.  and we already know it's B14.
23:46.32lkcl<PROTECTED>
23:46.33lkcl<PROTECTED>
23:46.33lkcl<PROTECTED>
23:46.33lkcl<PROTECTED>
23:46.56lkclBabelOued: apparently, you're trying to share an IRQ
23:47.38BabelOued_ah, i ve set irq gpio 17 for pcmcia, and same for acx
23:47.46BabelOued_maube it is that
23:48.02lkcland the only reason it got spotted is because you tried to set different flags.
23:49.13BabelOued_it is strange to have irq sharing :(
23:49.40lkclok well check out irq 85 because that one goes mad when i use haret over wifi
23:49.55lkclok what device is this you're checking, again?
23:50.04lkclblueangel, right?
23:50.08BabelOued_yes
23:50.30*** part/#htc-linux RoEn_PC (n=roen@p54A67474.dip.t-dialin.net)
23:50.35lkclok, well let's create a log file with log 'wa.txt' and wasic3gpio 10 and run that when wifi is off.
23:51.00lkclo hell you'll have to do it
23:51.19lkclneed an sdcard reader and it's somewhere in the house after i got back from holland
23:51.43lkclo i know... i think....
23:53.44lkclok 85 goes bananas when i touch the screen
23:55.18lkcland why does 112 reliably go up/down??? i thought pxa263s were only supposed to have 86 gpios????  why the heck is 112 _definitely_ changing - and reliably changing???
23:55.50BabelOued_i ve same 112 when i touch the screen
23:56.18lkclah.  112-96 equals 16.
23:56.51BabelOued_why 96 ?
23:56.57lkclit's a wrap-around.  it's a memory-mapped shadow thing of registers 0-13
23:57.18lkclregisters 0-31
23:57.19lkclsorry
23:57.48lkcl0-31 are shadowed-memory-mapped at the location we normally associate with 96-127 on pxa27x processors.
23:58.46lkclso yes it changes but so should 16.  it's odd that 16 doesn't get noticed by wasic3gpio...
23:59.37lkcli start to have that horrible sinking feeling...
23:59.40BabelOued_we must set IRQF_SHARED to tsc2200 to avoid error at startup
23:59.46*** join/#htc-linux BoSJo (n=BoSJo@105.84-48-112.nextgentel.com)

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