From: Sergey Vlasov <vsu@altlinux.ru> To: community@altlinux.ru Subject: [Comm] Re: APC back-ups CS on USB Date: Wed, 23 Apr 2003 14:19:22 +0400 Message-ID: <20030423141922.0959f807.vsu@altlinux.ru> (raw) In-Reply-To: <3EA60F18.6040406@kaznaufk.amur.ru> On Wed, 23 Apr 2003 13:57:12 +1000 Oleg Sukhanov <bh@kaznaufk.amur.ru> wrote: > Evgeny Yugov пишет: > > > OS> Как подключить управление APC back-ups CS через USB? > > OS> Что прописать в apcupsd.conf/DEVICE? > > OS> Система - чистый Мастер-2.2 > > UPSCABLE usb > > UPSTYPE usb > > DEVICE /dev/usb/hiddev0 Лучше DEVICE /dev/usb/hiddev[0-9] (хотя это может не пройти в той версии...). Вообще с apcupsd-3.10.5 у меня CS 500 заработал. Команда на выключение тоже работает, но после исправления багов в apcupsd и в ядре. > Воз и ныне там. > > 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 У меня работало с 2.4.20-alt7-up (но для выключения его надо было ещё патчить). Есть возможность попробовать на 2.4.x? (Возможно, в 2.2.x USB-драйверы устарели.)
next prev parent reply other threads:[~2003-04-23 10:19 UTC|newest] Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top 2003-04-23 1:38 [Comm] " Oleg Sukhanov 2003-04-23 2:18 ` Evgeny Yugov 2003-04-23 3:57 ` Oleg Sukhanov 2003-04-23 5:23 ` Dmitry S Kiselev 2003-04-23 10:19 ` Sergey Vlasov [this message] 2003-04-24 1:04 ` [Comm] " Oleg Sukhanov 2003-04-24 11:07 ` Sergey Vlasov
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=20030423141922.0959f807.vsu@altlinux.ru \ --to=vsu@altlinux.ru \ --cc=community@altlinux.ru \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: link
ALT Linux Community general discussions This inbox may be cloned and mirrored by anyone: git clone --mirror http://lore.altlinux.org/community/0 community/git/0.git # If you have public-inbox 1.1+ installed, you may # initialize and index your mirror using the following commands: public-inbox-init -V2 community community/ http://lore.altlinux.org/community \ mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com public-inbox-index community Example config snippet for mirrors. Newsgroup available over NNTP: nntp://lore.altlinux.org/org.altlinux.lists.community AGPL code for this site: git clone https://public-inbox.org/public-inbox.git