[pvrusb2] SECAM-L is back.

xavier.gnata@free.fr xavier.gnata at free.fr
Mon Aug 14 07:39:13 CDT 2006


Hi,

Ok, it looks like a waxtv bug.
I have booted a 2.6.18-rc4-mm1
Here are the logs:

usb 5-7: new high speed USB device using ehci_hcd and address 7
usb 5-7: new device found, idVendor=2040, idProduct=2900
usb 5-7: new device strings: Mfr=1, Product=2, SerialNumber=0
usb 5-7: Product: USB Device
usb 5-7: Manufacturer: Hauppauge
usb 5-7: configuration #1 chosen from 1 choice
pvrusb2: pvr2_hdw_create: hdw=f7a0a000, type "WinTV PVR USB2 Model Category
29xxxx"
pvrusb2: Driver unit number is 0, name is pvrusb2_a
pvrusb2: subsys_stream_mask: 0x1e
pvrusb2: pvr_probe(pvr=f7456280)
pvrusb2: pvr2_hdw_setup(hdw=f7a0a000) begin
pvrusb2: Probe of device endpoint 1 succeeded
pvrusb2: Performing a device reset...
usb 5-7: reset high speed USB device using ehci_hcd and address 7
pvrusb2: Requesting powerup
pvrusb2: Requesting uproc hard reset
msp3400 0-0040: MSP3415G-B8 found @ 0x80 (pvrusb2_a)
msp3400 0-0040: MSP3415G-B8 supports nicam and radio, mode is autodetect and
autoselect
saa7115 0-0021: saa7115 found @ 0x42 (pvrusb2_a)
tuner 0-0043: chip found @ 0x86 (pvrusb2_a)
tda9887 0-0043: tda988[5/6/7] found @ 0x43 (tuner)
tuner 0-0061: chip found @ 0xc2 (pvrusb2_a)
tveeprom 0-0050: Hauppauge model 29039, rev C552, serial# 7440606
tveeprom 0-0050: tuner model is Microtune 4049 FM5 (idx 52, type 45)
tveeprom 0-0050: TV standards PAL(B/G) PAL(I) SECAM(L/L') PAL(D/D1/K) (eeprom
0x74)
tveeprom 0-0050: audio processor is MSP3415 (idx 6)
tveeprom 0-0050: decoder processor is SAA7115 (idx 19)
tveeprom 0-0050: has radio, has IR remote
pvrusb2: Supported video standard(s) reported by eeprom:
PAL-B/B1/D/D1/G/H/I/K;SECAM-B/D/G/H/K/K
pvrusb2: Mapping standards mask=0xff00ff
(PAL-B/B1/D/D1/G/H/I/K;SECAM-B/D/G/H/K/K1/L/LC)
pvrusb2: Setting up 20 unique standard(s)
pvrusb2: Set up standard idx=0 name=PAL-B/G
pvrusb2: Set up standard idx=1 name=PAL-D/K
pvrusb2: Set up standard idx=2 name=SECAM-B/G
pvrusb2: Set up standard idx=3 name=SECAM-D/K
pvrusb2: Set up standard idx=4 name=PAL-B
pvrusb2: Set up standard idx=5 name=PAL-B1
pvrusb2: Set up standard idx=6 name=PAL-G
pvrusb2: Set up standard idx=7 name=PAL-H
pvrusb2: Set up standard idx=8 name=PAL-I
pvrusb2: Set up standard idx=9 name=PAL-D
pvrusb2: Set up standard idx=10 name=PAL-D1
pvrusb2: Set up standard idx=11 name=PAL-K
pvrusb2: Set up standard idx=12 name=SECAM-B
pvrusb2: Set up standard idx=13 name=SECAM-D
pvrusb2: Set up standard idx=14 name=SECAM-G
pvrusb2: Set up standard idx=15 name=SECAM-H
pvrusb2: Set up standard idx=16 name=SECAM-K
pvrusb2: Set up standard idx=17 name=SECAM-K1
pvrusb2: Set up standard idx=18 name=SECAM-L
pvrusb2: Set up standard idx=19 name=SECAM-LC
pvrusb2: Initial video standard auto-selected to PAL-B/G
tuner 0-0061: type set to 45 (Microtune 4049 FM5)
msp3400 0-0040: MSP3415G-B8 rev1 = 0x0207 rev2 = 0x0f48
msp3400 0-0040: Audio:    volume 65535
msp3400 0-0040: Audio:    balance 0 bass 0 treble 0 loudness off
msp3400 0-0040: Standard: autodetect start (mono)
msp3400 0-0040: Audmode:  0x0001
msp3400 0-0040: Routing:  0x00000000 (input) 0x00000044 (output)
msp3400 0-0040: ACB:      0x0c00
saa7115 0-0021: Audio frequency: 48000 Hz
saa7115 0-0021: Input:           Composite 4
saa7115 0-0021: Video signal:    bad
saa7115 0-0021: Frequency:       50 Hz
saa7115 0-0021: Detected format: BW/No color
tda9887 0-0043: Data bytes: b=0xd4 c=0x70 e=0x49
tuner 0-0061: Tuner mode:      analog TV
tuner 0-0061: Frequency:       175.25 MHz
tuner 0-0061: Standard:        0x00000005
pvrusb2: pvr2_stream_create: sp=f78d52c0
pvrusb2: pvr2_hdw_setup: video stream is f78d52c0
pvrusb2: pvr2_hdw_setup(hdw=f7a0a000) done, ok=1 init_ok=1
pvrusb2: Device initialization completed successfully.
pvrusb2: pvr2_hdw_setup(hdw=f7a0a000) end
pvrusb2: registered device video0 [mpeg]

