02-09-2009
Development for USB
Hi,
I am working with Sun Solaris 9(Generic_112233-07 sun4u sparc SUNW,Sun-Blade-100)and I need to develop the USB part in our application using C/C++.In our application,we are monitoring the UPS by Serial port and now I have to develop the USB part to mointor the UPS.
So I need your help to understand the following things--
Quote:
1)Will USB code support to moniter the UPS in Solaris 9??
I am asking this question because I read somewhere that Apcupsd(American Power Conversion USB UPS)supports USB UPSes on Solaris 10 and higher. Both x86 and SPARC platforms are supported.
2) If yes,then please guide me how can i do it??
Please help me...
Thanks in advance
8 More Discussions You Might Find Interesting
1. Cybersecurity
it's true that USB port has no security?? (0 Replies)
Discussion started by: lolo_vang
0 Replies
2. Red Hat
I am trying to get a flash card reader to work with my machine. My question is, are all of my USB ports screwed up? Do I need to buy a seperate USB controller? I does not appear that the onboard USB ports work.
In trying to get it to work, I typed cat /proc/scsi/scsi and got this:
# cat... (2 Replies)
Discussion started by: davidkretsch
2 Replies
3. Solaris
Is it possible to install Solaris 10 on an external USB drive? I'd like to dual boot Linux and Solaris 10.
Thanks! (2 Replies)
Discussion started by: otterit
2 Replies
4. UNIX for Advanced & Expert Users
Hi I was trying to mount my USB flashdrive on solaris 10 and I am getting the message saying that (I have already gone through the previous blogs in the forum)
mount: Block device required.
I have tried most of the possible ways.
#rmformat(gives me the necessary information about my flash... (1 Reply)
Discussion started by: akhil1460
1 Replies
5. UNIX for Dummies Questions & Answers
Hi everybody,
When I plug a USB key to my debian, where can I access the files?
I don't have any user interface, what commands do I have to run to find the files in my USB key?
Thanks for your help.
Santiago (6 Replies)
Discussion started by: chebarbudo
6 Replies
6. Shell Programming and Scripting
Hi,
How can i restrict use of USB in redhat. & also is it possible to allow USB devices for only specific devices or only few known penDrives......?
Thank you (4 Replies)
Discussion started by: shivarajM
4 Replies
7. UNIX for Dummies Questions & Answers
Is there an easy way to setup a cross-over cable (USB-USB) between a linux box and a windows PC? My 2 machines are next to each other but I really do not want to keep transfering my files using my USB drive.
Thanks! (4 Replies)
Discussion started by: Xterra
4 Replies
8. Solaris
I've copied over the sol-11_2-text-sparc.usb file to a USB thumb drive, plugged into a USB port on the front of the server, and then attempted to find the drive with ok show-disks to no avail.
Is there a different way to copy the image over to the drive using a Windows workstation? Is there... (10 Replies)
Discussion started by: LittleLebowski
10 Replies
LEARN ABOUT DEBIAN
bcmxcp
BCMXCP(8) NUT Manual BCMXCP(8)
NAME
bcmxcp - Driver for UPSes supporting the serial BCM/XCP protocol
NOTE
This man page only documents the hardware-specific features of the bcmxcp driver. For information about the core driver, see nutupsdrv(8).
SUPPORTED HARDWARE
This driver should recognize all serial BCM/XCP-compatible UPSes. It has been developed and tested on Powerware PW5115 and PW9120 hardware.
If your UPS has a USB connection, you may also consult the bcmxcp_usb(8) driver documentation.
EXTRA ARGUMENTS
This driver supports the following optional settings in the ups.conf(5).
shutdown_delay=delay
The number of seconds that the UPS should wait between receiving the shutdown command (upsdrvctl shutdown) and actually shutting off.
baud_rate=rate
Communication speed for the UPS. If this is set to 9600, it tries to connect to the UPS at 9600bps. If it fails to communicate, it will
go into baud-hunting. It starts at 1200 and goes up to 19200. If it succeeds, it tell you the speed it connected with. If not included
in the config, it defaults to baud-hunting.
DEFAULT VALUES FOR THE EXTRA ARGUMENTS
o shutdown_delay = 120
o baud_rate = none
INSTANT COMMANDS
This driver supports the following Instant Commands:
shutdown.return
Turn off the load and return when power is back.
shutdown.stayoff
Turn off the load and remain off.
test.battery.start
Start a battery test.
outlet.n.shutdown.return
Turn off the load on outlet n and return when power is back. (n is the outlet number reported by the upsc command)
TODO LIST
Report UPS statistics information
BCM/XCP supports reporting of UPS statistics data.
Change settings
Access the config register to change settings.
BUGS
None known.
AUTHOR
Tore Orpetveit <tore@orpetveit.net>
SEE ALSO
The core driver:
nutupsdrv(8)
The USB BCM/XCP driver:
bcmxcp_usb(8)
Internet resources:
The NUT (Network UPS Tools) home page: http://www.networkupstools.org/
Network UPS Tools 05/21/2012 BCMXCP(8)