Re: Google TV device w/ AV out

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 07/04/2013 09:00 PM, Patrick Shirkey wrote:
>> jeremy@rk3066:~$ cat /proc/asound/cards
>> >  0 [RK29RK1000     ]: RK29_RK1000 - RK29_RK1000
>> >                       RK29_RK1000
>> >  1 [HDMI           ]: ROCKCHIP_HDMI - ROCKCHIP HDMI
>> >                       ROCKCHIP HDMI
>> >  2 [Device         ]: USB-Audio - Generic USB Audio Device
>> >                       Generic USB Audio Device at usb-usb20_host-1.1,
>> > full speed
>> >
>> > 'Device' is a $2 USB audio interface with a C-Media chipset.
> Have you been using this for testing at low latency?
> 

Yes. It's actually the same as the device used here:
http://wiki.linuxaudio.org/wiki/jack_latency_tests

> 
>> > But I got
>> > one step further:
>> >
>> > jeremy@rk3066:~$ uname -a
>> > Linux rk3066 3.0.36-rt58 #1 SMP PREEMPT RT Thu Jul 4 13:18:23 CEST
>> > 2013 armv7l GNU/Linux
>> >
>> > So I've got a RT kernel running on it. Moving on :)
>> >
> Nicely done!
> 
> What was the blocker in the end?

drivers/mmc/host/rk29_sdmmc.c

I've attached a patch. It's probably a quick and dirty hack but it seems
to work ok, ran it for a couple of hours today without any issues.

Jeremy

--- rk3x_kernel_3.0.36/drivers/mmc/host/rk29_sdmmc.c	2013-06-14 16:19:04.455088040 +0200
+++ linux-rt/rk3x_kernel_3.0.36/drivers/mmc/host/rk29_sdmmc.c	2013-07-04 13:12:49.946467553 +0200
@@ -361,7 +361,11 @@
 	    }
 	    else
 	    {
+#ifdef CONFIG_PREEMPT_RT_FULL
+		disable_irq_nosync(host->irq);
+#else
 	        disable_irq(host->irq);
+#endif
 	    }
 	}
 	local_irq_restore(flags);
_______________________________________________
Linux-audio-user mailing list
Linux-audio-user@xxxxxxxxxxxxxxxxxxxx
http://lists.linuxaudio.org/listinfo/linux-audio-user

[Index of Archives]     [Linux Sound]     [ALSA Users]     [Pulse Audio]     [ALSA Devel]     [Sox Users]     [Linux Media]     [Kernel]     [Photo Sharing]     [Gimp]     [Yosemite News]     [Linux Media]

  Powered by Linux