Twitter iPhone pliant OnePlus 11 PS5 Disney+ Orange Livebox Windows 11

mandriva spring et ports serie invisibles dans harddrake

2 réponses
Avatar
jean-jacques
Bonjour.
J'ai deux ports serie com1 com2 sur mon pc.
Un dmesg m'indique bien ces deux ports.
Serial: 8250/16550 driver $Revision: 1.90 $ 4 ports, IRQ sharing enabled
serial8250: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
serial8250: ttyS1 at I/O 0x2f8 (irq = 3) is a 16550A
Les periph sur ces deux ports sont invisibles au boot.
hardrake ne montre pas de paragraphe relatif aux ports serie.
Sur com1 j'ai un modem rtc olitec qui me sert pour faxer et pour xtel depuis
longtemps.
Je viens d'acquerir un onduleur apc smart-ups que je mets en com2 (cable de
la marque pour la jonction).
Rien dans dmeg et le mcc après install de nut ne détecte aucun onduleur.
Je fais une conf manuel mais au boot suivant aucune détection malgré que le
pc soit alimenté par l'apc (ligne interactive smart-ups).
Je désinstalle nut et urpmi apcupsd puis:
[root@tux cavelier2]# apctest
2007-11-05 15:05:33 apctest 3.14.2 (15 September 2007) mandrake
Checking configuration ...
Attached to driver: usb
sharenet.type = DISABLE
cable.type = USB_CABLE

You are using a USB cable type, so I'm entering USB test mode
mode.type = USB_UPS
Setting up the port ...
apctest FATAL ERROR in linux-usb.c at line 604
Cannot find UPS device --
For a link to detailed USB trouble shooting information,
please see <http://www.apcupsd.com/support.html>.
apctest error termination completed
?
--
cordialement jean-jacques.
Ce message a été écrit sur un système libre mandriva
"Tant que l'homme sera mortel, il ne pourra pas être totalement
décontracté ."
Woody Allen.

2 réponses

Avatar
jean-jacques
jean-jacques wrote:

Bonjour.
J'ai deux ports serie com1 com2 sur mon pc.
Un dmesg m'indique bien ces deux ports.
Serial: 8250/16550 driver $Revision: 1.90 $ 4 ports, IRQ sharing enabled
serial8250: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
serial8250: ttyS1 at I/O 0x2f8 (irq = 3) is a 16550A
Les periph sur ces deux ports sont invisibles au boot.
hardrake ne montre pas de paragraphe relatif aux ports serie.
Sur com1 j'ai un modem rtc olitec qui me sert pour faxer et pour xtel
depuis longtemps.
Je viens d'acquerir un onduleur apc smart-ups que je mets en com2 (cable
de la marque pour la jonction).
Rien dans dmeg et le mcc après install de nut ne détecte aucun onduleur.
Je fais une conf manuel mais au boot suivant aucune détection malgré que
le pc soit alimenté par l'apc (ligne interactive smart-ups).
Je désinstalle nut et urpmi apcupsd puis:
[ cavelier2]# apctest
2007-11-05 15:05:33 apctest 3.14.2 (15 September 2007) mandrake
Checking configuration ...
Attached to driver: usb
sharenet.type = DISABLE
cable.type = USB_CABLE

You are using a USB cable type, so I'm entering USB test mode
mode.type = USB_UPS
Setting up the port ...
apctest FATAL ERROR in linux-usb.c at line 604
Cannot find UPS device --
For a link to detailed USB trouble shooting information,
please see <http://www.apcupsd.com/support.html>.
apctest error termination completed


La détection semble correct avec apcupsd.
Un man apcupsd est très utile(Wink)) )J'y ai lu ceci.
It may be necessary to change the configuration information in the file
"/etc/apcupsd/apcupsd.conf" to meet your needs and to correspond to your
configuration."
J'ai donc entré manuellement la ref du cable (940-0024C) et le port serie
ttyS0 dans /etc/apcupsd/apcupsd.conf.
La commande apctest fournit alors les renseignements sur l'ups branché.
UPS Status: 08
Line quality: FF
Reason for last transfer to batteries: S
Self-Test Status: NO
Line Voltage: 236.6
Line Voltage Max: 240.5
Line Voltage Min: 235.3
Output Voltage: 236.6
Batt level percent: 087.0
Batt voltage: 27.60
UPS Load: 017.1
Line freq: 50.00
Runtime left: 0067
UPS Internal temp: 039.6
Dip switch settings: 00
Register 1: 00
Register 2: 00
Register 3: 00
Sensitivity: L
Wakeup delay: 000
Sleep delay: 020
Low transfer voltage: 196
High transfer voltage: 253
Batt charge for return: 00
Alarm status: 0
Low battery shutdown level: 02
UPS Name: UPS_IDEN
UPS Self test interval: 336
UPS manufacture date: 06/13/02
UPS serial number: QS0224211304
Date battery replaced: 06/13/02
Output voltage when on batteries: 230
Nominal battery voltage: 024
Percent humidity: NA
Ambient temperature: NA
Firmware revision: 50.14.I
Number of external batteries installed: 000
Number of bad batteries installed: NA
UPS model as defined by UPS: GWI
UPS EPROM capabilities string:
uD43132135138129uM43229234239224uA43110112114108uI43253264271280lD43103100097106lM43177172168182lA43090092081085lI43196188208204e44200155090oI43230240220225oD13115oJ13100oM13208s441HMLLq44202050710p443020180300600k4410TLNr443000060180300E443336168ON
OFF
The EPROM string is 253 characters long!
Hours since last self test: NA

