It didn't seem to create the modules for me either.  If it did, I can't find them either.

On Mon, Jun 30, 2008 at 3:44 PM, Peter Vandrish <peter.vandrish@gmail.com> wrote:
Ok I managed to get that far, but the bitbake keeps failing because the kernel image is too big. The only way I can build it is if I include the drivers as modular in the kernel build.
If I do that, then on the Gumstix there is no option for an ipkg install of the pwc and v4l.
Thanks,
Pete


On Mon, Jun 30, 2008 at 1:00 PM, Peter Vandrish <peter.vandrish@gmail.com> wrote:
Thanks,
I will try that again later.



On Mon, Jun 30, 2008 at 12:26 PM, briany <byeomans@deloitte.co.uk> wrote:

I think you have the wrong .config file -  I should have been more specific
where to find it.

This thread should help you out.

http://www.nabble.com/Kernel-Hacking-td17348424.html#a17366839

I think this is where you will find the "right" .config file - the directory
will have connex, verdex etc in the name depending on your machine type:

tmp/work/gumstix-custom-connex-angstrom-linux-gnueabi/gumstix-kernel-2.6
.21-r1/linux-2.6.21/

Not sure about the precise name for you right now as don't have my build
machine to hand - but it will be in /tmp/work (not staging) and with a
directory structure /gumstix-kernel-version/linux-version.

This will be there assuming you have already bitbaked the kernel (eg by
building one of the standard images).

I hope make ARCH=arm menuconfig will work for you on this file! This process
will save a new version of the .config file in this directory.

You also want to have copied over the whole linux package directory from
com.gumstix.collection to user.collection. The defconfig file you are going
to overwrite with the saved .config file is the one for the kernel version
you are using (I assume this is 2.6.21) and gumstix variant (verdex, connex
etc).

Then when you rebuild the kernel this "custom" kernel configuration in
user.collection will be used - and the build should produce a new kernel
with the modules enabled and ipks with the *.ko modules in.


Brian





