Configuring SuperIO Devices
Contents
General Information
The SuperIO is the emulation of a PCI device containing PC style peripherals used in legacy 64-bit PA-RISC systems for HP-UX:
- parallel port
- 2 serial ports
- dual-channel IDE controller
- floppy disk controller
- USB 1.1 controller
- timer
- PIC interrupt controller
Please note:
- The current version of Charon-PAR emulates only a subset of these devices.
- Not supported on Charon-PAR/PA9-32 model 720.
Currently supported are (depending on support by the emulated model and guest operating system)
- two serial ports (physical ports not available in cloud environments)
- one parallel port (not available in cloud environments)
SuperIO Module Configuration
Before any devices of the module can be configured and used, the module must be loaded in the emulator configuration file. The SuperIO module can be loaded in any system model with PCI bus support. Use the following syntax to load this module into a slot on the default bus: Example: Use the following syntax to load this module into an PCI expansion slot: where the slot number is the number listed in the configuration file template or in Emulated Model Hardware Configuration Details for the expansion I/O slot selected. After booting the guest HP-UX system, the example above will result in an ioscan output similar to the following: Serial ports installed on SuperIO module can be configured the same as other serial ports. Please see chapter Serial Line Emulation Notes for more information. Path names for serial devices in the emulator configuration: Serial ports configuration example: The parallel port installed on a SuperIO module connects to the host system parallel port device However, it may be necessary to install the required kernel drivers in HP-UX and rebuild the kernel to activate the interface. If the ioscan command shows the parallel port as UNCLAIMED, perform the following steps: Once the ioscan command shows that the parallel port as CLAIMED by the correct driver, you can, for example, use SAM to configure a printer on the parallel port If no parallel port device exists on the host system, an error message similar to the one below will be printed to the emulator log. It does not affect system operation, but the parallel port redirection will not work. Modern host systems often have no physical parallel port. In such cases, a USB-LPT adapter or a software redirector (such as LPT-over-IP) can be used. The emulated parallel port operation depends on the host parallel port operation and some USB-LPT adapters may not produce reliable results.Loading the SuperIO device
load SUPERIO sio <bus-number> <slot-number>
load SUPERIO sio 0 6
load SUPERIO sio PCI
<slot-number>
Please note:ba 1 0/0/6/1 superio CLAIMED BUS_NEXUS PCI Core I/O Adapter
tty 1 0/0/6/1/1 asio0 CLAIMED INTERFACE Built-in RS-232C
tty 2 0/0/6/1/2 asio0 CLAIMED INTERFACE Built-in RS-232C
ext_bus 4 0/0/6/1/3 SCentIf CLAIMED INTERFACE Built-in Parallel Interface
unknown -1 0/0/6/1/4 UNCLAIMED UNKNOWN Built-in Floppy Drive
SuperIO Serial Ports
superio_001.uart0.device.type="telnet"
superio_001.uart0.device.port=":30001"
superio_001.uart1.device.type="telnet"
superio_001.uart1.device.port=":30002"
SuperIO Parallel Port
/dev/parport0
.
The parallel port output from the guest OS is redirected to the host parallel port. No additional configuration for the parallel port is required.# kcmodule |grep CentIf
CentIf static explicit
SCentIf static explicit
# kcmodule CentIf=best
# kcmodule SCentIf=best
(Printers and Plotters > LP Spooler > Printers and Plotters > Action > Add Local Printer > Add Parallel Printer). On HP-UX 11.31, use SMH for this task. Please note that at the time of writing SMH only worked with the emulator when being used over the network (not on the serial console).err:open('/dev/parport0', O_RDWR) is failed (errno 2) No such file or directory
err:ioctl(handle, PPCLAIM) is failed (errno 9) Bad file descriptor
© Stromasys, 1999-2024 - All the information is provided on the best effort basis, and might be changed anytime without notice. Information provided does not mean Stromasys commitment to any features described.