[pvrusb2] Resetting driver parameters to defaults

Mike Isely isely at isely.net
Sun Nov 15 15:05:59 CST 2009


On Sun, 15 Nov 2009, Bjorn Danielsson wrote:

> Is there some easy way to reset all driver parameters to their
> defaults? Like enumerating all /sys/class controls and setting
> their cur_val to their def_val values, but with a single command
> or system call.
> 
> I can live with enumerating, I just want to check if there is a
> method available that allows me to be more "clever" than that :-)
> 

No, sorry there isn't a single mechanism to reset them all.  But 
obviously as you suggest a little shell script could probably do it.

  -Mike


-- 

Mike Isely
isely @ isely (dot) net
PGP: 03 54 43 4D 75 E5 CC 92 71 16 01 E2 B5 F5 C1 E8


More information about the pvrusb2 mailing list