Em Sun, 14 Jun 2009 20:30:18 -0400
Devin Heitmueller <dheitmuel...@kernellabs.com> escreveu:

> Hello Mauro,
> 
> Please pull from
> http://kernellabs.com/hg/~dheitmueller/em28xx-no-audio for the
> following:
> 
> - em28xx: don't create audio device if not supported
> 
> This should correct the problems you noticed with the previous patch
> in the misc-fixes tree.

Applied, thanks.

> Tested with Kworld 2800d and HVR-950.  Would be useful if somebody who
> had an em28xx device with the USB audio class could test as well.

Tested with a Hauppauge WinTV USB2, with msp3445-bg i2s chip, no AC97:

[ 6680.635866] em28xx: New device WinTV USB2 @ 480 Mbps (2040:4200, interface 
0, class 0)
[ 6680.635894] em28xx #0: Identified as Hauppauge WinTV USB 2 (card=4)
[ 6680.636116] em28xx #0: chip ID is em2840
[ 6680.755380] em28xx #0: i2c eeprom 00: 1a eb 67 95 40 20 00 42 20 00 1c 03 82 
18 6a 18
[ 6680.755410] em28xx #0: i2c eeprom 10: 00 00 24 57 6e 00 00 00 60 00 00 00 02 
00 00 00
[ 6680.755436] em28xx #0: i2c eeprom 20: 1e 00 10 10 00 00 00 00 00 00 00 00 00 
00 00 00
[ 6680.755463] em28xx #0: i2c eeprom 30: 00 00 20 40 20 80 02 20 01 01 01 01 00 
00 00 00
[ 6680.755489] em28xx #0: i2c eeprom 40: 00 00 00 00 00 00 00 00 00 00 00 00 00 
00 00 00
[ 6680.755515] em28xx #0: i2c eeprom 50: 00 00 00 00 00 00 00 00 00 00 00 00 00 
00 00 00
[ 6680.755540] em28xx #0: i2c eeprom 60: 00 00 00 00 00 00 00 00 00 00 18 03 30 
00 30 00
[ 6680.755566] em28xx #0: i2c eeprom 70: 30 00 32 00 38 00 31 00 39 00 33 00 34 
00 38 00
[ 6680.755592] em28xx #0: i2c eeprom 80: 00 00 18 03 57 00 69 00 6e 00 54 00 56 
00 20 00
[ 6680.755618] em28xx #0: i2c eeprom 90: 55 00 53 00 42 00 32 00 00 00 00 00 00 
00 00 00
[ 6680.755644] em28xx #0: i2c eeprom a0: 84 12 00 00 05 50 1a 7f 08 56 23 1c a4 
16 16 8d
[ 6680.755670] em28xx #0: i2c eeprom b0: ff 00 00 00 04 84 0a 00 01 01 20 77 00 
40 14 05
[ 6680.755697] em28xx #0: i2c eeprom c0: 2b 00 74 02 01 0c 03 79 d5 00 00 00 00 
00 00 00
[ 6680.755723] em28xx #0: i2c eeprom d0: 84 12 00 00 05 50 1a 7f 08 56 23 1c a4 
16 16 8d
[ 6680.755749] em28xx #0: i2c eeprom e0: ff 00 00 00 04 84 0a 00 01 01 20 77 00 
40 14 05
[ 6680.755775] em28xx #0: i2c eeprom f0: 2b 00 74 02 01 0c 03 79 d5 00 00 00 00 
00 00 00
[ 6680.755803] em28xx #0: EEPROM ID= 0x9567eb1a, EEPROM hash = 0xf44042ea
[ 6680.755808] em28xx #0: EEPROM info:
[ 6680.755811] em28xx #0:       I2S audio, sample rate=32k
[ 6680.755815] em28xx #0:       500mA max power
[ 6680.755820] em28xx #0:       Table at 0x24, strings=0x1882, 0x186a, 0x0000
[ 6680.775332] tveeprom 1-0050: Hauppauge model 42012, rev C186, serial# 2819348
[ 6680.775341] tveeprom 1-0050: tuner model is Philips FQ1236 MK3 (idx 86, type 
43)
[ 6680.775347] tveeprom 1-0050: TV standards NTSC(M) (eeprom 0x08)
[ 6680.775353] tveeprom 1-0050: audio processor is MSP3445 (idx 12)
[ 6680.775358] tveeprom 1-0050: has radio
[ 6680.856348] msp3400 1-0044: MSP3445G-B8 found @ 0x88 (em28xx #0)
[ 6680.856355] msp3400 1-0044: msp3400 supports radio, mode is autodetect and 
autoselect
[ 6680.875282] tvp5150 1-005c: chip found @ 0xb8 (em28xx #0)
[ 6680.938362] tuner 1-0043: chip found @ 0x86 (em28xx #0)
[ 6680.969181] tda9887 1-0043: creating new instance
[ 6680.969188] tda9887 1-0043: tda988[5/6/7] found
[ 6680.969194] tuner 1-0043: type set to tda9887
[ 6680.969199] tuner 1-0043: tv freq set to 0.00
[ 6680.969205] tuner 1-0043: TV freq (0.00) out of range (44-958)
[ 6680.980394] tuner 1-0043: em28xx #0 tuner I2C addr 0x86 with type 74 used 
for 0x0e
[ 6680.998131] tuner 1-0063: Setting mode_mask to 0x0e
[ 6680.998139] tuner 1-0063: chip found @ 0xc6 (em28xx #0)
[ 6680.998144] tuner 1-0063: tuner 0x63: Tuner type absent
[ 6680.998159] tuner 1-0043: Calling set_type_addr for type=43, addr=0x63, 
mode=0x06, config=0x00
[ 6680.998166] tuner 1-0043: set addr discarded for type 74, mask e. Asked to 
change tuner at addr 0x63, with mask 6
[ 6680.998174] tuner 1-0063: Calling set_type_addr for type=43, addr=0x63, 
mode=0x06, config=0x00
[ 6680.998179] tuner 1-0063: defining GPIO callback
[ 6681.031219] tuner-simple 1-0063: creating new instance
[ 6681.031228] tuner-simple 1-0063: type set to 43 (Philips NTSC MK3 (FM1236MK3 
or FM1236/F))
[ 6681.031236] tuner 1-0063: type set to Philips NTSC MK3 (FM1236MK3 or 
FM1236/F)
[ 6681.031242] tuner 1-0063: tv freq set to 400.00
[ 6681.050237] tuner 1-0063: em28xx #0 tuner I2C addr 0xc6 with type 43 used 
for 0x0e
[ 6681.060247] tuner 1-0043: switching to v4l2
[ 6681.060255] tuner 1-0043: tv freq set to 567.25
[ 6681.070203] tuner 1-0063: switching to v4l2
[ 6681.070210] tuner 1-0063: tv freq set to 567.25
[ 6681.090443] em28xx #0: Config register raw data: 0x20
[ 6681.090448] em28xx #0: I2S Audio (3 sample rates)
[ 6681.090452] em28xx #0: No AC97 audio processor
[ 6681.261112] tvp5150 1-005c: tvp5150am1 detected.
[ 6683.142855] em28xx #0: v4l2 driver version 0.1.2
[ 6683.560549] em28xx #0: V4L2 device registered as /dev/video0 and /dev/vbi0
[ 6683.560560] tuner 1-0043: Putting tuner to sleep
[ 6683.560566] tuner 1-0043: Cmd s_standby accepted for analog TV
[ 6683.570304] tuner 1-0063: Putting tuner to sleep
[ 6683.570312] tuner 1-0063: Cmd s_standby accepted for analog TV
[ 6683.570468] usbcore: registered new interface driver em28xx
[ 6683.570477] em28xx driver loaded

Audio worked as expected, and snd-usb-audio were properly loaded.



Cheers,
Mauro
--
To unsubscribe from this list: send the line "unsubscribe linux-media" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to