+
     vi  c                   s    R t ^ RIt^ RIHt ^ RIHt ^ RIHt ^ RIH	t	H
t
 ]P                  ! ]4      t^At^t^*tR	tRt ! R R]4      tR# )
zliquidctl driver for the ASUS Ryuo liquid coolers.

Copyright Bloodhundur and contributors
SPDX-License-Identifier: GPL-3.0-or-later
N)List)UsbHidDriver)ExpectationNotMet)clamprpadlistzFirmware versionc                   s~   a  ] tR t^t o RtRRR/ 3.tR tR tR tV 3R lR	 lt	RV 3R lR llt
V 3R lR ltRtV tR
# )AsusRyuoz.Driver for ASUS Ryuo I 240 (fan control only).i  i  zASUS Ryuo I 240c                s    V P                   ! \         p\        VR ,          4      P                  R4      ^ ,          P	                  RRR7      p\
        VR3.# ):   NNs    ZasciiZignore)ZerrorsZ )_request_REQUEST_GET_FIRMWAREZbytesZsplitZdecode_STATUS_FIRMWARE)selfkwargsmsgZ	fw_strings   &,  ?/usr/lib/python3.14/site-packages/liquidctl/driver/asus_ryuo.py
initializeZAsusRyuo.initialize   sR    mm23#b'N((1!4;;GH;U	y"-
 	
    c                s0    \         P                  R 4       R# )zNo status availableN)_LOGGERinfo)r
   r   s   &,r   
get_statusZAsusRyuo.get_status&   s    *+r   c                s    VR9  d   \        R4      h\        V^ ^d4      p\        P                  RV R24       V P	                  \
        \        V.4       R# )fansz Only 'fans' channel is supportedzSetting fan speed to Z%N)r   Zfan)Z
ValueErrorr   r   r   _write_PREFIX_CMD_SET_FAN_SPEED)r
   ZchannelZdutyr   s   &&&,r   set_fixed_speedZAsusRyuo.set_fixed_speed)   sN    /)?@@T1c",TF!45W0$78r   c                s<   < V ^8  d   QhRS[ RS[ RS[S[ ,          /# )r   request_headerresponse_headerreturn)intr    Zformat__classdict__   "r   __annotate__AsusRyuo.__annotate__0   s&     + +s +S +T#Y +r   c                s    V P                   P                  4        V P                  \        V.4       V P	                  V4      # N)deviceZclear_enqueued_reportsr   r   _read)r
   r   r   s   &&&r   r   ZAsusRyuo._request0   s2    **,Wn-.zz/**r   Nc                0   < V ^8  d   QhRS[ S[,          /# )r   r   r    r   r   r   r   r   r    5   s      T#Y r   c                s    V P                   P                  \        4      pV^ ,          \        8w  d   \	        R4      hVe   V^,          V8w  d   \	        R4      hV# )    zUnexpected report prefixzUnexpected report header)r"   Zread_REPORT_LENGTHr   r   )r
   Zexpected_headerr   s   && r   r#   ZAsusRyuo._read5   sP    kk~.q6W#$>??&3q6_+D#$>??
r   c                r$   )r   datar%   r   r   r   r   r    =   s     = =49 =r   c                sZ    V P                   P                  \        V\        ^ 4      4       R# )r&   N)r"   Zwriter   r'   )r
   r(   s   &&r   r   ZAsusRyuo._write=   s    (4;<r    r!   )__name__Z
__module__Z__qualname__Z__firstlineno____doc__Z_MATCHESr   r   r   r   r#   r   Z__static_attributes__Z__classdictcell__)r   s   @r   r   r      sK     8 
*B/H
,9+ +
 = =r   r   )i   r   )r+   ZloggingZtypingr    Zliquidctl.driver.usbr   Zliquidctl.errorr   Zliquidctl.utilr   r   Z	getLoggerr*   r   r'   r   r   r   r	   r   r)   r   r   <module>r,      sS      - - *


H
%
 $ % &=| &=r   