From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Message-ID: <3EA60F18.6040406@kaznaufk.amur.ru> Date: Wed, 23 Apr 2003 13:57:12 +1000 From: Oleg Sukhanov User-Agent: Mozilla/5.0 (X11; U; Linux i686; ru-RU; rv:1.3) Gecko/20030331 X-Accept-Language: ru-ru, ru MIME-Version: 1.0 To: community@altlinux.ru Subject: Re: [Comm] APC back-ups CS on USB References: <3EA5EE8E.8070603@kaznaufk.amur.ru> <119150156022.20030423091825@scs-900.ru> In-Reply-To: <119150156022.20030423091825@scs-900.ru> Content-Type: text/plain; charset=KOI8-R; format=flowed Content-Transfer-Encoding: 8bit Sender: community-admin@altlinux.ru Errors-To: community-admin@altlinux.ru X-BeenThere: community@altlinux.ru X-Mailman-Version: 2.0.9 Precedence: bulk Reply-To: community@altlinux.ru List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: Archived-At: List-Archive: List-Post: Evgeny Yugov пишет: > OS> Как подключить управление APC back-ups CS через USB? > OS> Что прописать в apcupsd.conf/DEVICE? > OS> Система - чистый Мастер-2.2 > UPSCABLE usb > UPSTYPE usb > DEVICE /dev/usb/hiddev0 Воз и ныне там. Apr 22 13:09:34 gate12 apcupsd: apcupsd FATAL ERROR in linux-usb.c at line 610 Apr 22 13:09:34 gate12 apcupsd: Cannot open UPS device Apr 22 13:09:34 gate12 apcupsd[1629]: apcupsd FATAL ERROR in linux-usb.c at line 610 Cannot open UPS device [root@gate12 log]# lsmod Module Size Used by nls_koi8-r 3384 1 (autoclean) isofs 16732 1 (autoclean) ide-cd 23472 1 (autoclean) cdrom 27388 0 (autoclean) [ide-cd] sis900 10632 1 (autoclean) keybdev 1728 0 (unused) mousedev 3664 0 (unused) hid 11372 0 (unused) input 2976 0 [keybdev mousedev hid] usb-ohci 12304 0 (unused) usbcore 45672 1 [hid usb-ohci] agpgart 24508 0 (unused) [root@gate12 log]# cat /proc/bus/usb/devices T: Bus=02 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#= 1 Spd=12 MxCh= 3 B: Alloc= 0/900 us ( 0%), #Int= 0, #Iso= 0 D: Ver= 1.10 Cls=09(hub ) Sub=00 Prot=00 MxPS= 8 #Cfgs= 1 P: Vendor=0000 ProdID=0000 Rev= 0.00 S: Product=USB OHCI Root Hub S: SerialNumber=c8043000 C:* #Ifs= 1 Cfg#= 1 Atr=40 MxPwr= 0mA I: If#= 0 Alt= 0 #EPs= 1 Cls=09(hub ) Sub=00 Prot=00 Driver=hub E: Ad=81(I) Atr=03(Int.) MxPS= 2 Ivl=255ms T: Bus=01 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#= 1 Spd=12 MxCh= 2 B: Alloc= 0/900 us ( 0%), #Int= 0, #Iso= 0 D: Ver= 1.10 Cls=09(hub ) Sub=00 Prot=00 MxPS= 8 #Cfgs= 1 P: Vendor=0000 ProdID=0000 Rev= 0.00 S: Product=USB OHCI Root Hub S: SerialNumber=c8041000 C:* #Ifs= 1 Cfg#= 1 Atr=40 MxPwr= 0mA I: If#= 0 Alt= 0 #EPs= 1 Cls=09(hub ) Sub=00 Prot=00 Driver=hub E: Ad=81(I) Atr=03(Int.) MxPS= 2 Ivl=255ms T: Bus=01 Lev=01 Prnt=01 Port=01 Cnt=01 Dev#= 2 Spd=1.5 MxCh= 0 D: Ver= 1.10 Cls=00(>ifc ) Sub=00 Prot=00 MxPS= 8 #Cfgs= 1 P: Vendor=051d ProdID=0002 Rev= 1.00 S: Manufacturer=American Power Conversion S: Product=Back-UPS 500 FW: 6.5.I USB FW: c1 S: SerialNumber=JB0246056325 C:* #Ifs= 1 Cfg#= 1 Atr=a0 MxPwr= 30mA I: If#= 0 Alt= 0 #EPs= 1 Cls=03(HID ) Sub=00 Prot=00 Driver=hid E: Ad=81(I) Atr=03(Int.) MxPS= 8 Ivl= 10ms [root@gate12 log]# uname -a Linux gate12.konst.kaznaufk.amur.ru 2.2.23-alt2-up-secure #1 Wed Dec 18 14:31:32 MSK 2002 i686 unknown unknown GNU/Linux > Кстати та версия что вы пользуете у нее не работаю сетизмы вроде... Они там не нужны. > попробуйте nut если получится завести отпишите плз. ;o) Я его по ком порту еще настроить не успел, некогда.