2006-10-26 16:37:13

by saravanan_sprt

[permalink] [raw]
Subject: UCB1400 driver problem in pxa270

Hi all,

I am a newbie in using UCB1400 chip. Iam using Toradex Colibri module PXA270 as my target system with UCB1400 chip integrated.
I have a problem in enabling the audio system using UCB1400. Can anyone point me, how could I enable and use the UCB1400 driver on linux 2.6.12 platform. I have applied Nicolas Pitre patches and configured kernel CONFIG_INPUT, CONFIG_SND, CONFIG_SOUND,CONFIG_SND_PXA2xx_AC97, CONFIG_SND_PXA2xx_PCM to =y. The kernel builds well, but on boot the UCB1400 driver didn't gets registered and there are no more interrupts enabled in /proc/interrupts with following boot message,
.....
.....
ts: UCB1x00 touchscreen protocol output
Advanced Linux Sound Architecture Driver Version 1.0.9rc2 ( The MAr 24 10:34:34 2005 UTC)
ALSA device list:
No soundcards found.
....
....

The problem seems to be due to driver_register(pxa2xx-ac97) and bus match.

Any help will be appreciated .

Thanks
Sara


--
This message was sent on behalf of [email protected] at openSubscriber.com
http://www.opensubscriber.com/message/[email protected]/4398951.html


2006-10-26 17:14:55

by Nicolas Pitre

[permalink] [raw]
Subject: Re: UCB1400 driver problem in pxa270

On Fri, 27 Oct 2006, [email protected] wrote:

> Hi all,
>
> I am a newbie in using UCB1400 chip. Iam using Toradex Colibri module PXA270 as my target system with UCB1400 chip integrated.
> I have a problem in enabling the audio system using UCB1400. Can anyone point me, how could I enable and use the UCB1400 driver on linux 2.6.12 platform. I have applied Nicolas Pitre patches and configured kernel CONFIG_INPUT, CONFIG_SND, CONFIG_SOUND,CONFIG_SND_PXA2xx_AC97, CONFIG_SND_PXA2xx_PCM to =y. The kernel builds well, but on boot the UCB1400 driver didn't gets registered and there are no more interrupts enabled in /proc/interrupts with following boot message,
> .....
> .....
> ts: UCB1x00 touchscreen protocol output
> Advanced Linux Sound Architecture Driver Version 1.0.9rc2 ( The MAr 24 10:34:34 2005 UTC)
> ALSA device list:
> No soundcards found.
> ....
> ....
>
> The problem seems to be due to driver_register(pxa2xx-ac97) and bus match.
>
> Any help will be appreciated .

Look in arch/arm/mach-pxa/mainstone.c for mst_audio_device. This is an
example of the platform_device structure the pxa2xx-ac97 driver is
looking for.


Nicolas