public inbox for linux-omap@vger.kernel.org
 help / color / mirror / Atom feed
* ALSA support for H2 board
@ 2007-11-29 17:05 comunerito
  2007-11-29 18:12 ` David Brownell
  0 siblings, 1 reply; 6+ messages in thread
From: comunerito @ 2007-11-29 17:05 UTC (permalink / raw)
  To: linux-omap-open-source

Hello,

I tried adding ALSA support for the H2 board using a
recent kernel (2.6.24.3, from the montavista git tree)
and got the following errors:

$ make omap_h2_1610_defconfig (ran ok)
$ make menuconfig (ran ok)
$ make modules
 ...
  CC [M]  sound/sound_core.o
  LD [M]  sound/soundcore.o
  CC [M]  sound/arm/omap/omap-alsa.o
  CC [M]  sound/arm/omap/omap-alsa-dma.o
  CC [M]  sound/arm/omap/omap-alsa-tsc2101.o
sound/arm/omap/omap-alsa-tsc2101.c: In function
`tsc2101_audio_write':
sound/arm/omap/omap-alsa-tsc2101.c:146: error:
implicit declaration of function `omap_tsc2101_write'
sound/arm/omap/omap-alsa-tsc2101.c: In function
tsc2101_audio_read':
sound/arm/omap/omap-alsa-tsc2101.c:154: error:
implicit declaration of function `omap_tsc2101_read'
make[3]: *** [sound/arm/omap/omap-alsa-tsc2101.o]
Error 1
make[2]: *** [sound/arm/omap] Error 2
make[1]: *** [sound/arm] Error 2
make: *** [sound] Error 2

I found an earlier post describing a similar error
here:
http://linux.omap.com/pipermail/linux-omap-open-source/2007-October/011765.html
and was wondering if anyone has any suggestions on how
to get this to work or if I should go back to an
earlier version of the kernel that does work.

Thanks and regards,
Carlos

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: ALSA support for H2 board
  2007-11-29 17:05 ALSA support for H2 board comunerito
@ 2007-11-29 18:12 ` David Brownell
  2007-11-30 13:26   ` Carlos Davila
  0 siblings, 1 reply; 6+ messages in thread
From: David Brownell @ 2007-11-29 18:12 UTC (permalink / raw)
  To: linux-omap-open-source

On Thursday 29 November 2007, comunerito wrote:
>   CC [M]  sound/arm/omap/omap-alsa-tsc2101.o

Better IMO to get the tsc210x core working on tsc2101 chips...

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: ALSA support for H2 board
  2007-11-29 18:12 ` David Brownell
@ 2007-11-30 13:26   ` Carlos Davila
  2007-11-30 17:09     ` David Brownell
  0 siblings, 1 reply; 6+ messages in thread
From: Carlos Davila @ 2007-11-30 13:26 UTC (permalink / raw)
  To: David Brownell, linux-omap-open-source

OK understood, I'll use OSS then. 
   
  Thanks,
  cd

David Brownell <david-b@pacbell.net> wrote:
  On Thursday 29 November 2007, comunerito wrote:
>   CC [M]  sound/arm/omap/omap-alsa-tsc2101.o

Better IMO to get the tsc210x core working on tsc2101 chips...

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: ALSA support for H2 board
  2007-11-30 13:26   ` Carlos Davila
@ 2007-11-30 17:09     ` David Brownell
  2007-11-30 17:18       ` Carlos Davila
  0 siblings, 1 reply; 6+ messages in thread
From: David Brownell @ 2007-11-30 17:09 UTC (permalink / raw)
  To: Carlos Davila; +Cc: linux-omap-open-source

On Friday 30 November 2007, Carlos Davila wrote:
> OK understood, I'll use OSS then. 

You seem to have leaped from "use a more modern SPI framework"
to "use old sound framework" ... how does that happen??


> David Brownell <david-b@pacbell.net> wrote:
>   On Thursday 29 November 2007, comunerito wrote:
> >   CC [M]  sound/arm/omap/omap-alsa-tsc2101.o
> 
> Better IMO to get the tsc210x core working on tsc2101 chips...
> 
> 
> 

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: ALSA support for H2 board
  2007-11-30 17:09     ` David Brownell
@ 2007-11-30 17:18       ` Carlos Davila
  2007-11-30 18:43         ` David Brownell
  0 siblings, 1 reply; 6+ messages in thread
From: Carlos Davila @ 2007-11-30 17:18 UTC (permalink / raw)
  To: linux-omap-open-source

David,
   
  I understood from your previous message: "Better IMO to get the tsc210x core working on tsc2101 chips" that there are bugs in the tsc2101 drivers used by ALSA...which leaves me no choice but to use OSS, since I know nothing about debugging/writing device drivers.
   
  Am I completely off the mark? Would appreciate any suggestions you may have.
   
  Best,
  Carlos

David Brownell <david-b@pacbell.net> wrote:
  On Friday 30 November 2007, Carlos Davila wrote:
> OK understood, I'll use OSS then. 

You seem to have leaped from "use a more modern SPI framework"
to "use old sound framework" ... how does that happen??


> David Brownell wrote:
> On Thursday 29 November 2007, comunerito wrote:
> > CC [M] sound/arm/omap/omap-alsa-tsc2101.o
> 
> Better IMO to get the tsc210x core working on tsc2101 chips...
> 
> 
> 

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: ALSA support for H2 board
  2007-11-30 17:18       ` Carlos Davila
@ 2007-11-30 18:43         ` David Brownell
  0 siblings, 0 replies; 6+ messages in thread
From: David Brownell @ 2007-11-30 18:43 UTC (permalink / raw)
  To: linux-omap-open-source

On Friday 30 November 2007, Carlos Davila wrote:
> David,
>    
>   I understood from your previous message: "Better IMO to get
>   the tsc210x core working on tsc2101 chips" that there are
>   bugs in the tsc2101 drivers used by ALSA...which leaves me

No, it's just that the driver you referenced is using old
driver infrastructure.  That's not "bugs", it's just "this
code needs updating".

- Dave

>   no choice but to use OSS, since I know nothing about
>   debugging/writing device drivers.    
>    
>   Am I completely off the mark? Would appreciate any suggestions you may have.
>    
>   Best,
>   Carlos
> 
> David Brownell <david-b@pacbell.net> wrote:
>   On Friday 30 November 2007, Carlos Davila wrote:
> > OK understood, I'll use OSS then. 
> 
> You seem to have leaped from "use a more modern SPI framework"
> to "use old sound framework" ... how does that happen??
> 
> 
> > David Brownell wrote:
> > On Thursday 29 November 2007, comunerito wrote:
> > > CC [M] sound/arm/omap/omap-alsa-tsc2101.o
> > 
> > Better IMO to get the tsc210x core working on tsc2101 chips...
> > 
> > 
> > 
> 
> 

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2007-11-30 18:43 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-11-29 17:05 ALSA support for H2 board comunerito
2007-11-29 18:12 ` David Brownell
2007-11-30 13:26   ` Carlos Davila
2007-11-30 17:09     ` David Brownell
2007-11-30 17:18       ` Carlos Davila
2007-11-30 18:43         ` David Brownell

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox