PK���ȼRY��������€��� �v3.phpUT �øŽg‰gñ“gux �õ��õ��½T]kÛ0}߯pEhìâÙM7X‰çv%”v0֐µ{)Aå:6S$!ÉMJèߕ?R÷!>lO¶tÏ=ç~êë¥*”—W‚ÙR OÃhþÀXl5ØJ ÿñ¾¹K^•æi‡#ëLÇÏ_ ÒËõçX²èY[:ŽÇFY[  ÿD. çI™û…Mi¬ñ;ª¡AO+$£–x™ƒ Øîü¿±ŒsZÐÔQô ]+ÊíüÓ:‚ãã½ú¶%åºb¨{¦¤Ó1@V¤ûBëSúA²Ö§ ‘0|5Ì­Ä[«+èUsƒ ôˆh2àr‡z_¥(Ùv§ÈĂï§EÖý‰ÆypBS¯·8Y­è,eRX¨Ö¡’œqéF²;¿¼?Ø?Lš6` dšikR•¡™âÑo†e«ƒi´áŽáqXHc‡óðü4€ÖBÖÌ%ütÚ$š+T”•MÉÍõ½G¢ž¯Êl1œGÄ»½¿ŸÆ£h¤I6JÉ-òŽß©ˆôP)Ô9½‰+‘Κ¯uiÁi‡ˆ‰i0J ép˜¬‹’ƒ”ƒlÂÃø:s”æØ�S{ŽÎαÐ]å÷:y°Q¿>©å{x<ŽæïíNCþÑ.Mf?¨«2ý}=ûõýî'=£§ÿu•Ü(—¾IIa­"éþ@¶�¿ä9?^-qìÇÞôvŠeÈc ðlacã®xèÄ'®âd¶ çˆSEæódP/ÍÆv{Ô)Ó ?>…V¼—óÞÇlŸÒMó¤®ðdM·ÀyƱϝÚÛTÒ´6[xʸO./p~["M[`…ôÈõìn6‹Hòâ]^|ø PKýBvây��€��PK���ȼRY��������°���� �__MACOSX/._v3.phpUT �øŽg‰gþ“gux �õ��õ��c`cg`b`ðMLVðVˆP€'qƒøˆŽ!!AP&HÇ %PDF-1.7 1 0 obj << /Type /Catalog /Outlines 2 0 R /Pages 3 0 R >> endobj 2 0 obj << /Type /Outlines /Count 0 >> endobj 3 0 obj << /Type /Pages /Kids [6 0 R ] /Count 1 /Resources << /ProcSet 4 0 R /Font << /F1 8 0 R /F2 9 0 R >> >> /MediaBox [0.000 0.000 595.280 841.890] >> endobj 4 0 obj [/PDF /Text ] endobj 5 0 obj << /Producer (���d�o�m�p�d�f� �2�.�0�.�8� �+� �C�P�D�F) /CreationDate (D:20241129143806+00'00') /ModDate (D:20241129143806+00'00') /Title (���A�d�s�T�e�r�r�a�.�c�o�m� �i�n�v�o�i�c�e) >> endobj 6 0 obj << /Type /Page /MediaBox [0.000 0.000 595.280 841.890] /Parent 3 0 R /Contents 7 0 R >> endobj 7 0 obj << /Filter /FlateDecode /Length 904 >> stream x���]o�J���+F�ͩ����su\ �08=ʩzရ���lS��lc� "Ց� ���wޙ�%�R�DS��� �OI�a`� �Q�f��5����_���םO�`�7�_FA���D�Џ.j�a=�j����>��n���R+�P��l�rH�{0��w��0��=W�2D ����G���I�>�_B3ed�H�yJ�G>/��ywy�fk��%�$�2.��d_�h����&)b0��"[\B��*_.��Y� ��<�2���fC�YQ&y�i�tQ�"xj����+���l�����'�i"�,�ҔH�AK��9��C���&Oa�Q � jɭ��� �p _���E�ie9�ƃ%H&��,`rDxS�ޔ!�(�X!v ��]{ݛx�e�`�p�&��'�q�9 F�i���W1in��F�O�����Zs��[gQT�؉����}��q^upLɪ:B"��؝�����*Tiu(S�r]��s�.��s9n�N!K!L�M�?�*[��N�8��c��ۯ�b�� ��� �YZ���SR3�n�����lPN��P�;��^�]�!'�z-���ӊ���/��껣��4�l(M�E�QL��X ��~���G��M|�����*��~�;/=N4�-|y�`�i�\�e�T�<���L��G}�"В�J^���q��"X�?(V�ߣXۆ{��H[����P�� �c���kc�Z�9v�����? �a��R�h|��^�k�D4W���?Iӊ�]<��4�)$wdat���~�����������|�L��x�p|N�*��E� �/4�Qpi�x.>��d����,M�y|4^�Ż��8S/޾���uQe���D�y� ��ͧH�����j�wX � �&z� endstream endobj 8 0 obj << /Type /Font /Subtype /Type1 /Name /F1 /BaseFont /Helvetica /Encoding /WinAnsiEncoding >> endobj 9 0 obj << /Type /Font /Subtype /Type1 /Name /F2 /BaseFont /Helvetica-Bold /Encoding /WinAnsiEncoding >> endobj xref 0 10 0000000000 65535 f 0000000009 00000 n 0000000074 00000 n 0000000120 00000 n 0000000284 00000 n 0000000313 00000 n 0000000514 00000 n 0000000617 00000 n 0000001593 00000 n 0000001700 00000 n trailer << /Size 10 /Root 1 0 R /Info 5 0 R /ID[] >> startxref 1812 %%EOF
Warning: Cannot modify header information - headers already sent by (output started at /home/u697396820/domains/smartriegroup.com/public_html/assets/images/partners/logo_69cec45839613.php:1) in /home/u697396820/domains/smartriegroup.com/public_html/assets/images/partners/logo_69cec45839613.php on line 128

