Skip to contentSkip to conversation

em28xx/xc3028: changeset 7651 breaks analog audio?

DISCUSSION Edward J. Sheldrake 2 participants 10 messages Apr 22, 2008 – Apr 25, 2008 1 message not in the archive Media (V4L/DVB)

lore
Share & tools
lore
#0 lore raw

Hello

I have a Hauppauge HVR-900 rev B3C0, and until very recently it was working fine with the em28xx driver in the main v4l-dvb repository. I live in England, so have set the option pal=i for the tuner module. It was working fine with with the repository from 20080420. I'm watching analog TV.

However, with the repository from 20080422, I just get static from the audio output. None of the audio_std options for the tuner_xc2028 module made any difference. The only changeset I could see for the modules I use is 7651, about the firmware for the xc3028 tuner.

Here's relevant dmesg output for the older working driver:
http://pastebin.com/f399535d5

And here's the same with the non-working driver:
http://pastebin.com/fdd8e82e

I extracted the firmware again with the 20080422 repo, but the new firmware file worked fine with the older driver.

Let me know how I can help fix this, or is there some module option that I've missed?

--

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/

--
video4linux-list mailing list
Unsubscribe mailto:[email protected]?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/video4linux-list

#1 lore raw

Hi Edward,

Quoted 8 lines · On Tue, 22 Apr 2008 16:38:32 +0100 (BST) "Edward J. Sheldrake"…

Hello

I have a Hauppauge HVR-900 rev B3C0, and until very recently it was working fine with the em28xx driver in the main v4l-dvb repository. I live in England, so have set the option pal=i for the tuner module. It was working fine with with the repository from 20080420. I'm watching analog TV.

Quoted 4 lines

However, with the repository from 20080422, I just get static from the audio output. None of the audio_std options for the tuner_xc2028 module made any difference. The only changeset I could see for the modules I use is 7651, about the firmware for the xc3028 tuner.

Thanks for your report.

There were lots of changes on em28xx driver those days, although I agree that the only one that would affect just audio is the one you've pointed. If you just revert this changeset, does the audio work again?

Quoted 6 lines

Here's relevant dmesg output for the older working driver:
http://pastebin.com/f399535d5

And here's the same with the non-working driver:
http://pastebin.com/fdd8e82e

This is probably wrong:

xc2028 1-0061: Loading SCODE for type=SCODE HAS_IF_6240 (60000000), id 0000000000000010.

The proper SCODE firmware for your device seems to be this one:

Firmware 69, type: SCODE FW MONO HAS IF (0x60008000), IF = 6.00 MHz id: PAL/DK PAL/I SECAM/K3 SECAM/L SECAM/Lc NICAM (0000000c04c000f0), size: 192

or, since your board is using a MTS firmware, maybe we shouldn't load any SCODE table.

I'll run some tests here. Please confirm that just reverting that changeset will work fine again.

To revert, all you need is to do:

	hg log -r 7651 -v -p >7651.patch
	patch -p1 -R -i 7651.patch

and compile the tree again.

If this won't work, you may also do:

	hg update -r 7650

Cheers,
Mauro

--
video4linux-list mailing list
Unsubscribe mailto:[email protected]?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/video4linux-list

#2 lore raw
Quoted 10 lines · --- Mauro Carvalho Chehab

Hi Edward,

Thanks for your report.

There were lots of changes on em28xx driver those days, although I agree that
the only one that would affect just audio is the one you've pointed. If you
just revert this changeset, does the audio work again?

Hi Mauro

I updated to changeset 7673 and reversed 7651, and got a fully working driver. These are the firmware loading messages from the working driver:

(insert stick)
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 MTS (5), id 0000000000000000.
xc2028 1-0061: Loading firmware for type=MTS (4), id 000000000000b700.

(start mplayer - missing from first pastebin)
xc2028 1-0061: Loading firmware for type=BASE F8MHZ MTS (7), id 0000000000000000.
xc2028 1-0061: Loading firmware for type=MTS (4), id 0000000000000010.

--

Edward Sheldrake

      __________________________________________________________

