Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

device::usb::pcsensor::hidtemper(3pm) [debian man page]

Device::USB::PCSensor::HidTEMPer(3pm)			User Contributed Perl Documentation		     Device::USB::PCSensor::HidTEMPer(3pm)

NAME
Device::USB::PCSensor::HidTEMPer - Device overview VERSION
Version 0.02 SYNOPSIS
Shared code: use Device::USB::PCSensor::HidTEMPer; my $pcsensor = Device::USB::PCSensor::HidTEMPer->new(); Single-device systems: my $device = $pcsensor->device(); print $device->external()->fahrenheit() if defined $device->external(); Multi-device systems: my @devices = $pcsensor->list_devices(); foreach my $device ( @devices ){ print $device->internal()->celsius() if defined $device->internal(); } DESCRIPTION
This module is a simplified interface to the HidTEMPer thermometers created by PCSensor. It hides any problems recognizing the correct objects to initialize and the dependency on Device::USB. Use of the connected thermometers can be done by either creating a array of objects if multiple devices are connected, or the function device() if only one device is present. One example of its usage can be found in the Linux Journal August 2010, "Cool Projects edition" page 32-34. CONSTANTS The following constants are declared o PRODUCT_ID Contains the hex value of the product id on the usb chip, in this case 0x660c o VENDOR_ID Contains the hex value representing the manufacturer of the chip, in this case "Tenx Technology, Inc." o SUPPORTED_DEVICES Contains the mapping between name and identifiers for all supported thermometers. Hex value Product Internal sensor External sensor 0x5b HidTEMPerNTC Yes Yes 0x58 HidTEMPer Yes No METHODS o new() Initialize the system, and the USB-connection to be used. o device() Return a single thermometer instance. ONLY to be used in systems using a single thermometer device. Returns undef if no devices was found. o list_devices() Returns an array of recognized thermometer instances if an array value is expected, otherwise it returns a scalar with the number of devices found. DEPENDENCIES
This module internally includes and takes use of the following packages: use Device::USB; use Device::USB::PCSensor::HidTEMPer::Device; use Device::USB::PCSensor::HidTEMPer::NTC; use Device::USB::PCSensor::HidTEMPer::TEMPer; This module uses the strict and warning pragmas. BUGS
Please report any bugs or missing features using the CPAN RT tool. FOR MORE INFORMATION
None AUTHOR
Magnus Sulland < msulland@cpan.org > ACKNOWLEDGEMENTS
None COPYRIGHT &; LICENSE Copyright (c) 2010 Magnus Sulland This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself. perl v5.10.1 2010-07-24 Device::USB::PCSensor::HidTEMPer(3pm)

Check Out this Related Man Page

usb_as(7D)							      Devices								usb_as(7D)

NAME
usb_as - USB audio streaming driver SYNOPSIS
sound@unit-address DESCRIPTION
The usb_as driver is a USBA (Solaris USB Architecture) compliant client driver that supports the USB Audio Class 1.0 specification. The usb_as driver processes audio data messages during play and record and sets sample frequency, precision, encoding and other functions on request from the USB audio control driver. See usb_ac(7D). This driver is plumbed under the USB audio control driver and does not directly interface with the user application. FILES
/kernel/drv/usb_as 32-bit x86 ELF kernel module /kernel/drv/amd64/usb_as 64-bit x86 ELF kernel module /kernel/drv/sparcv9/usb_as 64-bit SPARC ELF kernel module ATTRIBUTES
See attributes(5) for descriptions of the following attributes: +-----------------------------+------------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+------------------------------+ |Architecture |SPARC, x86, PCI-based systems | +-----------------------------+------------------------------+ |Availability |SUNWusb | +-----------------------------+------------------------------+ |Stability level |Evolving | +-----------------------------+------------------------------+ SEE ALSO
mixerctl(1), attributes(5), usba(7D), usb_ac(7D), audio(7I), mixer(7I), streamio(7I) Writing Device Drivers Universal Serial Bus Specification 1.0 and 1.1 System Administration Guide: Basic Administration http://www.sun.com/io DIAGNOSTICS
In addition to being logged, the following messages may appear on the system console. All messages are formatted in the following manner: Warning: <device path> (usb_as<instance num>): Error Message... where <device path> is the physical path to the device in /devices directory. No bandwidth available. There is no bandwidth available for the isochronous pipe. As a result, no data will be transferred during play and record. Operating a full/high speed audio device on a high speed port is not supported. The USB software does not currently support full or high speed audio devices connected to an external USB 2.0 hub that is linked to a port of a USB 2.0 host controller. Audio devices must be connected directly to a port of a USB 2.0 controller or to any USB 1.1 port. Cannot access device. Please reconnect <name>. There was an error in accessing the device during reconnect. Please reconnect the device. Device is not identical to the previous one on this port. Please disconnect and reconnect. A USB audio streaming interface was hot-removed while open. A new device was hot-inserted which is not identical to the original USB audio device. Please disconnect the USB device and reconnect the device to the same port. NOTES
The USB audio streaming interface will be power managed if the device is idle. SunOS 5.11 9 Oct 2004 usb_as(7D)
Man Page