[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH] usb: selective endpoint initialization
From: |
Jan Kiszka |
Subject: |
Re: [Qemu-devel] [PATCH] usb: selective endpoint initialization |
Date: |
Tue, 03 Jul 2012 10:43:20 +0200 |
User-agent: |
Mozilla/5.0 (X11; U; Linux i686 (x86_64); de; rv:1.8.1.12) Gecko/20080226 SUSE/2.0.0.12-1.1 Thunderbird/2.0.0.12 Mnenhy/0.7.5.666 |
On 2012-07-03 10:21, Gerd Hoffmann wrote:
> On 07/03/12 09:47, Jan Kiszka wrote:
>> On 2012-07-02 18:16, Gerd Hoffmann wrote:
>>> Add support for (re-)initializing endpoints which belong to a specific
>>> interface only. Use this in usb-host when changing altsetting for an
>>> interface, so other interfaces are not disturbed.
>>>
>>
>> qemu-system-x86_64: /data/qemu/hw/usb/host-linux.c:1220:
>> usb_linux_update_endp_table: Assertion `usb_ep_get_type(&s->dev, pid,
>> ep) == 255' failed.
>>
>> Do you need a trace again?
>
> Don't think so. Alternative fix attached.
Looks good here. No crashes so far, sound is playing.
>
>> Interface Descriptor:
>> bInterfaceNumber 3
>> bInterfaceClass 3 Human Interface Device
>
> This interface is the one the packet comes from, guess the headset has
> some button(s) which this HID interface is intended for.
Yes, there are several buttons.
Thanks,
Jan
--
Siemens AG, Corporate Technology, CT RTC ITP SDP-DE
Corporate Competence Center Embedded Linux
Re: [Qemu-devel] [PATCH] usb: selective endpoint initialization, Erik Rull, 2012/07/05