[pvrusb2] mythtv and wintv-hvr-1950 - analog/digital scanning

fivenote fivenote at gmail.com
Tue Jan 6 19:47:30 CST 2009


Thanks. Tried chmod 777 on /dev/video0 but no dice.

Doing as Mike suggested and making sure I rebooted w/o mythbackend
starting, I can't even cat /dev/video0. I get Input/ouput error. I may
have mentioned that before.

I went back to testing with mythtv for a minute and noticed this...
When myth opens dtv, enum_val lists only dtv as expected - narrowing.
When I tell myth to switch to analog television, I see enum_val lists
television,composite,svideo for a few seconds. I figure it is opening
the analog side of the card, narrowing out dtv, but then failing.
After a few seconds, enum_val lists all four entires, showing both
sides of the card are closed. When running mythbackend and scanning
for analog channels, the same thing shows under enum_val - the analog
card is open and dtv is narrowed out of the list while it scans and
finds nothing.

I'm also seeing this series of entries in /var/log/syslog when myth
tries to read the analog card...

---------------
Jan  6 20:34:24 vao1420 kernel: [ 1457.524540] s5h1411_writereg:
writereg error 0x19 0xf5 0x0001, ret == -5)
Jan  6 20:34:25 vao1420 kernel: [ 1458.404736] tda18271_write_regs:
ERROR: i2c_transfer returned: -5
Jan  6 20:34:25 vao1420 kernel: [ 1458.406658] s5h1411_writereg:
writereg error 0x19 0xf5 0x0000, ret == -5)
Jan  6 20:34:25 vao1420 kernel: [ 1458.408664] s5h1411_writereg:
writereg error 0x19 0xf4 0x0001, ret == -5)
---------------

FWIW... here's the series of entries in /var/log/messages when I
connect the HVR-1950...

