当前位置: 首页>>代码示例>>Python>>正文


Python KernelModuleHandler.__init__方法代码示例

本文整理汇总了Python中jockey.handlers.KernelModuleHandler.__init__方法的典型用法代码示例。如果您正苦于以下问题:Python KernelModuleHandler.__init__方法的具体用法?Python KernelModuleHandler.__init__怎么用?Python KernelModuleHandler.__init__使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在jockey.handlers.KernelModuleHandler的用法示例。


在下文中一共展示了KernelModuleHandler.__init__方法的11个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Python代码示例。

示例1: __init__

# 需要导入模块: from jockey.handlers import KernelModuleHandler [as 别名]
# 或者: from jockey.handlers.KernelModuleHandler import __init__ [as 别名]
 def __init__(self, ui):
     KernelModuleHandler.__init__(self, ui, 'vmxnet',
             name=_('VMWare Client Tools'),
             description=_('Install VMWare client drivers and tools'),
             rationale=_('Install the VMWare client drivers'
                 'for your VMWare based {0} installation.\n\n'
                 'This should help you use {0} in your VM.').format(OSLib.inst.os_vendor))
开发者ID:csmart,项目名称:fedora-jockey,代码行数:9,代码来源:vmware-client.py

示例2: __init__

# 需要导入模块: from jockey.handlers import KernelModuleHandler [as 别名]
# 或者: from jockey.handlers.KernelModuleHandler import __init__ [as 别名]
 def __init__(self, ui):
     KernelModuleHandler.__init__(self, ui, 'wl',
         name=_('Broadcom 802.11 STA driver'),
         description=_('Broadcom 802.11 Linux STA Driver for WiFi cards.'),
         rationale=_('Broadcom 802.11 Linux STA Driver for WiFi, a linux'
            ' device driver for use with Broadcom\'s BCM4311-, BCM4312-,'
            ' BCM4321-, and BCM4322-based hardware.\n\n'))
开发者ID:csmart,项目名称:fedora-jockey,代码行数:9,代码来源:broadcom-sta.py

示例3: __init__

# 需要导入模块: from jockey.handlers import KernelModuleHandler [as 别名]
# 或者: from jockey.handlers.KernelModuleHandler import __init__ [as 别名]
 def __init__(self, ui):
     KernelModuleHandler.__init__(self, ui, 'fglrx',
             name=_('AMD proprietary Catalyst graphics driver'),
             description=_('3D-accelerated proprietary graphics driver for '
                 'AMD (ATI) cards.'),
             rationale=_('This driver is required to fully utilise the 3D '
                 'potential of some AMD (ATI) graphics cards, as well as provide '
                 '2D acceleration of newer cards.'))
开发者ID:csmart,项目名称:fedora-jockey,代码行数:10,代码来源:catalyst.py

示例4: __init__

# 需要导入模块: from jockey.handlers import KernelModuleHandler [as 别名]
# 或者: from jockey.handlers.KernelModuleHandler import __init__ [as 别名]
 def __init__(self, ui):
     KernelModuleHandler.__init__(self, ui, 'easycap',
             name=_('Staging kernel modules'),
             description=_('WARNING: Experimental drivers.'),
             rationale=_('Staging can provide this module: easycap\n\n'
                 'You probably only want to enable this if '
                 'your hardware does not work at all.\n\n'
                 'These are drivers which are not yet in the '
                 'stable kernel tree, but due to be merged soon.'))
开发者ID:csmart,项目名称:fedora-jockey,代码行数:11,代码来源:kmod-staging-easycap.py

示例5: __init__

# 需要导入模块: from jockey.handlers import KernelModuleHandler [as 别名]
# 或者: from jockey.handlers.KernelModuleHandler import __init__ [as 别名]
 def __init__(self, ui):
     KernelModuleHandler.__init__(self, ui, 'vmxnet',
             name=_('VMWare Client Tools'),
             description=_('Install VMWare client drivers and tools'),
             rationale=_('Install the VMWare client drivers and tools'
                 'for your VMWare based Ubuntu installation.\n\n'
                 'This should help you use Ubuntu in your VM.'))
     self.package = 'open-vm-dkms'
     self._free = True
开发者ID:Alberto-Beralix,项目名称:Beralix,代码行数:11,代码来源:vmware-client.py

示例6: __init__

