[pvrusb2] PVR USB2 - how to check if it's dead? [SOLVED]

Sven Barth pascaldragon at googlemail.com
Sun Dec 23 04:07:01 CST 2012


On 22.12.2012 13:51, Helmut Jarausch wrote:
>>
>> >
>> > Is there any means to set this without v4l2-ctl ?
>>
>> Yes, there is a sysfs way to do this...
>>
>> >
>> > Here, I do not have
>> > /sys/class/pvrusb2/sn-8039400/ctl_video_standard
>>
>> I believe there was a change a while back which eliminated that
>> particular control (because the underlying V4L feature I believe went
>> away).  However you can achieve the same effect with another control.
>> IIRC, it's ctl_video_standard_mask_active.  I can e-mail additional
>> detail about that, if you haven't already figured it out.
> Yes please, because
> echo "PAL"     >
> /sys/class/pvrusb2/sn-8039400/ctl_video_standard_mask_active/cur_val
> gave   echo: write error: invalid argument
>
> and cat
> /sys/class/pvrusb2/sn-8039400/ctl_video_standard_mask_active/cur_val
> showed a null string.
> After issueing v4l2-ctl -s "pal"
> the same command gives
> PAL-B PAL-B1 PAL-G PAL-H PAL-I PAL-D PAL-D1 PAL-K

Why don't you try writing one of these values to the cur_val? Check in 
e.g. Wikipedia which one corresponds to your country (for Germany it's 
AFAIK PAL-G).

Regards,
Sven



More information about the pvrusb2 mailing list