From owner-freebsd-usb@FreeBSD.ORG Wed Dec 29 10:58:03 2004 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4A1F816A4CE for ; Wed, 29 Dec 2004 10:58:03 +0000 (GMT) Received: from 21322530218.direct.eti.at (21322530218.direct.eti.at [213.225.30.218]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0E51D43D31 for ; Wed, 29 Dec 2004 10:58:02 +0000 (GMT) (envelope-from tilman@arved.at) Received: from jim.arved.de (localhost [127.0.0.1])iBTAw00m070835 for ; Wed, 29 Dec 2004 11:58:00 +0100 (CET) (envelope-from tilman@arved.at) Received: (from arved@localhost) by jim.arved.de (8.13.1/8.13.1/Submit) id iBTAw0md070834 for freebsd-usb@FreeBSD.org; Wed, 29 Dec 2004 11:58:00 +0100 (CET) (envelope-from tilman@arved.at) X-Authentication-Warning: jim.arved.de: arved set sender to tilman@arved.at using -f Date: Wed, 29 Dec 2004 11:58:00 +0100 From: Tilman Linneweh To: freebsd-usb@FreeBSD.org Message-ID: <20041229105800.GS687@arved.at> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4.2.1i Subject: Latest uaudio commits break Logitech USB Headset X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 29 Dec 2004 10:58:03 -0000 Hi, I just updated to yesterdays CURRENT to try the latest changes to uaudio with my Logitech USB headset. RELENG_4,5 panic if the device is plugged in on boot, but sound works if it is plugged in later. CURRENT now doesn't panic anmyore, but the device doesn't work anymore: Here is an excerpt of the USB/pcm components on my system: uhci0: port 0xb400-0xb41f irq 21 at device 16.0 on pci0 uhci0: [GIANT-LOCKED] usb0: on uhci0 usb0: USB revision 1.0 uhub0: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub0: 2 ports with 2 removable, self powered ums0: Logitech USB-PS/2 Mouse M-BA47, rev 1.00/1.10, addr 2, iclass 3/1 ums0: 4 buttons and Z dir. uhci1: port 0xb800-0xb81f irq 21 at device 16.1 on pci0 uhci1: [GIANT-LOCKED] usb1: on uhci1 usb1: USB revision 1.0 uhub1: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub1: 2 ports with 2 removable, self powered uhci2: port 0xc000-0xc01f irq 21 at device 16.2 on pci0 uhci2: [GIANT-LOCKED] usb2: on uhci2 usb2: USB revision 1.0 uhub2: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub2: 2 ports with 2 removable, self powered uaudio0: Logitech Logitech USB Headset, rev 1.10/1.13, addr 2 uaudio0: audio rev 1.00 pcm0: on uaudio0 pcm0: chn_init(pcm0:play:0) failed: err = 19 pcm0: pcm_chn_create(ua_chan, 1, 0xffffff003d8ef600) failed pcm0: chn_init(pcm0:record:0) failed: err = 19 pcm0: pcm_chn_create(ua_chan, -1, 0xffffff003d8ef600) failed uhid0: Logitech Logitech USB Headset, rev 1.10/1.13, addr 2, iclass 1/1 uhci3: port 0xc400-0xc41f irq 21 at device 16.3 on pci0 uhci3: [GIANT-LOCKED] usb3: on uhci3 usb3: USB revision 1.0 uhub3: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub3: 2 ports with 2 removable, self powered ucom0: Prolific Technology PL2303 Serial adapter (ATEN/IOGEAR UC232A), rev 1.10/2.02, addr 2 ehci0: mem 0xcff00000-0xcff000ff irq 21 at device 16.4 on pci0 ehci0: [GIANT-LOCKED] ehci_pci_attach: companion usb0 ehci_pci_attach: companion usb1 ehci_pci_attach: companion usb2 ehci_pci_attach: companion usb3 usb4: EHCI version 1.0 usb4: companion controllers, 2 ports each: usb0 usb1 usb2 usb3 usb4: on ehci0 usb4: USB revision 2.0 uhub4: VIA EHCI root hub, class 9/0, rev 2.00/1.00, addr 1 uhub4: single transaction translator uhub4: 8 ports with 8 removable, self powered pcm1: port 0xc800-0xc8ff irq 22 at device 17.5 on pci0 pcm1: [GIANT-LOCKED] pcm1: ums0: at uhub0 port 1 (addr 2) disconnected ums0: detached uaudio0: at uhub2 port 2 (addr 2) disconnected pcm0: detached uaudio0: detached uhid0: at uhub2 port 2 (addr 2) disconnected uhid0: detached ucom0: at uhub3 port 1 (addr 2) disconnected All threads purged from cuaU0 All threads purged from ttyU0 ucom0: detached ums0: Logitech USB-PS/2 Mouse M-BA47, rev 1.00/1.10, addr 2, iclass 3/1 ums0: 4 buttons and Z dir. ucom0: Prolific Technology PL2303 Serial adapter (ATEN/IOGEAR UC232A), rev 1.10/2.02, addr 2 uaudio0: Logitech Logitech USB Headset, rev 1.10/1.13, addr 2 uaudio0: audio rev 1.00 pcm0: on uaudio0 pcm0: chn_init(pcm0:play:0) failed: err = 19 pcm0: pcm_chn_create(ua_chan, 1, 0xffffff0000e3b500) failed pcm0: chn_init(pcm0:record:0) failed: err = 19 pcm0: pcm_chn_create(ua_chan, -1, 0xffffff0000e3b500) failed uhid0: Logitech Logitech USB Headset, rev 1.10/1.13, addr 2, iclass 1/1 If I disconnect the device and reconnect it, i get the following: uaudio0: at uhub2 port 2 (addr 2) disconnected pcm0: unregister: mixer busy pcm0: unregister: mixer busy uhid0: at uhub2 port 2 (addr 2) disconnected uhid0: detached uaudio1: Logitech Logitech USB Headset, rev 1.10/1.13, addr 2 uaudio1: audio rev 1.00 pcm2: on uaudio1 pcm2: chn_init(pcm2:play:0) failed: err = 19 pcm2: pcm_chn_create(ua_chan, 1, 0xffffff002347a900) failed pcm2: chn_init(pcm2:record:0) failed: err = 19 pcm2: pcm_chn_create(ua_chan, -1, 0xffffff002347a900) failed uhid0: Logitech Logitech USB Headset, rev 1.10/1.13, addr 2, iclass 1/1 regards tilman