MythTV  master
Classes | Functions | Variables
hardwareprofile.smolt Namespace Reference

Classes

class  _HardwareProfile
 
class  Host
 
class  PubUUIDError
 
class  ServerError
 
class  SystemBusError
 
class  UUIDError
 

Functions

def to_ascii (o, current_encoding='utf-8')
 
def get_file_systems (gate)
 
def ignoreDevice (device)
 
def serverMessage (page)
 
def error (message)
 
def debug (message)
 
def reset_resolver ()
 
def read_cpuinfo ()
 
def read_memory ()
 
def read_memory_2_4 ()
 
def read_memory_2_6 ()
 
def create_profile_nocatch (gate, uuid)
 
def create_profile (gate, uuid)
 For refactoring, I'll probably want to make a library Of command line tool functions This is one of them. More...
 
def get_profile_link (smoonURL, pub_uuid)
 This is another. More...
 
def read_uuid ()
 
def read_pub_uuid (uuiddb, uuid, user_agent=user_agent, smoonURL=smoonURL, timeout=timeout, silent=False)
 

Variables

 long = int
 
string WITHHELD_MAGIC_STRING = 'WITHHELD'
 
int SELINUX_ENABLED = 1
 
int SELINUX_DISABLED = 0
 
int SELINUX_WITHHELD = -1
 
tuple EXCEPTIONS
 
 fs_types = get_config_attr("FS_TYPES", ["ext2", "ext3", "xfs", "reiserfs"])
 
 fs_mounts = dict.fromkeys(get_config_attr("FS_MOUNTS", ["/", "/home", "/etc", "/var", "/boot"]), True)
 
 fs_m_filter = get_config_attr("FS_M_FILTER", False)
 
 fs_t_filter = get_config_attr("FS_T_FILTER", False)
 
 smoonURL = get_config_attr("SMOON_URL", "http://smolts.org/")
 
 secure = get_config_attr("SECURE", 0)
 
 hw_uuid_file = get_config_attr("HW_UUID", "/etc/smolt/hw-uuid")
 
 admin_token_file = get_config_attr("ADMIN_TOKEN", '' )
 
string clientVersion = '1.3.2'
 
string smoltProtocol = '0.97'
 
list supported_protocols = ['0.97',]
 
string user_agent = 'smolt/%s' % smoltProtocol
 
float timeout = 120.0
 
 proxies = dict()
 
bool DEBUG = False
 
int PCI_BASE_CLASS_STORAGE = 1
 
int PCI_CLASS_STORAGE_SCSI = 0
 
int PCI_CLASS_STORAGE_IDE = 1
 
int PCI_CLASS_STORAGE_FLOPPY = 2
 
int PCI_CLASS_STORAGE_IPI = 3
 
int PCI_CLASS_STORAGE_RAID = 4
 
int PCI_CLASS_STORAGE_OTHER = 80
 
int PCI_BASE_CLASS_NETWORK = 2
 
int PCI_CLASS_NETWORK_ETHERNET = 0
 
int PCI_CLASS_NETWORK_TOKEN_RING = 1
 
int PCI_CLASS_NETWORK_FDDI = 2
 
int PCI_CLASS_NETWORK_ATM = 3
 
int PCI_CLASS_NETWORK_OTHER = 80
 
int PCI_CLASS_NETWORK_WIRELESS = 128
 
int PCI_BASE_CLASS_DISPLAY = 3
 
int PCI_CLASS_DISPLAY_VGA = 0
 
int PCI_CLASS_DISPLAY_XGA = 1
 
int PCI_CLASS_DISPLAY_3D = 2
 
int PCI_CLASS_DISPLAY_OTHER = 80
 
int PCI_BASE_CLASS_MULTIMEDIA = 4
 
int PCI_CLASS_MULTIMEDIA_VIDEO = 0
 
int PCI_CLASS_MULTIMEDIA_AUDIO = 1
 
int PCI_CLASS_MULTIMEDIA_PHONE = 2
 
int PCI_CLASS_MULTIMEDIA_HD_AUDIO = 3
 
int PCI_CLASS_MULTIMEDIA_OTHER = 80
 
int PCI_BASE_CLASS_BRIDGE = 6
 
int PCI_CLASS_BRIDGE_HOST = 0
 
