IRC log for #htc-linux on 20121016

01:02.13*** join/#htc-linux XirXes (~XirXes@67-2-31-70.slkc.qwest.net)
01:09.39*** join/#htc-linux sleepee (~sleepee@wifirev.centennialpr.net)
02:26.26*** join/#htc-linux AstainHellbring (AstainHell@unaffiliated/astainhellbring)
03:48.21*** join/#htc-linux MacDrunk (~marper@201.165.163.183)
03:50.48*** part/#htc-linux MacDrunk (~marper@201.165.163.183)
05:30.29*** join/#htc-linux eR^zeRa` (~zzeratul@ip-84-42-202-42.net.upcbroadband.cz)
05:50.01*** join/#htc-linux sdub (~sdub@Aircrack-NG/Friend)
06:52.42*** join/#htc-linux kiozen (~kiozen@p578a42db.dip0.t-ipconnect.de)
07:29.34*** join/#htc-linux lamikr (lamikr@nat/nokia/x-jfziiivsrzamlwqm)
08:47.10*** join/#htc-linux DuperMa (~Duper@93-172-145-8.bb.netvision.net.il)
08:56.54*** join/#htc-linux marc1706 (~Marc@phpbb/modifications/marc1706)
10:18.27*** join/#htc-linux marmotta (~skodde@unaffiliated/skodde)
10:31.50*** join/#htc-linux LargePrime (~LargePrim@173-120-174-120.pools.spcsdns.net)
11:04.49*** join/#htc-linux LargePrime (~LargePrim@173-120-174-120.pools.spcsdns.net)
11:10.15*** join/#htc-linux LargePrime_ (~LargePrim@173-120-174-120.pools.spcsdns.net)
11:54.21*** join/#htc-linux zeusk_ (77eb360e@gateway/web/freenode/ip.119.235.54.14)
12:13.22*** join/#htc-linux helicopter88 (~helicopte@host216-7-dynamic.30-79-r.retail.telecomitalia.it)
12:14.23*** join/#htc-linux XirXes (~XirXes@67-2-31-70.slkc.qwest.net)
12:15.04*** join/#htc-linux gauner1986 (~Adium@87.253.171.205)
13:02.34*** join/#htc-linux conantroutman (~conantrou@cpc5-pert5-2-0-cust768.16-4.cable.virginmedia.com)
13:03.11*** join/#htc-linux Cotulla (~myfakemai@109.205.253.11)
13:11.27gauner1986ah
13:11.30gauner1986the great cotulla
13:13.30marc1706perfect timing :D
13:13.33marc1706hi Cotulla
13:13.58Cotullahi
13:14.31marc1706quick question: why is the baudrate of the smd tty driver set to 115200 while the newest code at CAF is using 38400?
13:14.55Cotullabecause it's ignored???
13:15.09Cotullathere is no data rate limits
13:15.14Cotullait's always works with maximum speed
13:15.20marc1706ah ok, so the set baudrate is just bogus?
13:15.23Cotullayes
13:15.26marc1706ok
13:15.28Cotullacomes from real COM ports
13:15.49marc1706I thought you might know :P
13:16.11zeusk_that rate is there probably just to satisfy linux tty driver specs
13:16.19Cotullayes for that too
13:17.16marc1706btw, kexec told me bye and then nothing happened xD
13:17.27marc1706probably loading it to the wrong address
13:17.43marc1706the documentation is really crappy
13:17.50zeusk_Yesterday, I was writing timer code and i looked at kernel/timer.c and i got cancer... They call ticks, "jiffies", have some wierd time vector buckets for marking ticks with a registered timer and what not.. complicated something so easy..
13:18.43Cotullashit do u have enough money for good hearse?
13:19.17Cotulla:D yes it sucks I believe looked to it some time ago
13:20.20zeusk_I just resorted to using unsorted list timers, register:O(1) unregister:O(1) execute:O(N)
13:20.44zeusk_and it's less than 100 lines of code..
13:22.07marc1706wasn't there something about kexec zimage offset being too small?
13:24.41zeusk_marc, any specific reason for kexec ?
13:25.01zeusk_usually it's only for those poor guys with secure boot
13:25.19zeusk_or the 1337 ninja kernel hackers
13:25.29marc1706well I was trying if we maybe can get the .38 kernel to boot with kexec
13:26.05marc1706stops after handing off to the new kernel though ...
13:26.06zeusk_Hmm
13:26.16marc1706I was just making sure that the kexec is not the cause
13:26.30zeusk_lol, cotulla, we need you
13:27.02CotullaI am not "1337 ninja kernel hackers"
13:27.24CotullaI am number 1338 I think
13:27.40marc1706you can try to get it to run the way you want
13:27.41Cotullacuz  I joined party too late :(
13:27.46marc1706I'll grant you that :P
13:27.47Cotullarun what?
13:28.03zeusk_linux 2.6.38+ on leo
13:28.10zeusk_doesn't run and we can't find why
13:28.35zeusk_maybe, just maybe, another stupid thing like _irqsave ? LOL
13:30.16Cotullahm
13:30.26Cotullamaybe
13:30.56CotullaMarkinus ported some new kernel afaik . he started work at least
13:31.09marc1706that was 2.6.35
13:31.13marc1706and it works
13:31.16marc1706at least on magldr
13:31.26Cotullaso why not take 3.1.X
13:31.35marc1706for some not so obvious reasons it just randomly reboots on cLK :D
13:32.02marc1706don't have a problem with 3.1.x but I think porting 2.6.38 first would be a bit easier
13:32.16Cotullano
13:32.19Cotullau are wrong
13:32.25marc1706I am? hm
13:32.44Cotullaporting any linux kernel version to another == AAA FUCK IT'S EATING MY LEEDD
13:32.48zeusk_3.0.x should be better otherwise 3.4, 3.1 was never adopted by android mainline or caf
13:33.04marc1706well 3.4 lacks a lot of stuff on caf
13:33.09marc1706doesn't even contain msm_rmnet O.o
13:33.12Cotullahtc released any kernel sources with 3.XX?
13:33.19zeusk_Yes, many
13:33.24zeusk_even for 7227A
13:33.26Cotullaso better take them
13:35.57marc1706htc kernels are all at 3.0.16 as far as I can see
13:36.17Cotullaso take that port and should work
13:36.32Cotullamaybe copy old video
13:37.01marc1706I think we need to copy video drivers from our currenty kernels, at least in parts
13:37.07marc1706htc has hacked up gpu drivers
13:37.08marc1706for sense
13:37.13zeusk_there was a wierd mention of kernel domain bug in 8x50 inside some linux mmu pte file, something about domain 0 being faulty in older revision
13:37.14Cotullahow
13:37.16Cotullathey can't
13:37.30Cotulla3D is prebuilt from QCT
13:37.39Cotullazeusk just a hardware bug
13:37.43Cotullausual thing
13:37.46marc1706Cotulla: wait I think it's video drivers
13:37.46marc1706sry
13:37.48Cotullaneeds workaround
13:37.59marc1706mdp is slightly different
13:38.09marc1706for some special htc reasons
13:38.36marc1706one v or sensation kernel?
13:38.46zeusk_sense crap in kernel is unlikely though not impossible, reminds how bravo port of 2.6.35 suddenly fixed the glitches in sense 2.1
13:38.55zeusk_one V should be better
13:39.03zeusk_sensation is another generation ahead
13:39.05marc1706yes, but it doesn't work on cm7 ...
13:39.22marc1706that's what I meant when I talked about hacked up video code
13:39.22Cotullau need just track things
13:39.30Cotullanot look from "blackbox" position
13:39.33Cotulla:)
13:39.41zeusk_marc, then take a CM kernel for one V ?
13:39.42marc1706there is also desire c kernel code
13:39.58marc1706zeusk_: I think the video drivers are the last of our problems ;)
13:40.20zeusk_I wonder why QCT offers android 4+ support for 7227A but not 8x50
13:40.50marc1706they provided gpu libs for 8x50?
13:40.50zeusk_only reason i know is higher AXI clock on 7227 with smaller die size
13:40.57marc1706or was that general arm7?
13:41.04marc1706adreno200?
13:41.06zeusk_Yeah, just the adreno libs for a2xx
13:41.10Cotulla8x50 is too old for them
13:41.19Cotulla7227A is rather new
13:41.24marc1706they still sell it though :P
13:41.34Cotullau think so?
13:41.46marc1706at least they still advertise it ...
13:41.49Cotullait's EOL already long time
13:42.18marc1706sry, confused that with snapdragon s1
13:42.27Cotullabut driver should be suitable from 7227A
13:42.29Cotullain general
13:42.51marc1706desire c is msm7225A and snapdragon s1, also with 3.0.16 kernel
13:42.59marc1706and I think adreno 200
13:43.25CotullaYamato
13:43.25marc1706one v has adreno 205
13:43.50marc1706yamata is the firmware name?
13:43.54marc1706yamato*
13:44.13marc1706yes, desire c has adreno 200
13:44.17zeusk_codename :P
13:44.21marc1706ah ^^
13:44.31*** join/#htc-linux LargePrime (~LargePrim@173-120-174-120.pools.spcsdns.net)
13:44.38marc1706desire c might be better suited? what do you think?
13:44.59Cotullafor what?
13:45.05Cotullafor GLES?
13:45.07marc1706for porting to leo
13:45.10marc1706yes
13:45.16Cotullathey should be same
13:45.26Cotullacuz there is no working 8x50  code
13:45.36Cotullaand it's rather different from other directions
13:45.52marc1706well one v code is newer
13:45.54zeusk_only problem will be forward porting qdsp_1550
13:46.00marc1706yup
13:46.21zeusk_linux will break your code like shit
13:46.52zeusk_they even introduced wierd stuff like clk_prepare and crap in 3.x series afaik
13:47.46marc1706qdsp_1550 seemed to compile on 3.0.8 IIRC
13:48.02marc1706only needs changing from .ioctl to .unlocked_ioctl
13:48.38marc1706doesn't mean it works but still
13:49.17Cotullayeah
13:49.22Cotullawhu unlockrf?
13:49.28Cotullawhy unlocked?
13:49.38marc1706.ioctl seems to be deprecated
13:49.53Cotullaso u need mutexes AROUND?
13:50.08marc1706not as far as I know
13:50.20marc1706unlocked_ioctl also existed in 2.6.35
13:50.28marc1706I changed it in one or 2 files
13:50.32marc1706no change in behavior O.o
13:50.38zeusk_marc, i think he is asking what that "unlocked_" means, does it mean you need locks to protect ioctls or what
13:50.48marc1706http://lwn.net/Articles/119652/
13:50.55Cotullayes
13:50.58Cotullait is
13:51.09zeusk_Ahh, linux.. the new way of everything..
13:51.14Cotulla:D
13:52.24marc1706funny that it exists since 2005 xD
13:53.16marc1706wow, htc now provides an awesome readme on how to compile the kernel source
13:53.32marc1706it's like 10 lines ...
13:53.37marc1706thank you thc
13:53.39marc1706lol
13:53.41marc1706I fail
13:54.01zeusk_what is it ? gunzip tar, cd, make config, make zimage ?
13:54.20marc1706no, basically get the toolchain from google
13:54.27marc1706edit a file and add the toolchain path
13:54.37marc1706make primou_defconfig
13:54.38marc1706and make
13:54.42marc1706and then where the files are
13:55.22marc1706--Files path
13:55.22marc1706arch/arm/boot/zImage
13:55.22marc1706drivers/*/*.ko
13:55.56CotullaI will need to dedicate a Linux day for porting :)
13:56.01marc1706utf8 fail: NOTE: the tool ¡¥git¡¦ [...]
13:56.09marc1706what is a linux day?
13:57.42marc1706wow, why would you put the file primou-panel.c in a seperate folder in mach-msm?
13:58.07Cotulla?
13:58.38marc1706they put the file primou-panel.c in arch/arm/mach-msm/display/
13:59.03zeusk_behold my 80 line timer code, http://pastebin.com/3iELzr7D
13:59.55marc1706what's the diff between list_for_each_entry_safe() and list_for_every_entry_safe()?
13:59.57Cotullaoverflow is handled?
14:00.17zeusk_cotulla, no, not yet
14:00.24Cotulla:P
14:00.57zeusk_marc, inside safe i can delete the node while inside normal function if i delete list node inside the loop, it should cause null dereference on next cycle
14:01.01zeusk_it is double linked list
14:01.42marc1706I get the reason for save, but what's the diff between for_every and for_each?
14:01.48marc1706sounds very similar to me ^^
14:01.58zeusk_nothing... :P
14:02.08zeusk_it just iterates over timer objects in my list
14:02.08marc1706aha ^^
14:20.17zeusk_cotulla, at 100Hz, it should take 497 days to overflow, i think that should be fine :)
14:20.26Cotullalol
14:20.30marc1706no :P
14:20.36Cotullatake 64 bit maybe
14:20.57zeusk_since timers are managed at internal tick count of 100Hz, I can safely reset HW timer without caring about stupid mdelay like in lk
14:21.18Cotulla100 hz?
14:22.59zeusk_Board should call sys_tick at 100Hz, not at hw timer freq
14:24.10zeusk_then of course it can implement high resolution timers using HW timer count
14:24.41zeusk_which is very unlikely to overflow in the small timegap of a high resolution timer
14:31.49Cotullabut 100 hz can be impossible to reach
14:31.53Cotullaso how it's RTOS
14:34.32zeusk_impossible ?
15:13.58*** join/#htc-linux conantroutman (~conantrou@cpc5-pert5-2-0-cust768.16-4.cable.virginmedia.com)
15:15.02*** join/#htc-linux LargePrime (~LargePrim@173-120-174-120.pools.spcsdns.net)
15:45.24*** join/#htc-linux LargePrime (~LargePrim@173-120-174-120.pools.spcsdns.net)
15:51.56*** join/#htc-linux leviathan (~quassel@2001:470:26:484:6ef0:49ff:fee6:8dca)
15:52.56*** part/#htc-linux Cotulla (~myfakemai@109.205.253.11)
16:14.52*** join/#htc-linux daviathan (~quassel@2001:470:26:484:6ef0:49ff:fee6:8dca)
16:18.16*** join/#htc-linux LargePrime (~LargePrim@173-120-174-120.pools.spcsdns.net)
16:29.25*** join/#htc-linux LargePrime (~LargePrim@173-120-174-120.pools.spcsdns.net)
16:29.52*** join/#htc-linux rob_w (~rob_w@unaffiliated/rob-w/x-1112029)
16:36.18zeusk_marc, you working on htc's 3.x kernel then ? I'm interested in it too
16:36.24zeusk_marc1706
16:51.06marc1706zeusk_: yes I'll start working on it, probably end of the week
16:53.55*** join/#htc-linux mes (~mes@sentry.lazo.ca)
17:12.04*** join/#htc-linux rossimo (~Ross@75-138-55-162.static.gnvl.sc.charter.com)
17:12.15rossimohey all, do htc android phones use ALSA?
17:14.49helicopter88no
17:15.59rossimoso they've written thier own audio interface software?
17:21.41*** join/#htc-linux gauner1986 (~Adium@hmbg-4d06c223.pool.mediaWays.net)
17:36.30*** join/#htc-linux paulk-desktop (~paulk@lib33-1-82-233-88-171.fbx.proxad.net)
17:43.25*** join/#htc-linux detule (~detule@unaffiliated/d3tul3)
17:45.18helicopter88is away: Busy as fuck
18:06.50*** join/#htc-linux LargePrime_ (~LargePrim@173-148-126-5.pools.spcsdns.net)
18:39.17*** join/#htc-linux gauner1986 (~Adium@hmbg-4d06c223.pool.mediaWays.net)
18:47.31*** join/#htc-linux rajkosto (~rajkosto@wan.rajkonet.info)
18:54.05*** join/#htc-linux kiozen (~kiozen@46.244.203.191)
18:58.35*** join/#htc-linux BabelO (~fcr@unaffiliated/babelo)
19:48.19*** join/#htc-linux DuperMan (~Duper@93-172-145-8.bb.netvision.net.il)
19:56.32*** join/#htc-linux LargePrime (~LargePrim@173-111-209-237.pools.spcsdns.net)
20:21.45*** join/#htc-linux gauner1986 (~Adium@hmbg-4d06c223.pool.mediaWays.net)
20:34.02*** join/#htc-linux rajkosto (~rajkosto@wan.rajkonet.info)
20:57.08*** join/#htc-linux LargePrime_ (~LargePrim@173-99-210-73.pools.spcsdns.net)
21:08.09*** join/#htc-linux LolekTD (b22a9c07@gateway/web/freenode/ip.178.42.156.7)
21:59.03*** join/#htc-linux rajkosto (~rajkosto@wan.rajkonet.info)
22:38.18*** join/#htc-linux rajkosto (~rajkosto@wan.rajkonet.info)
22:41.39*** join/#htc-linux Bry8Star (~Bry8Star@gateway/tor-sasl/bry8star)

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