看板FreeBSD
标 题Re: 有关 APC SmartUPS 1000 安装
发信站元智大学风之塔 (Sun Sep 18 17:06:19 2005)
转信站ptt!ctu-reader!ctu-peer!news.nctu!nctumenews!news.ind.ntou!news.ntu!ne
※ 引述《[email protected] (生酒烟比师程工苦命)》之铭言:
> ※ 引述《[email protected] (~机器人没有昵称~)》之铭言:
> : apcupsd 3.10.17a
> : APC SmartUPS 1000 RM 2U
> : FreeBSD 4.10 跟 5.3 都试过
> : 两种设定方式
> : 用 com port 连线
> : UPSNAME SU1000
> : UPSCABLE smart
> : UPSTYPE smartups
> : DEVICE /dev/cuaa0
> : 错误讯息
> : PANIC! Cannot communicate with UPS via serial port.
> : Please make sure the port specified on the DEVICE directive is correct,
> : and that your cable specification on the UPSCABLE directive is correct.
> 确定线材是正确的吗?APC 配的线上面有编号,比对看看是不是 Smart Cable。
> 另外确定你的机器有 cuaa0,该不会 make kernel 时忘记了?:p
940-0024C 应该是这条 所以用 smart 应该可以
kernel 有加入 sio0 所以 cuaa0 应该可以用吧 @@
> : 用 usb 连线
> : UPSNAME SU1000
> : UPSCABLE usb
> : UPSTYPE usb
> 如果要用 USB 连接的话,UPSTYPE 要设定成 dumb,这是我试了很久的结果,
> 设定成其他的保证你试到死也抓不到。
我设定完了结果  ̄▽ ̄
You are using a USB cable type, so I'm entering USB test mode
Unknown mode.type: 1
Creating the device lock file ...
Hello, this is the apcupsd Cable Test program.
This part of apctest is for testing USB UPSes.
Getting UPS capabilities...Segmentation fault (core dumped)
> : DEVICE /dev/uhid0
> device 的部份,我在 FreeBSD 5.x上面是抓 /dev/usb0,没抓到 uhid0。
--
※ Origin: 元智大学 风之塔 <bbs.yzu.edu.tw>
※ From : bbs.yzu.edu.tw
※ X-Info: Re: 有关 APC SmartUPS 1000 安装
※ X-Sign: 11IQBGBcAnFJDFNWqgLQ (05/09/18 17:06:19 )