Hello I'm trying to install m5602-s5k83a as erikandren sugested at
https://sourceforge.net/forum/message.php?msg_id=5009793<https://sourceforge.net/forum/message.php?msg_id=5009793>
So ..
$ cd m560x-driver/m560x/branches/m5602-s5k83a/
$ make clean
$ make load
sudo modprobe videodev
sudo modprobe compat_ioctl32
That's ok, but when I try to make, I receive 2 warnings:
$ make
make -C /lib/modules/2.6.20-16-generic/build
SUBDIRS=/home/sdc/m560x-driver/m560x/branches/m5602-s5k83a modules
make[1]: Entering directory `/usr/src/linux-headers-2.6.20-16-generic'
CC [M] /home/sdc/m560x-driver/m560x/branches/m5602-s5k83a/m5602.o
In file included from
/home/sdc/m560x-driver/m560x/branches/m5602-s5k83a/m5602.c:439:
/home/sdc/m560x-driver/m560x/branches/m5602-s5k83a/m5602_v4l2.c: In
function 'm5602_empty_framequeues':
/home/sdc/m560x-driver/m560x/branches/m5602-s5k83a/m5602_v4l2.c:181:
warning: implicit declaration of function 'cancel_work_sync'
/home/sdc/m560x-driver/m560x/branches/m5602-s5k83a/m5602.c: At top
level:
/home/sdc/m560x-driver/m560x/branches/m5602-s5k83a/m5602.c:66: warning:
'read_sensor' defined but not used
Building modules, stage 2.
MODPOST 1 modules
* WARNING: "__you_cannot_kzalloc_that**_much"
[/home/sdc/m560x-driver/m560x**/branches/m5602-s5k83a/m5602**.ko] undefined!
WARNING: "cancel_work_sync" [/home/sdc/m560x-driver/m560x**
/branches/m5602-s5k83a/m5602**.ko] undefined!
* CC
/home/sdc/m560x-driver/m560x/branches/m5602-s5k83a/m5602.mod.o
LD [M] /home/sdc/m560x-driver/m560x/branches/m5602-s5k83a/m5602.ko
make[1]: Leaving directory `/usr/src/linux-headers-2.6.20-16-generic'
If I ignore them:
$ sudo make install
mkdir -p /lib/modules/2.6.20-16-generic/kernel/drivers/usb/media
install -m 644 -o 0 -g 0 m5602.ko
/lib/modules/2.6.20-16-generic/kernel/drivers/usb/media
depmod -a
They re-appear!!
$ sudo modprobe m5602
FATAL: Error inserting m5602
(/lib/modules/2.6.20-16-generic/kernel/drivers/usb/media/m5602.ko): Unknown
symbol in module, or unknown parameter (see dmesg)
on dmesg:
*
[ 697.020000] m5602: Unknown symbol __you_cannot_kzalloc_that_much
[ 697.020000] m5602: Unknown symbol cancel_work_sync*
I looked at the code for those constants but they are not there..
I google's the kzalloc message and it only returned 1 result:
http://tonnikala.net/linux.php?kernel=2.6.17&class=linux26&type=full
commit 15901dc93fa4253bfb3661644ecad67c2e83213c
Author: Andrew Morton <[EMAIL PROTECTED]>
Date: Sat Apr 1 00:49:35 2006 -0800
[NET]: com90xx kmalloc fix
WARNING: "__you_cannot_kzalloc_that_much"
[drivers/net/arcnet/com90xx.ko] undefined!
We're trying to allocate negative amounts of memory..
Signed-off-by: Andrew Morton <[EMAIL PROTECTED]>
Signed-off-by: David S. Miller <[EMAIL PROTECTED]>
Anyway, do you know how can I make this work?
Thanks!!
-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
M560x-driver-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/m560x-driver-devel