Trying multimedia/pwcbwd-1.4.1_6 I added a line at multimedia/pwcbsd/work/pwcbsd/pwc.c # diff pwc.c /root/pwc.c --normal 94a95 > {USB_VPI(0x093a, 0x2603, 720)}, /* Philips SPC500NC */ But the problem now is that pwcview don't recognize and "operation" mode for this camera. I try setting 720, but I'll try with others. # /usr/local/bin/pwcview Failed to access webcam: Not a directory *********************************************************** Make sure you have connected your webcam to the root hub or to a USB 1.1 hub, also check your dmesg for any errors. *********************************************************** At /var/log/messages: vinnix kernel: pwc0: Failed to set video mode to SIF_at_10 fps; return code = 20 vinnix kernel: pwc0: Failed to set video mode to QSIF_at_10 fps; return code = 20 Thanks, Vinícius On 10/4/09, Vinicius Abrahao <vinnix.bsd_at_gmail.com> wrote: > Hi Hans, > > Thanks for your help! I try to do exactly what you say, but without > success. > When I attach my camera I see at dmesg: > ugen2.3: <vendor 0x093a> at usbus2 > > Trying pwcview: > > #./pwcview -d /dev/ugen2.3 > Failed to access webcam: Operation not supported by device > *********************************************************** > Make sure you have connected your webcam to the root hub > or to a USB 1.1 hub, also check your dmesg for any errors. > *********************************************************** > > > What I'm doing wrong? > > Thanks again, > Best regards, > Vinícius > > On 9/13/09, Hans Petter Selasky <hselasky_at_c2i.net> wrote: >> On Sunday 13 September 2009 14:16:10 Vinicius Abrahao wrote: >>> Thanks Florent, >>> >>> That's it for sure. I recompile my kernel yesterday and now pwcbsd is >>> loading normally. >>> Therefore, now I see that pwc is the wrong driver for me. My webcam is >>> a Philips SPC500NC. >>> ID 093a:2603 Pixart Imaging, Inc. >>> >>> At Google I found that linux-gspca-kmod is the right driver for me. >>> But this seen broken as >>> pwcbsd was in the past. >> >> Hi, >> >> The closes you will currently get is: >> >> svn --username anonsvn --password anonsvn \ >> checkout svn://svn.turbocat.net/i4b/trunk/usbcam/ulinux >> >> As root: >> >> make fetch >> make patch >> make >> >> You manually have to patch: >> >> ee libv4l/v4l2-apps/libv4l/libv4lconvert/control/libv4lcontrol.c >> >> control/libv4lcontrol.c: In function 'v4lcontrol_vidioc_queryctrl': >> control/libv4lcontrol.c:586: error: '__u32' undeclared (first use in this >> function) >> control/libv4lcontrol.c:586: error: (Each undeclared identifier is >> reported >> only once >> control/libv4lcontrol.c:586: error: for each function it appears in.) >> control/libv4lcontrol.c:586: error: expected ';' before 'orig_id' >> control/libv4lcontrol.c:600: error: 'orig_id' undeclared (first use in >> this >> function) >> >> __u32 to uint32_t >> >> In the end: >> >> cd pwcview >> >> ./pwcview >> >> >> Should bring your webcam right up in userland though. >> >> --HPS >> >> >Received on Sun Oct 04 2009 - 14:26:14 UTC
This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:56 UTC