---------------
Jan  6 20:42:49 vao1420 kernel: [ 1962.616164] usb 7-1: new high speed
USB device using ehci_hcd and address 6
Jan  6 20:42:50 vao1420 kernel: [ 1962.753956] usb 7-1: configuration
#1 chosen from 1 choice
Jan  6 20:42:51 vao1420 kernel: [ 1963.756333] firmware: requesting
v4l-pvrusb2-73xxx-01.fw
Jan  6 20:42:51 vao1420 kernel: [ 1963.762815] pvrusb2: Device
microcontroller firmware (re)loaded; it should now reset and
reconnect.
Jan  6 20:42:51 vao1420 kernel: [ 1963.794621] usb 7-1: USB
disconnect, address 6
Jan  6 20:42:51 vao1420 kernel: [ 1963.795392] pvrusb2: Device being
rendered inoperable
Jan  6 20:42:52 vao1420 kernel: [ 1965.548172] usb 7-1: new high speed
USB device using ehci_hcd and address 7
Jan  6 20:42:52 vao1420 kernel: [ 1965.691323] usb 7-1: configuration
#1 chosen from 1 choice
Jan  6 20:42:53 vao1420 kernel: [ 1965.817493] lirc_i2c: chip 0x10005
found @ 0x71 (Hauppauge PVR150)
Jan  6 20:42:53 vao1420 kernel: [ 1965.818749] lirc_dev:
lirc_register_plugin: sample_rate: 10
Jan  6 20:42:53 vao1420 kernel: [ 1965.822576] cx25840' 0-0044:
cx25843-24 found @ 0x88 (pvrusb2_a)
Jan  6 20:42:53 vao1420 kernel: [ 1965.858363] tuner' 0-0042: chip
found @ 0x84 (pvrusb2_a)
Jan  6 20:42:53 vao1420 kernel: [ 1965.884369] tveeprom 0-00a2:
Hauppauge model 75111, rev C3E9, serial# 5226618
Jan  6 20:42:53 vao1420 kernel: [ 1965.884382] tveeprom 0-00a2: MAC
address is 00-0D-FE-4F-C0-7A
Jan  6 20:42:53 vao1420 kernel: [ 1965.884387] tveeprom 0-00a2: tuner
model is Philips 18271_8295 (idx 149, type 54)
Jan  6 20:42:53 vao1420 kernel: [ 1965.884393] tveeprom 0-00a2: TV
standards NTSC(M) ATSC/DVB Digital (eeprom 0x88)
Jan  6 20:42:53 vao1420 kernel: [ 1965.884398] tveeprom 0-00a2: audio
processor is CX25843 (idx 37)
Jan  6 20:42:53 vao1420 kernel: [ 1965.884402] tveeprom 0-00a2:
decoder processor is CX25843 (idx 30)
Jan  6 20:42:53 vao1420 kernel: [ 1965.884407] tveeprom 0-00a2: has
radio, has IR receiver, has IR transmitter
Jan  6 20:42:53 vao1420 kernel: [ 1965.884417] pvrusb2: Supported
video standard(s) reported available in hardware:
PAL-M/N/Nc;NTSC-M/Mj/Mk;ATSC-8VSB/16VSB
Jan  6 20:42:53 vao1420 kernel: [ 1965.884426] pvrusb2: Mapping
standards mask=0x300b700 (PAL-M/N/Nc;NTSC-M/Mj/Mk;ATSC-8VSB/16VSB)
Jan  6 20:42:53 vao1420 kernel: [ 1965.884432] pvrusb2: Setting up 6
unique standard(s)
Jan  6 20:42:53 vao1420 kernel: [ 1965.884438] pvrusb2: Set up
standard idx=0 name=PAL-M
Jan  6 20:42:53 vao1420 kernel: [ 1965.884443] pvrusb2: Set up
standard idx=1 name=PAL-N
Jan  6 20:42:53 vao1420 kernel: [ 1965.884448] pvrusb2: Set up
standard idx=2 name=PAL-Nc
Jan  6 20:42:53 vao1420 kernel: [ 1965.884453] pvrusb2: Set up
standard idx=3 name=NTSC-M
Jan  6 20:42:53 vao1420 kernel: [ 1965.884458] pvrusb2: Set up
standard idx=4 name=NTSC-Mj
Jan  6 20:42:53 vao1420 kernel: [ 1965.884463] pvrusb2: Set up
standard idx=5 name=NTSC-Mk
Jan  6 20:42:53 vao1420 kernel: [ 1965.884469] pvrusb2: Initial video
standard (determined by device type): NTSC-M
Jan  6 20:42:53 vao1420 kernel: [ 1965.903699] pvrusb2: Device
initialization completed successfully.
Jan  6 20:42:53 vao1420 kernel: [ 1965.905062] pvrusb2: registered
device video0 [mpeg]
Jan  6 20:42:53 vao1420 kernel: [ 1965.905997] DVB: registering new
adapter (pvrusb2-dvb)
Jan  6 20:42:53 vao1420 kernel: [ 1965.942394] tda829x 0-0042: setting
tuner address to 60
Jan  6 20:42:53 vao1420 kernel: [ 1965.974062] tda18271 0-0060:
creating new instance
Jan  6 20:42:53 vao1420 kernel: [ 1966.013617] TDA18271HD/C1 detected @ 0-0060
Jan  6 20:42:55 vao1420 kernel: [ 1968.284821] tda829x 0-0042: type
set to tda8295+18271
Jan  6 20:42:58 vao1420 kernel: [ 1971.661806] cx25840' 0-0044: Video
signal:              not present
Jan  6 20:42:58 vao1420 kernel: [ 1971.661821] cx25840' 0-0044:
Detected format:           NTSC-M
Jan  6 20:42:58 vao1420 kernel: [ 1971.661825] cx25840' 0-0044:
Specified standard:        NTSC-M
Jan  6 20:42:58 vao1420 kernel: [ 1971.661830] cx25840' 0-0044:
Specified video input:     Composite 7
Jan  6 20:42:58 vao1420 kernel: [ 1971.661835] cx25840' 0-0044:
Specified audioclock freq: 48000 Hz
Jan  6 20:42:58 vao1420 kernel: [ 1971.667959] cx25840' 0-0044:
Detected audio mode:       mono
Jan  6 20:42:58 vao1420 kernel: [ 1971.667966] cx25840' 0-0044:
Detected audio standard:   not defined
Jan  6 20:42:58 vao1420 kernel: [ 1971.667971] cx25840' 0-0044: Audio
muted:               no
Jan  6 20:42:58 vao1420 kernel: [ 1971.667975] cx25840' 0-0044: Audio
microcontroller:     stopped
Jan  6 20:42:58 vao1420 kernel: [ 1971.667980] cx25840' 0-0044:
Configured audio standard: automatic detection
Jan  6 20:42:58 vao1420 kernel: [ 1971.667987] cx25840' 0-0044:
Configured audio system:   BTSC
Jan  6 20:42:58 vao1420 kernel: [ 1971.667991] cx25840' 0-0044:
Specified audio input:     Tuner (In8)
Jan  6 20:42:58 vao1420 kernel: [ 1971.667996] cx25840' 0-0044:
Preferred audio mode:      stereo
Jan  6 20:43:01 vao1420 kernel: [ 1973.916112] firmware: requesting
v4l-cx2341x-enc.fw
Jan  6 20:43:03 vao1420 kernel: [ 1976.449920] DVB: registering
adapter 0 frontend 1 (Samsung S5H1411 QAM/8VSB Frontend)...
Jan  6 20:43:03 vao1420 kernel: [ 1976.453945] tda829x 0-0042: type
set to tda8295
Jan  6 20:43:03 vao1420 kernel: [ 1976.509807] tda18271 0-0060:
attaching existing instance
---------------

