Re: em28xx: no sound on board 1b80:e309 (sveon stv40)

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

 



Hello Devin, you're right: here it goes!

Best,

Mario

On 6 January 2012 19:33, Devin Heitmueller <dheitmueller@xxxxxxxxxxxxxx> wrote:
> On Fri, Jan 6, 2012 at 1:29 PM, Mario Ceresa <mrceresa@xxxxxxxxx> wrote:
>> Ok boys: just to let you know that everything works now.
>>
>> thinking that the problem was with the audio input, I noticed that
>> card=64 had an amux while card=19 no.
>>
>> .amux     = EM28XX_AMUX_LINE_IN,
>>
>> So I tried this card and modified the mplayer options accordingly:
>>
>> mplayer -tv device=/dev/video0:input=0:norm=PAL:forceaudio:alsa:immediatemode=0:audiorate=48000:amode=1:adevice=hw.2
>> tv://
>>
>> notice the forceaudio parameter that reads the audio even if no source
>> is reported from v4l (The same approach with card=19 does not work)
>>
>> The output was a bit slugglish so I switched off pulse audio control
>> of the board (https://bbs.archlinux.org/viewtopic.php?id=114228) and
>> now everything is ok!
>>
>> I hope this will help some lonenly googlers in the future :)
>>
>> Regards,
>>
>> Mario
>
> Hi Mario,
>
> Since you've spent the time to figure out the details of your
> particular hardware, you should really consider submitting a patch to
> the em28xx driver which adds your device's USB ID.  That would allow
> others who have that hardware to have it work "out of the box" with no
> need for figuring out the correct "cardid" value through
> experimentation as you had to.
>
> Cheers,
>
> Devin
>
> --
> Devin J. Heitmueller - Kernel Labs
> http://www.kernellabs.com
From dd334663b202eb0569b506273c75f3a0ede6b803 Mon Sep 17 00:00:00 2001
From: Mario Ceresa <mrceresa@xxxxxxxxx>
Date: Fri, 6 Jan 2012 20:00:12 +0100
Subject: [PATCH] Added model Sveon STV40

---
 linux/drivers/media/video/em28xx/em28xx-cards.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/linux/drivers/media/video/em28xx/em28xx-cards.c b/linux/drivers/media/video/em28xx/em28xx-cards.c
index 6cab22d..d79c5d1 100644
--- a/linux/drivers/media/video/em28xx/em28xx-cards.c
+++ b/linux/drivers/media/video/em28xx/em28xx-cards.c
@@ -2033,6 +2033,8 @@ struct usb_device_id em28xx_id_table[] = {
 			.driver_info = EM28174_BOARD_PCTV_460E },
 	{ USB_DEVICE(0x2040, 0x1605),
 			.driver_info = EM2884_BOARD_HAUPPAUGE_WINTV_HVR_930C },
+	{ USB_DEVICE(0x1b80, 0xe309), /* Sveon STV40 */
+			.driver_info = EM2860_BOARD_EASYCAP }, 
 	{ },
 };
 MODULE_DEVICE_TABLE(usb, em28xx_id_table);
-- 
1.7.7.5


[Index of Archives]     [Linux Input]     [Video for Linux]     [Gstreamer Embedded]     [Mplayer Users]     [Linux USB Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]
  Powered by Linux