Sent from Yahoo! Mail.
A Smarter Email http://uk.docs.yahoo.com/nowyoucan.html

--
video4linux-list mailing list
Unsubscribe mailto:[email protected]?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/video4linux-list

#3 lore raw

Edward,

Quoted 11 lines

I updated to changeset 7673 and reversed 7651, and got a fully working driver. These are the firmware loading messages from the working driver:

(insert stick)
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 MTS (5), id 0000000000000000.
xc2028 1-0061: Loading firmware for type=MTS (4), id 000000000000b700.

Quoted 4 lines

(start mplayer - missing from first pastebin)
xc2028 1-0061: Loading firmware for type=BASE F8MHZ MTS (7), id 0000000000000000.
xc2028 1-0061: Loading firmware for type=MTS (4), id 0000000000000010.

I'm enclosing two hacks. please, re-apply 7651, and try first hack1.patch. Then, revert it and apply hack2.patch.

Please tell me if both hacks work or not, and send me the dmesgs for each case (after loading mplayer).

Cheers,
Mauro

linux/drivers/media/video/tuner-xc2028.c +2 -0
diff -r dd15a1f1040e linux/drivers/media/video/tuner-xc2028.c
@@ -616,6 +616,8 @@
 	unsigned char	   *p;
 
 	tuner_dbg("%s called\n", __func__);
+
+	int_freq = 6000;
 
 	if (!int_freq) {
 		pos = seek_firmware(fe, type, id);
linux/drivers/media/video/tuner-xc2028-types.h +1 -1
diff -r dd15a1f1040e linux/drivers/media/video/tuner-xc2028-types.h
@@ -99,7 +99,7 @@
 			 LG60|ATI638|OREN538|OREN36|TOYOTA388|TOYOTA794|     \
 			 DIBCOM52|ZARLINK456|CHINA|F6MHZ|SCODE)
 #else
-#define SCODE_TYPES SCODE
+#define SCODE_TYPES (SCODE | MTS)
 #endif
 
 

--
video4linux-list mailing list
Unsubscribe mailto:[email protected]?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/video4linux-list

#4 lore raw
Quoted 8 lines · --- Mauro Carvalho Chehab

I'm enclosing two hacks. please, re-apply 7651, and try first hack1.patch.
Then, revert it and apply hack2.patch.

Please tell me if both hacks work or not, and send me the dmesgs for each case
(after loading mplayer).

Hi Mauro

I started with a fresh copy of the v4l-dvb repo updated to changeset 7673 each time.

hack1: works
hack2: works

I opened and closed mplayer twice for each test, so there are some normal "resubmit of audio urb failed" messages included. Dmesg output is attached, hack1 first.

--

Edward Sheldrake

      __________________________________________________________

Sent from Yahoo! Mail.
A Smarter Email http://uk.docs.yahoo.com/nowyoucan.html

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 MTS (5), id 0000000000000000. xc2028 1-0061: Loading firmware for type=MTS (4), id 000000000000b700.
xc2028 1-0061: Loading SCODE for type=MONO SCODE HAS_IF_6000 (60008000), 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 MTS (7), id 0000000000000000. xc2028 1-0061: Loading firmware for type=MTS (4), id 0000000000000010.
xc2028 1-0061: Loading SCODE for type=MONO SCODE HAS_IF_6000 (60008000), 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.
tvp5150 1-005c: tvp5150am1 detected.
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.

usb 1-4.1: new high speed USB device using ehci_hcd and address 5
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 MTS (5), id 0000000000000000.
xc2028 1-0061: Loading firmware for type=MTS (4), 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 MTS (7), id 0000000000000000.
xc2028 1-0061: Loading firmware for type=MTS (4), 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.
tvp5150 1-005c: tvp5150am1 detected.
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:[email protected]?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/video4linux-list

#5 lore raw
Quoted 14 lines · On Wed, 23 Apr 2008 09:08:41 +0100 (BST) "Edward J. Sheldrake"…
Quoted 8 lines · --- Mauro Carvalho Chehab

I'm enclosing two hacks. please, re-apply 7651, and try first hack1.patch.
Then, revert it and apply hack2.patch.

