[Apcupsd-users] How to set up apcupsd with USB/RS-232 adapter
Brought to you by:
adk0212
From: Jan M. <me...@wo...> - 2006-10-10 23:15:03
|
Hi, I am attempting to connect APC UPS 1400 with an RS-232 port to a computer with USB ports only using Keyspan USB/Serial Adapter USA 19HS. From the apcupsd documentation and mailing list, it appears that the config file should have UPSCABLE smart UPSTYPE apcsmart DEVICE /dev/ttyUSB0 However, apctest reports: 2006-10-10 19:03:33 apctest 3.12.4 (19 August 2006) unknown Checking configuration ... Attached to driver: apcsmart sharenet.type = DISABLE cable.type = CUSTOM_SMART You are using a SMART cable type, so I'm entering SMART test mode Unknown mode.type: 11 Setting up the port ... apctest FATAL ERROR in smartsetup.c at line 174 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. apctest FATAL ERROR in smartsetup.c at line 174 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. apctest error termination completed What is the "Unknown mode.type: 11"? Can I debug this somehow or is the adapter simply not compatible? I should note that the UPS used to work with the current configuration when plugged into an RS232 port (obviously the DEVICE was different). Thank you, Jan |