kern/117025: Pwcbsd-1.4.0 + New USBStack not working
raaf at zen.mooo.com
Tue Oct 9 20:40:03 PDT 2007
The following reply was made to PR kern/117025; it has been noted by GNATS.
From: Raaf <raaf at zen.mooo.com>
To: Ganael LAPLANCHE <ganael.laplanche at martymac.com>
Cc: bug-followup at 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
>> 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?
> 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.
More information about the freebsd-bugs