Il est dommage que la détection automatique de la mandriva spring soit
inopérante avec nut ;-((

--
cordialement jean-jacques.
Ce message a été écrit sur un système libre mandriva
"Tant que l'homme sera mortel, il ne pourra pas être totalement
décontracté ."
Woody Allen.

Avatar
jean-jacques
jean-jacques wrote:

Bonjour.
J'ai deux ports serie com1 com2 sur mon pc.
Un dmesg m'indique bien ces deux ports.
Serial: 8250/16550 driver $Revision: 1.90 $ 4 ports, IRQ sharing enabled
serial8250: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
serial8250: ttyS1 at I/O 0x2f8 (irq = 3) is a 16550A
Les periph sur ces deux ports sont invisibles au boot.
hardrake ne montre pas de paragraphe relatif aux ports serie.
Sur com1 j'ai un modem rtc olitec qui me sert pour faxer et pour xtel
depuis longtemps.
Je viens d'acquerir un onduleur apc smart-ups que je mets en com2 (cable
de la marque pour la jonction).
Rien dans dmeg et le mcc après install de nut ne détecte aucun onduleur.
Je fais une conf manuel mais au boot suivant aucune détection malgré que
le pc soit alimenté par l'apc (ligne interactive smart-ups).
Je désinstalle nut et urpmi apcupsd puis:
[ cavelier2]# apctest
2007-11-05 15:05:33 apctest 3.14.2 (15 September 2007) mandrake
Checking configuration ...
Attached to driver: usb
sharenet.type = DISABLE
cable.type = USB_CABLE

You are using a USB cable type, so I'm entering USB test mode
mode.type = USB_UPS
Setting up the port ...
apctest FATAL ERROR in linux-usb.c at line 604
Cannot find UPS device --
For a link to detailed USB trouble shooting information,
please see <http://www.apcupsd.com/support.html>.
apctest error termination completed


La détection semble correct avec apcupsd.
Un man apcupsd est très utile(;-)))) )J'y ai lu ceci.
It may be necessary to change the configuration information in the file
"/etc/apcupsd/apcupsd.conf" to meet your needs and to correspond to your
configuration."
J'ai donc entré manuellement la ref du cable (940-0024C) et le port serie
ttyS0 dans /etc/apcupsd/apcupsd.conf.
La commande apctest fournit alors les renseignements sur l'ups branché.
UPS Status: 08
Line quality: FF
Reason for last transfer to batteries: S
Self-Test Status: NO
Line Voltage: 236.6
Line Voltage Max: 240.5
Line Voltage Min: 235.3
Output Voltage: 236.6
Batt level percent: 087.0
Batt voltage: 27.60
UPS Load: 017.1
Line freq: 50.00
Runtime left: 0067
UPS Internal temp: 039.6
Dip switch settings: 00
Register 1: 00
Register 2: 00
Register 3: 00
Sensitivity: L
Wakeup delay: 000
Sleep delay: 020
Low transfer voltage: 196
High transfer voltage: 253
Batt charge for return: 00
Alarm status: 0
Low battery shutdown level: 02
UPS Name: UPS_IDEN
UPS Self test interval: 336
UPS manufacture date: 06/13/02
UPS serial number: QS0224211304
Date battery replaced: 06/13/02
Output voltage when on batteries: 230
Nominal battery voltage: 024
Percent humidity: NA
Ambient temperature: NA
Firmware revision: 50.14.I
Number of external batteries installed: 000
Number of bad batteries installed: NA
UPS model as defined by UPS: GWI
UPS EPROM capabilities string:
uD43132135138129uM43229234239224uA43110112114108uI43253264271280lD43103100097106lM43177172168182lA43090092081085lI43196188208204e44200155090oI43230240220225oD13115oJ13100oM13208s441HMLLq44202050710p443020180300600k4410TLNr443000060180300E443336168ON
OFF
The EPROM string is 253 characters long!
Hours since last self test: NA

Il est dommage que la détection automatique de la mandriva spring soit
inopérante avec nut ;-((

--
cordialement jean-jacques.
Ce message a été écrit sur un système libre mandriva
"Tant que l'homme sera mortel, il ne pourra pas être totalement
décontracté ."
Woody Allen.