From: Maxim Tyurin <mrkooll@tdr.pibhe.com> To: community@altlinux.ru Subject: Re: [Comm] APC BackUPS USB Date: Tue, 19 Oct 2004 21:17:04 +0300 Message-ID: <m3d5zetvxb.fsf@mrkooll.tdr.pibhe.com> (raw) In-Reply-To: <20041019180409.GB2290@sirius.home> (Sergey Vlasov's message of "Tue, 19 Oct 2004 22:04:09 +0400") Sergey Vlasov <vsu@altlinux.ru> writes: > On Tue, Oct 19, 2004 at 06:23:02PM +0300, Maxim Tyurin wrote: >> Кому-то удалось заставить работать nut с APC BackUPS по USB кабелю? >> У меня оно вообще-то запустилось >> в ups.conf >> [APCBackUPS650] >> driver = hidups >> port = /dev/usb/hiddev0 >> >> запускаю upsdrv, upsd, upsmon >> >> Вроде работает и даже показывает состояние UPS по >> upsc APCBackUPS650@localhost >> battery.charge: 97 >> battery.runtime: 1080 >> battery.voltage: 13.3 >> driver.name: hidups >> driver.parameter.port: /dev/usb/hiddev0 >> driver.version: 2.0.0 >> ups.mfr: American Power Conversion >> ups.model: Back-UPS 500 FW: 6.4.I USB FW: c1 > > При этом на морде написано 650? Мда... Даже модель нормально не > прописали. Нее. Это таки 500-ка. Просто он пока стоит. Это BackUPS 500 CS > >> ups.serial: BB0323007816 >> ups.status: OL >> >> Тольк есть проблема: >> Если пропадает свет - падает драйвер >> в логах >> Oct 19 18:14:07 testlin kernel: hub.c: already running port 1 disabled by hub (EMI?), re-enabling... > > Видимо, помехи, возникшей при переключении на питание от батарей, > оказалось достаточно, чтобы нарушить связь по USB. > >> Oct 19 18:14:07 testlin kernel: usb.c: USB disconnect on device 00:1d.1-1 address 2 >> Oct 19 18:14:08 testlin kernel: hub.c: new USB device 00:1d.1-1, assigned address 3 >> Oct 19 18:14:08 testlin kernel: usb-uhci.c: interrupt, status 3, frame# 505 >> Oct 19 18:14:08 testlin hidups[2108]: read: Input/output error >> Oct 19 18:14:08 testlin upsd[2038]: UPS [APCBackUPS650] disconnected - check driver >> Oct 19 18:14:08 testlin upsd[2038]: Data for UPS [APCBackUPS650] is stale - check driver >> Oct 19 18:14:09 testlin kernel: hiddev0: USB HID v1.00 Device [American Power Conversion Back-UPS 500 FW: 6.4.I USB FW: c1 ] on usb3:3.0 >> Oct 19 18:14:09 testlin upsmon[1292]: Poll UPS [APCBackUPS650@localhost] failed - Driver not connected >> Oct 19 18:14:09 testlin upsmon[1292]: Communications with UPS APCBackUPS650@localhost lost >> >> Ну и соответственно комп выключать не собирается. >> Система - Master 2.4 >> Что подкрутить? > > Я пробовал работать с BackUPS 500 CS - тоже работает ненадёжно. > Единственное, что тут можно пытаться сделать - добавить в драйвер > hidups из nut возможность восстановления связи с устройством (после > ошибки нужно закрывать /dev/usb/hiddev* и периодически пытаться > открыть его снова, чтобы вновь подключившееся устройство > обнаружилось). Спасибо попробую. Самое интересное что поставил 650-ку Так она работает без таких приколов. А с 500-ками вот такая <censored> Кроме того upsc говорит на него что модель ups.model: Back-UPS 650CS а для 500-ки ups.model: Back-UPS 500 (без CS) хотя, по идее, различаются только емкостью аккумуляторов. P.S. Больше не будем мелких UPS брать. -- With Best Regards, Maxim Tyurin aka Bungarus JID: MrKooll@jabber.pibhe.com
next prev parent reply other threads:[~2004-10-19 18:17 UTC|newest] Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top 2004-10-19 15:23 Maxim Tyurin 2004-10-19 18:04 ` Sergey Vlasov 2004-10-19 18:17 ` Maxim Tyurin [this message] 2004-10-20 5:35 ` Fireball
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=m3d5zetvxb.fsf@mrkooll.tdr.pibhe.com \ --to=mrkooll@tdr.pibhe.com \ --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