irclog2html for #htc-linux on 20100117

00:00.05tmztrpc user driver
00:00.24cr2ok
00:00.27tmztmust be linked to fd
00:00.39tmztso that userspace can select bthe events
00:01.00phhhttp://husson.hd.free.fr/dm.6
00:01.00cr2ok
00:01.11cr2canyou dump the packet in E/RPC ?
00:01.26phhnot as easily but yes
00:02.00cr2end sigkill to 1472 (ndroid.calendar), adj 14, size 4341
00:02.02cr2lol
00:02.46cr23100005b 00000000 0000000f
00:02.48cr2aha
00:03.25cr2a970bdc1 003c18c8 00000004 00000009
00:03.27phhcr2: should I expect 3000005b and 3100005b have the same version ?
00:03.45cr2don't know
00:03.56cr2but it's your server, you register it
00:04.08cr2and rpcrouter tells arm9 about it
00:04.20phhthe problem is that the messages are supposed to go to libgps.so.
00:04.28cr2arm9 must get and honor this data
00:04.55cr2without g1 rpc fifo dump you will never know
00:05.13cr2i think GNUtoo made the gps smem dump for me.
00:05.21cr2hm.. where did it disappear...
00:05.31phhI might ask ida.
00:05.46cr2ok
00:06.36tmztuserspace has to be registering the callback to get called
00:07.18cr2i should grep my RPC fifo logs for 3100005b messages
00:07.28phhcr2: how can I see the calls to svc_register function in IDA ?
00:09.31cr2alt-t ?
00:09.33herpez|awaywell, i see that today is a day full of work for you guys!!! are you worki at something specific? (yes, i can read the logs, but i cant understand them ;) )
00:09.53cr2herpez|away: started with cam, and moved to gps ;)
00:09.58phhseems to work thanks
00:10.07phhherpez|away: and I tried 3D earlier
00:10.10phhso nothing specific at all :p
00:10.27cr2svc with plugger, and svc with proxy. wince is strange
00:10.44phhexpected version = 0x728B7ED4 for 0x31000001d
00:10.45herpez|awaywhen you talked about NAND, the goal is to to run android from internal memory?
00:11.10phhherpez|away: yes
00:11.21herpez|awayok, no more questions :)
00:11.26cr22 is plugger,, 13 is proxy
00:12.00phhcr2: how vbus detection doesn't seem stupid btw.
00:12.06phhwell it detects vbus when it's here
00:12.12phh(I don't know for the opposite yet :D)
00:12.23cr2phh: ?
00:12.40cr21d is plugger
00:12.54phhcr2: I putted your vbus detection with readl()
00:12.56phhand it seems to work.
00:13.01cr2lol
00:13.11phhyou already knew that for a fact. ok.
00:13.37cr2it is in the wiki for a year :D
00:13.40phharf
00:14.17cr2+0xfc00c   Vbus, usb/ac charging?
00:14.41cr2usb/ac charging?  should go away
00:15.17cr2however it's certainly linked to vbus :)
00:15.40tmztvbus without handshake is ac
00:15.43cr2phh: it shouldbe checked for rhod/top
00:15.46tmztor at least 1A
00:15.49phhcr2: and cdma ?
00:16.15cr2tmzt: i think it's reported by pmic, and arm9 puts it into smem
00:16.28cr2phh: need to ask MrPippy
00:16.35cr2phh: but i think it is.
00:16.36tmztrhod400/500?
00:16.42phhok
00:16.59cr2tmzt: start the MemorMap wiki page for it.
00:17.03MrPippyhmm?
00:17.18tmztcan't do wiki on phone
00:17.23cr2MrPippy: can you check the smem location for vbus ?
00:17.33cr2tmzt: lol
00:17.40tmztactually don't understand your wiki too well
00:17.46tmztwhat should be different
00:17.49cr2tmzt: nc10 is 1024x600
00:18.02MrPippyis haret or linux easier for that?
00:18.10tmztif I can forward the port back through putty I think I can check it
00:18.14phhMrPippy: linux :p
00:18.16tmztcr2: is it via?
00:18.35tmztnc20 can boot an external bios chip from lpc bus
00:18.48cr2MrPippy: phh can commit the pqatch, and you can test it in linux
00:18.55cr2tmzt: nc10 ?
00:19.10tmztnot sure, you could ask in #coreboot
00:19.22tmzt(linuxbios)
00:19.23cr200:00.0 Host bridge: Intel Corporation Mobile 945GME Express Memory Controller Hub (rev 03)
00:19.25cr200:02.0 VGA compatible controller: Intel Corporation Mobile 945GME Express Integrated Graphics Controller (rev 03)
00:19.26cr200:02.1 Display controller: Intel Corporation Mobile 945GM/GMS/GME, 943/940GML Express Integrated Graphics Controller (rev 03)
00:19.28cr200:1b.0 Audio device: Intel Corporation 82801G (ICH7 Family) High Definition Audio Controller (rev 02)
00:19.35phhcr2: not now.
00:19.35tmztoh
00:19.40phhmy tree is broken because of gps
00:19.41tmztguess not
00:20.03cr2tmzt: and
00:20.07cr200:1f.3 SMBus: Intel Corporation 82801G (ICH7 Family) SMBus Controller (rev 02)
00:20.08cr202:00.0 Ethernet controller: Atheros Communications Inc. AR5001 Wireless Network Adapter (rev 01)
00:20.10cr203:00.0 Ethernet controller: Marvell Technology Group Ltd. 88E8040 PCI-E Fast Ethernet Controller (rev 13)
00:20.16cr2tmzt: everything works
00:20.22tmztbut ich7 is becoming reality for them
00:20.27tmztin linux?
00:20.30tmztyou mean
00:20.35phhMrPippy: http://husson.hd.free.fr/0001-Better-vbus-detection.patch
00:20.41cr2tmzt: yes. and usb
00:20.45cr2Bus 001 Device 004: ID 0bb4:0303 High Tech Computer Corp.
00:20.46cr2Bus 001 Device 003: ID 0ac8:c326 Z-Star Microelectronics Corp.
00:20.48cr2Bus 001 Device 002: ID 04e8:6773 Samsung Electronics Co., Ltd
00:20.56phhMrPippy: push it if it works
00:21.03cr2raph100, cam and umts modem
00:21.08tmztyep
00:21.12cr2phh: it's 1 line patch ?
00:21.16phhyes
00:21.18tmztar5k?
00:21.19cr2ok
00:21.21phhcr2: I know it can be done better.
00:21.27cr2tmzt: wifi
00:21.47tmztyeah I know
00:21.52tmztar5k driver works?
00:22.01cr2phh: there is something in the usb code too
00:22.09cr2tmzt: wifi ? yes
00:22.11phhcr2: uh ?
00:22.20cr2phh: that uses vbus
00:22.35phhcr2: in htc_battery_smem there is a msm_hsusb_set_vbus
00:22.39phhis that what you're talking about ?
00:22.49tmztis that real now or still fake vbus?
00:22.58phhreal
00:23.06tmztgood
00:23.08cr2tmzt: vbus reported by pmic
00:23.16cr2i guess it's "real"
00:23.17tmztso if it changes hsusb gets updated?
00:23.27tmztyeah, there's a comment to fix that function
00:23.39tmztfrom Google I think
00:23.47cr2yes, somewhere in the code
00:24.09phhok. last try before bed now.
00:24.13cr2maybe it's the same even on leo
00:24.45cr2phh: let's finish the cam tomorrow morning
00:24.59phhok :D
00:26.27phhbtw, is it me or the set_time_gps thing sounds stupid ?
00:26.36phhI mean, we get the date from the modem ...
00:26.47phhmost of the time.
00:26.54cr2phh: it helps gps
00:27.06phhI know but modem already got date with GSM or UMTS
00:27.12cr2time from modem is from network.
00:27.23cr2nd it's not always available
00:27.28cr2as a gsm service
00:28.51cr25b is plugger
00:29.09phhgrr I can't get divert working
00:29.19phhread divert
00:29.31phhanyway. time to sleep.
00:32.03cr2good night
00:47.15*** part/#htc-linux DarkMasterHalo (n=DarkMast@modemcable187.118-80-70.mc.videotron.ca)
00:53.49*** part/#htc-linux we350z (n=bkusnir@adsl-99-8-225-30.dsl.pltn13.sbcglobal.net)
00:55.04*** join/#htc-linux Traveler0 (n=traveler@cpe-066-057-232-249.nc.res.rr.com)
00:58.28*** join/#htc-linux TheMuffinMan (n=themuffi@ool-4575b0a0.dyn.optonline.net)
01:01.42*** join/#htc-linux Kevin2 (n=Kevin2@207-172-165-101.s101.tnt1.nywnj.ny.dialup.rcn.com)
01:55.16*** join/#htc-linux swc|666 (n=infidel2@unaffiliated/swc666/x-4934821)
01:59.28*** join/#htc-linux ALoGeNo (n=alogeno@unaffiliated/alogeno)
02:08.58*** join/#htc-linux x29a_ (n=x29a@unaffiliated/x29a)
02:10.44*** join/#htc-linux sse2 (n=sse2@41.104.111.48)
02:14.45*** join/#htc-linux droid001 (n=g1@p4FDCA526.dip.t-dialin.net)
02:14.55*** join/#htc-linux ali1234 (n=al@s15238489.onlinehome-server.info)
02:23.40*** join/#htc-linux zolikaHUN (n=zolikaHU@dsl51B6CEEF.pool.t-online.hu)
02:23.58zolikaHUNEnter text here...ha
02:24.02zolikaHUNhi
02:24.05*** join/#htc-linux kam187 (n=kam187@81-179-8-102.dsl.pipex.com)
02:24.16zolikaHUNmagyar vagy?
02:24.33zolikaHUNare you here?
02:25.30tmztlooking for somebody?
02:25.56zolikaHUNhey
02:26.03zolikaHUNi'm here
02:27.16zolikaHUNhave you hot htc pda?
02:27.44zolikaHUNg
02:28.55zolikaHUNi have a htc touch diamond with win os, but i would like to change it for linux os
02:48.50*** join/#htc-linux bartman` (n=bart@tau.jukie.net)
02:50.20*** join/#htc-linux bartman` (n=bart@tau.jukie.net)
04:13.26*** join/#htc-linux ali12341 (n=al@s15238489.onlinehome-server.info)
04:26.24*** join/#htc-linux zycho_ (n=zycho@hnvr-4d078086.pool.mediaWays.net)
04:26.36kupodamn i wish i would have talked to we350z earlier
04:43.55AstainHellbringNetRipper you around?>
05:18.33*** join/#htc-linux droid0011 (n=g1@p4FDCB496.dip.t-dialin.net)
06:05.43*** join/#htc-linux jumoit (n=samuel@121.77.87.145)
06:36.31tmztAstainHellbring: he's on nexus tree I think
06:36.58tmztnot pushed anywhere yet I think
06:39.25*** part/#htc-linux jumoit (n=samuel@121.77.87.145)
06:46.00*** join/#htc-linux randomblame (n=kevin@c-71-59-184-96.hsd1.wa.comcast.net)
06:46.23randomblameanyone on?
06:47.12tmztyeah
06:47.24randomblamehow's it going?
06:47.50tmztok
06:48.00randomblameI just got a waterdamaged incite in the mail free
06:48.11randomblameI'm playing frankenstein with the parts
06:48.21randomblamecan't identify the lcd though bah
06:50.30randomblameI'm thinking of soldering it up to a serial cable and writing a driver for it on the pc
06:51.30tmztnot that kind of lcd
06:52.08randomblamewhy not, if you supply the right voltage and the right signal to the proper pins it will display output
06:52.51tmzthow many pins?
06:52.59tmztyour serial can drive on tx
06:53.13tmzteven parallel is too slow
06:53.18randomblame24, only 8 are for signal the rest are power and ground
06:53.26tmzthmm, mddi?
06:53.29randomblameyes
06:53.49tmztyou need a high speed serial link like sata
06:54.13randomblamebah that would be way too much work
06:54.40tmztessentially impossible
06:55.11randomblameyeah, I want to get the fb working
06:55.31randomblamebut I'm tired of working the problem
06:55.45tmztjust get jtag working
06:55.49tmztmuch more useful
06:55.57randomblameyeah we have a jtag port
06:56.16tmztcool
06:56.26randomblameI don't really want to solder on my phone though
06:56.37randomblamethose are some tiny tiny points
06:56.47tmztI thought the phone was broken
06:57.09randomblamethat phone is broken, what good is jtagging to a dead phone though
06:58.35randomblameI'm sure there is a connector somewhere out there that will click right onto this jtag port
06:58.45randomblameI just don't know where to start looking
07:00.59randomblameI think the panel driver is the only thing keeping us from a real working frame buffer
07:01.27randomblameand I think I know exactly what lcd this is
07:01.36randomblamebut I can't get the whitepaper for it
07:02.29randomblamesamsung: S6D04
07:03.27tmztoh
07:03.47tmztyou could maybe let a device drive it mddi and talk to it for lcm init
07:03.53tmztbut I don't think so
07:04.02tmztbecause mddi chip should be in lcm
07:07.33randomblameis mddi just a direct memory link
07:09.10*** join/#htc-linux makkonen (n=makkonen@cpe-66-69-229-9.austin.res.rr.com)
07:09.43tmztno, it's a serial link driven by dma
07:10.12randomblamethats what I meant
07:10.43tmzthigh speed
07:14.51randomblamesamsung has me irritated
07:15.17randomblameI requested the white paper from them and they refused to give it to me
07:15.24tmztyeah
07:15.27tmztthey can't
07:15.38tmztbut qualcomm.com has some information
07:15.54tmztjust don't init it, use the nop version
07:16.04tmztassuming you boot from ce
07:16.15randomblameno I meant the lcd whitepaper
07:17.07randomblameI'd rather have straight ce than winmo
07:17.37randomblamemayhaps I'll find a way to cook a rom like that one of these days
07:17.52*** join/#htc-linux rashire (n=ed1112wa@pool-98-114-205-192.phlapa.fios.verizon.net)
07:18.11*** join/#htc-linux marcin_ (n=marcin@chello089077185059.chello.pl)
07:35.40*** join/#htc-linux Bry8Star_ (n=Bry8Star@adsl-99-32-1-4.dsl.lsan03.sbcglobal.net)
07:39.42*** join/#htc-linux Bry8Star__ (n=Bry8Star@adsl-99-48-209-136.dsl.lsan03.sbcglobal.net)
07:56.22randomblameis there any way to query the lcd id
07:57.00randomblameso I could write a quick patch to the panel driver to not kill itself when it detects it
07:59.57*** part/#htc-linux Psychonerd (n=Casey@67.143.1.240)
08:27.24*** join/#htc-linux ALoGeNo (n=alogeno@unaffiliated/alogeno)
08:28.15*** join/#htc-linux MSM (n=michael@222-155-71-177.jetstream.xtra.co.nz)
08:40.17randomblamehow was this information found for diamond
08:40.19randomblame.product_id = (0xd263 << 16 | 0),
08:40.20randomblame.name = "TC358720XBG",
08:40.20randomblame.id = 0,
08:40.20randomblame.client_data = &toshiba_client_data,
08:40.22randomblame.clk_rate = 0,
08:40.42randomblameproduct_id especially
08:55.03*** part/#htc-linux MSM (n=michael@222-155-71-177.jetstream.xtra.co.nz)
09:00.48*** join/#htc-linux leobaillard (n=leobaill@leobaillard.org)
09:11.00*** join/#htc-linux kiozen (n=oeichler@rgnb-5d879ec5.pool.mediaWays.net)
09:18.12*** join/#htc-linux cr2 (n=cr2@ip-109-85-35-207.web.vodafone.de)
09:19.53phhhi cr2
09:29.25randomblameis there somewhere in the code to manually enter your frame buffer memory address?
09:29.55phhrandomblame: htc_fb_console ?
09:30.05randomblamethats the console fb
09:30.27randomblameI want to make the fully featured frame buffer work
09:30.28phhwhich framebuffer then ?
09:30.44phhhum it depends
09:30.50phhon htc-msm-2.6.27 it's done in pmem.c
09:31.02randomblamethats the kernel I'm working off
09:31.55*** join/#htc-linux toi (n=toi@d54C2A96D.access.telenet.be)
09:32.17randomblamebut I don't see that file
09:32.29phharch/arm/mach-msm/pmem.c
09:33.06randomblamenope
09:33.15randomblamenot there
09:34.52randomblamepm.c?
09:35.58phhno pmem.c
09:36.02phhrandomblame: you're using linuxtogo ?
09:36.34phhif you want to use linuxtogo (but I think you don't.), it's in the board-blabla.h
09:36.37randomblameI found pmem.c under drivers/misc/pmem.c
09:36.44phhno it's not that.
09:36.58phhit's arch/arm/mach-msm/pmem.c
09:37.05phhbut it's only in the gitorious htc-msm-2.6.27 tree
09:37.27randomblamewell then I don't have it haha
09:37.56randomblameshould I be working off a different git
09:38.22randomblameyes I think it's a linuxtogo git
09:38.36phhthe one that is the most commonly used now is http://gitorious.org/linux-on-qualcomm-s-msm/linux-msm
09:39.15randomblameI'll try that one out
09:39.36randomblameif it depends less on these damned panel drivers
09:39.43randomblamethen it's worth every second of the download
09:39.52phhframebufffer address is in pmem.c for this one
09:39.57randomblameawesome
09:40.15randomblameI'll bet that will fix it
09:40.33phhI can't see how
09:40.41phhframebuffer address can be whereever you want
09:41.09randomblamethe physical address?
09:41.14phhyes
09:41.37randomblamethen why doesn't it work when I change it in htc_fb_console
09:41.43randomblameit must be a specific value
09:41.59phhhtc_fb_console uses wince's framebuffer settings
09:42.03phhit does no init at all
09:42.20phhmsm_fb does the init and tell the mdp where is the fb
09:42.58randomblamewell setting the framebuffer size would make a difference right
09:43.18phhyes
09:43.23randomblamegood
09:43.56randomblameis that also in pmem.c
09:44.02phhyes
09:45.01randomblamewith my current kernel build htc_fb console works up until enabling smd
09:45.17phhwhich board ?
09:45.26randomblamelg incite
09:45.33phhah.
09:45.36phhyou know which amss is that ?
09:45.47randomblameamss?
09:45.54phhradio protocol
09:46.08randomblamegsm
09:46.11phh....;;
09:46.37phhat winmo's startup you have in bottom right three numbers
09:46.39phhit's the 2° one
09:47.45randomblameat winmos startup I have no numbers in bottom right :D
09:48.01phhbah ...
09:48.10phhrandomblame: it's a copy of which device ?
09:48.59randomblameI'm not understanding
09:49.07phhit's not an htc-made device ?
09:49.17randomblameno
09:49.22phhah.
09:49.27randomblamethats why I said lg incite
09:49.28randomblamelg
09:49.34phhyers and ?
09:49.38phhthat doesn't mean lg made it /o\
09:49.41randomblamelol
09:49.44randomblametrue enough
09:50.05randomblameI have one apart in front of me, maybe I should compare it to some naked htc pictures
09:50.15phhAFAIK radio are different per constructor (even for the same constructor...), so you'll have to RE it by yourself ...
09:50.33randomblameI'm not too worried about the radio
09:50.42phhlol
09:50.44phhradio does everything
09:51.03randomblameyou mean the arm9 that's built into the msm7201a
09:51.07phhyes
09:51.26randomblamethat should be set up just like every other arm9 in every other msm7200a and 7201a
09:51.38phhlol
09:51.41phhthey are all different
09:51.47phhand I know only HTC devices
09:52.58randomblameit detects that it has crashed as soon as smd is enabled which panics the kernel
09:53.06randomblamepain in the ass
09:53.13phhrandomblame: smd is radio-dependant.
09:53.20randomblameI know
09:53.27randomblamesmd is communication to the arm9
09:53.33phhif it's not an HTC AMSS, you have to RE smd by yourself
09:53.38phhis *one* way to communicate with arm9
09:53.42phhthere are several others.
09:53.47randomblamereallllly
09:53.54phhcr2: so for camera, how are muxed the gpio ?
09:54.02randomblamecould I use one of the others to find the reason it crashes?
09:54.15phhno, ARM9 never says why it crashes.
09:54.31randomblamearm9 is a whore
09:54.38phhrandomblame: when has this device been released ?
09:54.51phhcr2: meaning what do I have to do ? :D
09:54.53randomblamea year or two ago
09:55.02phhrandomblame: it's a 7201a ?
09:55.08randomblameyes sir
09:55.18phhtry 5200 AMSS then
09:56.14randomblamewhere do I set that
09:56.21randomblamedefconfig
09:57.09randomblameyes
09:57.18*** join/#htc-linux onen|openBmap (n=quassel@vbo91-1-89-87-201-85.dsl.club-internet.fr)
09:58.01phhrandomblame: which mtype are you using ?
09:58.09phhwhat memory layout do you have ?
09:58.43randomblameamss is set to 5200 already in my defconfig
09:58.50randomblamemtype is diamond lol
09:58.51phhit's not in defconfig
09:59.05phhrandomblame: you have 64MB SMI ?!?
09:59.48randomblamesmi?
10:00.01randomblamecaptain hooks assistant?
10:00.01phhpff you seriously know nothing about your board ...
10:00.06randomblamelol
10:00.09randomblame76mb
10:00.16phhwhat 76mb ?
10:00.27randomblameusable memory
10:00.28phhrandomblame: how much memory LG assert your device has ?
10:00.55randomblamethey assert it is 128mb
10:00.57randomblamethey lie
10:01.23phhwhy do you say that ?
10:01.45phhcan you dump 0x0 physical address with haret ?
10:02.19randomblamesure
10:02.29phhI mean, does it work
10:02.31phhI don't care about the result
10:02.41randomblamelet me check
10:04.01*** join/#htc-linux mrmoku|away (n=mrmoku@ppp-188-174-7-126.dynamic.mnet-online.de)
10:05.09randomblameyes
10:05.15phhok so it's not 128MB
10:05.35phhcan you dump 0x02000000 ?
10:05.46phhand 0x20000000 ?
10:08.39phhif you can for both, then read the dump files and see wether it's random data or 0x00/0xff
10:10.58phhrandomblame: ?
10:11.13randomblamesorry my son was yelling at me
10:11.20phhyell looder
10:11.35randomblamelol he's 5months old he wins the loudness contest
10:11.39phhah.
10:11.42*** join/#htc-linux Bry8Star_ (n=Bry8Star@adsl-99-182-76-24.dsl.lsan03.sbcglobal.net)
10:13.29randomblameomg ok to dump a memory location with haret console you type?
10:13.39randomblamebecause I'm not happy with these odd results
10:14.19phhwhat is the result ?
10:14.21phhshort write ?
10:14.58phhthe command is something like pd address size iirc
10:15.22phhwell I use pwf
10:16.33randomblameshort write for 0x02000000
10:17.13phhand what about the second one ?
10:17.49randomblamethe second does nothing
10:17.58phh?
10:18.04phhwhat does that mean ?
10:18.04randomblameseems to have crashed haret console
10:18.11phhuh ?
10:18.22randomblameor it's still writing
10:18.42phhwhich size did you use ?
10:18.47randomblame10000
10:19.18phhit should be instant //
10:20.07randomblameI see the phone crashed
10:20.08phhmaybe try with 0x20010000
10:20.28phhanyway it sounds like you have 128MB EBI+32MB SMI
10:21.53phhso diamond's pmem won't work
10:22.56phhrandomblame: I don't remember how linuxtogo's tree was, but if you use gitorious, edit pmem.c and force the tuse of 128EBI+32SMI layout
10:23.07randomblameok
10:23.13randomblameI'm looking through it now
10:24.30*** join/#htc-linux Squarc (n=Squarc@82-217-32-29.cable.quicknet.nl)
10:29.16phhcr2: wake up ! :p
10:31.06chamonixhey guys
10:31.07phhrandomblame: don't forget to edit the board file to the corresponding available ram
10:31.09phhhey chamonix
10:31.18chamonixhey phh
10:31.32phhchamonix: if you want camera, help me waking up cr2 :p
10:31.38chamonixlol
10:32.39randomblamewow htc fb console is much different on this branch
10:32.47chamonixphh: if you look into locale you will love ASE, it's a scripting platform
10:32.52phhrandomblame: way cleaner you mean.
10:32.59phhchamonix: uh ?
10:33.03phhanother day maybe :p
10:33.29chamonixlocale is the app that will allow you to control e.g. your profiles depending on loc/time/name-it
10:33.34phhI know
10:33.39phhis it yours ?
10:34.06chamonixnah, I'm writing a tool like that but it's not that advanced yet
10:34.09phhok
10:34.47chamonixbut now that loc works I've a motivation to keep working ;)
10:34.55phh:)
10:35.03phhI'm still playing with GPS.
10:35.08chamonixdiving into pm this week tho
10:35.18*** join/#htc-linux ICEMANno1 (n=ICEMANno@ip-109-90-220-39.unitymediagroup.de)
10:35.55chamonixI remember you saying something about WLAN being always powered at a minimum... is that correct and how can I avoid that?
10:36.14phhno longer true
10:36.24chamonixok
10:36.24phhwell unless you start it
10:36.32chamonixsure
10:36.35phh(meaning once it's activated you can't disactivate it)
10:37.21chamonixok, so I don't have to bother about that for now.... I'm trying to get hands on whatever part I'll be looking at
10:37.36phhI have no clue what eats battery now
10:37.54chamonixlol, me neither, that's y I want to scratch the surface
10:37.57*** join/#htc-linux kvaster (n=kvaster@93.84.112.82)
10:38.26phhI'd bet there is just one little thing eating the greatest part
10:38.28phhbut I can't see what
10:38.36phhmaybe microp ?
10:38.43phhor navi pad
10:39.14phhhum it won't consumes 75mA
10:39.35phh(75mA is a hand-made approximation of the consumption considering battery life.)
10:41.02randomblamethis is all much cleaner
10:41.04randomblameI like it
10:41.04chamonixwell I'll try approaching that from logs... looking at how long phone sleeps, what waked it up etc.
10:41.18phhrandomblame: that's the idea.
10:41.28phhchamonix: it's not arm11 the problem now
10:41.41phharm11 is awake <2minutes/10hours
10:42.59chamonixwell I want to be sure about that.... it may be my settings/software but I've seen many "sleeping for" < 200s in my last log and I feel that's not optimal
10:43.15phheven if it's not optimal it's not the greatest drain
10:43.28phhagain we have > 50mA of drain
10:43.52*** join/#htc-linux randomblame (n=kevin@c-71-59-184-96.hsd1.wa.comcast.net)
10:43.59randomblamevirtual box is evil
10:47.59*** join/#htc-linux emwe (n=michael@86.56.50.180)
10:48.39phhchamonix: any clue why multi-bytes characters doesn't work in SMSes ?
10:52.58chamonixummmm, no except it's maybe restricted to utf-8
10:53.22*** join/#htc-linux c2d (n=Mike@port-92-200-10-104.dynamic.qsc.de)
10:53.28*** part/#htc-linux c2d (n=Mike@port-92-200-10-104.dynamic.qsc.de)
10:54.27chamonixShort messages can be encoded using a variety of alphabets: the default GSM 7-bit alphabet (see GSM 03.38 for details), the 8-bit data alphabet, and the 16-bit UTF-16 alphabet.[29] Depending on which alphabet the subscriber has configured in the handset, this leads to the maximum individual Short Message sizes of 160 7-bit characters, 140 8-bit characters, or 70 16-bit characters (including spaces)
10:55.11chamonixthe question is what alphabet do we have
10:57.34chamonixI guess the default would be 7-bit: http://en.wikipedia.org/wiki/GSM_03.38
10:57.44phhé works but not À for example.
10:57.48phhso I don't think it's 7-bit
10:58.02phhoh well it's maybe not ascii
10:58.27phhok fine it's 7bit.
10:59.13chamonixso we'll have to find out if it can be changed or if the java app sending SMS isn't just not taking care of proper encoding
10:59.23phhgps is going to work. gps is going to work. gps is going to work. gps is going to work.
10:59.28phhchamonix: I don't think android devices has such a big problem :p
11:00.20chamonixwell, it may just be a matter of settings, e.g. if java uses utf-16 and whatever-below doesn't expect that
11:00.44phhI told leobaillard to try with htc's ril
11:00.57chamonixRIL logs whetever goes to the wire right?
11:01.09phhuh ?
11:01.22phhoh
11:01.28phhwire = /dev/smd 0?
11:01.34chamonixyes
11:01.37chamonix:)
11:01.43phhour ril does that yes
11:01.46phhnot htc's one
11:01.55phhyou have to strace it if you want his commands
11:02.24chamonixwell looking at ours and the ref there may be some clues... I mean I'm sure android guys don't think they only have us keyboards
11:02.32phhI have a dream, that one day ARM9 stops crashing.
11:02.38chamonixthat reminds me of the times of novell 3.1
11:03.54phhchamonix: maybe a huge problem is SD card :p
11:04.09phh(aka, what about trying to write android on nand ?)
11:04.40phh\o/
11:04.48phhARM11 sent a pdsm_get_position \o/
11:04.55phhand arm9 crashed, obviously
11:05.25chamonixwow
11:06.08chamonixbbl, I have to get rid of the snow outside
11:06.34phhchamonix: haha, no snow at all here :p
11:06.40phhcr2: http://husson.hd.free.fr/dm.7
11:08.40phhARM9 crashes as soon as ARM11 ack's ARM9's 0xb procedure callback
11:08.54phh(I wonder if my position is in my dump. I hope not.)
11:09.43phhoh I know why it crashes. still this stupid offset
11:09.56phhit acks 0xa, while ARM9 sent 0xb :D
11:14.57phhhum no that's not the problem
11:16.20*** join/#htc-linux bakkie (n=bakkie@84-106-91-26.cable.quicknet.nl)
11:23.30cr2phh: i've added the CB functions from my raph100 to wiki
11:23.39phhok
11:24.03phhuh, where ?
11:24.15cr2phh: i don't understand 1 thing. why do we never get any details about arm9 crash ?
11:24.33phhcr2: maybe there are two ARM9 modes
11:24.39cr2is the crash parser correct ?
11:25.00cr2the gpsdriver has the "modem" reboot handler
11:25.25phhah.
11:25.33cr2but our arm11 kernel makes an oops when arm9 is unavailable
11:25.42cr2even if it's temporary
11:26.35cr2maybe we should disassemble amss after all
11:26.57cr2and to check the crash log parser too
11:27.12cr2i'll be back in 20min
11:28.16phhhum when ARM9 restarts we send a RESET_ARM9 command ?
11:28.57phhthat's not what trout do
11:29.17phhtrout only takes gpio25 and set it to 0
11:29.22cr2yes, need to fix the halt/reboot/softreboot handler
11:30.05cr2this one maybe the most urgent thing to do.
11:30.27phhI try to see what's the last reply ARM11 sends
11:30.38cr2ok. bbl
11:33.39*** join/#htc-linux GlemSom (n=glemsom@0x5da34bca.cpe.ge-1-1-0-1105.sdnqu1.customer.tele.dk)
11:34.06phhhi GlemSom
11:34.18GlemSomhi phh :)
11:38.42GlemSomSeems the commitlog isn't quite uptodate at http://gitorious.org/linux-on-qualcomm-s-msm/linux-msm  ?  (Or am I missing something?)
11:38.48phhyes
11:38.50phhI don't know why
11:42.01GlemSomOther projects at gitorious.org have commits today... So, guess it's isolated to our "linux-on-qualcomm-s-msm" project?
11:43.33phhGlemSom: argh
11:43.47leobaillarddon't tell me the git is broken again :'(
11:43.50leobaillardtaht would be sad
11:44.03phhit's only the GUI, I don't really care about it :p
11:46.49emweGlemSom: at least linux-msm-topaz suffers the same ;)
11:47.02*** join/#htc-linux bakkie (n=bakkie@84-106-91-26.cable.quicknet.nl)
11:56.05*** join/#htc-linux Squarc (n=Squarc@82-217-32-29.cable.quicknet.nl)
11:56.47*** join/#htc-linux m3dlg (n=m3dlg@bb-87-81-252-83.ukonline.co.uk)
11:59.18NetRipperAstainHellbring, am now
12:01.02*** join/#htc-linux GNUtoo (n=GNUtoo@host82-133-dynamic.54-79-r.retail.telecomitalia.it)
12:07.01cr2NetRipper: haret patches ?
12:07.22cr2phh: the reset modes
12:07.44phhoh the restart_reason stuff ?
12:08.10*** join/#htc-linux kvaster_ (n=kvaster@live.bn.by)
12:09.02phhhum maybe not
12:10.06cr2phh: i think we have 2 no
12:10.14cr2s/no/now/
12:10.25phh2 what ?
12:10.38cr22 reset modes
12:11.00phhI can't see anything about that :/
12:11.05cr2hm. my big lcd eats 240mA
12:11.20cr2phh: in the board file and in pm.c
12:11.46phhmsm_pm_restart isn't linked with that, is it ?
12:11.52MrPippyphh: i tried the vbus patch, but i'm not sure that it made any difference
12:12.14MrPippyplugging and unplugging usb (for adb) did work, but the charger status in android didn't change when the cable was out
12:12.27phhMrPippy: boot with usb connected, dmesg -c, unplug usb, wait >10seconds, replug, see what dmesg says
12:12.31cr2MrPippy: charger is not vbus
12:12.48MrPippyvbus is just cable connected to usb?
12:12.54phhcr2: afaik there is no way to tell android there is vbus but no charger :/
12:12.58cr2MrPippy: you can disable/enable it independently from vbus
12:13.25cr2vbus is external power availability on the usb +5V pin
12:13.45cr2phh: why should android care about vbus ?
12:14.03phhcr2: show when adb is activated
12:14.12phhand mass storage
12:14.54cr2it's driver business, not androids
12:16.15*** join/#htc-linux pH5 (n=ph5@e178235013.adsl.alicedsl.de)
12:17.32phhmakkonen: have you tried calibration ?
12:18.09phhcr2: I can't see what is supposed to happen when ARM9 reboots if not crashing :/
12:18.55cr2phh: 1 reset: put 0x55aa00ff to +fc08c and gpio25=0
12:19.08cr2this is full shutdown
12:19.41cr2gpio25 needs to be assigned to arm11 first, and then configured as output
12:20.05phhok
12:21.15phhbut all restart/reset commands ends with a for(;;); so the kernel can't get out.. I'm wrong ?
12:21.52cr2then there is soft reset
12:22.40*** join/#htc-linux rzk_ (n=rzk@daemonet.ru)
12:23.48phhit is possible to kill this forever loop without killing the kernel ?
12:23.56cr2check if dex is ready (fc13c=1), send dex_0x8e
12:24.03cr2aka notify_a9_reboot
12:24.32randomblamecool beans
12:25.05randomblameI applied the changes to that new branch and it is working just the same, right up to smd init
12:25.11cr2phh: hmm.
12:25.13randomblamebut this should be easier to work with
12:26.29phhcr2: so I notify arm9 reset but I don't pull down the 25 gpio ?
12:27.25cr2in the soft case yes
12:27.27phhcr2: dex ready is fc13c ?!? according to source code I'd say fc104
12:28.17cr2+0xfc104   PC_STATUS
12:28.22phhok
12:28.33cr20xfc13c   DEX ready=1
12:28.50cr2wiki is your friend :)
12:28.57phhI prefer source code :p
12:29.07cr2i'ts more buggy
12:29.21phhok
12:29.35phhso in htcraphael_reset I do:
12:29.40phh<PROTECTED>
12:29.40phh<PROTECTED>
12:29.40phh<PROTECTED>
12:29.40phh<PROTECTED>
12:29.41phhand that's it ?
12:29.46cr2PC_STATUS is command sent ready
12:29.53phhok
12:29.58cr2fc13c is dex ready in general.
12:30.20cr2if dex is not ready, it does not make sense to send anything with dex.
12:30.44cr2yes, it looks like softreset
12:31.12phhbut this function is only used in:
12:31.14phh<PROTECTED>
12:31.14phh<PROTECTED>
12:31.14phh<PROTECTED>
12:31.14phh<PROTECTED>
12:31.14phh<PROTECTED>
12:31.17phh<PROTECTED>
12:31.21phhso it won't ever exit ?!?
12:31.27cr2wince also does storing "CQRG" and "REST" in smem
12:31.46cr2phh: it's not hard reboot here.
12:31.52cr2only softreset
12:32.17phhso I should bypass the for(;;); ?
12:32.18cr2the hard reset is [13:18] <cr2> phh: 1 reset: put 0x55aa00ff to +fc08c and gpio25=0
12:32.33cr2wrong function i guess
12:32.40cr2in the current source
12:32.52phhhum it's check_for_modem_crash
12:32.54cr2phh: what does pm.c have ?
12:33.21cr2so we have hard reset, and soft reset functions.
12:33.33cr2afair there was one more. maybe done in pm.c
12:33.45phhthere is msm_pm_restart, which also does for(;;);
12:33.48cr2some pseudo-dex call
12:35.08*** join/#htc-linux luminoso (n=lumos@av-217-129-128-10.netvisao.pt)
12:35.55phh[13:24:35] <cr2> phh: 1 reset: put 0x55aa00ff to +fc08c and gpio25=0 <----- I have to wiritel(cpu_to_be32(0x55aa00ff)) or writel(0x55aa00ff); ?
12:36.37cr2phh: be32 only for (onc)rpc
12:36.41phhok
12:37.32cr2phh: the nk.exe waits for dex_ready in a loop, and does softreset
12:37.49cr2funny
12:37.59phhnk.exe ?
12:38.05cr2because softreset needs dex ready itself.
12:38.08cr2wince kernel
12:38.10NetRippercr2, which patches?
12:38.29phhcr2: so when it detects ARM9 resets, I just add a loop to wait for dex_ready, and then just return ?
12:38.31cr2NetRipper: bank5 tracing is missing on 7201A
12:38.49cr2NetRipper: i'd like to implement more functions though
12:38.55NetRipperaha
12:38.57NetRipperlike what?
12:39.08cr2NetRipper: like the rpc get_khz call
12:39.15NetRippermake a patch for bank5 ;)
12:39.18cr2did we have a source for that ?
12:39.44cr2NetRipper: i don't have git, only cvs tree. but i think it'll be ok
12:40.01NetRippercheckout the git tree then ;)
12:40.17cr20x64 =100, 0xc8=200 ?
12:40.25cr2NetRipper: link ?
12:40.41NetRipperhttp://git.linuxtogo.org/?p=groups/haret/haret.git;a=summary
12:41.03NetRippergit clone git://git.linuxtogo.org/home/groups/haret/haret.git
12:41.27cr2yeah. for a 1 dev project cvs is more than enough ;)
12:41.52NetRipperthe svn repository is going to be obsolete
12:41.53cr2-        "  Plays chord.wav")
12:41.54cr2+        "  Plays chord.wav and Default.wav")
12:41.58cr2err
12:42.21cr2NetRipper: playsound does not have a filename as its argument ?
12:42.40NetRippereh?
12:42.42NetRipperwhat file?
12:42.54phhcr2: it means no I guess :p
12:43.17cr2diff -u -r1.16 wincmds.cpp
12:43.18NetRipper"Plays" is not part of filename anyway :p
12:43.33cr2the names are hardcoded
12:43.47cr2<PROTECTED>
12:43.49cr2<PROTECTED>
12:43.50cr2-        "  Plays chord.wav")
12:43.51NetRipperah like that
12:44.06*** join/#htc-linux MethoS- (n=clemens@134.102.106.250)
12:44.11NetRipperthen you answered your own question :P
12:44.18cr2obviously there was some device without chord.wav ;)
12:44.20NetRipperbut i suppose you want to add support for a filename
12:44.29cr2yeah
12:46.32cr2i'll write VIDEOLFB support after your patch
12:46.59NetRipperwhat do you mean with my patch? :)
12:47.49cr2NetRipper: https://privatepaste.com/8b0cb760d4
12:47.52phhcr2: am I supposed to do something to get DEX up again ?
12:48.17cr2i'll checkout the git after this one
12:48.30cr2phh: wince loops 200 times for 100ms
12:48.40cr2phh: loking what it does after that
12:49.30phhI haven't had a working DEX command for more than 40seconds
12:50.01cr2phh: with DEX ready=0 ?
12:50.47phhtheorically it should be 1
12:51.01cr2haha. phh, it printk's DEX not ready, and goes on :)
12:51.19phh[  412.178894] msm_proc_comm_wince: DEX cmd timed out. status=0x0, A2Mcntr=29, M2Acntr=21
12:51.21cr2if it's =1, send the dex command
12:51.23phhthat's what it printks
12:51.29phh<PROTECTED>
12:51.29phh<PROTECTED>
12:51.29phh<PROTECTED>
12:51.40phhthat's what I do when I get the ARM9 reset
12:51.49cr2is it for hard rebooot ?
12:52.22phhbah I put it whenever I get ARM9 crashed
12:52.28phhI don't check if it's hard or soft reboot yet.
12:52.31cr2the PCOM_ prefix is misleading btw. need to fix that too.
12:52.32phhso it acts like soft
12:52.37*** join/#htc-linux luc_ (n=luc@89-115-128-35.cl.ipv4ilink.net)
12:52.53phhhum
12:52.56phhit sent a pdsm_end_position
12:53.23phhwhen it set screen off
12:55.07phhcr2: am I supposed to call msm_proc_comm_wince_init after arm9 reboot ?(writing 0 to DEX registers)
12:55.09cr2phh: wince dex driver supports wat queue, btw
12:55.33cr2phh: let me find the 3rd reset mode
12:55.49phhmaybe it's the good reset mode, but we are missing something ?
12:56.00phharm9 is alive, RPC works
12:56.55phhit's just that DEX isn't correctly reinited
13:00.15cr2NetRipper: do we include gpio owner regs in haret ?
13:00.57cr2phh: can't find yet
13:01.22cr2x8e  notify arm9 reboot
13:01.28cr2it's softreset
13:01.50phhok but when do we send that ?
13:01.55cr2but there is also this one
13:01.58cr20x14  shutdown by arm9, power suspend
13:02.12cr2need to find this one now
13:02.46cr2if dex is not working for too long ?
13:03.52phhhttp://husson.hd.free.fr/dm.8 but I don't think it's of any help.
13:04.16cr2M2A_NOTIFY_ARM9_REQ_RESTART is a DEX irq which we don't do afaik
13:04.29phhand we are supposed to do it ?
13:04.59randomblamephh where in pmem.c are the fb base address, offset, size, etc
13:05.06randomblameI don't see
13:05.06phhoh maybe we are supposed to wait for ARM9 alive again
13:05.19cr2wait. i think i've told something wrong
13:05.19phhrandomblame: they are in CALC_PMEM
13:06.14randomblamethanks, seems it doesn't directly translate
13:06.40cr2phh: softreset sends dex 8e if dex is ready, and does gpio25=0 if not.
13:07.05phhok
13:07.13cr2and loops on gpio25=0
13:07.16*** join/#htc-linux dcordes (n=dcordes_@unaffiliated/dcordes)
13:07.24dcordeshi
13:07.33phhcr2: loops on it and checks dex ready ?
13:07.35phhor just loops ?
13:07.51cr2looks like endless loop
13:07.54phhok
13:08.13phhcr2: ok so dex not ready after softreset means softreset failed then.
13:08.22cr2ah
13:08.56cr2you can't get out of this loop ?
13:09.07cr2only on some irq
13:09.10cr2?
13:09.14phhwhich loop ?
13:09.42phhdex timeout ?
13:09.43IceBoneWhat's a good program to give android 2 more homescreens?
13:09.50IceBoneI don't need any extra features.
13:10.41IceBoneJust tried HomeExtended and it just keeps crashing.
13:12.10cr2looks like buggy code to me
13:12.12phhcr2: I tried setting dex registers to 0, it's not better
13:13.23cr2you set gpio25=0
13:13.32cr2if dex is not ready
13:13.40phhdex is ready ...
13:14.01cr2if
13:14.16phhwell, I have to check for dex ready before or after the NOTIFY_ARM9_REBOOT ?
13:14.16cr2how will you get out of this softreset ?
13:14.20phhI'd assume before but well ...
13:14.26cr2before
13:14.54cr2i think we need to track the dex irqs
13:15.08phhwhen it sees the modem reset, it check dex ready , send the notify_arm9_reboot, sleeps 300ms, and just continue
13:15.42cr2+0xfc138   irq
13:15.53cr2print this register too, on all debug printks
13:16.50cr2300ms ?
13:17.10phhthat's what is in htcraphael_reset
13:21.17cr2static void msm_pm_power_off(void)
13:21.20cr2in pm.c
13:22.36phhwhat about it?
13:22.49cr2should be hard reset imho
13:24.51cr2static void htcraphael_reset(void)
13:25.07cr2is softreset
13:25.52phhhu ?
13:26.04phhso I have to do pcom_reset_arm9 instead of pcom_notify_reset_arm9 ?
13:27.52phhcr2: dex irq is always 0
13:28.29cr2ok, so you don't have dex irq pending
13:28.41cr2what is gpio 0x24 ?
13:29.07cr26  0x24 3,0  20  I reset button, irq.
13:29.17cr2which button is that ?
13:29.27*** join/#htc-linux rzk__ (n=rzk@188.162.48.126)
13:29.31phhred little thing under stylus ?
13:30.01cr20x21 33 INT_GPIO_GROUP2
13:30.04cr2red ?
13:30.19phhbah the soft reboot button
13:31.10cr2do we have a handler for it ?
13:31.43phhwe can't handle it
13:32.03cr2wince has, and sends 'notify a9 to reboot' + dex 8e
13:32.12cr2why ?
13:32.27phhok so it's not this button I guess.
13:32.49phhthis button reboots the device even if the OS is crashed ...
13:32.53phhespecially if it's crashed.
13:33.04cr2strange
13:33.13phhbut it's maybe not this button then
13:33.34phhbut that's the only "reset button" I can think of
13:34.15*** join/#htc-linux Markinus (n=Miranda@gtng-4db0412a.pool.mediaWays.net)
13:36.25cr2MBAT_IN irq sets 2c=1
13:36.48cr24  0x2c 0  1  O battery charging (0=Enable, 1=Disable)
13:37.58cr2so if you pull out the battery, charging is switched off :)
13:38.08phhrho why ? :p
13:38.14phhthat'd be fun.
13:38.59Markinuscr2: Hi! I tested the mmtrace from ADSP5 register location when i playing sound but I can see nothing  .. The only thing what is comming is IRQ 23
13:39.36tmztwhen starting playback no writes?
13:39.42cr2Markinus: yes, i have the same on raph100
13:40.00cr2Markinus: so it's difficult to check ;)
13:41.31Markinusyes  :-( .  did you have a idea more what I could check why this doesn't work?
13:42.15cr2Markinus: no
13:42.30phhMarkinus: your changes in gps-rfkill.c with amss_get_num_value are wrong btw
13:42.41cr2phh: let's check the crash handler again
13:43.02phhyou do pdapi_rpc_server.prog = amss_get_num_value(RPC_PDAPI_CB_PROG); while RPC_PDAPI_CB_PROG has been defined in the same file as #define RPC_PDSM_ATL_PROG          0x3000001d
13:43.08Markinuscr2: ohh, I will look on it ..
13:43.56cr2phh: i thing PROG values do not depend on amss
13:44.05Markinushmm, I forgot to remove it. . .
13:44.09phhcr2: I think too actually
13:44.13phhMarkinus: and to add it to amss thing :p
13:44.26Markinus;-) okay
13:44.47phhMarkinus: you'd better revert this change, as cr2 say, it doesn't depend on amss at all
13:45.27cr2Markinus: you may strsep(,".") the amss version from smem g23 sting in the board file at boot
13:45.53phhcr2: see proc_comm_wince.c to know how to get amss string id
13:46.19cr2Markinus: then you will get rid on 6120 in favor of 6125 everywhere
13:46.28cr2phh: in the current code ?
13:46.35phhyes
13:47.04phherr it was meant for Markinus not cr2
13:47.14phhcr2: you already know how to get amss id :p
13:47.20Markinusok, I will look on it ..
13:47.36cr2printk(KERN_INFO "AMSS version: %s\n", amss_ver);
13:48.02cr2the first and third field together are amss version
13:48.10tmzt6120 to 6125 is a small layout change
13:48.22cr2but it will break our cdma friends though. with their 6150 ;)
13:48.34cr2tmzt: 6120 does not exist
13:48.44cr2tmzt: at least i've not seen it.
13:48.52tmztit did
13:49.03tmztthere's a not in android's git about it
13:49.06cr2tmzt: where ?
13:49.17Markinusdou you mean to replace this machine specific code with AMSS specific?
13:49.24tmzthmm, have to look
13:50.06tmztit might have never shipped
13:50.07cr2Markinus: you can detect the amss version lready in the board file, and put it into some global varialble i think.
13:50.15tmztso for our purposes it doesn't exist
13:51.00cr2tmzt: yes. once it will pop out in the real world (tm) we may add it.
13:51.26tmztit's been replaced, but support did exist in git for testing
13:51.47cr2Markinus: btw, you have some strange gpios in *topaz.h
13:51.47tmztanyway
13:52.02cr2tmzt: 6220 ?
13:52.08tmzthas fixing haret helped with gpios?
13:52.23tmztwhat's 6220?
13:52.33cr2tmzt: i was spammed by ulpi data immediately ;)
13:52.45phh:)
13:53.36cr2[  245.141754] ARM9 has CRASHED
13:53.38cr2[  245.141876] smem: DIAG ''
13:53.55cr2phh: i'm confused that the diag is always empty.
13:54.15cr2something is wrong here.
13:54.46phhmaybe it's some security "featuer" ?
13:55.47tmztis the qcdiag?
13:55.49*** join/#htc-linux Markinus (n=markus@gtng-4db0412a.pool.mediaWays.net)
13:56.08*** join/#htc-linux swc|666 (n=infidel2@unaffiliated/swc666/x-4934821)
13:56.52tmztdiag smd_tty channel?
13:57.16cr2tmzt: already forgot it
13:57.27phhsmd1
13:57.30cr2phh: there are 2 dex irq regs: 128 and 138
13:57.48cr2phh: do we have smd1 ?
13:58.54tmztwhat chip?
14:00.45cr2tmzt: not in wiki
14:00.50cr2so it does not exist
14:01.16tmzthuh?
14:03.23*** join/#htc-linux sse2 (n=sse2@41.104.85.18)
14:03.48phhcr2: you want me to dump 128 too ?
14:03.56cr2phh: irq is 128, 138 is some lock
14:04.51phhok
14:05.29cr2the 6 irq is acked
14:05.52cr20x06 6  INT_A9_M2A_6  + DEX
14:05.53sse2Hi there. Anyone here familiar with qxdm ?
14:06.06cr2i think  g1 has a bit different implementation
14:06.16tmztsomewhat, the program or the protocol?
14:06.27sse2both
14:06.28tmztandroid does less with dex
14:06.55tmztsse2: I'm looking to add support to ofonod/gatcmd
14:08.09sse2tmzt: ofonod ?
14:08.11cr2Markinus: google amss uses INT_ADSP_A9_A11 for adsp5, we use INT_ADSP_A11. you may add it too
14:09.08sse2I'm getting a OEM_HOOK_RAW error for no particular reason on the g1
14:09.22phhcr2: 1004
14:09.26phh0x1004
14:09.47phhand it was 4 before trying to send the notify_arm9_reboot
14:10.01cr2phh: i had a list somewhere
14:10.13tmztsee: ofono.org basically I'm looking to have a daemon on linux talk qxdm based on dbus calls
14:10.13cr2in the logs ;)
14:10.20phhcr2: irq.c ?
14:10.37phhoh *dex* irq
14:10.47tmztcr2: nice, one of thhose useful changes in amss
14:10.48cr24 is ignored
14:11.10cr2tmzt: yeah. thank you googel
14:11.22tmztsse2: that see: was for you
14:11.41sse2yep i'm loking into it
14:11.44tmztit reall6y depends if we need it for GPS
14:11.56tmztwe is merphone in this case
14:13.27cr2phh: yes, 0x1000 is [14:04] <cr2> M2A_NOTIFY_ARM9_REQ_RESTART is a DEX irq which we don't do afaik
14:13.34phhok
14:14.34cr2phh: so marm9 acks the 8e cmd ?
14:14.56phhI don't think so
14:14.56sse2tmzt: well, there's already an interface to qxdm on android, but the rild is returning errors when sending the hook command
14:14.58Markinuscr2: I tested this already because I saw this in my logs, but this doesn't change somethings on my sound problems. Is this only for Topaz or all devices?
14:15.11phhcr2: the 0x8e command times out
14:15.39cr2Markinus: on all our devices
14:15.53cr2phh: times out means ?
14:16.10cr2phh: we have requested arm9 reboot here ?
14:16.14tmztsse2: what's the hook command?
14:16.16phhcr2: pc_serial_check is never incremented
14:16.25phhcr2: it's "notify arm9 reboot", I can't see what this actuall means
14:16.33cr2phh: i guess arm9 needs some time
14:16.55cr2phh: who has written the timeout code ?
14:16.59tmztthat REQ RESTART could be wakeup?
14:17.04tmztmeaning of arm11
14:17.08phhcr2: maejrep I think
14:17.13cr2tmzt: no idea
14:17.31cr2tmzt: what do you think it means ?
14:17.48cr2phh: it's in dex driver ? aka proc_comm_wince ?
14:17.52phhyes
14:17.56cr2hm
14:18.05phh<PROTECTED>
14:18.08phhI try adding that ?
14:18.10tmztI think it means arm9 wants arm11 to start running
14:18.16tmztbut I don't know
14:18.22sse2tmzt: there are basically 2 parameters to send to the interface: size of the log file and num of rotating files
14:18.25*** join/#htc-linux x29a (n=x29a@unaffiliated/x29a)
14:18.40tmztthis is wird QCT terminology
14:18.46tmztsse2: what log?
14:18.52sse2tmzt: qxdmlog
14:18.54tmztyou can get us amss's log?
14:19.21*** join/#htc-linux leaigor (n=laigor@188.134.16.241)
14:19.30cr2phh: add a comment there
14:19.46cr2phh: otherwise nobody will rememeber what's that in a week
14:19.53phhTRUE.
14:19.56phhoops
14:20.09cr2tmzt: how do i disassemble amss ?
14:20.19cr2phh: we need a new dex driver anyway...
14:20.32tmzttalk to viper
14:20.36phhcr2: we need everything brand new.
14:20.37sse2cr2: look at the partition table at the beginning of the file
14:20.38cr2phh: i need to strip some oob data
14:20.48tmztor sse2 :)
14:21.21cr2sse2: i don't get all relocations right. most annoying are the text string relocations.
14:22.38cr2tmzt: NOTIFY_ARM9_AT_CMD_READY
14:22.56tmztwhat?
14:23.01tmztinterpreter?
14:23.06cr2tmzt: it's also a dex irq. arm9 tells us that AT interpreter is ready ?
14:23.16tmztyeah that's my guess
14:23.19sse2cr2:just strip down the amss image and only load the elf in ida
14:23.24tmztwhat about rpc
14:24.00cr2sse2: strip down ? what are the block+oob sizes ?
14:24.30cr2sse2: i've done that with oemsbl once, but forgot the details
14:24.35tmztin radio.nb?
14:24.42sse2cr2:dump the sram to have the coorect offsets/sizes
14:24.51sse2oops
14:24.53sse2dump
14:24.59cr2sse2: need to disable mmu first
14:25.10cr2can i do it with haret ?
14:25.16sse2tmzt: not the radio nb, just the amss, use qmat
14:25.20cr2s/mmu/mpu/
14:26.19cr2i think it's in the suspend code
14:26.33phhcr2: waiting for M2A_NOTIFY_ARM9_REQ_RESTART before sendint notify_arm9_reboot doesn't help
14:27.46cr2phh: i think it's the answer to dex 8e
14:27.48sse2cr2: I don't think you need that for oemsbl
14:28.06phhcr2: btw, arm9 sent a 0x3100005b, proc=0xa, do you know what is it ?
14:28.12phhjust before crashing
14:28.23cr2ah. tvcable inout is a dex irq too
14:28.39phhcr2: I didn't call dex 0x8e ....
14:28.50cr2phh: i've seen only 1,4 and b in the "normal" wince operation
14:29.17tmztinout?
14:29.30tmztis this stuff in the uboot patch?
14:29.32phhcr2: I get this irq *before* sending dex 0x8e
14:29.43cr2phh: but you did an pdsm_init(1) instead of pdsm_init(2) in wince
14:29.47cr2phh: ok
14:30.18tmztstill on gps?
14:30.20cr2phh: msm_check_for_modem_crash
14:30.26cr2phh: where is this defined ?
14:30.29phhtmzt: yes
14:30.42cr230
14:30.44cr2<PROTECTED>
14:30.44phhcr2: msm_smd_probe
14:30.45cr2<PROTECTED>
14:30.47cr2<PROTECTED>
14:30.48cr2<PROTECTED>
14:30.50cr2<PROTECTED>
14:30.51cr2<PROTECTED>
14:30.52sse2btw, anyone here succeded in patching the amss and rebuilding th rsa keys ?
14:30.53cr2<PROTECTED>
14:31.05cr2phh: we need to demux this irq
14:31.37cr2sse2: we need to make linux run first
14:31.47cr2phh: in smd.c ?
14:31.55phhcr2: yes
14:32.19sse2cr2: what device are you working on ?
14:32.38cr2all amss5225
14:32.50cr2and 6125 too
14:33.05cr2phh: this is different on leo : unsigned base = (unsigned)(MSM_SHARED_RAM_BASE + 0xfc100);
14:33.07sse2ah
14:33.15sse2i'm with 7200
14:33.21phhcr2: may I say that leo can wait a bit ? :D
14:33.25tmztsame
14:33.30tmzt7200 non-A?
14:33.38sse2nope, a
14:33.43tmztsorry, I mean all of this is 7k
14:33.57sse2anyway yes
14:33.58tmzt7201a 7200a but the differences are in amss
14:34.06tmztbetween android and wince
14:34.30phh(and some devices)
14:34.52cr2phh: we may add a note, so NetRipper will have it easier :)
14:34.59phhcr2: sure
14:35.01phhbut still :p
14:35.14sse2been trying to patch g1 amss some time ago
14:35.57sse2can't seem to locate the private rsa key
14:37.00cr2sse2: can you patch it in ram ?
14:37.52cr2tmzt: AUD_REC_GET_BUF has a dex irq too
14:38.22sse2cr2: you can, but useless in my case
14:39.05tmztGNUtoo: ping
14:39.06sse2cr2: basically for a persistant patch, you can flash it the loader will accept it, but it won't load it to sram
14:39.12GNUtootmzt, hi
14:39.20cr2sse2: ok
14:39.22tmztsse2: tried mpu?
14:39.34sse2tmzt: no
14:39.59tmzttalk to cmonex, she can do it for gsm unlock
14:40.13tmztfrom sspl
14:41.24GNUtootmzt, what's going on?
14:41.30GNUtoowhy patching amss is needed?
14:41.55tmztGNUtoo: the dex irq cr2 found
14:42.11GNUtoowhat's that?
14:42.24GNUtoothe GPS thing?
14:42.30cr2tmzt: actually i'd like to see the amss dex and rpc handler code
14:42.30tmztAUD_REC_GET_BUF
14:43.03tmztis there a playback equivalent?
14:43.14GNUtooI'll look
14:43.18GNUtooin alsa or qdsp?
14:43.20sse2cr2: disass the elf
14:43.21cr2dex seems to be a very stable api. unlike rpc ;)
14:43.50cr2sse2: yes. need to disable 0xa protection first
14:44.26GNUtooI don't even know what is dex
14:44.48phhGNUtoo: proc_comm
14:45.24sse2cr2: right
14:45.31cr22
14:45.33cr2<PROTECTED>
14:45.34cr2<PROTECTED>
14:45.36cr2<PROTECTED>
14:45.37cr2<PROTECTED>
14:45.39cr2<PROTECTED>
14:45.40cr2<PROTECTED>
14:45.42cr2<PROTECTED>
14:45.55cr2phh: hmm. how long is that ?
14:46.00phhcr2: 10s
14:47.33GNUtoook
14:48.23cr2phh: can you add the state dump here ->
14:48.27cr2114
14:48.28cr2<PROTECTED>
14:48.30cr2<PROTECTED>
14:48.31cr2<PROTECTED>
14:49.17phhwhich state ?
14:49.18phhirq ?
14:49.34cr2arm9 and arm11
14:49.55cr2ID_SHARED_STATE
14:50.25cr2diag is ID_DIAG_ERR_MSG
14:51.07tmztsmsm is  astruct matching part of smem right?
14:51.15GNUtooso where should I help
14:51.15GNUtoo?
14:52.13tmztGNUtoo: does this help you with alsa_qdsp?
14:52.17cr2struct smsm_shared
14:52.17tmztthis dex irq
14:52.30tmztor these dex irqs
14:52.41tmztcould it explain what's happening with buffers?
14:53.16GNUtootmzt, basically for alsa_qdsp the problem I was dealing is that one: http://mailman.alsa-project.org/pipermail/alsa-devel/2010-January/024445.html
14:53.24GNUtooso...
14:53.39GNUtoowhat is unknow is why the first buffer is INVALID_LELN
14:53.44GNUtoo*INVALID_LEN
14:53.52tmztright, but there might be more or different notification proceedures on wince amss
14:54.05tmztdone through dex/proc_comm
14:55.11GNUtooso: I don't know a thing about the proc_comm or dex...I only know that it's "The lowest layer IPC" and that it "is used for clock/power control"
14:55.25GNUtoowhere can I learn about it?
14:55.28tmztyeah
14:55.36GNUtooand will it affect the alsa driver?
14:55.40tmztbut it might be involved in qdsp
14:55.46GNUtoook
14:55.54cr2phh: smd handles M2A_5 only
14:55.55tmztcr2 found a dex irq called AUD_REC_REQ_BUF
14:55.58cr2r = request_irq(INT_A9_M2A_5, smsm_irq_handler
14:56.07cr2IRQF_TRIGGER_RISING, "smsm_dev", 0);
14:56.14GNUtoook
14:56.56cr2phh: int smd_core_init(void)
14:57.13cr2phh: probably need a dex_core_init() too
14:57.28phhcr2: I init dex when receiving this interrupt ?
14:59.58cr2phh: no, a more general dex driver
15:00.02cr2static int debug_read_stat(char *buf, int max)
15:00.22cr2phh: check this one for crash logging
15:01.26cr2phh: the main question for me is: do we need to queue dex calls ?
15:01.53tmztsse2: is debug_read_stat related to what you're talking about?
15:02.12tmztsee2: we need this qxdm command
15:02.17tmztto enable logging
15:02.21tmztand how to send it
15:02.30tmztcan you strace rild?
15:03.00tmztoh
15:03.04phhtmzt: how useful tracing rild would be ?
15:03.08tmztOEM_HOOK_RAW is something sent to theclosed ril?
15:03.11GNUtooI'll try something
15:03.18tmztphh: you've seen this?
15:03.22phhno
15:03.29phhwhat is it ?
15:03.30phha rpc ?
15:03.39sse2tmzt: the hook command is sent by thr rild yeah
15:03.39tmztril wire command I think
15:04.05tmztwho was working on ficing libreference_ril?
15:04.11sse2nope, not talking about debug_read_stat
15:04.50phhsmsm: ARM9 HAS CRASHED
15:04.50phhsmsm: a9: 00000829 a11: 00010c41
15:04.50phhdiag: ''
15:05.22phhhum, arm9 has crashed stays forever
15:05.28phhmaybe we have to unset it ?
15:05.30tmztsse2: let's find this and add to kernel
15:05.40cr2phh: lol. decode the bits
15:05.50tmztalso, can we add raw smd dump to dbgfs?
15:06.23sse2smd dump would be useful
15:06.27cr2tmzt: into ramconsole buf
15:06.39tmztwhy?
15:06.52tmztjust a dbgfs node to cat
15:07.17tmztif qxdm is enabled we can add that to logcat radio or ramconsole
15:07.31phhcr2: init & smdinit & reset & timeinit ?
15:07.40sse2if it's enabled
15:07.40tmztso we really need this binary command
15:08.27cr2800, 20, 8 , 1 and 10000, 800, 400, 40, 1
15:09.54phhtimeinit & rpcinit & smdinit  & init for a9 and unknown&timewait & reset & init for A11 ?
15:09.55phhhum
15:10.35cr2yeah. looks quite dead ;)
15:10.52phhkind of yes.
15:10.58cr2where did i see the dex 0x14 call ??
15:11.54phhcr2: hum, PCOM_PMIC_CAM_ON is the same as the three vreg enable I have ?
15:13.37cr2phh: don't mix PCOM_ and DEX_
15:13.54phhthat's what in proc_comm_wince.h, not my fault :p
15:13.54cr2i think we need to separate them properly again.
15:14.12cr2yeah. comes from old times ;)
15:14.52cr2http://htc-linux.org/wiki/index.php?title=RaphaelDEX
15:14.59cr2the dex cmd list
15:15.19*** join/#htc-linux BabelO (n=fcr@unaffiliated/babelo)
15:18.07phhcr2: btw I can see an arm9 low speed, is that a power saving feature ?
15:18.24cr2maybe.
15:18.42cr2i'm looking at it too. the syntax is not documented in wiki
15:18.43phh:)
15:18.54phhwiki says there is no arg
15:18.56cr2there are 2 calls
15:19.05phh(which seems strange)
15:19.10cr2lock speed, and low speed.
15:19.21cr2both 1d, but params are different.
15:19.27cr2wiki has a bug probably.
15:19.34phhchamonix: that's something for you
15:20.00cr2update audio
15:20.10cr2is also not well documented.
15:20.41tmztcr2: could this be something we neexd for qdsp to work that g1 doesn't?
15:27.14chamonixoO
15:27.38chamonixlow speed is good
15:27.42chamonix:)
15:27.49phhmaybe
15:28.14chamonixdid I dream or was there a powertop port in some other version of eclair/donut?
15:28.30phhchamonix: donut had powertop
15:29.17chamonixty, I'm not nuts :) would it run on Eclair as is or do I need to recompile the kernel with some specific settings?
15:29.34phhrun as is iirc
15:30.03chamonixcool, I'll transfer
15:30.25phhcr2: is there some "cam sel" gpio to set for camera ?
15:30.30chamonixI just have to find a machine with old squahfs
15:30.33cr2hm. cpu frequency table
15:30.44chamonixs/ah/ash
15:30.46cr2phh: cam sel ?
15:31.06phhcr2: to select if the gpios goes to MI380 or MT9T013
15:31.28dcordesis the MI one aptina?
15:31.32*** join/#htc-linux zycho (n=zycho@f054160186.adsl.alicedsl.de)
15:34.35cr2phh: 1e=1 for mi380 or idle. 1e=0 for mt9p013
15:34.41chamonixcool, it works
15:35.00phhchamonix: means it doesn't crash ? :p
15:35.08chamonixSuggestion: Enable the CONFIG_NO_HZ kernel configuration option <--- lmfao
15:35.10cr2ok, need to chec the freq table now.
15:35.37chamonixwow, 1 Watt is at stake
15:35.44tmztthat should work, if not we need to fix timer
15:35.55phhchamonix: lol.
15:36.04chamonixwell, let's go back to lagging time
15:36.18phhchamonix: I thaught you were talking about arm9 slow clock :(
15:36.23chamonixHeHeHe
15:36.29chamonixit wants ACPI too
15:36.55chamonixsry phh :-/
15:36.56phh:)
15:37.05phhit's an intel tool you know.
15:37.37chamonixindeed
15:42.08chamonixwell I'll try to follow some suggestions..... see if I get something that compiles and runs
15:42.58phhchamonix: first check the highest interrupt maker
15:43.10chamonixgp_timer
15:43.18phhscreen on ?
15:43.22chamonixyes
15:43.27phh10/s ?
15:43.44phhiirc it's kxsd
15:43.51chamonix100 per 15s
15:44.08chamonixand msm_i2c 75 / 15s
15:44.26chamonixwhat is kxsd?
15:44.30phhaccelerometer
15:44.34phhwhich uses i2c bus :p
15:45.40phhoooooohhhhhhhhhh
15:45.43phhit seems camera works
15:45.47phhnow how do i test it :p
15:45.48chamonixOO
15:46.43*** join/#htc-linux skodde (n=skodde@unaffiliated/skodde)
15:46.45phhworks means i2c commands work.
15:47.18phhhum it still created no msm_camera devices
15:49.31cr2phh: with 1e=0 you can talk to mt9p013 ?
15:49.37phhyup
15:49.47cr2phh: that means you can talk to mi380 too :)
15:49.50phhwell I'm not sure, i have to double check
15:49.57cr2if you properly set the gpio alt
15:50.25phhi have no mention to mt9t013 at all in the dmesg log
15:50.29phhwhich seems strange.
15:50.34phhbut the clocks and gpio_set_function are called
15:50.34cr2phh: the lowd clock id dex_1d(2);
15:50.49cr22 seems to be the 0-7 voltage index ??
15:50.50*** join/#htc-linux DarkMasterHalo (n=DarkMast@modemcable187.118-80-70.mc.videotron.ca)
15:51.22phhhaha. I booted to eclair while the only distrib I have with correct android camera driver is donut. and I did that three times.
15:51.23cr2ok, looks like khz block
15:51.33cr2lol
15:51.48phhwimo is so slow to boot that I forget what I want to do ...
15:53.04cr261440000 speed is low
15:53.12cr2lpp0/4 ?
15:53.18cr2pll0/4 ?
15:53.21phhnot for sleep
15:53.39phhnot for wakeup either I think actually for a modem
15:53.40cr2dex_1d(2)
15:53.52cr2ARM9 low speed
15:54.48chamonixok, back to GENERIC_TIME
15:57.41maejrepthat's annoying that I can't change my nick when I'm in #android-root
15:57.42phhtime to cross finger really hard
15:58.15phhblack screen.
15:58.55maejrepcr2: long time no see :)
15:59.22cr2hi maejrep
15:59.33cr2maejrep: need to rewite the dex driver :)
15:59.42maejrep:X
15:59.49maejrepi have a cdma hero now :p
16:00.05tmztirqchip driver?
16:00.10tmztmfd?
16:00.10cr2still cdma ?
16:00.12maejrepworking on reverse engineering the linux kernel :(
16:00.24cr2hehe
16:00.38tmzthmm, android devices don't need all this
16:00.42cr2maejrep: haret for linux ?
16:00.42maejreponce again, they have a very weird smem layout for msm75xx
16:00.48maejrephah i wish :p
16:00.51maejrepi don't even get a console
16:01.09phhcr2: without /dev/mem that's hard
16:01.09cr2maejrep: port uboot
16:01.15maejrepI have to trigger a kernel panic, force restart_reason = "recovery", just to see the ram console
16:01.34cr2maejrep: htc posted all msm_clk layout now.
16:01.48maejrepfor raph?
16:01.55cr2for 7201A
16:01.58phhcr2: uh ?
16:02.00maejrepah
16:02.21cr2phh: 7500*.h
16:02.28phhcr2: that's for 7500 then :p
16:02.33cr2lol
16:02.47cr2they differ only in the dsp
16:03.19tmztcr2: where?
16:03.21phhno the problem is with VFE i think.
16:03.39cr2maejrep: fixed /dev/mem ?
16:03.52cr2phh: post the code, since you don't use rpc for it.
16:03.54maejrepi don't know :o?
16:04.04cr2maejrep: on hero
16:04.11phhcr2: uh ?
16:04.18maejrepthere is no /dev/mem
16:04.53phhcr2: you have clock dumps for camera ? the VFE NS bit 14 is set to 0 or 1 ?
16:05.06cr2phh: wiki.
16:05.19cr2phh: but i may connect and recheck it
16:05.26cr2maejrep: why ?
16:05.36maejrepi don't know
16:05.42maejrepls /dev/mem == not there :p
16:05.45cr2maejrep: i also need to fix your buggy ksc leds on raph100 :)
16:05.56maejreppfft
16:06.00maejrepthey worked for me :p
16:06.16tmztswitching to android microp driver?
16:06.22cr2maejrep: the same problem as everywhere. no /dev/mem on android
16:06.30cr2maejrep: on raph800 ;)
16:07.07cr2maejrep: on raph100 they oops, and Fn led is Caps
16:07.12phhtmzt: their driver isn't usable as is for us
16:07.18maejrepweird
16:07.22phhand it's a really big driver
16:07.27phhI'd prefer cutting it in several files
16:07.47tmztit should be mfd
16:07.49cr2maejrep: they updated the firmware now, so a lot more commands are needed.
16:07.56maejrepdoh
16:08.02maejreponly if you applied the update? :p
16:08.06phhcr2: uh ?
16:08.09cr2maejrep: but it is used everywhere, and nexus has a new microp driver
16:08.24maejrepso more uniform?
16:08.31cr2maejrep: for the newer phones
16:08.43phhmaejrep: hero hasn't the same microp "api" though
16:08.46cr2i still edit the raph page for all commands
16:09.26phhcr2: you've seen how they handle irqs btw ?
16:09.33cr2maejrep: but we got most things working now. (on gsm). struggling with  the last bits of cam and gps
16:09.40cr2phh: where ?
16:09.42phhand fm.
16:09.46phhcr2: mahimahi's microp
16:09.50cr2fm is userspace
16:09.56chamonixphh: have you found anything about SMS encoding or should I have a look?
16:09.57phhright
16:10.05phhchamonix: you should have a look
16:10.07cr2phh: not yet. need a nexus first.
16:10.08chamonixk
16:10.20phhcr2: you need a nexus to read its code ? :p
16:10.24cr2btw. what is the arm9 clock speed ?
16:10.37chamonixI need a nexus too, preferably the one with keyboard
16:10.38maejrepcr2: http://xda.privatepaste.com/bc505aeb6b -- that's the best we've been able to get so far with compiling the gsm hero source for cdma heroc
16:10.48phhchamonix: :p
16:10.49cr2phh: need a nexus anyway :)
16:10.57tmztmicrop irq?
16:11.14phhcr2: and we still need hardware video decoding :D
16:11.41cr2maejrep: new smem layout ?
16:11.50maejrepyes (again)
16:12.10maejreponly for heroc though..  gsm hero doesn't use the weird large fifo buffers
16:12.19tmztdid start of ram move?
16:12.21phhmaejrep: delete diag usb function driver.
16:12.22cr2maejrep: 0x4000 is 0x2000*2 it's the new SMD TX/RX pair
16:12.23phhyou don't want it anyway.
16:12.28maejrepyes
16:12.33maejrepsame as raph800, essentially
16:12.38cr2maejrep: check out 6125 patch
16:12.43maejrepexcept it's also contained in smem toc
16:12.43tmztphh: it's pointless without qxdm start
16:12.52phhtmzt: yup
16:13.06tmztif we haqd that it could be quite useful
16:13.17phhgreeee
16:13.23tmztheroc uses qmi/rmnet
16:13.26phhI booted eclair instead of donut AGAIN
16:13.34cr2maejrep: can you dump smem ?
16:13.54maejrepnot easily..  i guess i could write a kernel module to do it
16:13.54phhit's going to time forever if i keep doing such stupid mistakes ..
16:13.59cr2maejrep: maybe in the bootloader
16:14.12cr2yes. kernel module may be the easiest.
16:14.13maejrepi don't know how
16:14.19cr2ok
16:14.28maejrepand heroc bootloader (fastboot) is locked down
16:14.44maejrepphh: buggy kernel.. doesn't honor CONFIG_USB_FUNCTION_DIAG ;x
16:14.51phhah.
16:14.53phhremove it by hand :p
16:14.55maejrepdrivers/usb/function/msm_hsusb.c:1041: undefined reference to `g_bUsbDiagMode'
16:15.03tmztbut you can flash it right?
16:15.11maejreponly from recovery
16:15.21maejrepcat /dev/zero >> /dev/mtd/mtd2 && flash_image boot /sdcard/boot.img
16:15.22maejrep:p
16:15.30tmztthat sounds like a gadget header
16:15.31phhzero > mtddevice ?!?
16:15.38phhthat sounds crazy
16:15.46phha mtddevice should be set to 0xff, not 0x00
16:15.57tmztit will failback to recovery
16:16.20maejrephttp://android-dls.com/wiki/index.php?title=HOWTO:_Unpack%2C_Edit%2C_and_Re-Pack_Boot_Images#Flashing_your_new_image_back_onto_the_phone
16:16.28maejrepthat's what i was going by
16:16.41sse2nand default byte state is 0xff not 0
16:17.26cr2phh: video decoder is tough
16:17.35phhcr2: I know
16:17.54cr2phh: fmradio is doable
16:18.07cr2phh: gps annoys me ;)
16:18.09phheverything is :p
16:18.25cr2yeah. but gps
16:18.39phhbah it will be done I'm sure.
16:18.49maejrepwell there isn't a /dev/one
16:20.00phhnow we have to play with adsp. cool.
16:21.04phhcr2: but it won't be done today but next week then :p
16:21.55cr2phh: your gpio setup ?
16:22.12cr2for cam
16:22.19phh<PROTECTED>
16:22.19phh<PROTECTED>
16:22.19phh<PROTECTED>
16:22.19phh<PROTECTED>
16:22.57phh<PROTECTED>
16:22.57phh<PROTECTED>
16:23.02phh<PROTECTED>
16:23.07phh<PROTECTED>
16:23.29phhmeaning everybody is set to 5 but:
16:23.35phh[   15.784667] msm_gpio_set_function(c, 1c5)
16:23.35phh[   15.823760] msm_gpio_set_function(f, 1c5)
16:24.08*** join/#htc-linux slight (n=23hdci27@154.112.221.87.dynamic.jazztel.es)
16:24.32cr21c5 ?
16:24.49phh1c5.
16:24.52cr2should be 5 for c
16:24.56cr2and 1c4 for f
16:25.01GNUtoommm
16:25.55cr2phh: http://htc-linux.org/wiki/index.php?title=Raphael_GPIO
16:25.55GNUtooif (frame->used == BUF_INVALID_LEN){break;} now works but I have horrible sound : [  341.368591] audpp: DMA missed obj=20 even with aplay
16:26.46phhcr2: http://husson.hd.free.fr/dm-cam.1 I think there is nothing relevant but the gpio funcs in it
16:26.55tmztGNUtoo: with dex?
16:27.03GNUtoono without
16:27.13GNUtoowhat should I do with dex?
16:27.17GNUtoorewrite all the drivers?
16:27.33cr2Unbalanced IRQ 158 wake disable ?
16:27.52phhcr2: bah that's just a slowpath
16:28.00tmztGNUtoo: I think amss tells you when it wants the next buffer
16:28.07tmztor you tell it when your ready
16:28.29cr2[    1.724182] BT RFK register
16:28.30cr2[    1.724243] vreg_get: rftx -> 11
16:28.32cr2[    1.724395] BT RFK probe
16:28.38cr2phh: on diam ?
16:28.41phhyes
16:28.51GNUtoook but I don't understand why there is this frame->used of invalid len
16:28.54phhcr2: it's just a get
16:29.00phhon diam it does nothing with it
16:29.07cr2http://htc-linux.org/wiki/index.php?title=MSM_VREG
16:29.20phhand I was talking about camera -_-'
16:30.25tmztGNUtoo: only parts of smsm can trigger irqs on arm9 or qdsp cores
16:30.43cr2phh: change alt
16:30.53cr2phh: maybe ifdef
16:30.57GNUtooyou mean smem?
16:31.07cr2phm. just change then in board file
16:31.08tmztyeah
16:31.21GNUtoook
16:31.21tmztsort of, I'm not sure what the difference is
16:32.33phhcr2: f to 1c4 ?so GPIO_NO_PULL ?
16:32.52cr2phh: bte, do you check for vbus presence and battery presence in the charger enable ?
16:33.05phhno
16:33.24cr21c4=0001.1100.0100
16:33.35*** join/#htc-linux cr2 (n=cr2@ip-109-85-35-207.web.vodafone.de)
16:33.43phhcr2: yes and the first two bits are for gpio pull
16:33.57cr2what is the byte divis
16:33.59cr2ion ?
16:34.09cr2000111000100
16:34.18phhconfig = (cfg.drvstr<<6) | (cfg.func<<2) | (cfg.pull);
16:34.35cr2000111.0001.00  ?
16:34.38*** join/#htc-linux c2d (n=Mike@port-92-200-10-104.dynamic.qsc.de)
16:34.39phhyup
16:34.46cr2ok.
16:34.50cr27,1,0
16:35.11*** join/#htc-linux skodde (n=skodde@unaffiliated/skodde)
16:35.39phhso no pull on it ?
16:36.00cr2yes
16:36.07cr2do what wince does
16:36.39cr25 is 0101
16:36.51cr2alt=1, pull=1
16:39.26*** join/#htc-linux Billyonthemounta (n=Miranda@stiitcsc409.epfl.ch)
16:40.30*** join/#htc-linux skodde (n=skodde@unaffiliated/skodde)
16:40.40maejrepcr2: i have an enum bitfield setup in ida that decodes the PCOM_GPIO_CFG values ;o
16:41.56phh~ramconsole-diam
16:41.57aptwell, ramconsole-diam is pwf dm 0x00800000 0x00100000
16:42.10cr2maejrep: too complex for me :)
16:43.05*** join/#htc-linux herpez|away (n=herpez@87.196.51.213)
16:43.18cr2maejrep: i don't even know how to replace =#0xFOOOBA00 with MY_REG_VALUE
16:43.33cr2from a list
16:43.36phhyou just know reading asm and text ? :p
16:43.52*** join/#htc-linux rashire (n=ed1112wa@pool-98-114-205-192.phlapa.fios.verizon.net)
16:43.57cr2phh: i remember register locations.
16:44.05cr2of same the .asm and use 'sed'
16:44.18cr2s/same/save/
16:44.19maejrepi don't either ;x (replacing =#* with a symbol)
16:44.24maejrepcr2: http://xda.privatepaste.com/00b309bc25
16:45.07maejrepit saves to a .idc file you can import, if you want
16:45.27cr2looks good
16:46.24maejrephttp://xda.privatepaste.com/95d9556f0f -- idc script
16:46.33phhcr2: exactly the same result
16:46.45maejrep(it has all my structs, but only really need gpio_table_record, and the gpio_* enums
16:46.57phhcr2: http://husson.hd.free.fr/dm-cam.2
16:47.18phhV/videocamera( 1502): startPreview
16:47.18phhI/ActivityManager( 1180): Process com.android.mms (pid 1290) has died.
16:47.18phhD/CameraService( 1149): CameraService::connect E (pid 1502, client 0x1c400)
16:47.18phhD/CameraService( 1149): Client::Client E (pid 1502)
16:47.19phhD/QualcommCameraHardware( 1149): createInstance: E
16:47.21phhD/BatteryWidget( 1461): Updating Views
16:47.23phhD/BatteryWidget( 1461): Updating Views
16:47.25phhW/WindowManager( 1180): App freeze timeout expired.
16:47.32phhthat's what android says
16:47.36phhpretty much nothing.
16:47.44cr2phh: dmesg ?
16:47.57phhcr2: http://husson.hd.free.fr/dm-cam.2
16:48.37cr2phh: maybe call rpc for clocks ?
16:50.13phhok
16:50.41cr2there are 3 calls
16:50.52cr2i'll connect raph100 and check now.
16:50.56phh28/29/33 ?
16:50.58phhon 0x7
16:51.06cr2wiki sequence
16:51.07phhand 0 or 1 on 0x26
16:51.23cr2pmem is a different issue.
16:51.30phh0x7 is pmem ?
16:52.17cr2x28,x33,x29 for cam
16:52.29cr2i'll write a haret function for it now.
16:52.35phhcr2: with command 0x7 ?
16:52.41phhbut it needs also command 0x26
16:52.54cr2PMEM_REMOTE  0x30000055   pmem_*
16:52.55cr21,1 pmem_remote_imem_enable (1)
16:52.57cr22,1 pmem_remote_imem_disable (1)
16:53.14cr2ah. ok
16:53.18cr20x26,1  clk_regime_sec_sel_vfe_src (0/1)
16:54.12phhoh we might need pmem_remote for 3D init
16:54.13cr2i think in CIF.dll it's mclk_ something
16:54.29phhcr2: mclk_internal ?
16:56.30phhcr2: same thing with rpc
16:56.33*** join/#htc-linux TrXuk (n=TrXuk@host81-151-234-104.range81-151.btcentralplus.com)
16:58.16phhoh not exactly
16:58.21cr2lol.wakeup_by_removing_battery
16:58.36cr2phh: it's translated into something else
16:58.42cr2by msm_clk probably
16:59.08tmztcr2: those are dex?
17:01.55cr2no. rpc
17:02.29cr2startig haret
17:08.14cr2Markinus: still here ?
17:08.32phhcr2: btw, some amss has a special clock for adsp, doesn't that apply for us as well ?
17:09.14phhsee adsp_6225.c for example
17:09.19tmztsse2: when we send amss something it doesn't like it can crash
17:09.36phhs/can/will/
17:09.38sse2like what ?
17:09.42cr2phhYES. BUT IT'S TRICKY
17:09.46cr2lol
17:10.00phhI'll let you do your stuff :p
17:10.21sse2tmzt: sending over the oem hook comands ?
17:10.33tmztwe haven't tried yet
17:10.41tmztwhat device does rild send those on?
17:10.55tmztif it's encoded AT I can tell you how to try that
17:12.59sse2android ones and it's not encoded at commands
17:14.04tmztwell you can still try it
17:14.16*** join/#htc-linux makkonen (n=makkonen@cpe-66-69-229-9.austin.res.rr.com)
17:14.25tmztbut it seems to be limited to efs and cfg access
17:14.37tmztokay, what device then?
17:14.42tmztcan you lsof it
17:15.53phhmakkonen: have you tried anything for calibration ?
17:16.04makkonenphh: not yet.
17:16.08phhok
17:16.14phhI'll then
17:18.44makkonenI'm getting a kernel panic coming from: [  355.494964] kernel BUG at drivers/char/tty_ldisc.c:199!
17:19.04makkonenI think it happens when data comes up. anyone else seen it at any point?
17:20.00*** join/#htc-linux rayman18 (n=opera@residL-102-227.uc3m.es)
17:20.01tmztmakkonen: device?
17:20.05makkonenraph800
17:20.14phhcr2: is spl on nand protected  by default ?
17:20.37cr2no
17:20.38sse2phh: no
17:20.55phhouch.
17:20.58cr2it's below 36MB
17:21.05phhuh ? then it's protected
17:21.24cr2http://htc-linux.org/wiki/index.php?title=RaphaelNAND
17:21.24sse2it's at 2400000
17:21.39cr2below is wrong word :)
17:21.47cr2below in the wiki table
17:21.59phhand the lowest address I can read is 220000000. so I have to take good care when writing to nand.
17:22.22phhhum too many 0
17:22.28phhoh it's in octal
17:22.39cr2i need to entrer  the calibration values there, and the crc algo. didn't find which one though,
17:23.07cr2disable nand mpu, and you can do everything
17:23.27phhI just want not brick my phone :p
17:23.47cr2spl is reflashable
17:23.49chamonix[11:59:28] PUBMSG #htc-linux: <= phh> chamonix: I don't think android devices has such a big problem :p <--- you have no idea.... there was a donut bug open from may till end of last year about multipart messages with different encoding (forbidded by the spec) and chars like c-cedille sucking 100 of SMS length
17:24.17phhcr2: only if I don't reboot meanwhile :p
17:24.18cr2haha
17:24.24phhchamonix: ah.
17:24.40phhcr2: or if I have jtag
17:24.45chamonixdidn't find a fix yet but some proposed patch.... have to see if they were meerged
17:25.29cr2chamonix: you switch to utf16 if weird chars are entered ?
17:25.46cr2chamonix: wince does the same btw. even for '
17:26.23phhouch
17:26.24chamonixwe are back at slackware 0.2 where u did have to recompile the kernel to get anything else than a-z0-9 keyboard :-D
17:26.40chamonix:-X now u know how old I am ;)
17:26.58phhchamonix: have you flashed the light wince rom ?
17:27.05chamonixnope
17:27.14phhgroumpf.
17:27.22chamonixno need, I never reboot
17:27.24cr2chamonix: lol. i don't rememebr the slackware version, bt the kernel was 1.2.8 ?
17:27.34cr2err
17:27.40cr2it was 1.0.somethng
17:27.49cr2because 1.1.xx was dev :)
17:27.56chamonixwow, u r that old too?
17:28.13cr2heh. using linux snce 1994.
17:28.26phhI was 5 in 1994.
17:28.34cr2lol
17:28.44cr2and ued linux ?
17:28.47chamonixgraduated in 93
17:28.49chamonixHeHeHe
17:28.51cr2s/ues/used/
17:29.01phhcr2: I was so young I don't really remember :/
17:29.01cr2chamonix: '92
17:29.15chamonix... for the seond time :)
17:29.16phhyou're damn old.
17:29.19chamonixsecond
17:29.24cr2lol
17:29.32phhmakkonen: I'll do it.
17:31.11makkonenphh: ok. sorry I haven't gotten to it. I'm probably going to be in and out today, but if I can help with anything, just shout.
17:31.33cr2phh: certified windows hater since 3.1
17:31.44phhcr2: I haven't even used windows 3.1 ....
17:31.51phhI've just seen 3.11 for less than 10minutes
17:32.06cr2phh: i used x11 before 3.1 == 3.1 hater
17:32.13makkonenheh. back then I was rocking the Mac -- System 7.
17:32.21phhmakkonen: oh right same
17:32.28phhI even updated it to Mac OS 8
17:32.31phh8.1 iirc
17:32.32cr2but x11 was on vax
17:35.02cr2phh: btw, the xserver was 286 with 3mb ram
17:35.09phhlol
17:35.28cr2or 640+2mb isa ext card.
17:35.38cr2don't remember nymore
17:36.30cr2phh: and you tell me that raph with 256mb+32ms is not a server ;)
17:36.47phhit has no serial port.
17:36.58cr2it has
17:37.00sse2cr2: about the basband crash, try a sram dump (arm9 uses 32mb), or just place some arm interrupts there
17:37.09cr2you just need a cable
17:37.20phhcr2: baahhh
17:37.23phhit has no ethernet :p
17:37.46cr2phh: 10mbit aui ?
17:37.51phhaui ?
17:37.56cr2lol
17:38.04tmztI know :)
17:38.14cr2aui is older than coax
17:38.18tmztforget a though
17:38.37phhcr2: waw.
17:38.43phhkind of old then.
17:38.50*** join/#htc-linux zycho (n=zycho@f054160186.adsl.alicedsl.de)
17:39.30tmztolder than coax ethernet
17:39.40cr2http://en.wikipedia.org/wiki/Attachment_Unit_Interface
17:39.49tmztand that's intergrated phy, transceiver/taps must have already been in use
17:40.45cr2"subminiature"
17:42.57phhif you want to see my ugly rpc command patches btw, I pushed it in http://gitorious.org/linux-on-qualcomm-s-msm/linux-msm/commit/69cc611a9bec67b47abdf92eee2548a071976546
17:45.55cr2smd_rpcrouter_device.c are ifdef'd ?
17:46.11phhno. I want something working before doing other devices
17:46.21phhthat's why I put it in another branch
17:46.22cr2ok
17:47.57cr2phh: can you try the "normal" board-htcraphael-gps ?
17:48.16phhcr2: we will have the same problem no ?
17:48.39cr2maybe
17:48.56phhbah we always had ARM9 reboot with it
17:49.00phhand we still can't handle it properly ...
17:49.05cr2btw, running linux with dead arm9 can be considered a security feature ?
17:49.14cr2shuld apply for B2 cert :)
17:49.20phhuh ? why ?
17:49.28phhI can't see how "secure" this is
17:49.42cr2you can't attack it over RF
17:49.49phhlol
17:49.55phharm9 isn't done btw.
17:49.57phhit's only dex
17:50.04cr2ok
17:50.35phhI'm not sure of what arm9 does though, but rpc still works
17:50.39cr2dead dex means you can't use pmic
17:51.02phhit means the cpu is blocked for 10s at every dex try :p
17:51.59cr2phh: i'll add your get_position call to wiki
17:53.28*** part/#htc-linux rayman18 (n=opera@residL-102-227.uc3m.es)
17:54.27*** join/#htc-linux writemefree (n=writemef@207-47-237-190.regn.hsdb.sasknet.sk.ca)
17:55.36cr2phh: has 28 args too
17:57.56cr2compared to kaiser, it looks like they reshuffle the params a lot
17:58.12phhand compared to your raph dumps ?
17:59.06cr2too
17:59.18phharf
18:00.54cr2but your get position was a failure
18:01.08cr2[  230.034149] oncrpc read
18:01.09cr2[  230.034179] 0000000c 00000001 00000000 00000000 00000000 00000000 00000001
18:01.50cr2but crashed onl after a cb
18:03.48cr2the first 2params are like in the get_pos call
18:03.51*** join/#htc-linux malgon (n=simon@ABordeaux-257-1-105-90.w90-50.abo.wanadoo.fr)
18:04.17phhI forgot that a pixel on this screen is really tiny.
18:05.00tmztwhere are you drawing pixels?
18:05.07phhmsm_fb
18:05.11phhfor calibration software
18:05.14tmztat what point
18:05.15tmztoh
18:05.30phhwith direct mmap on fb device
18:05.51tmztyeah
18:07.00cr2phh: you may divert the init to x2 instead of 1 now
18:08.43phhdrawing while android is drawing is everything but a good idea.
18:08.54*** join/#htc-linux MrPippy (n=pip@adsl-75-37-167-3.dsl.sndg02.sbcglobal.net)
18:09.08chamonixthis is crazy, I can't find any commit fÃŒr the SMS encoding thing
18:09.19chamonixs/fÃŒr/for/
18:12.52cr2phh: you have managed several get_position calls before arm9 was unhappy
18:13.02phhreally ?!?
18:13.45phhwhich dmesg are you reading ? i can see only one
18:14.43*** join/#htc-linux babijoee (n=joee@110.33.178.90)
18:14.55phhhi BabelO
18:14.57phhbabijoee: *
18:15.00babijoeehi guys
18:15.11phhbabijoee: you're running the light rom ?
18:15.20babijoeenope
18:15.22babijoeei'll flash it now
18:15.35phharf
18:15.40babijoee:)
18:15.42phhI need a tester for the backlight thing
18:16.07babijoeegimme 2 mins
18:17.38babijoeebacklight for?
18:18.51babijoeeok done
18:19.40phhbah you have no backlight diming with this ROM normally
18:20.06babijoeetrue
18:20.16phhtry doing echo 3 > /sys/class/htc_hw/test
18:20.51babijoee-.-"
18:20.58babijoeei'll need to flash a full rom
18:21.22phhuh ?
18:21.23phhwhy ?
18:21.35babijoeebacklight is on automatic
18:22.01babijoeeor it wont matter
18:22.02babijoee?
18:22.04phhit won't matter
18:22.07babijoeeokay
18:22.10phhit should stop auto.
18:22.16babijoeeooo
18:22.29babijoeeput that line in rootfs/init
18:22.31babijoeeright
18:22.38phhbah run it whenever for test
18:24.35phhbabijoee: we had some progress on gps and camera today, but it's still not working.
18:24.52babijoeeah ok
18:25.03babijoeestill progress :)
18:26.36phhToAsTcfh: did you get 3D working btw ?
18:29.01babijoeephh: when you plan on buying nexus one?
18:29.21phhwhen I'll have money for it. in years I guess.
18:29.53babijoee:(
18:30.05babijoeeeveryone i show is so envious
18:30.56cr2lol
18:32.48babijoeephh: it works
18:32.57phhcool
18:35.22babijoeeis ToAsTcfh backporting the donut 3d?
18:35.32phhbabijoee: yes
18:35.40phhto hero cdma, but it would be the same result for us :D
18:35.46babijoeeooo
18:35.48babijoeecool
18:36.18babijoeedoesnt hero cdma have working 3d?
18:36.24phhnot on eclair
18:36.29babijoeeooo
18:36.36phhno camera either
18:36.43babijoeewaaa HTC fail
18:36.55phhlol
18:38.29phhdon't worry you'll have the same problem with 2.5
18:38.35babijoeeat the moment all we need is big developer for games on Android
18:39.14babijoee2.5?
18:39.33babijoeeis that already announced
18:39.40phhnot yet.
18:39.55babijoeewhats its called?
18:40.19phhnot even called yet I guess :p
18:40.31babijoeeah k
18:40.43babijoeedo u feel there is any need to update to 2.1 Flan?
18:40.51babijoeei honestly dont think there is
18:41.00phhI don't know
18:41.10babijoeei cant see any features that are better
18:44.54sse2called froyo - 2.1 is still eclair
18:51.28babijoeesse2: 2.1 = flan 2.0.1 is eclair
18:51.37GNUtoohi leviathan
18:52.08GNUtooleviathan, someone named Thingol in #alsa told me how to fix it....and it seem to work flawlessly!!!!!!!!!!!!!!!!
18:52.11GNUtoo-ao alsa
18:52.14GNUtoolet's try intone
18:56.50*** join/#htc-linux zycho_ (n=zycho@f054160186.adsl.alicedsl.de)
18:57.32*** join/#htc-linux x29a (n=x29a@unaffiliated/x29a)
18:57.34*** join/#htc-linux x29a_ (n=x29a@unaffiliated/x29a)
18:58.31sse2babijoee: nope - actually a -b eclair sync gives 2.1 features (3d gallery...)
18:59.58Markinusphh: I corrected the patch and switched to AMSS detection, all is checked in!
19:03.22cr2Markinus: have you tried to enable gps ?
19:04.36Markinuscr2: today? No, this isn't work, or?  I can do it . .
19:05.07*** join/#htc-linux luminoso_ (n=lumos@av-217-129-128-10.netvisao.pt)
19:05.45cr2Markinus: it will probably crash, but you will get an interesting log
19:07.15Markinusahh, yes, to much to do in the moment, I forgot it ... I do it now!
19:08.13cr2phh: btw, the PDAPI_CB responses are fragmented on raph (len=111). there was some rpcrouter bug fixed in the codeaurora tree
19:09.13phhcr2: oh
19:09.36cr2phh: or in the 2.6.29 tree, don't remember
19:10.03cr2afair th rpc packet must be <512 bytes
19:12.42phhI can't see anything like that :/
19:13.30Markinuscr2: need a kernel start with angstrom or a activate with a android GPS application too?
19:13.31phhcr2: any info about battery ?
19:13.41phhMarkinus: angstrom + cat /dev/vogue_gps
19:13.51Markinuso.k.
19:14.07leviathanGNUtoo: really?
19:14.09ToAsTcfhphh: any luck on the camera?
19:14.22leviathanhow can we fix this issue?
19:14.29phhToAsTcfh: it won't be of any help for you, but it's progressing
19:14.33leviathanGNUtoo: please send me the patch!
19:14.51phhToAsTcfh: now I do have /dev/msm_camera/{control0,config0,frame0} :p
19:15.00ToAsTcfhyeah i know. i just seen the logcats u posted a bit ago
19:15.19ToAsTcfhthats sweet though
19:15.47ToAsTcfhare u using the dream hacked libcamera
19:15.57phhno idea :D
19:16.09phhToAsTcfh: oh but I do my tests on donut
19:16.52ToAsTcfhok yeah the dream guys just forward ported the 1.6 libcamera to 2.0
19:16.59Markinuscr2: I activate this driver in the topaz config:
19:17.01Markinusstatic struct platform_device topaz_gps = {
19:17.02Markinus<PROTECTED>
19:17.04Markinus};
19:17.11phhMarkinus: not gps_rfkill but htcraphael_gps
19:17.18Markinusahh, o.k.
19:17.25leviathanGNUtoo: online?
19:17.28leviathanGNUtoo: if yes
19:17.29ToAsTcfhphh: thats good though. good luck
19:17.49phhMarkinus: it's raphael_gps
19:17.50leviathanGNUtoo: just send me the commit as mbox, i'll import it and push it into the repo
19:18.02phhToAsTcfh: so no result for you on 3D ?
19:18.09ToAsTcfhno
19:18.25phhmaejrep: you tried ?
19:18.57*** join/#htc-linux zycho (n=zycho@f054160186.adsl.alicedsl.de)
19:19.11*** join/#htc-linux zhbvgt (n=zhbvgt@84-75-143-9.dclient.hispeed.ch)
19:19.15ToAsTcfhi guess the dream guys fixed up their kernel to work with the new opengl stuff
19:19.15zhbvgthttp://www.pandamailer.de/?bettel=pimbolli
19:19.15*** part/#htc-linux zhbvgt (n=zhbvgt@84-75-143-9.dclient.hispeed.ch)
19:19.59GNUtooleviathan, I was eating
19:20.04GNUtoook
19:20.05leviathanoh
19:20.06leviathanok
19:20.07leviathansry
19:20.16GNUtoo5s I've something to do but basically I'll explain
19:20.21leviathanok
19:20.26ToAsTcfhthe gsm hero guys are gonna steal apage or two from what cyanogen did to the dream kernel.and put it into their .27 kernel
19:20.35GNUtoosize_t alsa_send_buffer(struct msm_audio *prtd, const char __user *buf, size_t count, loff_t *pos,int copy_count)
19:20.39GNUtoonote the copy_count
19:20.41phhToAsTcfh: no need to stole it from cyanogen.
19:20.41GNUtoothen do:
19:21.02ToAsTcfhexspression
19:21.03GNUtooalsa_audio_configure(prtd);
19:21.06GNUtooat the end
19:21.16GNUtoo(move it from where it was)
19:21.19phhToAsTcfh: I mean that you can just use codeaurora's code
19:21.20GNUtooand it works
19:21.51ToAsTcfhyeah i guess there not into it that deep
19:22.06ToAsTcfhbut thats an idea
19:22.26leviathanGNUtoo: ok, thx!
19:23.43leviathanGNUtoo: uhhm
19:23.51leviathanwhich line do you call "end"
19:23.52leviathan?
19:24.06ToAsTcfhphh: i guess joe is getting much closer on our kernel. so thats a positive
19:24.15leviathanGNUtoo: just before return
19:24.19GNUtooI 'll send a commit
19:24.24leviathanok
19:24.24GNUtoono,at the end of while
19:24.26leviathanthx
19:24.27leviathan:)
19:24.27phhToAsTcfh: wasn't your kernel supposed to be released last week end ? :p
19:24.33ToAsTcfhlol
19:24.36ToAsTcfhyeah
19:24.42GNUtooalso I've tested only pure alsa
19:24.47ToAsTcfhit was fraud
19:24.53ToAsTcfha hoax
19:24.53leviathanGNUtoo: ok
19:25.40ToAsTcfhi guess if he can get smd right we will beat htc to the punch
19:29.05Markinuscr2 phh: Here is dmesg, but I see nothing.http://pastebin.com/md45f2e
19:29.20Markinusthe cat to device is hanging, there is nothing comming
19:29.37phhsomething's wrong.
19:29.58phhMarkinus: did you added the board-htcraphael-gps in makefile ?
19:30.11Markinusyes, I have the vague_gps under /dev
19:30.28Markinusand activated in the topaz board file
19:30.53phhah.
19:31.27phhand the dmesg is complete ?
19:32.05cr2Markinus: something is missing
19:32.14cr2Markinus: btw, mddi: registering panel S1D13774
19:32.28cr2you need to create a new panel file
19:33.00cr2for your match mddi.mfr_name= 0xb9f6 mddi.prod_code= 0x5582
19:33.11cr2it's not epson
19:33.11Markinusyes, dmesg -s 1000000
19:33.25phhhum, codeaurora has some changes to mmc driver
19:33.27Markinusno?
19:33.29phhmight have some things for us
19:33.41cr2maybe novatek, but not the one used by google
19:34.29cr2epson is used on blackstone and raph800
19:34.44cr2Markinus: and you need to query the lcd panel id
19:35.03cr2set gpio0x55=1
19:35.15cr20x39 and 0x3a to input
19:35.31cr2and then dump the 0x39 and 0x3a values
19:35.31Markinusin the panel file was:
19:35.34Markinus{
19:35.36Markinus.product_id = (0xb9f6 << 16 | 0x5582),
19:35.37Markinus.name = "S1D13774", /* TODO */
19:35.39Markinus.id = 0,
19:35.40cr2id0 and id1
19:35.40Markinus.client_data = &epson_client_data,
19:35.41chamonixNO_HZ kernel and potential fix for navipad ready... testing
19:35.41Markinus.clk_rate = 0,
19:35.43Markinus},
19:35.44Markinusso I thought this is a epson . .
19:36.05cr2<PROTECTED>
19:36.17cr2just to make it work
19:36.27chamonixbabijoee: around?
19:36.28cr2epson panel code is a dummy too.
19:36.34phhchamonix: fix how ?
19:36.41cr2so you can pocypaste it
19:36.42phhfix what I mean
19:37.01Markinusok
19:37.03phhthe fail at start, or the random behaviour ?
19:37.10cr2for epson we have a datasheet, but nobody found time to write a proper panel driver
19:37.39chamonixphh: I've reduced some enable/disable stuff of irq to my sceanrio with wake on hard only to see if the phenomenon that I have (lights on sleep when mobile is in my pocket) can be fixed that way
19:38.36chamonixwhat I get is navi lights op during sleep, reacts on touch and breathe does not work, back arrow blinks instead
19:39.20cr2phh: the crc32 table is the posix/ieee one. but they are doing something dirty with crc32
19:39.58chamonixphh: did someone else confirm / deny the clock lagging with NO_HZ?
19:40.00*** join/#htc-linux toi (n=toi@d54C2A96D.access.telenet.be)
19:40.02MarkinusI'm offline now . .. bye
19:40.23phhchamonix: you ? :p
19:40.40chamonixnah, I confirmed it lagging with GENERIC_TIME :P
19:40.48phhNO_HZ needs GENERIC_TIME :p
19:40.53chamonixI know
19:41.29chamonixthat's y I wanted to know the result from other testers.... it may work as we don't stay in idle for long anymore
19:42.14chamonixanyway, I'll test that because I want to see what powertop says once I start following its recommendations :)
19:42.28chamonixACPI may be trickier tho
19:42.30phh:p
19:42.42phhwhy ? :D
19:44.02chamonixwell I don't even know if it's supposed to work, I can't find much specific in msm tho
19:44.22phhACPI is x86 specific /o\
19:44.23chamonixs/much/anything/
19:45.35chamonixthat would explain an intel tool recommending it
19:45.37chamonix:)
19:46.13chamonixit's rather a tip for getting more info than a recommentation to save anything so I'll jump that one
19:47.03phhiirc every other tips are wrong for us
19:47.21chamonixnext would be CONFIG_USB_SUSPEND
19:48.21phhLOL
19:48.23phhsorry.
19:48.35phhoh well. we might try to kill vbus.
19:48.39phherr not vbus
19:48.44phhbut usb phy when no vbus
19:50.34cr2phh: they crc32 the whole buffer.
19:50.41cr2for wifi cal
19:55.01cr2eor is xor ?
19:56.37cr2crc32-n, n is "layer"
20:02.38phhchamonix: would you be able to do some nand tests ?
20:03.01chamonixwhat r the requirements?
20:03.16phhflashing michyprima's light rom V3
20:04.04chamonixwell, I never flashed my mobile but there is a start for everything.... do I need a windows box to do that or can I flash from SD?
20:04.21phhyou can flash from sd
20:04.28phhand there is some linux tools
20:04.33phhchamonix: but you don't even have hspl then ?
20:04.45chamonixnope
20:04.54chamonixbut I've read about it
20:05.20GNUtooleviathan, email sent...so based against your kernel...+ bad mail address inside
20:05.26GNUtooI was in a hurry
20:05.37leviathanok
20:05.54phhchamonix: then do :p but for HSPL I don't think it's doable without windows
20:06.28GNUtooleviathan, btw do you have more details about your fixes....your commit messages were not great
20:07.55GNUtooleviathan, because with this fix I wonder which ones are necessary and which ones are not
20:07.56leviathanuhhm
20:08.03leviathanhmm
20:08.04leviathanyes
20:08.19cr2phh: the gsensor cal data is some custom ioctl. like wifi, but with another number
20:08.27leviathanbut my silent fix has nothing to do with yours
20:08.33leviathanits a totaly different problem
20:08.39GNUtooleviathan, you've made many fixes
20:08.43leviathanhmm
20:08.45leviathanright
20:08.59leviathanbut only to get cleaner code and better debug info
20:09.01GNUtoogood commit messages are important
20:09.04GNUtoook
20:09.14leviathanand to get rid of android specific stuff
20:09.19GNUtooah ok
20:09.26leviathanlike this interface for the binary driver
20:09.41GNUtooleviathan, mine is not binary
20:09.42leviathan/dev/smd
20:09.46leviathanyes
20:09.51leviathansure
20:10.00GNUtooleviathan, maybe I should try to rebase the changes against the old patch
20:10.09leviathanuhh?
20:10.13GNUtooto see what works and what doesn't
20:10.24leviathanahh, ok
20:10.27GNUtoobecause it works fine but I've nearly imperceptibles crackling sometimes
20:10.28leviathanbtw: I've pushed
20:10.35GNUtooI wonder if it's not the silent thing
20:10.40*** join/#htc-linux Dinde (i=kayser@sur-internet.net)
20:10.45leviathanIT IS the silent thing
20:10.49GNUtoook
20:10.54leviathanIt should make it silenct
20:10.58GNUtooso if I remove the silent thing I would get rid of it?
20:11.05leviathanthat you do not hear the cracking on the end
20:11.24leviathanyou would get rid of the working /dev/dsp too
20:11.26*** part/#htc-linux Syrefaen (n=fistings@213.184.217.156)
20:11.31GNUtoono I hear during songs but it's nearly imperceptible...I'm not even shure they are real
20:11.34leviathanas long as you do not implement silent format
20:11.47GNUtoowe would have to do that at the end
20:11.52leviathanremoving the silent patch will kill /dev/dsp
20:12.00leviathanbut ok
20:12.01GNUtooI know
20:12.23leviathanok
20:12.27GNUtooit's just to try...
20:12.54GNUtoobasically you tried dsp with huge buffers right?
20:15.13leviathanyes
20:16.00leviathanbuffer was not recognized correct
20:19.04leviathanGNUtoo: wonderfull
20:19.09*** join/#htc-linux googleman (n=googlema@41.105.30.170)
20:19.11leviathanmanaged to change routing too! :D
20:19.14googlemanhi all :)
20:19.20leviathangoogleman: buuh
20:19.37leviathanI am GNU Man
20:19.48googlemani got an xperia X1 from where i begin with this phone to run linux on it ?
20:20.19GNUtooleviathan, and so you fixed?
20:20.27GNUtoowith unecessary fixes
20:20.32leviathangoogleman: http://wiki.openmoko.org/wiki/OpenMoko_on_HTC-Dream
20:20.35GNUtoo(that are unecessary now)
20:20.55leviathangoogleman: no, it just worked with your fixes somehow
20:21.07leviathanbut I would prefer to have something like a selection
20:21.12leviathana listing in alsamixer
20:21.15*** part/#htc-linux DarkMasterHalo (n=DarkMast@modemcable187.118-80-70.mc.videotron.ca)
20:21.19leviathanfor every output
20:21.26googlemanis dream and X1 some ?
20:21.47leviathanshould work too, I guess ^^
20:21.55leviathanis xperia a never one?
20:21.56leviathanmom
20:23.16googlemani check pdadb
20:23.40googlemanany one tried to play with ril in linux phone ?
20:23.52googlemanril = radio interface
20:23.58GNUtoogoogleman, I did but only basic things
20:24.05GNUtoofor htcdream
20:24.16googlemanis there way to emulate simcard ?
20:24.25GNUtoocals,pin,ussd,sms worked but not much more
20:24.59googlemanemulating simcard is nice :D
20:27.16*** join/#htc-linux ToAsTcfh (n=toast@110-43.200-68.tampabay.res.rr.com)
20:27.23googlemanleviathan, xperia is wm based os ?
20:27.37*** part/#htc-linux c2d (n=Mike@port-92-200-10-104.dynamic.qsc.de)
20:28.00leviathanI thought it would also be either msm or omap based
20:28.11leviathanso have a look on the page of openembedded
20:28.14leviathanuhhm
20:28.18leviathanwait a moment
20:28.39googlemanit have some cpu
20:28.54googlemanonly x1 have 512/256 memory
20:31.24leviathanuhhm
20:31.27leviathanbtw
20:31.32leviathanits a sony device
20:32.14MrPippyits made by htc http://wiki.xda-developers.com/index.php?pagename=HTC_Kovsky
20:33.20chamonixphh: I will, I just got to get hands on a windows machine with local admin rights at work as I assume installing that won't work from VMWare will it?
20:33.29phhchamonix: it will
20:33.58chamonixcool, let's search for a winxd iso then :)
20:34.06chamonixs/xd/xp
20:35.55leviathangoogleman: try haret
20:36.57MrPippyand support for kovsky is in our tree, don't know how well it works but its there
20:37.07cr2phh: how many values do you need for calibration ?
20:37.14phhMrPippy: there is a fork tree
20:37.17phhcr2: screen calib ?
20:37.22googlemanwith rootfs of openmoko ?
20:37.26cr2phh: yes. 10 values in nand
20:37.40phhcr2: 10 ? 5 values *{x,y} ?
20:37.51cr2phh: maybe
20:38.09phhif we don't have the (x,y) screen points it's not useful
20:39.01cr2phh: the gsensor cal is stored at the end of conf area. but there are 3 options (12 values, with crc32)
20:39.15cr2phh: corners and the center ?
20:39.25phhcr2: not real corners
20:39.30phhit's something like 40pixel from the border
20:39.53cr2phh: screen cal has some weird parity algorithm
20:40.21phhcr2: maybe we have them.
20:40.33cr2phh: it think it's 0,0 ; 640,0 ; 480,0 ; 640,480
20:40.48phhwith 5 points ? :p
20:40.53phhI'd bet it's not.
20:40.57cr2phh: middle too
20:41.14cr2phh: dump the conf data (0x400)
20:41.45cr2and look at +0x3a4,3a8,4ac
20:41.58*** join/#htc-linux Hellie (i=soulreap@wield.the.scythe.of.the.soulreaper.net)
20:42.36cr2touch cal may be 0xf4-0x118, ir i got the offsets right.
20:43.58cr2phh: anyway, the data is there. weird+crc32(gsensor)+crc32(wifi)
20:44.12cr2we may even check the checksums
20:44.48cr2i had a full nand dump somewhere
20:45.01phhcr2: I have one if you need
20:45.12phhhttp://htcandroid.xland.cz/dump-nand.7z
20:45.21phh(yes I'm crazy)
20:45.25cr2how big ?
20:45.42phh110MB
20:46.08cr2i need the data behind spl http://htc-linux.org/wiki/index.php?title=RaphaelNAND
20:46.12chamonixphh: this can take a while, I must get hands on winxp sp2 to install .net fw
20:46.16cr2and before wince et al.
20:46.54cr24MB+128K
20:47.26cr2it contains a lot of tech data, including ids, and debug
20:47.43*** join/#htc-linux Sti_0239 (n=Where_is@155.214-244-81.adsl-dyn.isp.belgacom.be)
20:48.52GNUtooleviathan, ok I think that most of your patches are necessary
20:49.16GNUtooit doesn't work with the old linuxtogo + the rebased qualcomm patch
20:49.54cr2phh: cmn r0,1 ?
20:50.08cr2~r0 what ?
20:50.11GNUtoohi mickey|office
20:50.17GNUtoowe're close for the sound
20:51.02cr2GNUtoo: not so fast :) are you familiar with audiopara3.csv? what is CE there ?
20:51.19GNUtooI didn't say we were there...I said we were close
20:51.41GNUtooI've no windows mobile/ce devices
20:51.57GNUtoobut maybe there is something similar under android
20:52.33cr2GNUtoo: look for audiopara.cvs
20:52.38GNUtoook
20:54.21tmztGNUtoo: so what's new?
20:55.07GNUtootmzt, alsa doesn't block anymore thanks to someone named Thingol in #alsa
20:55.16googlemanis there chan for WM section ?
20:55.31GNUtooon the sound quality issue we can still hear crackeling if you concentrate to ear them
20:55.42GNUtoobarbely noticiable but they are there
20:58.42*** join/#htc-linux zycho_ (n=zycho@f054218011.adsl.alicedsl.de)
20:58.49cr2GNUtoo: /system/etc/AudioPara4.csv ?
20:58.57GNUtooI'll look
20:59.02GNUtooI was booting android
20:59.40GNUtoocr2, maybe that was a proprietary file that was removed...
20:59.51GNUtooI don't know where I put it
20:59.57*** join/#htc-linux zycho_ (n=zycho@f054218011.adsl.alicedsl.de)
21:00.07cr2GNUtoo: these are audio parameters
21:00.15GNUtoook
21:01.12cr2CE_PLAYBACK_HEADSET, CE_PLAYBACK_HANDSFREE, CE_SYS
21:01.23cr2i'm interested what is "CE" here
21:02.43tmztchamonix: you might be able to hspl with htcflasher
21:02.50tmztafter running sspl
21:03.01tmztflash the full nbh
21:03.17tmztin the ruu package
21:04.34GNUtoocr2, I've only them in my backups....that is to say system.img
21:04.49GNUtooshould I mount it on ram?
21:05.03tmztcr2: can we add a dbgsfs way to soft reset mddi pnale from linux userland?
21:05.20chamonixwell, I'm only 104 KBs from SP2 on my WinXP image so I'll stick to go thru windows tmzt :)
21:05.30cr2tmzt: /sys for fb ?
21:05.31tmztmaybe push a panel-init struct to be used?
21:05.35GNUtoocr2, someone pasted me his file
21:05.40cr2GNUtoo: on ram ?
21:05.46cr2GNUtoo: ok
21:05.49GNUtooyes there is mtd emulation on ram
21:05.56GNUtoocan I paste the link here?
21:06.22cr2yes, why not
21:06.32GNUtoohttp://pastebin.com/d768649ca
21:06.52*** join/#htc-linux m3dlg (n=m3dlg@bb-87-81-252-83.ukonline.co.uk)
21:07.09cr2F27,CE_SYS
21:07.21cr2F26,CE_PLAYBACK_HANDSFREE
21:07.31cr2what's "CE" ?
21:09.05cr2phh: the dump was with mpu on, it seems
21:09.14phhyes
21:09.20phhyou want with it off ?
21:09.20cr2but i'm not interessted in this part anyway
21:09.24phhok
21:09.29phhwho cares about amss ? :p
21:09.53cr2we could have discussed how to split the blocks and oob
21:10.09cr2without lame shareware
21:13.31sse2oob should be 16 bytes
21:13.42sse2size*
21:14.15cr2hm. 28, 3d, 6d and then crc32
21:15.18cr2sse2: looking for other things now.
21:15.47cr2wlan eeprom
21:16.08tmztwhat shareware?
21:16.40tmztcr2: I think CE is pcm/wave
21:17.26tmztcr2: to test init sequences without rebuilding/booting kernel
21:22.15tmztGNUtoo: so what's different for alsa to work?
21:22.26tmztwhat devices do you think will have it working
21:22.41GNUtooI don't know yet I've only dream
21:23.13GNUtooand you can still ear some cracks that are not very noticiable so not ready yet but we are close
21:23.18GNUtooand no silence implemetnation
21:23.28GNUtooI bet it would work on qdsp5 devices
21:23.36GNUtoobut I've not tested on other devices than dream
21:28.34leviathanGNUtoo: and this way of changing routing by changing a bar ist not very cool
21:28.42GNUtoook
21:28.45leviathanI move it once routing works
21:28.51leviathansecond time
21:29.01leviathanevery thing hangs with NULL pointer
21:29.05leviathaninacceptable
21:29.09leviathanneeds some change
21:29.10GNUtooit works for me
21:29.13GNUtoostrange...
21:29.18leviathanyes but
21:29.31leviathanI'd like to have something like a direct mute control
21:29.33leviathanyou know
21:29.39GNUtoook
21:29.41leviathanboxes for every channel
21:29.50leviathanwhich you can mute/unmute
21:29.58leviathanwith builtin logic
21:30.06GNUtoogood idea but we still need something like a bar which is not a bar
21:30.07leviathanmutes if some other chanel is unmutes
21:30.17leviathanuhhm
21:30.25leviathanno, ohne volume control over pcm
21:30.28GNUtooin replicant I had this bug
21:30.33leviathanyes
21:30.37leviathanI have it atm
21:30.46GNUtooit crashed becuase it was putting the audio in 2 output at the same time
21:30.57GNUtoohow do you fix that then?
21:31.27leviathanI'll create separate audionodes with only one volume control
21:31.30leviathanthat would be PCM
21:31.49cr2there is no crc32sum tool like md5sum and sha* ?
21:32.08leviathanmeans [PCM] bar [MIC] Nobar [HANDSET] nobar [..] nobar
21:32.31leviathanthen you can go over MIC/HANDSET and mute/unmute
21:32.37*** join/#htc-linux Boydell (n=Boydell@69.49.58.28)
21:32.49leviathancr2: dunno
21:34.26cr2libarchive-zip-perl: /usr/bin/crc32
21:35.44cr2omg, c bytes. i m dumb
21:36.27leviathanGNUtoo: what do you think of my idea?
21:37.14GNUtooleviathan, what would prevent someone from unmuting mic and handset?
21:37.27cr2leviathan: do you have the google calibration ATAGS dumped somewhere ?
21:37.42leviathanATAGS?
21:37.45leviathanno
21:37.47leviathanwhy?
21:38.28cr2we hve them in nand, i'd like to compare
21:38.49cr2touchscreen calibration, acceleroemter calibration, and wifi nvram
21:40.15*** join/#htc-linux yoyey (n=yoann@78.242.110.43)
21:41.48cr2lol
21:41.50cr2dd if=dump-nand of=gsensor.cal bs=1 skip=$((0x2400000+0xc1000+0x3c8)) count=$((0xc))
21:43.22leviathanokee
21:43.25leviathan:D
21:43.46leviathananyway
21:43.54leviathanI'll sleep now
21:44.06leviathanI need to get up early in the morning tomorrow
21:44.19leviathanI've got a meeting
21:44.24leviathanneed to travel 1hour
21:44.28leviathanso
21:44.29leviathangn8
21:44.33leviathan:)
21:44.41leviathanoh
21:44.45leviathanand I need to reboot
21:44.53leviathanso if theres something new
21:45.07leviathanjust contact me over email while I'm offline
21:45.07leviathancu
21:46.18cr2sse2: 16 after 512 block ? i have a samsung file here
21:47.08cr2or was it 0x2000 block...
21:48.25cr222:13:36 [D:GSNR] Pass CRC32-3.M
21:48.26cr222:13:36 [D:GSNR] Assign g-sensor offset successM
21:48.28cr222:13:36 [D:GSNR] Calibrate Offset: x = -60,y = 74,z = 107M
21:48.29cr222:13:36 [D:GSNR] Read G-sensor calibration data from flash.M
21:49.27cr228 3d 6d
21:49.48*** join/#htc-linux Markinus (n=markus@gtng-4db0412a.pool.mediaWays.net)
21:50.40cr2phh: 40 61 109  in your rom
21:57.06*** join/#htc-linux c2d (n=Mike@port-92-200-10-104.dynamic.qsc.de)
22:19.09Markinuscr2: I looked a second time to the GPS on my topaz
22:19.16MarkinusI fond somethink like sound
22:19.22Markinusfound
22:19.42MarkinusI have this mesage here
22:19.43Markinusvogue_gps_read waiting
22:19.49tmzt7/wi 16
22:20.05Markinusit is like sound, he is maiting for a answer or event but there is nothing cimming
22:20.20Markinuswaiting
22:20.23phhhuhu
22:20.58tmztmsm should be 4k blocks
22:21.39tmztcr2: cat /proc/atag maybe but it might be disabled
22:22.15cr2tmzt: the gsensor cal looks ok but i need to compare it with raw nand
22:22.15tmztcr2: openssl might have one
22:22.55cr200000028 0000003d 0000006d c9b9c474
22:23.04cr2the last one should be crc32
22:23.30tmztgnu: meaning all qdsp5 devices? this is alsa_qdsp?
22:23.36tmzthave you pushed it?
22:23.51cr2Markinus: hmm. strange
22:24.04tmztwe need a cia bot
22:24.12tmztfor gitorious
22:24.21phhtmzt: i haven't found how to get it
22:24.37tmztrss?
22:24.46tmztcia.vc
22:26.00phhtmzt: http://gitorious.org/linux-on-qualcomm-s-msm/linux-msm.atom
22:28.42*** join/#htc-linux rayman18 (n=opera@163.117.102.227)
22:29.33makkonenthat commit from 2019 bugs me.
22:29.52makkonen...people from the future should be doing more exciting things.
22:30.08phh:)
22:30.10*** join/#htc-linux MSM (n=michael@222-155-71-177.jetstream.xtra.co.nz)
22:32.26MarkinusI've a question, could someone explain me what the difference is between the normal RPC servers 30xxxxxx and the CB servers 31xxxxxx ? I don't see the CB servers in the debug rpc server output, there are anly 30xxxxxx. It's normal?
22:33.19phhCB are A9 called to A11
22:34.00cr2Markinus: the most 30* servers are remote (amss), with only 1 exception: 300000b is local (arm11) CB server registered dynamically by adsp code
22:34.29phhcr2: I love exceptions.
22:34.44cr2the 31* CB servers are local (arm11), and you need to have the code which registers them, and processes the data sent my arm9/amss clients
22:34.58cr2phh: blame qualcomm
22:35.09phhas usual
22:35.16cr2if they will publish amss source, we may fix it :)
22:35.26phhthat's a big if :p
22:35.39cr2lol
22:35.44sse2cr2: not gonna happen even in your wildest dreams
22:36.01emwegnight.
22:36.45Markinusso I don't see the registraton of the CB servers in the logfile . . .
22:38.09Markinuswhat is with the AUDMGR_CB_VERS and AUDMGR_CB_PROG, the defines are there but there are never used, it's okay?
22:38.40Markinusor can we remove them?
22:38.46cr2Markinus: braindead google code ;)
22:38.58Markinusahh, :-=)
22:39.16cr2Markinus: the registered local servers just don't spam the log
22:39.43cr2but if amss will send something to them, you will see it in rpc logs
22:39.56Markinusok
22:41.51cr2Markinus: you may also see the registration message sent by rpcrouter to arm9
22:42.37cr2sse2: hehe. then we have removed a lot of junk from there too
22:45.16Markinuscr2: is the infrastucture completly closed or are there some homepages or documents, books, where I could lern more about this?
22:45.38phhthere is only source code I think
22:52.11*** part/#htc-linux rayman18 (n=opera@163.117.102.227)
22:53.51*** join/#htc-linux mc (n=nathan@66.189.214.135)
23:03.46*** part/#htc-linux yoyey (n=yoann@78.242.110.43)
23:06.28*** join/#htc-linux Tinyboom_ (n=nahh@ti0121a340-dhcp0200.bb.online.no)
23:11.33*** join/#htc-linux josch (n=josch@vr142.rayconnect.de)
23:11.35*** join/#htc-linux tech9iner (n=hacim@unaffiliated/tech9iner)
23:12.50joschhi there :)
23:13.52tmzthey
23:14.27makkonenphh: neat. someone on ppcgeeks found out that the calibration data stored in the winmo registry (HKLM\HARDWARE\DEVICEMAP\TOUCH] is of basically the same format as the calibration for the tssc_manager. The tuples are just reordered.
23:15.00phhmakkonen: we "just" need to know the points used by wimo.
23:15.11phhanyway I don't want to rely on wimo
23:15.11makkonenheh
23:15.15phhI progressed on calibration
23:15.33Boydellsee, this type of thing i was wondering, why cant we see how WinMo handles things, and try and use them(kinda)..
23:15.33phhit's almost working
23:15.39phhI just have to add a FB blit
23:15.49phhBoydell: we try.
23:15.54phhit's just not easy at all
23:16.08*** join/#htc-linux theknigh (n=cfnzin@89.180.2.154)
23:16.12Boydellkernal-hardstuff isnt easy...
23:16.14theknighhey everyone
23:16.17Boydell*hardware
23:16.26theknighI'm sorry to bother, but is anyone here working on mustymod?
23:16.41makkonentheknigh: I've never heard that word here.
23:17.25theknighits Eclair 2.0 for Samsung Galaxy... a person told me there wassomeone here working on it
23:17.33*** part/#htc-linux tech9iner (n=hacim@unaffiliated/tech9iner)
23:17.37makkonenwhich means... i don't know. but not many, if so.
23:17.53theknighkk... sorry to bother then :/
23:17.59tmztsearc the logs
23:18.11tmztsite:irclog.netripper.com galaxy
23:18.21tmztwe haven't seen any patches
23:18.30phhmakkonen: http://husson.hd.free.fr/calibrate.c
23:18.32phhthat's my current code
23:18.37tmztmost of the 'eclair' stuff is similar to what ppp is working on
23:18.39phhI think all it lacks is a BLIT
23:18.40tmztphh :)
23:18.57tmztthat would be awesome if you got blit working
23:18.58toer22:41:49 < cr2> dd if=dump-nand of=gsensor.cal bs=1 skip=$((0x2400000+0xc1000+0x3c8)) count=$((0xc))
23:19.01toer22:43:21 < leviathan> okee
23:19.02phhtmzt: uh ?
23:19.08toer22:43:24 < leviathan> :D
23:19.08toer22:43:45 < leviathan> anyway
23:19.09toer22:43:53 < leviathan> I'll sleep now
23:19.09phhtmzt: blit is damn easy
23:19.11toer22:44:05 < leviathan> I need to get up early in the morning tomorrow
23:19.12tmztphh: eclair
23:19.13toer22:44:18 < leviathan> I've got a meeting
23:19.16toer22:44:23 < leviathan> need to travel 1hour
23:19.18phhtmzt: blit in eclair ?
23:19.19toer22:44:28 < leviathan> so
23:19.21toer22:44:29 < leviathan> gn8
23:19.22phhok that's not damn easy :p
23:19.23phhtoer: ?
23:19.24toer22:44:32 < leviathan> :)
23:19.26toer22:44:40 < leviathan> oh
23:19.28toer22:44:44 < leviathan> and I need to reboot
23:19.31toer22:44:52 < leviathan> so if theres something new
23:19.34toer22:45:05 < leviathan> just contact me over email while I'm offline
23:19.36toer22:45:06 < leviathan> cu
23:19.38toer22:45:15 -!- leviathan [n=quassel@c-82-192-226-27.customer.ggaweb.ch] has quit [Client Quit]
23:19.40phhhum.
23:19.42toer22:46:17 < cr2> sse2: 16 after 512 block ? i have a samsung file here
23:19.44toer22:47:07 < cr2> or was it 0x2000 block...
23:19.46toer22:48:24 < cr2> 22:13:36 [D:GSNR] Pass CRC32-3.M
23:19.49toer22:48:26 < cr2> 22:13:36 [D:GSNR] Assign g-sensor offset successM
23:19.50phhtoer: kill your stupid IRC client.
23:19.51toer22:48:27 < cr2> 22:13:36 [D:GSNR] Calibrate Offset: x = -60,y = 74,z = 107M
23:19.54toer22:48:29 < cr2> 22:13:36 [D:GSNR] Read G-sensor calibration data from flash.M
23:19.56toerops
23:20.15tmztphh: by fbflip29 doesn't work
23:20.16toerit was more than 5 lines so it should have ask me
23:20.18toer:\
23:20.23phhtmzt: fbflip29 ?
23:20.35tmztpeople.openezx.org/tmzt
23:20.35phhtmzt: it's MSMFB_BLIT
23:20.42tmztoh
23:21.02phhread copybit.c for an implementation sample
23:21.06phhor my calibrate.c in 1m :p
23:21.15tmztcool
23:21.25tmztmaybe getting X to work is doable
23:21.49phhhum, english homework to finish first
23:21.56tmztgnutoo come back
23:22.09tmzt?
23:22.12tmzt? :)
23:22.23chamonixphh: async connection drop when installing hspl from vmware so I have to get hands on a box with windows host
23:22.35phhchamonix: arf
23:22.54tmztchamonix: try htcflasher?
23:23.05phhtmzt: without even HSPL ?
23:23.19chamonixit seems to be due to the phone returning another usb id/vendor once the updater starts
23:23.22tmztsspl
23:23.41phhchamonix: anyway to flash hspl, you do want a system as stable as possible
23:23.51tmzttrue
23:23.53chamonixI guess so :)
23:23.57phh(meaning not windows, ok.)
23:24.12chamonixnow where am I gonna find an xp sp2?
23:28.12theknighanyone here worked on andromnia? or with sonique?
23:29.20makkonenah. the touchscreen calibration settings from winmo give worse results for me anyway. oh well. I think winmo's calibration screen points are slightly closer to center.
23:30.57makkonenchamonix: I assume it's not too hard, if you're not looking for something legal.
23:31.41chamonixI meant a box with one running :) I guess I have to get an old disk and reinstall+update
23:33.06Markinusphh: I looked a bit more why the gps isn'T starting. The driver is registering successfully but the vogue_gps_ioctl is never called
23:33.19Markinusso the gps in't enabled and the rpc servers not started
23:37.42*** join/#htc-linux leaigor (n=laigor@188.134.16.241)
23:46.56IceBonehttp://farm5.static.flickr.com/4011/4256841390_c765c2d597.jpg
23:47.24makkonenawww
23:47.42IceBoneI want that so much, I'm afraid I'll start growing ovaries.
23:54.50theknighlool
23:55.03*** part/#htc-linux theknigh (n=cfnzin@89.180.2.154)

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