FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Debian > Debian User

 
 
LinkBack Thread Tools
 
Old 07-26-2010, 11:28 AM
Camaleón
 
Default COM-port (RS-232) problems

On Mon, 26 Jul 2010 14:02:26 +0300, Max Usachev wrote:

> 26.07.2010 12:11, Camaleón пишет:

>> Most likely a problem coming from:
>>
>> 1/ NUT has wrong permissions to access serial port
>>
> Permissions is Ok, couse I get errors when comment user = root.

You have to check udev rules.

http://blog.shadypixel.com/monitoring-a-ups-with-nut-on-debian-or-ubuntu-linux/

>>> [fsp]
>>> driver = apcsmart
>>>
>> ^^^^^^^^
>>
>> Are you sure this driver is the correct one for your UPS? :-?
>>
> I hope,

No "hoping" here :-), just review the list of NUT supported devices and
if yours is not listed, start trying with a generic one (i.e., "genericups")

> but apcupsd also doesn't work correct:
>
> 2010-07-26 17:00:31 apctest 3.14.8 (16 January 2010) debian 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
> mode.type = APCSMART_UPS
> Setting up the port ...
> apctest FATAL ERROR in smartsetup.c at line 184 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

I'd say "APC UPSs" are not very "generic" ("smart" models need special
serial -pin reversed- serial cable). Try with another driver.

> I think, it is general Kernel + COM-port problem

Anything in "/var/log/syslog" supporting that thinking? :-?

>> Additional data for your review:
>>
>> ***
>> [Nut-upsuser] FSP UPS not listed as supported, but seems to work... at
>> least a little...
>> http://lists.alioth.debian.org/pipermail/nut-upsuser/2010-
April/006023.html
>> ***
>>
> They use UPS with USB port.

Yep, and at least seems to be detected. BTW, you can also try asking there,
as in NUT list you'll receive updated device support information.

Greetings,

--
Camaleón


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: pan.2010.07.26.11.28.31@gmail.com">http://lists.debian.org/pan.2010.07.26.11.28.31@gmail.com
 

Thread Tools




All times are GMT. The time now is 06:55 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org