- Joined
- May 28, 2011
- Messages
- 10,996
I was unfortunately forced into reinstalling FreeNAS and rebuilding my pool from scratch (It was easier than figuring out what the heck was going on, long story!) and during my configuration setup I discovered something very odd and maybe this has been discussed, maybe not (a search didn't find it for me) but here is the deal...
I couldn't recall which USB port my UPS was reporting on so I picked one at random (/dev/ugen0.1) and popped into a shell and entered the following And then
And as you can see it returned all my UPS data and it was communicating just fine with the UPS. So it looks like I got lucky. Oh, the driver is usbhid-ups for my particular unit.
But wait, too good to be true, so I reconfigured to port (/dev/ugen5.1) and it works as well. I reconfigured to six of the nine USB ports and they all worked fine. I just finished running to the basement and pulled the USB cord to find out what the port number really was (/dev/ugen0.2) and configured appropriately because I don't know if this is a fluke or something that will be supported from here on out.
Now I'm not complaining, I'm happy it's working like that but I want to know if this was intentional or am I in a unique situation.
My system specs are in my signature.
I couldn't recall which USB port my UPS was reporting on so I picked one at random (/dev/ugen0.1) and popped into a shell and entered the following
Code:
[root@freenas] ~# upsc -l ups
Code:
[root@freenas] ~# uspc ups battery.charge: 100 battery.charge.low: 10 battery.charge.warning: 50 battery.date: 2001/09/25 battery.mfr.date: 2011/03/09 battery.runtime: 4192 battery.runtime.low: 120 battery.type: PbAc battery.voltage: 27.3 battery.voltage.nominal: 24.0 device.mfr: American Power Conversion device.model: Back-UPS BR1000G device.serial: 3B1111X16679 device.type: ups driver.name: usbhid-ups driver.parameter.pollfreq: 30 driver.parameter.pollinterval: 2 driver.parameter.port: /dev/ugen0.1 driver.version: 2.7.1 driver.version.data: APC HID 0.95 driver.version.internal: 0.38 input.sensitivity: medium input.transfer.high: 147 input.transfer.low: 88 input.transfer.reason: input voltage out of range input.voltage: 122.0 input.voltage.nominal: 120 ups.beeper.status: disabled ups.delay.shutdown: 20 ups.firmware: 868.L2 .D ups.firmware.aux: L2 ups.load: 15 ups.mfr: American Power Conversion ups.mfr.date: 2011/03/09 ups.model: Back-UPS BR1000G ups.productid: 0002 ups.realpower.nominal: 600 ups.serial: 3B1111X16679 ups.status: OL ups.test.result: No test initiated ups.timer.reboot: 0 ups.timer.shutdown: -1 ups.vendorid: 051d
And as you can see it returned all my UPS data and it was communicating just fine with the UPS. So it looks like I got lucky. Oh, the driver is usbhid-ups for my particular unit.
But wait, too good to be true, so I reconfigured to port (/dev/ugen5.1) and it works as well. I reconfigured to six of the nine USB ports and they all worked fine. I just finished running to the basement and pulled the USB cord to find out what the port number really was (/dev/ugen0.2) and configured appropriately because I don't know if this is a fluke or something that will be supported from here on out.
Now I'm not complaining, I'm happy it's working like that but I want to know if this was intentional or am I in a unique situation.
My system specs are in my signature.