int PCI_CLASS_BRIDGE_ISA = 1
 
int PCI_CLASS_BRIDGE_EISA = 2
 
int PCI_CLASS_BRIDGE_MC = 3
 
int PCI_CLASS_BRIDGE_PCI = 4
 
int PCI_CLASS_BRIDGE_PCMCIA = 5
 
int PCI_CLASS_BRIDGE_NUBUS = 6
 
int PCI_CLASS_BRIDGE_CARDBUS = 7
 
int PCI_CLASS_BRIDGE_RACEWAY = 8
 
int PCI_CLASS_BRIDGE_OTHER = 80
 
int PCI_BASE_CLASS_COMMUNICATION = 7
 
int PCI_CLASS_COMMUNICATION_SERIAL = 0
 
int PCI_CLASS_COMMUNICATION_PARALLEL = 1
 
int PCI_CLASS_COMMUNICATION_MULTISERIAL = 2
 
int PCI_CLASS_COMMUNICATION_MODEM = 3
 
int PCI_CLASS_COMMUNICATION_OTHER = 80
 
int PCI_BASE_CLASS_INPUT = 9
 
int PCI_CLASS_INPUT_KEYBOARD = 0
 
int PCI_CLASS_INPUT_PEN = 1
 
int PCI_CLASS_INPUT_MOUSE = 2
 
int PCI_CLASS_INPUT_SCANNER = 3
 
int PCI_CLASS_INPUT_GAMEPORT = 4
 
int PCI_CLASS_INPUT_OTHER = 80
 
int PCI_BASE_CLASS_SERIAL = 12
 
int PCI_CLASS_SERIAL_FIREWIRE = 0
 
int PCI_CLASS_SERIAL_ACCESS = 1
 
int PCI_CLASS_SERIAL_SSA = 2
 
int PCI_CLASS_SERIAL_USB = 3
 
int PCI_CLASS_SERIAL_FIBER = 4
 
int PCI_CLASS_SERIAL_SMBUS = 5
 
list FORMFACTOR_LIST
 

Function Documentation

◆ to_ascii()

def hardwareprofile.smolt.to_ascii (   o,
  current_encoding = 'utf-8' 
)
This shouldn't even be required in python3 

Definition at line 204 of file smolt.py.

Referenced by hardwareprofile.sendProfile.make_display_excerpts().

◆ get_file_systems()

def hardwareprofile.smolt.get_file_systems (   gate)

Definition at line 353 of file smolt.py.

◆ ignoreDevice()

def hardwareprofile.smolt.ignoreDevice (   device)

◆ serverMessage()

def hardwareprofile.smolt.serverMessage (   page)

◆ error()

def hardwareprofile.smolt.error (   message)

◆ debug()

def hardwareprofile.smolt.debug (   message)

Definition at line 414 of file smolt.py.

Referenced by hardwareprofile.smolt._HardwareProfile.send().

◆ reset_resolver()

def hardwareprofile.smolt.reset_resolver ( )
Attempt to reset the system hostname resolver.
returns 0 on success, or -1 if an error occurs.

Definition at line 418 of file smolt.py.

Referenced by hardwareprofile.smolt._HardwareProfile.send().

◆ read_cpuinfo()

def hardwareprofile.smolt.read_cpuinfo ( )

Definition at line 966 of file smolt.py.

Referenced by hardwareprofile.smolt.Host.__init__().

◆ read_memory()

def hardwareprofile.smolt.read_memory ( )

Definition at line 1218 of file smolt.py.

Referenced by hardwareprofile.smolt.Host.__init__().

◆ read_memory_2_4()

def hardwareprofile.smolt.read_memory_2_4 ( )

Definition at line 1232 of file smolt.py.

Referenced by hardwareprofile.smolt.read_memory().

◆ read_memory_2_6()

def hardwareprofile.smolt.read_memory_2_6 ( )

Definition at line 1256 of file smolt.py.

Referenced by hardwareprofile.smolt.read_memory().

◆ create_profile_nocatch()

def hardwareprofile.smolt.create_profile_nocatch (   gate,
  uuid 
)

Definition at line 1290 of file smolt.py.

Referenced by hardwareprofile.smolt.create_profile().

◆ create_profile()

def hardwareprofile.smolt.create_profile (   gate,
  uuid 
)

