I followed your guide exactly and I get no errors in compiling or any of the bash commands. However, it still refuses to open the camera in ekiga dn xawtv never starts fo rme.
I followed your guide exactly and I get no errors in compiling or any of the bash commands. However, it still refuses to open the camera in ekiga dn xawtv never starts fo rme.
When on 64bit xawtv didn't work for me either, but cheese did. Do that extra stuff in the guide to get cheese enabled, then try again.
Thanks for your help. But I followed your tutorial (Eurocom with ALi 402:5602) and at #3 I get file doesn't exist on Sourceforge... I tried to substitute another file on the branch but it didn't work...
http://sourceforge.net/svn/?group_id=185953
Here's how to get their whole subversion directory:
This means you will get everything -- all different branches and testprograms and documentation and whathaveyou that they have put in the svn directory.Code:svn co https://m560x-driver.svn.sourceforge.net/svnroot/m560x-driver
To download the branch I used in my original post type
As I think I have said before this driver is kinda buggy, and stops my laptop from resuming from suspend if the webcam is active. As such, you might want to check out another branch, and see if it works better.Code:svn co https://m560x-driver.svn.sourceforge.net/svnroot/m560x-driver/m560x/branches/m5602-ov9650
I put the link in my original post, but perhaps you missed it. Here's the address for the projects homepage at sourceforge. If you want more info, or if the change the names of the svn directories again, I suggest you check it out.
Good luck.
The second part of step six doesn't work for me I'm a noob any help???
root@HAL:/home/zip/m5602-ov9650# sudo cp m5602.ko /lib/modules/`uname -r`/kernel/drivers/usb/media/
cp: cannot stat `m5602.ko': No such file or directory
Last edited by nbppp2; July 25th, 2008 at 08:51 AM. Reason: updated code
After getting my webcam working via this thread, I have started to notice that my webcam light is now always on. I don't care if it is on, my concern is that my webcam may be on and always broadcasting.
I'm not a noob, but I'm also not a expert in inner workings of the kernel or how the hald works.
I'm pretty sure that the HAL (that would be Hardware Abstraction Layer for you noobs) has a process that controls this, I'm just not sure what it is, or what command I could run to turn off my camera.
If I knew what command I could run to turn an/off my webcam, I could write a small shell script that would handle it for me.
Any help would be appreciated. I run ubuntu 8.04.1 AMD64.
After o make :
[quote]make -C /lib/modules/2.6.26-4-generic/build SUBDIRS=/home/gabriel/m5602-ov9650 modules
make[1]: Entrando no diretório `/usr/src/linux-headers-2.6.26-4-generic'
CC [M] /home/gabriel/m5602-ov9650/m560x_core.o
/home/gabriel/m5602-ov9650/m560x_core.c:1570: warning: ‘struct class_device’ declared inside parameter list
/home/gabriel/m5602-ov9650/m560x_core.c:1570: warning: its scope is only this definition or declaration, which is probably not what you want
/home/gabriel/m5602-ov9650/m560x_core.c: In function ‘show_model’:
/home/gabriel/m5602-ov9650/m560x_core.c:1570: warning: initialization from incompatible pointer type
/home/gabriel/m5602-ov9650/m560x_core.c: At top level:
/home/gabriel/m5602-ov9650/m560x_core.c:1570: error: expected ‘)’ before ‘(’ token
/home/gabriel/m5602-ov9650/m560x_core.c:1571: warning: ‘struct class_device’ declared inside parameter list
/home/gabriel/m5602-ov9650/m560x_core.c: In function ‘show_in_use’:
/home/gabriel/m5602-ov9650/m560x_core.c:1571: warning: initialization from incompatible pointer type
/home/gabriel/m5602-ov9650/m560x_core.c: At top level:
/home/gabriel/m5602-ov9650/m560x_core.c:1571: error: expected ‘)’ before ‘(’ token
/home/gabriel/m5602-ov9650/m560x_core.c:1572: warning: ‘struct class_device’ declared inside parameter list
/home/gabriel/m5602-ov9650/m560x_core.c: In function ‘show_streaming’:
/home/gabriel/m5602-ov9650/m560x_core.c:1572: warning: initialization from incompatible pointer type
/home/gabriel/m5602-ov9650/m560x_core.c: At top level:
/home/gabriel/m5602-ov9650/m560x_core.c:1572: error: expected ‘)’ before ‘(’ token
/home/gabriel/m5602-ov9650/m560x_core.c:1573: warning: ‘struct class_device’ declared inside parameter list
/home/gabriel/m5602-ov9650/m560x_core.c: In function ‘show_palette’:
/home/gabriel/m5602-ov9650/m560x_core.c:1573: warning: initialization from incompatible pointer type
/home/gabriel/m5602-ov9650/m560x_core.c: At top level:
/home/gabriel/m5602-ov9650/m560x_core.c:1573: error: expected ‘)’ before ‘(’ token
/home/gabriel/m5602-ov9650/m560x_core.c:1574: warning: ‘struct class_device’ declared inside parameter list
/home/gabriel/m5602-ov9650/m560x_core.c: In function ‘show_frames_total’:
/home/gabriel/m5602-ov9650/m560x_core.c:1574: warning: initialization from incompatible pointer type
/home/gabriel/m5602-ov9650/m560x_core.c: At top level:
/home/gabriel/m5602-ov9650/m560x_core.c:1574: error: expected ‘)’ before ‘(’ token
/home/gabriel/m5602-ov9650/m560x_core.c:1575: warning: ‘struct class_device’ declared inside parameter list
/home/gabriel/m5602-ov9650/m560x_core.c: In function ‘show_frames_read’:
/home/gabriel/m5602-ov9650/m560x_core.c:1575: warning: initialization from incompatible pointer type
/home/gabriel/m5602-ov9650/m560x_core.c: At top level:
/home/gabriel/m5602-ov9650/m560x_core.c:1575: error: expected ‘)’ before ‘(’ token
/home/gabriel/m5602-ov9650/m560x_core.c:1576: warning: ‘struct class_device’ declared inside parameter list
/home/gabriel/m5602-ov9650/m560x_core.c: In function ‘show_packets_dropped’:
/home/gabriel/m5602-ov9650/m560x_core.c:1576: warning: initialization from incompatible pointer type
/home/gabriel/m5602-ov9650/m560x_core.c: At top level:
/home/gabriel/m5602-ov9650/m560x_core.c:1576: error: expected ‘)’ before ‘(’ token
/home/gabriel/m5602-ov9650/m560x_core.c:1577: warning: ‘struct class_device’ declared inside parameter list
/home/gabriel/m5602-ov9650/m560x_core.c: In function ‘show_decoding_errors’:
/home/gabriel/m5602-ov9650/m560x_core.c:1577: warning: initialization from incompatible pointer type
/home/gabriel/m5602-ov9650/m560x_core.c: At top level:
/home/gabriel/m5602-ov9650/m560x_core.c:1577: error: expected ‘)’ before ‘(’ token
/home/gabriel/m5602-ov9650/m560x_core.c: In function ‘m560x_create_sysfs_files’:
/home/gabriel/m5602-ov9650/m560x_core.c:1581: error: ‘class_device_attr_model’ undeclared (first use in this function)
/home/gabriel/m5602-ov9650/m560x_core.c:1581: error: (Each undeclared identifier is reported only once
/home/gabriel/m5602-ov9650/m560x_core.c:1581: error: for each function it appears in.)
/home/gabriel/m5602-ov9650/m560x_core.c:1582: error: ‘class_device_attr_in_use’ undeclared (first use in this function)
/home/gabriel/m5602-ov9650/m560x_core.c:1583: error: ‘class_device_attr_streaming’ undeclared (first use in this function)
/home/gabriel/m5602-ov9650/m560x_core.c:1584: error: ‘class_device_attr_palette’ undeclared (first use in this function)
/home/gabriel/m5602-ov9650/m560x_core.c:1585: error: ‘class_device_attr_frames_total’ undeclared (first use in this function)
/home/gabriel/m5602-ov9650/m560x_core.c:1586: error: ‘class_device_attr_frames_read’ undeclared (first use in this function)
/home/gabriel/m5602-ov9650/m560x_core.c:1587: error: ‘class_device_attr_packets_dropped’ undeclared (first use in this function)
/home/gabriel/m5602-ov9650/m560x_core.c:1588: error: ‘class_device_attr_decoding_errors’ undeclared (first use in this function)
/home/gabriel/m5602-ov9650/m560x_core.c: In function ‘m560x_remove_sysfs_files’:
/home/gabriel/m5602-ov9650/m560x_core.c:1593: error: ‘class_device_attr_model’ undeclared (first use in this function)
/home/gabriel/m5602-ov9650/m560x_core.c:1594: error: ‘class_device_attr_in_use’ undeclared (first use in this function)
/home/gabriel/m5602-ov9650/m560x_core.c:1595: error: ‘class_device_attr_streaming’ undeclared (first use in this function)
/home/gabriel/m5602-ov9650/m560x_core.c:1596: error: ‘class_device_attr_palette’ undeclared (first use in this function)
/home/gabriel/m5602-ov9650/m560x_core.c:1597: error: ‘class_device_attr_frames_total’ undeclared (first use in this function)
/home/gabriel/m5602-ov9650/m560x_core.c:1598: error: ‘class_device_attr_frames_read’ undeclared (first use in this function)
/home/gabriel/m5602-ov9650/m560x_core.c:1599: error: ‘class_device_attr_packets_dropped’ undeclared (first use in this function)
/home/gabriel/m5602-ov9650/m560x_core.c:1600: error: ‘class_device_attr_decoding_errors’ undeclared (first use in this function)
make[2]: ** [/home/gabriel/m5602-ov9650/m560x_core.o] Erro 1
make[1]: ** [_module_/home/gabriel/m5602-ov9650] Erro 2
make[1]: Saindo do diretório `/usr/src/linux-headers-2.6.26-4-generic'
make: ** [all] Erro 2
[quote/]
I have instaled build-essencial linux-source bin86... all and don't work!!!!!!!
i'm not getting any response from "lsusb | grep ALi"
Bookmarks