Changeset 9674476 in mainline


Ignore:
Timestamp:
2011-09-20T20:55:06Z (12 years ago)
Author:
Vojtech Horky <vojtechhorky@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
4bb7ffe
Parents:
7d364fb8
Message:

Add Logitech Wireless as virtual USB HID (#349)

Issue (copy from Trac):
When testing the USB framework (mainline,1035) on my
desktop machine, I hit the following malloc assertion
in the usbhid task when having moved the mouse for
the first time after it attached:

assert_abort+93
malloc_area+1021
malloc_internal+198
malloc+32
usb_hid_report_path_append_item+23
usb_hid_report_get_sibling+124
usb_mouse_polling_callback+1000
usb_hid_polling_callback+158
—end of issue description

The device causing the trouble is
046d:c52b Logitech, Inc. Unifying Receiver
its interface 1 (mouse).

The virtual USB HID simulates plug-in of the interface.
That currently causes an assertion failure in usbhid driver
in a reproducible way (i.e. without having that particular
piece of hardware).
Following revisions shall fix the bug ;-).

Location:
uspace/app/vuhid
Files:
1 added
2 edited

Legend:

Unmodified
Added
Removed
  • uspace/app/vuhid/Makefile

    r7d364fb8 r9674476  
    4747
    4848SOURCES_INTERFACES = \
    49         hids/bootkbd.c
     49        hids/bootkbd.c \
     50        hids/logitech_wireless.c
    5051
    5152SOURCES = \
  • uspace/app/vuhid/ifaces.c

    r7d364fb8 r9674476  
    3838
    3939extern vuhid_interface_t vuhid_interface_bootkbd;
     40extern vuhid_interface_t vuhid_interface_logitech_wireless_1;
    4041
    4142vuhid_interface_t *available_hid_interfaces[] = {
    4243        &vuhid_interface_bootkbd,
     44        &vuhid_interface_logitech_wireless_1,
    4345        NULL
    4446};
Note: See TracChangeset for help on using the changeset viewer.