For refactoring, I'll probably want to make a library Of command line tool functions This is one of them.

Definition at line 1297 of file smolt.py.

◆ get_profile_link()

def hardwareprofile.smolt.get_profile_link (   smoonURL,
  pub_uuid 
)

This is another.

Definition at line 1307 of file smolt.py.

Referenced by hardwareprofile.deleteProfile.main().

◆ read_uuid()

def hardwareprofile.smolt.read_uuid ( )

Definition at line 1310 of file smolt.py.

◆ read_pub_uuid()

def hardwareprofile.smolt.read_pub_uuid (   uuiddb,
  uuid,
  user_agent = user_agent,
  smoonURL = smoonURL,
  timeout = timeout,
  silent = False 
)

Definition at line 1325 of file smolt.py.

Variable Documentation

◆ long

hardwareprofile.smolt.long = int

◆ WITHHELD_MAGIC_STRING

string hardwareprofile.smolt.WITHHELD_MAGIC_STRING = 'WITHHELD'

Definition at line 77 of file smolt.py.

◆ SELINUX_ENABLED

int hardwareprofile.smolt.SELINUX_ENABLED = 1

Definition at line 78 of file smolt.py.

◆ SELINUX_DISABLED

int hardwareprofile.smolt.SELINUX_DISABLED = 0

Definition at line 79 of file smolt.py.

◆ SELINUX_WITHHELD

int hardwareprofile.smolt.SELINUX_WITHHELD = -1

Definition at line 80 of file smolt.py.

◆ EXCEPTIONS

tuple hardwareprofile.smolt.EXCEPTIONS
Initial value:
1 = (requests.exceptions.HTTPError,
2  requests.exceptions.URLRequired,
3  requests.exceptions.Timeout,
4  requests.exceptions.ConnectionError,
5  requests.exceptions.InvalidURL)

Definition at line 82 of file smolt.py.

◆ fs_types

hardwareprofile.smolt.fs_types = get_config_attr("FS_TYPES", ["ext2", "ext3", "xfs", "reiserfs"])

Definition at line 88 of file smolt.py.

◆ fs_mounts

hardwareprofile.smolt.fs_mounts = dict.fromkeys(get_config_attr("FS_MOUNTS", ["/", "/home", "/etc", "/var", "/boot"]), True)

Definition at line 89 of file smolt.py.

◆ fs_m_filter

hardwareprofile.smolt.fs_m_filter = get_config_attr("FS_M_FILTER", False)

Definition at line 90 of file smolt.py.

◆ fs_t_filter

hardwareprofile.smolt.fs_t_filter = get_config_attr("FS_T_FILTER", False)

Definition at line 91 of file smolt.py.

◆ smoonURL

hardwareprofile.smolt.smoonURL = get_config_attr("SMOON_URL", "http://smolts.org/")

Definition at line 93 of file smolt.py.

◆ secure

hardwareprofile.smolt.secure = get_config_attr("SECURE", 0)

Definition at line 94 of file smolt.py.

Referenced by HTTPRequest.SetCookie().

◆ hw_uuid_file

hardwareprofile.smolt.hw_uuid_file = get_config_attr("HW_UUID", "/etc/smolt/hw-uuid")

Definition at line 95 of file smolt.py.

◆ admin_token_file

hardwareprofile.smolt.admin_token_file = get_config_attr("ADMIN_TOKEN", '' )

Definition at line 96 of file smolt.py.

◆ clientVersion

string hardwareprofile.smolt.clientVersion = '1.3.2'

Definition at line 98 of file smolt.py.

◆ smoltProtocol

string hardwareprofile.smolt.smoltProtocol = '0.97'

Definition at line 99 of file smolt.py.

◆ supported_protocols

list hardwareprofile.smolt.supported_protocols = ['0.97',]

Definition at line 100 of file smolt.py.

◆ user_agent

string hardwareprofile.smolt.user_agent = 'smolt/%s' % smoltProtocol

Definition at line 101 of file smolt.py.

◆ timeout

float hardwareprofile.smolt.timeout = 120.0

Definition at line 102 of file smolt.py.

