Re: Pb avec les ports serie
Thierry <lenaig@wanadoo.fr> wrote:
> J'ai essaye cuad0/1 ttyd0/1 sans succes ....
Mhhh ???
Extrait de apcupsd.conf Chez moi, ça marche avec /dev/cuad0, comme
indiqué en bas.
---------------------------------
#DEVICE <string> /dev/<serial port>
# name of your UPS device
#
# Here a table of the possible devices related with the UPS drivers.
#
# Driver Device Description
# dumb /dev/tty** Serial character device
# apcsmart /dev/tty** Serial character device
# usb <BLANK> A blank DEVICE setting enables
# autodetection, best choice for most
# installations.
# net hostname:port Network link to a master apcupsd
# through NIS
# snmp hostname:port:vendor:community
# SNMP Network link to an SNMP-enabled
# UPS device. Vendor is the MIB used by
# the UPS device: can be "APC" or "RFC"
# where APC is the powernet MIB and RFC
# is the IETF's rfc1628 UPS-MIB.
# Port is usually 161.
DEVICE /dev/cuad0
---------------------------------
--
XAv
We all need someone we can bleed on...
|