Web lists-archives.com

[Spca50x-devs] Fwd: spca5xx-20060501 not working with ARM9 Please Help me




Forward to the dev lists

Joel

---------- Forwarded message ----------
From: Manjunath A M <manjunatham@xxxxxxxxxxxxxxx>
Date: Jun 18, 2007 12:57 PM
Subject: spca5xx-20060501 not working with ARM9 Please Help me
To: spca50x-devs-owner@xxxxxxxxxxxxxxxxxxxxx,
davinci-linux-open-source@xxxxxxxxxxxxxxxxxxxx




Hi, I am trying to cross compile and use spca5xx-20060501 to our TI-DAVINCI
based custom board, below is some details about kernel and module installed
and also error message..

I used spcaview-20061208 for application driver to test the module.

The same driver works fine when i compile and run it with X-86

Please anyone suggest me how i can solve this problem.

# uname -r

2.6.10_mvl401-davinci_evm

# lsmod
spca5xx               639944  0
videodev               10432  1 spca5xx

# cat /proc/bus/usb/devices
T:  Bus=01 Lev=00 Prnt=00 Port=0value of start =0 Cnt=00 Dev#=  usb dump is
called here...
1 Spd=480 MxCh= value of start =1
B:  Alloc=  0usb dump is called here...
/800 us ( 0%), #value of start =Int=  0, #Iso=  usb dump is called here...
0
D:  Ver= 2.00 Cls=09(hub  ) Sub=00 Prot=01 MxPS=64 #Cfgs=  1
P:  Vendor=04d6 ProdID=0000 Rev= 0.00
C:* #Ifs= 1 Cfg#= 1 Atr=e0 MxPwr=  0mA
I:  If#= 0 Alt= 0 #EPs= 1 Cls=09(hub  ) Sub=00 Prot=00 Driver=hub
E:  Ad=81(I) Atr=03(Int.) MxPS=   1 Ivl=256ms

T:  Bus=01 Lev=01 Prnt=01 Port=00 Cnt=01 Dev#=  2 Spd=480 MxCh= 4
D:  Ver= 2.00 Cls=09(hub  ) Sub=00 Prot=02 MxPS=64 #Cfgs=  1
P:  Vendor=0424 ProdID=2504 Rev= 0.01
C:* #Ifs= 1 Cfg#= 1 Atr=e0 MxPwr=  2mA
I:  If#= 0 Alt= 0 #EPs= 1 Cls=09(hub  ) Sub=00 Prot=01 Driver=hub
E:  Ad=81(I) Atr=03(Int.) MxPS=   1 Ivl=256ms
I:  If#= 0 Alt= 1 #EPs= 1 Cls=09(hub  ) Sub=00 Prot=02 Driver=hub
E:  Ad=81(I) Atr=03(Int.) MxPS=   1 Ivl=256ms

