Hi,

please make sure you have loaded the videodev and the compat-ioctl32 
kernel modules before trying to load the m5602.ko module.

Regards,
Erik

Jabka Atu wrote:
> Hi,...
> 
> I tried to test the 156 revision :
> m560x-driver/m560x# svn update
> A    branches/m5602-unknown
> A    branches/m5602-unknown/m5602.h
> A    branches/m5602-unknown/m5602_sysfs.c
> A    branches/m5602-unknown/m5602_v4l2.c
> A    branches/m5602-unknown/INSTALL
> A    branches/m5602-unknown/COPYING
> A    branches/m5602-unknown/m5602.c
> A    branches/m5602-unknown/m5602_bayer.c
> A    branches/m5602-unknown/Makefile
> A    branches/m5602-unknown/README
> U    branches/m5603c-mt9v011/m5603c_fw.h
> U    branches/m5603c-mt9v011/m5603c_bayer.c
> A    branches/m5603c-mt9v011/mt9v011.c
> U    branches/m5603c-mt9v011/m5603c.h
> U    branches/m5603c-mt9v011/m5603c_sysfs.c
> U    branches/m5603c-mt9v011/m5603c_v4l2.c
> A    branches/m5603c-mt9v011/mt9v011_regs.h
> U    branches/m5603c-mt9v011/m5603c.c
> U    branches/m5602-ov9650-2/m5602.h
> U    branches/m5602-ov9650-2/m5602_v4l2.c
> A    branches/m5602-ov9650-2/m5602_ov9650.c
> A    branches/m5602-ov9650-2/INSTALL
> A    branches/m5602-ov9650-2/m5602_ov9650.h
> A    branches/m5602-ov9650-2/COPYING
> U    branches/m5602-ov9650-2/m5602.c
> U    branches/m5602-ov9650-2/m5602_bayer.c
> C    branches/m5602-ov9650-2/Makefile
> A    branches/m5602-ov9650-2/README
> Updated to revision 157.
> laptop:/home/jabka/m560x-driver/m560x# cd branches/m5602-
> m5602-ov9650/   m5602-ov9650-2/ m5602-unknown/
> laptop:/home/jabka/m560x-driver/m560x# cd branches/m5602-unknown/
> laptop:/home/jabka/m560x-driver/m560x/branches/m5602-unknown# ls
> COPYING  m5602_bayer.c  m5602.h        m5602_v4l2.c  README
> INSTALL  m5602.c        m5602_sysfs.c  Makefile
> 
> laptop:/home/jabka/m560x-driver/m560x/branches/m5602-unknown# make
> make -C /lib/modules/2.6.24-1-amd64/build
> SUBDIRS=/home/jabka/m560x-driver/m560x/branches/m5602-unknown modules
> make[1]: Entering directory `/usr/src/linux-headers-2.6.24-1-amd64'
>   CC [M]  /home/jabka/m560x-driver/m560x/branches/m5602-unknown/m5602.o
> /home/jabka/m560x-driver/m560x/branches/m5602-unknown/m5602.c:91:
> warning: ‘read_sensor’ defined but not used
> /home/jabka/m560x-driver/m560x/branches/m5602-unknown/m5602.c: In
> function ‘m5602_initialize_camera’:
> /home/jabka/m560x-driver/m560x/branches/m5602-unknown/m5602.c:190:
> warning: ‘err’ may be used uninitialized in this function
>   Building modules, stage 2.
>   MODPOST 1 modules
>   CC      /home/jabka/m560x-driver/m560x/branches/m5602-unknown/m5602.mod.o
>   LD [M]  /home/jabka/m560x-driver/m560x/branches/m5602-unknown/m5602.ko
> make[1]: Leaving directory `/usr/src/linux-headers-2.6.24-1-amd64'
> 
> but when i tried loading it i got an error:
> 
> laptop:/home/jabka/m560x-driver/m560x/branches/m5602-unknown# insmod
> ./m5602.ko debug=0xff
> insmod: error inserting './m5602.ko': -1 Unknown symbol in module
> laptop:/home/jabka/m560x-driver/m560x/branches/m5602-unknown# insmod
> ./m5602.ko
> insmod: error inserting './m5602.ko': -1 Unknown symbol in module
> laptop:/home/jabka/m560x-driver/m560x/branches/m5602-unknown#      
> 
> dmesg :
> 
> m5602: Unknown symbol v4l_compat_ioctl32
> m5602: Unknown symbol video_devdata
> m5602: Unknown symbol video_unregister_device
> m5602: Unknown symbol video_device_alloc
> m5602: Unknown symbol video_register_device
> m5602: Unknown symbol video_device_release
> m5602: Unknown symbol v4l_compat_ioctl32
> m5602: Unknown symbol video_devdata
> m5602: Unknown symbol video_unregister_device
> m5602: Unknown symbol video_device_alloc
> m5602: Unknown symbol video_register_device
> m5602: Unknown symbol video_device_release
> 
> 
> im running 64bit distro (debian) :
> 
> 2.6.24-1-amd64
> 
> Erik Andrén wrote:
>> Hi,
>>
>> Marco Garzola wrote:
>>   
>>> Hi Erik,
>>>
>>> just a little update. with new branch m5602-unknown  the light turns on but
>>> i can't see anything on cheese.(on ekiga the same but it recognizes Bisoncam
>>> on preferences )
>>>     
>> Seems like you have the same experiences as all others.
>>
>>   
>>> If  you need  any information tell me what i should do.
>>>     
>> Send me the kernel log after modprobing the module with debug=0xff e.g
>> sudo insmod ./m5602.ko debug=0xff.
>>
>> Also please try with the livecam program written by Ilyes.
>>
>> Regards,
>> Erik
>>
>>   
>>> Marco
>>>
>>> 2008/5/5 Marco Garzola <[EMAIL PROTECTED]>:
>>>
>>>     
>>>> First of all thanks for your quick reply.
>>>> I've tried to use xawtv but the screen becomes all black...l and i can't do
>>>> anything.
>>>>
>>>> thanks anyway, i'll wait for new developments.
>>>>
>>>> Marco
>>>>
>>>> 2008/5/5 Erik Andrén <[EMAIL PROTECTED]>:
>>>>
>>>> Hi,
>>>>       
>>>>> The issue is known. There are some other people that experience the same
>>>>> problem. At current I don't know why it isn't working properly.
>>>>>
>>>>> Also, camorama only supports the v4l1 API (the driver uses v4l2) so it
>>>>> won't work. Use xawtv or livecam instead.
>>>>>
>>>>> Best regards,
>>>>> Erik
>>>>>
>>>>>
>>>>> Marco Garzola wrote:
>>>>>
>>>>>         
>>>>>> Hi,
>>>>>> sorry if i disturb you with a private email.
>>>>>> I'm an italian guy and i'm trying to use my laptop webcam with your
>>>>>> driver
>>>>>> (Laptop ACER aspire 5102WLMI )
>>>>>> when i try to load module with:
>>>>>>
>>>>>> insmod m5602.ko debug=16
>>>>>>
>>>>>> in dmseg i have:
>>>>>> *
>>>>>> [  113.162919] m5602: Unknown symbol video_devdata
>>>>>> [  113.163182] m5602: Unknown symbol video_unregister_device
>>>>>> [  113.163298] m5602: Unknown symbol video_device_alloc
>>>>>> [  113.163352] m5602: Unknown symbol video_register_device
>>>>>> [  113.163506] m5602: Unknown symbol video_device_release
>>>>>> [  116.591526] Linux video capture interface: v2.00
>>>>>> [  117.187275]
>>>>>> /home/marco/m560x-driver/m560x/branches/m5602-ov9650-2/m5602.c:
>>>>>> usb_m5602_init - WebCam driver startup
>>>>>> [  117.187283]
>>>>>> /home/marco/m560x-driver/m560x/branches/m5602-ov9650-2/m5602.c: debug
>>>>>> level
>>>>>> defined to 0x10
>>>>>> [  117.187313]
>>>>>> /home/marco/m560x-driver/m560x/branches/m5602-ov9650-2/m5602.c: BisonCam
>>>>>> webcam found
>>>>>> [  117.232689]
>>>>>> /home/marco/m560x-driver/m560x/branches/m5602-ov9650-2/m5602.c: Probing
>>>>>> for
>>>>>> an ov9650 sensor
>>>>>> [  117.235374]
>>>>>> /home/marco/m560x-driver/m560x/branches/m5602-ov9650-2/m5602.c: Sensor
>>>>>> reported as 0xff:0xff
>>>>>> [  117.235379]
>>>>>> /home/marco/m560x-driver/m560x/branches/m5602-ov9650-2/m5602.c: Forcing
>>>>>> an
>>>>>> ov9650 sensor
>>>>>> [  117.235383]
>>>>>> /home/marco/m560x-driver/m560x/branches/m5602-ov9650-2/m5602.c: If this
>>>>>> works, please report your sensor product id: 0xff:0xff to
>>>>>> [email protected]
>>>>>> [  117.235427]
>>>>>> /home/marco/m560x-driver/m560x/branches/m5602-ov9650-2/m5602.c:
>>>>>> m5602_probe
>>>>>> - m5602 WebCam driver is now controlling video device 0
>>>>>> [  117.235449] usbcore: registered new interface driver m5602
>>>>>> [  117.235454]
>>>>>> /home/marco/m560x-driver/m560x/branches/m5602-ov9650-2/m5602.c:
>>>>>> 0.2.0:M5602
>>>>>> Webcam Driver*
>>>>>>
>>>>>>
>>>>>> Unfortunately the light doesn't turn on and using camorama i have this
>>>>>> message:
>>>>>> *
>>>>>> could not connect to video device (dev/video0)
>>>>>> *
>>>>>> ...
>>>>>>
>>>>>>
>>>>>> Thanks for your support
>>>>>>
>>>>>> Marco
>>>>>>
>>>>>>
>>>>>>           
>> -------------------------------------------------------------------------
>> This SF.net email is sponsored by: Microsoft 
>> Defy all challenges. Microsoft(R) Visual Studio 2008. 
>> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
>> _______________________________________________
>> M560x-driver-devel mailing list
>> [email protected]
>> https://lists.sourceforge.net/lists/listinfo/m560x-driver-devel
>>
>>   
> 
> 

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft 
Defy all challenges. Microsoft(R) Visual Studio 2008. 
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
M560x-driver-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/m560x-driver-devel

Reply via email to