**** BEGIN LOGGING AT Wed Jun 20 02:59:59 2012 Jun 20 09:43:15 ogra_, ping Jun 20 10:02:17 ogra_, pinga ring Jun 20 11:18:21 ronoc, yo, sorry, had an early lunch Jun 20 11:18:37 no worries Jun 20 11:19:06 ogra_, timR is out now Jun 20 11:19:18 ogra_, later when he comes back I'll do some introductions if you don't mind Jun 20 11:19:28 fine, yeah Jun 20 11:19:35 ogra_, thanks Jun 20 11:53:19 ogra_, ronoc, hi, just noticed this Jun 20 11:53:53 hey tim_ Jun 20 11:54:00 hey Jun 20 11:54:03 ogra_, this is my mate tim_ i was speaking to you about Jun 20 11:54:19 gumstix audio issues Jun 20 11:54:44 Hello ogra_! Jun 20 11:56:01 tim_, do you have your notifications turned on Jun 20 11:56:31 not sure, don't ususally use IRC Jun 20 11:59:06 tim_, when I write tim_ the icon on your panel should go blue or something Jun 20 11:59:10 what client are you using Jun 20 12:11:18 tim_, hey Jun 20 12:12:50 ogra_ hi! Jun 20 12:12:59 so you got sound issues i heard Jun 20 12:13:15 yep should we switch to direct message? Jun 20 12:13:28 nah, just keep it here Jun 20 12:13:31 ok Jun 20 12:13:43 I'm just about to run out I'm afraid Jun 20 12:13:48 I'll explain quickly Jun 20 12:14:00 I'm using 12.04 on gumstix boards Jun 20 12:14:09 yep. connor said so Jun 20 12:14:16 -n :) Jun 20 12:14:27 there is a driver called snd-soc-overo for the built in audio Jun 20 12:14:39 It works in openembedded I beleive Jun 20 12:14:47 I'm modprobling it and it is loading Jun 20 12:14:51 right, do you see anything with "dmesg|tail" if you load it ? Jun 20 12:15:00 but no usable devices Jun 20 12:15:06 no I don't think so, I'll check that Jun 20 12:15:11 and is there anything in /proc /asound ? Jun 20 12:15:46 Is it ok if I check that and get back to you in about 2 hours? just have to do something 1st Jun 20 12:16:00 sadly we dont have amny gumstix users so we dont really get much feedback for that SoC Jun 20 12:16:16 you are in charge of soc audio? Jun 20 12:16:26 i have meetings the whole afternoon so i wont be available much Jun 20 12:16:38 tim, are you using armhf or armel? Jun 20 12:16:38 anytime in the next few days would be great Jun 20 12:16:42 armhf Jun 20 12:16:44 no, i only care for images usually and for the arm port in general Jun 20 12:16:57 but that often enough includes userspace audio fixes Jun 20 12:17:06 OK.. will report back in a bit, and thanks Jun 20 12:17:14 cool, good luck :) Jun 20 14:36:36 ogra_, dmesg just says - [ 392.393524] overo SoC init Jun 20 14:37:22 ogra_, cat /proc/asound/cards says --- no soundcards --- Jun 20 14:38:07 hmm, then your driver probably either needs additional modules loaded ... or whats more likely (and happens often on arm) is that the driver only works properly if compiled in Jun 20 14:39:25 there are already a bunch of modules loaded Jun 20 14:39:58 snd_soc_core 111406 2 snd_soc_overo,snd_soc_twl4030 Jun 20 14:40:20 is snd_soc_twl4030 supposed to load I wonder Jun 20 14:40:29 twl4030 is the chip that's being used Jun 20 14:40:47 and once I have loaded this once, it autoloads on reboot Jun 20 14:41:43 btw uname -a : Linux overo 3.2.0-23-omap #36-Ubuntu Tue Apr 10 20:24:21 UTC 2012 armv7l armv7l armv7l GNU/Linux Jun 20 15:03:38 tim_: In my experience with the beagleXM and beagleboard (essentially the same SOC), the audio only worked when the drivers were built into the kernel. You should try rebuilding the kernel with the twl4030 & overo drivers compiled in. Jun 20 15:04:11 (I "used" to work on the audio stuff for these boards) Jun 20 15:09:47 Thanks! Jun 20 15:11:06 I believe these may actually be built into the kernel already? There don't seem to be any .ko files for them.. Jun 20 15:23:41 Hmmm. Jun 20 15:24:19 Try "fgrep TWL4030 /boot/config-*" Jun 20 15:24:37 See if they are. Jun 20 15:49:42 GrueMaster ok - this checks the kernel build flags? - CONFIG_SND_SOC_TWL4030=m Jun 20 15:50:20 and CONFIG_SND_OMAP_SOC_OVERO=m Jun 20 15:50:23 Yes. And according to that, the driver is built as a module. Jun 20 15:50:33 I guess this means they aren't Jun 20 15:50:42 Need to rebuild with those set to Y. Jun 20 15:51:11 Great! ok, this is going to take a bit of research.. Jun 20 15:51:28 do you know if it needs both of them? Jun 20 15:52:05 tim_, which gumstix have you got? (I have an IronStorm) Jun 20 15:52:06 I think if you set one in the kernel config menu, it will flag the other, but I am not sure. I would just enable both. Jun 20 15:52:30 I have airstorm and tide Jun 20 15:52:44 I believe they are all compatible with the same kernels? Jun 20 15:52:57 I am a noob ;) Jun 20 15:53:14 See http://bugs.launchpad.net/ubuntu/+source/linux/+bug/925094 Jun 20 15:53:16 Ubuntu bug 925094 in linux "No audio on omap (beagleXM) system" [Medium,Confirmed] Jun 20 15:53:37 (I knew I had filed one - with the fix). Jun 20 15:54:35 OK this seems to be a similar issue alright Jun 20 15:55:09 At the end there is a post that says its a dependency issue? Jun 20 15:57:22 Yea, I just saw that. Can't test it though (not at home, and beaglexm is packed away since I have moved on). Jun 20 15:58:38 tim, did you use a preinstalled ubuntu image, I think I tried it earlier and just sat there Jun 20 15:58:44 Uncompressing Linux... done, booting the kernel Jun 20 15:59:37 I used a preinstalled image yes Jun 20 15:59:43 hmm, ok Jun 20 15:59:47 cvanvliet: That sounds like a desktop image. It requires video & keyboard. You won't see much else on the serial port. Jun 20 15:59:53 I think the current one does that for me also Jun 20 16:00:18 cvanvliet, you want a server image for serial output Jun 20 16:00:31 GrueMaster, it is set up with DVI, keyboard etc Jun 20 16:00:48 aha, I just tried loading snd-soc-omap and snd-soc-omap-mcbsp and the device has appeared! Jun 20 16:01:03 without rebuilding the kernel ;-) Jun 20 16:01:12 congrats ! Jun 20 16:01:19 now to check if there is sound Jun 20 16:01:37 cool. You can add the dependency to /etc/modprobe configs. Jun 20 16:04:09 ogra, I actually want a desktop, but I can try the server image later Jun 20 16:04:26 I actually want 12.04 armel, tbh Jun 20 16:04:39 you cant install the desktop image if your screen doesnt work Jun 20 16:04:51 and there are no armel images for 12.04 Jun 20 16:05:15 I know, I have been trying to make one Jun 20 16:06:19 ogra, I am confused, there is a screen attached Jun 20 16:06:45 right, but the dirver your kernel ships was only tested on beagleXM Jun 20 16:07:00 ok Jun 20 16:07:09 its a matter of luck if it works on different omap boards Jun 20 16:07:16 thought that may be a the case Jun 20 16:07:23 nice to have it confirmed Jun 20 16:07:36 and when it worked for tim, I had hope Jun 20 16:08:03 desktop images run the installer on the display ... so without working kernel driver you wont be able to install them Jun 20 16:08:23 mine is a newer model, so every reason it may not work Jun 20 16:08:38 thats why i said use the server image ... it is a minimal ubuntu install that runs completely on serial and also offers to install the desktop at the end if you want to Jun 20 16:08:41 ahh ok, Jun 20 16:08:52 ahh thanks Jun 20 16:09:04 I can try that Jun 20 16:09:28 although I need armel, having an armhf may help me figure out the armel Jun 20 16:09:55 why do you want armel ? Jun 20 16:09:59 it will be lots slower Jun 20 16:10:22 (beyond the fact that nobody actually cares if it even works) Jun 20 16:10:55 I need the SGX drivers Jun 20 16:11:01 ah Jun 20 16:11:14 this is for a business of mine Jun 20 16:11:39 and we will use opengl for the graphics Jun 20 16:11:58 you could ask over in #beagle if there are any people capable of re-rolling the binary driver at TI Jun 20 16:12:20 thats essentially what was done for the omap4 hf driver Jun 20 16:12:39 one of the guys asked someone here the other day, Jun 20 16:12:54 and the answer was dunno :( Jun 20 16:13:04 lovely Jun 20 16:13:08 ndec, I think it was Jun 20 16:13:22 yeah, he isnt working in the omap3 area i think Jun 20 16:13:30 I just tried to test the audio.. no audio Jun 20 16:13:38 hmm? Jun 20 16:13:39 yeah it is quite hard, I feel like i will be using a below par system Jun 20 16:13:51 ndec, omap3 SGX armhf Jun 20 16:13:51 I am aware that the mixer sometimes is preconfigured for no output Jun 20 16:13:58 if I don't use armhf Jun 20 16:14:02 i don't do that ... Jun 20 16:14:14 i don't do OMAP3 SGX, neither armel, nor armhf Jun 20 16:14:16 * ogra_ thought so :) Jun 20 16:14:31 its a very complex mixer Jun 20 16:14:55 tim_, yeah, thats the problem with bug 925094 Jun 20 16:14:56 ndec, sorry if I got that wrong, I thought it was you who responded Jun 20 16:14:57 Launchpad bug 925094 in linux "No audio on omap (beagleXM) system" [Medium,Confirmed] https://launchpad.net/bugs/925094 Jun 20 16:15:08 if it was easy we would just have a UCM config already :) Jun 20 16:16:32 so, accordingly with what tim_ is seeing, i will have audio issues as well , (i need to record sound) Jun 20 16:16:57 likely, though for him the driver already works ... should just be a mixer issue now Jun 20 16:17:20 if alsamixer actually shows the device and its rulers you are about 90% done Jun 20 16:17:43 ogra , ok Jun 20 16:28:49 hmm, I have turned up every single bar in the mixer Jun 20 16:29:00 alsaplayer thinks its playing a wav Jun 20 16:29:05 but.. no audio Jun 20 17:17:04 tim_, did you also unmute everything ? Jun 20 17:18:35 iirc, the only way I got audio working on the beagle was to rebuild the kernel AND tweak the volume settings. Hopefully you will get it working without rebuilding, but... Jun 20 17:21:15 I think I unmuted everything- if OO means on and MM means mute Jun 20 17:21:47 Gruemaster, did you also see a device but it didnt work until you rebuilt the kernel? Jun 20 17:22:24 Yes. Jun 20 17:23:32 OK thats seems pretty clearcut.. Jun 20 17:25:18 It seems like the device doesn't power properly unless the driver initiallizes it during kernel init. I don't know enough about the inner workings of the SOC code, but I would guess that the kernel initalization routine powers on devices that need it during boot, but not after. Jun 20 17:26:00 On a PC, that's ok as there isn't as much device level power management, but on an SOC that is designed for low power cunsumption.... Jun 20 17:27:15 It's like the SOC needs hot plug support for on-die devices. Jun 20 17:28:14 Of course, my assumptions could be wrong (it has happened before, once or twice). Jun 20 17:29:07 GrueMaster, could the "disabling unused clocks" play into that at all? maybe the SoC is disabling the sound device clocks if it's not configured in kernel init Jun 20 17:37:12 That might do it. I'm not a hw designer though. Maybe prpplague would know? Jun 20 17:37:29 who summons the plague? Jun 20 17:38:28 prpplague: question on the beagleboard/XM/overo Audio. See scrollback. Jun 20 17:39:40 yea it is possible that a clock is disabled Jun 20 17:39:46 that is something that would take some debugging Jun 20 17:40:07 Is there a way to enable it from user land? Jun 20 17:40:08 one of the common issues the clock is disabled by mistake when another device enables their clocks Jun 20 17:40:36 yea you can use devmem2 to enable most clocks, but without knowing what is enable/disabled, you'd be throwing darts in the dark Jun 20 17:41:01 * GrueMaster has done that with...interesting results. Jun 20 17:41:18 GrueMaster: i'd bring this to the attention of mdp or tartarus over on #beagle, they'd be able to get to the bottom of it fairly quickly Jun 20 17:41:18 Using real darts, of course. Jun 20 17:42:31 tim_, bradfa, cvanvliet, there you go. I have done what I can to help from here. Jun 20 17:43:23 * cvanvliet passes GrueMaster a beer Jun 20 17:43:51 haha thanks a million.. Jun 20 19:01:31 lilstevie, no news on the tf101g front? Jun 21 01:25:20 /c/c **** ENDING LOGGING AT Thu Jun 21 02:59:58 2012