Referenced by TV.ActiveHandleAction(), BackendConnectionManager.BackendConnectionManager(), MythWebSocket.CheckClose(), MythCoreContext.CheckProtoVersion(), LCDProcClient.connectToHost(), LogViewer.Create(), TrackInfoPopup.Create(), GUIStartup.Create(), SearchStream.Create(), PlaybackBox.Create(), MythMusicVolumeDialog.Create(), BackendConnectionManager.customEvent(), TV.customEvent(), HTTPReader.DownloadStream(), MythSingleDownload.DownloadURL(), eit_start_rand(), MythSystemLegacyWindows.Fork(), MythSystemLegacyUnix.Fork(), GallerySlideView.GallerySlideView(), ExternalSignalMonitor.GetLockTimeout(), HLSRingBuffer.GetSegment(), RemoteEncoder.GetSignalLockTimeout(), HttpServer.GetSocketTimeout(), ExternIO.GetStatus(), GrabberManager.GrabberManager(), GuideGrid.GuideGrid(), FileServerHandler.HandleAnnounce(), HouseKeeper.HouseKeeper(), IdleScreen.IdleScreen(), InfoList.InfoList(), MythRAOPConnection.Init(), MythHTTPServer.Init(), avfDecoder.initialize(), JumpToChannel.JumpToChannel(), LCD.LCD(), LCDProcClient.LCDProcClient(), main(), MainServer.MainServer(), MainVisual.MainVisual(), MiniPlayer.MiniPlayer(), myth_system(), MythHTTPSocket.MythHTTPSocket(), MythMainWindow.MythMainWindow(), MythNews.MythNews(), MythNotificationScreen.MythNotificationScreen(), MythPlayerOverlayUI.MythPlayerOverlayUI(), MythPlayerUI.MythPlayerUI(), MythPower.MythPower(), MythPowerDBus.MythPowerDBus(), MythUIButton.MythUIButton(), MythUIFileBrowser.MythUIFileBrowser(), MythWakeup(), MythWebSocket.MythWebSocket(), MythPlayer.OpenFile(), OutboundRequestHandler.OutboundRequestHandler(), UPNPScanner.ParseDescription(), SatIPRecorder.PauseAndWait(), IPTVRecorder.PauseAndWait(), DVBRecorder.PauseAndWait(), HDHRRecorder.PauseAndWait(), MpegRecorder.PauseAndWait(), CetonRecorder.PauseAndWait(), V4L2encRecorder.PauseAndWait(), FirewireRecorder.PauseAndWait(), ExternalRecorder.PauseAndWait(), MythMediaBuffer.PauseAndWait(), RecorderBase.PauseAndWait(), MythDisplay.PauseForModeSwitch(), TV.PauseLiveTV(), SSDP.PerformSearch(), ping(), DeviceReadBuffer.Poll(), MythUDPListener.Process(), BiopTap.Process(), ExternalStreamHandler.ProcessCommand(), ExternalStreamHandler.ProcessVer1(), ExternalStreamHandler.ProcessVer2(), ExternIO.Read(), BufferedSocketDeviceRequest.ReadLine(), ExternIO.Ready(), RSSManager.RSSManager(), LIRC.run(), MythSystemLegacy.Run(), Commands.Run(), JoystickMenuThread.run(), SSDP.run(), DVBStreamHandler.RunTS(), GlobalSetup.saveData(), UPNPScanner.ScheduleRenewal(), ScreenSaverX11Private.ScreenSaverX11Private(), SendMessage(), MythCoreContext.SendReceiveStringList(), UPNPSubscription.SendSubscribeRequest(), MythPlayerOverlayUI.SetOSDStatus(), WeatherSource.setScriptTimeout(), MythCoreContext.SetupCommandSocket(), WeatherSource.setUpdateTimeout(), WebSocketWorker.SetupSocket(), StatusBoxItem.Start(), UPNPScanner.Start(), MythAirplayServer.Start(), MythRAOPConnection.StartAudioTimer(), CetonRTSP.StartKeepAlive(), SatIPRTSP.StartKeepAliveRequested(), ThemeUpdateChecker.ThemeUpdateChecker(), UPNPScanner.timerEvent(), TV.UpdateOSDTimeoutMessage(), MythSocket.Validate(), MythSystemLegacy.Wait(), MythSystemLegacyWrapper.Wait(), MythDisplay.WaitForNewScreen(), RecorderBase.WaitForPause(), DeviceReadBuffer.WaitForPaused(), MythDisplay.WaitForScreenChange(), DeviceReadBuffer.WaitForUnpause(), MythCoreContextPrivate.WaitForWOL(), NetStream.WaitTillFinished(), NetStream.WaitTillReady(), Weather.Weather(), WeatherSource.WeatherSource(), WelcomeDialog.WelcomeDialog(), ZMClient.ZMClient(), ZMConsole.ZMConsole(), ZMLivePlayer.ZMLivePlayer(), ZMMiniPlayer.ZMMiniPlayer(), and ZMPlayer.ZMPlayer().

