Web lists-archives.org

Re: em28xx/xc3028: changeset 7651 breaks analog audio?




--- Mauro Carvalho Chehab <mchehab@xxxxxxxxxxxxx> wrote:
> I think I got the issue. Not sure yet about the proper solution.
> 
> What happens is that there are two firmwares for PAL/I: One is mono
> (IF=6.0)
> and another for stereo (IF=6.24).
> 
> The current code handles it properly, while the previous one were
> probably
> using mono.
> 
> For stereo to work, you need to load the non-mts firmware.
> 
> Please, try again, with with the enclosed patch. Let's see if stereo
> will work
> on your board.
> 
> This should load the IF=6.24 firmware, non-MTS mode.
> 
> Cheers,
> Mauro
> 
> diff -r 8e992045c18e linux/drivers/media/video/em28xx/em28xx-cards.c
> --- a/linux/drivers/media/video/em28xx/em28xx-cards.c	Wed Apr 23
> 12:28:01 2008 -0300
> +++ b/linux/drivers/media/video/em28xx/em28xx-cards.c	Wed Apr 23
> 13:18:38 2008 -0300
> @@ -157,7 +157,7 @@
>  		.vchannels    = 3,
>  		.tda9887_conf = TDA9887_PRESENT,
>  		.tuner_type   = TUNER_XC2028,
> -		.mts_firmware = 1,
> +		.mts_firmware = 0,
>  		.decoder      = EM28XX_TVP5150,
>  		.input          = { {
>  			.type     = EM28XX_VMUX_TELEVISION,
> 
This did not work, all I could hear was silence, with clicking at 1
second intervals. The clicking stopped after opening and closing
mplayer a few times, but that's another issue.

I've got a pdf and a small text file of product info (which I can't
find any URLs for), which both say mono audio for analogue, also in
Windows, Mono audio is the only available option, so I think stereo is
not supported.

Dmesg output attached, it's not loading mts firmware this time.

--

Edward Sheldrake


      ___________________________________________________________ 
Yahoo! For Good. Give and get cool things for free, reduce waste and help our planet. Plus find hidden Yahoo! treasure 

http://green.yahoo.com/uk/earth-day/
usb 1-4.1: new high speed USB device using ehci_hcd and address 4
usb 1-4.1: configuration #1 chosen from 1 choice
Linux video capture interface: v2.00
em28xx v4l2 driver version 0.1.0 loaded
em28xx new video device (2040:6502): interface 0, class 255
em28xx Doesn't have usb audio class
em28xx #0: Alternate settings: 8
em28xx #0: Alternate setting 0, max size= 0
em28xx #0: Alternate setting 1, max size= 0
em28xx #0: Alternate setting 2, max size= 1448
em28xx #0: Alternate setting 3, max size= 2048
em28xx #0: Alternate setting 4, max size= 2304
em28xx #0: Alternate setting 5, max size= 2580
em28xx #0: Alternate setting 6, max size= 2892
em28xx #0: Alternate setting 7, max size= 3072
em28xx #0: chip ID is em2882/em2883
em28xx #0: i2c eeprom 00: 1a eb 67 95 40 20 02 65 d0 12 5c 03 82 1e 6a 18
em28xx #0: i2c eeprom 10: 00 00 24 57 66 07 01 00 00 00 00 00 00 00 00 00
em28xx #0: i2c eeprom 20: 46 00 01 00 f0 10 02 00 b8 00 00 00 5b e0 00 00
em28xx #0: i2c eeprom 30: 00 00 20 40 20 6e 02 20 10 01 01 01 00 00 00 00
em28xx #0: i2c eeprom 40: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
em28xx #0: i2c eeprom 50: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
em28xx #0: i2c eeprom 60: 00 00 00 00 00 00 00 00 00 00 18 03 34 00 30 00
em28xx #0: i2c eeprom 70: 32 00 38 00 37 00 33 00 35 00 39 00 39 00 37 00
em28xx #0: i2c eeprom 80: 00 00 1e 03 57 00 69 00 6e 00 54 00 56 00 20 00
em28xx #0: i2c eeprom 90: 48 00 56 00 52 00 2d 00 39 00 30 00 30 00 00 00
em28xx #0: i2c eeprom a0: 84 12 00 00 05 50 1a 7f d4 78 23 fa fd d0 38 89
em28xx #0: i2c eeprom b0: ff 00 00 00 04 84 0a 00 01 01 20 77 00 40 fd a1
em28xx #0: i2c eeprom c0: 21 f0 74 02 01 00 01 79 7b 00 00 00 00 00 00 00
em28xx #0: i2c eeprom d0: 84 12 00 00 05 50 1a 7f d4 78 23 fa fd d0 38 89
em28xx #0: i2c eeprom e0: ff 00 00 00 04 84 0a 00 01 01 20 77 00 40 fd a1
em28xx #0: i2c eeprom f0: 21 f0 74 02 01 00 01 79 7b 00 00 00 00 00 00 00
EEPROM ID= 0x9567eb1a, hash = 0x8f1f33dd
Vendor/Product ID= 2040:6502
AC97 audio (5 sample rates)
500mA max power
Table at 0x24, strings=0x1e82, 0x186a, 0x0000
tveeprom 1-0050: Hauppauge model 65018, rev B3C0, serial# 2204157
tveeprom 1-0050: tuner model is Xceive XC3028 (idx 120, type 71)
tveeprom 1-0050: TV standards PAL(B/G) PAL(I) PAL(D/D1/K) ATSC/DVB Digital (eeprom 0xd4)
tveeprom 1-0050: audio processor is None (idx 0)
tveeprom 1-0050: has radio
tuner' 1-0061: chip found @ 0xc2 (em28xx #0)
xc2028 1-0061: type set to XCeive xc2028/xc3028 tuner
xc2028 1-0061: xc2028/3028 firmware name not set!
xc2028 1-0061: Loading 80 firmware images from xc3028-v27.fw, type: xc2028 firmware, ver 2.7
xc2028 1-0061: Loading firmware for type=BASE (1), id 0000000000000000.
xc2028 1-0061: Loading firmware for type=(0), id 000000000000b700.
xc2028 1-0061: Loading SCODE for type=MTS LCD NOGD MONO IF SCODE HAS_IF_4500 (6002b004), id 000000000000b700.
tvp5150 1-005c: tvp5150am1 detected.
em28xx #0: V4L2 device registered as /dev/video0 and /dev/vbi0
em28xx #0: Found Hauppauge WinTV HVR 900
usbcore: registered new interface driver em28xx
em28xx-audio.c: probing for em28x1 non standard usbaudio
em28xx-audio.c: Copyright (C) 2006 Markus Rechberger
Em28xx: Initialized (Em28xx Audio Extension) extension
tvp5150 1-005c: tvp5150am1 detected.
xc2028 1-0061: Loading firmware for type=BASE F8MHZ (3), id 0000000000000000.
xc2028 1-0061: Loading firmware for type=(0), id 0000000000000010.
xc2028 1-0061: Loading SCODE for type=SCODE HAS_IF_6240 (60000000), id 0000000000000010.
em28xx #0: resubmit of audio urb failed (error=-2)
em28xx #0: resubmit of audio urb failed (error=-2)
em28xx #0: resubmit of audio urb failed (error=-2)
em28xx #0: resubmit of audio urb failed (error=-2)
em28xx #0: resubmit of audio urb failed (error=-2)
An underrun very likely occurred. Ignoring it.

--
video4linux-list mailing list
Unsubscribe mailto:video4linux-list-request@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/video4linux-list