On Wed, 2006-07-12 at 00:47 +0200, rpurdie commit wrote: > linux-oz-2.6.17 + 2.6.17+git: Add poodle audio patch. Gives working > playback via headphones and working mic support. The speaker will > probably also work when we fix the corgi speaker bug.
I just want to add how pleased I am with ASoC. I'll describe the development this support took as I can't quite believe it: Last night, I made a copy of the corgi.c machine driver in ASoC and called it poodle.c. They're similar but different enough to need its own file. I went through editing the differences between corgi and poodle. The main problem was that it uses locomo, not scoop and calling locomo gpios proved difficult with the existing infrastructure. Figuring out how to call the locomo gpio code was the most time consuming part. I built it and tried to run it on the device but the kernel keymap changes conflicted with the elderly gpe image on the device and broke the keyboard, my serial lead didn't work and basically, I couldn't test anything. Today I built a bootstrap image and tonight, I loaded the kernel, ASoC modules and some audio test files. I tried to modprobe and found I'd not exported the locomo gpio symbols. I reflashed, modprobed and tried to play something - no errors but no sound so I loaded the mixer. I unmuted a few things and sidetone from the inbuilt poodle mic appeared on the headphones. I tried to play an audio file and and it all just worked! I still can't quite believe it. The only thing that doesn't work is the internal speaker control and this is a problem shared by corgi so I'm not too worried about it. As far as kernel development goes, that has to be the easiest driver I've ever written and I never thought I'd say that about a sound driver! Liam: Thanks for ASoC :) Cheers, Richard _______________________________________________ Oe mailing list [email protected] https://www.handhelds.org/mailman/listinfo/oe