Peter Vandrish wrote:
>
> Oh yeah, I am still not really sure where to go from here.. pls help :S
>
>
> On Sun, Jun 29, 2008 at 12:22 AM, Peter Vandrish
> <peter.vandrish@gmail.com>
> wrote:
>
>> Ok I think I have found the kernel .config file.
>> Check out:
>> "/tmp/staging/gumstix-custom-verdex-angstrom-linux-gnueabi/kernel"
>> I am really new to OE... so gotta get the hang of this.
>>
>>
>> On Sat, Jun 28, 2008 at 6:42 PM, Stephen Farnsworth <earwig@byu.edu>
>> wrote:
>>
>>> --Quote--
>>> 3. Go into the directory where the previously built kernel .config  file
>>> lives and do make ARCH=arm menuconfig.
>>>
>>> 4. follow through the steps exactly as for the documented buildroot
>>> approach
>>> to reconfigure the kernel build to add the various drivers (pwc and V4l
>>> etc)
>>> configured as modules.
>>> --/Quote--
>>>
>>> I have the same question.  Where is the previously built kernel .config?
>>> Is the old one that I need to replace
>>> packages/linux/gumstix-kernel-2.6.24/gumstix-custom-verdex/defconfig?
>>>
>>> Also, what do I have to do to reconfigure the kernel to add pwc and v4l?
>>>
>>> 2008/6/28 Peter Vandrish <peter.vandrish@gmail.com>:
>>>
>>> Hi Brian,
>>>> Where are the previous kernel .config files kept in OE?
>>>> Also, I do not find any defconfig files in my user.collection, was
>>>> there
>>>> something I was supposed to set up prior?
>>>> Thanks,
>>>> Peter
>>>>
>>>>
>>>> On Sat, Jun 28, 2008 at 12:46 AM, David Novick <dknovick@yahoo.com>
>>>> wrote:
>>>>
>>>>> I never got the chance that I wanted to get this working (had to put
>>>>> out
>>>>> some other fires at work).  My weekend is booked, but I'm going to sit
>>>>> down
>>>>> Monday morning and tackle this.  Let us know how it goes for you, if
>>>>> you get
>>>>> to it this weekend.
>>>>>
>>>>> David Novick
>>>>> dknovick@yahoo.com
>>>>>
>>>>>
>>>>> ----- Original Message ----
>>>>> From: Peter Vandrish <peter.vandrish@gmail.com>
>>>>> To: General mailing list for gumstix users. <
>>>>> gumstix-users@lists.sourceforge.net>
>>>>> Sent: Thursday, June 26, 2008 2:58:38 PM
>>>>> Subject: Re: [Gumstix-users] OE - V4Linux, PWC driver
>>>>>
>>>>> Hi David,
>>>>> How was your progress going with this? I really want to help but have
>>>>> not got around to it because I am in my senior year of UNI and it is
>>>>> pretty
>>>>> hectic. I will get on this over the weekend, if you have any area that
>>>>> I can
>>>>> help investigate I would be glad to.
>>>>> Thanks,
>>>>> Pete
>>>>>
>>>>> On Tue, Jun 24, 2008 at 3:03 PM, briany <byeomans@deloitte.co.uk>
>>>>> wrote:
>>>>>
>>>>>>
>>>>>> You will find the answers on this forum but it's probably not "step
>>>>>> by
>>>>>> step".
>>>>>> I am away at the moment but can post a blow by blow description in
>>>>>> the
>>>>>> next
>>>>>> few days if that would help.
>>>>>>
>>>>>> The basic idea is as follows:
>>>>>>
>>>>>> 1. You need to build the kernel under OE so you have the .config file
>>>>>> the
>>>>>> build produces.
>>>>>>
>>>>>> 2. Copy over the .bb recipe for the kernel build and associated files
>>>>>> into
>>>>>> user.collection (you are going to effectively edit the kernel build
>>>>>> so
>>>>>> you
>>>>>> don't want to mess up you base configuration).
>>>>>>
>>>>>> 3. Go into the directory where the previously built kernel .config
>>>>>>  file
>>>>>> lives and do make ARCH=arm menuconfig.
>>>>>>
>>>>>> 4. follow through the steps exactly as for the documented buildroot
>>>>>> approach
>>>>>> to reconfigure the kernel build to add the various drivers (pwc and
>>>>>> V4l
>>>>>> etc)
>>>>>> configured as modules.
>>>>>>
>>>>>> 5. Save the new configuration and copy the resulting .config file,
>>>>>> replacing
>>>>>> the defconfig file in your kernel build files in user.collection.
>>>>>>
>>>>>> 6. Rebuild the kernel - bitbake -c rebuild gumstix-kernel.
>>>>>>
>>>>>> 7. This will give you a new kernel with the appropriate modules
>>>>>> enabled
>>>>>> and
>>>>>> a set of ipks with the pwc module and 4 ( I think) other modules that
>>>>>> pwc
>>>>>> depends on.
>>>>>>
>>>>>> 8. Install the kernel and get your system running - then install the
>>>>>> ipks.
>>>>>> The package manager will tell you in which order they are needed.
>>>>>>
>>>>>> 9. Once installed (I think the installer does a depmod - a
>>>>>> automatically)
>>>>>> when you plug your camera in the module should load up and the camera
>>>>>> would
>>>>>> be recognised. I don't think the system will create the /dev/video0
>>>>>> device
>>>>>> until then.
>>>>>>
>>>>>> My system worked fine with the Philips spc900nc camera and can be
>>>>>> used
>>>>>> with
>>>>>> motion to put images on a webpage.
>>>>>>
>>>>>>
>>>>>> Brian
>>>>>>
>>>>>> Peter Vandrish wrote:
>>>>>> >
>>>>>> > I couldn't even get it to work in buildroot :(
>>>>>> > I was expecting the device file node "video0" to be created when I
>>>>>> > compiled
>>>>>> > the file-system but it was not there. And also when I performed the
>>>>>> > modprobe
>>>>>> > pwc the kernel dumped a stack trace and said something about not
>>>>>> allowing
>>>>>> > pwc.ko to be placed in ../video/pwc/
>>>>>> > If you get the thing to work in OE can you please give me a hint
>>>>>> about
>>>>>> > that
>>>>>> > if you see me repost to the forum with a similar question.
>>>>>> > Thanks,
>>>>>> > Pete
>>>>>> >
>>>>>> > On Mon, Jun 23, 2008 at 11:20 PM, Stephen Farnsworth
>>>>>> <earwig@byu.edu
>>>>>> >
>>>>>> > wrote:
>>>>>> >
>>>>>> >> I'm another person that soon will be trying to get the Logitech
>>>>>> Quickcam
>>>>>> >> Pro 4000 webcam working in oe too.  Had it working in buildroot,
>>>>>> but
>>>>>> >> couldn't get other things to work in buildroot, so trying oe.
>>>>>> >>
>>>>>> >> 2008/6/23 Peter Vandrish <peter.vandrish@gmail.com>:
>>>>>> >>
>>>>>> >> Thanks, but buildroot does not seem to work with my bluetooth
>>>>>> module
>>>>>> >> easily
>>>>>> >>> that is why I like OE.
>>>>>> >>> Pete
>>>>>> >>>
>>>>>> >>> On Mon, Jun 23, 2008 at 11:01 PM, David Novick
>>>>>> <dknovick@yahoo.com
>>>>>> >
>>>>>> >>> wrote:
>>>>>> >>>
>>>>>> >>>>  > Hi,
>>>>>> >>>> > Does anyone know of some clear step by step instructions for
>>>>>> setting
>>>>>> >>>> up
>>>>>> >>>> video 4 linux and the phillip webcam
>>>>>> >>>> > driver on OE?
>>>>>> >>>> > I just set up my OE environment yesterday and am not sure how
>>>>>> this
>>>>>> >>>> all
>>>>>> >>>> works and can't find a good guide.
>>>>>> >>>>
>>>>>> >>>> I'm in a similar boat (so to speak), and I just received my
>>>>>> webcams in
>>>>>> >>>> the mail.  There is this:
>>>>>> >>>> http://docwiki.gumstix.org/index.php/Video4linux
>>>>>> >>>>
>>>>>> >>>> for buildroot
>>>>>> >>>>
>>>>>> >>>>
>>>>>> >>>>
>>>>>> -------------------------------------------------------------------------
>>>>>> >>>> Check out the new SourceForge.net Marketplace.
>>>>>> >>>> It's the best place to buy or sell services for
>>>>>> >>>> just about anything Open Source.
>>>>>> >>>> http://sourceforge.net/services/buy/index.php
>>>>>> >>>> _______________________________________________
>>>>>> >>>> gumstix-users mailing list
>>>>>> >>>> gumstix-users@lists.sourceforge.net
>>>>>> >>>> https://lists.sourceforge.net/lists/listinfo/gumstix-users
>>>>>> >>>>
>>>>>> >>>>
>>>>>> >>>
>>>>>> >>>
>>>>>> -------------------------------------------------------------------------
>>>>>> >>> Check out the new SourceForge.net Marketplace.
>>>>>> >>> It's the best place to buy or sell services for
>>>>>> >>> just about anything Open Source.
>>>>>> >>> http://sourceforge.net/services/buy/index.php
>>>>>> >>> _______________________________________________
>>>>>> >>> gumstix-users mailing list
>>>>>> >>> gumstix-users@lists.sourceforge.net
>>>>>> >>> https://lists.sourceforge.net/lists/listinfo/gumstix-users
>>>>>> >>>
>>>>>> >>>
>>>>>> >>
>>>>>> >>
>>>>>> -------------------------------------------------------------------------
>>>>>> >> Check out the new SourceForge.net Marketplace.
>>>>>> >> It's the best place to buy or sell services for
>>>>>> >> just about anything Open Source.
>>>>>> >> http://sourceforge.net/services/buy/index.php
>>>>>> >> _______________________________________________
>>>>>> >> gumstix-users mailing list
>>>>>> >> gumstix-users@lists.sourceforge.net
>>>>>> >> https://lists.sourceforge.net/lists/listinfo/gumstix-users
>>>>>> >>
>>>>>> >>
>>>>>> >
>>>>>> >
>>>>>> -------------------------------------------------------------------------
>>>>>> > Check out the new SourceForge.net Marketplace.
>>>>>> > It's the best place to buy or sell services for
>>>>>> > just about anything Open Source.
>>>>>> > http://sourceforge.net/services/buy/index.php
>>>>>> > _______________________________________________
>>>>>> > gumstix-users mailing list
>>>>>> > gumstix-users@lists.sourceforge.net
>>>>>> > https://lists.sourceforge.net/lists/listinfo/gumstix-users
>>>>>> >
>>>>>> >
>>>>>>
>>>>>> --
>>>>>> View this message in context:
>>>>>> http://www.nabble.com/OE---V4Linux%2C-PWC-driver-tp18079756p18095965.html
>>>>>> Sent from the Gumstix mailing list archive at Nabble.com.
>>>>>>
>>>>>>
>>>>>>
>>>>>> -------------------------------------------------------------------------
>>>>>> Check out the new SourceForge.net Marketplace.
>>>>>> It's the best place to buy or sell services for
>>>>>> just about anything Open Source.
>>>>>> http://sourceforge.net/services/buy/index.php
>>>>>> _______________________________________________
>>>>>> gumstix-users mailing list
>>>>>> gumstix-users@lists.sourceforge.net
>>>>>> https://lists.sourceforge.net/lists/listinfo/gumstix-users
>>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>> -------------------------------------------------------------------------
>>>>> Check out the new SourceForge.net Marketplace.
>>>>> It's the best place to buy or sell services for
>>>>> just about anything Open Source.
>>>>> http://sourceforge.net/services/buy/index.php
>>>>> _______________________________________________
>>>>> gumstix-users mailing list
>>>>> gumstix-users@lists.sourceforge.net
>>>>> https://lists.sourceforge.net/lists/listinfo/gumstix-users
>>>>>
>>>>>
>>>>
>>>> -------------------------------------------------------------------------
>>>> Check out the new SourceForge.net Marketplace.
>>>> It's the best place to buy or sell services for
>>>> just about anything Open Source.
>>>> http://sourceforge.net/services/buy/index.php
>>>> _______________________________________________
>>>> gumstix-users mailing list
>>>> gumstix-users@lists.sourceforge.net
>>>> https://lists.sourceforge.net/lists/listinfo/gumstix-users
>>>>
>>>>
>>>
>>> -------------------------------------------------------------------------
>>> Check out the new SourceForge.net Marketplace.
>>> It's the best place to buy or sell services for
>>> just about anything Open Source.
>>> http://sourceforge.net/services/buy/index.php
>>> _______________________________________________
>>> gumstix-users mailing list
>>> gumstix-users@lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/gumstix-users
>>>
>>>
>>
>
> -------------------------------------------------------------------------
> Check out the new SourceForge.net Marketplace.
> It's the best place to buy or sell services for
> just about anything Open Source.
> http://sourceforge.net/services/buy/index.php
> _______________________________________________
> gumstix-users mailing list
> gumstix-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gumstix-users
>
>

--
View this message in context: http://www.nabble.com/OE---V4Linux%2C-PWC-driver-tp18079756p18197480.html
Sent from the Gumstix mailing list archive at Nabble.com.


-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
gumstix-users mailing list
gumstix-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gumstix-users



-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
gumstix-users mailing list
gumstix-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gumstix-users