T:  Bus=01 Lev=02 Prnt=02 Port=01 Cnt=01 Dev#=  3 Spd=12  MxCh= 0
D:  Ver= 1.10 Cls=ff(vend.) Sub=ff Prot=00 MxPS= 8 #Cfgs=  1
P:  Vendor=046d ProdID=0928 Rev= 0.00
S:  Manufacturer=
S:  Product=Camera
C:* #Ifs= 1 Cfg#= 1 Atr=80 MxPwr=100mA
I:  If#= 0 Alt= 0 #EPs= 1 Cls=ff(vend.) Sub=00 Prot=00 Driver=spca5xx
E:  Ad=81(I) Atr=01(Isoc) MxPS=   0 Ivl=1ms
I:  If#= 0 Alt= 1 #EPs= 1 Cls=ff(vend.) Sub=00 Prot=00 Driver=spca5xx
E:  Ad=81(I) Atr=01(Isoc) MxPS= 128 Ivl=1ms
I:  If#= 0 Alt= 2 #EPs= 1 Cls=ff(vend.) Sub=00 Prot=00 Driver=spca5xx
E:  Ad=81(I) Atr=01(Isoc) MxPS= 880 Ivl=1ms
I:  If#= 0 Alt= 3 #EPs= 1 Cls=ff(vend.) Sub=00 Prot=00 Driver=spca5xx
E:  Ad=81(I) Atr=01(Isoc) MxPS= 512 Ivl=1ms
I:  If#= 0 Alt= 4 #EPs= 1 Cls=ff(vend.) Sub=00 Prot=00 Driver=spca5xx
E:  Ad=81(I) Atr=01(Isoc) MxPS= 640 Ivl=1ms
I:  If#= 0 Alt= 5 #EPs= 1 Cls=ff(vend.) Sub=00 Prot=00 Driver=spca5xx
E:  Ad=81(I) Atr=01(Isoc) MxPS= 768 Ivl=1ms
I:  If#= 0 Alt= 6 #EPs= 1 Cls=ff(vend.) Sub=00 Prot=00 Driver=spca5xx
E:  Ad=81(I) Atr=01(Isoc) MxPS= 896 Ivl=1ms
I:  If#= 0 Alt= 7 #EPs= 1 Cls=ff(vend.) Sub=00 Prot=00 Driver=spca5xx
E:  Ad=81(I) Atr=01(Isoc) MxPS=1023 Ivl=1ms
I:  If#= 0 Alt= 8 #EPs= 1 Cls=ff(vend.) Sub=00 Prot=00 Driver=spca5xx
E:  Ad=81(I) Atr=01(Isoc) MxPS= 544 Ivl=1ms
I:  If#= 0 Alt= 9 #EPs= 1 Cls=ff(vend.) Sub=00 Prot=00 Driver=spca5xx
E:  Ad=81(I) Atr=01(Isoc) MxPS= 656 Ivl=1ms
I:  If#= 0 Alt=10 #EPs= 1 Cls=ff(vend.) Sub=00 Prot=00 Driver=spca5xx
E:  Ad=81(I) Atr=01(Isoc) MxPS= 704 Ivl=1ms
I:  If#= 0 Alt=11 #EPs= 1 Cls=ff(vend.) Sub=00 Prot=00 Driver=spca5xx
E:  Ad=81(I) Atr=01(Isoc) MxPS= 864 Ivl=1ms
I:  If#= 0 Alt=12 #EPs= 1 Cls=ff(vend.) Sub=00 Prot=00 Driver=spca5xx
E:  Ad=81(I) Atr=01(Isoc) MxPS= 960 Ivl=1ms
I:  If#= 0 Alt=13 #EPs= 1 Cls=ff(vend.) Sub=00 Prot=00 Driver=spca5xx
E:  Ad=81(I) Atr=01(Isoc) MxPS= 845 Ivl=1ms

# ls -l /dev/video0
lrwxrwxrwx  1 root root 10 Jun  6 18:30 /dev/video0 -> v4l/video0

##############ERROR####################

#  ./spcaview
 Spcaview version: 1.1.7 date: 06:11:2006 (C) mxhaard@xxxxxxxx
Initializing SDL.
SDL initialized.
bpp 3 format 15
Just for fun.
Using video device /dev/video0.
Initializing v4l.
/home/radhika/workdir/filesys/spca5xx-20060501/drivers/usb/spcausb.h: reg
write: error -32
/home/radhika/workdir/filesys/spca5xx-20060501/drivers/usb/spcausb.h: reg
write: error -32
/home/radhika/workdir/filesys/spca5xx-20060501/drivers/usb/spcausb.h: reg
write: error -32
/home/radhika/workdir/filesys/spca5xx-20060501/drivers/usb/spcausb.h: reg
write: error -32
/home/radhika/workdir/filesys/spca5xx-20060501/drivers/usb/spca5xx.c: init
isoc: usb_submit_urb(0) ret -16
ERROR opening V4L interface
: Device or resource busy

 I have been trying this since last 2 week without any progress... please
help me to solve this..
Thanks in advance
Manjunath AM

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Spca50x-devs mailing list
Spca50x-devs@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/spca50x-devs