/srv/irclogs.ubuntu.com/2010/09/23/#ubuntu-arm.txt

rlameirook00:00
rlameiroi will do that in a moment, girl needs atention...00:00
persiarlameiro, So you want to add to the massive case statement near where it says "OMAP3 Beagle Board" an entry for your machine, which calls check_subarch "omap"00:00
persiarcn-ee, That alone isn't enough: one should also add something around line 66800:01
rcn-eeoh right...00:02
rcn-eehttp://pastebin.com/JUD5ZQpJ ;)00:03
GrueMasterhttp://paste.ubuntu.com/498807/00:05
rcn-eei almost think for maverick +1 maybe the nand usage in that omap_flash_kernel could be dropped and just default to mmc?00:05
GrueMasterrcn-ee: Heh.  Same idea.00:05
persiaEither one.  Now get someone to test it, and get it attached to a bug :)00:06
rcn-eeif rlameiro system is still up, he could manually patch it.. and then try running it. .;)00:06
persiarcn-ee, My personal preference is to boot from NAND, and have MMC available for secondary boots for testing, etc.  Mind you, I use USB storage anyway.00:07
rlameirorcn-ee: i came back00:07
rcn-eeyeah, it's nice for your own embedded systems, we got tons of rma's with incorrect nand on the beagles. ;)00:07
rlameirogoing to open second ssh and edit it with nano00:07
persiarcn-ee, Oughtn't one be able to just boot off MMC and recreate NAND to work around that?00:08
persiarlameiro, Rather than using nano, could you use patch?00:08
rlameirowhere do i found my partitions00:08
rlameiropersia: well i can try, but i am not experienced00:08
persia`cd /usr/sbin; sudo patch < /tmp/flash-kernel-patch;`00:08
persiaJust download one of the patches before you do that.00:09
rlameiroso i edit a different version and then patch it?00:09
rcn-eeyeap... that's exactly how i fixed most of the returns and sent back to the customers. ;)00:09
rlameiroso only this patch?00:10
persiarlameiro, You shouldn't have to edit anything at all.00:10
rlameirohttp://paste.ubuntu.com/498807/00:10
rcn-eeyeap, that one is good..00:10
rlameiro/usr/sbin/flash-kernel: 671: Syntax error: word unexpected (expecting ")")00:13
GrueMasterOops.  Add a | before \ on line 25 of patch.00:14
rlameiromissing a pipe lol00:14
rcn-eeactually 671, needs a space.. like; "OMAP3 Beagle Board" | "IGEP v2 board")00:14
rcn-eebtw, has anyone tried using rootstock on maverick x86 to build a maverick dist with any xfce4 based packages?  it worked this afternoon for me, so maybe the old qemu bug has fixed it self?00:16
rlameirowhy the "\"? its to tell that the line continues?00:16
GrueMasteryes.  Makes it more readable.00:16
rlameiroso it stays "|\" or "| \" ?00:17
GrueMastersecond option00:17
GrueMasterspace is good.00:17
rlameiroReversed (or previously applied) patch detected!  Assume -R? [n] -R00:19
rlameiroApply anyway? [n] y00:19
rlameiroHunk #1 FAILED at 149.00:19
rlameiroHunk #2 FAILED at 319.00:19
rlameiroHunk #3 FAILED at 665.00:19
rlameiro3 out of 3 hunks FAILED -- saving rejects to file flash-kernel.rej00:19
rlameirodo i need to make a diff?00:19
GrueMasterNo.  Did you try to edit the patch and apply it to a clean flash-kernel?00:19
rlameironope00:20
rlameiroto the alreday patched one00:20
GrueMasterOk.  edit the flash-kernel script directly.  Fix line 670.00:20
GrueMasterYou can only apply a patch once.00:21
rlameirois there a way to revert a patch?00:21
rcn-ee-R (with same patch)00:22
rlameirook00:22
GrueMastersudo patch -R < <patchfile>00:22
rlameiroU-Boot partition not found, using Nand.00:26
rlameiroThe Kernel doesn't fit in flash.00:26
rlameiroso i need to add the partition to the file?00:26
rcn-eeassuming it's mmc add UBOOT_PART=/dev/mmcblk0p1 to /etc/flash-kernel.conf00:27
GrueMasterYes.  create /etc/flash-kernel.conf with two lines:00:27
GrueMasterUBOOT_PART=<partiotion for uImage & uInitrd>00:27
GrueMasterroot=<root partition>00:27
rcn-eeGrueMaster, looking thru flash-kernel, what uses root=?00:28
rcn-eeor is the boot.scr creater script pulling that..00:29
GrueMastermight be.00:29
GrueMasterIt could also be a hold over.00:29
rcn-eeit's new in my book, that's why i wondering.. ;)00:30
GrueMasterflash-kernel is something I think was pulled from Debian.00:30
rlameiroso what do i put on the root?00:31
rcn-eeyeap i remember it well specially when it first came into lucid... (quit touching my flash..)00:31
rlameiro/dev/mmcblk0p2?00:31
rcn-eeyeah, that looks good..00:31
rlameirofingers cross00:32
rlameirolol00:32
rlameirosame error00:32
rlameirodo i need to reboot?00:32
rcn-eeno...00:32
rcn-eeis it the same line?00:32
rlameirowhere? on the flash-kernel.conf?00:32
rlameirono separated files00:33
rcn-eeline 671/200:33
rlameirorcn-ee: its like this00:35
rlameirorcn-ee: i just made into one line and the output is the same00:37
rcn-eei actually think it's line 671... make sure there is spaces: "OMAP3 Beagle Board" | "IGEP v2 board"00:37
rlameiroyes ther is00:38
rlameirocheck this line00:38
rlameiroomap_flash_kernel() {00:39
rlameiroif [ -n "${UBOOT_PART}" ]; then00:39
rlameiroecho "Using u-boot partition: ${UBOOT_PART}" >&200:39
rlameirodo i need to pass it as an argument ?00:39
rcn-eeit pulls that from /etc/flash-kernel.conf00:39
rlameirolike flash-kernel -n /dev/mmcblk0p1?00:40
rlameirowhere? i dont see where does it loads the variable00:40
rcn-eeflash-kernel runs ". /etc/flash-kernel.conf" the variable gets loaded...00:40
rcn-eeline 290/29500:41
rcn-eeconfig="/etc/flash-kernel.conf"00:41
rlameirolol00:42
rlameiroi was actually editing kernel-info.conmf00:42
rlameirolol00:42
rlameirokernel-img00:42
rlameiroyay00:43
rlameirorcn-ee: so now reboot?00:44
rcn-eemaybe? did it print out everything okay, and is a new uImage in /boot/(mmc1)00:44
rlameirowell it booted00:47
rlameirobut now i dont have network00:47
rlameiroyep uname-a confirms00:48
rcn-eethose should have loaded.. i think ubuntu se them as built -in...00:48
GrueMasterSorry, flash-kernel doesn't change that.00:48
GrueMaster:P00:48
rlameiroits the linaro kernel 2.6.35.1005-linaro-omap00:48
rlameiroGrueMaster: but the kernel does :D00:49
rlameirocant do lspci also00:50
GrueMasterAt any rate, if you can file a bug on launchpad.net against flash-kernel, I'll attach my (updated) patch and we can roll it in.00:50
rcn-eefound my notes.. the igepv2 needs the smsc911x as built-in...00:50
rlameiroo mannnnnn00:50
rlameiroso i need to reverse this?00:50
GrueMasterNo.  (not flash kernel at least).00:51
rlameiroyeah00:51
rcn-eesomething about u-boot setting up the pins and ussing it, therefor it can't be used setup as a module?00:51
rlameirobut my kernell00:51
GrueMasterBut if you file a bug on it, I can get my patch rolled into the package.00:51
rcn-eerlameiro, you were using my kernel before right?00:51
rlameiropcilib cannot open /proc/bus/pci00:51
rlameiroyes rcn-ee00:51
rlameiroGrueMaster: i would like to do so, no network on the device :D00:52
rcn-eefirst check in your /mm1 there might bee a "uImage_old/bak" "uInitrd_old/bak"00:52
rlameirorcn-ee: flash-kernel said it make a backup00:53
GrueMasterflash-kernel should have moved them to uI*.bak00:53
rlameiroi also made a backup before doing this :D00:53
rcn-ee2nd you can bypass flash-kernel with adding "FLASH_KERNEL_SKIP=yes" to /etc/flash-kernel.conf (untill upstream has the kernel fix)00:53
GrueMasterOr alternatively, you can type "flash-kernel <kernel version>"  (i.e. flash-kernel 2.6.35-22-omap)00:54
rlameirowhat is the command to rename on the cli?00:55
GrueMasterThat will move whatever test kernel you are using onto the uboot partition (as long as the kernel is installed in /boot).00:55
rcn-eei just 'mv' to rename...00:55
GrueMasterUse mv <old> <new>00:55
rlameirook00:55
rlameiroi think it should be the other way around00:58
rlameiroit boot the same kernel00:58
rlameiroand maybe i lost the bak...00:58
rcn-eeif you did mv uImage uImage.bak you did..00:58
rcn-eedoes your wifi work?00:59
rlameirono00:59
rlameiroi did first the back00:59
rlameirobut it actually asked something about permissions00:59
rlameiroi just press enter00:59
rlameiromy wifi doesnt work, i need to instal the libertas drivers00:59
rlameirowell, maybe using sudo mv helps... duh!!!01:01
rlameiroso GrueMaster i file the bug and you post the patch?01:02
GrueMasterYes, please.01:03
rlameirolp #64565901:06
ubot2Launchpad bug 645659 in flash-kernel (Ubuntu) "flash-kernel doesn't work with the IGEPv2 board (affects: 1) (heat: 6)" [Undecided,New] https://launchpad.net/bugs/64565901:06
rlameirodo you need some of my files?01:07
rlameiroi can send them to you GrueMaster01:07
rlameirodropbox :D01:07
rcn-ee"cat /proc/cpuinfo" should be enough..01:07
GrueMasterNope, this is enough.  Now to work my magic.01:07
GrueMasterYes, add /proc/cpuinfo to the comments.01:08
GrueMasterThen I can assign it to ogra.  Might even attach the patch before he notices.  :P01:09
rlameiroyou should attach it01:10
NCommanderpersia: not if you cast up to double. I should have made that clear :-/01:10
rlameiroGrueMaster: why wit for ogra ?01:11
GrueMastertesting the annoyance factor.  Guess I'll play nice.  :P01:11
GrueMasterPatch attached.  If you could now comment that the patch was tested ok, we should be done here.01:12
rlameiroGrueMaster: the patch has an error01:14
rlameiroit misses 2 spaces around a "|"01:14
GrueMasterThis is the fixed one.  I tested it already.01:14
rlameirocase "$machine" in01:14
rlameiro-"OMAP3 Beagle Board")01:14
rlameiro+"OMAP3 Beagle Board"|"IGEP v2 board")01:14
rlameiroI changed it on mine01:15
rlameiromaybe they arent needed, it was rcn-ee idea01:15
GrueMasterHmm.  Will check.01:15
persiaNCommander, In terms of code clarity, for all architectures, why would you want to do that?  Isn't it cleaner to rely on system qreal to be as expected?01:15
=== bjf[afk] is now known as bjf
GrueMasterrlameiro: Ok, fixed (again).01:17
rlameirorcn-ee: so what is needed to put the kernel working with my hardware?01:17
rlameiroi cant debug some audio issues withou network01:17
rlameiroand i cant file bugs against the kernel/alsa against your kernel...01:18
GrueMasterpersia: I have received a new XM board.  It works and audio is currently in the same state as the beagle.01:18
* rlameiro looks at a nice paradox....01:18
rcn-eerlameiro, according to my notes, i had to move CONFIG_SMC911x=m to y and CONFIG_SMSC911X=m to y.. http://bazaar.launchpad.net/~beagleboard-kernel/%2Bjunk/2.6-stable/revision/90  (and haven't changed that config since..)01:19
rlameiroGrueMaster: http://launchpadlibrarian.net/56291674/IGEP-add.patch01:19
rlameiroit appended the second patch to the other01:20
GrueMasterrlameiro: You can always file a bug using apport-cli --save=<PATH> and it will save the bug report to disk for transferring to another system.  Then you can sneaker-net it to your desktop/laptop.01:20
rlameiroGrueMaster: not that, i want my ssh01:20
rlameiroand also test some configs with GUI over ssh -X01:20
GrueMastergrr.01:20
rlameirono network, no gain01:20
rlameirorcn-ee: so its dependent on the kernel team?01:22
GrueMasterkeyboard issues.  Accidently hit >> instead of > when creating the patch file.01:22
GrueMasterphat phingers.01:22
rlameirohihi01:23
rlameirofixed now01:23
rlameiroi checked it01:23
GrueMasterWell, prepare for a lot of lp-spam.  Sorry about that.01:23
rcn-eeyeap, they'll need a bug, i'd ping lag or mpoirier to help get it pushed..01:24
rlameiroits on a different mail :D01:24
rlameirorcn-ee: so i need to file another bug?01:24
rlameirolol01:24
rcn-eeyeap.. ;)  that's why i have my external tree, i don't really wait for anyone..01:25
rlameirowell, i guess i can do the flash-kernel, file the bug withh apport-cli and then reveret the kernel01:26
persiaGrueMaster, Thanks for the confirmation, as unfortunate as the result is.01:27
GrueMasterpersia: The only bit is the kernel tweaking for enabling the right channels.01:27
rcn-eeand one more board down.. ;)  so who wants to do the devkit8000, it needs some dss2 fixes..01:27
GrueMasterI mean unmuting.01:27
persiarlameiro, Which kernel are you using?  Have you tried both linux-omap and linux-linaro-omap?01:27
rlameirojust linaro01:27
rlameiroshould i try the not linaro one?01:28
persiaGrueMaster, Should be easy.  Up for writing a patch? :)01:28
persiarlameiro, Since there are two kernels that ought boot on your board, if you try both, you'll know if one works better than the other for you :)01:28
GrueMasterNot tonight.  I have a headache.  :P01:28
GrueMasterIs this a kernel patch for alsa?01:28
persiarcn-ee, In terms of moving from a module to a built-in, shouldn't udev be loading the modules at boot?  I know there's an issue with some storage modules, but those aside.01:29
persiaGrueMaster, Would be ASoC, but ends up passing through the ALSA tree.01:29
rcn-eepersia, i can't find the link... but i believe it has something to do with u-boot setting up and tieing to the device.. so once the kernel loads... well's it's kinda already setup...01:30
GrueMasterHrm.  will have to look at the code.01:30
persiarcn-ee, If you're pushing enough patches to the kernel, you could ask for commit access, rather than maintaining an external tree :p01:30
persiarcn-ee, Ah, Ugh.  That's an annoying situation :(  My concern is that we might not want it built-in for some omap kernels: can you think of a case where we might not need it?01:30
rcn-eewell right now only two little ones are mine, the rest are other beagle users and that big TI sgx thing which i don't have copyright. ;)01:31
persiaHaving copyright isn't important, if you have license to redistribute.  If you don't have license to redistribute, please don't :)01:31
rcn-ee(and we are in the omap merge for 2.6.37 i'm submitting those tomorrow..)01:31
rcn-eepersia, well what i meant, they are GPL 2.. it's just they are TI's so there is no point in my pushing..01:32
persiaDepends on to where you push :)  If you were trying to maintain a perfect Ubuntu kernel, you might find it useful to push to Ubuntu.  For pushing to linux-omap proper, indeed, better to just encourage the authors to push there.01:33
rcn-eewell the important bits i do ping the ubuntu guys. ;)  some of it is expermental and too risky for ubuntu.. (like dspbridge stuff that just went into 2.6.36)01:34
rlameiropersia`404 error W: Failed to fetch http://ports.ubuntu.com/ubuntu-ports/pool/main/l/linux/linux-image-2.6.35-22-omap_2.6.35-22.32_armel.deb01:36
rlameiro  404  Not Found01:36
rlameirocant test it01:36
persiahttp://ports.ubuntu.com/ubuntu-ports/pool/main/l/linux/linux-image-2.6.35-22-omap_2.6.35-22.33_armel.deb replaces it.01:40
persiaRun apt-get update :p01:40
rlameirowell toolate01:43
rlameirofiling for the linaro one :D01:43
rlameirohow do i see the kernel PID?01:43
persiakernel doesn't have a PID.01:48
rlameiroeven 0?01:48
persiaPID 1 is init, which is usually upstart.01:49
persiaI think 0 is undefined, but I don't really understand the specifics.01:49
rlameirook01:49
rlameiroalways learning :D01:49
persiaYep :)01:51
* GrueMaster heads out for a bit.01:54
rlameirorcn-ee: lp #64568402:00
ubot2Launchpad bug 645684 in linux-linaro (Ubuntu) "linux-linaro kernel, doesnt boot with support for the LAN interface (affects: 1) (heat: 6)" [Undecided,New] https://launchpad.net/bugs/64568402:00
rlameiroanother bug :D02:00
rlameirolooking now for the linux-omap one :D02:01
rsalvetirlameiro: this bug is a duplicate of 61873402:18
rsalvetibug 61873402:18
ubot2Launchpad bug 618734 in linux-linaro (Ubuntu Maverick) (and 2 other projects) "[omap/igep] No eth0 with Linaro kernel (affects: 2) (dups: 1) (heat: 108)" [High,Fix released] https://launchpad.net/bugs/61873402:18
rsalvetithis should be fixed with latest linaro's kernel02:18
rlameirook, linux omap is going to have another02:19
rlameiroor should i not report this?02:19
persiarsalveti, Except rlameiro just tested with the latest linaro kernel, and it didn't work...02:21
rsalvetipersia: not the latest02:21
persiarlameiro, Probably not worth having two bugs: you can mark that bug "Also affects" if you can reproduce in the other kernel.02:21
persiarsalveti, The "latest" isn't in the repos?02:21
rsalveti2.6.35-1006.11 should be the latest, not 2.6.35-1005.1002:21
persiarlameiro, Would you try .11 :)02:21
rlameirowell, maybe i should do an update before installing that02:22
rlameiroyes i will02:22
rsalvetiwell, the bug was closed by Launchpad Janitor, so I think the deb should be at our repo02:22
rlameirobut the last linux omap is not working either02:22
rlameiroand this I am sure is the last02:22
rsalvetircn-ee: for me is weird that changing CONFIG_SMC911x=m to y and CONFIG_SMSC911X=m to y fixes the problem02:22
rsalvetiit should work the same way as module and built-in02:22
persiaWell, unless uboot does odd things.02:24
rsalvetiprobably a kernel bug02:24
persiaBut, yeah, the kernel has a bug, and ought be able to do bring-up whether u-boot did or not.02:24
persiaMost certainly a kernel bug.02:24
rlameirorcn-ee's kernel brings the interface up02:24
rsalvetibecause the config is set as built-in02:25
persiarlameiro, No it doesn't: it assumes it's up.02:25
rsalvetibut I first wanted to understand it better before submitting a patch02:25
persiarsalveti, You're going to end up buying an IGEPv2 :)02:25
rsalvetipersia: I'm just sending an email requesting one :-)02:26
rlameirowith linaro and linux-omap kernel, lspci brings up an error02:26
rsalvetiand thanks for the flash-kernel patch :-)02:26
rlameiroi didnt made the patch :D02:28
rlameiroit was rcn-ee GrueMaster and persia02:28
rlameiroi just tested it realtime... almost02:28
* persia didn't do it :p02:29
rlameirolp #64568902:29
ubot2Launchpad bug 645689 in linux (Ubuntu) "linux-omap cant bring up eth0 on igepv2 board, no network (affects: 1) (heat: 6)" [Undecided,New] https://launchpad.net/bugs/64568902:29
rlameirowell, no a break before testing the last linaro kernel02:30
persiaOK.  That should be a duplicate to 618734, which should have both limux-linaro and linux-omap tasks.02:30
rlameirothe kernel source is the same ?02:31
rlameiromine has more info :D02:32
rlameirorsalveti: sorry, but the latest version is linux-image-2.6.35-1005-linaro-omap02:35
rlameiro.10 not .1102:35
rsalvetihm, that's weird, we should be able to find 2.6.35-1006.1102:36
rsalvetilet me find the sources from launchpad02:36
rlameirothe .11 is not supported by canonical02:36
rlameiroit is there, but not supported02:37
rsalveti1006.1102:37
rlameiroyeap02:37
rlameirowell, i will ty it anyway02:37
rlameirotry02:37
persiaIt's supported by Ubuntu, and by Linaro, so it ought be safe.02:37
rsalvetihttps://edge.launchpad.net/ubuntu/maverick/armel/linux-image-2.6.35-1006-linaro-omap/2.6.35-1006.1202:38
rlameirolol02:38
persia.12 already.  heh02:38
rlameironow it appears as supported02:38
rsalvetihttp://launchpadlibrarian.net/56232546/linux-image-2.6.35-1006-linaro-omap_2.6.35-1006.12_armel.deb02:38
rlameiroforget it... problably some synaptic stuff02:38
rlameiroyep02:38
rlameirorsalveti: sorry about crapy feedback... synaptics deceived me....02:40
rlameiro:(02:40
persiaTake care with terminology :)02:40
rlameirorsalveti: one thing i did found interestinf is the size of the images compared to the image of rcn-ee's kernel02:42
rsalveticonfig definitions02:42
rlameiroimages from ubuntu where quite smaller02:42
rlameirook, it works on the new one02:47
rlameiroat least networking02:47
rsalveticool02:47
rsalvetifor display fixes they are still waiting the kernel team to review and apply02:48
rlameirorsalveti: do i need to confirm its working? installing it from the repo?02:51
rsalvetirlameiro: if you want to test, I have a deb for you02:51
rlameiroi tested it :D02:52
rlameiroits working02:52
rlameironetwork, didnt tried display, dont have hdmi tv here02:52
rsalvetihttp://people.canonical.com/~rsalveti/kernel/linux-image-2.6.35.4+_2.6.35.4+-43_armel.deb should have the display fixes02:52
rsalvetihttp://people.canonical.com/~rsalveti/kernel/uImage.igep2-v4 is this kernel with the config changes02:52
rsalvetiso if you install my deb and use this uImage, you should be able to have network and display working02:53
rlameirowell, for now i dont need display02:53
rsalvetiso you're fine already with linaro's kernel :-)02:53
rlameiroi dont have an WM so its ok for me, what i want is audio working :D02:53
rsalvetithen it's another issue02:53
rlameiroyes I know, one at a time02:54
rsalveti:-)02:54
rlameirorsalveti: lp 64568902:57
ubot2Launchpad bug 645689 in linux (Ubuntu) "linux-omap cant bring up eth0 on igepv2 board, no network (affects: 1) (heat: 6)" [Undecided,New] https://launchpad.net/bugs/64568902:57
rsalvetinice03:01
rsalvetiI'd just like to understand it better, like why using it as module doesn't work03:02
persiaFrom what rcn-ee said earlier, I had the impression that uboot is doing bring-up on the device, and hands it off already configured.03:04
persiaSo by building it in, it's easy to notice it's there.03:04
persiaMy (blind) guess is that there isn't an entry in the module detection routine, so there's no coldplug event, so udev doesn't know to load the module.03:05
persiaThat said, I suspect there also aren't the necessary module mappings so that udev would be able to load the right module on detection.03:05
rlameirowell, igep is configured to have the device ready for netboot03:06
rlameiromaybe it stays configured03:06
rsalvetihm, ok, but then driver needs to be initialized correctly03:07
persiaSeparately, if the code isn't written to be hotplug-compatible, modload isn't going to be able to bring it up from scratch (even with coldplug), because the module initialisation routines will be missing the right bits.03:07
rsalvetiwe have platform data for it at the board file, and the kernel should be able to request the module03:07
persiarsalveti, Yep.  Precisely.  Cleaning up the initialisation and reporting should enable coldplug.  Once coldplug works, hotplug is trivial.03:07
rsalvetistill prefer to debug it further than changing the config file03:08
rsalvetibut, have no board (03:08
rsalveti:-(03:08
rcn-eerlameiro, the size difference might be from all the omap4 stuff i have enabled to.. The sgx and dspbridge modules do add a little extra03:08
rlameirohmm03:08
persiarsalveti, Isn't there a way to pass a boot option to get extra debug information in dmesg from coldplug initialisation?  Would that be enough to understand the nature of the issue?03:09
rsalvetinot sure, would first check if we have everything write at the board file03:12
rsalvetithat's where the platform_data is stored03:12
rsalvetiand afaik the ethernet chip is deployed with the usb hub03:13
rsalvetilike we have for xM03:13
rsalvetihm, LAN9221i is just an ethernet controller03:22
rsalvetirlameiro: where do you get your u-boot?03:23
rlameirostock03:24
rsalvetirlameiro: do you have the source's link?03:25
rlameirodo you want the version?03:25
rlameirorsalveti: you need to register at their site03:26
rlameirohttp://www.igep.es/index.php?option=com_content&view=article&id=46&Itemid=5503:26
rlameirothere should be a link on the left menu where you can go to support or downloads section03:26
rlameirothere are all the sources that igep use03:26
rlameirokernels, modules etc03:26
rsalvetihm, ok, thanks03:28
rlameiroeven if i give you the direct link, you will need to be registered...03:28
rlameirosorry03:29
rsalvetiargh, still need to wait for the administrator to approve my account03:30
rsalveticooloney: hey, morning! :-)03:47
rsalvetimaybe you can help me03:47
rsalvetiI believe that the smsc911x module is not automatically loaded simply because this is a platform_driver03:48
rsalvetiit's not connected to any pci or usb03:48
rsalvetiwhat we have at the board file is the platform_data, that's correct registered for igepv203:49
rsalvetibut I don't think we have an automatic way to find and load the proper modules while booting the kernel03:49
rsalvetithat's why it works since boot when you have it as built-in03:50
rsalvetithen we have a platform_driver_register that matches with a platform_data, the hardware is then initialized correctly03:50
rsalvetirlameiro: persia: ^03:51
rsalvetiso loading the module should do the same, so it's expected to work03:51
rlameirowell, so the solution is the driver to be builtin?03:51
rsalvetibut then we have another issue currently with ubuntu's kernel03:51
rlameirohow do you load a module without detecting it?03:52
rsalvetithat amitk pointed me: http://www.spinics.net/lists/netdev/msg140340.html03:52
rsalvetiand that's why we have to remove CONFIG_FIXED_PHY03:52
rsalvetiso, removing CONFIG_FIXED_PHY and loading the kernel by hand should be enough to have the ethernet chip working03:52
rsalvetirlameiro: scripts, but should be avoid03:52
rsalvetiI could be wrong, but I don't know a way to detect the platform devices03:53
rsalvetiall upstream config files put it as built-in03:53
cooloneyrsalveti: built-in FIXED_PHY?03:54
rsalveticooloney: currently we have it, and as a side effect we can't make smsc911x to work03:54
rsalveticooloney: http://www.spinics.net/lists/netdev/msg140340.html03:55
cooloneyrsalveti: yeah, i removed the FIXED_PHY in fsl-imx51 ubuntu kernel before03:55
rsalveticooloney: a question, is there a way to auto detect the platform devices and trigger user space events so udev could load the proper modules?03:55
cooloneydue to the conflict03:55
rsalvetior in this case we should always put it as built-in03:55
rsalveticooloney: cool, we're missing this currently03:56
rsalvetiwill request the linaro's patch to be applied to our tree03:56
cooloneyrsalveti: i think for our hardware which contains smsc911x needs to built-in smsc911x driver and remove that FIXED_PHY03:58
rsalveticooloney: cool, also think the same03:59
rsalvetiso I it seems I finally have a proper answer for the issue :-)03:59
rsalvetithanks03:59
rsalvetiwill submit the patch03:59
cooloneyrsalveti: cool, man. that's conflict wasted me some time before04:00
rsalvetican imagine, hard to find04:01
cooloneyrsalveti: i still lost in the mem=1G highmem issue04:03
cooloneyrsalveti: no clue for that04:03
rsalveticomradekingu: me neither04:03
rsalvetiouch, sorry04:03
rsalveticooloney: ^04:03
rsalvetinpitre fixed some highmem issues in the past, maybe he could give us some directions04:05
rlameiroI have a doubt04:05
rlameirowhat is the Alsa drivers used on omap?04:05
rlameirothe normal ones that run on my laptop? or the striped down ones?04:06
cooloneyrsalveti: cool. npitre is master. i need to talk with him04:07
npitreI'm here btw ;-)04:08
npitrealthough I WOULDN'T QUALIFY MYSELF AS "MASTER"04:08
npitre(especially when hitting capslock by mistake)04:09
rsalvetihey04:11
rsalvetinpitre: we're currently facing a weird bug with highmem on omap4, if we use 1gb the memory some times gets corrupted04:11
rsalvetiand then the system turns unstable04:12
rsalvetiwe'd like to test upstream, but can't atm as the mmc support is broken04:12
npitrersalveti: what kernel version are you using?04:12
rsalvetinpitre: one provided by TI, based on 2.6.35: http://dev.omapzoom.org/?p=integration/kernel-ubuntu.git;a=shortlog;h=refs/heads/for-ubuntu-2.6.3504:13
rsalvetithat's why we'd like to try upstream, to avoid all other patches04:14
npitreall the highmem fixes I know about are included in 2.6.3504:15
npitrecan you boot it with only one CPU?04:17
rsalvetiyep, while looking at 2.6.36 we just noticed one patch that could help: http://lkml.org/lkml/2010/9/7/39004:18
rsalvetiwe can, and we tried it already, but still faced the issue04:18
npitrethe other thing to try out is to use mem=512m vmalloc=1g in the kernel cmdline string04:18
rsalvetiwith this patch applied things seems to be better, but still breaks04:18
rsalvetihm, ok04:18
npitreOK that patch might help if the hardware ends up needing bounce buffers (mine didn't)04:21
cooloneynpitre: hey, man how's going04:21
npitrersalveti: those kernel cmdnline arguments will force 512 mb OF ram ,AND FORCE ALMOST ALL OF IT INTO HIGHMEM, WHICH SHOULD BE A GOOD TEST04:22
npitrecooloney: GOOD GOOD04:22
cooloneynpitre and rsalveti, i think we might need some simple testcase to catch this subtle issue04:23
npitrearch damn capslock04:23
cooloneynpitre: np, heh04:23
rsalvetinpitre: nice, will test it here04:23
cooloneynpitre: ok, i will try that cmdline04:23
cooloneyrsalveti: cool04:23
rsalveticooloney: currently the best test I have is to try to compile the kernel04:23
rsalvetiit breaks in one or two minutes04:24
rsalvetiwith internal compiler error04:24
cooloneyrsalveti: yeah, i also got that, if i built kernel in a ssh console, i will got Bad Mode oops in my serial console04:25
cooloneyUnhandled abort04:25
rsalvetiyep, that's the error04:25
cooloneyright, but this test is quite complex. do you guys know any other highmem test SW?04:26
rsalvetimaybe something to stress the memory04:27
rsalvetibut it usually takes quite a while before giving any error04:27
npitrewhat if highmem is turned off? does this still fail?04:28
rsalvetiwhen setting mem to 716 (460 + 256) with or without highmem we don't face this issue04:29
npitrewhat is the storage device used?04:29
npitredoes it use DMA?04:29
rsalvetithe hole is a fixed memory region for decode I guess04:29
cooloneynpitre: if we don't use mem=1G, there is no such issue04:29
rsalvetimmc and usb04:30
cooloneyyeah, mmc and usb04:30
cooloneyi tried booting from mmc and rootfs on mmc04:30
cooloneybut built kernel on NFS or USB04:30
npitredoes it happen if you use only mmc or usb at once?04:30
cooloneygot this compiler error every time when mem=1G04:30
rsalvetiyep, I'm using only USB04:31
rsalvetinever tested with full mmc, but I believe cooloney tested it already04:31
cooloneyrsalveti: i think npitre is asking whether we can booting and building kernel only on mmc04:31
cooloneyrsalveti: oh, no, i just test build kernel on usb and nfs04:32
cooloneylet me try it04:32
cooloneyneed a big mmc card04:32
rsalvetitry just on mmc, but I believe people from TI tried it already04:32
npitrewhat I want to know is wether the problem occurs if you use only USB, or only MMC, or only NFS, etc.04:32
cooloneynpitre: ok, i got it04:32
rsalvetiok, got it04:32
cooloneyrsalveti: can we boot from usb?04:33
rsalveticooloney: do you have a big sd card with you?04:33
cooloneyi don't think so04:33
cooloneyrsalveti: i got one 8G SD card04:33
rsalvetinot directly, I just use the mmc to load the kernel from u-boot04:33
rsalvetimy rootfs is in a usb disk04:33
cooloneyrsalveti: ok cool04:33
rsalvetithen I don't use mmc anymore04:33
cooloneyso could you try that USB only test?04:33
cooloneyi will try mmc only test04:34
npitreanother thing to test is CONFIG_VMSPLIT_2G04:34
rsalveticooloney: yep, this is my usual build environment, and I always face this issue when using 1g04:34
cooloneynpitre: good point.04:35
cooloneyrsalveti: ok, let me prepare the 8G SD card04:36
npitreanother test: just add a flush_dcache_all() at the beginning of dma_cache_maint_page() and see if that makes the issue go away04:39
npitrenote this is not a fix just a test04:40
rsalvetihm, nice test04:40
npitretime to go to bed ... just drop me an email with your findings and I might have another clue04:41
cooloneynpitre, have a nice dream04:41
rsalvetinpitre: nice, thanks a lot!04:41
cooloneywe can inception your dream and tell you the result04:41
rsalveti:-)04:41
cooloneynpitre: if you watched the movie inception.04:41
cooloneyheh04:42
npitreI'm rather heavy on TumbleOnThatDamnCapsLockKey tonight04:43
npitrethat's usually a sign that I should go to bed04:43
rsalvetijust pull it off, who needs caps lock04:43
rsalveti:-)04:43
rsalveticooloney: going to bed now, please let me know if you have any success on this highmem testing06:07
rsalvetiinterested at the flush_dcache_all testing06:07
rsalvetican continue tomorrow06:07
GrueMasterBed?  It's only 2am there.06:08
GrueMasterPfft.06:08
* rsalveti getting old06:08
GrueMasterheh.06:09
GrueMasterOld is when you forget where you left your coffee mug, while drinking it.06:10
rsalvetihm, happens all the time with me06:10
rsalvetidammit06:10
GrueMasterYea, but mine is a 20oz silver & black keg.06:12
rsalvetihaha :-)06:16
rsalvetiwell, time to go, see ya06:16
GrueMasterNight06:17
GrueMasterpersia: about?06:41
* GrueMaster crawls to bed. Will pick up in the morning.07:05
=== hrw|gone is now known as hrw
hrwmorning07:10
persiaGrueMaster, Sorry to have missed you.  Sleep well.07:30
avinashhmhi, .. any one knows configuration to control or switch governors ... any sysfs entry ???07:36
hrwavinashhm: cd /sys/devices/system/cpu/cpufreq/ and check there07:41
avinashhmhrw, i am obseving .. it switchs from performance --> ondemand after some time .. during boot ... any script to do this configuration ...07:42
avinashhmi observe the samething isn't there in busybox ... it always stays at performance .. so was curios , is it some script doing this ??07:44
hrwprobably yes07:45
avinashhmhrw, thanks ...07:49
hrwI would do grep ondemand /etc -r07:50
avinashhmhrw, i will try this  ....07:51
avinashhmhrw, .. found bunch of things ... etc/init.d/ondemand ...07:52
avinashhm, ... now i wan't configure similar things for my busybox here .. let me try ... thanks again hrw07:54
ShreeRangi am working on an ARM based device and when working on the mozilla web browser i am facing a problem...08:48
ShreeRangthere are number of scroll bars appearing on the screen...08:48
ShreeRangi have taken screen shots of the same...08:48
ShreeRangplease have a look at them at the following link08:49
ShreeRanghttp://picasaweb.google.co.in/patwardhan.shreerang/ARMBasedMozilla?authkey=Gv1sRgCLeMjMPZha67kAE#08:49
persiaWhich release of Ubuntu are you running?08:49
ShreeRanghas anyone of u faced a similar problem?08:49
ShreeRangi m using a customized ubuntu08:51
persiaCustomised from which release?  Also, customised how?08:51
ShreeRangubuntu 9.1008:53
ShreeRangby using rootstock08:53
persiaI'd recommend trying with 10.04.  I think I remember that problem in the past, but I believe it to be solved.08:54
hrw9.10?08:54
persiahrw, karmic08:54
hrwShreeRang: which cpu you are using?08:54
ShreeRangOMAP 350308:54
hrwShreeRang: try 10.04 then08:55
ShreeRangok...08:55
ShreeRangdats an option...08:55
ShreeRanganything else that i can do?08:55
persiaYou might try one of the firefox backports from the mozillateam PPAs, but you'd have to compile it locally.08:56
* persia wonders if anyone has tried Ubuntu on the Mini641008:56
hrwpersia: 6410 is armv6 - right?08:57
ShreeRangfine...il try dat n update...08:57
persiahrw, Is it?  My quick search misinformed me then.  I'll believe you (and I see 9.10 images of it about)08:57
hrwpersia: according to samsung datasheet it is arm1176jzf-s09:10
hrwso arm11vfp309:10
persiaSo no support.  Thanks for double-checking.09:26
=== ogra_ac2 is now known as ogra_ac
ograNCommander, getting along with gconf ?10:54
=== zyga is now known as zyga-airport
=== JamieBen1ett is now known as JamieBennett
ograndec, around ?11:17
ndecogra: yep.11:18
ograndec, i will soon need a list with binary package names to install from the ppa11:19
ograwith the next software-center upload the feature will be fully enabled11:20
ndecogra: argh...11:20
ndecogra: can this be just a meta package, something like ubuntu-omap4? then I can manage my dependencies in this pkg?11:20
persiaYes.11:20
ndecpersia: is this 'yes' for me?11:21
ograndec, indeed ... what we need is one postinst snippet that removes the .desktop file in one of your packages11:21
ograbut persia is right, easiest will be a metapackage11:21
persiandec, Yes :)11:21
ndecpersia: ;-)11:21
ogra(and the sprecific postinst bit in there)11:21
persiaogra, Might be easier to remove the .desktop file from the source, rather than adding it and removing it.11:22
ograpersia, from the source ?11:22
persiaYep.11:22
ograits not in any package ...11:22
ograand it cant be11:22
persiaThen from where does it come?11:22
persiaNo file shouldn't have a package11:23
ograjasper (or if we ever use live images it would have to come from casper)11:23
persia(yes, there are exceptions, but they are each special for their own, specific, special reasons, and *NONE* of them are .desktop files)11:23
persiaWhy?11:23
persiaapp-install-data-tippa would be such a better place to put it ...11:23
ograbecause it has to be dynamically created during first boot/install time unless we want to have even more subarch specific images11:24
persiaNo.  Just have jasper purge app-install-data-tippa if it's not the right subarch11:24
ograhrm11:25
persiaUnowned files are bad.11:25
ogranot for such hacks as PPA enablement for specific subarches11:25
persiaYes.11:25
persiathey are always bad.11:25
persiahacks are bad, but bad hacks are extra bad.11:25
persiaPlease avoid extra badness :)11:25
ograi dont really want to jump through all the hoops of paperwork that would involve11:26
ograespecially since everything is implemented and works now11:26
persiaPlease talk about the architecture with me beforehand next time :p11:26
persiaAlso, please file a bug to fix this already immediately post-maverick :)11:26
ograsure, we can change all that when we rewrite jasper11:26
persiaYou told me not to do that this cycle back around FF :)11:26
ndecogra: persia: is ubuntu-omap4 a good name? what else would you propose?11:27
persiaBut yeah, that's an OK time.11:27
ografor now jasper will dynamically create the apturl file for omap3 or 411:27
ograndec, ubuntu-omap4-addons ?11:27
persiandec, I'd probably use ubuntu-panda-extras11:27
ograi dont think its panda specific11:27
persiaogra, "addons" has a special semantic value, and should be avoided.11:27
ndecpersia: no, i don't want panda since it works on other OMAP4 platforms too11:27
ograwill be for blaze too11:27
persiandec, If you're *sure* it's going to be good for all omap4, then "ubuntu-omap4-extras"11:28
ograwell, then ubuntu-omap4-extras11:28
ograpersia, well, for all *existing* omap4 platforms at least :)11:28
ndecsome of them are restricted by the way... since I have put some debconf to get clickwrap (like sun java)?11:28
ograthats fine11:29
ograndec, i also need a text for the "eula" (its not really an eula, but it is shown by sw-center if you want to enable the PPA11:29
ogra)11:29
ndecwell in fact there could be a few bits specific to board. e.g. wlan chip is not the same on panda and blaze. so we could either install both packages, or make different meta packages. I prefer first option.11:30
ograyou can try it on todays image to see what i mean11:30
ogra(currently it shows some broken html text)11:30
* ogra prefers both too11:30
persiandec, Would it be possible to have one package that does runtime autodetection to make one or the other work, or has parallel auto-enabled configuration?11:30
ndecogra: so it's a welcome message, right? something like ' you are reading to enable an OMAP PPA and enter a whole new world of improved user experience' ;-)11:30
persiaDoing it that way will also reduce long-term merge pain.11:31
ograndec, well, you could also put all eula txts there if you wanted to :)11:31
persialet's have a less marketing-friendly message there :p11:31
ograndec, but that would duplicate the eula stuff i guess11:31
ndecespecially because EULA are different for our various packages, we don't have 1 EULA overall11:31
ograsince they are required to be in the packages too (a user can always enable the ppa without sw-center)11:32
ograndec, yeah, you could put all of them in ... would be ugly but be possible ... though as i said you will need them in the packages too because you can always manually switch the PPA on on cmdline11:32
ndecpersia: ideally I should be able to install ti-wlan-127x (panda) and ti-wlan-128x (blaze) package. and have the same root FS work on both. is that okay?11:32
ograso a 2welcome text" would likely be best11:33
ogra>The Ubuntu 10.10 TI OMAP4 channel contains applications that are made11:33
ograavailable for Ubuntu by TI to improve the user experience and hardware11:33
ograsupport on OMAP4 hardware11:33
ograthats the current text11:33
ndecogra: yes a user can install packages without using the desktop icon... that's an argument against removing the icon in the ubuntu-omap4-extra, no?11:34
ogra(i just made that up quickly to have some placeholder text)11:34
ndecso, now we need to translate the message too ;-)11:34
ograndec, no, the icon should be removed as soon as the meta is installed11:34
ograshriek !11:34
ograi didnt think of translations !11:34
ograsigh11:34
ndecogra: can you make the initial ubuntu-omap4-extras package with the postinst and push it in PPA? I will push updates when we are ready.11:35
persiaWell, we can hit three languages quick-like: the rest will be slower.11:35
ndecogra: i don't care about translation!11:36
ograpersia, my prob is that i in no case want to add gettext to jasper11:36
ograthat will massively bloat it11:36
* persia mumbles about architectural integrity and pretends everyone reads English for the next few months11:36
ograwell, lets call it a wart we will carry in maverick and do better in natty11:37
ndecpersia: I think the website where one can order pandaboard will be in english... so we can assume that if someone buys a panda, he understands english ;-)11:37
persiaWhen we ignore all prior work and write jasper correctly :)11:37
persiaI promise I won't be out-of-touch for 10-12 weeks in a row for the next cycle :)11:38
ograwell, then we wont have the PPA stuff in it anymore anyway11:38
ograwe should switch to packages as you said above11:38
ograand they can then easily be gettextized11:38
* persia goes off to do less computationally intensive things11:38
ogramy prob in maverik is that the cool sw-center stuff only came late ... i threw away all the hacky oemä-config stuff i had done for PPA enablement just last week11:39
ograin favor of the new apturl feature11:39
ograndec, what about the discussed split for single features (-omap4-wireless, -omap4-graphics ... etc) should we use these as deps in the toplevel metapackage ?11:41
ograor was that for a different PPA anyway ?11:41
ogra(i mean the stuff chris wanted)11:41
=== amitk is now known as amitk-afk
jo-erlend_nbrsalveti, I have wired networking! :)12:16
jo-erlend_nbnow for wireless, I only need to install libertas-firmware?12:17
jo-erlend_nbexcept... I can't find it. I find it in apt-cache on my laptop, but not on the igep board.12:19
jo-erlend_nboh, it's in multiverse.12:20
ograndec, do you think your lawyers would sue me for that ? http://people.canonical.com/~ogra/ti-ppa.svg12:37
ogra(th elogo is from wikipedia)12:39
ogra*the logo12:39
persiaogra, Take care: you'd need a license to use the logo.  Make ndec upload it :)12:40
ograpersia, yeah, he shoudl just use it as team logo :)12:40
ograthen i can "officially" pull it from LP12:40
persiaUnfortunately, trademark law requires that every case be prosecuted, or the trademark is lost.12:40
persia(at least in some jurisdictions)12:40
persiaFor example, Bayer is the only company that can sell "Aspirin" in some countries, but in others anyone can sell under that name, because of insufficient defense.12:41
ograyep12:42
jo-erlend_nbthis is looking good! Everything seems to be working nicely on my igepv2 board now, though there are things I haven't had time to test yet.13:00
=== amitk-afk is now known as amitk
jo-erlend_nbI have a 16GB memory card which I'm installing on now. The image was written to it at 3MB/s. How long should the first boot take, with resizing partitions, etc?13:38
persiaMaybe 10 minutes.13:40
persiaBut depends on the hardware inside the card as well, really.13:40
jo-erlend_nbok. Does this happen before the welcome screen appears?13:40
persiaYes.13:41
persiaDepending on your configuration, you may get text to console, which may end up on serial or display, during the rebuild.13:41
jo-erlend_nbit went too quickly for me to notice, apparently. :)13:42
persiaThat's a good thing :)13:42
jo-erlend_nbthe difference between those to memory card was rather significant. Using the first one, a normal boot took about 3-4 minutes. Using the other one, it took less than a minute.13:43
persiaThat's the internal hardware differences.13:43
persiaYou will probably notice the system feeling "snappier" as well, as you use it, if you run off that SD.13:44
jo-erlend_nblooking forward to testing it. :)13:44
jo-erlend_nbpersia, I'm not sure I'd use the phrase "snappy", but it's far less sluggish. :)13:56
jo-erlend_nbmakes me want to try using a usb harddisk, just to see how fast it is when the storage isn't such a bottleneck.13:57
persia"snappier" == "less sluggish".13:57
jo-erlend_nbhehe, yes, except for the slightly different connotations :)13:58
lagHi mpoirier13:58
mpoirierlag: hey good morning !13:58
lagEvening :)13:59
lagHow are you progressing with sound?13:59
mpoirierlag: hold on.14:00
mpoirierlag: i spent a lot of time in sdp4430.c and twl6040.c14:01
lagOkay14:01
mpoirierlag: the "dai" (digital audio interface) are key.14:01
lagSo what do you plan to do?14:01
mpoirierlag: still unknown.14:02
* persia idly notes that the userspace solution turns out not to work with current kernel reporting14:02
mpoirierlag: now that I know how the system works, I'll start looking in other files for a possible solution.14:03
lagpersia: How do you mean?14:03
* ogra_ac was wondering too14:03
mpoirierlag: twl6040.c was written by TI guys, I'll get in touch with them.14:03
persialag, berco put together an alsa configuration fragment that would do what running amixer.sh would do, but ALSA isn't even reporting the card type, so there's no way to load the config fragment.14:04
mpoirierlag: ultimately we can do it at the card level, once all the DAIs are registered, but it won't be upstrem'able.14:04
persiaWe also looked at how pulse's module-udev-detect works, and all the values it pulls from /sys/... end up as "unknown", so it can't assign things.14:04
persiampoirier, Why won't it be upstreamable?14:05
lagmpoirier: If it's not upstreamable, then it's the wrong way to do it14:05
* persia agrees14:05
=== njpatel_ is now known as njpatel
mpoirierlag: make no mistake, I don't like it.14:06
* ogra_ac just notes that the majority of omap4 patches we use isnt upstreamable currently14:06
persiaogra, That's different.14:06
ogra_achow ?14:06
ogra_acwe use a hackish un-upstreamable kernel in maverick14:07
lagUgly!14:07
ogra_acwhich will be fixed later14:07
ogra_acso i personally would mind a hackish fix in the sound driver14:07
ogra_ac*wouldnt14:07
lagmpoirier: What makes you think dai is key?14:07
persiaogra, just hardcoding the DAIs is unlikely to result in anything compatible for both Blaze and panda: reports indicate they require slightly different handling.14:08
ogra_acits still better than hacking around in userspace with weird scripts14:08
persiaWe *can't* hack around in userspace: we tried that.14:08
mpoirierpersia: *if* i hack it, it would be on a board level, not system wide.14:08
ogra_acwe obviously can when using the ugly amixer script14:08
persiaMind you, it may be possible to use a less-critical hack in the kernel side to enable userspace hacking, but...14:08
lagogra_ac: How is it better14:08
lag?14:08
persiampoirier, Oh, with the machine drivers?  How is that not upstreamable?14:08
ogra_aclag, one change in one place instead of three changes in three places14:09
lagI'd say it was less hacky to do it in user space14:09
lagIt's what amixer was designed for14:09
persiaogra, Ah, yeah, the amixer script.  That doesn't have sufficient elegance to even be called "hack" in my book.14:09
lagogra_ac: We only need the script14:09
ogra_aclag, plus the fact that we break all ubuntu policies with it14:09
lagJust to turn the thing up!14:09
ogra_acand packaging14:09
persialag, No.  the scipt is unusable.14:09
persialag, *if* the kernel reported the card, we could set mixer policy with userspace config.14:10
lagThen that's what we need to do14:10
lagNot hack the volume in userspace14:10
lagWrong: kernel14:10
lags/userspace/kernel14:11
rsalvetijo-erlend_nb: nice to know, sent both fixes to the kernel team, let's see when they will get applied14:11
persiaMinimal kernel work would mean passing CARDINFO so we can use a userspace hack for ALSA, and passing something in /sys/... so that udev would be able to identify headset, speakers, etc.14:11
persiaBetter kernel work would be to correctly identify and name the device, and pass the correct naming to userspace policy.14:11
mpoiriermain problem right now it a misconnection between front and backend DAIs14:12
persiaBest kernel work would be to correctly identify and name the device, and perform correct basic initialisation on the device (turn on the useful amps, turn off the useless ones, etc.)14:12
mpoirieruserspace tries to open a stream but can't 'cause kernel returns an error.14:12
mpoirierrunning the scripts fixes the connection between DAIs, hence returning a proper stream to sink to.14:13
persiaThe key bit is that with the current design of ALSA (and yes, there are discussions to move more to userspace), the kernel is responsible for identification, initialisation, and initial configuration.14:13
bercopersia: mpoirier: I have a kernel change for audio that I need to test14:14
mpoirierGetting the DAIs connected properly (on a per card basis) will fix our problems.14:14
lagDo we have a working example of how it 'should' work?14:14
ogra_aclag, intel HDA i think14:14
persiaberco, Excellent!  What does it do?14:14
persiaIntel HDA is another pile of pain14:14
lag'good example'14:14
ogra_acall other soundcards ?14:15
lagAnd they work in the same way?14:15
persiaI don't know of one.  I'd really suggest asking in #alsa-soc14:15
lagReport all relevant information to userspace?14:15
persiaogra, Most soundcards don't use the SoC layer, making them poor examples.14:15
lagGood plan14:16
ogra_acah, right14:16
bercopersia: it adds long name support in soc14:16
persiaberco, Cool!  Great find.14:16
persiampoirier, Could you take a look at that?14:16
mpoirierpersia: sure but what does "long name support" do ?14:16
bercopersia: trying to get a new kernel with that change in place for testing14:16
ogra_acsize matters ?14:17
ogra_aceven with sound ?14:17
persiaShould be reporting of the card name, so that CARDINFO lets us use userspace policy config hacks.14:17
persiaberco, mpoirier can probably spin you one fairly quickly, if you can point at the patch.14:17
mpoirierberco: yes, send me the patch and I'll test this.14:17
mpoirierberco: within 30 minutes that is...14:18
hrwcheck how twl4030 does it?14:18
persiampoirier, The userspace config stuff isn't packaged, so you'll want to come back for instructions on how to test :)14:18
hrwmost omap3 uses twl4030 but has it connected in zyllion ways14:18
persiahrw, twl4030 reports CARDINFO, sets amps and volumes, and reports the right parameters to udev?14:19
ogra_achrw, which obviously breaks it on Xm14:19
persiahrw, Ah, yeah, not an ideal example: this is why we don't have working sound on beagle C4/XM14:19
persia(well, it kinda works, sorta, on beagle)14:19
ogra_aci think C4 works14:19
hrwpersia: no idea. I used few omap3 devices with sound. n900/beagleboard b7+c3/bug214:19
persiakinda, sorta, if you don't do anything tricky14:19
persiahrw, Making it seem like it works on any of those is trivial: fiddle with alsamixer for 5 minutes, and never think about it again.14:20
mpoirierhrw: yes, twl4030 was in my list of things to look at today.14:20
persiaThe trick is having it work perfectly in an autodetected manner on first install.14:20
ogra_acfor me "works" = i hear a login sound :P14:20
persiaogra, On first boot.14:20
ogra_acsure14:20
persiaGrueMaster was reporting issues with that for both C4 and XM, I thought.  I may be misremembering.14:21
hrwpersia: for me "alsactl restore" with prepared asound.conf is fine14:21
ogra_achrw, thats so broken14:21
ogra_ac"prepared asound.conf" ...14:21
hrwogra_ac: kernel people tends to move more and more to userspace anyway14:22
persiahrw, That means "not working" to me.14:23
persiaAnd moving more to userspace is fine, but it needs to be done right (and that discussion is ongoing in ALSA upstream).14:23
persiaJust expecting endusers to magically know how to write a config file isn't acceptable user experience.14:24
=== ogra_ac2 is now known as ogra_ac
hrwmake alsa-config package which will keep asound.conf-boardname + script which will check /proc/cpuinfo?14:25
ogra_acugh14:25
persiaWe have something like that already.14:26
persiaIt is part of alsa-utils, which you have installed already.14:26
persiaBut it depends on the kernel reporting *which* card is installed.  When the kernel doesn't tell userspace which card is in use, userspace can't do anything at all.14:26
bercompoirier: I'm attaching that patch to the bug 63794714:26
ubot2Launchpad bug 637947 in linux-ti-omap4 (Ubuntu Maverick) (and 1 other project) "no sound devices on current ES2.0 boards (affects: 1) (heat: 12)" [High,Confirmed] https://launchpad.net/bugs/63794714:26
lagWhat EXACTLY does userspace need from the kernel (do you need from me)14:26
persiaAnd /proc/cpuinfo is exceedingly unlikely to accurately report the audio interface14:26
bercompoirier: just a min14:26
mpoirierberco: fantastic14:27
lagpersia: It must be reported14:27
lagpersia: How does ALSA know what to change?14:27
persiaberco, Could you expand on what was preventing the custom config from loading?14:27
jo-erlend_nbrsalveti, you're confident they'll make it in time for maverick?14:29
rsalvetijo-erlend_nb: not sure for the release, let's see14:29
jo-erlend_nbrsalveti, I did a clean install of todays preinstall on a new memory card, using the new kernel so I could see the process on my screen. It still doesn't setup the filesystems properly.14:29
rsalvetiif not release, at least as an update14:30
rsalvetihm, what do you get on your screen14:30
rsalveti?14:30
bercompoirier: #17 and #18 in the bug 637947 log activity14:30
ubot2Launchpad bug 637947 in linux-ti-omap4 (Ubuntu Maverick) (and 1 other project) "no sound devices on current ES2.0 boards (affects: 1) (heat: 12)" [High,Confirmed] https://launchpad.net/bugs/63794714:30
jo-erlend_nbwell, everything works nicely, except the rootfs isn't resized. I don't know if bootfs is cleaned with each reboot yet. I'll know that in a little while.14:30
mpoirierberco: cool, hold on, checking.14:31
rsalvetijo-erlend_nb: ok, would be good to see the messages from the first boot, you should be able to see if it's resizing it or not14:31
bercopersia: from my understanding in the /proc/asound/cards we only reported "- SDP4430" instead of something like "OMAP4 - SDP4430"14:31
bercopersia: hence, alsa was not looking for any .conf file14:32
persiaAha, so longname should be enough then, right?14:32
bercopersia: if you have this omap4 field or whatever, you can just name your .conf file the same as this field i.e OMAP4.conf and it would get loaded by alsa14:32
mpoirierberco: I'll apply and test - this should be very quick.14:33
bercopersia: my understanding from the audio guy, is that this fix should be enough, right14:33
bercompoirier: thanks, let me know14:33
jo-erlend_nbrsalveti, it went very quickly. I didn't see anything special. Then the welcome screen appeared. I filled out all the details, and it worked for a while, then it rebooted.14:33
persiaberco, If lrg told you that's what it takes, I'm pretty sure it's correct :)14:33
bercompoirier: I used iwatch to verify my .conf was loaded by alsa. At least we can make sure after this change a .conf file get read and then make this .conf file look good :)14:34
bercothe .conf should contain all our amixer settings14:34
persiaRight, which then just leaves pulse14:35
* persia goes and looks at source again14:35
rsalvetijo-erlend_nb: after booting try searching for /var/log/jasper.log14:35
jo-erlend_nbrsalveti, I did see a message that Jasper was being removed.14:37
rsalvetijo-erlend_nb: but the log should still be there at least14:37
ogra_acwhats the prob ?14:38
jo-erlend_nbrsalveti, let me install an irc client on it, then it's easier to paste.14:38
rsalveticool14:39
jo-erlend_nbit does say it's resizing partitions, at the top of the log file.14:39
persiaFor pulse, the immediately obvious missing bit is missing values for /sys/class/sound/card.../pcmC.../pcm_class14:40
jo-erlend_nboh. And I have no sound.14:40
persiaBut to get a real answer, best to have someone with the hardware to load module-udev-detect with debugging on to track down what's missing.14:40
rsalvetijo-erlend_nb: anything else?14:41
jo-erlend_nbrsalveti, bluetooth doesn't seem to be recognized.14:41
persiaThat's concerning.  Anything in dmesg at all?14:41
jo-erlend_nbrsalveti, but I haven't installed that deb you sent me yet, so perhaps that's causing some problems? I'll do that when I fix the filesystem issues. I have about 50MB free space now. :)14:43
rsalvetijo-erlend_nb: sure, np14:48
rsalvetiwith default uImage and uInitrd you should be able to run the resize without issues14:48
jo-erlend_nbrsalveti, you mean I should just do it manually?14:49
jo-erlend_igeprsalveti, http://paste.ubuntu.com/499149/14:51
rsalvetijo-erlend_nb: no, I mean that I believe it should just work14:51
jo-erlend_igepthat's the jasper log.14:51
ogra_acaha14:52
rsalvetifirst issue with jasper, it expects MLO14:52
ogra_acright14:52
loologra_ac: hey, I see you committed directly to lp:ubuntu/flash-kernel and not to lp:~ubuntu-core-dev/flash-kernel/ubuntu; do you mind if I completely kill the latter now?14:52
ogra_acand the script is running with set -e14:52
rsalvetiso yes, jasper is not running the resize14:53
rsalvetihm, that'd explain14:53
loologra_ac: I can help you merge rebase remaining branches based on lp:~ubuntu-core-dev/flash-kernel/ubuntu to lp:ubuntu/flash-kernel if you like14:53
ogra_acloolgo ahead i committed there because i dont want two branches14:53
ogra_acjust kill the old one14:53
jo-erlend_igeprsalveti, can I just do it myself while the board is running?14:53
loologra_ac: Done; thanks14:54
jo-erlend_igepI mean while rootfs is mounted.14:54
ogra_aci'll do the rebases locally for my personal branches ... if others have probs i'll point them to you though ;)14:54
rsalvetijo-erlend_igep: nops, you need to unmount it first14:54
rsalvetiit works during boot because of uInitrd, that loads a shell in memory14:55
ogra_acno, resize2fs should be able to do an online resize while mounted14:55
rsalvetieven while mounted?14:55
rsalvetinever tried14:55
loolThat's ok; it's basically a matter of updating .bzr/branch/branch.conf to point at the new parent, which can be done when pulling or pushing with --remember14:55
ogra_acbut yu miss the bits from jasper_growroot that run afterwards14:55
ogra_acloolyeah14:55
ogra_acrsalveti yeah, but the fs needs to be clean14:56
jo-erlend_nbit keeps deleting everything on my boot partition. How do I fix that?14:56
rsalvetiI'd say that jasper is running on every boot, as you didn't generate another uInitrd14:57
ogra_ac2sigh ... tegra wlan ... sigh14:58
=== ogra_ac2 is now known as ogra_ac
ogra_acwhats the content of your boot partition ?14:59
ogra_accan you pastebin the ls output somewhere14:59
jo-erlend_nbI have boot.ini, uImage and uInitrd.15:04
ogra_accreate an empty file caled MLO15:04
ogra_ac*called15:04
ogra_acare you sure the IGEP2 cant read a boot.scr ?15:05
jo-erlend_nbI'm currently resizing the rootfs. I'll try that afterwards.15:05
ogra_acthats tricky to add15:05
jo-erlend_nbogra_ac, seems so.15:05
ogralool, i know you use IGEP2 in linaro, how do you handle the fact that it requires a boot.ini instead of a boot.scr by default ?15:18
ogrado you just replace u-boot in NAND ?15:18
* ogra cant imagine that flash-kernel every worked in that scenario15:20
ogra*ever15:20
jo-erlend_nbrsalveti, can you give me the url to that deb you uploaded? I seem to have misplaced it. :)15:20
rsalvetiogra: maybe u-boot upstream uses boot.scr15:20
ograrsalveti, well, i would expect jo-erlend to use the in NAND one15:21
ograand linaro too actually15:21
ograif that requires .ini while its weird, flash-kernel and jasper wont be able to handle that15:22
GrueMasterMorning.15:22
ograGrueMaster, morning ... did you have any success with the omap image from yesterday ?15:23
ogra(does it still boot with the new u-boot)15:23
GrueMastermpoirier: I was looking at the alsa SOC source yesterday for beagle and had an epiphany.  By looking at soc/omap/omap3pandora.c and comparing it to omap3beagle.c, I think I have an idea of how to make it work.15:24
GrueMasterogra: yes, everything works the same (from what I can tel).15:24
ogra\o/15:24
ograawesome15:24
GrueMasterback to audio.  Pandora is an opensource handheld using similar hardware to beagle.  But they actually only enable the pins on the codec that are connected in the system.  Beagleboard just maps the entire codec in the dai.15:26
GrueMasterI think we can use the pandora as a roadmap to make beagle work properly.15:27
GrueMasterNo need to look at the twl4030 code, except to get proper channel names for the omap3beagle.c15:27
mpoirierberco: got results for you.15:27
mpoirierberco: 'cat /proc/asound/cards' indeed reports "TI OMAP4 SDP4430 Board"15:28
ograGrueMaster, pandora ? i thought that was still vaporware ... did they ever actually release something ?15:30
GrueMasterYes.  They are actually shipping.15:30
bercompoirier: cool15:30
mpoirierGrueMaster: I'll get back to you.15:30
ograwow15:30
mpoirierberco: we are not out of the woods15:31
* ogra remembers them announcing it in 2007 or so15:31
bercompoirier: is that the only string?15:31
mpoirierberco: hummm... good question. you get a kernel message and a user space returned messages.15:32
ograon the daily image it currently reports SDP4430 too fwiw15:32
mpoirierberco: I'll use a pastebin - hold on.15:32
ogra(not TI OMAP4 in front nor Board in the end though)15:32
jo-erlend_nbare imap4 boards already available?15:33
mpoirierberco: http://paste.ubuntu.com/499164/15:33
ograjo-erlend_nb, no15:33
ograbut soon15:33
bercompoirier: looks better. however asoc string should be replaced to something else to my thinking15:34
mpoirierberco: we have a bigger problem - let me explain.15:35
mpoirierI did 3 longs days of soul searching in sdp4030.c and twl6040.c.  Know how things get initialized.15:35
mpoirierberco: to about 90 % i'd say.  With what you wrote in the scripts, I think you can bridge the last 10% for me.15:36
mpoirierso, when the kernel boots all the DAIs are associated to the SDP4030 card.15:37
mpoirierthings stay still until a user log in.15:37
mpoirierwhen logging in, 'snd_soc_pcm_open' in soc-core.c gets called.15:38
mpoirierthis is where things go south...15:38
* berco is still listening15:39
mpoirierin there, 'snd_soc_get_backend_dais' is called, which is where I've isolated the problem to.15:39
mpoirierI've enable debugging and get the following output: (let me use a pastebin).15:40
mpoirierberco: http://paste.ubuntu.com/499170/15:41
mpoirierberco, over and over again, which tells me someone in userspace is trying to get information from the card .15:42
=== hrw is now known as hrw|gone
mpoirierberco, when running the scripts DAIs get resolved and the messages go away (I'll use another pastebin).15:43
bercompoirier: hold on a second please15:43
mpoirierok15:43
rsalvetijo-erlend_nb: sorry, got distracted: http://people.canonical.com/~rsalveti/kernel/linux-image-2.6.35.4+_2.6.35.4+-43_armel.deb15:44
jo-erlend_nbthanks.15:44
bercompoirier: ok, just explaining my colleague what we discussed so far as he has a better audio background than me :)15:46
bercompoirier: everything makes sense in your findings15:46
mpoirierberco: That's the 10% i get lost and would welcome help from people in the know.15:47
bercompoirier: now, our understanding is that you have a string "AsoC - SDP4430" reported by "cat /proc/asound/cards"15:47
mpoirierberco: absolutely15:47
mpoirierberco: hold on actually.15:48
bercompoirier: and we should write a "/usr/share/alsa/cards/asoc.conf" file that would include all our amixer script settings15:48
mpoirierberco: this is new to me. let me check.15:48
mpoirierberco: let me guess, I should find a "SDP4430.conf " in there ?15:49
bercompoirier: I did the test on my PC which as an HDA-Intel audio card15:49
bercoThis HDA-Intel string is reported in /proc/asound/cards on my PC and I can see the HDA-Intel.conf gets read15:50
bercompoirier: no SDP4430.conf is for me a wrong name15:50
bercompoirier: the file name should correspond to the first half of the string before the hyphen character15:51
bercompoirier: "AsoC - SDP4430"15:51
bercompoirier: I can see in the patch that "AsoC" is the card->snd_card_driver name15:52
jo-erlend_nbrsalveti, after I installed libertas-firmware, I can see wireless networks in nm-applet. However, I can't seem to connect to my AP. I'm using wpa2+. Do you know any reason why that wouldn't work?15:52
bercompoirier: not a good name but for testing it should be enough15:52
rsalvetijo-erlend_nb: hm, don't know, could be a firmware/driver limitation15:53
mpoirierberco: let's go back to  http://paste.ubuntu.com/499164/15:53
bercompoirier: do you have mean to share the kernel? And can work on the script file if you want15:53
bercompoirier: ok15:54
mpoirierberco: the first line comes from the kernel.15:54
mpoirierthe second is in user space.15:54
bercompoirier: yes15:54
bercompoirier: all is kernel. AsoC is a generic framework for audio driver. Probably why they chose that name.15:55
mpoirierberco: if I follow you properly, it's not reading "ASoc" but "TI OMAP4 SDP4430 Board"15:55
bercompoirier: this driver can manage several sound cards from several companies15:55
bercompoirier: ?15:56
bercompoirier: what is reading "TI ... ?15:56
mpoirierberco: brain bug on my side.15:56
bercompoirier: I think it's alsa in user space which is calling the snd_xxx functions...15:57
mpoirierI was under the impression the content of /proc/asound/cards was "TI OMAP4 SDP4430" only.15:57
mpoirierand 0 [SDP4430        ]: ASoC - SDP4430 was a debug messages coming from the query request.15:57
mpoirierit is not the case.15:57
bercompoirier: ok :) I see. No everything comes from it15:58
mpoirierberco: let's resume.15:58
mpoiriertherefore, we should find ASoC.conf under /usr/share/alsa/cards ?15:58
bercompoirier: now, I understand why we disconnected :)15:59
bercompoirier: absolutely15:59
bercompoirier: that's my understanding15:59
mpoirierberco: I have a feeling this fine should contains settings that are related to my second pastebin.  Am I correct ?16:00
mpoiriers/fine/file16:00
bercompoirier: exactly. This .conf file should contain the amixer settings and that should provide valid audio path to alsa and get rid of your second pastebin error message16:01
bercompoirier: now, an other funny part is the format of this .conf file :)16:02
bercompoirier: I need to fix my cross compile environment to build my own kernel and help you with this testing16:03
mpoirierberco: I can accept and test any patches you can give me.16:03
mpoirierberco: my turn around is very quick - everything is setup on my side.16:04
loologra: We currently copy the boot.scr into the boot.ini when writing the image16:04
mpoirierberco: it depends on how tedious you think the process will be.16:04
ogralool, but not with flash-kernel16:04
bercompoirier: thanks a lot for your help. I should be able to get back to you tomorrow16:04
ograi.e. when updating the kernel16:05
loologra: I didn't think flash-kernel had to touch it in our case16:05
ograah16:05
ograwell, we use a /boot/boot.script file as input so we regenerate it on every flash-kernel run16:06
lrgmpoirier, berco: fwiw, this file + driver patch is still work in progress.  Should be a newer fix tomorrow.16:06
ogra(since we hide the actual vfat partition)16:06
bercolrg: are you also preparing this .conf file?16:07
lrgberco: yes, the audio team is working on this.16:07
=== amitk is now known as amitk-afk
mpoirierGrueMaster: I will start looking in omap3-beagle.c and omap3-pandora.c .17:17
GrueMasterWhat I was going to say was that the omap3beagle maps the entire codec in the dai, whereas the omap3pandora only maps the used channels.  The omap3evm should map the entire codec as it is an evaluation board.  Beagle is not.17:18
GrueMasterBut if ASOC is heading towards a userspace conf file format, that may be the better solution.17:19
GrueMasterI only spent about an hour looking at the code.  But we should be able to get a solution fairly quickly.17:20
=== ogra_ac2 is now known as ogra_ac
GrueMasterSomething happened to the dove image.  It no longer has a partition table in today's image.  Very odd.18:30
GrueMasterogra, NCommander:  ^^^18:31
ogra_cmpcGrueMaster, a partition table ?18:45
ogra_cmpcin a *dove* image ?18:45
GrueMasterYes.  It should have 1 partition, vfat.18:45
ogra_cmpcright but no table18:45
GrueMasterIf you have a partition, you have a partition table.18:46
GrueMasterOtherwise the raw device is one big filessytem.18:46
GrueMasterI.e. /dev/sdh vs /dev/sdh118:46
ogra_cmpcogra@antimony:~/branches/debian-cd$ bzr pull18:46
ogra_cmpcNo revisions to pull.18:46
ogra_cmpc...18:47
ogra_cmpcno changes18:47
ogra_cmpci dont think we ever partitioned dove18:47
GrueMasterAfter running dd if=maverick-netbook-armel+dove.img of=/dev/sdh bs=4M, I should see /dev/sdh1.  I do not with todays image.18:48
ogra_cmpcparted -s "$IMAGE" mklabel msdos18:48
ogra_cmpchmm, we apparently do18:49
ogra_cmpcwell, there are no code changes at all18:52
ogra_cmpcGrueMaster, are you 100% sure thats only with todays image ?18:52
ogra_cmpci.e. yesterdays was for sure ok18:53
GrueMasterAs soon as I am done flashing today's omap image for my beagle, I will double check yesterdays.18:53
ogra_cmpck18:53
GrueMasterI know for a fact that 20100920 was good.  No build on 20100921.18:53
ogra_cmpci know antimony was upgraded to lucid but thats a few days ago18:53
GrueMasterShould have been done earlier in the cycle.18:54
ogra_cmpcyes ...18:54
ogra_cmpcbut now its there18:54
ogra_cmpcchecking the partitioning code, its identical for omap, omap4 and dove18:54
ogra_cmpcso it cant be a newer parted or some such18:55
GrueMasterGah, flashing images to SD takes forever.18:55
ogra_cmpcyeah :(18:55
GrueMasterAnd if I try to flash to two USB devices at the same time, my Core2Quad becomes quite unstable.18:56
GrueMasterEven though they are on separate USB busses.18:56
ogra_cmpcfile a bug ... kernel issue18:56
ogra_cmpcor HW18:56
GrueMasterNo, I think it is hardware related.  Wife's computer has the same issue, and she runs that "other" OS.18:57
ogra_cmpcits the CPU !18:57
GrueMasterPffft.18:57
ogra_cmpcwrong vendor !18:57
GrueMasterI do need to nuke & pave it though.  Running i386 install.  Should run x86_64.18:59
Neko_ogra, see ubiquity bug, making real progress on this :]19:11
Neko_there is an upstart bug that means it won't "stop" an already running thing, so gdm and ubiquity-dm will just fight it out because it will refuse to quit running gdm just because ubiquity is running19:12
Neko_but, I could connect to wireless from in oem-config GUI and apart from how ugly as sin it is, it worked great until it nuked trying to do a symlink :D19:12
ogra_cmpcNeko_, well, we use iit daily on our images and never hit such bugs19:13
ogra_cmpci personally also find it quite beautiful19:13
ogra_cmpcNeko_, you are using maverick, right ?19:13
Neko_yes :)19:14
Neko_I think part of it is we're using a fat partition for /boot19:14
ogra_cmpcdid you ever consider just using the readily produced images ?19:15
Neko_what are you using for disks on your systems?19:15
Neko_what readily produced images19:15
ogra_cmpcthe dailies we build19:15
Neko_there are the dailies for dove etc. but they're installers19:15
Neko_we can't hack in our kernel to those19:15
Neko_gimme a URL so I can see what you're talking about? :/19:16
GrueMasterNeko_: http://cdimage.ubuntu.com/ubuntu-netbook/ports/daily-preinstalled/current/19:16
ogra_cmpchttp://cdimage.ubuntu.com/ubuntu-netbook/ports/daily-preinstalled/current/19:16
Neko_ugh .img?19:16
ogra_cmpcNeko_, you need to generate the inird with the rootfs on the second partition but beyond that it shouldnt be difficult to add another kernel19:17
Neko_what's the 16MB of difference between the two, just kernel stuff?19:17
ogra_cmpc(initrd is essential)19:17
ogra_cmpcyes19:17
Neko_I mean given the choice they're identical in terms of packages19:17
Neko_and it's UNE right19:17
GrueMasteryes19:17
ogra_cmpcright19:18
Neko_but we don't want UNE.19:18
Neko_UNE is too touchscreeny and weird19:18
* ogra_cmpc uses it on a 24" 1920x1280 screen on omap4 ... i dont find it touchscreeny19:19
Neko_the scrollbar is backwards like a touchscreen "drag" would be19:19
Neko_you drag it up and it scrolls down19:19
ogra_cmpcno19:19
ogra_cmpcthat was a bug that was fixed long ago19:19
Neko_have you ever considered that people might just want a normal gnome desktop? ;_;19:19
ogra_cmpcthe image ships a normal gnome desktop too19:20
GrueMasterIt is there as well.  You can select it at the gdm login.19:20
Neko_... oem-config first though right? :)19:20
ogra_cmpcjasper first19:20
ogra_cmpcthen oem-config19:20
Neko_whats jasper and what is it doing for me19:20
ogra_cmpcthen netbook UI19:20
ogra_cmpcit does the initial system setup19:21
ogra_cmpcgrowing the rootfs to teh full size of the SD ...19:21
ogra_cmpcsystem setup ...19:21
Neko_oh fuck that I am going to loop mount the image and make a tarball19:21
ogra_cmpcoptimization for SD card19:21
Neko_the thing is going to be on a 16GB SSD19:21
ogra_cmpcjasper lives in the inird19:21
Neko_which we don't have :D so... good19:22
ogra_cmpc(thats why i said initrd is essential on these images)19:22
ogra_cmpcwell, its easy to roll one19:22
Neko_you'd think..19:22
ogra_cmpcinstall your kernel package in the rootfs and just run update-initramfs19:22
Neko_we don't haaave a kernel package19:23
ogra_cmpctr8ivial19:23
ogra_cmpcugh19:23
ogra_cmpchow do you apply security updates ?19:23
Neko_for some reason the kernel stuff is all reliant on some weirdo 2.6.33+ stuff19:23
ogra_cmpcoh19:23
Neko_markos is having trouble getting our 2.6.31 to build using the correct packaging19:23
ogra_cmpcwell, then i see why you have upstart probs19:23
GrueMasterogra_cmpc: Issue with today's omap4 image.  Running oem-config, something has used up my entire 7.2G of root partition.  May be related to encrypted home dir.19:23
Neko_oh no, do not blame this on the kernel:D19:23
Neko_upstart has absolutely no reliance on any feature of the kernel in that manner19:24
ogra_cmpcNeko_, upstart relies on a 2.6.35 kernel19:24
Neko_in what way19:24
ogra_cmpcask Keybuk in #ubuntu-devel19:24
ogra_cmpcupstart and udev in ubuntu are always tied to the kernel19:24
Neko_is this something that got hastily put in after you dropped mx51 support or has it always been that way?19:25
ogra_cmpcthere are surely more userspace tools that expect certain kernel features19:25
ogra_cmpcit has always been that way19:25
Neko_christ....19:25
ogra_cmpcin some releases more in some less19:25
ogra_cmpcask our kernelteam how much they suffered from backporting changes to the imx kernels :)19:26
Neko_oh we had the same troubles here believe me19:26
Neko_Freescale keep promising a 2.6.3519:27
ogra_cmpci bet they still do19:27
Neko_the last we heard was "we can get you a snapshot maybe october 15th"19:27
Neko_then they said "no shapshot just wait for the bsp"19:27
Neko_that's probably november 30th19:27
Neko_we are pushing it to higher management19:27
ogra_cmpcyeah ... enjoy the wait19:27
ogra_cmpcget some icecream meanwhile :P19:27
GrueMasterNah.  It would melt too fast.19:28
ogra_cmpcno, you eat it and get more :)19:28
Neko_they really really want Maverick because they just realised Karmic blows donkey cock.. we explained they had better back us up and then they said "but we have no roadmap we thought you would do it all"19:28
Neko_it's really a mess.. Linaro are too focused on mainline, we need BSPs19:28
ogra_cmpcwell, letting BSPs die is linaros mission19:28
ogra_cmpcand a good one imho19:29
Neko_it's a 5 year mission19:29
ogra_cmpcin any case, if your oem-config issues are upstart related i'd take a look at the kernel19:30
Neko_to boldly go where no man has gone before19:30
Neko_no doubt, like every other ship that isn't the Enterprise, it will end up as a debris field19:30
ogra_cmpcthe more people help, the shorter the timefarme will get19:30
GrueMasterogra_cmpc: For some reason, my omap4 image swap file is 5.5G.  Jasper log looks ok, so I doubt it has anything to do with it.19:34
ogra_cmpcGrueMaster, the swap file ?19:34
* ogra_cmpc blames rsalveti 19:34
ogra_cmpc:P19:34
GrueMasterWhy?  Jasper looks ok.19:35
ogra_cmpcogra@panda:~$ ls -lh /SWAP.swap19:35
ogra_cmpc-rw-r--r-- 1 root root 512M 2010-09-22 11:38 /SWAP.swap19:35
ogra_cmpcits exactly as big as it should be here19:35
GrueMasterls -lh mnt/SWAP.swap19:36
GrueMaster-rw-r--r-- 1 root root 5.5G 2010-09-23 11:11 mnt/SWAP.swap19:36
ogra_cmpcwoah19:36
GrueMasterYea.  bit on the plus side.19:37
ogra_cmpci'll try to reproduce tomorrow19:37
GrueMasterI'll continue on it now.  I think it has to do with encrypted home directory.  What would I file this under if I reproduce it?19:37
ogra_cmpchmm19:38
ogra_cmpcgood question19:38
GrueMasterthis is why I have a hard time filing some bugs.19:38
GrueMasterI can spend hours trying to find the right package.19:38
ogra_cmpcecryptfs-utils probably19:38
ogra_cmpcor cryptsetup19:39
ogra_cmpcif you reliably can point to the encrypted home19:39
GrueMasterI'll pick one.  It will be wrong, but let someone in triage figure it out.19:39
GrueMaster:P19:39
ogra_cmpcwell, they are deps of ubiquity19:39
ogra_cmpcone of them is responsible for the homedir stuff19:40
GrueMasterFirst I will try on my 16G SD.  If that gets bloated, I'll go from ther.19:40
GrueMasterthere19:40
ogra_cmpcafaik vstehle uses encrypted home on all his test installs19:40
ogra_cmpci havent heard from him since we enabled swap creation again19:41
ogra_cmpcwhich i'd see as a good sign19:41
ogra_cmpci really wouldnt mind dropping swap on omap4 to be honest19:42
GrueMasterCould.  It is not as critical as on beagle.19:42
ogra_cmpcwell, even there only on C419:42
GrueMasterMight actually speed it up a bit due to SD I/O.19:42
ogra_cmpconly if it swaps :)19:43
GrueMasterAnd I meant beagle, not XM.19:43
ogra_cmpcheh19:43
GrueMasterAnd apparently mine did swap a little.19:43
ogra_cmpcwell, it cant swap beyond the size we gave it19:44
ogra_cmpcits not some magically autogrowing file19:44
GrueMasterYea, I'll keep that in mind when I look at the 5.5G file again.19:45
ogra_cmpcit can actually only have happened at creation time19:45
GrueMasterI looked at the jasper log and it looked ok.19:46
ogra_cmpcdd if=/dev/zero of=${DIR}/root/SWAP.swap bs=1048576 count=512 >>$LOGFILE 2>&119:46
GrueMasterThe size reported in the log was nowhere close to this.19:46
ogra_cmpci dont see how that would create a 5.5G file19:46
ogra_cmpcyes, but it cant just grow19:47
GrueMasterTheory vs Reality.  I don't know either, but will look at the logs more as soon as I finish flashing the other SD.19:48
GrueMasterAnd XM is fine (although I didn't add encrypted home dir on it).19:49
rsalvetiouch, 5.5G of swap?19:49
rsalvetimakes no sense19:49
GrueMasterYea.  I'm big, but not that big.19:49
GrueMasterAlso, why am I seeing mtdblock 0 errors during jasper on beagle (not XM).19:50
Neko_why don't you just use qualifiers for the dd arguments19:50
Neko_bs=1M count=51219:50
ogra_cmpcprecision :)19:50
GrueMasterFrom the dmesg log:  [    7.045257] Adding 524284k swap on /SWAP.swap.  Priority:-1 extents:137 across:2219040k SS19:53
GrueMasterLooks ok so far.19:53
ogra_cmpcyes19:54
ogra_cmpcdo you see 5.5G on the running system too ?19:54
ogra_cmpc(with ls)19:55
GrueMasterJust booted it.  oem-config now up.19:55
ogra_cmpcoem-config ?19:55
GrueMasterYes.  Fresh SD install.19:56
ogra_cmpcoh, i meant the one that had the 5.5G file19:56
GrueMasterI have two SD cards I use for panda.  One I am looking at, the other is now booting to reproduce the issue.19:56
GrueMasterOn the SD with 5.5G, oem-install failed with an out of space error.19:57
GrueMasterStopped at that point to debug.19:57
ogra_cmpcah19:58
GrueMasterFrom oem-config.log:  debconf: DbDriver "config": could not write /var/cache/debconf/config.dat-new: No space left on device19:58
GrueMasterNot sure what stage that is.19:58
ogra_cmpcrelatively to the end19:58
ogra_cmpcbut doesnt matter19:58
ogra_cmpcas long as the user can input stuff debconf is only read afaik19:59
GrueMasterInteresting.  After creating the user, there is a message in oem-config that it is wiping swap space for security.19:59
GrueMasterThat may be doing it.19:59
ogra_cmpconly the content though19:59
ogra_cmpcthe file shouldnt grow19:59
GrueMasterdepends on how it is trying to wipe it.  If it is just doing "dd if=/dev/zero of=<SWAP Space>".20:00
GrueMasterSince we are using a file, it is very possible that this is what is happening.20:01
ogra_cmpcoh, that would be a possibiltty20:01
GrueMasterIt is used to wiping a predefined partition.20:01
ogra_cmpcwell, kees is busy talking in -devel20:01
ogra_cmpche's the security expert20:01
* ogra_cmpc gets dinner and will vanish until the call now20:02
keeshola20:04
rsalvetihey20:04
GrueMasterSo I am testing our daily images and found that when oem-install creates a new user with home dir encryption, our /SWAP.swp file ends up filling the entire SD card.20:05
GrueMasterHow is ubiquity zeroing the swap space?20:05
rsalvetiouch, interesting bug20:05
GrueMasterrsalveti: It's my hidden talent.20:06
rsalvetiso not caused by me :-)20:06
rsalvetiGrueMaster: haha :-)20:06
keesGrueMaster: well, first of all, oem-install probably shouldn't enable home dir encryption, that's not the default in the other ISOs20:16
keesGrueMaster: secondly, it writes zeros to the entire partition, IIRC.20:16
GrueMasterIt isn't?20:16
GrueMasterSeems to me, it is part of user creation, which on preinstalled images would be appropriate for oem-install.20:17
GrueMasterAs to the zeroing the entire partition, I can see that.20:17
DanaGhttp://www.engadget.com/2010/09/23/marvell-unveils-1-5ghz-triple-core-application-processor-all-cu/#comments20:18
DanaGSpiffy.20:18
mpoirierGrueMaster: I just had a look at omap3beagle.c and omap3pandora.c20:40
GrueMasterok.  Cool.  I've been swamped with swap issues.20:40
mpoirierthe scheme set forth in omap3 land is interesting - one card definition per board.20:41
GrueMasterYea, I think that may be the old way of doing it.  I think they are trying to shift towards "expose all - config in userspace".20:42
GrueMasterWhich would make the most sense.20:42
mpoirierif we were to continue this in omap4 land, sdp4430.c *could* become sdp4430panda.c20:42
GrueMasterEasier to add a config file on the fly than patch->build->test kernel.20:42
GrueMasterI think for now, we want the fastest solution.  We can look for the best solution in Natty.20:43
mpoirierWell, hold on - this scheme solves only half the puzzle.20:44
GrueMasterWhat is the other half?  Pulseaudio?20:44
mpoirieromap3 land was not as refined as omap4 and therefore cards had to put their cpu_dai in the snd_sod_dai_link definitions.20:45
mpoirierin omap4 they have replace the hard coded scheme by a naming convention.20:45
mpoirierwhich is exactly what is being done in twl6040.c with the end result being exactly the same.20:45
mpoirierthat is, we haven't found a way to push front-end and back-end dai configuration to the kernel.20:46
mpoirierwithout scripts that is.20:46
mpoirierRight now the TI audio team is looking at fixing /proc/alsa/cards and giving us a proper ASoC.conf file,20:47
mpoirierwhich will solve the problem.20:47
mpoirierPatches are on the way.20:48
GrueMasterOk.  Is that omap4 or all?20:48
mpoirierFirst omap3.20:48
mpoiriersorry, omap4, first omap4.20:48
GrueMasterSo for omap3, we could just tweak omap3beagle.c for now.20:49
GrueMasterAnd pick up the ASoC.conf in Natty.20:49
mpoirierhold on, I got an idea...20:49
mpoirierI'll get back to you shortly.20:50
GrueMasterI'll be here.20:51
mpoirierGrueMaster: I **think** I just bridged the gap.20:52
mpoirierdo you have time to hear it ?20:53
GrueMasterSure.20:53
mpoirierDo you have a running beagleboard in front of you ?20:53
GrueMasterbeagle, XM, and two pandas.20:53
mpoirierare they all running ?20:54
GrueMasterpandas are finishing oem-install now.20:54
GrueMasterall are running otherwise.  Fresh images as of this morning.20:54
mpoirierok sure - in anycase you don't have the proper patch for omap4 so it won't matter.20:54
mpoirierIt all starts from my little chat with berco this morning.20:55
GrueMasterright.20:55
mpoirierberco gave me a patch that output  http://paste.ubuntu.com/499164/  in /proc/asound/cards20:56
mpoirierthe "ASoC" is the important part here.20:57
GrueMasterok20:57
mpoirieryes, bare with me, I have a lot of layers to peel.20:57
DanaGUSB 3.0 ARM... sounds perfect for a NAS.20:58
mpoirierGrueMaster: just a sec.20:59
mpoirierGrueMaster: sorry, need to organize brain.21:02
GrueMasterTake your time.21:02
mpoirierGrueMaster: we know from omap3beagle.c and omap3pandora.c that sound card are named per board.21:03
mpoirierthat is, omap3beagle.c defines the sound card for beagle and omap3pandora.c for pandora.21:03
mpoirierthat information is exported in /proc/alsa/cards21:04
mpoirierfrom that information /usr/share/alsa/cards/ is search from the right card.21:05
GrueMasterOk, following so far.21:05
mpoirierfrom my conversation with berco this morning, bridge between front and backend dais are made from those files.21:05
lrgmpoirier: google for alsa UCM21:06
GrueMasterIt can be.  It looks like omap3pandora is doing that internally though.21:06
mpoirierIrg: good you're on.21:06
DanaGWhy does omap3beagle have so many extra pins (such as "handsfree" and "predrive") that aren't wired on the board?21:06
DanaGIf it's per-board, couldn't they hide those?21:06
rsalvetiprobably copy paste21:06
rsalvetifrom other board21:07
mpoirierIrg: do you know exactly what field in the .conf file alsa is looking for ?21:07
lrgmpoirier: looking for what ?21:08
=== ian_brasil__ is now known as ian_brasil
GrueMasterDanaG: It looks simpler than copy/paste.  I would guess that it was just to expose the entire codec.21:08
mpoirierthe patch that you wrote this morning write ASoC in /proc/alsa/cards21:09
mpoirieraccording to berco, alsa then looks for ASoC.conf under /usr/share/cards/21:09
lrgthat's changed to card name now21:09
mpoirierIrg: yes good idea.21:09
lrgfwiw, the alsa conf method is only a stopgap atm21:10
lrgUCM is the prefered solution21:10
rlameiroevening evryone21:10
lrgUCM is currently in the alsa-lib ucm branch21:10
lrgand will hopefully be in master soon21:10
DanaGWhat does UCM stand for?21:11
lrgUse Case Manager21:11
mpoirierIrg: I'll look at UCM as soon as we're done.21:11
DanaGah.21:11
mpoirierIrg: for the next 7 days though, we need a way to configure our cards.21:11
GrueMasterlrg: It is still very wip.21:11
lrgit will be ready for in the next few weeks21:12
mpoirierIrg: and from what I gathered in the past couple of days, I *think* we have a clean solution.21:12
GrueMasterlrg: We have release on 10/10.21:12
rlameirowhat is a Use case manager?21:12
lrgGrueMaster: I was thinking 4/1121:13
GrueMasterFeature freeze was several months ago.21:13
mpoirierIrg: for 4/11, I can sure put it in.21:13
GrueMasterlrg: Definitely a possibility for 11.0421:13
lrgGrueMaster: it will be part of alsa-lib by then (i.e. next alsa-lib release)21:13
rlameirowhen is the final freeze? like no more stuff until launch?21:14
GrueMasterabsolute zero is 10/6.21:14
GrueMasterBug fixes with a lot of begging now.21:14
rlameirolol21:15
rlameiroso i need to get starting on my USB audio intrface bug21:15
GrueMasterrlameiro: if you have a patch and want it fixed, do it quickly.  Still, no guarantees it will make release.  May have to go sru and be added to mav-updates.21:17
mpoirierIrg: back to my question: which part of /proc/alsa/cards is alsa looking for to seach configuration file under /usr/share/alsa/cards/ ?21:18
rlameiroI even dont know what is wrong...21:18
rlameiroI think i am betting for natty21:18
rlameiro:(21:18
rlameiroI am kinda disapointed with audio stuff on the Arm platform21:19
GrueMasterrlameiro: If you can reproduce it on x86, that would make things easier I think.  usb-audio shouldn't change between arch's.21:19
rlameirobut changes21:19
rlameiroand as far as i know, there are diferent stuff on alsa, between arm/x8621:19
rlameirofor instance ASoC21:19
lrgmpoirier: the driver name, so in this case SDP4430 (instead of ASoC)21:20
GrueMasterBesides the obvious.  arm also doesn't support HD Audio.21:20
rlameirowhy? to save power?21:20
GrueMasterrlameiro: HD Audio is build in to x86 motherboards.  It is a different bus architecture.21:22
GrueMasterBut usb is usb.21:23
rlameirowell, never like hd audio so for me is irrelevant21:23
DanaGHD Audio is a bus, just like AC97 is a bus, right?21:24
DanaGLike, some Creative cards have had an AC97 bus controller, and an AC97 codec somewhere.21:24
GrueMasterThe point is that the usb audio driver on x86 is the same code for the usb audio driver on arm.21:24
rlameiroyeap usb should work on the 2 sides, unless the code is different or crippled for size concerns21:24
DanaGAnd C-Media has a vaporware USB-Audio thing that has an HD Audio bus controller.21:24
GrueMasterDanaG: In it's simplist form, yes.21:24
mpoirierIrg: my I suggest...21:25
DanaGI just wish somebody would make a freaking ExpressCard C-Media Oxygen (or such) card.21:25
mpoirierIrg: to call it something more card related... Something like SDP4430panda ?21:25
mpoirierthat way, when another card is released, we could call it SDP4430another_card.21:26
mpoirierIrg: i'm replicating the scheme put forward in omap3beagle.c and omap3pandora.c21:26
GrueMasterI agree with mpoirier's idea.  We should be able to whip it out in minutes, vs trying to figure out what an ASoC.conf file would need.21:26
rlameiroGrueMaster: for isntance, my usb audio has an alsa addon to quircks, in order for the device to have its full extended usage21:26
DanaGI hope that panda will become available soonish.21:26
DanaGMy CM106 USB card is silent with default Windows USB-Audio drivers.21:27
DanaGAnd it only supports 7.1-channel -- no 5.1 or stereo!21:27
mpoirierIrg: I'm not an expert... I'm just thinking with what I learned lately...21:27
rlameiroGrueMaster: and i am not sure if this driver has it, altough midi does apear on alsamixer for my device21:27
DanaGIn my case, the hardware really is buggy.21:27
GrueMasterOk, not to be picky, but we really need to focus on asoc issues atm.  We are getting too much chatter in the channel.21:28
lrgmpoirier: the name will be the same as the mach driver, and SDP4430 is just another development board like panda. Fwiw we may decide to create a separate mach driver for panda if it becomes necessary21:29
lrgso maybe omap4panda will be better21:30
GrueMasterSounds reasonable to me.21:30
rlameirowhere are the packages for arm? for download?21:30
mpoirierIrg: it would follow the omap3XYZ scheme already widly known21:30
lrgyes21:31
GrueMasterrlameiro: http://ports.ubuntu.com21:31
rlameirothanks21:31
rlameirosorry GrueMaster, but i cant find the sources for the kernel I have installed21:37
GrueMasterrlameiro: If you type "apt-cache show <package> it will tell you the name of the source package.  It will be in pool/main/ somewhere.21:41
GrueMasterwhat kernel are you running?21:41
rlameirolinaro21:41
rlameirowell, I need to powerup my board then21:42
GrueMasterhttp://ports.ubuntu.com/pool/main/l/linux-linaro/21:43
GrueMasterlook there.21:43
GrueMasterYou will want linux-linaro_2.6.35.orig.tar.gz, linux-linaro_2.6.35-1006.12.diff.gz and  linux-linaro_2.6.35-1006.12.dsc21:44
rlameirono source in ther, just binaries21:44
GrueMasterThe first file is a compressed tarball of the main source tree.  The second file is their current patchset.  the third is used by debian build utilities.21:47
GrueMasterHmmm.  "NAME = Sheep on Meth".  Interesting.21:49
=== ian_brasil_ is now known as ian_brasil
Neko_ogra, would you care to make a blueprint or something for "the perfect storm" of features on an arm system that would make your life easier re uboot configuration and system peripherals and suchlike? :D21:53
GrueMasterHow about make-arm-poweron-self-programming-to-perfection?21:55
Neko_:)21:55
Neko_but I mean like "it would be nice if it booted ext4 native" or you know.. that kind of thing.21:56
GrueMasterMight increase the footprint of the silicon a bit though.21:56
Neko_"has some other storage than f**king SD card"21:57
Neko_:D21:57
GrueMasterProblem there is that the beagleXM and panda have no nand.21:59
GrueMasterSo they boot from SD by default.21:59
GrueMasterIt is in silicon (from what I understand).21:59
mpoirierPersia: anyone home ?22:04
mpoirierpersia ^^^^^22:04
* persia reads some backscroll, hoping to develop context22:05
mpoirierpersia: no need...22:06
persiampoirier, What?22:06
mpoirieryou were talking about a "machine driver" at one point...22:06
persiayes.22:06
mpoirierwould you have an example of its usage (any usage really) somewhere ?22:06
persiaI have pointers to documentation, but no pointers to code.22:07
mpoirierdocumentation then...22:07
DanaGWhat's the difference between the Ubuntu and Linaro kernels?22:10
persiaDanaG, All the kernels in the Ubuntu repos are Ubuntu kernels.22:13
persiaCurrent kernels come from two upstreams (kernel.org mainline and linaro)22:14
DanaGAre there any significantly notable differences between the two?22:15
DanaGer, "significantly notable" is a bit redundant.22:15
persiampoirier, /usr/share/doc/linux-doc/sound/alsa/soc/machine.txt22:15
persiaDanaG, To the limit of my knowledge, Linaro is attempting to unify ARM trees, and so has a bunch of patches that may not yet be mainline from various sources plus a bunch of patches that help unify things.22:16
persiaAdditionally, Linaro has a whole bunch of folk working on enabling stuff, so likely carries those patches.22:17
GrueMasterpersia: mpoirier:  That would fall back on our earlier discussion re: omap3beagle.c, etc.22:17
GrueMasterpersia:  cliffnotes version of scrollback:  I discovered last night that omap3pandora.c enables specific ports in the codec, whereas omap3beagle.c enables the entire codec.22:20
persiaGrueMaster, Thanks!  Yeah, something more targeted makes sense.  That said, it may be that every port is wired to something on the beagle (although it would be nice if they had proper names)22:21
GrueMasterNo, the beagle just enables every port on the codec, whether it is wired outside the chip or not.22:22
persiaDid lrg's patches help with omap4?22:22
GrueMasterNot sure.  For our immediate useage, probably not.  It also requires hacking together an ASoC.conf in /usr/share/alsa/cards, which itsself is short lived.22:23
persiaWhy?22:23
persiaWhy not /usr/share/alsa/cards/KJH34987.conf (or whatever is appropriate for that specific board)22:24
GrueMasterBut his patch does enable us to move forward to UCM22:24
persiaThen we can use the reported card name to configure it.22:25
persiaUCM?22:25
GrueMasterUCM  Usage Case Manager.  Will be in Natty.22:25
GrueMasterNew to alsa-lib.22:25
persiaAh, OK.22:26
GrueMasterThe idea is to make the driver open all controls and do the system config in userspace.22:26
persiaI think berco already created the conf file to drop in /usr/share/alsa/cards so it's low-additional-effort to enable that, as much as it's not the right long-term solution.22:26
GrueMasterNot sure.22:27
persiaAnd ASoC will be doing this also, not just regular ALSA?22:27
GrueMasterWon't help with omap3 though.22:27
GrueMasterThis is all asoc I believe.22:27
GrueMasterThe rest of alsa may adapt.22:27
persiaNot having to quirk HDA would make lots of folk jump up and down in joy.22:28
GrueMasterI'd have to read the email threads in alsa-devel.  I've seen it come up a few times recently in my mailbox.22:28
persiaThat said, I thought lots of folk were looking forward to devicetree to deal with some of this.22:28
GrueMasterNot sure how far out devicetree is, and atm it is PPC & arm specific.22:29
persiaThat's not so helpful :(22:29
GrueMasterIt would require all arches to support devicetree.22:30
persiaIndeed.22:30
persiaOr, conversely, devicetree to support all arches22:30
mpoirierpersia: currently omap3 (beagle, and I assume pandora) return "twl4030" in /proc/asound/cards22:36
mpoirierhence we'd need  /usr/share/alsa/cards/twl4030.conf and we'd be set.22:36
mpoirierdoesn't offer a solution to differentiate beagle, pandora, gumstix, igep...22:37
rlameiroonly one question, what could be the reason that my board cant support this tipe of audio format S24_3LE?22:41
DanaGdevice-tree is also used for Microblaze.22:58
DanaGThough, last time I tried Microblaze, it was a "bag of hurt" (me using Jobs's words).22:58
rlameiroeverytime I unplug something from the usb hub, the board stops recognizing when i plug something again23:16
rlameirois there any way of "restarting" the usb detection system?23:17
rlameiroor what is called23:17
rsalvetivstehle: cool, thanks for the patch at bug 646368, this was the fix I was looking for yesterday23:36
ubot2Launchpad bug 646368 in linux (Ubuntu) "smsc911x has no module alias, does not get auto-loaded on OMAP3 EVM (affects: 1) (heat: 8)" [Undecided,New] https://launchpad.net/bugs/64636823:36
rsalvetididn't know that just adding the module alias would make the kernel to request the proper module23:36
ograheh23:37
ograi was just about to point that out to you :)23:37
ograperfect timing :)23:38
* ogra goes to bed ...23:38
rsalveti:-)23:39
rsalvetisee ya23:39

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!