sults of a read operation or setting a new write command.
Signed-off-by: Marcel Hasler
---
drivers/media/usb/stk1160/stk1160-ac97.c | 39 +---
drivers/media/usb/stk1160/stk1160-reg.h | 2 ++
drivers/media/usb/stk1160/stk1160.h | 2 ++
3 files changed, 35 inser
Sorry, somehow the email header got messed up. Ignore this one.
2016-12-15 23:13 GMT+01:00 Marcel Hasler :
> automatically.
> Reply-To:
> In-Reply-To: <20161215221146.GA9398@arch-desktop>
>
> Exposing all the channels of the device's internal AC97 codec to users
This also makes the device work out-of-the-box, without the need for
the user to
reconfigure the device every time it's plugged in.
Signed-off-by: Marcel Hasler
---
drivers/media/usb/stk1160/Kconfig| 10 +--
drivers/media/usb/stk1160/Makefile | 4 +-
drivers/media/usb/stk11
AC97
codec.
Signed-off-by: Marcel Hasler
---
drivers/media/usb/stk1160/stk1160-ac97.c | 26 ++
drivers/media/usb/stk1160/stk1160-core.c | 3 +--
drivers/media/usb/stk1160/stk1160-reg.h | 8
3 files changed, 35 insertions(+), 2 deletions(-)
diff --git a/drivers/media/u
p the codec using optimal values, i.e. the same values set by
the Windows
driver. This also makes the device work out-of-the-box, without the need for
the user to
reconfigure the device every time it's plugged in.
Signed-off-by: Marcel Hasler
---
drivers/media/usb/stk1160/Kconfig|
s from version 3:
* Removed module param
* Implemented polling read/write bits
Marcel Hasler (3):
stk1160: Remove stk1160-mixer and setup internal AC97 codec automatically.
stk1160: Check whether to use AC97 codec.
stk1160: Wait for completion of transfers to and from AC97 codec.
drivers/media/usb/
0x504
>> +#define STK1160_AC97CTL_0_CR BIT(1)
>> +#define STK1160_AC97CTL_0_CW BIT(2)
>>
>> /* Use [0:6] bits of register 0x504 to set codec command address */
>> #define STK1160_AC97_ADDR 0x504
>> diff --git a/drivers/
Hello
2016-12-06 13:56 GMT+01:00 Mauro Carvalho Chehab :
> Em Mon, 5 Dec 2016 22:06:59 +0100
> Marcel Hasler escreveu:
>
>> Hello
>>
>> 2016-12-05 16:38 GMT+01:00 Ezequiel Garcia :
>> > On 5 December 2016 at 09:12, Mauro Carvalho Chehab
>> > w
2016-12-05 22:06 GMT+01:00 Marcel Hasler :
> Hello
>
> 2016-12-05 16:38 GMT+01:00 Ezequiel Garcia :
>> On 5 December 2016 at 09:12, Mauro Carvalho Chehab
>> wrote:
>>> Em Sun, 4 Dec 2016 15:25:25 -0300
>>> Ezequiel Garcia escreveu:
>>>
>&g
Hello
2016-12-05 16:38 GMT+01:00 Ezequiel Garcia :
> On 5 December 2016 at 09:12, Mauro Carvalho Chehab
> wrote:
>> Em Sun, 4 Dec 2016 15:25:25 -0300
>> Ezequiel Garcia escreveu:
>>
>>> On 4 December 2016 at 10:01, Marcel Hasler wrote:
>>> >
Hello
2016-12-03 21:46 GMT+01:00 Ezequiel Garcia :
> On 2 December 2016 at 08:05, Mauro Carvalho Chehab
> wrote:
>> Em Sun, 27 Nov 2016 12:11:48 +0100
>> Marcel Hasler escreveu:
>>
>>> Allow setting a custom record gain for the internal AC97 codec (if
>&g
command bit has been cleared, but this may not be worth the hassle.
Signed-off-by: Marcel Hasler
---
drivers/media/usb/stk1160/stk1160-ac97.c | 9 +
1 file changed, 9 insertions(+)
diff --git a/drivers/media/usb/stk1160/stk1160-ac97.c
b/drivers/media/usb/stk1160/stk1160-ac97.c
index 6
Allow setting a custom record gain for the internal AC97 codec (if available).
This can be
a value between 0 and 15, 8 is the default and should be suitable for most
users. The Windows
driver also sets this to 8 without any possibility for changing it.
Signed-off-by: Marcel Hasler
---
drivers
AC97 codec.
Signed-off-by: Marcel Hasler
---
drivers/media/usb/stk1160/stk1160-ac97.c | 26 ++
drivers/media/usb/stk1160/stk1160-core.c | 3 +--
drivers/media/usb/stk1160/stk1160-reg.h | 8
3 files changed, 35 insertions(+), 2 deletions(-)
diff --git a/drivers/media/u
This also makes the device work out-of-the-box, without the need for
the user to
reconfigure the device every time it's plugged in.
Signed-off-by: Marcel Hasler
---
drivers/media/usb/stk1160/Kconfig| 10 +--
drivers/media/usb/stk1160/Makefile | 4 +-
drivers/media/usb/stk11
ed copyright notice
* Added defines for POSVA bytes and bits
* Added check for ACDOUT bit to determine whether audio is disabled completely
* Removed info output for gain setting
* Added fourth patch which had been submitted independently before
* Expanded comment on AC97 read delay
Marcel Hasler (
2016-11-20 18:37 GMT+01:00 Ezequiel Garcia :
> On 28 October 2016 at 05:52, Marcel Hasler wrote:
>> The STK1160 needs some time to transfer data from the AC97 registers into
>> its own. On some
>> systems reading the chip's own registers to soon will return wrong value
2016-11-20 18:37 GMT+01:00 Ezequiel Garcia :
> On 28 October 2016 at 05:52, Marcel Hasler wrote:
>> The STK1160 needs some time to transfer data from the AC97 registers into
>> its own. On some
>> systems reading the chip's own registers to soon will return wrong value
2016-11-20 18:36 GMT+01:00 Ezequiel Garcia :
> On 27 October 2016 at 17:35, Marcel Hasler wrote:
>> Allow setting a custom record gain for the internal AC97 codec (if
>> available). This can be
>> a value between 0 and 15, 8 is the default and should be suitable for most
2016-11-20 18:36 GMT+01:00 Ezequiel Garcia :
> On 27 October 2016 at 17:34, Marcel Hasler wrote:
>> Some STK1160-based devices use the chip's internal 8-bit ADC. This is
>> configured through a strap
>> pin. The value of this and other pins can be read through the
Hello, and thanks for your feedback.
2016-11-20 18:36 GMT+01:00 Ezequiel Garcia :
> Marcel,
>
> On 27 October 2016 at 17:34, Marcel Hasler wrote:
>> Exposing all the channels of the device's internal AC97 codec to userspace
>> is unnecessary and
>> confusing. Ins
) and most likely use the same host
controller. My desktop motherboard on the other hand is a bit older.
So I wonder, have you experienced this problem on your own systems?
Best regards
Marcel
2016-10-28 10:52 GMT+02:00 Marcel Hasler :
> The STK1160 needs some time to transfer data from
command bit has been cleared, but this may not be worth the hassle.
Signed-off-by: Marcel Hasler
---
drivers/media/usb/stk1160/stk1160-ac97.c | 4
1 file changed, 4 insertions(+)
diff --git a/drivers/media/usb/stk1160/stk1160-ac97.c
b/drivers/media/usb/stk1160/stk1160-ac97.c
index 31bdd60d.
Allow setting a custom record gain for the internal AC97 codec (if available).
This can be
a value between 0 and 15, 8 is the default and should be suitable for most
users. The Windows
driver also sets this to 8 without any possibility for changing it.
Signed-off-by: Marcel Hasler
---
drivers
Some STK1160-based devices use the chip's internal 8-bit ADC. This is
configured through a strap
pin. The value of this and other pins can be read through the POSVA register.
If the internal
ADC is used, there's no point trying to setup the unavailable AC97 codec.
Signed-off-by: Mar
This also makes the device work out-of-the-box, without the need for
the user to
reconfigure the device every time it's plugged in.
Signed-off-by: Marcel Hasler
---
drivers/media/usb/stk1160/Kconfig| 10 +--
drivers/media/usb/stk1160/Makefile | 4 +-
drivers/media/usb/stk11
y since the AC97 chip is no longer exposed to userspace. The Windows
driver doesn't allow this value to be changed but instead always sets it to 8
(of 15). While this should be fine for most users, some may prefer something
higher.
Marcel Hasler (3):
stk1160: Remove stk1160-mixer and
The VIDEO_STK1160_AC97 option is no longer needed after the removal of
stk1160-mixer. For the
same reason SND and SND_AC97_CODEC are no longer required.
Signed-off-by: Marcel Hasler
---
drivers/media/usb/stk1160/Kconfig | 3 +--
drivers/media/usb/stk1160/Makefile | 4 +---
2 files changed, 2
work
out-of-the-box, without the need for the user to reconfigure the device every
time it's plugged
in.
Signed-off-by: Marcel Hasler
---
drivers/media/usb/stk1160/Kconfig| 7 --
drivers/media/usb/stk1160/stk1160-ac97.c | 121 +++
drivers/media/usb/stk11
ything else you want to mention.
>
> (And don't forget to Cc the media mailing list)
>
> Thanks again!
> Ezequiel
>
> On 27 October 2016 at 06:10, Marcel Hasler wrote:
> > The VIDEO_STK1160_AC97 option is no longer needed after the removal of
> > stk1160-mixer
Some STK1160-based devices use the chip's internal 8-bit ADC. This is
configured through a strap
pin. The value of this and other pins can be read through the POSVA register.
If the internal
ADC is used, there's no point trying to setup the unavailable AC97 codec.
Signed-off-by: Mar
31 matches
Mail list logo