◆ proxies

hardwareprofile.smolt.proxies = dict()

Definition at line 103 of file smolt.py.

Referenced by setHttpProxy().

◆ DEBUG

bool hardwareprofile.smolt.DEBUG = False

Definition at line 104 of file smolt.py.

◆ PCI_BASE_CLASS_STORAGE

int hardwareprofile.smolt.PCI_BASE_CLASS_STORAGE = 1

Definition at line 107 of file smolt.py.

◆ PCI_CLASS_STORAGE_SCSI

int hardwareprofile.smolt.PCI_CLASS_STORAGE_SCSI = 0

Definition at line 108 of file smolt.py.

◆ PCI_CLASS_STORAGE_IDE

int hardwareprofile.smolt.PCI_CLASS_STORAGE_IDE = 1

Definition at line 109 of file smolt.py.

◆ PCI_CLASS_STORAGE_FLOPPY

int hardwareprofile.smolt.PCI_CLASS_STORAGE_FLOPPY = 2

Definition at line 110 of file smolt.py.

◆ PCI_CLASS_STORAGE_IPI

int hardwareprofile.smolt.PCI_CLASS_STORAGE_IPI = 3

Definition at line 111 of file smolt.py.

◆ PCI_CLASS_STORAGE_RAID

int hardwareprofile.smolt.PCI_CLASS_STORAGE_RAID = 4

Definition at line 112 of file smolt.py.

◆ PCI_CLASS_STORAGE_OTHER

int hardwareprofile.smolt.PCI_CLASS_STORAGE_OTHER = 80

Definition at line 113 of file smolt.py.

◆ PCI_BASE_CLASS_NETWORK

int hardwareprofile.smolt.PCI_BASE_CLASS_NETWORK = 2

Definition at line 115 of file smolt.py.

◆ PCI_CLASS_NETWORK_ETHERNET

int hardwareprofile.smolt.PCI_CLASS_NETWORK_ETHERNET = 0

Definition at line 116 of file smolt.py.

◆ PCI_CLASS_NETWORK_TOKEN_RING

int hardwareprofile.smolt.PCI_CLASS_NETWORK_TOKEN_RING = 1

Definition at line 117 of file smolt.py.

◆ PCI_CLASS_NETWORK_FDDI

int hardwareprofile.smolt.PCI_CLASS_NETWORK_FDDI = 2

Definition at line 118 of file smolt.py.

◆ PCI_CLASS_NETWORK_ATM

int hardwareprofile.smolt.PCI_CLASS_NETWORK_ATM = 3

Definition at line 119 of file smolt.py.

◆ PCI_CLASS_NETWORK_OTHER

int hardwareprofile.smolt.PCI_CLASS_NETWORK_OTHER = 80

Definition at line 120 of file smolt.py.

◆ PCI_CLASS_NETWORK_WIRELESS

int hardwareprofile.smolt.PCI_CLASS_NETWORK_WIRELESS = 128

Definition at line 121 of file smolt.py.

◆ PCI_BASE_CLASS_DISPLAY

int hardwareprofile.smolt.PCI_BASE_CLASS_DISPLAY = 3

Definition at line 123 of file smolt.py.

◆ PCI_CLASS_DISPLAY_VGA

int hardwareprofile.smolt.PCI_CLASS_DISPLAY_VGA = 0

Definition at line 124 of file smolt.py.

◆ PCI_CLASS_DISPLAY_XGA

int hardwareprofile.smolt.PCI_CLASS_DISPLAY_XGA = 1

Definition at line 125 of file smolt.py.

◆ PCI_CLASS_DISPLAY_3D

int hardwareprofile.smolt.PCI_CLASS_DISPLAY_3D = 2

Definition at line 126 of file smolt.py.

