00:03.20 | *** join/#htc-linux polyrhythmic (n=charles@c-67-171-16-39.hsd1.wa.comcast.net) |
00:13.06 | *** join/#htc-linux stickboy (n=anonymou@128.153.210.219) |
00:19.18 | *** join/#htc-linux kam187 (n=kam187@81-179-8-102.dsl.pipex.com) |
00:25.28 | *** join/#htc-linux surge (i=surge@pool-98-118-154-21.bflony.fios.verizon.net) |
00:43.15 | *** join/#htc-linux stickboy_ (n=anonymou@128.153.180.132) |
01:07.10 | *** join/#htc-linux swc|666 (n=infidel2@unaffiliated/swc666/x-4934821) |
01:11.34 | *** join/#htc-linux maejrep (n=madcoder@c-68-42-30-56.hsd1.pa.comcast.net) |
01:25.47 | *** join/#htc-linux davep (n=dp@CPE-124-188-210-63.sfcz1.cht.bigpond.net.au) |
01:54.40 | *** join/#htc-linux AstainHellbring (n=AstainHe@unaffiliated/astainhellbring) |
02:01.05 | *** join/#htc-linux x29a_ (n=x29a@unaffiliated/x29a) |
02:07.17 | *** join/#htc-linux rafyvitto (n=rafyvitt@24.54.253.34) |
03:00.53 | NexVision | any new breakthroughs for android on tmbile tp2 |
03:02.28 | tmzt | not yet |
03:02.59 | tmzt | ToAsTcfh: sorry |
03:03.21 | tmzt | but your rmnet is probably not up |
03:05.57 | NexVision | :( |
03:06.02 | NexVision | im tired of my g1 |
03:06.19 | NexVision | and my boss gave me a cliq but no root and only old ass 1.5 on it |
03:06.32 | NexVision | so im now back to my tp2 but i need droid |
03:06.40 | NexVision | and no time to work on it |
03:25.42 | *** join/#htc-linux savior02 (n=savior02@c-76-18-28-9.hsd1.fl.comcast.net) |
03:49.58 | ToAsTcfh | tmzt: u there? |
03:52.47 | *** part/#htc-linux hk4l (n=hk4l@pool-74-97-190-21.prvdri.fios.verizon.net) |
04:08.36 | AstainHellbring | nex sounds like time to root the cliq |
04:08.46 | *** join/#htc-linux skodde (n=skodde@unaffiliated/skodde) |
04:09.57 | NexVision | yeah well its a moto so root is totally diffrent |
04:10.03 | NexVision | need the keys to root it |
04:11.57 | *** part/#htc-linux savior02 (n=savior02@c-76-18-28-9.hsd1.fl.comcast.net) |
04:12.27 | AstainHellbring | ouch |
04:18.08 | *** join/#htc-linux enjalot (n=enjalot@wg-d232039.dsl.fsu.edu) |
05:31.46 | *** join/#htc-linux droid0011 (n=g1@p4FDC92A6.dip.t-dialin.net) |
06:22.43 | *** join/#htc-linux |Jason8| (i=JayAte@server1.tiltshellz.org) |
06:46.55 | *** join/#htc-linux luc_ (n=luc@89-115-128-35.cl.ipv4ilink.net) |
07:05.41 | *** join/#htc-linux luc_ (n=luc@89-115-128-35.cl.ipv4ilink.net) |
07:10.54 | *** join/#htc-linux pjottrr (n=phuisken@dhcp-077-249-139-228.chello.nl) |
08:06.23 | *** join/#htc-linux leobaillard (n=leobaill@leobaillard.org) |
08:06.23 | *** join/#htc-linux itchy8me (n=quassel@ip80-116-211-87.adsl2.static.versatel.nl) |
08:43.34 | *** join/#htc-linux kam187 (n=kam187@81-179-8-102.dsl.pipex.com) |
08:44.31 | *** join/#htc-linux kiozen (n=kiozen@rgnb-5d87c61f.pool.mediaWays.net) |
09:00.42 | *** join/#htc-linux toi (n=toi@d54C2A96D.access.telenet.be) |
09:21.34 | *** join/#htc-linux mattias_ (n=mattias@84-119-79-118.dynamic.xdsl-line.inode.at) |
09:25.59 | *** join/#htc-linux mattias__ (n=mattias@84-119-79-118.dynamic.xdsl-line.inode.at) |
09:47.45 | *** join/#htc-linux osilvan_pola100 (n=o@159.123.222.87.dynamic.jazztel.es) |
10:12.56 | *** join/#htc-linux Squarc (n=Squarc@82-217-32-29.cable.quicknet.nl) |
10:18.22 | mattias__ | ? |
10:24.19 | *** join/#htc-linux luc_ (n=luc@89-115-128-35.cl.ipv4ilink.net) |
10:25.46 | *** join/#htc-linux GNUtoo (n=GNUtoo@host108-152-dynamic.40-79-r.retail.telecomitalia.it) |
10:29.45 | *** join/#htc-linux balans (n=Gebruike@212-123-149-239.ip.telfort.nl) |
10:37.41 | *** join/#htc-linux sxe (n=quassel@ip-62-143-102-161.unitymediagroup.de) |
10:39.09 | *** join/#htc-linux mattias_ (n=mattias@84-119-75-240.dynamic.xdsl-line.inode.at) |
10:40.27 | *** join/#htc-linux BabelO (n=fcr@unaffiliated/babelo) |
10:54.41 | *** join/#htc-linux Captnoord (n=Captnoor@dc5147a47b.adsl.wanadoo.nl) |
11:09.27 | *** join/#htc-linux Spirits-Sight (n=Spirits-@c-24-91-187-210.hsd1.ma.comcast.net) |
11:10.59 | *** part/#htc-linux Spirits-Sight (n=Spirits-@c-24-91-187-210.hsd1.ma.comcast.net) |
11:19.51 | *** join/#htc-linux MethoS- (n=clemens@134.102.106.250) |
11:22.28 | *** join/#htc-linux MethoS- (n=clemens@134.102.106.250) |
11:22.48 | GNUtoo | mmm |
11:22.49 | GNUtoo | hi |
11:23.29 | GNUtoo | phh, /Documentation/sound/alsa/soc/platform.txt says: "The platform drivers only target the SoC CPU and must have no board specific code." |
11:23.48 | GNUtoo | and: |
11:24.14 | GNUtoo | when I remove the platform_device from my board file it boots and then null pointer |
11:24.24 | GNUtoo | at least I can see something |
11:24.36 | GNUtoo | and I bet the null pointer is at: |
11:25.00 | GNUtoo | some platform thing in msm_audio_init |
11:25.22 | *** join/#htc-linux DJWillis (i=djwillis@82-46-19-72.cable.ubr02.bath.blueyonder.co.uk) |
11:25.59 | Captnoord | GNUtoo: maybe its because the current setup isn't expecting alsa |
11:26.25 | GNUtoo | ? |
11:26.43 | GNUtoo | what do you mean by that? |
11:27.36 | Captnoord | your not using the exact setup as the samsung code |
11:27.42 | GNUtoo | ah ok |
11:27.48 | Captnoord | which is build around the idea that they use alsa |
11:27.56 | GNUtoo | ok |
11:28.02 | GNUtoo | where's their board files? |
11:28.18 | Captnoord | I have often that problem when I try to incorporate other libs in personal projects |
11:28.26 | Captnoord | resulting in me wishing I never have done it |
11:28.31 | Captnoord | because its a lot of work |
11:28.37 | Captnoord | changing everything to make things work |
11:28.56 | GNUtoo | ok |
11:29.15 | Captnoord | I often rip out the thing it is required to replace |
11:29.19 | Captnoord | and start from scratch |
11:30.08 | Captnoord | had that problem when I converted a opengl project of mine from old school graphics to new style |
11:30.09 | Captnoord | http://deja.jails.nl/trashbin/terrain_ibo_candyland.png |
11:30.37 | Captnoord | it wasn't a simple swap code |
11:32.07 | GNUtoo | ok |
11:32.30 | GNUtoo | or I could try to boot samsung's kernel |
11:32.46 | GNUtoo | mmm bad idea |
11:32.53 | GNUtoo | I bet there is no usbnet |
11:33.36 | Captnoord | its... research the samsungs kernel for the missings things... |
11:33.37 | Captnoord | or |
11:34.04 | Captnoord | modify the samsungs kernel |
11:34.26 | Captnoord | I think the best thing todo if you don't know what your missing is to modify the samsungs kernel |
11:34.32 | Captnoord | personal opinion allert |
11:35.05 | Captnoord | and if you know what is required research the samsungs kernel |
11:35.53 | phh | <GNUtoo> phh, /Documentation/sound/alsa/soc/platform.txt says: "The platform drivers only target the SoC CPU and must have no board specific code." <----- the platform driver has no board code, but the board has to declare that is uses this driver |
11:36.17 | phh | the null pointer thing might be because the alsa driver expects some extra data |
11:36.22 | GNUtoo | ah ok |
11:37.07 | GNUtoo | I grepped for soc-audio and found it in the alsa soc dir but not in any mach-something dir |
11:37.20 | phh | maybe they don't use this driver |
11:37.33 | GNUtoo | mmm |
11:37.39 | GNUtoo | I'll look at the .config |
11:40.13 | GNUtoo | the problem is that I can't see the whole trace |
11:43.26 | *** join/#htc-linux droid001 (n=g1@p4FDCA6E9.dip.t-dialin.net) |
11:45.22 | GNUtoo | I think they use it |
11:45.22 | GNUtoo | CONFIG_SND_MSM_SOC=y |
11:45.24 | phh | hum ok |
11:46.08 | phh | maybe try with msm-audio |
11:47.10 | phh | GNUtoo: see board-comet.c and search for msm_audio |
11:47.23 | phh | they also declare resources |
11:47.27 | GNUtoo | ok |
11:47.55 | *** join/#htc-linux maejrep (n=madcoder@c-68-42-30-56.hsd1.pa.comcast.net) |
11:50.06 | GNUtoo | ah and snd->audio |
11:57.38 | GNUtoo | mmm It seems that they use qdsp6 |
11:57.47 | phh | uh ? |
11:57.59 | phh | well board-comet is a QSD so yes |
11:58.09 | phh | but there is a msm7201 driver too |
12:10.52 | GNUtoo | yes |
12:27.05 | *** join/#htc-linux kam187 (n=kam187@81-179-8-102.dsl.pipex.com) |
12:31.47 | *** join/#htc-linux itchy8me (n=quassel@ip80-116-211-87.adsl2.static.versatel.nl) |
12:37.06 | *** join/#htc-linux GlemSom (n=glemsom@0x5da34bca.cpe.ge-1-1-0-1105.sdnqu1.customer.tele.dk) |
12:39.28 | *** join/#htc-linux itchy8me (n=quassel@ip80-116-211-87.adsl2.static.versatel.nl) |
12:45.51 | *** join/#htc-linux itchy8me (n=quassel@ip80-116-211-87.adsl2.static.versatel.nl) |
13:32.18 | leviathan | GNUtoo: porting from 2.6.27 to 2.6.29 is difficult |
13:32.34 | GNUtoo | leviathan, ah |
13:32.35 | leviathan | perhaps they also changed something in the structs |
13:32.52 | leviathan | and this causes a null pointer |
13:33.02 | GNUtoo | mmm |
13:33.03 | GNUtoo | no |
13:33.09 | GNUtoo | it would have warned |
13:33.12 | GNUtoo | at compilation |
13:33.14 | GNUtoo | but... |
13:33.22 | GNUtoo | the platform_device thing |
13:33.42 | GNUtoo | what did you mean by struct? platform device struct or others structs? |
13:34.11 | leviathan | this whole bunch of struct, which have changed, for example platform_device |
13:34.27 | leviathan | there the content is totally different from 2.6.27 to 2.6.29 |
13:34.38 | leviathan | only two entries in the old one |
13:34.44 | leviathan | and 5 in the new one |
13:35.42 | leviathan | if you rip out something like that, a whole bunch of things wont work anymore... I guess |
13:36.14 | GNUtoo | yes |
13:36.55 | GNUtoo | leviathan, do you know how to print a complete trace? |
13:37.08 | GNUtoo | because it flows on the screen and I have only part of the panic |
13:40.25 | GNUtoo | because it would help me a lot |
13:40.34 | GNUtoo | notice that init has not been started yet |
13:40.58 | leviathan | hmm |
13:40.59 | GNUtoo | and that compiling the sound as modules create linking problems |
13:41.22 | leviathan | you could compile-in the usb-serial-gadget |
13:41.28 | leviathan | and then use it as console |
13:41.41 | GNUtoo | good idea |
13:41.43 | GNUtoo | I'll try |
13:44.10 | GNUtoo | ah no now modules work |
13:44.41 | GNUtoo | but I compiled only the alsa soc as module |
13:58.35 | leviathan | ok |
13:58.39 | leviathan | module work? |
13:59.28 | leviathan | could you please give me the patchset from f7a220350da29a4263c6904fa6d4df38fc0bc512 on? |
13:59.42 | leviathan | thats the last commit in htc-msm-2.6.29 |
14:01.18 | GNUtoo | mmm |
14:01.21 | GNUtoo | FATAL: Error inserting snd_soc_msm (/lib/modules/2.6.29-00541-g4ae09f6-dirty/kernel/sound/soc/msm/snd-soc-msm.ko): Cannot allocate memory |
14:01.46 | leviathan | hm |
14:01.49 | leviathan | interesting |
14:02.12 | leviathan | well |
14:02.22 | leviathan | youre using samsungs register adresses |
14:02.25 | leviathan | arent you? |
14:02.42 | GNUtoo | I don't know |
14:02.54 | leviathan | but who tells you that they have the same pcb/schematics like htc? |
14:02.55 | GNUtoo | I don't think so |
14:03.17 | GNUtoo | because I think the driver is not platform specific |
14:03.46 | leviathan | platform device just means: you have a chip and a µC with some pins and they are somhow connected |
14:03.52 | leviathan | its like avr-programming |
14:03.53 | leviathan | ^^ |
14:04.03 | leviathan | now that I understand |
14:04.20 | leviathan | its not such a problem to adapt |
14:05.14 | leviathan | you just have a sound chip and a set of commands sent over the spi, jtag or parallel |
14:05.26 | leviathan | and if you send it parallel |
14:05.47 | leviathan | it means you're using one of the registers for the output-pins |
14:06.10 | leviathan | so you have to make sure that two things are correct |
14:06.10 | GNUtoo | first It doesn't use the chip directly |
14:06.19 | GNUtoo | there is an RPC remmeber? |
14:06.24 | leviathan | yes |
14:06.38 | Captnoord | phh last build is nice and fast.... :D very smooth and working suspend stuff |
14:06.39 | Captnoord | :D |
14:06.41 | Captnoord | gj |
14:06.46 | GNUtoo | ah ok maybe I understand |
14:07.32 | leviathan | the important thing is, that we understand what our software does in relation to the hardware |
14:07.53 | leviathan | because software is nothing else then its abstraction |
14:08.28 | GNUtoo | I'll try something |
14:08.33 | GNUtoo | no I meant : |
14:08.44 | GNUtoo | I made a change that wasn't good |
14:08.53 | leviathan | yes |
14:09.21 | leviathan | ok |
14:13.29 | GNUtoo | nice: http://pastebin.com/m60cdd95 |
14:13.32 | GNUtoo | now addr2line |
14:15.31 | *** join/#htc-linux rayman18 (n=opera@170.pool85-49-100.dynamic.orange.es) |
14:18.47 | leviathan | hmm |
14:19.28 | leviathan | I think I'll take a shower |
14:20.09 | leviathan | and is it the same register as our code aura driver |
14:20.09 | leviathan | places the commands? |
14:24.54 | *** join/#htc-linux Squarc (n=Squarc@82-217-32-29.cable.quicknet.nl) |
14:40.05 | GNUtoo | cleaner : http://pastebin.com/m159baabb |
14:40.12 | GNUtoo | (without framebuffer) |
14:44.13 | leviathan | http://www.gnugeneration.com/books/linux/2.6.20/kernel-api/re736.html |
14:44.26 | leviathan | we should upgrade obsolet commands |
14:44.48 | leviathan | this errors would not occur, if we would let the kernel itself allocate the device |
14:48.17 | *** join/#htc-linux kam187 (n=kam187@81-179-8-102.dsl.pipex.com) |
15:09.52 | *** join/#htc-linux JDShadowline (n=JDShadow@97.101.243.247) |
15:15.30 | *** join/#htc-linux itchy8me (n=itchy8me@ip80-116-211-87.adsl2.static.versatel.nl) |
15:18.29 | itchy8me | anyone else here having problems with frame buffer and X? |
15:22.39 | leviathan | GNUtoo: can you give me the last changes you did? |
15:22.49 | leviathan | from your last official commit? |
15:23.06 | leviathan | because the branch is not on the specified commit-level |
15:23.08 | leviathan | you told me |
15:32.07 | *** join/#htc-linux Spirits-Sight (n=Spirits-@c-24-91-187-210.hsd1.ma.comcast.net) |
15:32.30 | Spirits-Sight | any new development for kaiser? |
15:34.10 | *** join/#htc-linux klinux (n=kamal_li@41.140.73.17) |
15:34.38 | klinux | hi |
15:34.50 | klinux | phh:are u here ? |
15:36.42 | klinux | u r not here :) |
15:38.25 | leviathan | Spirits-Sight: our development should also work on kaiser, I guess |
15:38.35 | leviathan | Spirits-Sight: its msm-board too |
15:40.16 | Spirits-Sight | so what new :) ? leviathan also I am intested in the development for Android also? |
15:40.28 | leviathan | we're not developing android |
15:40.38 | leviathan | we're trying to get a unified platform |
15:40.55 | leviathan | on which all standard conform linux distros can run |
15:41.07 | leviathan | on as much as possible platforms/devices |
15:41.37 | leviathan | if the android people make theire userspace standard conform, it will run too |
15:41.41 | leviathan | otherwise not |
15:42.07 | leviathan | but thats not our problem, we are just developing msm-alsa-driver, graphics, wifi, etc. |
15:42.15 | *** join/#htc-linux onen|openBmap (n=quassel@vbo91-1-89-87-201-85.dsl.club-internet.fr) |
15:43.18 | leviathan | the reason why using linux is exactly, that you dont have to mess in userspace |
15:43.35 | leviathan | you just make a kernel-module for supporting devices |
15:43.43 | leviathan | and because its modularity |
15:44.01 | leviathan | you suddenly get 20 devices with addition 5modules |
15:44.28 | leviathan | but android got some things wrong |
15:44.39 | leviathan | I think they didnt understand how it works... -.- |
15:44.41 | *** join/#htc-linux x29a (n=x29a@unaffiliated/x29a) |
15:45.07 | leviathan | so, lets say, we're close to get alsa working on msm-boards |
15:45.21 | Spirits-Sight | cool, well I not surprise On that. I referring to the porting or the core development of Android in its self? |
15:45.46 | leviathan | hmm |
15:46.00 | leviathan | what theire doing with our work is not my concern |
15:46.02 | leviathan | :) |
15:46.14 | Spirits-Sight | i referring = u referring |
15:46.31 | leviathan | and yes |
15:46.43 | leviathan | im refering to theire userspace development methods |
15:47.15 | leviathan | may it that it be, but its a bad method at all to fork a whole unix-toolsuite |
15:47.26 | leviathan | and make it apache-licensed |
15:47.38 | Spirits-Sight | oo OK, from what I can tell they seem to have switch userspace a couple of times now |
15:48.05 | leviathan | in my opinion they either should do it right or not at all |
15:48.33 | leviathan | like they did it, they also could have used bsd as subsystem |
15:48.42 | leviathan | and it wouldnt have done a big differenc |
15:48.58 | leviathan | ugly code, essential parts closed source |
15:49.09 | Spirits-Sight | true, I am strong believe going to do it do it right from the begining but I can not really talk much as I don't know much at all about development, I trying to understand at less so I know what happening :-) |
15:49.09 | leviathan | I mean, whats there really linux? |
15:49.11 | leviathan | wtf? |
15:49.29 | leviathan | Spirits-Sight: |
15:49.30 | leviathan | yes |
15:49.38 | leviathan | good point |
15:49.51 | leviathan | try to use openembedded on kaiser |
15:50.02 | leviathan | you can get a basic image from ftp.o2s.ch |
15:50.17 | leviathan | I think I'll soon announce also kaiser-images |
15:50.21 | Spirits-Sight | OK thank, does it boot off the device or SD card? |
15:50.28 | leviathan | both |
15:50.33 | leviathan | :) |
15:50.40 | leviathan | you can do both |
15:50.56 | leviathan | it doesnt depend |
15:51.11 | Spirits-Sight | really? cool, is there any accessibility being done for it? I am legally blind |
15:52.37 | Spirits-Sight | I click link, theres a PDF file its in another lang that I not understand |
15:52.47 | leviathan | is hyperopic |
15:53.01 | leviathan | means I dont see things clear |
15:53.05 | leviathan | which are too near |
15:53.26 | leviathan | so I've already some looking glass function in SHR |
15:53.32 | leviathan | but I've got to warn you |
15:53.52 | leviathan | a) your looking glasses you have on your nose is much better some thimes |
15:53.53 | leviathan | *times |
15:54.00 | leviathan | b) its not really usable ATM |
15:54.07 | leviathan | its caused |
15:54.19 | leviathan | a) by the unstability state of SHR itself |
15:54.30 | leviathan | b) by our f**ng buggy kernel |
15:54.32 | leviathan | we have atm |
15:54.43 | leviathan | but we're fixing it right now |
15:54.44 | GNUtoo | itchy8me, does kdrive work? |
15:55.23 | leviathan | GNUtoo: cd $FOO/kernel |
15:55.24 | leviathan | gitk |
15:55.37 | GNUtoo | leviathan, I gave you the 2 patches |
15:55.42 | itchy8me | gnutoo.. will install and see |
15:55.42 | leviathan | export all commits since f7a220350da29a4263c6904fa6d4df38fc0bc512 |
15:55.48 | itchy8me | was trying with xfce |
15:55.49 | GNUtoo | ok |
15:55.54 | leviathan | GNUtoo: because your patches are refused |
15:56.01 | leviathan | by git |
15:56.07 | leviathan | I tried to make a git apply |
15:56.10 | leviathan | didnt work |
15:56.43 | GNUtoo | leviathan, 1)git am the alsa thing |
15:56.50 | leviathan | okee |
15:56.51 | GNUtoo | 2)git apply the second patch |
15:57.01 | GNUtoo | which is the samsung patch |
15:57.09 | GNUtoo | over the first qualcomm alsa patch |
15:57.18 | GNUtoo | do you want me to do a cleaner patch? |
15:57.21 | Spirits-Sight | leviathan: OK, for someone that is very very new is there a place that I can get a bunlder of all the files needed to be able boot off the SD card. also is there a way to run yes Android App? like Google Voice? |
15:57.33 | GNUtoo | I was in a hurry...I wanted to try before going to sleep |
15:58.57 | leviathan | leviathan@dizzy-6 /mnt/sda/fso/kernel $ git am /mnt/sda/patchset_msmsnd/m617e838c.txt |
15:58.57 | leviathan | Patch format detection failed. |
15:59.47 | leviathan | Spirits-Sight: uhhm |
16:00.19 | leviathan | <GNUtoo> do you want me to do a cleaner patch? <-== Would be nice |
16:01.19 | leviathan | clean patches simplify the work |
16:01.46 | leviathan | can't be that we stuck in debugging with malformed/unclean patches |
16:01.51 | leviathan | >_< |
16:02.18 | GNUtoo | btw I've got an idea |
16:02.29 | leviathan | well, tell it to me ;D |
16:02.33 | GNUtoo | look at the diff between 29 and 27 in soc |
16:02.39 | GNUtoo | sound/soc |
16:02.44 | GNUtoo | to be more exact |
16:03.03 | GNUtoo | because I bet that it's soc who initialize the platform device |
16:04.57 | GNUtoo | also we could add an id |
16:06.35 | leviathan | uhhm, good idea |
16:06.50 | leviathan | perhaps the missing idea is exactly what causes the error |
16:07.02 | leviathan | *id |
16:07.11 | leviathan | s/idea/id/r |
16:07.24 | GNUtoo | yes because id is necessary |
16:07.43 | leviathan | hmm, I'm searching for a API documentation of 2.6.29 |
16:07.53 | leviathan | http://www.gnugeneration.com/books/linux/2.6.20/kernel-api/ |
16:07.58 | leviathan | only found one for 2.6.20 |
16:08.56 | leviathan | I would say |
16:09.07 | leviathan | make a cleaner patch, I simply can supply |
16:09.12 | leviathan | then I'll look into it |
16:09.55 | leviathan | and one, anyone can supply on top of the existing linux-to-go-kernel |
16:12.05 | Spirits-Sight | leviathan: is there a ready to go build that include the desk/mobiletop for phone? I am on openembedded and it appers to me i would have to install stuff on my desktop to build a build right? I am very new rember :-) |
16:13.40 | *** join/#htc-linux kam187 (n=kam187@81-179-8-102.dsl.pipex.com) |
16:14.39 | leviathan | Spirits-Sight: As I remember, kaiser is supported by OE |
16:15.11 | leviathan | http://www.linuxtogo.org/~lgorris/kaiser-bootkit/README.txt |
16:15.41 | leviathan | but its too much tinkering for a n00b |
16:16.13 | leviathan | its not meant mean |
16:16.18 | leviathan | *ment |
16:16.29 | leviathan | its only my experience |
16:16.55 | leviathan | for a get up and ready version of a really good SHR on htc-phones |
16:17.00 | *** join/#htc-linux klinux1 (n=fircuser@41.140.73.17) |
16:17.02 | leviathan | we have to invest much more time |
16:18.24 | leviathan | GNUtoo: as soon as you have the cleaned patch |
16:18.40 | leviathan | it would be nice, if you could put it into my mailbox |
16:18.42 | leviathan | thx =) |
16:18.51 | GNUtoo | leviathan, I have just finished commiting the stuff locally |
16:18.57 | GNUtoo | I'll pastebin them |
16:19.01 | leviathan | ok |
16:19.09 | leviathan | thx |
16:19.18 | Spirits-Sight | in other words leviathan check back a a month or so and see if any thing has changed :-)? |
16:19.44 | leviathan | uhm |
16:19.56 | leviathan | a week is enough ;D |
16:20.31 | leviathan | I think, as soon as I have GNUtoo's patch, it will go fast |
16:20.46 | leviathan | only really problem I have is making sense out of the code in android |
16:21.12 | leviathan | I was trying to design a graphics driver for xorg... difficult |
16:21.18 | Spirits-Sight | cool I check in then, thank when good time you online |
16:21.47 | GNUtoo | http://pastebin.com/mb60112e |
16:22.13 | Spirits-Sight | would you be willing / able to email when you have something? if so PM me I give my email addr |
16:22.19 | GNUtoo | http://pastebin.com/m589a831e |
16:22.54 | GNUtoo | http://pastebin.com/m698e4a3 |
16:23.28 | GNUtoo | http://pastebin.com/mff4a797 |
16:23.36 | GNUtoo | apply them in the order I pasted them |
16:24.23 | *** part/#htc-linux Spirits-Sight (n=Spirits-@c-24-91-187-210.hsd1.ma.comcast.net) |
16:24.45 | *** join/#htc-linux [1]Captnoord (n=Captnoor@dc5147a47b.adsl.wanadoo.nl) |
16:27.08 | GNUtoo | leviathan, I'll go |
16:27.13 | GNUtoo | very soon |
16:27.27 | leviathan | GNUtoo: ok |
16:27.29 | leviathan | np |
16:27.33 | leviathan | thx |
16:27.37 | leviathan | btw |
16:27.47 | leviathan | and I made a distribution list |
16:28.20 | leviathan | look into mailfolder |
16:28.21 | leviathan | :) |
16:31.02 | NexVision | cr2 u here? |
16:35.48 | tmzt | ToAsTcfh: same as you then I'm in oh |
16:35.52 | tmzt | sorry |
16:35.57 | tmzt | just distracted |
16:36.14 | tmzt | I think copying rild from 1.6 to 2.0 might work |
16:36.26 | tmzt | there should be a few new constants though |
16:36.44 | tmzt | if they changed rilj there is little we can do anyway |
16:36.59 | tmzt | I've had no luck bringing up rmnet anytime I've tried it |
16:37.09 | tmzt | though it should be straightforward |
16:47.50 | itchy8me | keep getting FBIOBLANK: Invalid argument FBIOPUTCHMAP: invalid argument |
16:49.40 | tmzt | ignore that |
16:49.43 | tmzt | from where? |
16:51.25 | itchy8me | from X |
16:51.44 | *** join/#htc-linux jashsu (n=chatzill@114-137-91-121.dynamic.hinet.net) |
16:51.52 | itchy8me | keeps dying with that message as error (EE) |
16:52.23 | tmzt | oh |
16:52.34 | tmzt | on msm bwith patches? |
16:53.14 | itchy8me | ya .. the yres patch? |
16:53.34 | tmzt | yes |
16:53.37 | itchy8me | ya |
16:53.40 | tmzt | and the return 1 patch |
16:53.45 | tmzt | or return 0 patch |
16:53.57 | tmzt | those aren't the fatal errors though |
16:54.27 | itchy8me | nope dont believe i have that patch.. only for yres |
16:54.56 | tmzt | I can get it in a little while |
16:55.11 | tmzt | if you look for fb modes is equal |
16:55.12 | itchy8me | shweet :) |
16:55.16 | itchy8me | brb |
16:55.16 | tmzt | in fbdev.c |
16:55.21 | tmzt | ok |
17:02.46 | *** join/#htc-linux [1]Captnoord (n=Captnoor@dc5147a47b.adsl.wanadoo.nl) |
17:10.48 | phh | <GNUtoo> FATAL: Error inserting snd_soc_msm (/lib/modules/2.6.29-00541-g4ae09f6-dirty/kernel/sound/soc/msm/snd-soc-msm.ko): Cannot allocate memory <----- most likely means resources hasn't been declared |
17:11.01 | phh | <itchy8me> anyone else here having problems with frame buffer and X? <----- what's your problem ? |
17:11.36 | tmzt | right |
17:11.40 | tmzt | in pdev/board |
17:12.03 | phh | yup |
17:19.27 | *** join/#htc-linux enjalot (n=enjalot@c-68-59-51-116.hsd1.fl.comcast.net) |
17:22.47 | phh | Is there any raph/blac/diam user who knows how to make android apps and willing to help a bit ? |
17:33.20 | tmzt | phh: #android-dev |
17:33.23 | tmzt | why? |
17:34.05 | phh | tmzt: I think having an app to set some things (power settings, wifi power, sleeping leds, debugging kernel level, etc), would be nice |
17:34.23 | tmzt | there's an openj one |
17:34.27 | tmzt | called spareparts |
17:34.35 | tmzt | add what you need |
17:34.42 | phh | oh it's open ? cool |
17:36.46 | *** join/#htc-linux GNUtoo (n=GNUtoo@host108-152-dynamic.40-79-r.retail.telecomitalia.it) |
17:37.38 | GNUtoo | leviathan, ok I'll make git send email |
17:37.43 | *** join/#htc-linux sdt555 (n=titus@147.145.40.44) |
17:38.11 | tmzt | we should add cia here |
17:38.14 | tmzt | never had one |
17:39.36 | phh | there is some gitorious integration ? |
17:40.21 | *** part/#htc-linux sdt555 (n=titus@147.145.40.44) |
17:46.33 | GNUtoo | leviathan, oops the patch don't contain my mail |
17:46.46 | *** join/#htc-linux [1]Captnoord (n=Captnoor@dc5147a47b.adsl.wanadoo.nl) |
17:46.49 | GNUtoo | because in the rebase I forgetten to remade the git setup |
17:53.03 | itchy8me | tmzt: in fbdev.c? |
17:54.11 | ToAsTcfh | tmzt: ill try swaping the rild but my rild is from 1.5 |
17:54.21 | ToAsTcfh | not 1.6 |
17:55.46 | ToAsTcfh | i wonder if that maybe an issue do to no cdma support in 1.5. if its a hacked rild then it maynot work |
18:10.35 | *** join/#htc-linux klinux (i=klx@41.92.37.55) |
18:11.48 | leviathan | ok |
18:11.54 | leviathan | GNUtoo: ok |
18:12.02 | leviathan | I got it anyway |
18:12.16 | leviathan | means I got the email |
18:12.21 | leviathan | looking into it |
18:17.27 | MatBee | zah zah zah |
18:24.37 | leviathan | GNUtoo: beautyfull |
18:24.39 | leviathan | it works |
18:24.45 | leviathan | imported succesfully |
18:24.48 | leviathan | thank you! |
18:24.58 | GNUtoo | ok but it doesn't run |
18:25.01 | GNUtoo | it only compiles |
18:25.16 | leviathan | but I can import it |
18:25.23 | leviathan | thats something ;-) |
18:25.27 | leviathan | ok |
18:25.35 | leviathan | now I can start debugging |
18:25.54 | leviathan | I propose that we're using git mail |
18:25.57 | GNUtoo | ok |
18:25.57 | leviathan | in the future |
18:26.09 | GNUtoo | ok I'll setup my name in the copied git dir |
18:26.13 | leviathan | so we can avoid further confrontations with failing patches |
18:26.18 | GNUtoo | ok |
18:26.40 | GNUtoo | sorry for forgetting that pastebins were problematic with patches |
18:27.07 | leviathan | np |
18:27.42 | leviathan | btw: food |
18:27.47 | leviathan | brb |
18:27.51 | leviathan | I'll debug then |
18:28.04 | phh | same here |
18:28.33 | Captnoord | phh gj on the suspend stuff |
18:28.37 | Captnoord | works very smooth here |
18:28.40 | phh | i did nothing /o\ |
18:28.52 | Captnoord | hehe |
18:28.53 | phh | and to me it seems it no longer suspend actually |
18:28.58 | phh | i have to debug it ebtter |
18:29.34 | Captnoord | maybe its because it doesn't suspend that I think it gets out of suspention so freaking fast |
18:42.31 | GNUtoo | leviathan, oops |
18:42.45 | GNUtoo | leviathan, I have forgetten to update the Makefile |
18:43.42 | GNUtoo | leviathan, also forget to fix that: snd_soc_register_card |
18:43.49 | GNUtoo | replace by init |
18:52.39 | *** join/#htc-linux toi (n=toi@d54C2A96D.access.telenet.be) |
18:55.12 | *** join/#htc-linux BabelO (n=fcr@unaffiliated/babelo) |
19:08.19 | tmzt | when they moved to a bus? |
19:08.25 | tmzt | or is it platform bus |
19:10.36 | ToAsTcfh | ok well my time is corect |
19:11.29 | ToAsTcfh | but for some reason busybox is giving permission denied |
19:12.26 | tmzt | chmod +x on the binary not the directory |
19:13.00 | phh | ToAsTcfh: it was working yesterday |
19:13.18 | tmzt | odd |
19:13.26 | ToAsTcfh | i know i didnt do anything differant either |
19:13.46 | ToAsTcfh | just copied and paisted it |
19:13.49 | phh | sure.* |
19:14.29 | ToAsTcfh | lol... with this rom all i did was put in busybox and swap rild |
19:14.50 | ToAsTcfh | but the time is corrwect now so woot |
19:15.01 | tmzt | the cdma time? |
19:15.05 | ToAsTcfh | no data though |
19:15.18 | tmzt | I see |
19:15.50 | ToAsTcfh | says sprint and all. so im getting warmer |
19:17.26 | ToAsTcfh | i can send text but somthing is freaking out the dialer |
19:20.39 | *** join/#htc-linux Atom_ (n=tim@cpe-74-74-213-42.rochester.res.rr.com) |
19:21.04 | GNUtoo | leviathan, are you there |
19:21.09 | GNUtoo | leviathan, you need more patches |
19:21.16 | GNUtoo | btw it fails there: ret = platform_device_add(msm_audio_snd_device); |
19:28.29 | ToAsTcfh | eek... i got it. had to chmod it. err any how |
19:33.57 | *** join/#htc-linux sxe_ (n=quassel@ip-62-143-102-161.unitymediagroup.de) |
19:50.01 | *** join/#htc-linux enjalot (n=enjalot@c-68-59-51-116.hsd1.fl.comcast.net) |
19:51.22 | ToAsTcfh | idk... i tried to manually setprop all the settings to match my old rom and nothing no data |
19:52.13 | tmzt | you are going to have to fix ril or do it manually |
19:52.28 | tmzt | since you aren't bringing up qmi the way cdma wants it with that ril |
19:52.32 | tmzt | have you tried |
19:52.43 | tmzt | echo -n 'up:rmnet0' > /dev/qmi |
19:53.17 | ToAsTcfh | did it |
19:53.28 | ToAsTcfh | now what? no ping still |
19:54.10 | tmzt | is the ifconfig rmnet0 showing UP RUNNING? |
19:54.22 | tmzt | I don't have ril source so I can't really tell you |
19:54.28 | tmzt | the kernel isn't very helpful here |
19:54.45 | ToAsTcfh | rmnet0 Link encap:Ethernet HWaddr AE:D7:C5:3F:55:33 |
19:54.45 | ToAsTcfh | <PROTECTED> |
19:54.45 | ToAsTcfh | <PROTECTED> |
19:54.45 | ToAsTcfh | <PROTECTED> |
19:54.45 | ToAsTcfh | <PROTECTED> |
19:54.46 | ToAsTcfh | <PROTECTED> |
19:54.59 | ToAsTcfh | its the same as its been |
19:55.51 | tmzt | right |
19:55.55 | tmzt | that doesn't help then |
19:55.59 | tmzt | have you done |
19:56.01 | tmzt | cat /dev/qmi & |
19:56.05 | tmzt | and left it running? |
19:56.42 | ToAsTcfh | # cat /dev/qmi & |
19:56.43 | ToAsTcfh | # up:rmnet0 |
19:57.02 | ToAsTcfh | do i select enter to that? |
19:57.13 | ToAsTcfh | <PROTECTED> |
19:58.09 | ToAsTcfh | # cat /dev/qmi & |
19:58.09 | ToAsTcfh | # up:rmnet0 |
19:58.09 | ToAsTcfh | [1] Done cat /dev/qmi |
19:58.09 | ToAsTcfh | # ping www.google.com |
19:58.09 | ToAsTcfh | ping: unknown host www.google.com |
19:58.34 | ToAsTcfh | no dice |
19:59.40 | ToAsTcfh | cdma is a bitch!!! |
20:01.25 | tmzt | please stop pinging dns |
20:01.28 | tmzt | it won't work yet |
20:01.34 | tmzt | try pinging the dns server first |
20:01.37 | tmzt | or the gateway |
20:01.44 | ToAsTcfh | i think maybe some of the apks in the app folder maybe my problem. some have alot of cdma stuff in them |
20:01.47 | ToAsTcfh | ok |
20:01.49 | tmzt | after you add route |
20:02.04 | ToAsTcfh | ? |
20:02.44 | tmzt | phh: you know the haret stuff NetRipper is doing? |
20:03.18 | ToAsTcfh | # ping 99.205.226.222 |
20:03.18 | ToAsTcfh | connect: Network is unreachable |
20:05.37 | tmzt | ok |
20:05.39 | tmzt | route |
20:06.14 | ToAsTcfh | not sure what ur sayin man |
20:06.22 | tmzt | type route |
20:06.25 | tmzt | paste the output |
20:07.27 | ToAsTcfh | # route |
20:07.27 | ToAsTcfh | Invalid argument |
20:07.42 | high-rez | netstat -rn |
20:07.43 | high-rez | ? |
20:10.08 | ToAsTcfh | tmzt: / |
20:10.08 | ToAsTcfh | ? |
20:10.38 | tmzt | busybox route |
20:10.48 | ToAsTcfh | oh shit |
20:10.50 | tmzt | rez, what's up? I pasted you some pms |
20:10.52 | tmzt | pm's |
20:11.19 | ToAsTcfh | Kernel IP routing table |
20:11.19 | ToAsTcfh | Destination Gateway Genmask Flags Metric Ref Use Iface |
20:11.19 | ToAsTcfh | route: fscanf |
20:12.03 | ToAsTcfh | tmzt: that doesnt look promissing |
20:12.18 | tmzt | right |
20:12.31 | tmzt | UP RUNNING and not in route |
20:12.33 | tmzt | is an ip assigned? |
20:12.48 | tmzt | did cat /dev/qmi & return anything when you echoed? |
20:13.09 | leviathan | GNUtoo: hi, im here |
20:13.30 | ToAsTcfh | # echo -n 'up:rmnet0' > /dev/qmi |
20:13.30 | ToAsTcfh | # cat /dev/qmi & |
20:13.30 | ToAsTcfh | # up:rmnet0 |
20:13.30 | ToAsTcfh | [1] Done cat /dev/qmi |
20:13.53 | leviathan | GNUtoo: i had some rum and I reached the balmer peak, I guess |
20:14.11 | ToAsTcfh | tmzt: done is all i see |
20:14.52 | tmzt | done is from the command itself |
20:14.54 | tmzt | [1] done ? |
20:15.00 | tmzt | so it's crashing cat |
20:15.03 | tmzt | try fg |
20:15.19 | leviathan | GNUtoo: http://www.gnugeneration.com/books/linux/2.6.20/kernel-api/re729.html |
20:15.35 | leviathan | you first need to register it |
20:15.38 | ToAsTcfh | # fg |
20:15.38 | ToAsTcfh | fg: No current job |
20:15.40 | leviathan | elsewhere it crashes |
20:16.44 | ToAsTcfh | tmzt: ? |
20:17.15 | tmzt | right |
20:17.18 | tmzt | so it's crashing |
20:17.45 | ToAsTcfh | so im fuct |
20:19.57 | ToAsTcfh | tmzt:so what do i do about that? |
20:20.07 | tmzt | I'm in more than one channel |
20:20.15 | tmzt | waiting for NetRipper to pong |
20:20.18 | tmzt | you don't have to ping me |
20:20.38 | ToAsTcfh | sorry |
20:21.52 | tmzt | alright |
20:21.59 | tmzt | so the cat /dev/qmi is crashing |
20:22.08 | tmzt | let me look at the kernel source except we dont have it |
20:22.15 | tmzt | alright |
20:22.24 | tmzt | you brought over the whole rild and the htcril right? |
20:22.40 | tmzt | we need ot see if there are java (rilj) changes for cdma |
20:22.42 | ToAsTcfh | no just the rild |
20:22.56 | tmzt | get the htcril as well |
20:23.10 | ToAsTcfh | \ill try to bring the other over too |
20:23.27 | ToAsTcfh | ill be back in a bit |
20:35.28 | *** join/#htc-linux PsWii60 (i=pswii60@p01ice.info) |
20:36.10 | GNUtoo | leviathan, I'm back |
20:37.35 | tmzt | phh: there is cdma smd support, there was just an issue with a channel being opened and a dzo patch that remaps a channel |
20:42.41 | leviathan | GNUtoo: well |
20:43.07 | leviathan | it doesnt build, when I'm doing everything of your patches, you mailed |
20:43.17 | leviathan | because its missing Makefile-entries |
20:43.22 | leviathan | when im adding msm-folder |
20:43.27 | leviathan | it doesnt build |
20:44.04 | GNUtoo | leviathan, yes that's what I told |
20:44.12 | GNUtoo | leviathan, do you want the missing patches |
20:44.16 | leviathan | yes |
20:44.19 | leviathan | just mail them |
20:44.19 | GNUtoo | ok |
20:44.23 | leviathan | I'll add them |
20:44.37 | leviathan | in order to see whats going wrong |
20:44.46 | leviathan | I've to see, what you have done |
20:44.47 | leviathan | :) |
20:45.45 | tmzt | anyone else familiar with leo patches for haret (the booting part) |
20:47.12 | *** join/#htc-linux balans (n=Gebruike@212-123-149-239.ip.telfort.nl) |
20:49.50 | *** join/#htc-linux stickboy (n=anonymou@128.153.183.211) |
20:53.33 | GNUtoo | leviathan, also beware that I've not tried the driver yet so we may have to change the magic number |
20:53.45 | GNUtoo | snd_rpc_ids.vers |
20:54.56 | leviathan | hmm, ok |
20:59.40 | *** join/#htc-linux GlemSom (n=glemsom@0x5da34bca.cpe.ge-1-1-0-1105.sdnqu1.customer.tele.dk) |
21:09.33 | tmzt | Kevin2: get any patches for haret from NetRipper? |
21:16.21 | Kevin2 | tmzt: NetRipper has commit access now. |
21:25.04 | leviathan | ok |
21:25.07 | leviathan | interesting |
21:25.26 | leviathan | it seems to produce a Oops :) |
21:27.15 | *** join/#htc-linux sxe (n=quassel@ip-62-143-102-161.unitymediagroup.de) |
21:27.33 | GNUtoo | leviathan, what seem to produce an oops? |
21:27.41 | GNUtoo | without modifications it does |
21:27.50 | GNUtoo | I didn't find yet how to remove the oops |
21:27.53 | leviathan | soc_probe |
21:27.58 | GNUtoo | because I was busy with other things |
21:27.58 | GNUtoo | ok |
21:28.35 | leviathan | hmm. lets see how it works without msmfb on |
21:28.36 | leviathan | :) |
21:29.00 | GNUtoo | for msmfb |
21:29.04 | GNUtoo | remove framebuffer |
21:29.06 | GNUtoo | it get removed |
21:29.12 | GNUtoo | and as soon as it logs |
21:29.15 | GNUtoo | type: |
21:29.16 | GNUtoo | root |
21:29.18 | GNUtoo | ifup usb0 |
21:29.28 | GNUtoo | strangely enough it works |
21:30.38 | tmzt | remove what? |
21:30.40 | tmzt | ah |
21:34.02 | MatBee | ho hum |
21:34.26 | leviathan | so. you got sound then? |
21:35.15 | tmzt | Kevin2: do you know what device imx.25 is used in? |
21:36.20 | tmzt | and why aren't generated file git ignored? |
21:37.25 | tmzt | i.MX21 |
21:37.46 | GNUtoo | leviathan, no |
21:37.54 | GNUtoo | leviathan, I meant for having usbnet+ssh |
21:38.09 | leviathan | oh, ok |
21:38.40 | GNUtoo | tmzt, I've 2 imx.31 devices |
21:39.03 | GNUtoo | leviathan, at what point are you? |
21:39.31 | tmzt | what are they? and running ce? |
21:39.44 | tmzt | yeah, that worked for me on tp2 |
21:39.53 | tmzt | as did turning off htcfb boot and keeping it |
21:40.02 | tmzt | haven't tried disabling the msmfb completely |
21:40.07 | tmzt | since I need it :) |
21:40.33 | leviathan | thinking about the problem and googling |
21:40.35 | leviathan | :) |
21:46.32 | *** join/#htc-linux toer (i=tore@179.81-166-86.customer.lyse.net) |
21:48.53 | leviathan | did you make changes after sending me the patches? |
21:49.23 | leviathan | I think I have some ideas |
21:49.27 | leviathan | I'll try them |
21:49.44 | leviathan | but first I'll smoke a pipe and I'll think about the ideas |
21:49.49 | leviathan | to sort them out |
21:49.53 | *** join/#htc-linux toer_ (i=tore@179.81-166-86.customer.lyse.net) |
21:58.45 | *** join/#htc-linux kam187 (n=kam187@81-179-8-102.dsl.pipex.com) |
21:59.03 | GNUtoo | leviathan, try adding driver data |
21:59.25 | leviathan | yes, but I think, the device doesnt get instanced |
21:59.35 | *** part/#htc-linux PsWii60 (i=pswii60@p01ice.info) |
21:59.45 | GNUtoo | oops bad idea |
21:59.49 | GNUtoo | tired... |
22:00.01 | GNUtoo | I'll try something for debugging |
22:00.27 | leviathan | ./drivers/base/platform.c |
22:00.29 | leviathan | line 445 |
22:00.54 | leviathan | and then we have the error again in the driver itself |
22:00.57 | leviathan | and very clear |
22:02.15 | GNUtoo | basically: |
22:02.17 | GNUtoo | <PROTECTED> |
22:02.22 | GNUtoo | I bet card is null |
22:02.43 | GNUtoo | in soc_probe |
22:04.08 | Kevin2 | tmzt: I don't know. |
22:05.14 | tmzt | ok |
22:06.15 | tmzt | why is card null? |
22:06.25 | tmzt | what driver? |
22:06.37 | tmzt | wait, your not using snd are you? |
22:07.07 | tmzt | so the base alsa stuff is probably not initted |
22:09.28 | GNUtoo | leviathan, it is: [ 237.277770] REMOVE_THAT: null card |
22:09.47 | GNUtoo | then we have to define .card |
22:10.11 | leviathan | yes |
22:10.11 | leviathan | exactly |
22:10.14 | tmzt | how are you creating an instance? |
22:10.20 | tmzt | from probe? |
22:10.33 | tmzt | probe of the actual platform device? |
22:10.43 | leviathan | uhhmm |
22:10.58 | leviathan | *pumb* |
22:11.19 | leviathan | ok, lets set a device name .card |
22:11.24 | tmzt | so you need private data |
22:11.27 | leviathan | perhaps then it wont crash again |
22:12.20 | GNUtoo | or something like this |
22:12.40 | GNUtoo | tmzt, I'll explain |
22:13.48 | GNUtoo | tmzt, basically it's not so direct...the soc core takes care of it |
22:14.00 | GNUtoo | it's wrapped arround soc things like: |
22:14.38 | GNUtoo | http://pastebin.com/m106ed1f4 is the code |
22:14.50 | tmzt | right |
22:14.54 | leviathan | these are nested structs |
22:14.59 | tmzt | I'll get that when on laptop |
22:15.04 | tmzt | in a few minutes |
22:15.07 | GNUtoo | http://pastebin.com/m159baabb is the trace |
22:15.11 | leviathan | means device>platform>soc>msm |
22:15.16 | tmzt | ok |
22:15.21 | tmzt | and card? |
22:15.39 | leviathan | snd_card is from another branch |
22:15.45 | leviathan | its like OOP in C |
22:15.49 | leviathan | and ASM |
22:15.52 | leviathan | >_< |
22:16.09 | tmzt | I know how structs and pointers work |
22:16.12 | GNUtoo | tmzt, we should keep 2 things in mind: |
22:16.21 | tmzt | where is card set? |
22:16.26 | tmzt | what struct is it in? |
22:16.30 | GNUtoo | tmzt, it is not set |
22:16.43 | leviathan | core.h |
22:16.46 | GNUtoo | tmzt, *it was imported from an older kernel |
22:17.14 | GNUtoo | tmzt, *as they used qsd thing it may not work out of the box |
22:17.23 | leviathan | its sound-core itself |
22:17.26 | GNUtoo | so I bet we have to adapt it a bit |
22:17.31 | leviathan | where the card base comes from |
22:18.07 | GNUtoo | for instance card = socdev->codec->card is set in msm7201.c |
22:18.24 | GNUtoo | of course the struct is ok |
22:18.40 | leviathan | perhaps the nomenclature has changed |
22:19.03 | GNUtoo | in...msm_pcm_probe |
22:19.08 | tmzt | you call the soc driver msm7201? |
22:19.09 | GNUtoo | so we have 2 probe functions |
22:19.32 | GNUtoo | yes that's what is in the source code |
22:19.47 | tmzt | I see |
22:19.52 | tmzt | the samsung one? |
22:20.04 | tmzt | card is only valid in one file/function |
22:20.23 | tmzt | you should always be able to get dev pointer and priv from there |
22:20.27 | tmzt | what type is priv? |
22:20.47 | GNUtoo | yes I imported samesung in 2.6.29 |
22:20.53 | tmzt | sorry if I'm missing something core I don't know this subsystem |
22:20.54 | GNUtoo | the one from linuxtogo |
22:20.59 | tmzt | they have it wrong |
22:21.04 | GNUtoo | neither do I |
22:21.06 | tmzt | there's no hrdare |
22:21.14 | tmzt | and it's not the msm soc |
22:21.18 | tmzt | but whatever |
22:21.25 | tmzt | it should be qdsp though |
22:21.47 | GNUtoo | qdsp8k should work as they use it |
22:22.37 | tmzt | right |
22:22.40 | tmzt | but 8k is snapdragon |
22:23.14 | GNUtoo | ok |
22:23.21 | GNUtoo | do they use snapdragon? |
22:23.30 | tmzt | for what? |
22:23.37 | GNUtoo | in their phone |
22:23.41 | tmzt | no |
22:23.55 | GNUtoo | basically I've got the sources of a device I don't own or know |
22:24.00 | GNUtoo | ah ok |
22:24.03 | GNUtoo | so they used 7k |
22:24.05 | tmzt | yeah that's odd |
22:24.08 | tmzt | yes |
22:24.12 | GNUtoo | ok |
22:24.12 | tmzt | 7200a |
22:24.16 | GNUtoo | wow |
22:29.47 | *** join/#htc-linux [1]Captnoord (n=Captnoor@dc5147a47b.adsl.wanadoo.nl) |
22:30.31 | leviathan | hmm |
22:32.28 | *** join/#htc-linux gehzumteufel (n=gehzumte@cpe-76-93-100-70.socal.res.rr.com) |
22:37.44 | ToAsTcfh | tmzt: ok i got the libhtc_ril.so swaped and inm signing the zip now |
22:39.54 | gehzumteufel | So anyone know if cr2 has had any progress on the rhodium stuffs? |
22:40.08 | gehzumteufel | I haven't been around for a bit to help test |
22:42.02 | ToAsTcfh | aplying update now |
22:44.28 | GNUtoo | basically there is: dev->driver_data->card |
22:44.39 | GNUtoo | dev is |
22:44.41 | GNUtoo | msm_audio_snd_device |
22:46.15 | GNUtoo | maybe let's try to add .card |
22:46.23 | tmzt | are you initing from the board or with an initcall? |
22:47.48 | ToAsTcfh | ok im in |
22:48.04 | ToAsTcfh | do i need to setprop everything again first? |
22:48.26 | tmzt | everything? |
22:48.29 | tmzt | you shouldn't |
22:48.38 | tmzt | if ril works you should be able to start data normally |
22:49.10 | ToAsTcfh | im getting alot of force closes frome the phone |
22:49.29 | tmzt | check logcat |
22:49.49 | ToAsTcfh | E/copybit ( 77): copyBits failed (Invalid argument) |
22:49.49 | ToAsTcfh | E/libagl ( 77): copybit failed (Unknown error: -22) |
22:49.49 | ToAsTcfh | E/copybit ( 77): copyBits failed (Invalid argument) |
22:49.58 | tmzt | right |
22:50.00 | tmzt | that's odd |
22:50.04 | tmzt | this is from droid? |
22:50.04 | gehzumteufel | What device are you guys woring on? |
22:50.06 | gehzumteufel | working* |
22:50.07 | tmzt | so no it's not |
22:50.16 | tmzt | why did you copy all of that |
22:50.17 | gehzumteufel | Raph? |
22:50.21 | tmzt | not just rild and libhtc_ril |
22:50.40 | tmzt | cdma hero |
22:50.45 | gehzumteufel | Ah |
22:50.47 | tmzt | with android 2.0 hopefully |
22:50.50 | gehzumteufel | Nice |
22:50.53 | ToAsTcfh | i didnt copy all that. just the rild and htc ril |
22:50.54 | gehzumteufel | My best friend has that thing |
22:51.00 | gehzumteufel | He wants to kill Sprint |
22:51.02 | tmzt | then what's the issue? |
22:51.05 | tmzt | just the copybit? |
22:51.11 | tmzt | copy copybit from 1.6 if you can |
22:51.16 | tmzt | if not, ignore it for now |
22:51.19 | tmzt | don't expect it to work |
22:51.38 | ToAsTcfh | idk... but the phone wont wake |
22:52.20 | ToAsTcfh | adb still works though |
22:52.20 | GNUtoo | mmm won't work |
22:52.40 | ToAsTcfh | 2.1 hero |
22:53.03 | ToAsTcfh | leaked 2.1 hero rom |
22:53.06 | GNUtoo | tmzt, indeed your're right snd_soc_platform msm_soc_platform{ .name = ... |
22:53.24 | GNUtoo | tmzt, yes |
22:53.24 | GNUtoo | that's what it does |
22:53.25 | tmzt | because of the init? how am I right? |
22:53.28 | GNUtoo | __init |
22:53.36 | GNUtoo | sorry it's late |
22:53.54 | tmzt | no, that just means it gets freed |
22:54.19 | ToAsTcfh | ok my orig rom is 1.5 will that work? |
22:54.42 | tmzt | yeah, sorry |
22:54.44 | tmzt | 1.5 not 1.6 |
22:54.48 | GNUtoo | I still don't understand how it should work...it seem that there are 2 different way of bringing up the card |
22:54.48 | tmzt | if might work I don't know |
22:54.54 | GNUtoo | s/card/soc |
22:55.07 | ToAsTcfh | where is copybit |
22:55.20 | tmzt | my thinking is that without snd.c it doesn't allocate the card correctly |
22:55.26 | tmzt | so you have to do it yourself |
22:56.20 | ToAsTcfh | woot... it finally woke up |
22:57.14 | ToAsTcfh | where can i find copybits |
22:57.26 | GNUtoo | tmzt, ah ok....I'll look what is snd.c |
22:57.39 | *** join/#htc-linux [1]Captnoord (n=Captnoor@dc5147a47b.adsl.wanadoo.nl) |
22:58.39 | GNUtoo | I thought I had not to do it because it was already done but I'll look |
23:00.09 | tmzt | the core of alsa |
23:01.14 | gehzumteufel | Yeah snd.c is required for any and all sound lol |
23:02.04 | ToAsTcfh | where is copycits? is it part of phone |
23:02.07 | gehzumteufel | It is pretty integral in standard linux distros anyways |
23:03.16 | GNUtoo | ah ok |
23:03.17 | GNUtoo | thanks |
23:03.56 | ToAsTcfh | libagl.so? |
23:06.07 | ToAsTcfh | D/MobileDataStateTracker( 77): dropped - wrong Apn |
23:06.17 | ToAsTcfh | this is new |
23:06.32 | *** join/#htc-linux [2]Captnoord (n=Captnoor@dc5147a47b.adsl.wanadoo.nl) |
23:07.31 | GNUtoo | ok I get it...I'll have to change a lot of code |
23:07.42 | GNUtoo | it's in the old alsa from qualcom |
23:07.47 | tmzt | = 2009-09-22 14:20:43< NetRipper> i'll use it for linux fully once i have my HTC leo, then my raph becomes a linux device ;) |
23:07.55 | tmzt | yay! you can help with flashing them then |
23:08.42 | gehzumteufel | haha that is pretty much what will happen with me once I start making more money at my new job. Get a Leo and then use my rhod for linux testing |
23:11.27 | GNUtoo | maybe it's not so much code at the end |
23:12.18 | ToAsTcfh | tmzt: the getprop looks worse now then before. it doesnt say anything about cdma |
23:13.20 | ToAsTcfh | so that means the new ril is gonna work and minesnot? |
23:14.27 | tmzt | paste it |
23:14.29 | tmzt | pastebin |
23:14.32 | tmzt | I'm on pc now |
23:14.58 | GNUtoo | mmm |
23:15.06 | GNUtoo | it doesn't find the card |
23:15.09 | GNUtoo | or the soc |
23:15.32 | GNUtoo | I've --- no soundcards --- in /proc |
23:15.36 | ToAsTcfh | http://pastebin.com/d1dcee72a |
23:16.02 | GNUtoo | but it doesn't crash anymore |
23:16.08 | GNUtoo | leobaillard, do you want a patch |
23:17.16 | ToAsTcfh | eeeeeeerrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrr |
23:17.39 | MatBee | oh dear, my treo pro is never going to see android/linux :') |
23:18.01 | ToAsTcfh | <~~~Is ready to get a hammer!!! |
23:20.29 | ToAsTcfh | wi wish this thing would understand i dont have or need a APN!!! |
23:21.03 | tmzt | hah |
23:21.04 | tmzt | try 0 |
23:21.07 | tmzt | for the name |
23:21.11 | tmzt | MatBee: why? |
23:24.10 | GNUtoo | mmm http://pastebin.com/m77122c7f |
23:24.27 | GNUtoo | maybe with that trace I could get what failed |
23:30.08 | ToAsTcfh | ok i setprop a few things but nothing has changed as far as service |
23:31.58 | ToAsTcfh | tmzt: is there away i can just use the setprop from 1.5 or is that what the ril does? |
23:32.18 | tmzt | the ril should do it |
23:32.25 | tmzt | if the apn stuff is still there that's rilj |
23:32.47 | ToAsTcfh | where is that at |
23:32.58 | ToAsTcfh | i never found it |
23:34.46 | ToAsTcfh | look what i found in the 2.1 build ~~> libreference-cdma-sms.so |
23:35.30 | ToAsTcfh | also libreference-ril.so |
23:35.47 | ToAsTcfh | and libril.so |
23:36.04 | ToAsTcfh | <PROTECTED> |
23:37.17 | tmzt | GNUtoo: https://www.codeaurora.org/gitweb/quic/qsd/?p=kernel.git;a=blob;f=sound/soc/msm/Makefile |
23:37.24 | tmzt | you don't use reference at all |
23:37.30 | tmzt | use the cdma and symblink it |
23:37.42 | leviathan | GNUtoo: I'm near on getting it... maybe |
23:37.53 | leviathan | lets see who gets it first xD |
23:37.59 | GNUtoo | ok |
23:38.02 | GNUtoo | thanks tmzt |
23:38.03 | ToAsTcfh | symblink ? |
23:38.07 | tmzt | symlink |
23:38.19 | tmzt | ln -sf */libreference-cdma-sms.so libril.so |
23:41.56 | ToAsTcfh | ln -sf /system/lib/libreference-cdma-sms.so libril.so |
23:42.13 | ToAsTcfh | its giving me this...link failed No such file or directory |
23:43.33 | GNUtoo | leviathan, should we try new qualcomm source? |
23:44.38 | leviathan | uhhm? |
23:44.41 | leviathan | what? |
23:44.46 | leviathan | do you mean the 2.6.31? |
23:45.04 | ToAsTcfh | ln -sf /system/lib/libreference-cdma-sms.so |
23:45.33 | tmzt | sys, to /system/lib/libreference_ril.so I think |
23:45.42 | leviathan | btw |
23:45.44 | tmzt | <PROTECTED> |
23:45.48 | tmzt | uh |
23:45.57 | leviathan | I've gotten the segfault going away |
23:46.00 | tmzt | ln -sf /system/lib/libreference-cdma-sms.so /system/lib/libreference_ril.so |
23:46.02 | tmzt | cool |
23:46.04 | leviathan | but theres no device regocnized |
23:46.05 | tmzt | the mplayer one? |
23:46.12 | tmzt | oh, panic/oops |
23:46.16 | leviathan | nope, the modprobe one |
23:47.17 | tmzt | ok |
23:47.30 | GNUtoo | leviathan, no that one https://www.codeaurora.org/gitweb/quic/qsd/?p=kernel.git;a=blob;f=sound/soc/msm/Makefile |
23:47.49 | GNUtoo | leviathan, me too that's what I was saying before |
23:48.10 | GNUtoo | I even asked you if you wanted patches |
23:48.30 | leviathan | SUBLEVEL = 27 |
23:48.35 | GNUtoo | leviathan, try to rmmod and you'll got a crash |
23:48.39 | GNUtoo | ah again... |
23:48.57 | GNUtoo | I didn't look at the version of qualcomm for snapdragon |
23:49.29 | leviathan | I cant even unload them -_- |
23:49.58 | leviathan | would be nice to take the samsung thing and pack it into 2.6.31 |
23:50.02 | leviathan | then we could use 2.6.31 |
23:50.19 | leviathan | there is msmfb for 2.6.31 |
23:50.28 | GNUtoo | leviathan, you mean .32? |
23:50.33 | leviathan | uhhm |
23:50.34 | leviathan | yeah |
23:50.34 | tmzt | yes, I need that |
23:50.36 | leviathan | sorry |
23:50.42 | GNUtoo | but I didn't saw the board file in .32 |
23:50.43 | tmzt | is that qualcomm, codeaurora, or google? |
23:50.52 | leviathan | neither |
23:50.58 | tmzt | pavel? |
23:51.02 | leviathan | as I know, its now official branch |
23:51.05 | GNUtoo | yes .32 is pavel |
23:51.07 | leviathan | yes |
23:51.09 | leviathan | pavel |
23:51.25 | GNUtoo | and it's in staging and in main now |
23:51.37 | GNUtoo | but...how can we boot a .32 on our phones? |
23:51.44 | ToAsTcfh | nothing is working |
23:51.47 | GNUtoo | I didn't see a board file |
23:51.49 | leviathan | uhhm |
23:51.52 | GNUtoo | only drivers |
23:51.57 | leviathan | uuhm |
23:52.16 | ToAsTcfh | its saying the dir isnt there and i know it is |
23:52.33 | leviathan | i'll checkout the newest kernel git |
23:53.56 | tmzt | upstream? |
23:54.01 | GNUtoo | btw in the samsung driver I bet it fails there: struct snd_soc_device *socdev = platform_get_drvdata(devptr); |
23:55.47 | leviathan | http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=summary |