IRC log for #htc-linux on 20091031

00:39.23*** join/#htc-linux Epsylon3 (i=kvirc@ip-103.net-89-2-83.rev.numericable.fr)
00:40.02Epsylon3hi
01:29.56*** join/#htc-linux mrmoku|a` (n=mrmoku@ppp-88-217-5-48.dynamic.mnet-online.de)
01:40.15*** join/#htc-linux marex (n=marex@vasut.kolej.mff.cuni.cz)
01:44.14*** join/#htc-linux wikitesti (i=5d2d564d@gateway/web/freenode/x-bujsgztbwexvsmnn)
01:44.23*** part/#htc-linux wikitesti (i=5d2d564d@gateway/web/freenode/x-bujsgztbwexvsmnn)
01:47.25*** join/#htc-linux mes (n=mes@203x20781148.lightspeed.ca)
02:04.14*** join/#htc-linux surge (n=surge@pool-98-118-154-21.bflony.fios.verizon.net)
02:39.01*** join/#htc-linux surge (i=surge@pool-98-118-154-21.bflony.fios.verizon.net)
02:41.40*** join/#htc-linux Tulga (n=chatzill@203.91.113.10)
02:42.32TulgaI compiled android source on my ubuntu. now what should I do to create zImage and initrd.gz?
02:50.41Guest36787zImage is linux kernel
02:51.19tprinitrd is a init script which load the rootfs or system
02:51.45Battousaiit's actually a small filesystem of its own
02:51.55Battousaiit can load modules and whatnot before changing to the live root
02:53.05tprhttp://github.com/tpruvot/android-initrd
02:58.15*** join/#htc-linux luminoso_ (n=lumos@av-217-129-139-239.netvisao.pt)
04:05.04tprerf, i ve loaded nand modules, but nothing is detected...
04:07.18*** join/#htc-linux BHSPitLappy (n=BHSPitLa@unaffiliated/bhspitmonkey)
04:17.10*** join/#htc-linux g55 (n=g55@rgnb-5d8742f3.pool.mediaWays.net)
04:37.34*** join/#htc-linux panicbutton (n=pb@74-143-95-10.static.insightbb.com)
04:41.01*** join/#htc-linux thedicemaster (n=thedicem@j89051.upc-j.chello.nl)
04:48.08*** join/#htc-linux ToAsT (n=Administ@115-106.96-97.tampabay.res.rr.com)
04:53.46ToAsTi have a diam500 and i need to get a calibration for wifi im unable to get any of the older wifi buids to boot. any other options to get this?
04:59.52ToAsTi also notice when tryin to boot these older builds i get an error: invalid module format  for the wifi driver. is this the norm?
05:02.23*** join/#htc-linux Tulga (n=chatzill@203.91.113.10)
05:03.27tpryour kernel is not compatible with module
05:03.53kam187hey tpr, you know much about the SMI/EBI allocation on these MSM processors?
05:03.55tprmodules are compiled for a kernel version
05:04.25ToAsTit does it even when i use the kernels in the packs
05:05.39tprkam187: no sorry
05:05.51kam187ok :(
05:05.52tprto use GPU memory ?
05:06.26tprhttp://forum.xda-developers.com/showthread.php?t=564975
05:06.44kam187yeah i'm that far already :)
05:07.01kam187on the samsung galaxy, there seems to be a second copy of the AMSS in upper EBI
05:07.42kam187I dont understand why all of lower SMI is used for AMSS and so is upper EBI
05:07.46tprmaybe an alternative version
05:07.53kam187http://androidforums.com/samsung-i7500/10881-galaxy-how-much-ram-96mb-109mb-128mb-192mb.html#post77540
05:07.56kam187illustrates it a bit better
05:08.07kam187it shouldnt be in both places tho.  Why have 2 copies in ram
05:09.09tprcan you compare them ?
05:09.23ToAsTtpr: anyideas?
05:09.25kam187i cant read either of those regions :(
05:09.45kam187i can see in the AMSS file, that its loading into upper EBI
05:10.05tprmmm yea
05:10.17tprmaybe a buffer to flash radio
05:10.25*** join/#htc-linux droid001 (n=g1@p4FDCFD59.dip.t-dialin.net)
05:10.42kam187yeah must be something like that
05:10.49kam187but i'd like to use it for android memory
05:11.15tprmmm, i think gpu memory is usefull ;)
05:11.34kam187i've moved GPU1 and FB out of EBI
05:11.42kam187i have 105 mb now
05:12.01kam187well 109Mb and about 4mb used for the kernel, so 105 usable
05:14.56*** join/#htc-linux JoshuaL (n=JoshuaL@unaffiliated/joshual)
05:19.24*** join/#htc-linux tids2k (n=r3x@d58-106-255-105.riv7.nsw.optusnet.com.au)
05:19.31tids2kgood morning
05:19.42tids2kping @ darkstar
05:19.47tids2kping @ dzo
05:20.03tids2khello
05:36.23kam187hmm i think i need to disable the MPU
06:12.21*** join/#htc-linux stickboy (n=anonymou@128.153.210.116)
06:14.26tprwhere do you cange the smi mapping ?
06:14.35tpror ebi
06:34.47*** join/#htc-linux x29a_ (n=x29a@unaffiliated/x29a)
06:35.27*** join/#htc-linux tids2k (n=r3x@d58-106-255-105.riv7.nsw.optusnet.com.au)
06:36.02tids2kguys what is the difference between a qualcomm MSM 8250 and a QSD 8250
06:36.39tprhmm
06:36.40tids2kis the MSM platform specifically for the Windows Mobile ..
06:36.53tprno
06:37.29tids2kcoz as the processor in the hd2 reads as msm8250 and not qsd8250 like in toshiba tg01,acer liquid
06:37.32tprmsm i maybe the generic name
06:37.53tprmsm is the generic name under linux
06:38.03tprarm-msm
06:38.22tprarm/mach-msm
06:38.38tpri think the M is mach, not sure of that
06:38.44tids2kbut msm and qsd are those two different processors with the same instructions
06:39.19tpryea
06:39.22tprSnap dragon
06:39.37tprit's the new technology from qualcomm
06:39.47tprlike centrino
06:39.50tprfor intel
06:40.12tids2kbut why the generic name and not the commercialised name for the dragon in hd2
06:40.34tprmaybe because this codename is recent
06:40.54tids2ki think htc has added some custom core to it ..
06:41.20tprthis part is software (radio)
06:41.29tprthe cpu firmware
06:41.55tprhttp://pdadb.net/index.php?m=cpu
06:42.02tids2kthe dragon is made on the arm cortex-a8 ? so is it faster ? tpr can u point me to any benchmarks between them
06:42.04tprthere is no more msm8520
06:42.11tids2ki had been to that site thanks though
06:42.25tprso i think its same cpu
06:42.54tids2kso are u suggesting porting android on a qsd and msm would be the same process
06:43.00tids2ksame method ?
06:43.11tprARMv7
06:43.59tprPredecessor: 32bit Qualcomm MSM7201A
06:44.33tprmsm 7200 is ARMv6
06:45.15tprand cortex a8 is ARMv7-A
06:45.39tids2kso it is not based on the arm7a chipset
06:45.42tids2k?
06:46.19tpri think no
06:46.31tids2koh ..
06:47.17tprhttp://www.qualcomm.com/products_services/chipsets/snapdragon.html
06:47.47tids2kthanks .
06:48.09tids2kso which one is faster do u think arm7a or the legacy snapdragon
06:48.23tprhard to tell you
06:48.29tprdepends of frequency
06:48.33tpron
06:48.41tids2kas i see the nokia n900 will be running on the arm cortex a8
06:49.00tprOptimized power management for all-day battery life
06:49.34tprHigh-performance 3D graphics – up to 22M triangles/sec and 133M 3D pixels/sec
06:49.40tprHigh-resolution up to WXGA (1280x720) display support
06:49.47tprMultiple audio codecs: (AAC+, eAAC+, AMR, FR, EFR, HR, WB-AMR, G.729a, G.711, AAC stereo encode)
06:49.55tprBuilt-in seventh-generation gpsOne® engine with Standalone-GPS and Assisted-GPS modes
06:49.57tids2khehe copy paste rocks ;)
06:50.01tpr600MHz DSP
06:50.07tpr1 GHz CPU
06:50.17tprupport for Windows Mobile®, Android, and a number of Linux®-based operating systems
06:50.30tprSupport for mobile broadcast TV (MediaFLO™, DVB-H and ISDB-T)
06:50.46tprand 12-megapixel camera support
06:51.21tids2kis it for the snapdargon or the arm7a specs
06:51.40tprdragon
06:51.47tids2kok
06:51.58tids2kso msm is the legacy name for the dargon
06:51.59tids2khmnn..
06:53.17tids2kthanks for the info tpr
06:53.29tprnp
06:54.38*** join/#htc-linux BabelO (n=fcr@unaffiliated/babelo)
06:57.24tids2ktpr u thr
06:57.35tpryes
06:58.38tids2kcan u point me to the benchmarks for arm cortex a8 and snapdragon
07:00.03tprdont have sorry
07:01.59tids2knp thanks
07:25.09*** join/#htc-linux Epsylon3 (i=kvirc@ip-103.net-89-2-83.rev.numericable.fr)
07:37.56tids2kepsylon3 howz ur port going on ?
07:38.16Epsylon3i explore kernel abilities ;)
07:38.28Epsylon3just set a 6x6 font
07:38.36Epsylon3too little to see what is wrong
07:39.34tids2koh ok
07:39.59tids2kis that your site where u post the updated zimages ?
07:40.10tids2kfor blackstone and raphael
07:41.46Epsylon3no, mine is only for initrd
07:42.05Epsylon3i only have a kaiser, so i'm using the vogue
07:42.07Epsylon3kernel
07:44.05*** join/#htc-linux GlemSom (n=glemsom@0x5da34bca.cpe.ge-1-1-0-1105.sdnqu1.customer.tele.dk)
07:47.15tids2kok .
07:47.33tids2kdo you think android can be ported on a htc touch hd2
07:47.54Epsylon3yes
07:48.18tids2kand how hard do u think that would be ... considering its a new platform
07:48.54tids2kand also is there any differnece between a msm8250 and a qsd8250 snapdragon ?
07:50.24*** join/#htc-linux swc|666 (n=infidel2@unaffiliated/swc666/x-4934821)
07:52.45Epsylon3grrr
07:52.54tids2k?
07:53.05tpr:p
07:53.11tids2khahaha ...
07:53.15tids2klol ..
07:53.49tids2kim a bit confused man @ with the msm and qsd thingy i dont know if its just me .. but there is something to it
08:24.51*** part/#htc-linux tids2k (n=r3x@d58-106-255-105.riv7.nsw.optusnet.com.au)
08:42.39*** join/#htc-linux itchy8me (n=itchy8me@ip80-116-211-87.adsl2.static.versatel.nl)
08:44.44*** join/#htc-linux timebomb (n=tb@f054020089.adsl.alicedsl.de)
09:31.40*** join/#htc-linux g55 (n=g55@rgnb-5d87de3a.pool.mediaWays.net)
10:15.13*** join/#htc-linux _kiozen (n=oeichler@p54920289.dip0.t-ipconnect.de)
10:39.47*** join/#htc-linux itchy8me (n=itchy8me@ip80-116-211-87.adsl2.static.versatel.nl)
10:45.52*** join/#htc-linux Squarc (n=Squarc@82-217-32-29.cable.quicknet.nl)
10:46.34*** join/#htc-linux toi (n=toi@d54C2A96D.access.telenet.be)
11:05.31*** join/#htc-linux cr2 (n=cr2@ip-109-84-91-31.web.vodafone.de)
11:06.35cr2phh: do you know what is AT, PI, and RBDS ?
11:06.45cr2s/AT/AF/
11:06.54phhno
11:07.30cr2http://www.continentalimports.com/rds.html
11:08.29cr2Program Identification code (PI)
11:08.40cr2Alternative Frequency lists (AF)
11:09.19cr2hoho. Location and Navigation (LN)
11:09.59cr2RDS in Europe, RBDS in the USA
11:10.43cr2fd33, fd35, fd37
11:11.53cr2phh: can we detect FMchipversion and FMchipsubversion without looking into wince registry ?
11:12.05cr22,0 and 2,1
11:12.14phhi guess there must be some registry controls no ?
11:12.35phhthe same way as hciattach detects which chip it is
11:13.18phhhciattach gives LMP version/subversion, this might be linked
11:13.46cr2firmware version ?
11:14.02cr2<PROTECTED>
11:14.13cr2<PROTECTED>
11:14.16cr2<PROTECTED>
11:14.25cr2<PROTECTED>
11:14.29cr2<PROTECTED>
11:15.12cr2<PROTECTED>
11:15.19cr2<PROTECTED>
11:16.02cr2fd37 is HCI_VS_I2C_FM_POWER_MODE
11:17.30phhwe would need hard with 2.0 and with 2.1 to compare
11:17.51phhTexas module LMP version : 0X4
11:17.51phhTexas module LMP sub-version : 0X15B5
11:17.51phh<PROTECTED>
11:17.51phh<PROTECTED>
11:17.55phhhere it is what i get for 2.1
11:19.32cr2fd35 is HCI_VS_I2C_Write_to_FM
11:20.19cr2fd33 HCI_VS_I2C_Read_from_FM
11:20.36cr2the 2.1 .bts is much more extensive
11:20.42cr2i think i have 2.1 too
11:22.16cr2for me it looks like a software controlled radio
11:22.29cr2155cc = 87.5MHz
11:22.42cr21a5e0 = 108MHz
11:22.57cr2128e0 = 76MHz
11:23.06cr215f90 = 90MHz
11:25.25_kiozencr2: http://70.40.222.100/forum/viewtopic.php?f=2&t=1462
11:28.18cr2_kiozen: wee :)
11:28.57cr2CPU S3C2412 (id 0x32412003) ?
11:28.58*** join/#htc-linux Zinbolic (n=zinbolic@84.238.80.215)
11:28.58_kiozenlooks like someone did the work for you ;)
11:29.02_kiozenis he known to you?
11:29.10cr2not the best model ?
11:29.12cr2no
11:29.57cr2it's the barebones s3c setup
11:30.15_kiozenthink they use the samll 400/500 ones
11:30.27_kiozennot the big 1500/2000
11:31.03_kiozenPNA is easier, less cheesy hardware to bother about
11:31.25cr2hmm. where is the source ?
11:31.41cr2dmesg output is very helpful anyway
11:32.22_kiozenonly binaries
11:32.40_kiozenbut you can ask the guy
11:33.25cr2not right now :)
11:33.43_kiozenlol "2. There is no yet battery driver to report its charge. No power management to turn the unit off when battery is low." I know that one :)
11:33.57_kiozen3. There is no proper solution yet for shutdown (turn the unit OFF). This is important because with improper shutdown the information on SD card can be damaged.
11:34.01_kiozenand that one too
11:34.09cr2hahaha
11:34.18_kiozenit's always the same issues on every device
11:34.42cr2the nand full nand dump can't hurt
11:35.05cr2and some gpio dump+tracing
11:35.07_kiozenask him :)
11:35.21cr2how much does this device cost ?
11:36.02cr2_kiozen: i bought a new car, so don't have any money for toys in the next 2 months ;)
11:36.32_kiozenLOL, ok :)
11:36.45cr2273000+ on the old car already.
11:36.51_kiozenwhat happened to the old one, any funny story to tell?
11:37.24cr2it produces strong metallic sounds from the motor, when cold.
11:37.35_kiozenhttp://www.amazon.de/Magellan-GPS-Tritron-500/dp/B000WO4D9I/ref=sr_1_1/278-0507521-7075954?ie=UTF8&s=ce-de&qid=1256989042&sr=8-1
11:37.58_kiozenso it didn't fell into pieces on the highway?
11:38.12_kiozenyou got rid of it befor
11:38.22_kiozenwith abwrackprämie?
11:38.30cr2no
11:38.45_kiozenbad timing ;)
11:38.45cr2i'm not crazy to buy a "new" car :)
11:38.53_kiozenok
11:39.10cr2yeah, don't know what to do with the old one.
11:40.11_kiozenplant some flower into it
11:41.53cr2lol
11:42.49_kiozenok, let's sweeten up my weekend in the office with some sushi to go, bbl
11:42.52cr2phh: http://khason.net/blog/reading-and-decoding-rds-radio-data-system-in-c
11:44.46phhcr2: i thaught the AT command returned processed data ?
11:45.33cr2phh: AT command ?
11:45.56phharen't RDS data retrieven with an AT command ?
11:46.13cr2phh: you can push the .bts with hcitool
11:46.20cr2no.
11:46.32cr2rds is
11:46.47cr2fd33, 3, 5, 0xc0, 0
11:46.49cr2aka
11:47.23phhhow do we get data back ?
11:47.24cr2hcitool cmd 0x3f 0x133 5 0xc0 0
11:47.42cr2i guess hcitool will parse the response
11:48.09phhseems a lot of fun then
11:48.13cr2but you need to send commands to swithc BT on, FM/RDS on and to select the frequency
11:48.35cr2yeah, but you can write FM radio app in bash :)
11:48.45phh:)
11:49.02cr2the only missing thing is how to calculate the index
11:49.11cr2from the channel frequency
11:49.38cr2because the frequency select register (0xa) is only 1 byte :)
11:50.03cr2hehe. i need to put this onto wiki
11:50.19cr2phh: but you can dump all these registers already
11:51.27cr2for reg in 1 3 0xa 0xb 0xc 0xd 0xe 0xf 0x10 0x11 0x12 0x13 0x14 0x17 0x18 0x19 0x1a 0x1b 0x1c 0x1d 0x20 0x2d 0x2f
11:51.30cr2do
11:51.38*** join/#htc-linux LarsOevlisen (n=LarsOevl@188.178.241.206)
11:52.02cr2hcitool cmd 0x3f 0x133 $reg 2 0
11:52.03cr2done
11:52.18cr2don't know if you need to push the .bts first
11:52.47phh< HCI Command: ogf 0x3f, ocf 0x0133, plen 3
11:52.47phh<PROTECTED>
11:52.47phh> HCI Event: 0x0e plen 4
11:52.47phh<PROTECTED>
11:52.55phhfor the first command
11:53.22cr2this is cmd 01 33 FD
11:53.31cr20xc is RSSI ?
11:53.34phhhttp://pastebin.com/m343b4aff
11:54.36cr21 is rssi, 1c is volume, a is frequency, 1d is audioen, 20 is fm/rds en
11:55.03cr2but for the actual data used, we need to mmutrace the HCI buffer
11:55.12*** join/#htc-linux Gnutoo (n=gnutoo@host25-145-dynamic.51-79-r.retail.telecomitalia.it)
11:55.47cr2phh: you may echo the command before sending
11:56.16*** join/#htc-linux dream_kill (n=nospam@92.56.53.50)
11:56.34cr2ah
11:57.05phhhttp://pastebin.com/m383ab1a4
11:57.14cr2it's already there
11:58.20cr2need to check how do they read the BT addr with vendor-specific command
11:58.48cr2hcitool may be ok for sending commands, but don't know how to read the responses
11:59.20cr2> HCI Event: 0x0e plen 4
11:59.22cr2<PROTECTED>
11:59.49cr2NetRipper: ping
12:05.35cr2phh: bdaddr.c in $BLUEZ/test
12:06.23cr2#define OCF_TI_WRITE_BD_ADDR0x0006
12:06.32cr2don't know if it works for us
12:06.52cr2but we can put our OCF here
12:09.55*** join/#htc-linux toi (n=toi@d54C2A96D.access.telenet.be)
12:10.25*** join/#htc-linux tsdogs (n=tsdogs@tsdogs.metalit.net)
12:10.42cr2hey tsdogs
12:10.55tsdogshi cr2
12:11.25cr2tsdogs: we are hacking FM radio on {raph|diam}100
12:11.33tsdogscool
12:12.05tsdogsjust builded a console image for raph
12:12.23cr2need to parse the HCI response somehow
12:12.49cr2intramfs/initrd ?
12:13.43tsdogsconsole-image
12:14.04tsdogsinitrd
12:14.20cr2ok
12:14.23tsdogsbut it should have everything for initramfs too...
12:14.26cr2with wifi ?
12:14.31tsdogsonly need to find target
12:14.44tsdogsno idea, it did compile the git kernel
12:15.22cr2you need some modules and tools
12:15.25tsdogsu mean wifi in the kernel or userspace
12:16.37tsdogswell not many modules so I suppose I'll need to use the git kernel
12:17.12tsdogshow do I create an img from a tar.gz?
12:18.26phhfor which filesystem ?
12:19.01tsdogsext3 should be ok
12:19.08tsdogsdo i need to use dd?
12:19.12phhyes
12:19.16phhwhat is it for ?
12:19.20phhrootfs on sdcard ?
12:19.41tsdogssdcard (rootfs loopback mounted)
12:19.56phhyou'd better not use ext3 then
12:19.58tsdogsok then I know how to create it
12:20.17tsdogsno prob microsd costs 10 Euros :)
12:20.24phhok
12:20.26phhyou lucky raph user.
12:20.34cr2hehe
12:20.51cr2ext3 for nand
12:21.14cr2need nand byte access first
12:23.05tsdogshmm, what about a cpio archive (initramfs)
12:23.44cr2tsdogs: works for me
12:24.23tsdogsyeah, it's only 11mb uncompressed
12:24.30tsdogsso what's the cpio command?
12:24.42cr2phh: should we write a big bash fm script ?
12:24.59cr2tsdogs: was done by oe somehow
12:25.00tsdogsif it works why not
12:25.18tsdogsyeah, but I sayd I wanted a tar.gz filesystem :)
12:25.29phhtsdogs: find . |cpio -i (or -o ?) |gzip -c > initrd.imgs
12:25.40phhcpio -o
12:25.43tsdogsphh tnx
12:25.53phhoh no
12:25.56phhcpio -o -H newc
12:26.15tsdogsok
12:27.32tsdogshmm, cpio too many arguments ?
12:27.40*** join/#htc-linux skodde (n=skodde@adsl-ull-78-4.47-151.net24.it)
12:27.59tsdogsdoes not like the -H
12:28.17tsdogsok working now
12:31.13tsdogshmm, oe kernel hangs after sd detection
12:31.31tsdogslet's try with my own
12:31.52*** join/#htc-linux JoshuaL (n=JoshuaL@unaffiliated/joshual)
12:32.15phhcr2: many people complains about hanging in sd, any idea about it ?
12:32.26phhDMA, clock, 4pin VS 1 pin ?
12:32.34cr2phh: on which device ?
12:32.39phhraph/diam
12:32.53phhi think the diam i've seen was a diam400 so external SD too
12:33.10cr24 vs 1 should be in CIS
12:33.23*** join/#htc-linux Gnutoo (n=gnutoo@host25-145-dynamic.51-79-r.retail.telecomitalia.it)
12:33.33cr2we need a list of strange devices in wiki
12:33.51cr2i have no idea about !100 (and !500/800)
12:35.28tsdogsmy kernel booted but root was not found, need to change default.txt :)
12:36.36cr2tsdogs: ramboot ?
12:36.57tsdogsyeah, but need to check what's in the default.txt
12:37.59*** join/#htc-linux ToAsT (n=Administ@115-106.96-97.tampabay.res.rr.com)
12:38.41tsdogsisn't "set initrd myinitrd"  enough?
12:39.19*** join/#htc-linux DarkMasterHalo (n=DarkMast@modemcable187.118-80-70.mc.videotron.ca)
12:41.33cr2should be ok
12:42.44tsdogshmm I get VFS cannot open root device "NULL" ... please specify root=
12:44.28tsdogslol, you even hacked the logo :)
12:47.18phhtsdogs: check logs about initramfs
12:47.31phhmost likely magic wrong or something like that
12:47.34phhor didn't found /init
12:48.27*** join/#htc-linux ImCoKeMaN (n=imcokema@pool-98-111-116-175.hrbgpa.fios.verizon.net)
12:48.32tsdogsI'll try with the initramfs you gave me
12:48.55phhcr2: to put FM radio firmware, basically, dump-bin FMInit.bts |xargs hcitool cmd (with a for loop somewhere.) will do the trick ?
12:50.39cr2phh: yes. with a patched dump-brf
12:50.55tsdogshmm yours is working so it must be something with my initrd then
12:50.57phhhu ? why ?
12:51.06phhthe current one doesn't work ?
12:51.39cr2phh: but not the switch to 4Mbit ;)
12:51.52cr2the current is not user-friendly enough
12:52.15phhtsdogs: most common mistakes are wrong gzip (no -9 or such things.) or cpio (-H newc and nothing else.), unexecutable (modes, libs, and such) /init
12:52.17cr2i have
12:52.20cr2# FM ON
12:52.22cr2ACTION_SEND_COMMAND: ogf=0x3f ocf=0x137 -> 0x01 0x37 0xfd 0x01 -> payload -> 0x01
12:52.38cr2can be stripped down to
12:52.52NetRippercr2, pong
12:52.56cr2hcitool cmd 0x3f 0x137 0x01
12:52.59tsdogsphh I simply did: find . | cpio -o -H newc | gzip -c > initramfs
12:53.06cr2NetRipper: working on FM now
12:53.10tsdogsobviously from the untarred rootfs
12:53.10NetRipperah
12:53.24phhtsdogs: no error while doing this command ?
12:53.28tsdogsnope
12:53.43cr2NetRipper: do you know what is PImask ?
12:53.59tsdogshmm, but the rootfs contains linuxrc and not init
12:54.00NetRipperprobably the checksum for the first block
12:54.04phhtsdogs: hum try just find | .... not find . | ....
12:54.08phhdon't know if that matters
12:54.14phhtsdogs: rootfs= initramfs ?
12:54.19phhit must contain init for initramfs afaik
12:54.20tsdogsthough the error reported was before starting
12:54.28NetRipperlet me send you a doc cr2
12:54.33NetRippercan you give me your mail in pm?
12:54.35tsdogsbut that should have given a different error.
12:54.47phhtsdogs: what's the error ?
12:55.00cr2NetRipper: the RDS command is known, now we only need to pick the response.
12:55.08cr2NetRipper: cr2@htc-linux.org
12:55.17tsdogsVSF: cannot open root device "NULL" ... please specify root=
12:55.25phhcr2: and maybe init the FM ...
12:55.27tsdogswell, I'll manage
12:55.31phhtsdogs: that's not the real error.
12:55.34tsdogsplease concentrate on the FM
12:55.41phhif it says so it's because initramfs hasn't be launched at all
12:56.10tsdogsyeah it's like the initramfs is not as it wonts it to be
12:56.17tsdogss/wont/want/
12:56.33cr2phh: we can feed it all TIInit_5_3_53.bts , FMInit_2.bts and FM_on_2_1.bts first
12:56.40cr2phh: it will switch FM on
12:56.52phhcr2: and then we need to set the frequency.... et voila ?
12:57.08cr2phh: and you need to send 2 AT commands to switch audio out
12:57.21cr2phh: yeah. write an index in the 0xa reg
12:57.39cr2don't know the freq -> index algorithm though.
12:57.49phhthat seems really simple.
12:57.52phhlet's mod dump-brf
12:58.47cr2phh: modify this printf : ACTION_SEND_COMMAND: ogf=0x3f ocf=0x23a -> 0x01 0x3a 0xfe 0x00 -> payload ->
12:59.19tsdogswhooo I have the lights which do strange stuff here :)
12:59.21cr2with HCITOOL: tag, then you can grep for it. and cut -b
12:59.27phhtsdogs: yes it happens a log
12:59.32cr2tsdogs: :)
12:59.32tsdogshome flashing fast
12:59.44phhs/log/lot/
13:00.06tsdogsok, as far as it's normal, and no damage then it's ok
13:00.07NetRipperok see mail cr2
13:00.08phhtsdogs: i guess the capacitive panel doesn't know what to do if there is a little capacity loss somewhere
13:00.18cr2tsdogs: the leds are linked to capacitive panel too :)
13:00.22cr2NetRipper: ok
13:00.44NetRipperhope it helps.. i was more on the user-side of the driver instead of talking to the hardware
13:01.16cr2looking
13:01.19cr2# Enable Dynamic LNA mode switch
13:01.20cr2ACTION_SEND_COMMAND: ogf=0x3f ocf=0x135 -> 0x01 0x35 0xfd 0x07 -> payload -> 0x64 0x04 0x00 0x00 0x00 0x00 0x01
13:01.29phhwhat's this payload thing ?
13:01.30cr2i wish all .bts was socumented in this way ;)
13:01.33phhi don't have it in the sources you gave me
13:01.52cr2phh: it's 2 printfs in your source
13:02.03cr2i squeezed them to 1 yesterday
13:03.57cr2NetRipper: lol. Winning Notification!!! Contact : deskofsilva002@gmail.com
13:04.05tsdogsok it was the init link missing :)
13:04.08tsdogsnow it booted
13:04.13phhtsdogs: great
13:04.14cr2NetRipper: was it your e-mail ? :)
13:04.29NetRippercr2, lol
13:04.47NetRippercr2, no
13:04.49NetRipper:P
13:05.05NetRippercr2, you get one from @netripper.nl
13:05.06NetRipper;)
13:05.14cr2Dear Internet User,
13:05.16cr2This Email is to inform you that you emerged a winner of the sum of 750,000.00 Pounds.For further Information about your
13:05.17cr2Winnings,contact your Lottery Claims Officer with the following contact Address Below.
13:05.20NetRipperawesome
13:05.23cr2NetRipper: notyet
13:05.38NetRippercontact them and claim your money
13:05.44NetRipperand sue them for giving false hope
13:06.01NetRippertoo bad it doesnt work that way
13:06.06tsdogshow do I enable usbnet on my PC? (I disconnected the cable before booting, cause needed access to microsd), but now I do not see any usb device
13:06.07cr2ok, now i have your email :)
13:06.09NetRipperk
13:06.36phhtsdogs: you must have usb connected before calling haret
13:07.01tsdogshmm, so I need to disable the usbdisk first on the phone... ok
13:07.20phhhcitool cmd 0x3f 0x137 0xfd 0x01 0x01
13:07.23phhfor the first line of FM ON
13:07.34phhis it ok ?
13:07.44cr2NetRipper: the RDS request is a simple fixed command, but i don't know how the reply will look like
13:08.05NetRipperwell hopefully you'll start getting a stream of rds data
13:08.06tsdogsbtw u are still on 2.6.27 right?
13:08.22phhtsdogs: tmzt tried working on 2.6.32/31 but i think he gave up
13:08.36cr2tsdogs: wish to switch
13:08.47cr2tsdogs: for tvout and usb host
13:08.51tsdogsok, it's only 'cos I saw a 2.6.29 branch
13:09.15tsdogsdid many things change? well suppose so ;)
13:09.31cr2tsdogs: not really
13:09.49cr2tsdogs: do you have fm radio working ? and a registry editor ?
13:09.59NetRippercr2, so you should receive binary data in multiples of 13 bytes
13:10.02NetRipper104 bits
13:10.09tsdogshmm, yeah in winmo I suppose?
13:10.48cr20xc0 is ?
13:11.05cr2192...
13:11.08cr2tsdogs: yes
13:11.27cr2c is 12
13:11.40tsdogscr2: what do you need?
13:12.22NetRippercr2, maybe you don't get the checksums.. which mean you would get 64 bits for each group.. and 192 is 3 groups then
13:12.54NetRipperalthough that doesn't match my experience in winmo
13:13.14cr2NetRipper: ok, we will see it soon
13:13.41cr2tsdogs: SOFTWARE/Drivers/FMS/FMchip*
13:14.12cr2tsdogs: and also \Drivers\BuiltIn\FMS\HTCDebug
13:14.43tsdogsFMChipVersion: 2
13:14.53cr2subversion ?
13:14.54tsdogsFMMode: 0
13:15.11tsdogsno SubVersion
13:15.20cr2hmm. ok
13:15.32cr2what about HTCDebug ?
13:16.19tsdogsHTCDebu: 1
13:16.30tsdogsIndex: 1
13:16.40tsdogsPrefix: FMS
13:16.44cr2ok
13:16.52tsdogsDll?
13:16.56cr2do oyu have FMLog* file ?
13:17.32tsdogsu mean in the registry or somewhere on the fs?
13:17.41tsdogsno FMLog in the reg
13:18.17cr2in \
13:19.15tsdogsnope with explorer I cannot see it
13:20.06cr2hmm. maybe change HTCDebug to 0 ?
13:20.15tsdogsI have a FMInit_2 in /Windows
13:21.18cr2.bts
13:21.58cr2handleRdsGroup14 - 14B
13:22.20tsdogscr2: should I reboot after the change?
13:22.48cr2yes
13:23.28tsdogsrebooting, bbiaf
13:23.36cr2probably disabled ;)
13:24.16cr2NetRipper: are you using functions like that ->
13:24.19cr2FM_MuteRadio(%d)
13:24.21cr2FM_SetVolume(%d)
13:24.22cr2FM_SetRDS(%d)
13:24.24cr2FM_Tune(0x%d)
13:24.27cr2FM_SetMoSt(%d)
13:24.29cr2FM_SetBand(%d)
13:24.39cr2FM_SetPower(%d)
13:24.45NetRipperi'm using an abstraction layer, someone else made the actual interface to the driver
13:25.03NetRipperlet me see if i can check
13:25.25cr2i can correlate the raw commands to these functions.
13:26.44cr2tsdogs: from FMS.dll
13:26.46cr2Error Reading ChipSubVersion, error code = 0x%x!!!
13:26.48cr2Fm_on_2_1.bts
13:26.49cr2Fm_on_2_0.bts
13:26.51cr2\Windows\
13:26.52cr2%s%s
13:26.54cr2Unknown ChipSubVersion = %d!!!
13:26.55cr2FM ChipSubVersion = %d
13:27.01tsdogsno log so far
13:27.39NetRipperdo you have the fms.dll?
13:27.55NetRipperthen you can see its exports
13:28.01cr2FMLog_%02d.txt
13:28.03tsdogslet's try with 2
13:28.42cr2tsdogs: don't know the full path though
13:28.57NetRipperFMS_Close FMS_Deinit FMS_IOControl FMS_Init FMS_Open FMS_Read FMS_Write
13:29.02tsdogsok, I might look around and see if I find it
13:29.10NetRipperoh that's the lower level
13:29.27tsdogsyeah with value 2 I have the file there in /
13:29.44NetRippercr2, this is what the abstraction layer that I use, talks to: http://netripper.pastebin.com/f4bacddd1
13:29.47tsdogsit's 0 size though
13:29.54tsdogstrying to start fm
13:29.56cr2NetRipper: only these
13:30.01cr2[Ordinal/Name Pointer] Table
13:30.02cr2<PROTECTED>
13:30.04cr2<PROTECTED>
13:30.05cr2<PROTECTED>
13:30.07cr2<PROTECTED>
13:30.08cr2<PROTECTED>
13:30.10cr2<PROTECTED>
13:30.11cr2<PROTECTED>
13:30.19tsdogsmaybe it's the log level
13:30.46cr2tsdogs: wait a bit. and change frequencies et al.
13:30.52*** join/#htc-linux thielmann (n=thielman@78.52.96.109)
13:30.55cr2the ATLog is also buffered
13:30.59NetRippercr2, on lower level, yes... but on winmo it's like FMS.dll -> FMS_api.dll (abstraction 1 by HTC) -> GFMAPI.dll (abstraction 2 by a user) -> apps
13:31.00cr2then close the app
13:31.28cr2NetRipper: yes. FMSAPI
13:31.42NetRipperFPSAPI is not the FMS_Close stuff
13:31.49NetRipperFPSAPI is what you see in the pastebin
13:31.53cr2NetRipper: but these calls are more or less 1:1 BT commands
13:32.01NetRipperah ok
13:32.08cr2which are in turn the I2C registers.
13:32.17cr2but behind the HCI interface
13:32.18NetRippercr2, if you wish i can ask for the source code for talking to the FMS_API.dll from the original author?
13:32.27tsdogshmm, the file seems locked ... but size is still reported to 0bytes
13:32.44cr2NetRipper: i think he has published it at my request ?
13:32.52NetRipperdid she?
13:33.01NetRipperi think i only saw the code for the test app
13:33.18cr2tsdogs: the API header
13:34.38tsdogsyou mean I should put a value something like 99?
13:34.57NetRipperhttp://forum.xda-developers.com/showthread.php?t=497977 that's the thread
13:35.43cr2tsdogs: 0xff ?
13:36.02tsdogsI tried turning it off and then on again
13:37.06cr2NetRipper: yes, the fmradioapi
13:37.58NetRipperthat's not the source for the GFMAPI.dll, but for the c++ wrapper that talks go GFMAPI.dll
13:38.15cr2ok
13:38.17NetRipperfor easier programming against it from c++ instead of c
13:38.33cr2tsdogs: you may try this FMradio app too
13:39.05cr2NetRipper: but these funcs are in FMS.dll
13:39.37phhtsdogs: maybe reboot, it will force it to close the file and maybe flush buffers
13:39.44NetRipperFMS.dll has the open/close/iocontrol/read/write, but not the setvolume etc
13:39.55NetRipperFPS_API.dll has the setvolume etc
13:40.35cr2NetRipper: not exported, but they are inside
13:40.39tsdogsok, but then i need to disable the registry so it won't wipe it out on next reboot.
13:40.45cr2maybe ioctl table
13:40.46NetRipperno, im talking all exported
13:40.51NetRipperah ok
13:40.52phhtsdogs: i think the %2d is there to disable wiping
13:40.57NetRipperthat could b eyes
13:41.39tsdogsok, but I only have _00
13:41.58cr2NetRipper: this api is unbelievable bloatware :) when i think about i2c regs.
13:42.23phhtsdogs: even after reboot ?
13:42.25*** join/#htc-linux leaigor (n=laigor@188.134.16.241)
13:43.01cr2In RDS Raw data, PI appears recursively in 12 bytes (a Group).
13:43.02tsdogsyep, but I need to do more sistemic tests :)
13:43.14cr20xc
13:43.15tsdogshmm, 0xff did disable the log file...
13:43.37cr20xc0 looks like 16groups
13:43.51cr2tsdogs: ok
13:45.18tsdogshmm it is a decimal value, so now I try with 255
13:47.01*** join/#htc-linux JoshuaL_ (n=Joshua@unaffiliated/joshual)
13:47.06tsdogsnope, let's try with 9 then
13:47.54*** join/#htc-linux marex (n=marex@vasut.kolej.mff.cuni.cz)
13:48.39*** join/#htc-linux Zoolooc (n=lucian@p54953CA3.dip.t-dialin.net)
13:51.28cr2lol
13:51.31cr2- Support FMBAND_WIDEJPN (76.0 - 108.0 World wide)
13:52.04phhisn't it illegal in many countries ?
13:54.31cr2phh: in France even the 128bit SSL is illegal, afair :)
13:54.46phhno 128bit is the limit :D
13:55.01cr2ok, it must have changed :)
13:57.53cr276-90 is a TV channel
13:58.03cr2so there is nothing illegal here.
13:58.09phhoO
13:58.15phhi thaught police used these frequencies
13:58.22cr2>108
13:58.34cr2144 is amateur band
13:59.15cr2not only police, but the airplane pilots too
13:59.36cr2with the SDR it's all irrelevant anyway
14:00.35tsdogsok, the only value that generates the file is 2
14:00.45cr2tsdogs: ok
14:00.54tsdogsbut I found no way to get something into it...
14:01.07tsdogsand it's only _00
14:01.19phhtsdogs: look at the processes
14:01.25phhmaybe one holds the file
14:01.35cr2tsdogs: strange.
14:01.46cr2phh: it's the kernel in wince
14:01.47tsdogssure, but I enabled logging with the 2 value, and rebooted
14:01.53phhoh.
14:01.58tsdogsthen started the fm and done something
14:02.18tsdogsthen disabled the logging and shutdown / start up, but the file is still 0b
14:02.28cr2tsdogs: try this app http://forum.xda-developers.com/showthread.php?t=497977
14:02.36cr2tsdogs: it may spam all your log :)
14:02.45tsdogsnp
14:03.24tsdogsPower Radio, or the other one?
14:03.35tsdogsor simply the tests?
14:04.21tsdogsok downloaded xfmradio
14:04.35tsdogshmm a exe?
14:05.33cr2with source too
14:07.02cr2but the source is not very useful for us
14:08.18tsdogsthe app works, but what should I do with it?
14:08.43tsdogsif source code is not necessary it won't the log either :)
14:09.07cr2FMS.dll does the logging
14:09.29cr2the highlevel API is useless
14:10.34tsdogsok so i might try it with a value of 2 then...
14:10.46tsdogslast test the i gg
14:14.07tsdogswow, it got to 48k now
14:14.09tsdogs:)
14:14.17cr2:)
14:14.22cr2pastebin
14:17.14tsdogshttp://pastebin.ca/1650458
14:18.03tsdogsis it useeful?
14:19.06cr2.ca does not work for me
14:19.51tsdogs?
14:20.13*** join/#htc-linux luc_ (n=luc@89-115-128-35.cl.ipv4ilink.net)
14:20.39phhcr2: http://husson.hd.free.fr/1650458
14:20.39tsdogshttp://pastebin.com/m5f9e275a
14:20.41tsdogsbetter
14:20.44phh.
14:20.44tsdogslol
14:21.09cr2The requested operation could not be completed
14:21.10cr2Internal Error in Server
14:21.11cr2Details of the Request:
14:21.13cr2URL: http://pastebin.ca/1650458
14:21.14cr2Protocol: http
14:21.16cr2Date and Time: Saturday 31 October 2009 15:20
14:21.17cr2Additional Information: pastebin.ca
14:21.26tsdogscr2: ok, check the other links
14:21.29cr2This is most likely to be caused by a bug in the server program. Please consider submitting a full bug report as detailed below.
14:22.15cr2FM ChipSubVersion = 2
14:22.18cr2eh ?
14:22.27phhoO
14:22.29tsdogsit's a RAPH120 afair
14:22.44phhtsdogs: you have a FM_on_2_2.bts ?
14:22.54cr2tsdogs: what *.bts files do you have in \windows ?
14:22.58tsdogslet me chek
14:23.35cr2[FM00:01:04:684] FM_SetAudioPath(1)
14:23.36cr2<PROTECTED>
14:23.38cr2[FM00:01:04:684] FM_AUDIO_PATH_EARPHONE
14:24.24tsdogsnope only 2_0 and 2_1
14:24.47phhstrange
14:24.59tsdogsbut I cannot see extensions, should install activesync somewhere...
14:25.16cr2send_fm_event_cmd_done: status=9, cmd=9, value=88000
14:25.20cr2frequency ?
14:25.32tsdogsyes
14:25.56cr2send_fm_event_cmd_done: status=0, cmd=8, value=21
14:25.58cr2rssi
14:26.13tsdogslike I said I have a FMInit_2.bts
14:26.20cr2[FM00:01:21:254] (data len=192)
14:26.40cr2this is the 0xc0 RDS dump
14:26.47cr2NetRipper: still here ?
14:27.42cr2Not handling group type 1.
14:27.44tsdogsbtw, as I have bought it in the uk, I reflashed it with htc firmware
14:27.52cr2Not handling group type 4
14:27.59cr2Not handling group type 15.
14:28.27tsdogsok, really gg now. bb tonight I hope. cya
14:28.29cr2send_fm_event_ps_changed: freq=0x157c0
14:28.41cr2tsdogs: nice log
14:28.51tsdogscr2: good
14:28.56tsdogsbye
14:29.22cr2bye
14:29.30cr2end_fm_event_ps_changed: freq=0x157c0
14:29.35cr288MHz
14:34.03cr2Not handling group type 8
14:34.23cr2Not handling group type 3
14:34.30*** join/#htc-linux ali1234 (n=al@robotfuzz.co.uk)
14:35.44cr2Ignore - error in block B
14:35.45NetRippercr2, sounds ok
14:37.08NetRippermost apps only handle group type 0, 2, 4a, 10
14:37.23cr2NetRipper: the block is 0xc0 sized (=192 bytes) as ive said
14:37.40NetRipper192 bytes
14:37.41cr21,3,4,8,15 are not handled
14:37.55NetRipperthat's 14 groups in one message
14:37.56NetRippersounds good
14:38.02NetRippermeans good reception
14:38.21cr2it's always requested in 0xc0 blocks
14:38.33NetRipperok but probably not always valid data
14:38.34cr2maybe cached on chip or so
14:38.37NetRipperdepending on the reception
14:38.38cr2yees
14:39.30cr2need to parse this 0xc0 block somehow
14:39.46cr20,2,14 are handled ?
14:39.55cr21,3,4,8,15 are not handled
14:40.12NetRipperyes the group type is a number within the group
14:40.18cr2what is 15 ?
14:40.22cr2ok
14:40.39NetRipperbit 27-30 within a group denote the message type
14:40.53NetRipper(looking from the left)
14:41.08cr215 is fats tuning and switching
14:41.25NetRipperprobably something the radio station sends out, but the driver doesn't handle
14:41.46NetRipperit's not interesting what is or what isn't handled
14:41.52cr28 is tmc
14:42.03cr2not handled in wince :)
14:42.19NetRipperyes, but via the GFMAPI we can handle tmc
14:42.28NetRipperwhich is how they wrote the tmc support for igo
14:42.39cr2ok
14:42.43NetRipperit's not handled, but is passed to the user space
14:42.49cr24 is date-time
14:43.12cr2yes, we can handle all of them
14:43.36NetRipperif we want to
14:43.43NetRipperbut it's best to leave that up to user space
14:43.45cr2these were the groups tsdogs was receiving
14:43.48NetRipperso the dev can choose what to handle
14:44.00cr2NetRipper: it's all userspace
14:44.12cr2all fm radio.
14:44.15NetRipperok
14:44.30NetRipperi mean in linux.. that you dont go parsing message types in the kernel
14:44.34cr2even the .bts upload is in userspace
14:44.41NetRipperok
14:45.05cr2it's just a serial port in linux
14:45.09NetRipperoki
14:45.11cr2<PROTECTED>
14:45.39cr2you request rds and get a 0xc0  blob
14:45.42NetRipperhow about receiving the audio from fm and routing it to speaker?
14:45.55cr2done with AT command
14:46.08NetRipperyou have to keep requseting rds or does it just come flowing once you "enable" it?
14:46.09cr2audioloopback+setaudio(3) i think
14:46.22cr2hmm. good question
14:47.29cr2NetRipper: btw, how are they doing tmc pro ?
14:47.39NetRipperhow do you mean?
14:47.45cr2NetRipper: i think i've seen a .pdf somewhere
14:47.51cr2encrypted tmc
14:47.55NetRipperoh
14:47.58NetRipperdont know
14:48.01NetRippermaybe there's a reference in the thread
14:48.01cr2ok
14:48.11cr2yes, somewhere there
14:48.47NetRipperhttp://forum.xda-developers.com/showthread.php?t=497977 second post has a bunch of links
14:48.48cr2is there an androed tmc app ?
14:48.59NetRipperbut i dont think tmc is encrypted usually
14:49.07NetRipperor did you just mean encoding?
14:49.07NetRipper:)
14:50.19NetRippershould be getting my leo next friday btw
14:50.19NetRipper:D
14:50.24cr2there is tmc pro here in Germany, which is encrypted
14:50.28NetRipperah
14:50.36NetRipperpoor poor poor you
14:50.38cr2with wince ?
14:50.41NetRipperyes
14:51.10cr2normal tmc is not encrypted, but very often it's of questionable quality.
14:51.11*** join/#htc-linux g55 (n=g55@rgnb-5d87d8dc.pool.mediaWays.net)
14:51.22NetRipperi read a document about spoofing tmc :P
14:51.24cr2NetRipper: run haret immediately :)
14:51.36cr2and dump the smem/nand et al.
14:51.44NetRipperhow you can influence the car next to you by making him see a " terrorist thread"
14:51.47NetRipper:P
14:51.49NetRipperthreat*
14:52.04cr2fm transmitter ?
14:52.08NetRipperyes
14:52.13cr2lol
14:52.14NetRipperand sure i'll run haret
14:52.15NetRipper:)
14:52.27NetRipperit was about 50 dollars worth of equipment that you needed to pull that sunt
14:52.28NetRipperstunt
14:52.34cr2i've already seen a rom at xda-dev
14:52.45NetRipperfor leo? yes
14:52.47cr2:)
14:52.50NetRipperbut no hardspl yet, so cant flash yet
14:53.10cr2i can't split the topa100 rom
14:53.18cr2even in windows xp
14:53.22*** join/#htc-linux toi (n=toi@d54C2A96D.access.telenet.be)
14:53.37cr2damn closed source windows people
14:53.38NetRipperofficial rom? some custom roms are "optimized" which makes them unable to extract
14:53.51cr2custom
14:54.02cr2but i get the name list
14:54.22NetRipperim not into rom cooking but i know there's a technique that makes it impossible to extract a rom into a kitchen again
14:54.27cr2with a segfault later on invalid offset
14:54.43NetRipperor at least make it unusable for a cook
14:54.43NetRipper:)
14:54.55cr2fuckers, what should i say ;)
14:55.06NetRipper:P
14:55.25NetRipperyou could ask around about that in #xda-devs
14:55.26cr2xda-dev was great because of all free tools by itsme
14:55.28NetRippermore than enough cooks there
14:55.44NetRipperyea some cooks commercialise it a bit
14:56.04NetRipperdemanding donations before releasing the rom
14:56.04cr2i'm in the decooking business :)
14:56.07NetRipper:P
14:56.31cr2the best way to dump data is the old testwm5 way
14:56.52cr2but it needs many patches, though
14:57.28cr2NetRipper: i've seen that 7za supports some .wim format now
14:57.31NetRippernever heard of that
14:57.39cr2looks damn close to .nbh
14:57.47NetRipperwhat's 7za?
14:57.57cr27-zip.org
14:57.59NetRipperah
14:58.17NetRipperhehe would be fun if you could jsut open up a .nbh with 7-zip
14:58.17cr2linux version is 7za
14:58.22NetRipperah
14:58.51NetRipperbtw htc announced they won't make an android variant for the leo/hd2
14:59.09cr2http://p7zip.sourceforge.net
14:59.13cr2who cares
14:59.28NetRipperi do
14:59.47NetRipperwould be awesome if i could swithc to android just to try it
14:59.47cr2it's fun how they use uart1dm on android, and uart2dm on wince
14:59.55NetRipperas i'll be damned to buy an android device
15:00.16cr2yeah, android devices are shit (tm)
15:00.17NetRipperhow's that fun?
15:00.17NetRipper:P
15:00.29cr2and the amss mess too
15:00.41NetRipperat least the amss is open on linux
15:00.41NetRipper;)
15:00.52cr2open ?
15:00.54NetRipperand they had a chance to redesign it
15:01.11NetRipperyea, aint it? all the source to interface with the linux amss is available
15:01.15NetRipperso it's open
15:01.17cr2tpro2/diam2 have a different amss
15:01.18NetRippernot the amss itself
15:01.25cr2from raph/diam and android
15:01.25NetRipperoh
15:01.46cr2but i've found out most differences
15:01.52cr2at least the important ones
15:02.01cr2yeah 6120/6125 there
15:02.02NetRipperthey gotta do something to keep us busy
15:02.15cr2instead of 52xx/6150(cdma)
15:02.21NetRipper:)
15:02.40cr2not a big problem for an experienced person :)
15:03.09cr2they also enable/disable different irqs for wince and android ;)
15:03.18cr2BT and ADSP are the examples .
15:04.21cr2the last dirty trick to solve is GPS
15:04.46cr2i do everything as wince, but arm9 still crashes.
15:04.51cr2must be missing something.
15:05.16cr2but GPS is closed sourc e  on android too
15:06.56cr2NetRipper: is the leo rom dissectable ? don't want to dl 150MB over umts to throw it away ;)
15:07.16NetRipperlol
15:07.28NetRipperthe roms appearing now are probably dissectable
15:07.33NetRipperbut i dont know for sure
15:08.16AstainHellbringleo rom is defiantely discetable
15:08.54AstainHellbringneed a high speed link to nbh?
15:09.51NetRipperif you can give him a link to a file he can certainly dissect ;)
15:09.58cr2AstainHellbring: tar.gz of xip and imgfs files is more linux-friendly
15:10.10cr2:)
15:10.14NetRipperAstainHellbring, weren't there techniques for making rom's used by cooks that makes dissecting impossible?
15:10.22NetRipper"in favor of performance"
15:10.46NetRipperAstainHellbring, as that's why i said 'probably' dissectable :)
15:10.53cr2NetRipper: LRK may deal with such tricks
15:11.07cr2because you can adjust the source
15:11.15AstainHellbringcr2 sure I can do that
15:11.31AstainHellbringNetRipper yah but stock roms are always disctable
15:11.32cr2AstainHellbring: rhod100 too ?
15:11.42AstainHellbringnot yet
15:11.54AstainHellbringwithing a few days should have whatever version att gets
15:11.58AstainHellbringI have rhod400
15:12.02cr2ok
15:12.06cr2does not matter
15:12.10AstainHellbringwith US sims hackitvated via cmonex
15:12.21cr2hehe
15:12.26AstainHellbring:)
15:12.39cr2my US sim does not work here ;)
15:12.43AstainHellbringfucking htc placing a specific model check in radio
15:13.05cr2AstainHellbring: i think they check a gpio in wince code.
15:13.05AstainHellbringrhod400 dont pick up any US towers
15:13.20cr2and gpio is probably set by amss
15:13.35cr2put the gpios in wiki
15:13.52cr2topa and rhod have different gpios
15:14.50AstainHellbringyah I think no2chem2's wiki has gios there I'll check
15:16.48*** join/#htc-linux swc|666 (n=infidel2@unaffiliated/swc666/x-4934821)
15:31.16*** join/#htc-linux luminoso (n=lumos@av-217-129-139-239.netvisao.pt)
15:51.42*** join/#htc-linux g55 (n=g55@rgnb-5d87df47.pool.mediaWays.net)
15:57.00phhcr2: isn't normal that power management has been disabled ? The only power management thing currently activated (in the whole git, not just for one board), is setting the ARM11 clock to 250MHz
16:00.15*** join/#htc-linux thielmann_ (n=thielman@e179156008.adsl.alicedsl.de)
16:01.46cr2phh: not normal, just i want to finish lcd power first. and gps
16:01.58phhok
16:02.06phhdzo disactivated it 10 days ago
16:02.25phhand a month.
16:06.05*** join/#htc-linux kiozen_ (n=kiozen@rgnb-5d87d795.pool.mediaWays.net)
16:12.14*** join/#htc-linux kiozen_ (n=kiozen@rgnb-5d87d795.pool.mediaWays.net)
16:15.36cr2phh: have you looked at how to receive the hci replies ?
16:15.59phhhcitool cmd returns something, isn't that it ?
16:16.28cr2hm. maybe if you powerup first
16:16.53kam187hey cr2!
16:17.11kam187do you know off hand how to disable the MPU on MSM7200A ?
16:17.20cr2phh i'm looking "hcitool cmd"
16:17.21kam187i searched the logs for ages last night, lots of hits :p
16:17.41phhbash-4.0# hcitool cmd  0x03 0x0013 0x41 0x42 0x43 0x44
16:17.41phh< HCI Command: ogf 0x03, ocf 0x0013, plen 4
16:17.41phh<PROTECTED>
16:17.41phh> HCI Event: 0x0e plen 4
16:17.41phh<PROTECTED>
16:17.42cr2kam187:  i don't think you really want it
16:17.43phhbash-4.0#
16:17.47phhwe get something like that
16:17.57phhbut we get only one hci event
16:18.18phhif events are asynchronous then it's not that way
16:18.40phhbut we will have to change kernel code ...
16:18.46kam187cr2: no?  the samsung galaxy seems' to keep 2 copies of the AMSS :(  I want to disable the MPU protection and reuse the ram of the copy thats not used
16:18.55phhor filter by hand mmm
16:19.03kam187cr2: i have the 7200 datasheet, but i'm not sure if its the same on the 7200A
16:19.13cr2phh: i think it's hci0 business to take care of sync/async
16:19.31cr2kam187: where do you see 2 copies ??
16:19.31phhmmm seems right
16:19.46kam187I guess i assume there is...
16:19.53cr2phh: hcitool talks to hci0
16:20.08kam187cr2: http://androidforums.com/samsung-i7500/10881-galaxy-how-much-ram-96mb-109mb-128mb-192mb.html#post77540
16:20.15kam187i posted the info i found up there
16:20.25cr2kam187: do you have an amss dump ?
16:21.07kam187brb
16:21.08kam187yeah
16:21.11kam187sorry brb
16:21.31phhcr2: hcitool.c's code seems really simple :-)
16:21.45cr2kam187: then run objdump on it
16:25.08phhint fd=hci_open_dev(hci_get_route(NULL)); struct hci_filter flt; hci_filter_clear(&flt);hci_filter_set_ptype(HCI_EVENT_PKT, &flt);hci_filter_all_events(&flt);setsockopt(fd, SOL_HCI, &flt, sizeof(flt));read(fd, buffer, 2048);
16:25.11phhseems easy.
16:29.17*** join/#htc-linux g55 (n=g55@rgnb-5d874220.pool.mediaWays.net)
16:29.24*** join/#htc-linux luc_ (n=luc@89-115-128-35.cl.ipv4ilink.net)
16:35.04AstainHellbringcr2 you looked at the dragon rom yet?
16:37.24cr2AstainHellbring: no
16:37.42AstainHellbringwantto?
16:37.51cr2AstainHellbring: make tar.gz and pm
16:38.00cr2AstainHellbring: rhod too :)
16:38.17cr2tar.bz2 even better
16:38.19AstainHellbringcr2 you have lrk right?
16:38.28AstainHellbring*linux rom kitchen
16:38.33cr2dead now
16:38.46cr2lost the usb hdd somewhere around
16:40.19AstainHellbringk
16:40.40*** join/#htc-linux balans (n=barry@53546505.cable.casema.nl)
16:41.02*** join/#htc-linux thedicemaster2 (n=thedicem@j89051.upc-j.chello.nl)
16:41.31AstainHellbringok cr2
16:42.45AstainHellbringdragon rom I have in zip now
16:42.49AstainHellbringzip is full of the img files
16:52.24phh<PROTECTED>
16:52.24phh<PROTECTED>
16:52.28phhthis mean > 10GHz ....
16:53.21*** join/#htc-linux DarkMasterHalo (n=DarkMast@modemcable187.118-80-70.mc.videotron.ca)
16:53.29cr2where does it come from ?
16:53.30phhok the "khz" in the name is wrong
16:53.36phhboard-htc*.c
16:54.02cr2ok
17:02.24*** join/#htc-linux Gnutoo (n=gnutoo@host25-145-dynamic.51-79-r.retail.telecomitalia.it)
17:03.16*** join/#htc-linux panicbutton (n=pb@74-143-95-10.static.insightbb.com)
17:06.46*** join/#htc-linux thielmann__ (n=thielman@e179041160.adsl.alicedsl.de)
17:24.15*** join/#htc-linux Gnutoo (n=gnutoo@host171-39-dynamic.117-80-r.retail.telecomitalia.it)
17:53.22*** join/#htc-linux pronik``` (n=user@ppp-88-217-121-162.dynamic.mnet-online.de)
18:10.42*** join/#htc-linux Gnutoo (n=gnutoo@host171-39-dynamic.117-80-r.retail.telecomitalia.it)
18:18.58*** join/#htc-linux kvaster (n=kvaster@live.bn.by)
18:22.40*** join/#htc-linux stickboy (n=anonymou@128.153.210.175)
18:47.06*** join/#htc-linux balans (n=barry@53546505.cable.casema.nl)
19:10.13*** join/#htc-linux itchy8me (n=itchy8me@ip80-116-211-87.adsl2.static.versatel.nl)
19:11.30*** join/#htc-linux itchy8me (n=itchy8me@ip80-116-211-87.adsl2.static.versatel.nl)
19:12.02*** join/#htc-linux timebomb (n=tb@f054020089.adsl.alicedsl.de)
19:14.21*** join/#htc-linux c4software (n=Adium@78.250.230.84)
19:14.31c4softwarehi everyone
19:15.33tmztkam: add dzo to the search, it was less than a week ago though
19:15.45tmztalmost taught it to apt
19:17.06tmztNetRipper: cmonex can do it, it's just harder
19:18.23*** join/#htc-linux xfiles (n=xfiles@c-98-193-151-150.hsd1.ky.comcast.net)
19:18.35*** join/#htc-linux JoshuaL (n=JoshuaL@unaffiliated/joshual)
19:18.50*** part/#htc-linux xfiles (n=xfiles@c-98-193-151-150.hsd1.ky.comcast.net)
19:18.53*** join/#htc-linux g55 (n=g55@rgnb-5d874a90.pool.mediaWays.net)
19:23.20*** join/#htc-linux MethoS- (n=clemens@134.102.106.250)
19:28.25*** join/#htc-linux ali12341 (n=al@robotfuzz.co.uk)
19:29.49tmztdrivers builtin fms htcdebug 1 is default on raph500 but no log and seems to be no fm (ant?)
19:31.25phhtmzt: it has to be setted to 2 it seems
19:34.00phhanyone knows how to get which irq caused the wake ?
19:39.25cr2tmzt: no fm on cdma afaik
19:39.45cr2phh: by adding debug printk :)
19:39.53phhas usual ok.
19:40.09phhbut which printk ? :D
19:40.53cr2by disabling the wakeup irq sources
19:40.57cr2one by one
19:41.35phh/o\
19:41.47phhbtw, i already did that: http://pastebin.com/m74044c80
19:42.00phhdo you think this might break anything ?
19:42.24phhsaves 60interrupts/second when screen off
19:42.32*** join/#htc-linux Reactor16 (i=Reactor1@93.182.132.122)
19:42.47Reactor16Hi all
19:48.34tmzttids: msm is mobile station modem, what qualcomm calls all of their cell phbone main chips
19:50.55cr2phh: looks good
19:50.57tmzthello
19:51.02phhok
19:51.05tmztonly working on fm now?
19:51.09phhi hope i will be able to commit it one day.
19:51.18tmztis wifi working well on gsm?
19:51.29cr2phh: i have a lot of local patches
19:51.32phhtmzt: in linux yes, in android not really
19:51.36cr2and need even more
19:51.46phhcr2: git's still broken :/
19:51.47tmztin linux with wl12xx?
19:51.52phhtmzt: yup
19:51.57tmztok
19:52.12tmztanyone try 31 on raph100?
19:52.20phh31 ?
19:52.42tmztgitorious.org/~tmzt
19:52.49phhoh 2.6.31
19:52.54tmztmdrobnak was working on it with me
19:52.59tmztmddi is broken
19:55.12cr2tmzt: supports tvout ?
19:56.09Reactor16Any one help to unlock Htc vox
19:57.44tmztnot sure
19:58.08tmztReactor16: gsm unlock?
20:00.44Reactor16ya
20:01.47Reactor16is there way to decrypt contents of onenand chip ?
20:01.55Reactor16it contain unlock code
20:06.00AstainHellbringhey tmzt
20:15.04tmzthello
20:15.16tmztReactor16: boot linux, fix mtd
20:15.37AstainHellbringtmzt work started on rhod400 yet?
20:15.50tmztmight also try itsutils
20:16.05tmztme?
20:16.18tmztis that msm7600?
20:16.22tmzt7600a
20:16.36AstainHellbringyes 7600a
20:16.40AstainHellbringjust in general
20:17.22tmztanybody know if the mdp class device is used for anything in android?
20:31.49MethoS-kaff
20:31.52MethoS-ups
20:32.11MethoS-wrong focus ^^
20:41.51phhgrr i got a "Summary interrupt from GPIO group 2 - those used for ETM" interrupt
20:41.55phhthat's useful.
20:43.08*** join/#htc-linux Googleman (n=Reactor1@41.105.62.94)
20:50.15*** join/#htc-linux luke-jr (n=luke-jr@2002:62b3:1d4c:0:20e:a6ff:fec4:4e5d)
20:53.43flybackbbl gotta drop off a prescription
20:58.57*** join/#htc-linux balans (n=barry@53546505.cable.casema.nl)
21:05.23phhmmc as / sucks.
21:11.16*** join/#htc-linux cr2 (n=cr2@ip-109-84-116-36.web.vodafone.de)
21:14.56cr2UMULL <RdLo>, <RdHi>, <Rm>, <Rs>
21:18.28cr2hmm. what is 0x51eb851f ?
21:19.39cr20x32=50
21:21.08Gnutoohi I've the strangest things in my kernel....like size_t fbytes=0;fbytes = frames_to_bytes(runtime, frames);ssize_t alsa_send_buffer(struct msm_audio *prtd, const char __user *buf,size_t count, loff_t *pos) and fbyte is a value,count is another....
21:21.23cr2i*50
21:21.25cr2aha
21:21.44Gnutoooops
21:21.50GnutooI'll paste a better explanation
21:21.55cr2fmin+i*50
21:22.13cr2bizarre arm asm
21:22.29cr2F=fmin+i*50
21:22.42cr2i=(F-fmin)/50
21:23.02Gnutoohttp://pastebin.com/m5352ab3c
21:23.08Gnutoothere are some useless debug inside
21:23.09cr21/50 is *0x51eb851f ??
21:23.13Gnutoolike size checking
21:23.54cr2Gnutoo: where does this code come from ?
21:24.02Gnutoocodeaurora
21:24.08cr2hmm
21:24.30Gnutoo+ printks from me for debuging + advise from a friend for the size checking of certains variables
21:24.39Gnutoothe files are:
21:24.51Gnutoomsm-pcm.c
21:24.59Gnutoomsm7k-pcm.c
21:25.07Gnutooit's inside my git but in a clean way
21:25.11Gnutoo(no printk)
21:25.57Gnutooexample of output:
21:26.10Gnutoo[  116.933105] REMOVE_THAT: fbytes: 0;[  116.938568] REMOVE_THAT: count 01 : 4800
21:26.18Gnutoothat's from aplay
21:26.41Gnutoofrom mplayer count is 19200
21:27.06Gnutooprevious code without size checking was:
21:27.25Gnutoofbytes: -1
21:27.34Gnutoofbytes is:
21:27.49Gnutoopcm.h:
21:28.12Gnutooreturn size * runtime->frame_bits / 8;
21:28.17Gnutoo(frames_to_bytes)
21:28.35Gnutoocr2, what do you think?
21:30.29cr2Gnutoo: not that far yet, need to solve gps puzzle...
21:30.41Gnutoook
21:30.52Gnutoowho could help me on this question?
21:30.56Gnutoonot alsa but what I asked
21:31.03Gnutooit seems so impossible
21:31.19Gnutoobecause it's not a pointer
21:31.24Gnutooit's a value
21:31.52Gnutoox=5;f(5);f(x){print x} should print 5
21:32.21Gnutoohere the value it prints before calling the function and in the function is different
21:32.26Gnutoothe type is the same
21:32.28Gnutoosize_t
21:32.48phhgroumpf, msm_serial_hs wake_lcok
21:32.49cr2looking
21:33.11Gnutoook thanks a lot
21:33.55*** join/#htc-linux marex (n=marex@vasut.kolej.mff.cuni.cz)
21:35.01cr2Gnutoo: which lines are these  [  116.933105] REMOVE_THAT: fbytes: 0;[  116.938568] REMOVE_THAT: count 01 : 4800
21:35.33cr2phh: F=fmin+i*50
21:35.58cr2fmin is 76MHz or 87.5MHz
21:35.58Gnutooline 11
21:36.16*** join/#htc-linux surge (i=surge@pool-98-118-154-21.bflony.fios.verizon.net)
21:36.21Gnutooand line 40
21:36.31Gnutooin http://pastebin.com/m5352ab3c
21:36.38cr2yes
21:37.11cr2phh: the 76MHz vs 87.5MHz must be somewhere else too
21:37.19phhcr2: fm subversion ?
21:37.53cr2Gnutoo: but these are 2 different functions ?
21:37.57Gnutoocr2, yes
21:38.05Gnutooin 2 different files
21:38.31Gnutooif you mean alsa_send_buffer and msm_pcm_playback_copy
21:38.32cr2ok, now i get it
21:38.41Gnutooone is in msm-pcm.c
21:38.49Gnutooand the other in msm7k-pcm.c
21:40.31cr2printk(KERN_ERR "REMOVE_THAT: fbytes: %i\n");
21:40.37cr2where is %i ?
21:41.03cr2you forgot fbytes here
21:41.32cr2phh: the 50kHz step is fixed.
21:41.44Gnutooah indeed sorry
21:42.03Gnutoomust be that I'm tired
21:42.04Gnutooso sorry
21:42.38cr2phh: i have also looked at the gps init, but still don't understand what goes wrong. the modem reset code is to notify the GPS driver
21:42.44*** join/#htc-linux tsdogs (n=tsdogs@net203-187-146.mclink.it)
21:43.19phhok, i'm trying to be able to suspend (and awake)
21:43.30cr2phh: i've also rechecked the  NS/MD values for 921600, 368640 and 4000000
21:43.49cr2but my NS/MD parser was on the missing hdd ;)
21:43.55phhah
21:44.49cr2115200 -> 3ff9b / 9e0000
21:45.22cr2921600 -> 3ffcd / d00000
21:45.56cr23686400 -> 6ffe6 / ec0000
21:46.22cr24000000 ->  19ff9f / b80000
21:46.38cr2freq -> MD/NS
21:47.00cr2a fast way to do ~ ?
21:48.50cr2phh: i'm also for embedding all known clock settings in clock-wince.c
21:48.59cr2will save us a lot of trouble
21:49.11phhok
21:49.18cr2but then we need to remove silly configs like 11MHz for wifi
21:49.38cr2we also ned to decide on the rpc clocks
21:50.11cr2i fear race conditions here, and it's not 100% clear how to translate the rpc id to g1 name
21:51.31cr2.md = ((0xffff & (M)) << 16) | (0xffff & ~((D) << 1)),
21:51.33phhgrrr, so many wake locks not unlocked
21:51.45cr2<PROTECTED>
21:52.26cr23,3,6,x19
21:52.32cr2for M
21:52.40cr2ok
21:53.45cr2ff9e, ffd0, ffec, ffb8
21:53.59cr2now ~
21:54.01cr2hmm.
21:55.13cr2compl
21:55.59cr2awk '{printf("%x\n",and(0xffff,compl(0xff9e)))}'
21:56.01cr261
21:56.19cr2awk '{printf("%x\n",and(0xffff,compl(0xffd0)))}'
21:56.21cr22f
21:56.37cr2awk '{printf("%x\n",and(0xffff,compl(0xffec)))}'
21:56.39cr213
21:56.52cr2awk '{printf("%x\n",and(0xffff,compl(0xffb8)))}'
21:56.53cr247
21:57.05phhok, i hate wakelocks.
21:57.10cr2lol
21:57.21cr2it's N-M
21:57.42cr2x61+3=x64
21:58.10cr2x2f+3=x32
21:58.34cr2x13+6=x19
21:59.15cr2x47+x19=x60
21:59.20cr2comparing
21:59.42cr2ok too
21:59.55cr2prescaler...
22:01.38cr2| (0x7 & (SRC))
22:01.43cr2is ok
22:02.36cr2bic60 | 40
22:04.46cr2bic 18 removes the prescaler...
22:05.07cr2<PROTECTED>
22:05.18cr20001.1000
22:05.34cr2err
22:05.49cr2hmmm
22:09.19phhoh, there is no unwanted interrupts wakeup actually, i have just been fooled by kernel timestamps which are stopped during suspend ...
22:10.42cr2lol
22:11.12cr2AstainHellbring: ping
22:13.18cr2phh: the BT clock logic is recovered
22:13.31cr2phh: now you need to check if it works
22:13.57phhgive me the lines
22:14.34cr2cleaning and making a patch
22:17.06*** join/#htc-linux yoyey (n=yoann@lns-bzn-49f-81-56-185-87.adsl.proxad.net)
22:19.16*** part/#htc-linux yoyey (n=yoann@lns-bzn-49f-81-56-185-87.adsl.proxad.net)
22:20.37Gnutooso it's definitely the frame size
22:21.14Gnutooin aplay's case the loop is run once...it consume all the frames and go out of the loop,then it configures the soundacrd and it works
22:21.39Gnutooin mplayer's case it run the first time in the loop,then block at the second run in the loop
22:21.47Gnutooso it nevers goes out of the loop
22:22.12cr2phh: big patch https://privatepaste.com/d3U3oCaJzp
22:22.19cr2Gnutoo: mplayer bug ?
22:22.37Gnutoopulseaudio does the same
22:23.01Gnutooand I was in the kernel when I was talking...
22:23.47cr2phh: 640 ??
22:23.50cr2awk '{print (108-76)*1000/50}'
22:23.51cr2640
22:24.00phh640 what ?
22:24.02phhsubchannels ?
22:24.07cr2ok, for 2byte
22:24.26cr2yes, frequency FM grid
22:24.32cr2biggest index value
22:25.08cr2so it's only needed to find the jap/ccir switch
22:25.23phhgroumpf, every patch got rejected, i have to merge by hand
22:25.33phhfile*
22:25.39cr2because the raw index is relative to fmin
22:25.41cr2hehe
22:27.00phheven arch/arm/mach-msm/board-htcraphael-gps.c ... i'd like to understand how this is possible /o\
22:27.43phhoh...dos2unix's power ...
22:27.44phhbah
22:27.58Battousaiah line endings. they'll get you every time
22:28.36phhyeah...
22:28.56cr2privatepaste is evil
22:29.31cr2not only they hook https to googel tracking, but also add \r ;)
22:30.08phhbetter after dos2unix.
22:30.17cr2ok
22:34.27phharch/arm/mach-msm/board-htcraphael-gps.c:47:2: error: #error "Unknown AMSS version"  <---- hu ?
22:35.34cr2MSM_AMSS_VERSION_5200
22:35.45cr2what do you have in .cnfig ?
22:36.22phhCONFIG_MSM_AMSS_VERSION_5200=y ...
22:37.23cr2so why is it unknown ?
22:38.42cr2err
22:38.45cr2forgot CONFIG
22:39.02cr2but why did it work for me on topa ???
22:39.48cr2<PROTECTED>
22:39.56cr2such style may be even better
22:43.31phhstarting
22:44.05cr2:)
22:45.15phh?!? frozen
22:47.14cr2a new bug ?
22:47.20phhdon't know
22:47.24cr2check ramconsole
22:47.25phhi think i broke something :p
22:47.35phhcr2: what's the address again ?
22:47.48cr2you have diam ?
22:48.03phhyes
22:48.36cr2i think dzo moved it to 0x800000 ?
22:50.08c4softwareyes dzo moved to 0x8000000
22:50.40phhc4software: sleep works, but it takes 10seconds to wake up
22:50.55c4softwarehmm nice work
22:51.12phhc4software: actually i did nothing.
22:51.16c4softwareIts due to what driver you know ?
22:51.18phhjust removed dzo's modifications ...
22:51.25c4softwarelol
22:51.27cr2lol
22:51.41c4softwareThz Dzo diam its really different
22:51.53c4softwareno frontal camera, no 3G, no Wifi, etc
22:52.04phh?!?
22:52.17cr2what diam is that ?
22:52.25tmztchinese
22:52.38tmztbut 3g is probably frequency thing
22:52.40cr2diamXXX ?
22:52.45tmztor just broken
22:52.49tmztnot sure
22:52.51c4softwarediam100 too apparently
22:52.56phh<PROTECTED>
22:53.12cr2phh: 8mb physical
22:53.14phhboth gives me exceptions /o\
22:53.27c4softwareno no, the dzo diam don't have the feature at all, its say this last time i talk to him in private
22:53.39cr2phh: 7mb ?
22:54.02phhi think i'll read source code.
22:54.18LittleJwhere can i get an already builded version of android
22:54.50LittleJand where moust of the things work :) including sleep :)
22:54.54phh0x00800000
22:56.48phhcr2: i have many dmesg in it /o\
22:58.02tmztLittleJ: device?
22:58.10LittleJdiam 100
22:58.17Gnutoowow I know how to make aplay block...
22:58.18tmztwhehther sleep works is mostly kernel issue
22:58.18Gnutoobuffersize=19200
22:58.28tmztah
22:58.35Gnutooperiod size 300
22:58.38Gnutooit makes it block
22:58.52Gnutooit doesn't wait for the ioctl tough but it get called a lot
22:59.04Gnutooit seems to loop on it somewhere
22:59.50cr2phh: many dmesg ?
23:00.03phhcr2: i have 9000s timestamps.
23:01.10phhwhile system freeze at startup
23:04.42cr2hmm
23:05.15phhi'm doing it wrong.
23:08.33LittleJtmzt so can u provide me with a build link ?
23:09.32tmztconnect-utb.com
23:09.42*** join/#htc-linux LarsOevlisen (n=LarsOevl@188.178.241.206)
23:10.13tmztgl: 's
23:10.17tmztglemsom
23:10.24tmztand dzo
23:11.15LittleJtmzt thanks will give it a try
23:12.42cr2<PROTECTED>
23:12.44cr2lol
23:21.06mdrobnakHey everyon.
23:21.11mdrobnak*everyone.
23:24.36dzohi mdrobnak
23:24.45tmzthey
23:24.56tmztget anywhere with 31?
23:25.26mdrobnakJust saw you made a branch now
23:25.35mdrobnakHow about you?
23:26.13tmzta few days ago
23:26.16tmztmddi is broken
23:26.32tmztneed to remove mdp class devices or switch to samsung version
23:27.24mdrobnakMDDI has been my problem all along, I thought..
23:27.42mdrobnakThe registration is convoluted to me
23:27.47tmztlooks like it
23:27.49tmztit is
23:27.55tmztmddi should be a bus
23:28.14tmztbut it's registering platform devices on the platform bus
23:28.17mdrobnakand I've been trying to start practicing guitar again, so I've been hands off on android recently
23:28.20tmztwhich is completly wrong
23:28.30mdrobnakdzo: What camera sensor do we have in the RAPH?>
23:28.52mdrobnaktmzt: Right, which is probably why it's broken :-)
23:29.36dzosame as g1, more or less.
23:29.36mdrobnaktmzt: But how can the Samsung version work if it's totally different MDDIs?
23:29.36tmztwe have to port our client code
23:29.36tmztbut the code is cleaner
23:29.36dzojust need to port my vfe driver from vogue. g1 does it in userspace.
23:29.37tmztand no class devices
23:29.39mdrobnakdzo: Any idea of the sensor name? I see a few options in 2.6.32
23:29.45tmztI really want to do is:
23:29.57tmztmove clients to clients
23:30.01tmztmake mddi a bus
23:30.27tmztmove lcms/drivers to their own ops structure
23:30.30cr2elf: ELF 32-bit LSB executable, ARM, version 1, statically linked, corrupted section header size
23:30.36tmztwhich abstracts spi
23:31.10tmzteventually use drm for the dma stuff but no reason to right now
23:31.10dzomt9t013, but thats the i2c interface to the ccd, the rest is done by the adsp.
23:31.36tmztexcept google added a lot to the client i2c driver that doesn't belong there
23:31.54mdrobnakdzo: Yeah, Bayer 3M it says
23:32.07tmztdzo: you use ramconsole for everything?
23:32.28tmztany reason why adding tty ops to htcfb and supporting it as console won't work?
23:32.42dzofor debugging after a kernel crash.
23:32.48tmztor should I get a serial setup to debug mddi
23:33.11dzoif kernel is running, just use adb to debug.
23:33.44phhdzo: why have you disactivated power collapsing ?
23:33.47tmztthere's some example code in linux that allows unregistering an fb and switching to a different one
23:34.04tmztdzo: also. have you ever got apps sleep working?
23:34.06dzoi haven't, perhaps somebody else did.
23:34.23tmztor what mode works better
23:34.54dzotmzt: no, never worked for me. mode 1 should work, also mode 0.
23:34.55mdrobnaktmzt: The update speed on htcfb seems very slow.
23:35.22dzowhy do you need htcfb?
23:36.17tmztit is
23:36.24tmztit updates the whole screen
23:36.29tmztshould be using putc
23:36.36mdrobnakthats what I figured
23:36.38mdrobnakit was doing
23:40.04mdrobnaktmzt: Did you get ram console working on your side?
23:40.22tmztI don't know the address
23:40.26tmztfor raph500
23:40.31tmztit should work though
23:41.02tmztdzo: trying to figure out what the mddi driver is doing
23:41.20tmztif you/mdro look at my recent commits you should see the problem
23:41.32tmztgitorious.org/~tmzt
23:41.33Gnutoobtw what's the 0x806c4120 ioctl?
23:41.41tmztfor alsa?
23:41.49Gnutooyes
23:41.53tmztyou'll have to check headers
23:42.12Gnutoook but Is there a howto or a program that calculate the ioctl?
23:42.34Gnutoobecause I tried their example in the docs and I didn't succeed
23:42.36tmztonly if you fix or rebuild strace
23:42.41Gnutoomaybe I read too fast
23:42.58Gnutoowow how do I rebuild strace with that support?
23:45.13tmzta right so I was getting a panic trying to rename a kobject
23:45.19tmztbecause of the rcu changes
23:45.27mdrobnakargh. could anyone familar with gitorious help me via pm here? I'm trying to commit something..
23:45.28tmztand I can't really debug it
23:47.32phhok, i broke something. but what ?

Generated by irclog2html.pl Modified by Tim Riker to work with infobot.