Skip to contentSkip to conversation

module ov7670.c

DISCUSSION Carlos Lavin 2 participants 4 messages Nov 11, 2009 1 message not in the archive Media (V4L/DVB)

lore
Share & tools
lore
#0 lore raw

i don't know that it pass with this module, ov7670.c , because i don't see in the screen of my Pc this modulo when the kernel is load. this module haven't the module_init function , and i don't know if it is possible to run it without this function. the version kernel where i work is 2.6.30, also i have patched this modulo for works with the library soc_camera.h can anybody help me? I am rookie in this topics.
thanks.
--
video4linux-list mailing list
Unsubscribe mailto:[email protected]?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/video4linux-list

#1 lore raw
Quoted 8 lines · Carlos Lavin

i don't know that it pass with this module, ov7670.c , because i don't see in the screen of my Pc this modulo when the kernel is load. this module haven't the module_init function , and i don't know if it is possible to run it without this function. the version kernel where i work is 2.6.30, also i have patched this modulo for works with the library soc_camera.h can anybody help me? I am rookie in this topics.
thanks.
--

What are you asking?

Ryan

Quoted 3 lines

video4linux-list mailing list
Unsubscribe mailto:[email protected]?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/video4linux-list

--
video4linux-list mailing list
Unsubscribe mailto:[email protected]?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/video4linux-list

A message that is not in the archive (sent off-list or not yet received): [email protected]

#3 lore raw
Quoted 2 lines · Carlos Lavin

i am asking that if it is possible to start a module without MODULE_INIT function in the body of program.

It looks as though all drivers that use v4l2_i2c_driver_data DO NOT use the module_init function.

According to commit 14386c2b7793652a656021a3345cff3b0f6771f9, v4l2_subdev is used instead. However, this is different for me also.

Ryan

Quoted 31 lines

2009/11/11 Ryan Raasch <[email protected] <mailto:[email protected]>>

Carlos Lavin wrote:

i don't know that it pass with this module, ov7670.c , because i don't see
in the screen of my Pc this modulo when the kernel is load. this module
haven't the module_init function , and i don't know if it is possible to
run it without this function. the version kernel where i work is 2.6.30,
also i have patched this modulo for works with the library soc_camera.h
can anybody help me? I am rookie in this topics. thanks.
--

What are you asking?

Ryan

video4linux-list mailing list
Unsubscribe mailto:[email protected] <mailto:[email protected]>?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/video4linux-list

#4 lore raw
Quoted 12 lines · Ryan Raasch
Quoted 2 lines · Carlos Lavin

i am asking that if it is possible to start a module without MODULE_INIT function in the body of program.

It looks as though all drivers that use v4l2_i2c_driver_data DO NOT use the module_init function.

According to commit 14386c2b7793652a656021a3345cff3b0f6771f9, v4l2_subdev is used instead. However, this is different for me also.

Ryan

Ok. I was curious myself, so i looked how it works.

The file v4l2-i2c-drv.h has the module_init() code. So when this header file is included, you get the initialization code for free.

Quoted 31 lines
Quoted 31 lines

2009/11/11 Ryan Raasch <[email protected] <mailto:[email protected]>>

Carlos Lavin wrote:

i don't know that it pass with this module, ov7670.c , because i don't see
in the screen of my Pc this modulo when the kernel is load. this module
haven't the module_init function , and i don't know if it is possible to
run it without this function. the version kernel where i work is 2.6.30,
also i have patched this modulo for works with the library soc_camera.h
can anybody help me? I am rookie in this topics. thanks.
--

What are you asking?

Ryan

video4linux-list mailing list
Unsubscribe mailto:[email protected] <mailto:[email protected]>?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/video4linux-list