When compiling your kernel make sure the following 4 options are
enabled. The erros you were getting seem to indicate that
CONFIG_VIDEO_V4L1_COMPAT was not enabled.

CONFIG_VIDEO_V4L1
CONFIG_VIDEO_V4L1_COMPAT
CONFIG_VIDEO_V4L2
CONFIG_VIDEO_V4L2_COMMON

On Sun, Mar 8, 2009 at 12:54 PM, Fabio Parisini
<[email protected]> wrote:
> So what exactly should I include in the kernel? Do I have to do it in a
> modular way? I'd prefer to include it statically. Isn't there already a
> module in the kernel handling the camera?
>
> Sorry for the probably stupid questions...
>
> Best,
> Fabio
>
> On Sat, Mar 7, 2009 at 9:25 PM, Brian Johnson <[email protected]> wrote:
>>
>> Make sure your kernel is compiled with v4l enabled also make sure it
>> is compiled with v4l1 compatability enabled as well since
>> video_device_create_file is only available with v4l1 compat enabled
>>
>> On Thu, Mar 5, 2009 at 3:32 AM, fab <[email protected]> wrote:
>> >
>> > Hi, I've got a
>> >
>> > Bus 001 Device 005: ID 0c45:6253 Microdia
>> >
>> > I followed the instructions to get the Microdia driver, but when I run
>> > make this is what I obtain:
>> >
>> > make -C /lib/modules/2.6.25-gentoo-r7/build SUBDIRS=/home/fab/prova/
>> > microdia modules
>> > make[1]: Entering directory `/usr/src/linux-2.6.25-gentoo-r7'
>> >  CC [M]  /home/fab/prova/microdia/sn9c20x-sysfs.o
>> >  /home/fab/prova/microdia/sn9c20x-sysfs.c: In function
>> > 'sn9c20x_create_sysfs_files':
>> >  /home/fab/prova/microdia/sn9c20x-sysfs.c:859: error: implicit
>> > declaration of function 'video_device_create_file'
>> >  /home/fab/prova/microdia/sn9c20x-sysfs.c: In function
>> > 'sn9c20x_remove_sysfs_files':
>> >  /home/fab/prova/microdia/sn9c20x-sysfs.c:923: error: implicit
>> > declaration of function 'video_device_remove_file'
>> >  make[2]: *** [/home/fab/prova/microdia/sn9c20x-sysfs.o] Error 1
>> >  make[1]: *** [_module_/home/fab/prova/microdia] Error 2
>> >  make[1]: Leaving directory `/usr/src/linux-2.6.25-gentoo-r7'
>> >  make: *** [driver] Error 2
>> >
>> > Can you help me? I'm running Gentoo.
>> >
>> > Kind Regards,
>> > Fabio
>> >
>> > >
>> >
>>
>>
>
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
Lets make microdia webcams plug'n play, (currently plug'n pray)
To post to this group, send email to [email protected]
Visit us online https://groups.google.com/group/microdia
-~----------~----~----~----~------~----~------~--~---

Reply via email to