From owner-freebsd-bugs@FreeBSD.ORG Wed Oct 10 03:40:03 2007 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id AA8D116A417 for ; Wed, 10 Oct 2007 03:40:03 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 97DBB13C459 for ; Wed, 10 Oct 2007 03:40:03 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.1/8.14.1) with ESMTP id l9A3e2HU061237 for ; Wed, 10 Oct 2007 03:40:02 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.1/8.14.1/Submit) id l9A3e2q2061236; Wed, 10 Oct 2007 03:40:02 GMT (envelope-from gnats) Date: Wed, 10 Oct 2007 03:40:02 GMT Message-Id: <200710100340.l9A3e2q2061236@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org From: Raaf Cc: Subject: Re: kern/117025: Pwcbsd-1.4.0 + New USBStack not working X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Raaf List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 10 Oct 2007 03:40:03 -0000 The following reply was made to PR kern/117025; it has been noted by GNATS. From: Raaf To: Ganael LAPLANCHE Cc: bug-followup@FreeBSD.org Subject: Re: kern/117025: Pwcbsd-1.4.0 + New USBStack not working Date: Wed, 10 Oct 2007 05:32:06 +0200 Ganael LAPLANCHE wrote: > On Tue, 09 Oct 2007 19:47:29 +0200, Raaf wrote >> Hello, >> >> The pwcbsd port has just been updated to 1.4.1 which fixes a >> similar problem the driver has with uhci controllers on current. >> >> Can you check if this new version fixes your problem with the >> HPS stack? > > Hi, > > Thanks for your anwser ! > > Well, same message while plugging the cam : > > Oct 9 20:38:11 home kernel: usbd_fill_iface_data: invalid wMaxPacketSize, addr=125! > [...] > > But now, I can start pwcview and see myself (is /that/ me ?). Unfortunately, I > cannot set fps (-f option). Any attempt leads to this message : > > % pwcview -f 25 > > Failed to set webcam to: 320x240 (sif) at 25 fps (Resource deadlock avoided) > > in /var/log/messages : > Oct 9 20:42:05 home kernel: pwc0: Failed to set alternate interface to: 6 (11) > 11 is the error code returned by the call to usbd_set_interface(). With the FreeBSD USB stack 11 means USBD_NO_POWER. I don't know if it's the same with the HPS stack. Anyway, since the pwcbsd driver was designed for the official FreeBSD USB stack and not for the HPS USB stack, i can not really help you with it. In fact i'm surprised that you somehow managed to get the pwcbsd driver to compile and run with the HPS stack.