本文整理汇总了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))
示例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'))
示例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.'))
示例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.'))
示例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
示例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).'))
示例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
示例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."
),
)
示例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")
示例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
示例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