From: Sergey Vlasov <vsu@altlinux.ru> To: community@lists.altlinux.org Subject: Re: [Comm] nut + usb Date: Tue, 27 Mar 2007 20:10:06 +0400 Message-ID: <20070327161006.GA6618@newmaster.mivlgu.local> (raw) In-Reply-To: <46093A69.8040302@aaanet.ru> [-- Attachment #1: Type: text/plain, Size: 1309 bytes --] On Tue, Mar 27, 2007 at 07:38:17PM +0400, Igo wrote: > есть ALM2.4 ippon подключенный через USB [...] > Bus 002 Device 002: ID 0665:5161 Насколько мне известно, в настоящий момент подключение UPS Ippon через USB не поддерживается ничем, кроме, возможно, прилагаемой софтины ужасного вида (Java + JNI-библиотеки для доступа к портам USB и COM); впрочем, я не проверял, работает ли там USB именно под Linux. Устройство 0665:5161 имеет класс HID (это можно наблюдать в выводе lsusb -v), который вроде бы и должны иметь UPS с интерфейсом USB. Однако на самом деле это не HID-UPS, а некий "Cypress Semiconductor USB to Serial" - выглядящий совершенно нестандартным образом преобразователь USB-COM, драйверов для которого пока нет. При подключении через COM-порт можно использовать либо драйвер Ippon, либо (в более новых версиях nut) ещё более универсальный драйвер megatec. Впрочем, все эти драйверы всё равно работают не идеально - базовые функции выполняются, но, например, процент заряда батареи сообщается весьма приблизительно (на самом деле UPS передаёт напряжение на батарее, которое драйвер пытается пересчитать в процент заряда, но это получается не всегда - например, настроек для 48-вольтовых батарей, используемых в Ippon SmartWinner 1500, в драйвере megatec нет вообще). [-- Attachment #2: Digital signature --] [-- Type: application/pgp-signature, Size: 189 bytes --]
next prev parent reply other threads:[~2007-03-27 16:10 UTC|newest] Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top 2007-03-27 15:38 Igo 2007-03-27 16:10 ` Sergey Vlasov [this message] 2007-03-28 5:17 ` Igo
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=20070327161006.GA6618@newmaster.mivlgu.local \ --to=vsu@altlinux.ru \ --cc=community@lists.altlinux.org \ /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