/sys/class/pvrusb2/sn-7440606/ctl_video_standard$cat enum_val
none
PAL-B/G
PAL-D/K
SECAM-B/G
SECAM-D/K
PAL-B
PAL-B1
PAL-G
PAL-H
PAL-I
PAL-D
PAL-D1
PAL-K
SECAM-B
SECAM-D
SECAM-G
SECAM-H
SECAM-K
SECAM-K1
SECAM-L
SECAM-LC

and have a look at the attached copy of stderr xawtv window.

It looks like there are too many video standards and xawtv only take care of the
16 first ones.
I have no log for now with 2.6.17 because I have seen I was not using the last
version of you code. So, I have to recompile a 2.6.17 and the proper version of
pvrusb2. I'm also going to have a deep look in xawtv code...

Thanks,
Xavier.


> > Hi,
> >
> > I have compiled/booted a 2.6.18-rc4-mm1 to test pvrusb2 code included in
> this
> > kernel.
> > It works but an old issue seems to be back :
> > Launching xawtv, I get a error message :
> > "invalid value for norm: SECAM-L
> > valid choices from "norm" : ...cutted..SECAM-B,SECAM-D,SECAM-G,SECAM-H"
> >
> > I have no clue what are SECAM-B,SECAM-D,SECAM-G and SECAM-H but french
> people
> > use SECAM-L.
> > However, despite this warning, I can watch TV setting xawtv norm to
> SECAM-B.
> > This problem is not here when I'm using externally compiled pvrusb2 (last
> > version) on a 2.6.17.7.
>
> The video standard handling code is pretty much the same in both cases.
> You can use sysfs to dump out a list of all the standards currently
> available (IIRC, it's ctl_video_standard/enum_val, but I will have to
> check to be sure).  Dumping that list for both the in-kernel and
> standalone drivers would be helpful.  Another thing you can do is turn up
> the debugging in the driver.  There's a bunch of traceprint that reports
> what standards are being selected, what's available, etc.  I think turning
> on the "PVR2_TRACE_INIT" flag (see pvrusb2-debug.h for the list of bit
> positions and read the driver's web documentation about manipulating the
> debug mask) will help here.
>
>
> >
> > Xawtv may be wrong here but I have ever seen SECAM-L in France (and not
> SECAM-B)
>
> No argument there.
>
>
> >
> > BTW, as the driver is now in the mainline, I'm not sure to be on the right
> list
> > here. We should post bug reports on V4L kernel mailling list, shouldn't we?
>
> I'm much more likely to see bug reports here since I don't currently
> monitor the kernel list.  The MAINTAINERS entry for the driver already
> points here.
>
>    -Mike
>
>
> --
>                          |         Mike Isely          |     PGP fingerprint
>       Spammers Die!!     |                             | 03 54 43 4D 75 E5 CC
> 92
>                          |   isely @ pobox (dot) com   | 71 16 01 E2 B5 F5 C1
> E8
>                          |                             |
> _______________________________________________
> pvrusb2 mailing list
> pvrusb2 at isely.net
> http://www.isely.net/cgi-bin/mailman/listinfo/pvrusb2
>




More information about the pvrusb2 mailing list