HP Visualize c360 PA-RISC Visualize Workstation Universal Serial Bus - Page 20

USB Support: HP-UX Kernel cont.

Page 20 highlights

USB Support: HP-UX Kernel (cont.) • Only OCHI controllers are supported, and all tested to date work (although some will appear in ioscan as "unsupported"). HP-UX support for UHCI, although not currently scheduled, will be necessary at or before IA-64. • USB drivers are implemented as WSIO drivers. Big-little endian conversion is handled transparently. Code is multi-thread and multi-processor safe. • Although libraries have been added for USB support, the drivers are implemented such that standard commands required essentially no modification. • Standard user-space I/O calls: open( ), close( ), ioctl( ), read( ), select( ), but not write( ) (yet, because Hub and HID Class require no "write"). These calls only access Class drivers. User-space I/O to the raw bus is not supported. • USB-specific Class developer calls: pipe management (13), data transfer (8), device management (13), device enumeration (2) • Include files: kernel - hid.h, usb.h, usbio.h, user-space - hidio.h • Minor number format is based on logical device enumeration (and not topological location).

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25

±²³´µ¹Æµ·¸µ¹º
±²³´µ¶·¸¹º»º¼´½·¾¿¿¿ÀÁÂÀÃý¾¾½¾Ä
USB Support: HP-UX Kernel (cont.)
Only OCHI controllers are supported, and all tested to date work (although some
will appear in
ioscan
as “unsupported”). HP-UX support for UHCI, although not
currently scheduled, will be necessary at or before IA-64.
USB drivers are implemented as WSIO drivers. Big-little endian conversion is
handled transparently. Code is multi-thread and multi-processor safe.
Although libraries have been added for USB support, the drivers are imple-
mented such that standard commands required essentially no modification.
Standard user-space I/O calls:
open( )
,
close( )
,
ioctl( )
,
read( )
,
select( )
, but not
write( )
(yet, because Hub and HID Class require no “write”). These calls only
access Class drivers. User-space I/O to the raw bus is not supported.
USB-specific Class developer calls: pipe management (13), data transfer (8),
device management (13), device enumeration (2)
Include files: kernel -
hid.h
,
usb.h
,
usbio.h
, user-space -
hidio.h
Minor number format is based on logical device enumeration (and not topologi-
cal location).