Brilliant!
I have recompiled the kernel and have the pwc.ko etc drivers loaded...
<6>Linux video capture interface: v2.00
<6>pwc: Philips webcam module version 10.0.12 loaded.
<6>pwc: Supports Philips PCA645/646, PCVC675/680/690,
PCVC720[40]/730/740/750 & PCVC830/840.
<6>pwc: Also supports the Askey VC010, various Logitech Quickcams, Samsung
MPC-C10 and MPC-C30,
<6>pwc: the Creative WebCam 5 & Pro Ex, SOTEC Afina Eye and Visionite
VCS-UC300 and VCS-UM100.
<7>pwc: Trace options: 0x0001
<6>usbcore: registered new interface driver Philips webcam
I have installed motion and I am having some great difficulties getting it
configured properly, I thought I had set the config properly, however no
images are captured. and I always get ... Motion going into daemon mode
xawtv, which i had used before, always fails my bitbake, is there anything I
am missing?
thank you again for your help.
Cheers,
Nikolaus
briany wrote:
>
> Assuming you want to use the pwc driver, it's actually pretty
> straightforward.
>
> The basic idea is to copy over the linux package recipe to
> user.collection, configure the kernel build to enable the drivers and
> rebuild the kernel. The recipe for the pwc drivers is already included in
> OE.
>
> I take it you have already built the kernel - if so you need to find the
> ./config file that the kernel build produced - do a find to track it down
> or elsewhere on this forum it will tell you where it should be.
>
> Once in the right directory do make ARCH=arm menuconfig - this will open
> up a menu based editor where you can change all the kernel options, in
> just the same way as with the buildroot approach -see below.
>
> Save the result which overwrites the ./config file.
>
> Then copy this file into your linux package in user.collection, renaming
> it "defconfig" and overwriting the existing defconfig file.
>
> Then rebuild the kernel - bitbake -c rebuild gumstix-kernel.
>
> This will get you a new kernel and produce the modules as ipk files. You
> can either carry on and rebuild the whole filesystem or just install the
> new kernel and install the modules with ipkg - there are a few
> dependencies that pwc needs but all of the ipks will be there.
>
> I assume if you are booting from a card you don't care that much about
> kernel size but you might have to increase the allowed maximum in the conf
> file otherwise the kernel build will complain.
>
> Once you have the new kernel and modules in, you can test it by plugging
> in the camera - my Philips webcam was recognised straight away.
>
> I have also built motion from the bitbake recipe with no problems and have
> that running a mini webserver on the Gumstix with pics from the camera.
>
> To be honest I thought this was going to be a real struggle but the
> opposite has been the case.
>
> Brian
>
>
>
> nptlnik wrote:
>>
>> Hello,
>> I am attempting to do the same thing with OpenEmbedded in bitbake, is
>> there any information that would help compile the files from there? I am
>> also using a custom kernel to boot from the mmc (uSD) card.
>>
>> Cheers,
>> Nikolaus
>>
>>
>>
>> Jnaneshwar Das wrote:
>>>
>>> Hi All,
>>>
>>> Someone asked earlier about packages which need to be enabled to get a
>>> USB
>>> Webcam to work on the verdex board. I just got my Webcam to work, so
>>> thought
>>> I'll jot down what I did.
>>>
>>> I am using a Logitech Quickcam Pro 4000 webcam. I used the Philips
>>> webcam
>>> driver for linux (pwc) and video4Linux. Details are available at
>>> http://www.saillard.org/linux/pwc/. The gumstix kernel source already
>>> has
>>> source for pwc. But the device driver has to be included in the kernel
>>> build. To do this I did the following:
>>>
>>> After building the buildroot, go to
>>> "gumstix-buildroot/build_arm_nofpu/linux-2.6.21gum" folder, and 'make
>>> menuconfig'.
>>>
>>> There are a few module dependencies for the pwc module to be enabled.
>>> Follow
>>> these steps
>>>
>>> 1) enable "Bus options (PCI, PCMCIA, EISA, MCA, ISA) ---> PCI
>>> Support" (this will enable the USB host module options)
>>> 2) enable "Device Drivers ---> Multimedia devices ---> Video For
>>> Linux"
>>> 3) enable "Device Drivers ---> Multimedia devices ---> Video For Linux
>>> ---> Video For Linux API ---> Video Capture Adapters ---> V4L USB
>>> devices
>>> ---> USB Philips Cameras (or driver of your choice of camera if it is
>>> listed)
>>> 4) save configuration file and exit. Go back to the 'gumstix-buildroot'
>>> folder and 'make'
>>>
>>> After 'make' completes, you will find the .ko files in,
>>> '/gumstix-buildroot/build_arm_nofpu/linux-2.6.21gum/drivers/media/video/pwc/'
>>> folder. You need to copy the pwc folder with all the .ko files to
>>> "/lib/modules/2.6.21gum/kernel/drivers/media/video/pwc".
>>>
>>> On the gumstix,
>>>
>>> gumstix # 'depmod -a'
>>> gumstix # modprobe pwc
>>>
>>> Now when you plug in the webcam and type 'dmesg', you should see
>>> something
>>> similar to the following.
>>> ---------
>>> hda: max request size: 128KiB
>>> hda: 2002896 sectors (1025 MB) w/1KiB Cache, CHS=1987/16/63
>>> hda: hda1
>>> eth0: no IPv6 routers present
>>> Linux video capture interface: v2.00
>>> pwc: Philips webcam module version 10.0.12 loaded.
>>> pwc: Supports Philips PCA645/646, PCVC675/680/690,
>>> PCVC720[40]/730/740/750 &
>>> PCVC830/840.
>>> pwc: Also supports the Askey VC010, various Logitech Quickcams, Samsung
>>> MPC-C10 and MPC-C30,
>>> pwc: the Creative WebCam 5 & Pro Ex, SOTEC Afina Eye and Visionite
>>> VCS-UC300
>>> and VCS-UM100.
>>> pwc: Trace options: 0x0001
>>> usbcore: registered new interface driver Philips webcam
>>> ---------------
>>>
>>> Regards
>>> JD
>>>
>>> -------------------------------------------------------------------------
>>> This SF.net email is sponsored by DB2 Express
>>> Download DB2 Express C - the FREE version of DB2 express and take
>>> control of your XML. No limits. Just data. Click to get it now.
>>> http://sourceforge.net/powerbar/db2/
>>> _______________________________________________
>>> gumstix-users mailing list
>>> gumstix-users@...
>>> https://lists.sourceforge.net/lists/listinfo/gumstix-users
>>>
>>>
>>
>>
>
>
--
View this message in context: http://www.nabble.com/Modules-for-USB-webcam-on-verdex-tp11423938p17709673.html
Sent from the Gumstix mailing list archive at Nabble.com.
|