[Gta04-owner] Kernel 3.7 extensions

Dr. H. Nikolaus Schaller hns at goldelico.com
Thu Jan 31 13:28:17 CET 2013


Am 31.01.2013 um 12:22 schrieb Benjamin Deering:

> On 01/31/2013 05:55 AM, Dr. H. Nikolaus Schaller wrote:
>> Am 31.01.2013 um 09:32 schrieb Dr. H. Nikolaus Schaller:
>> 
>>> Am 31.01.2013 um 01:40 schrieb Benjamin Deering:
>>> 
>>>> On 01/28/2013 04:29 AM, Dr. H. Nikolaus Schaller wrote:
>>>>> Hi Neil,
>>>>> I am working to add many nice features the hw-validation kernel already
>>>>> has (like tv-out, missing sensors, camera, pvr, display panel support for 3704,
>>>>> 7004 device variants and some minor things required mostly for hardware
>>>>> tests) to the 3.7 kernel.
>>>>> 
>>>>> One piece of code isn't clear to me:
>>>>> 
>>>>> #ifdef CONFIG_TOUCHSCREEN_TSC2007
>>>>> 	tsc2007_boardinfo.irq = gpio_to_irq(TS_PENIRQ_GPIO);
>>>>> 	i2c_register_board_info(2,&tsc2007_boardinfo, 1);
>>>>> #endif
>>>>> #ifdef CONFIG_BMP085
>>>>> 	i2c_register_board_info(2,&bmp085_boardinfo, 1);
>>>>> #endif
>>>>> 	omap_register_i2c_bus(2, 400,  gta04_i2c2_boardinfo,
>>>>> 				ARRAY_SIZE(gta04_i2c2_boardinfo));
>>>>> 
>>>>> Was there a specific reason to register those two devices
>>>>> separately and not simply have them listed in gta04_i2c2_boardinfo[]?
>>>>> 
>>>>> Nikolaus
>>>>> 
>>>>> _______________________________________________
>>>>> Gta04-owner mailing list
>>>>> Gta04-owner at goldelico.com
>>>>> http://lists.goldelico.com/mailman/listinfo/gta04-owner
>>>>> 
>>>> Thanks for working on this!
>>>> 
>>>> I have it booting now on my SHR install.  This change was required to get audio (including HW audio routing for A4) working.  I will try to play with the camera if I get a chance.
>>>> 
>>>> Ben
>>>> <3.7-hwroute.patch>
>>> Thanks! It compiles fine.
>> Well, that was too early. It compiles and boots. But as soon as the kernel initializes the TWL I get white noise mixed into the sound of the left handsfree speaker.
>> Playing a little with different ALSA settings didn't help.
> Hmm,  I didn't really understand what I was changing.  I applied the hw-routing changes Andreas Kemnade made on 3.4.x, then tried to manually apply the changes that didn't apply automatically.   Maybe someone who understands audio better will have to do it.

Ah, I see.

More observations:

I can't change this setting any more:

gta04:~# amixer set 'Codec Operation Mode' 'Option 1 (audio)'
amixer: Invalid command!
gta04:~#

And amixer -q set "Analog Left Main Mic" nocap makes the "noise" disappear (with a tiny delay).

So this indeed needs specialist work.

I.e. I will leave out this patch from the new hw-validation until we have clarified (I might find some time myself after FOSDEM - but I am not at all claiming to be an ALSA specialist).

BR,
Nikolaus



More information about the Gta04-owner mailing list