◆ PCI_CLASS_DISPLAY_OTHER

int hardwareprofile.smolt.PCI_CLASS_DISPLAY_OTHER = 80

Definition at line 127 of file smolt.py.

◆ PCI_BASE_CLASS_MULTIMEDIA

int hardwareprofile.smolt.PCI_BASE_CLASS_MULTIMEDIA = 4

Definition at line 129 of file smolt.py.

◆ PCI_CLASS_MULTIMEDIA_VIDEO

int hardwareprofile.smolt.PCI_CLASS_MULTIMEDIA_VIDEO = 0

Definition at line 130 of file smolt.py.

◆ PCI_CLASS_MULTIMEDIA_AUDIO

int hardwareprofile.smolt.PCI_CLASS_MULTIMEDIA_AUDIO = 1

Definition at line 131 of file smolt.py.

◆ PCI_CLASS_MULTIMEDIA_PHONE

int hardwareprofile.smolt.PCI_CLASS_MULTIMEDIA_PHONE = 2

Definition at line 132 of file smolt.py.

◆ PCI_CLASS_MULTIMEDIA_HD_AUDIO

int hardwareprofile.smolt.PCI_CLASS_MULTIMEDIA_HD_AUDIO = 3

Definition at line 133 of file smolt.py.

◆ PCI_CLASS_MULTIMEDIA_OTHER

int hardwareprofile.smolt.PCI_CLASS_MULTIMEDIA_OTHER = 80

Definition at line 134 of file smolt.py.

◆ PCI_BASE_CLASS_BRIDGE

int hardwareprofile.smolt.PCI_BASE_CLASS_BRIDGE = 6

Definition at line 136 of file smolt.py.

◆ PCI_CLASS_BRIDGE_HOST

int hardwareprofile.smolt.PCI_CLASS_BRIDGE_HOST = 0

Definition at line 137 of file smolt.py.

◆ PCI_CLASS_BRIDGE_ISA

int hardwareprofile.smolt.PCI_CLASS_BRIDGE_ISA = 1

Definition at line 138 of file smolt.py.

◆ PCI_CLASS_BRIDGE_EISA

int hardwareprofile.smolt.PCI_CLASS_BRIDGE_EISA = 2

Definition at line 139 of file smolt.py.

◆ PCI_CLASS_BRIDGE_MC

int hardwareprofile.smolt.PCI_CLASS_BRIDGE_MC = 3

Definition at line 140 of file smolt.py.

◆ PCI_CLASS_BRIDGE_PCI

int hardwareprofile.smolt.PCI_CLASS_BRIDGE_PCI = 4

Definition at line 141 of file smolt.py.

◆ PCI_CLASS_BRIDGE_PCMCIA

int hardwareprofile.smolt.PCI_CLASS_BRIDGE_PCMCIA = 5

Definition at line 142 of file smolt.py.

◆ PCI_CLASS_BRIDGE_NUBUS

int hardwareprofile.smolt.PCI_CLASS_BRIDGE_NUBUS = 6

Definition at line 143 of file smolt.py.

◆ PCI_CLASS_BRIDGE_CARDBUS

int hardwareprofile.smolt.PCI_CLASS_BRIDGE_CARDBUS = 7

Definition at line 144 of file smolt.py.

◆ PCI_CLASS_BRIDGE_RACEWAY

int hardwareprofile.smolt.PCI_CLASS_BRIDGE_RACEWAY = 8

Definition at line 145 of file smolt.py.

◆ PCI_CLASS_BRIDGE_OTHER

int hardwareprofile.smolt.PCI_CLASS_BRIDGE_OTHER = 80

Definition at line 146 of file smolt.py.

◆ PCI_BASE_CLASS_COMMUNICATION

int hardwareprofile.smolt.PCI_BASE_CLASS_COMMUNICATION = 7

Definition at line 148 of file smolt.py.

◆ PCI_CLASS_COMMUNICATION_SERIAL

int hardwareprofile.smolt.PCI_CLASS_COMMUNICATION_SERIAL = 0

Definition at line 149 of file smolt.py.

◆ PCI_CLASS_COMMUNICATION_PARALLEL

int hardwareprofile.smolt.PCI_CLASS_COMMUNICATION_PARALLEL = 1

Definition at line 150 of file smolt.py.

