From: Sergey Vlasov <vsu@altlinux.ru> To: devel-kernel@altlinux.ru Subject: [d-kernel] [PATCH] Add report ID in HID SET_REPORT for APC USB UPSes Date: Wed, 30 Apr 2003 17:05:03 +0400 Message-ID: <20030430170503.71081e04.vsu@altlinux.ru> (raw) [-- Attachment #1.1: Type: text/plain, Size: 671 bytes --] Hello! В процессе разбирательства с APC Back-UPS CS 500 выяснилось, что же ему надо для отключения по команде компьютера. Оказалось, что он хочет в пакете HID SET_REPORT идентификатор (Report ID) первым байтом. Прилагаемый патч (к 2.4.20-alt7) добавляет этот идентификатор для APC UPS (оказалось, что все они - по крайней мере, известные разработчикам apcupsd - имеют одинаковый device id), а также исправляет баг в обработке feature report (неправильно ставился тип в wValue). Лично проверено на APC Back-UPS CS 500; пишут, что работает и на BackUPS ES 350. С последними 2.4.21-pre не пробовал - месяц кончается, трафик съеден :-( -- Sergey Vlasov [-- Attachment #1.2: linux-2.4.20-alt-apc_usb_ups.patch --] [-- Type: application/octet-stream, Size: 2081 bytes --] [-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]
reply other threads:[~2003-04-30 13:05 UTC|newest] Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=20030430170503.71081e04.vsu@altlinux.ru \ --to=vsu@altlinux.ru \ --cc=devel-kernel@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 kernel packages development This inbox may be cloned and mirrored by anyone: git clone --mirror http://lore.altlinux.org/devel-kernel/0 devel-kernel/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 devel-kernel devel-kernel/ http://lore.altlinux.org/devel-kernel \ devel-kernel@altlinux.org devel-kernel@altlinux.ru devel-kernel@altlinux.com public-inbox-index devel-kernel Example config snippet for mirrors. Newsgroup available over NNTP: nntp://lore.altlinux.org/org.altlinux.lists.devel-kernel AGPL code for this site: git clone https://public-inbox.org/public-inbox.git