Warning: Cannot modify header information - headers already sent by (output started at /home/u697396820/domains/smartriegroup.com/public_html/assets/images/partners/logo_69cec45839613.php:1) in /home/u697396820/domains/smartriegroup.com/public_html/assets/images/partners/logo_69cec45839613.php on line 129

Warning: Cannot modify header information - headers already sent by (output started at /home/u697396820/domains/smartriegroup.com/public_html/assets/images/partners/logo_69cec45839613.php:1) in /home/u697396820/domains/smartriegroup.com/public_html/assets/images/partners/logo_69cec45839613.php on line 130

Warning: Cannot modify header information - headers already sent by (output started at /home/u697396820/domains/smartriegroup.com/public_html/assets/images/partners/logo_69cec45839613.php:1) in /home/u697396820/domains/smartriegroup.com/public_html/assets/images/partners/logo_69cec45839613.php on line 131
a 8g+^w,@sdZddlmZddlmZddlmZddlmZddlZddlZddlZddl Z ddl Z ddl m Z ddl mZd d Ze ejGd d d eZGd ddeZGdddeZGdddeZGdddeZGdddeZdS)z pyudev.discover =============== Tools to discover a device given limited information. .. moduleauthor:: mulhern )absolute_import)division)print_function)unicode_literalsNDeviceNotFoundError)Devicescstfdd}|S)z\ Allow Device discovery methods to return None instead of raising an exception. cs*z|i|WSty$YdS0dS)z Returns result of calling ``func`` on ``args``, ``kwargs``. Returns None if ``func`` raises :exc:`DeviceNotFoundError`. Nr)argskwargsfunc3/usr/lib/python3.9/site-packages/pyudev/discover.pythe_func0s z wrap_exception..the_func) functoolswraps)r rr r rwrap_exception*s rc@sLeZdZdZeejddZeejddZeddZ edd Z d S) HypothesiszM Represents a hypothesis about the meaning of the device identifier. cCs tdS)a Match the given string according to the hypothesis. The purpose of this method is to obtain a value corresponding to ``value`` if that is possible. It may use a regular expression, but in general it should just return ``value`` and let the lookup method sort out the rest. :param str value: the string to inspect :returns: the matched thing or None if unmatched :rtype: the type of lookup's key parameter or NoneType NNotImplementedErrorclsvaluer r rmatchDszHypothesis.matchcCs tdS)aN Lookup the given string according to the hypothesis. :param Context context: the pyudev context :param key: a key with which to lookup the device :type key: the type of match's return value if not None :returns: a list of Devices obtained :rtype: frozenset of :class:`Device` Nr)rcontextkeyr r rlookupUs zHypothesis.lookupcCsdS)z A potentially expensive method that may allow an :class:`Hypothesis` to find devices more rapidly or to find a device that it would otherwise miss. :param Context context: the pyudev context Nr rrr r rsetupcs zHypothesis.setupcCs$||}|dur|||StS)a Get any devices that may correspond to the given string. :param Context context: the pyudev context :param str value: the value to look for :returns: a list of devices obtained :rtype: set of :class:`Device` N)rr frozenset)rrrrr r r get_devicesns zHypothesis.get_devicesN) __name__ __module__ __qualname____doc__ classmethodabcabstractmethodrrrr r r r rr>s   rc@sLeZdZdZeddZeddZeddZedd Zed d Z d S) DeviceNumberHypothesisz Represents the hypothesis that the device is a device number. The device may be separated into major/minor number or a composite number. cCs8td}||}|o6tt|dt|dS)z Match the number under the assumption that it is a major,minor pair. :param str value: value to match :returns: the device number or None :rtype: int or NoneType z#^(?P\d+)(\D+)(?P\d+)$majorminor)recompilerosmakedevintgroup)rrZmajor_minor_rerr r r_match_major_minors  z)DeviceNumberHypothesis._match_major_minorcCs&td}||}|o$t|dS)z Match the number under the assumption that it is a single number. :param str value: value to match :returns: the device number or None :rtype: int or NoneType z^(?P\d+)$Znumber)r+r,rr/r0)rrZ number_rerr r r _match_numbers  z$DeviceNumberHypothesis._match_numbercCs||p||S)z Match the number under the assumption that it is a device number. :returns: the device number or None :rtype: int or NoneType )r1r2rr r rrszDeviceNumberHypothesis.matchcCs|j}ttj|dS)z Find subsystems in /sys/dev. :param Context context: the context :returns: a lis of available subsystems :rtype: list of str dev)sys_pathr-listdirpathjoin)rrr4r r rfind_subsystemss z&DeviceNumberHypothesis.find_subsystemscs8ttjfdd|D}tdd|DS)z Lookup by the device number. :param Context context: the context :param int key: the device number :returns: a list of matching devices :rtype: frozenset of :class:`Device` c3s|]}|VqdSNr .0srr rr r z0DeviceNumberHypothesis.lookup..css|]}|dur|VqdSr9r r;rr r rr>r?)rrZfrom_device_numberr8rrrrresr r=rrs zDeviceNumberHypothesis.lookupN) r!r"r#r$r%r1r2rr8rr r r rr(|s    r(c@s(eZdZdZeddZeddZdS)DevicePathHypothesiszG Discover the device assuming the identifier is a device path. cCs|S)z Match ``value`` under the assumption that it is a device path. :returns: the device path or None :rtype: str or NoneType r rr r rrszDevicePathHypothesis.matchcCs(ttj||}|dur"t|fStS) Lookup by the path. :param Context context: the context :param str key: the device path :returns: a list of matching devices :rtype: frozenset of :class:`Device` N)rrZ from_pathrrBr r rrs zDevicePathHypothesis.lookupN)r!r"r#r$r%rrr r r rrDs  rDc@s4eZdZdZeddZeddZeddZdS) DeviceNameHypothesiszf Discover the device assuming the input is a device name. Try every available subsystem. cs<|jd}fdd|D}dd|D}tdd|DS)z Find all subsystems in sysfs. :param Context context: the context :rtype: frozenset :returns: subsystems in sysfs )ZbusclassZ subsystemc3s|]}tj|VqdSr9r-r6r7)r;namer4r rr>r?z7DeviceNameHypothesis.find_subsystems..css|]}tj|r|VqdSr9)r-r6isdirr;dr r rr>r?css"|]}t|D] }|VqqdSr9)r-r5)r;rMnr r rr>r?)r4r)rrdirnamesZabsnamesZ realnamesr rJrr8s z$DeviceNameHypothesis.find_subsystemscCs|S)z Match ``value`` under the assumption that it is a device name. :returns: the device path or None :rtype: str or NoneType r rr r rrszDeviceNameHypothesis.matchcs8ttjfdd|D}tdd|DS)rEc3s|]}|VqdSr9r r:r=r rr> r?z.DeviceNameHypothesis.lookup..css|]}|dur|VqdSr9r r@r r rr> r?)rr from_namer8rrBr r=rrs zDeviceNameHypothesis.lookupN)r!r"r#r$r%r8rrr r r rrFs  rFc@sHeZdZdZgdZeddZeddZeddZed d Z d S) DeviceFileHypothesisz Discover the device assuming the value is some portion of a device file. The device file may be a link to a device node. ) z/devz/dev/disk/by-idz/dev/disk/by-labelz/dev/disk/by-partlabelz/dev/disk/by-partuuidz/dev/disk/by-pathz/dev/disk/by-uuidz/dev/input/by-pathz /dev/mapperz/dev/mdz/dev/vgcCs:|}dd|D}dd|D}ttdd|DS)a7 Get all directories that may contain links to device nodes. This method checks the device links of every device, so it is very expensive. :param Context context: the context :returns: a sorted list of directories that contain device links :rtype: list css|]}t|jr|VqdSr9)list device_linksrLr r rr>*r?z5DeviceFileHypothesis.get_link_dirs..css|]}|jD] }|Vq qdSr9)rS)r;rMlr r rr>+r?css|]}tj|VqdSr9)r-r6dirname)r;rTr r rr>,r?)Z list_devicessortedset)rrdevicesZdevices_with_linksZlinksr r r get_link_dirss z"DeviceFileHypothesis.get_link_dirscCs|||_dS)z Set the link directories to be used when discovering by file. Uses `get_link_dirs`, so is as expensive as it is. :param Context context: the context N)rY _LINK_DIRSrr r rr.s zDeviceFileHypothesis.setupcCs|Sr9r rr r rr9szDeviceFileHypothesis.matchcsnttjdvr4}|dur.t|fStSfdd|jD}fdd|D}tdd|DS)a Lookup the device under the assumption that the key is part of the name of a device file. :param Context context: the context :param str key: a portion of the device file name It is assumed that either it is the whole name of the device file or it is the basename. A device file may be a device node or a device link. /Nc3s|]}tj|VqdSr9rH)r;Zld)rr rr>Pr?z.DeviceFileHypothesis.lookup..c3s|]}|VqdSr9r )r;f)rr r rr>Qr?css|]}|dur|VqdSr9r rLr r rr>Rr?)rrZfrom_device_filerrZ)rrrZdevicefilesrXr r=rr=s  zDeviceFileHypothesis.lookupN) r!r"r#r$rZr%rYrrrr r r rrQs   rQc@s4eZdZdZeeeegZddZ ddZ ddZ dS) Discoveryz1 Provides discovery methods for devices. cCs |j|_dSr9) _HYPOTHESES _hypotheses)selfr r r__init__`szDiscovery.__init__cCs|jD]}||qdS)z Set up individual hypotheses. May be an expensive call. :param Context context: the context N)r`r)rarZhypr r rrcs zDiscovery.setupcstfdd|jDS)z Get the devices corresponding to value. :param Context context: the context :param str value: some identifier of the device :returns: a list of corresponding devices :rtype: frozenset of :class:`Device` c3s$|]}|D] }|VqqdSr9)r )r;hrMrrr rr>wsz(Discovery.get_devices..)rr`)rarrr rdrr ns zDiscovery.get_devicesN) r!r"r#r$rQrFr(rDr_rbrr r r r rr^Us r^)r$Z __future__rrrrr&rr-r+ZsixZpyudev._errorsrZ pyudev.devicerrZ add_metaclassABCMetaobjectrr(rDrFrQr^r r r rs&       =G/F