2009-01-26 22:09:42

by LINUX NEWBIE

[permalink] [raw]
Subject: cx88 audio input change

Hi Mauro,

You've been working on cx88 for a long time. Can I ask you
something? I have a cx88 based card and I tried to get audio coming
from "Line In" of my card. However, it seems like the audio always
comes from TV input. I looked into the code and it seems like
VIDIOC_S_AUDIO is not working in cx88. Can you help please?

Thanks.


2009-01-27 12:24:42

by Mauro Carvalho Chehab

[permalink] [raw]
Subject: Re: cx88 audio input change


On Mon, 26 Jan 2009 14:09:31 -0800
LINUX NEWBIE <[email protected]> wrote:

> Hi Mauro,
>
> You've been working on cx88 for a long time. Can I ask you
> something? I have a cx88 based card and I tried to get audio coming
> from "Line In" of my card. However, it seems like the audio always
> comes from TV input. I looked into the code and it seems like
> VIDIOC_S_AUDIO is not working in cx88. Can you help please?

The better is to ask such questions on [email protected]. Anyway, the
issue is likely due to a wrong entry at cx88-cards for your board. In order to
fix, someone with your board (probably you)should get the proper GPIO pins for
your device. Please read the following wiki articles:

http://linuxtv.org/wiki/index.php/Development:_How_to_add_support_for_a_device
http://linuxtv.org/wiki/index.php/GPIO_pins

Cheers,
Mauro

2009-01-27 22:37:37

by LINUX NEWBIE

[permalink] [raw]
Subject: Re: cx88 audio input change

In Linux cx88 driver, is it possible to stream audio only without
video Risc engine running? If so, what tools/players and commands can
I use to stream audio only from cx88 card?

I appreciate for all your help.
Hiep

On Tue, Jan 27, 2009 at 4:24 AM, Mauro Carvalho Chehab
<[email protected]> wrote:
>
> On Mon, 26 Jan 2009 14:09:31 -0800
> LINUX NEWBIE <[email protected]> wrote:
>
>> Hi Mauro,
>>
>> You've been working on cx88 for a long time. Can I ask you
>> something? I have a cx88 based card and I tried to get audio coming
>> from "Line In" of my card. However, it seems like the audio always
>> comes from TV input. I looked into the code and it seems like
>> VIDIOC_S_AUDIO is not working in cx88. Can you help please?
>
> The better is to ask such questions on [email protected]. Anyway, the
> issue is likely due to a wrong entry at cx88-cards for your board. In order to
> fix, someone with your board (probably you)should get the proper GPIO pins for
> your device. Please read the following wiki articles:
>
> http://linuxtv.org/wiki/index.php/Development:_How_to_add_support_for_a_device
> http://linuxtv.org/wiki/index.php/GPIO_pins
>
> Cheers,
> Mauro
>

2009-03-23 23:41:13

by Mauro Carvalho Chehab

[permalink] [raw]
Subject: Re: cx88 audio input change


On Tue, 27 Jan 2009 14:37:23 -0800
LINUX NEWBIE <[email protected]> wrote:

> In Linux cx88 driver, is it possible to stream audio only without
> video Risc engine running? If so, what tools/players and commands can
> I use to stream audio only from cx88 card?
>
Sorry for not answer before. I got flooded of emails.

AFAIK, the cx88 internal RISC processor is responsible for moving the sampling
data. I don't think you can have the device working without uploading the risc
firmware.

--

Cheers,
Mauro