Please tell me if both hacks work or not, and send me the dmesgs for each case
(after loading mplayer).

Hi Mauro

I started with a fresh copy of the v4l-dvb repo updated to changeset 7673 each time.

Quoted 6 lines

hack1: works
hack2: works

I opened and closed mplayer twice for each test, so there are some normal "resubmit of audio urb failed" messages included. Dmesg output is attached, hack1 first.

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

linux/drivers/media/video/em28xx/em28xx-cards.c +1 -1
diff -r 8e992045c18e linux/drivers/media/video/em28xx/em28xx-cards.c
@@ -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,

--
video4linux-list mailing list
Unsubscribe mailto:[email protected]?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/video4linux-list

#6 lore raw
Quoted 28 lines · --- Mauro Carvalho Chehab

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

linux/drivers/media/video/em28xx/em28xx-cards.c line 163

Quoted 8 lines
linux/drivers/media/video/em28xx/em28xx-cards.c +1 -1
@@ -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:[email protected]?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/video4linux-list

#7 lore raw
Quoted 10 lines · Edward J. Sheldrake
Quoted 5 lines

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.

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.

Quoted 6 lines

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.

Thanks for your help, Edward. I've applied the patch that seems to be the correct one. It will select the MTS firmware, so, only MONO will be available. The proper SCODE table will be loaded.

Btw, it would be nice if you could also test DVB mode. It should be working properly for HVR-900.

Cheers,
Mauro.

--
video4linux-list mailing list
Unsubscribe mailto:[email protected]?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/video4linux-list

#9 lore raw
In reply to a message not in the archive
Quoted 36 lines · On Thu, 24 Apr 2008 22:48:28 +0100 "Aidan Thornton" <[email protected]>…

Hi,

Quoted 32 lines · Mauro Carvalho Chehab
Quoted 14 lines · Edward J. Sheldrake
Quoted 7 lines

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.

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.

Quoted 7 lines

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.

Thanks for your help, Edward. I've applied the patch that seems to be the
correct one. It will select the MTS firmware, so, only MONO will be available. The proper SCODE table will be loaded.

Btw, it would be nice if you could also test DVB mode. It should be working
properly for HVR-900.

Quoted 8 lines
Quoted 2 lines

Cheers,
Mauro.

Unfortunately, I think the B3C0 revision uses the drx379x demodulator, and AFAIK that's not supported yet - it probably has more in common with the Pinnacle 330e than the original revision. (I have the original A1C0 HVR-900, which I suspect is based on a reference design.)

I've just applied a patch we've received some time ago with drx379x demod. I'm not sure what's the proper config for Hauppauge.

The drx379x doesn't seem ready for kernel submission. However, since we've already merged what we have, we can apply this to v4l/dvb and work on it to fix maybe for 2.6.27.

Cheers,
Mauro

--
video4linux-list mailing list
Unsubscribe mailto:[email protected]?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/video4linux-list

#10 lore raw
In reply to Mauro Carvalho Chehab
Quoted 11 lines · --- Mauro Carvalho Chehab

Thanks for your help, Edward. I've applied the patch that seems to be the
correct one. It will select the MTS firmware, so, only MONO will be available. The proper SCODE table will be loaded.

Btw, it would be nice if you could also test DVB mode. It should be working properly for HVR-900.

Cheers,
Mauro.

Thanks, I updated v4l-dvb to 7737, and analog tv is now working fine.

As for DVB, we need to define a new board type for use in em28xx-dvb.c. I have rev. B3C0 (same as B2C0 I think). I tried hacking em28xx-dvb.c to call drx397xD_attach, but nothing happened. Also:

- I have no idea how to fill in drx397xD_config
- The get_dvb_firmware script doesn't support drx397xD yet
- There's no digital signal where I live

But I'll keep updating v4l-dvb, you're doing great work!

--

Edward Sheldrake

      __________________________________________________________

Sent from Yahoo! Mail.
A Smarter Email http://uk.docs.yahoo.com/nowyoucan.html

--
video4linux-list mailing list
Unsubscribe mailto:[email protected]?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/video4linux-list