* [d-kernel] [PATCH] Add report ID in HID SET_REPORT for APC USB UPSes
@ 2003-04-30 13:05 Sergey Vlasov
0 siblings, 0 replies; only message in thread
From: Sergey Vlasov @ 2003-04-30 13:05 UTC (permalink / raw)
To: devel-kernel
[-- 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 --]
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2003-04-30 13:05 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-04-30 13:05 [d-kernel] [PATCH] Add report ID in HID SET_REPORT for APC USB UPSes Sergey Vlasov
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