00:13.04 | *** join/#htc-linux furtardo (~mks@nat/yahoo/x-zphdcqpspedmlcei) |
00:22.39 | *** join/#htc-linux ALoGeNo (~alogeno@80.30.135.67) |
00:22.40 | *** join/#htc-linux ALoGeNo (~alogeno@unaffiliated/alogeno) |
00:35.23 | *** join/#htc-linux detule (~detule@unaffiliated/d3tul3) |
00:44.08 | CptAJ | F'ing Around with SMD DAY 1: Look mah! No hands! I have no idea what I'm doing! XD |
00:44.16 | ahigerd | Sounds like fun :D |
00:45.18 | jonpry | i think you should port your board file to 3.3 since it is maintained :p |
00:45.59 | detule | ^ |
00:46.19 | detule | you could probably copy board-htcrhodium-led |
00:46.21 | ahigerd | Which board is this? |
00:46.47 | ahigerd | can't remember CptAJ's project |
00:46.53 | jonpry | whitestone |
00:48.55 | detule | with CptAJ we would be half dozen -> a basketball team with a sub |
00:50.17 | jonpry | lol |
00:50.31 | jonpry | world takeover any day now |
00:51.16 | detule | we need wistilt2 to come back his kernels have a cultish following |
00:52.35 | detule | outside the touchpad world nobody knows who jonpry is....but wistilt2.... |
00:53.05 | jonpry | maybe he can fix our power problems |
00:53.43 | detule | i thought you were having a good battery day |
00:54.01 | jonpry | i still want 3 days |
00:55.15 | detule | i have been using these kernels since back in the nilfs2 days and i have had battery last me more than a day consistently |
00:55.18 | jonpry | it was down to 20% at the 24 hour mark |
00:56.54 | detule | do you have auto-rotate enabled btw |
00:57.22 | jonpry | i didn't do anything to turn it on or off |
00:57.39 | detule | settings->display |
00:58.07 | jonpry | it is on |
00:58.33 | detule | i find my battery life is worse on average with that thing on i mean it polls ever .2 sec |
01:00.21 | jonpry | i turned it off |
01:13.14 | detule | tested your tssc patch with the latest i could find on codesourcery 2011.09 and it works fine |
01:13.26 | detule | that could probably get committed no? |
01:15.59 | detule | s/i have had/i have never had/ |
01:18.15 | jonpry | yeah i think so |
01:18.17 | detule | i have never had batter last me more than a day.... |
01:19.14 | jonpry | i've gotten more than a day |
01:19.46 | detule | I see where arrrghhh gets his pointers for customer service : https://lkml.org/lkml/2012/4/12/434 |
01:20.15 | ahigerd | Whoo. Go Linus. |
01:21.04 | detule | i like how he censored one of his f bombs but not the other |
01:23.54 | ahigerd | X |
01:23.54 | ahigerd | XD |
01:24.03 | ahigerd | I didn't even notice that |
01:31.18 | *** join/#htc-linux ALoGeNo (~alogeno@unaffiliated/alogeno) |
01:50.37 | rpierce99 | that was a great conversation, thanks for the link :) |
01:50.50 | rpierce99 | i wish arrrghhh would be so helpful |
01:50.56 | ahigerd | Indeed. I really liked the comparison between kernel development and quantum mechanics. |
01:51.57 | detule | lkml is full of great gems |
01:52.05 | zeusk | lol |
01:52.50 | detule | google vs linux threads being my favorite |
01:55.06 | zeusk | some links ? |
01:58.56 | detule | this seems pretty classic https://lkml.org/lkml/2011/1/20/365 |
01:59.25 | detule | there are many wakelock threads |
01:59.31 | detule | and some binder threads |
02:00.16 | *** join/#htc-linux mitsutaka (~mitsutaka@219.143.36.82) |
02:00.51 | detule | why binder thread https://lkml.org/lkml/2009/6/12/632 |
02:01.46 | detule | though i think since then the linux community seems to have realized there are more binder (android) users than any other ipc implementation |
02:01.55 | detule | mechanism |
02:07.22 | jonpry | those people are crazed |
02:18.39 | zeusk | lol, just read google guy ranting about linux maintainers and them ranting about their google attitude complex |
04:25.08 | *** join/#htc-linux mitsutaka (~mitsutaka@219.143.36.82) |
04:25.36 | *** join/#htc-linux AstainHellbring (~AstainHel@unaffiliated/astainhellbring) |
04:31.28 | *** join/#htc-linux mitsutaka (~mitsutaka@219.143.36.82) |
05:16.26 | zeusk | porting driver from linux is such a pain, layers of mangled api... |
05:30.01 | *** join/#htc-linux mitsutaka (~mitsutaka@219.143.36.82) |
05:44.45 | *** join/#htc-linux jonpry (~jon@adsl-98-85-69-254.mco.bellsouth.net) |
05:51.28 | fakker | slaps zeusk |
05:51.32 | fakker | sup |
05:51.36 | zeusk | hai |
05:51.49 | zeusk | getting brainfucked by linux |
05:52.22 | fakker | chak de fatte |
05:57.32 | fakker | don't you love being ill when you booked time off work? |
05:57.34 | fakker | :| |
05:58.45 | zeusk | ofcourse not, that is like sitting with your computer when there's no electrical power supply |
05:59.40 | fakker | yup |
06:44.03 | *** join/#htc-linux MacDrunk (~marper@201.165.163.85) |
06:46.21 | *** join/#htc-linux pbaxter (~pbaxter@host123-162-dynamic.1-79-r.retail.telecomitalia.it) |
07:41.01 | *** join/#htc-linux mitsutaka (~mitsutaka@219.143.36.82) |
08:05.27 | *** join/#htc-linux gauner1986 (~Miranda@ip-109-91-241-106.unitymediagroup.de) |
08:26.36 | *** join/#htc-linux balans2 (~user@82-170-217-205.ip.telfort.nl) |
08:32.19 | *** part/#htc-linux MacDrunk (~marper@201.165.163.85) |
08:33.28 | zeusk | YAY! http://goo.gl/IH1SZ |
08:36.15 | *** join/#htc-linux Bry8Star (~Bry8Star@gateway/tor-sasl/bry8star) |
08:45.07 | *** join/#htc-linux jonpry (~jon@adsl-98-85-69-254.mco.bellsouth.net) |
09:00.54 | *** join/#htc-linux Alex[sp3dev] (~alexander@media.it.hse.ru) |
09:02.50 | *** join/#htc-linux paulk-desktop (~paulk@lib33-1-82-233-88-171.fbx.proxad.net) |
09:13.22 | *** join/#htc-linux Bry8Star (~Bry8Star@gateway/tor-sasl/bry8star) |
09:21.48 | *** join/#htc-linux DuperMan (~Duper@93-172-28-167.bb.netvision.net.il) |
09:26.26 | *** join/#htc-linux ALoGeNo (~alogeno@unaffiliated/alogeno) |
09:51.31 | *** join/#htc-linux kiozen (~kiozen@p578a42db.dip0.t-ipconnect.de) |
09:53.06 | *** join/#htc-linux raymonddull (~raymonddu@c-69-245-114-102.hsd1.mi.comcast.net) |
10:05.19 | *** join/#htc-linux _Joey_ (~Yuuki@134.91.53.79) |
10:10.41 | *** join/#htc-linux raymonddull (~raymonddu@c-69-245-114-102.hsd1.mi.comcast.net) |
10:36.12 | *** join/#htc-linux paulk-desktop (~paulk@lib33-1-82-233-88-171.fbx.proxad.net) |
10:45.21 | *** join/#htc-linux jonpry (~jon@adsl-98-85-69-254.mco.bellsouth.net) |
11:04.43 | *** join/#htc-linux _Joey__ (~Yuuki@134.91.53.79) |
11:19.48 | *** join/#htc-linux Alex[sp3dev] (~alexander@media.it.hse.ru) |
11:20.44 | zeusk | Alex, is rotation_180 necessary for some device ? |
11:25.25 | *** join/#htc-linux ALoGeNo (~alogeno@unaffiliated/alogeno) |
12:09.29 | *** join/#htc-linux ahigerd (~ahigerd@173.218.156.102) |
12:09.29 | *** join/#htc-linux ahigerd (~ahigerd@libqxt/developer/ahigerd) |
12:52.57 | *** join/#htc-linux DuperMan (~Duper@93-172-28-167.bb.netvision.net.il) |
12:55.50 | *** join/#htc-linux zeusk (77eb360e@gateway/web/freenode/ip.119.235.54.14) |
12:57.46 | *** join/#htc-linux rajkosto (~rajkosto@de.iandoh.info) |
13:08.51 | *** join/#htc-linux detule (~detule@unaffiliated/d3tul3) |
13:10.47 | *** join/#htc-linux Ondalf (~ondalf@cable-roi-fe98dc00-121.dhcp.inet.fi) |
13:13.29 | *** join/#htc-linux khorben_ (~dont@port-83-236-217-161.static.qsc.de) |
13:42.56 | *** join/#htc-linux LordDeath (~LordDeath@cable-81-173-165-254.netcologne.de) |
13:43.49 | *** join/#htc-linux Alex[sp3dev] (~alexander@85.202.228.18) |
13:45.12 | *** join/#htc-linux zeusk (77eb360e@gateway/web/freenode/ip.119.235.54.14) |
13:46.40 | *** join/#htc-linux LordDeath (~LordDeath@cable-81-173-165-254.netcologne.de) |
14:12.39 | *** join/#htc-linux mgross029 (c0234f46@gateway/web/freenode/ip.192.35.79.70) |
14:31.09 | *** join/#htc-linux detule (~detule@unaffiliated/d3tul3) |
14:36.01 | *** join/#htc-linux regualtor (~duffman@unaffiliated/regulator) |
14:36.29 | *** join/#htc-linux rpierce99 (~rpierce99@96-42-107-19.dhcp.stcd.mn.charter.com) |
14:38.08 | *** join/#htc-linux Cotulla (~myfakemai@nat100-255-205-109.tvoe.tv) |
14:44.38 | *** join/#htc-linux jonpry (~jon@adsl-98-85-69-254.mco.bellsouth.net) |
15:03.31 | *** join/#htc-linux Rajko (~rajkosto@de.iandoh.info) |
15:06.23 | *** join/#htc-linux LordDeath (~LordDeath@cable-81-173-165-254.netcologne.de) |
15:11.08 | Cotulla | Alex here? |
15:11.46 | Alex[sp3dev] | not at all |
15:12.07 | Cotulla | ok. do u like that? http://www.youtube.com/watch?v=W9rnpmgWT-Y&feature=relmfu |
15:12.11 | ahigerd | Guess you'll have to try back later |
15:13.11 | Alex[sp3dev] | nope |
15:13.20 | Cotulla | why? |
15:13.22 | zeusk | return -ENODEV; |
15:14.15 | Alex[sp3dev] | i like the strong and quick sound of the strangelove and this seems too long and mild |
15:14.45 | Cotulla | hehe |
15:14.52 | Cotulla | there some cool things inside also |
15:15.06 | Alex[sp3dev] | my internets suck |
15:15.12 | Cotulla | :( |
15:15.19 | Alex[sp3dev] | i guess 'stories of old' remix is gotta rock |
15:15.31 | Cotulla | link? |
15:15.38 | Alex[sp3dev] | it is there on the right side |
15:15.50 | Alex[sp3dev] | http://www.youtube.com/watch?v=4dtAG-8T3FY |
15:16.15 | Cotulla | I like Behind The Wheel remix also from this guy |
15:16.54 | Cotulla | Lie to me remix is very strange however |
15:18.41 | *** join/#htc-linux mitsutaka (~mitsutaka@221.219.116.16) |
15:19.00 | Cotulla | oh cool stories of old |
15:19.28 | Cotulla | do u like fly on the windscreen? |
15:19.57 | Alex[sp3dev] | i put on my light coat today and found my sunglasses in the pocket. guess with them and porta pro on i really look like a dm freak |
15:20.29 | Cotulla | haha cool |
15:22.09 | *** join/#htc-linux LargePrime (~LargePrim@d199-74-157-78.col.wideopenwest.com) |
15:23.01 | *** join/#htc-linux AstainHellbring (~AstainHel@206.71.78.158) |
15:23.04 | *** join/#htc-linux AstainHellbring (~AstainHel@unaffiliated/astainhellbring) |
15:34.55 | Cotulla | u remember name of that song Alexx? *-tu-tu-tu-dududum *-tu-tu-tu-dududum *-tu-tu-tu-dududum? |
15:35.04 | Cotulla | I can't find it :O :( |
15:36.02 | zeusk | lol, sound funny -tu-tu-tu-dududum... |
15:36.07 | Alex[sp3dev] | Nothing? |
15:36.12 | Cotulla | hm let me check |
15:36.17 | Cotulla | there metal sound |
15:36.50 | Cotulla | like they are eboshat on some metal pipe . . . |
15:36.51 | Cotulla | :D |
15:37.42 | Alex[sp3dev] | did i guess the song? |
15:37.49 | Cotulla | checking |
15:39.11 | Alex[sp3dev] | huh. changed gmail and gravatar profile photos to be more freaky |
15:39.23 | Cotulla | hm no . . . there was separate from voice. and loud. after end of phases. |
15:39.28 | Cotulla | :( |
15:39.44 | Cotulla | and more aggressive sound was there |
15:40.00 | Alex[sp3dev] | Rush? |
15:41.11 | Cotulla | hm no :( |
15:41.38 | Cotulla | it was like march |
15:44.38 | *** join/#htc-linux jonpry (~jon@adsl-98-85-69-254.mco.bellsouth.net) |
15:49.27 | zeusk | in what data type and byte order does dex return unix time (from rtc) ? |
15:49.53 | *** join/#htc-linux mes_ (~mes@sentry.lazo.ca) |
15:49.57 | Alex[sp3dev] | Cotulla: is 1337x768@13'3'' PIZDEC? |
15:50.32 | Cotulla | on 11 it's not really comfortable |
15:50.41 | Cotulla | on 13 should be better |
15:51.06 | Cotulla | did u buy NB at the end btw? |
15:51.10 | Alex[sp3dev] | i mean, it is too little space, ide with two vertical windows won't fit, right? |
15:51.19 | zeusk | isn't it 1366*768 ? |
15:51.21 | Alex[sp3dev] | Cotulla: i'm going to buy it this weekend |
15:51.33 | *** join/#htc-linux Ondalf (~ondalf@cable-roi-fe98dc00-121.dhcp.inet.fi) |
15:52.30 | Cotulla | my old NB has 1280x960 afaik |
15:52.41 | Cotulla | wait |
15:52.43 | Cotulla | let me open it |
15:52.47 | Cotulla | VS2010 |
15:53.23 | Alex[sp3dev] | my father's laptop has 1280x800@14 inch. makes my eyes hurt |
15:53.45 | Cotulla | oj |
15:53.51 | Cotulla | 1280x800 |
15:53.54 | Cotulla | not 960 |
15:54.20 | Alex[sp3dev] | http://ogo1.ru/market/noutbuki/52858-Sony_VPC-SA3S9R feeling like a rich snob ;) |
15:56.02 | Cotulla | 1600x900 :O |
15:56.37 | Alex[sp3dev] | yes, i'm just looking for a replacement for my thinkpad, just lighter and with better battery life |
15:57.00 | Cotulla | is it also 13'3? |
15:57.03 | Alex[sp3dev] | yes |
15:57.08 | Alex[sp3dev] | no, thinkpad is 15.4 |
15:57.12 | Cotulla | with 1600x900? |
15:57.16 | Alex[sp3dev] | 1680x1050 |
15:57.22 | Cotulla | oh |
15:57.43 | Cotulla | this one looks not bad |
15:57.50 | Alex[sp3dev] | on the other hand, i have a huge 22 inch fullhd panel at home. so why care about resolution |
15:57.52 | Cotulla | but it's more cheap cuz some components are more cheap |
15:58.02 | Cotulla | like 6 gb of ram instead of 8 |
15:58.08 | Cotulla | but 3G modem |
15:58.23 | Cotulla | DVD should be minus isn't it? |
15:58.43 | Alex[sp3dev] | this SA3 is heavier (has cdrom) than Z21 or macbook, but it has standard ssd and memory which you can replace while on macbook ram is soldered |
15:58.51 | Cotulla | no it doesn't comfortable to open two VS2010 windows |
15:58.57 | Cotulla | on 1366 |
15:59.35 | Cotulla | at least I don't like it |
16:03.56 | Alex[sp3dev] | php hacking@night http://piccy.info/view3/2909365/f2fc65f9d4814bfbc001e9a6d93a5d52/orig/ |
16:06.49 | Cotulla | HTML |
16:06.50 | Cotulla | FUUU |
16:07.03 | Cotulla | cool |
16:07.10 | zeusk | can't you set custom resolution using the graphics driver ? i use 1600*900 on a 1440*900 panel.. |
16:07.23 | Alex[sp3dev] | yeah i'm also fffuuu when i have to do sth like web |
16:07.31 | Alex[sp3dev] | but it was a university project ;) |
16:08.36 | *** join/#htc-linux detule (~detule@unaffiliated/d3tul3) |
16:09.38 | Cotulla | lol zeusk |
16:09.39 | Cotulla | lol |
16:09.42 | Cotulla | :d |
16:09.43 | Cotulla | :D |
16:19.44 | zeusk | what's the difference between adm and dmov ? |
16:22.38 | Alex[sp3dev] | lol i have a new photo in my g+ https://plus.google.com/103950548462172851908/posts .guess Abel and arrrghhh will get shocked |
16:32.08 | zeusk | lol, // Cotulla: I am too lazy... #define MHZ(x) ((x) * 1000 * 1000) |
16:44.42 | *** join/#htc-linux jonpry (~jon@adsl-98-85-69-254.mco.bellsouth.net) |
16:58.11 | *** join/#htc-linux anver (~miranda@shpd-78-36-180-47.static.vologda.ru) |
17:04.57 | *** join/#htc-linux paulk-desktop (~paulk@lib33-1-82-233-88-171.fbx.proxad.net) |
17:07.58 | *** join/#htc-linux kiozen (~kiozen@ppp-93-104-90-61.dynamic.mnet-online.de) |
17:11.23 | *** join/#htc-linux detule (~detule@unaffiliated/d3tul3) |
17:21.30 | *** join/#htc-linux helicopter88 (~helicopte@host254-119-dynamic.31-79-r.retail.telecomitalia.it) |
17:38.48 | *** join/#htc-linux LargePrime (~LargePrim@d199-74-157-78.col.wideopenwest.com) |
17:39.09 | *** join/#htc-linux marc1706 (~marc@phpbb/modifications/marc1706) |
17:41.28 | arrrghhh | Alex[sp3dev], no facial hair?!?! |
17:41.31 | arrrghhh | blasphemy |
17:42.01 | Alex[sp3dev] | i knew you'd get hurt |
17:42.07 | arrrghhh | lol |
17:42.09 | arrrghhh | it burns me |
17:42.13 | Alex[sp3dev] | sorry |
17:42.45 | arrrghhh | you should be :( |
17:42.46 | Alex[sp3dev] | huh. i do not often shave. but when i do i make sure no one recognizes me |
17:42.56 | arrrghhh | now i shall grow an ever larger bearde |
17:42.58 | arrrghhh | beard* |
17:43.02 | arrrghhh | but lunch. bb |
17:44.17 | *** join/#htc-linux _Dinde (kayser@sur-internet.net) |
18:04.42 | *** join/#htc-linux Alex[sp3dev] (~alexander@178.176.105.203) |
18:06.20 | *** join/#htc-linux swc|666 (~goldbond@Aircrack-NG/Friend) |
18:19.11 | *** join/#htc-linux AstainHellbring (~AstainHel@unaffiliated/astainhellbring) |
18:42.52 | *** join/#htc-linux zeusk (77eb360e@gateway/web/freenode/ip.119.235.54.14) |
18:51.00 | *** join/#htc-linux arif-ali (~arif-ali@91.84.160.181) |
18:53.30 | zeusk | is there some kind of setup needed before i use dex call for reading rtc ? i am getting rtc time as 1/1/1970 (it returned 1730568 to be exact) |
19:00.56 | jonpry | don't think so but pcom time is based on a 1980 epoch |
19:04.22 | *** join/#htc-linux helicopter88 (~helicopte@host254-119-dynamic.31-79-r.retail.telecomitalia.it) |
19:08.15 | *** join/#htc-linux rajkosto (~rajkosto@de.iandoh.info) |
19:12.16 | zeusk | yes, added the 10 year gap.. i just read somewhere rtc must be set on boot, is that right ? i thought rtc stays up using internal power source.. |
19:12.27 | *** join/#htc-linux DuperMan (~Duper@85-250-5-155.bb.netvision.net.il) |
19:38.43 | CptAJ | http://www.amazon.com/dp/0672329468/?tag=stackoverfl08-20 how is this book? any good? |
19:38.54 | CptAJ | (trying to educate myself a bit. Tired of tweaking blindly) |
19:43.32 | Alex[sp3dev] | CptAJ: this looks useless and warezeable |
19:44.37 | CptAJ | Remember I'm under foreign trade restrictions. Ofcourse I'm not BUYING it >_> |
19:45.07 | CptAJ | can't let that get in the way of learning though. Why does it look useless? I have almost no knowledge of the kernel |
19:45.40 | CptAJ | What I've done has all been very painful "black box" tweaking XD |
19:45.42 | Alex[sp3dev] | this kind of books are good but after you read it quickly, you should read drivers and get to coding. more fun and you learn faster |
19:46.16 | Cotulla | :D |
19:46.21 | Cotulla | it can be outdated |
19:46.24 | Cotulla | highy |
19:46.25 | CptAJ | http://shop.oreilly.com/product/9780596005900.do this one? |
19:46.43 | Cotulla | just code? why u need books? |
19:46.50 | Cotulla | Released: February 2005 |
19:46.57 | Cotulla | just count how many changes inside kernel was done |
19:47.02 | Cotulla | for almost 7 years |
19:47.03 | CptAJ | yeah, the other one is at least from 2010 |
19:47.39 | Cotulla | just start to code, it's the best way to understand something . . . |
19:48.39 | detule | most of the general kernel stuff is available in Documentation |
19:48.52 | Alex[sp3dev] | essential linux device drivers.pdf |
19:49.32 | detule | most of the proprietary drivers -> like smd -> for those you are stuck with commit logs |
19:49.48 | detule | and trying to decipher what they are trying to accomplish |
19:50.25 | detule | fortunately qualcomm folks write _slightly_ better commit logs than xda folks :) |
19:53.16 | detule | CptAJ, you have a git tree? |
19:53.47 | CptAJ | just a local one. nothing online |
19:53.52 | Cotulla | Documentation folder is crap |
19:53.58 | Cotulla | often outdated |
19:54.02 | Cotulla | or just a lot of words about nothing |
19:54.03 | CptAJ | the whitestone tree was set up by emwe |
19:54.18 | CptAJ | I cloned that and went from there |
19:54.35 | Cotulla | hm after black appear white |
19:54.50 | Cotulla | so it means that after evil come some kind? |
19:54.59 | Cotulla | that's good |
19:55.08 | Cotulla | or I am wrong? |
19:55.48 | *** join/#htc-linux CptAJ[vzla] (AJ@190.74.22.95) |
19:56.05 | CptAJ[vzla] | stupid connection |
19:56.25 | Cotulla | it just bad, it's not stupid . . . |
19:56.29 | Alex[sp3dev] | that's just political correctness |
19:56.32 | Cotulla | and it was created by humans too |
19:56.42 | Cotulla | so actually we (humans) are stupid |
19:56.50 | Alex[sp3dev] | BREAKING NEWS |
19:56.53 | Cotulla | YES |
19:56.55 | Alex[sp3dev] | cotulla is a human |
19:57.00 | Cotulla | lol |
19:57.09 | Cotulla | I rate ur text Alex as 100% |
19:59.48 | Cotulla | time to go |
19:59.49 | Cotulla | bb |
19:59.56 | *** part/#htc-linux Cotulla (~myfakemai@nat100-255-205-109.tvoe.tv) |
20:00.38 | *** join/#htc-linux rajkosto (~rajkosto@de.iandoh.info) |
20:04.28 | CptAJ[vzla] | detule, I tried inserting that wait_event_interruptible_timeout routine from your smd tree into mine. Got everything to compile but its giving me a null pointer panic when it gets to prepare_to_wait |
20:04.43 | CptAJ[vzla] | let me paste my changes and the log, hold on |
20:05.17 | arrrghhh | Alex[sp3dev], i highly doubt Cotulla is human. |
20:09.14 | Alex[sp3dev] | arrrghhh: i rate your comment 6/10 |
20:09.34 | arrrghhh | on what basis? |
20:09.43 | arrrghhh | i'd say it's at least an 8. |
20:09.45 | arrrghhh | :D |
20:09.55 | CptAJ[vzla] | This is super lazy and hacky btw http://paste2.org/p/1986260. Mostly to just see if that's indeed the problem (not having enough delay after the channel is opened). I added the events to tty_notify so they would update the is_open variable. I didn't know where that was inited so I just gave it an initial value right in there (I'm a horrible person, I know XD). That should avoid the init and any other smd's other than 7 |
20:10.07 | Alex[sp3dev] | i think your statement is false therefore it does not deserve a high mark |
20:10.57 | arrrghhh | you can't falsify my opinions. |
20:11.03 | CptAJ[vzla] | Obviously this crashes once the phone tries to establish a data connection http://paste2.org/p/1986253 |
20:11.26 | CptAJ[vzla] | it tries to go into the wait routine and runs into the null pointer |
20:11.27 | arrrghhh | lol sorry CptAJ[vzla] |
20:11.35 | arrrghhh | i forget people actually still try to get shit done in here :P |
20:11.58 | Alex[sp3dev] | i've never really understood smd and just sticked a bunch of null checks everywhere |
20:11.59 | CptAJ[vzla] | arrrghhh, relax. I'm a chatterbox myself most of the time |
20:12.12 | arrrghhh | heh |
20:12.40 | Alex[sp3dev] | how about os kernel written in haskell for the sake of static type checking? |
20:12.53 | arrrghhh | masochist |
20:14.18 | Alex[sp3dev] | btw, i've finally ordered the laptop ;) |
20:14.47 | detule | CptAJ[vzla], hard to go by your pastebin but you've added ch_opened_wait_queue to the info struct right ? |
20:15.23 | CptAJ[vzla] | detule, yes. Wouldn't compile otherwise ;) |
20:16.06 | detule | just do a proper "git diff HEAD arch/arm/mach-msm/smd_tty.c" and pastebin that |
20:17.02 | Alex[sp3dev] | i wonder. x86 still should suck and battery life should be bad under linux on any laptop, right? |
20:19.22 | detule | CptAJ[vzla], you have something like "init_waitqueue_head(&smd_tty[7].ch_opened_wait_queue)" somewhere right? |
20:19.35 | CptAJ[vzla] | it needs to be inited somewhere doesn't it? I guess thats the only variable I'm missing since I inited info->is_open myself there |
20:19.39 | CptAJ[vzla] | aha! |
20:19.43 | CptAJ[vzla] | there you go XD |
20:19.56 | CptAJ[vzla] | I dont have that. let me try setting it up |
20:20.07 | CptAJ[vzla] | http://paste2.org/p/1986268 here was the diff anyway |
20:21.25 | detule | of course tty is only part of the problem...you'll also need to go into smd.c and see when's a good time to send the SMD_OPEN notification |
20:21.36 | detule | but try it as is i guess |
20:22.52 | *** join/#htc-linux ahigerd (~ahigerd@173.218.156.102) |
20:22.55 | detule | you also need to init the spinlock |
20:23.05 | *** join/#htc-linux ahigerd (~ahigerd@libqxt/developer/ahigerd) |
20:24.06 | detule | though not sure how important is that you could probably do without the reset_lock |
20:26.58 | detule | CptAJ[vzla], btw a great resource is http://lxr.free-electrons.com/ident -> you can just type in these linux functions "prepare_to_wait" or "wait_event_interruptible" etc and find their implementations quickly |
20:27.23 | detule | though i guess it doesn't search .27 anymore :p |
20:28.23 | CptAJ[vzla] | was just about to mention that XD |
20:35.16 | *** join/#htc-linux furtardo (~mks@nat/yahoo/x-ajvuxnbeectjstpq) |
20:39.39 | *** join/#htc-linux rob_w (~bob@ppp-188-174-40-242.dynamic.mnet-online.de) |
20:39.39 | *** join/#htc-linux rob_w (~bob@unaffiliated/rob-w/x-1112029) |
20:45.51 | *** join/#htc-linux AstainHellbring (~AstainHel@unaffiliated/astainhellbring) |
20:46.37 | *** join/#htc-linux rob_w (~bob@ppp-188-174-40-242.dynamic.mnet-online.de) |
20:46.38 | *** join/#htc-linux rob_w (~bob@unaffiliated/rob-w/x-1112029) |
20:58.14 | *** join/#htc-linux MethoS- (~clemens@134.102.106.250) |
21:33.46 | *** join/#htc-linux lipp[a] (~lippa@CPE-124-176-224-89.lns5.win.bigpond.net.au) |
21:34.46 | *** join/#htc-linux rob_w (~bob@unaffiliated/rob-w/x-1112029) |
22:04.11 | *** join/#htc-linux d3tul3 (~detule@unaffiliated/d3tul3) |
22:10.55 | *** join/#htc-linux ali1234 (~ajbuxton@s15821883.onlinehome-server.info) |
22:30.08 | d3tul3 | jonpry, how many hours did you end up getting ? |
22:34.04 | *** join/#htc-linux whitekidney (~wk@141.0.136.22) |
22:34.14 | jonpry | i put it on the charger after 24 because it was down to 20% |
22:39.17 | d3tul3 | hey feel free to revert any changes I made to pm.c -> i am fine with going back to whatever is in .27 or .39 now that we aren't pc-ing in idle |
22:39.47 | *** join/#htc-linux whitekidney (~wk@141.0.136.22) |
22:48.24 | arrrghhh | think you found some moar power savings? |
22:48.40 | arrrghhh | or did you make something suck moar powa :P |
22:49.57 | d3tul3 | no idea, back in january i swapped out some pm code to what emwe has in .35 because i was having problems with the .39 power management code and idle pc
.but battery life hasn't been the same as it used to be for jonpry |
22:52.05 | arrrghhh | ah |
23:01.56 | jonpry | yeah i'll try one of those old ones |
23:02.26 | jonpry | when i'm not so tired. the boat is kicking my arse |
23:25.01 | CptAJ[vzla] | alright, its running now |
23:25.17 | CptAJ[vzla] | timing out 3/3 times so far |
23:26.16 | CptAJ[vzla] | lets wait and see if it gets through because timing out instead of crashing is kinda the goal here. but I'm guessing the timeout is coming too soon or something |
23:26.32 | d3tul3 | hm it times out *once* for me |
23:26.39 | d3tul3 | on boot up |
23:27.08 | d3tul3 | data does take up to 5 mins sometime to come up when first booting |
23:27.31 | CptAJ[vzla] | the event might not be happening right as well, but lets rule this out first |
23:27.34 | *** join/#htc-linux khorben_ (~dont@port-83-236-217-161.static.qsc.de) |
23:35.24 | d3tul3 | oh there's a problem in .27 |
23:35.48 | CptAJ[vzla] | *A* problem? XD |
23:36.25 | d3tul3 | http://gitorious.org/linux-on-qualcomm-s-msm/linux-msm/blobs/htc-msm-2.6.27/arch/arm/mach-msm/smd.c#line855 |
23:37.00 | d3tul3 | we only send the notification if last_state != current state in the interupt handler in smd |
23:37.30 | d3tul3 | but since we are bypassing "opening" and forcing "opened" that will never happen |
23:42.47 | d3tul3 | need to have an intermediate state (opening) there to make sure when it does hit opened we can send the notification |
23:43.07 | ahigerd | Is that fixed some time after .27? Or is this something that still needs done? |
23:44.35 | d3tul3 | this is only relevant because CptAJ[vzla] is making some changes to tty that require an intermediate state
|
23:46.03 | ahigerd | Oh |
23:46.11 | ahigerd | I should really read more context instead of just what's on my screen. XD |
23:48.32 | arrrghhh | heh |
23:54.38 | d3tul3 | CptAJ[vzla], on a more serious note |
23:54.45 | d3tul3 | since your whitestone seems to have the same amss as rhod |
23:55.27 | d3tul3 | you can try adding "machine_is_whitestone" wherever you see "machine_is_rhodium" in smd.c |
23:55.49 | d3tul3 | that could either solve a lot of your problems |
23:55.54 | d3tul3 | or could make your phone not boot |
23:56.05 | d3tul3 | either way definitely worth doing |
23:56.24 | ahigerd | "I have never failed. I have only found 10,000 ways that don't work." |
23:56.28 | CptAJ[vzla] | that's already done |
23:56.54 | CptAJ[vzla] | we basically just followed topaz around the source with whitestone XD |
23:57.10 | CptAJ[vzla] | even had the same monodie issue |
23:57.52 | CptAJ[vzla] | phone has been stable with the timeouts btw. at least we're on kind of the right track |
23:57.53 | d3tul3 | yeah there's some important changes in smd.c based on amss version (none of it is in 3.3 since we only support rhod amss) |
23:58.35 | d3tul3 | stable with timeouts doesn't prove much... |
23:59.14 | CptAJ[vzla] | I'm trying to fix that last thing you mentioned |