Hello everybody ,

I use the DM6467 and I want to
install a webcam in my board, I use this link for help : 
http://wiki.davincidsp.com/index.php/USB_Webcam.


So when I plug the webcam to
the board this message is displayed:

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

When I execute this command:

[email protected] lsusb | grep -i logitech

The kernel answer is:

Bus
001 Device 004: ID 046d:0870 Logitech, Inc. QuickCam Express

After that I wanted to verify
if the webcam is register with any driver or not. And I use this command:

[email protected]:~#
cat /proc/bus/usb/devices

 

The answer is:

 

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#=  4 Spd=12  MxCh= 0

D:  Ver= 1.10 Cls=ff(vend.) Sub=ff Prot=ff MxPS= 8 #Cfgs=  1

P: 
Vendor=046d ProdID=0870 Rev= 1.00

S: 
Product=Camera

C:* #Ifs= 1 Cfg#= 1 Atr=80 MxPwr= 90mA

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=   1
Ivl=16ms

I: 
If#= 0 Alt= 1 #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=   1 Ivl=16ms

 

That’s why I download spca5xx
driver to corss-compile it.

I modify the makefile :

 

 KERNEL_VERSION
= 2.6.10_mvl401-davinci_evm

 KERNELDIR := /home/anis1/workdir/filesys/lib/modules/$(KERNEL_VERSION)/build

PWD 
:= $(shell pwd)

MODULE_INSTALLDIR =
/home/anis1/workdir/filesys/lib/modules/$(KERNEL_VERSION)/kernel/drivers/usb/media/

 

I execute this function: 

        CC=arm_v5t_le-gcc make

The answer is :


 

[r...@localhost spca5xx-v4l1goodbye]#
CC=arm_v5t_le-gcc make

  
Building SPCA5XX driver for 2.5/2.6 kernel.

  
Remember: you must have read/write access to your kernel source tree.

make -C
/home/anis1/workdir/filesys/lib/modules/2.6.10_mvl401-davinci_evm/build
SUBDIRS=/home/anis1/driver/spca5xx-v4l1goodbye CC=arm_v5t_le-gcc modules

make: ***
/home/anis1/workdir/filesys/lib/modules/2.6.10_mvl401-davinci_evm/build: the
file or directory is not found.  Stop.

make: *** [default] Error 2

 

the  build directory is not found and I have no
idea how to change this line.

I need your help if
you have any proposition or any comments please tell me as well.

 

Best regards

Anis Monser

 

 

 

 

 

 

 

 

 

 

 

 

                                          
_________________________________________________________________
Achetez un nouveau PC et bénéficiez de Windows 7 dès sa sortie !
http://www.portable-windows.com/
_______________________________________________
Davinci-linux-open-source mailing list
[email protected]
http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source

Reply via email to