thanks! I finally got the driver compiled.

the problem now is that the driver is not recognized...

 

*** I will explain what i have done ;)

*** without loading the driver, i get the following results when I enter the
following command:

[EMAIL PROTECTED]:~# cat /proc/bus/usb/devices

 

T:  Bus=01 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#=  1 Spd=480 MxCh= 1

B:  Alloc=  0/800 us ( 0%), #Int=  0, #Iso=  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

 

 

*** changed the kernel dir in the makefile of the spca5xx driver to:

KERNELDIR := /opt/mv_pro_4.0.1/montavista/pro/devkit/lsp/ti-davinci

 

 

*** compiling the driver:

make CC=arm_v5t_le-gcc

 

 

*** loading the driver:

[EMAIL PROTECTED]:/home# insmod spca5xx.ko

usbcore: registered new driver spca5xx

/home/student/Desktop/spca5xx-v4l1goodbye/drivers/usb/spca5xx.c: spca5xx
driver 00.60.00.1 registered

 

 

*** dmesg after connecting webcam:

usb 1-1: new full speed USB device using musb_hdrc and address 2

 

*** again running this commando gave me this:

[EMAIL PROTECTED]:/home# cat /proc/bus/usb/devices 

 

T:  Bus=01 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#=  1 Spd=480 MxCh= 1

B:  Alloc=  0/800 us ( 0%), #Int=  0, #Iso=  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=12  MxCh= 0

D:  Ver= 1.10 Cls=00(>ifc ) Sub=00 Prot=00 MxPS= 8 #Cfgs=  1

P:  Vendor=046d ProdID=08d7 Rev= 1.00

C:* #Ifs= 3 Cfg#= 1 Atr=a0 MxPwr=100mA

I:  If#= 0 Alt= 0 #EPs= 2 Cls=ff(vend.) Sub=ff Prot=ff Driver=(none)

E:  Ad=81(I) Atr=01(Isoc) MxPS=   0 Ivl=1ms

E:  Ad=82(I) Atr=03(Int.) MxPS=   8 Ivl=10ms

I:  If#= 0 Alt= 1 #EPs= 2 Cls=ff(vend.) Sub=ff Prot=ff Driver=(none)

E:  Ad=81(I) Atr=01(Isoc) MxPS= 128 Ivl=1ms

E:  Ad=82(I) Atr=03(Int.) MxPS=   8 Ivl=10ms

I:  If#= 0 Alt= 2 #EPs= 2 Cls=ff(vend.) Sub=ff Prot=ff Driver=(none)

E:  Ad=81(I) Atr=01(Isoc) MxPS= 192 Ivl=1ms

E:  Ad=82(I) Atr=03(Int.) MxPS=   8 Ivl=10ms

I:  If#= 0 Alt= 3 #EPs= 2 Cls=ff(vend.) Sub=ff Prot=ff Driver=(none)

E:  Ad=81(I) Atr=01(Isoc) MxPS= 256 Ivl=1ms

E:  Ad=82(I) Atr=03(Int.) MxPS=   8 Ivl=10ms

I:  If#= 0 Alt= 4 #EPs= 2 Cls=ff(vend.) Sub=ff Prot=ff Driver=(none)

E:  Ad=81(I) Atr=01(Isoc) MxPS= 384 Ivl=1ms

E:  Ad=82(I) Atr=03(Int.) MxPS=   8 Ivl=10ms

I:  If#= 0 Alt= 5 #EPs= 2 Cls=ff(vend.) Sub=ff Prot=ff Driver=(none)

E:  Ad=81(I) Atr=01(Isoc) MxPS= 512 Ivl=1ms

E:  Ad=82(I) Atr=03(Int.) MxPS=   8 Ivl=10ms

I:  If#= 0 Alt= 6 #EPs= 2 Cls=ff(vend.) Sub=ff Prot=ff Driver=(none)

E:  Ad=81(I) Atr=01(Isoc) MxPS= 768 Ivl=1ms

E:  Ad=82(I) Atr=03(Int.) MxPS=   8 Ivl=10ms

I:  If#= 0 Alt= 7 #EPs= 2 Cls=ff(vend.) Sub=ff Prot=ff Driver=(none)

E:  Ad=81(I) Atr=01(Isoc) MxPS=1023 Ivl=1ms

E:  Ad=82(I) Atr=03(Int.) MxPS=   8 Ivl=10ms

I:  If#= 1 Alt= 0 #EPs= 0 Cls=01(audio) Sub=01 Prot=00 Driver=(none)

I:  If#= 2 Alt= 0 #EPs= 0 Cls=01(audio) Sub=02 Prot=00 Driver=(none)

I:  If#= 2 Alt= 1 #EPs= 1 Cls=01(audio) Sub=02 Prot=00 Driver=(none)

E:  Ad=83(I) Atr=01(Isoc) MxPS=  16 Ivl=1ms

I:  If#= 2 Alt= 2 #EPs= 1 Cls=01(audio) Sub=02 Prot=00 Driver=(none)

E:  Ad=83(I) Atr=01(Isoc) MxPS=  32 Ivl=1ms

 

*** now what did i do wrong now...? :( and why does this devices list became
bigger?

 

-Ramoe

_______________________________________________
Davinci-linux-open-source mailing list
[email protected]
http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source

Reply via email to