The patch look to have applied succesfully however after applying the
patch you have recompile the driver. and make sure to insert the
videodev module first. try the following commands
# make
# modprobe videodev
# insmod ./sn9c20x.ko

On Thu, Mar 12, 2009 at 1:36 PM, emeliot <[email protected]> wrote:
>
>
>
> On 11 Mar, 17:30, Brian Johnson <[email protected]> wrote:
>> This patch makes the mt9v112 probe function use the i2c address of
>> 0x48 instead of 0c5d. It also will output the the serial number that
>> the sensor actually uses so you can check to see what the sensor
>> actually is if this doesn't work right. It will say something like
>> "Micron Sensor ID: <number>" in your dmesg log.
>>
>> On Wed, Mar 11, 2009 at 8:57 AM, emeliot <[email protected]> 
>> wrote:
>>
>> > Ok so I hope that you find a solution and every things will be work
>> > fine. Thanks for your help !!
>>
>>
>>
>>  0001-set-mt9v112-probe-function-to-use-i2c-address-of-0x4.patch
>> 1KZobaczPobierz
>
> Hi
>
> Sorry but I'm don't no linux well and I try first time use patch... I
> not sure if I done it right:
>
> I put patch in folder of microdia then run console and use commend in
> that folder:
>
> first
>
> bash-3.2# patch -i 0001-set-mt9v112-probe-function-to-use-i2c-address-
> of-0x4.patch
> patching file micron.c
> Hunk #1 succeeded at 441 (offset -99 lines).
> Hunk #2 succeeded at 449 (offset -99 lines).
>
> then
>
> bash-3.2# insmod ./sn9c20x.ko
>
> and
>
> dmesg
>
> sn9c20x: Unknown symbol video_ioctl2
> sn9c20x: Unknown symbol video_devdata
> sn9c20x: Unknown symbol video_unregister_device
> sn9c20x: Unknown symbol video_device_alloc
> sn9c20x: Unknown symbol video_register_device
> sn9c20x: Unknown symbol video_device_release
> Linux video capture interface: v2.00
> sn9c20x: SN9C20X USB 2.0 Webcam - 0C45:6270 plugged-in.
> sn9c20x: I2C slave 0x5d returned error during write to address 0xff
> sn9c20x: I2C slave 0x5c returned error during write to address 0x01
> sn9c20x: I2C slave 0x5d returned error during write to address 0xf0
> sn9c20x: Unsupported sensor.
> sn9c20x: probe of 4-1:1.0 failed with error -22
> usbcore: registered new interface driver sn9c20x
> sn9c20x: SN9C20x USB 2.0 Webcam Driver v2009.01 loaded
> sn9c20x: usb_sn9c20x_exit: SN9C20X USB 2.0 webcam driver unloaded
> usbcore: deregistering interface driver sn9c20x
> sn9c20x: SN9C20X USB 2.0 Webcam - 0C45:6270 plugged-in.
> sn9c20x: I2C slave 0x5d returned error during write to address 0xff
> sn9c20x: I2C slave 0x5c returned error during write to address 0x01
> sn9c20x: I2C slave 0x5d returned error during write to address 0xf0
> sn9c20x: Unsupported sensor.
> sn9c20x: probe of 4-1:1.0 failed with error -22
> usbcore: registered new interface driver sn9c20x
> sn9c20x: SN9C20x USB 2.0 Webcam Driver v2009.01 loaded
>
> Have I patch good or not and this is the reason of this dmesg ??
>  Mateusz
> >
>

--~--~---------~--~----~------------~-------~--~----~
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