◆ PCI_CLASS_COMMUNICATION_MULTISERIAL

int hardwareprofile.smolt.PCI_CLASS_COMMUNICATION_MULTISERIAL = 2

Definition at line 151 of file smolt.py.

◆ PCI_CLASS_COMMUNICATION_MODEM

int hardwareprofile.smolt.PCI_CLASS_COMMUNICATION_MODEM = 3

Definition at line 152 of file smolt.py.

◆ PCI_CLASS_COMMUNICATION_OTHER

int hardwareprofile.smolt.PCI_CLASS_COMMUNICATION_OTHER = 80

Definition at line 153 of file smolt.py.

◆ PCI_BASE_CLASS_INPUT

int hardwareprofile.smolt.PCI_BASE_CLASS_INPUT = 9

Definition at line 155 of file smolt.py.

◆ PCI_CLASS_INPUT_KEYBOARD

int hardwareprofile.smolt.PCI_CLASS_INPUT_KEYBOARD = 0

Definition at line 156 of file smolt.py.

◆ PCI_CLASS_INPUT_PEN

int hardwareprofile.smolt.PCI_CLASS_INPUT_PEN = 1

Definition at line 157 of file smolt.py.

◆ PCI_CLASS_INPUT_MOUSE

int hardwareprofile.smolt.PCI_CLASS_INPUT_MOUSE = 2

Definition at line 158 of file smolt.py.

◆ PCI_CLASS_INPUT_SCANNER

int hardwareprofile.smolt.PCI_CLASS_INPUT_SCANNER = 3

Definition at line 159 of file smolt.py.

◆ PCI_CLASS_INPUT_GAMEPORT

int hardwareprofile.smolt.PCI_CLASS_INPUT_GAMEPORT = 4

Definition at line 160 of file smolt.py.

◆ PCI_CLASS_INPUT_OTHER

int hardwareprofile.smolt.PCI_CLASS_INPUT_OTHER = 80

Definition at line 161 of file smolt.py.

◆ PCI_BASE_CLASS_SERIAL

int hardwareprofile.smolt.PCI_BASE_CLASS_SERIAL = 12

Definition at line 163 of file smolt.py.

◆ PCI_CLASS_SERIAL_FIREWIRE

int hardwareprofile.smolt.PCI_CLASS_SERIAL_FIREWIRE = 0

Definition at line 164 of file smolt.py.

◆ PCI_CLASS_SERIAL_ACCESS

int hardwareprofile.smolt.PCI_CLASS_SERIAL_ACCESS = 1

Definition at line 165 of file smolt.py.

◆ PCI_CLASS_SERIAL_SSA

int hardwareprofile.smolt.PCI_CLASS_SERIAL_SSA = 2

Definition at line 167 of file smolt.py.

◆ PCI_CLASS_SERIAL_USB

int hardwareprofile.smolt.PCI_CLASS_SERIAL_USB = 3

Definition at line 168 of file smolt.py.

◆ PCI_CLASS_SERIAL_FIBER

int hardwareprofile.smolt.PCI_CLASS_SERIAL_FIBER = 4

Definition at line 169 of file smolt.py.

◆ PCI_CLASS_SERIAL_SMBUS

int hardwareprofile.smolt.PCI_CLASS_SERIAL_SMBUS = 5

Definition at line 170 of file smolt.py.

◆ FORMFACTOR_LIST

list hardwareprofile.smolt.FORMFACTOR_LIST
Initial value:
1 = [ "Unknown",
2  "Other",
3  "Unknown",
4  "Desktop",
5  "Low Profile Desktop",
6  "Pizza Box",
7  "Mini Tower",
8  "Tower",
9  "Portable",
10  "Laptop",
11  "Notebook",
12  "Hand Held",
13  "Docking Station",
14  "All In One",
15  "Sub Notebook",
16  "Space-saving",
17  "Lunch Box",
18  "Main Server Chassis",
19  "Expansion Chassis",
20  "Sub Chassis",
21  "Bus Expansion Chassis",
22  "Peripheral Chassis",
23  "RAID Chassis",
24  "Rack Mount Chassis",
25  "Sealed-case PC",
26  "Multi-system",
27  "CompactPCI",
28  "AdvancedTCA"
29  ]

Definition at line 174 of file smolt.py.