# 需要导入模块: from jockey.handlers import KernelModuleHandler [as 别名]
# 或者: from jockey.handlers.KernelModuleHandler import __init__ [as 别名]
    def __init__(self, ui):
        KernelModuleHandler.__init__(self, ui, 'wl',
            name=_('Broadcom 802.11 STA driver'),
            description=_('Proprietary drivers for Broadcom 802.11 WiFi cards.'),
            rationale=_('Broadcom 802.11 Linux STA Driver for WiFi, a linux'
               ' device driver for use with Broadcom\'s BCM4311-, BCM4312-,'
               ' BCM4321-, and BCM4322-based hardware.\n\n'
			'You probably only want to enable this if '
			'your wifi does not work well (or at all).'))
开发者ID:kororaproject,项目名称:kp-jockey,代码行数:11,代码来源:broadcom-sta.py

示例7: __init__

# 需要导入模块: from jockey.handlers import KernelModuleHandler [as 别名]
# 或者: from jockey.handlers.KernelModuleHandler import __init__ [as 别名]
    def __init__(self, ui):
        KernelModuleHandler.__init__(self, ui, 'nvidia',
            name=_('NVIDIA accelerated graphics driver'),
            description=_('3D-accelerated proprietary graphics driver for '
                'NVIDIA cards.'),
            rationale=_('This driver is required to fully utilise '
                'the 3D potential of NVIDIA based graphics cards.\n\n'
                'If the default open source Nouveau driver is not be able '
		'to power some 3D games, you can try this driver instead.'))
        self._recommended = None
开发者ID:csmart,项目名称:fedora-jockey,代码行数:12,代码来源:nvidia.py

示例8: __init__

# 需要导入模块: from jockey.handlers import KernelModuleHandler [as 别名]
# 或者: from jockey.handlers.KernelModuleHandler import __init__ [as 别名]
 def __init__(self, ui):
     KernelModuleHandler.__init__(
         self,
         ui,
         "STAGING_MODULE",
         name=_("Staging kernel modules"),
         description=_("WARNING: Experimental drivers."),
         rationale=_(
             "Staging can provide this module: STAGING_MODULE\n\n"
             "You probably only want to enable this if "
             "your hardware does not work at all.\n\n"
             "These are drivers which are not yet in the "
             "stable kernel tree, but due to be merged soon."
         ),
     )
开发者ID:kororaproject,项目名称:kp-jockey,代码行数:17,代码来源:kmod-staging.py

示例9: __init__

# 需要导入模块: from jockey.handlers import KernelModuleHandler [as 别名]
# 或者: from jockey.handlers.KernelModuleHandler import __init__ [as 别名]
 def __init__(self, ui):
     KernelModuleHandler.__init__(
         self,
         ui,
         "ath_pci",
         name=_('Alternate Atheros "madwifi" driver'),
         description=_('Alternate "madwifi" driver for Atheros wireless LAN cards.'),
         rationale=_(
             "Only activate this driver if you have problems "
             "with your wireless LAN connection.\n\n"
             'The free "ath5k" driver should work with most '
             "Atheros cards nowadays, but on some computers this "
             "alternate (but proprietary) driver still works better, "
             "or at all."
         ),
     )
     self._free = False
     # do not announce this if ath5k works
     self.announce = not self.module_loaded("ath5k")
     self.blacklist_file = os.path.join(os.path.dirname(OSLib.inst.module_blacklist_file), "blacklist-ath_pci.conf")
开发者ID:kororaproject,项目名称:kp-jockey,代码行数:22,代码来源:madwifi.py

示例10: __init__

# 需要导入模块: from jockey.handlers import KernelModuleHandler [as 别名]
# 或者: from jockey.handlers.KernelModuleHandler import __init__ [as 别名]
 def __init__(self, ui):
     self._free = False
     KernelModuleHandler.__init__(self, ui, "wl", name=_("Broadcom STA wireless driver"))
     self.package = "bcmwl-kernel-source"
     self._auto_install = True
     self.needs_kernel_headers = True
开发者ID:Alberto-Beralix,项目名称:Beralix,代码行数:8,代码来源:broadcom_wl.py

示例11: __init__

# 需要导入模块: from jockey.handlers import KernelModuleHandler [as 别名]
# 或者: from jockey.handlers.KernelModuleHandler import __init__ [as 别名]
 def __init__(self, ui):
     KernelModuleHandler.__init__(self, ui, 'dvb_usb', 
         name=_('Firmware for DVB cards'))
     self.package = 'linux-firmware-nonfree'
     self._free = False
     self._do_rebind = False # does not work, don't bother
开发者ID:Alberto-Beralix,项目名称:Beralix,代码行数:8,代码来源:dvb_usb_firmware.py


注:本文中的jockey.handlers.KernelModuleHandler.__init__方法示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。