Thanks again for all the input.

-vincent

On Tue, Jan 6, 2009 at 8:06 PM, Bob James <bjames at gmail.com> wrote:
> Wasn't suggesting that as a solution just a troubleshooting means.  When I
> had the problem it was a fresh vanilla install and the user and groups were
> already set correctly.  I had noticed the permission errors in the logs and
> temporarily changing the permissions proved that was the issue.  When I
> rebooted the permissions went back to normal when the driver created the
> /dev/video0 on boot up.
>
>
>
> On Tue, Jan 6, 2009 at 4:56 PM, Carsten Meier <cm at trexity.de> wrote:
>
>> Am Tue, 6 Jan 2009 16:09:33 -0800
>> schrieb "Bob James" <bjames at gmail.com>:
>>
>> > Just a stab in the dark but could it be a permissions error on the
>> > file /dev/video0 ?  I've had some weird things happen where I didn't
>> > have the correct permissions trying to open the video from Mythbuntu
>> > 8.10.  I tried the shotgun approach and did a chmod on the video0
>> > with 777 to allow everything access just to test.  This worked for me.
>>
>> This isn't really a good idea... Just make your user be a member of the
>> "video"-group.
>>
>> Regards,
>> Carsten
>> _______________________________________________
>> pvrusb2 mailing list
>> pvrusb2 at isely.net
>> http://www.isely.net/cgi-bin/mailman/listinfo/pvrusb2
>>
>
>
>
> --
> BJames at gmail.com
> Douglas William Jerrold  - "The only athletic sport I ever mastered was
> backgammon."
> _______________________________________________
> pvrusb2 mailing list
> pvrusb2 at isely.net
> http://www.isely.net/cgi-bin/mailman/listinfo/pvrusb2
>



-- 
~~~~~~~~~~~~~~~~~~~~
VAO - fivenote at gmail.com
~~~~~~~~~~~~~~~~~~~~


More information about the pvrusb2 mailing list