From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:36740) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Slyhl-0006NF-Oo for qemu-devel@nongnu.org; Tue, 03 Jul 2012 04:43:34 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Slyhh-000823-0L for qemu-devel@nongnu.org; Tue, 03 Jul 2012 04:43:29 -0400 Received: from goliath.siemens.de ([192.35.17.28]:27366) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Slyhg-00081c-N8 for qemu-devel@nongnu.org; Tue, 03 Jul 2012 04:43:24 -0400 Message-ID: <4FF2B0A8.1070806@siemens.com> Date: Tue, 03 Jul 2012 10:43:20 +0200 From: Jan Kiszka MIME-Version: 1.0 References: <1341245761-30942-1-git-send-email-kraxel@redhat.com> <4FF2A379.7040403@siemens.com> <4FF2AB70.5080307@redhat.com> In-Reply-To: <4FF2AB70.5080307@redhat.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH] usb: selective endpoint initialization List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Gerd Hoffmann Cc: "erik.rull@rdsoftware.de" , "qemu-devel@nongnu.org" 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