PNG  IHDR;IDATxܻn0K )(pA 7LeG{ §㻢|ذaÆ 6lذaÆ 6lذaÆ 6lom$^yذag5bÆ 6lذaÆ 6lذa{ 6lذaÆ `}HFkm,mӪôô! x|'ܢ˟;E:9&ᶒ}{v]n&6 h_tڠ͵-ҫZ;Z$.Pkž)!o>}leQfJTu іچ\X=8Rن4`Vwl>nG^is"ms$ui?wbs[m6K4O.4%/bC%t Mז -lG6mrz2s%9s@-k9=)kB5\+͂Zsٲ Rn~GRC wIcIn7jJhۛNCS|j08yiHKֶۛkɈ+;SzL/F*\Ԕ#"5m2[S=gnaPeғL lذaÆ 6l^ḵaÆ 6lذaÆ 6lذa; _ذaÆ 6lذaÆ 6lذaÆ RIENDB`  \c@snddlmZddlTddlZddlmZddlZejj Z dej fdYZ dS(i(tbase(t*iN(tcommandst USBPlugincBs}eZdZdZdZedZdZdZdZ e dde d Z e ded ZRS( s7 Plugin for tuning various options of USB subsystem. cCsmt|_t|_t|_x9|jjdjddD]}|jj|j q@Wt |_ dS(NtusbtDEVTYPEt usb_device( tTruet_devices_supportedtsett _free_devicest_assigned_devicest_hardware_inventoryt get_devicestmatch_propertytaddtsys_nameRt_cmd(tselftdevice((s</usr/lib/python2.7/site-packages/tuned/plugins/plugin_usb.pyt _init_devicess    %cCs&g|D]}|jjd|^qS(NR(R t get_device(Rtdevicestx((s</usr/lib/python2.7/site-packages/tuned/plugins/plugin_usb.pyt_get_device_objectsscCs idd6S(Nt autosuspend(tNone(R((s</usr/lib/python2.7/site-packages/tuned/plugins/plugin_usb.pyt_get_config_optionsscCst|_t|_dS(N(Rt_has_static_tuningtFalset_has_dynamic_tuning(Rtinstance((s</usr/lib/python2.7/site-packages/tuned/plugins/plugin_usb.pyt_instance_init!s cCsdS(N((RR((s</usr/lib/python2.7/site-packages/tuned/plugins/plugin_usb.pyt_instance_cleanup%scCsd|S(Ns)/sys/bus/usb/devices/%s/power/autosuspend((RR((s</usr/lib/python2.7/site-packages/tuned/plugins/plugin_usb.pyt_autosuspend_sysfile(sRt per_devicecCs`|j|}|dkrdS|r+dnd}|s\|j|}|jj||n|S(Nt1t0(t _option_boolRR"Rt write_to_file(RtvalueRtsimtenabletvaltsys_file((s</usr/lib/python2.7/site-packages/tuned/plugins/plugin_usb.pyt_set_autosuspend+s cCs+|j|}|jj|d|jS(Ntno_error(R"Rt read_filetstrip(RRtignore_missingR,((s</usr/lib/python2.7/site-packages/tuned/plugins/plugin_usb.pyt_get_autosuspend7s(t__name__t __module__t__doc__RRt classmethodRR R!R"t command_setRR-t command_getRR2(((s</usr/lib/python2.7/site-packages/tuned/plugins/plugin_usb.pyR s     ( tRt decoratorst tuned.logsttunedttuned.utils.commandsRtglobtlogstgettlogtPluginR(((s</usr/lib/python2.7/site-packages/tuned/plugins/plugin_usb.pyts