Page 1 of 2

help with motion and Logitech QuickCam Messenger Plus

PostPosted: Fri Sep 27, 2013 2:23 pm
by juan2k
hi,

i would like to set up motion for surveillance using fvdw but the driver gc-usb it's not compile into kernel of the version 14v of the firmware

this is the data of usb devices

T: Bus=01 Lev=01 Prnt=01 Port=00 Cnt=01 Dev#= 3 Spd=12 MxCh= 0
D: Ver= 2.00 Cls=ff(vend.) Sub=ff Prot=ff MxPS= 8 #Cfgs= 1
P: Vendor=046d ProdID=08f6 Rev=01.00
S: Product=Camera
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)
I: If#= 1 Alt= 0 #EPs= 0 Cls=01(audio) Sub=01 Prot=00 Driver=(none)
I: If#= 2 Alt= 0 #EPs= 1 Cls=01(audio) Sub=02 Prot=00 Driver=(none)
I: If#= 2 Alt= 0 #EPs= 1 Cls=01(audio) Sub=02 Prot=00 Driver=(none)


the camera is a logitech quickcam messenger plus i try to compile the drivers but this error apears

root@nas_fvdw:/share/1000/web/qc-usb-messenger-1.8 # make all
awk: cmd. line:1: fatal: cannot open file `/lib/modules/2.6.39.4/build/include/linux/version.h' for reading (No such file or directory)
sh: 132608: unknown operand
sh: 132608: unknown operand
cc -I/lib/modules/2.6.39.4/build/include -nostdinc -iwithprefix include -DMODULE -D__KERNEL__ -DNOKERNEL -O2 -fomit-frame-pointer -fno-strict-aliasing -fno-common -Wall -Wstrict-prototypes -Wno-trigraphs -DHAVE_UTSRELEASE_H= -pipe -c qc-driver.c
make: cc: Command not found
make: *** [qc-driver.o] Error 127
root@nas_fvdw:/share/1000/web/qc-usb-messenger-1.8 #

thx
Juan

Re: help with motion and Logitech QuickCam Messenger Plus

PostPosted: Fri Sep 27, 2013 10:02 pm
by fvdw
currently there is no compiler included in the firmware. So cannot compile a driver with the firmware.
Furthermore the firmware supports only uvc based webcams
there are too many different ones out there to get support for all webcams so we choose to base it on uvc webcams, the majority of the ones around. Thye are also relative cheap. (20 euro)

I am afraid that your webcam is not an uvc webcam. At least I can not find it in the list
http://www.ideasonboard.org/uvc/

Re: help with motion and Logitech QuickCam Messenger Plus

PostPosted: Sun Oct 13, 2013 12:50 pm
by Oschy
I´ve got Microsoft HD-3000
it initialized the Cam but there´s no /dev/video0

Code: Select all
[  667.521051] usb 1-1: new high-speed USB device number 3 using orion-ehci
[  667.687325] usb 1-1: New USB device found, idVendor=045e, idProduct=0779
[  667.694102] usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[  667.701234] usb 1-1: Product: Microsoft® LifeCam HD-3000
[  667.706615] usb 1-1: Manufacturer: Microsoft


cu Oschy

Re: help with motion and Logitech QuickCam Messenger Plus

PostPosted: Sun Oct 13, 2013 12:58 pm
by fvdw
check first in web interface Attached devices->usb devices if a driver is loaded. I use a ms HD-5000 and it works fine
The HD-3000 is also uvc compliant and should work

Re: help with motion and Logitech QuickCam Messenger Plus

PostPosted: Sun Oct 13, 2013 3:16 pm
by Oschy
Code: Select all
T:  Bus=01 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#=  1 Spd=480 MxCh= 1
D:  Ver= 2.00 Cls=09(hub  ) Sub=00 Prot=01 MxPS=64 #Cfgs=  1
P:  Vendor=1d6b ProdID=0002 Rev=03.09
S:  Manufacturer=Linux 3.9.5 ehci_hcd
S:  Product=Marvell Orion EHCI
S:  SerialNumber=orion-ehci.0
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

T:  Bus=01 Lev=01 Prnt=01 Port=00 Cnt=01 Dev#=  4 Spd=480 MxCh= 0
D:  Ver= 2.00 Cls=ef(misc ) Sub=02 Prot=01 MxPS=64 #Cfgs=  1
P:  Vendor=045e ProdID=0779 Rev=01.06
S:  Manufacturer=Microsoft
S:  Product=Microsoft® LifeCam HD-3000
C:  #Ifs= 4 Cfg#= 1 Atr=80 MxPwr=500mA
I:  If#= 0 Alt= 0 #EPs= 1 Cls=0e(video) Sub=01 Prot=00 Driver=(none)
I:  If#= 1 Alt= 0 #EPs= 0 Cls=0e(video) Sub=02 Prot=00 Driver=(none)
I:  If#= 2 Alt= 0 #EPs= 0 Cls=01(audio) Sub=01 Prot=00 Driver=(none)
I:  If#= 3 Alt= 0 #EPs= 0 Cls=01(audio) Sub=02 Prot=00 Driver=(none)
I:  If#= 3 Alt= 0 #EPs= 0 Cls=01(audio) Sub=02 Prot=00 Driver=(none)

thats the output of the Web IF

Edit: but there´s no video0 device on /dev list

cu Oschy

Re: help with motion and Logitech QuickCam Messenger Plus

PostPosted: Sun Oct 13, 2013 6:08 pm
by fvdw
:scratch Odd a driver should be loaded for an uvc device. Need to have a more detailed look. I did not run this kernel yet with my HD-5000 cam.

Re: help with motion and Logitech QuickCam Messenger Plus

PostPosted: Sun Oct 13, 2013 6:40 pm
by fvdw
yep confirmed it is a bug. Linux 3.9.5 needs a different configuration to enable uvc support. The current kernel is not setup properly for it. This requires a kernel recompile to fix it.

For the moment webcam will not work on the nwsp2, 2big2, 5big2 (all firmware version running under linux 3.9.5). Sorry for this inconvenience, in 15-1 it will be fixed.


--edit, its working now in the new kernel

Code: Select all
T:  Bus=01 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#=  1 Spd=480 MxCh= 1
D:  Ver= 2.00 Cls=09(hub  ) Sub=00 Prot=01 MxPS=64 #Cfgs=  1
P:  Vendor=1d6b ProdID=0002 Rev=03.09
S:  Manufacturer=Linux 3.9.5 ehci_hcd
S:  Product=Marvell Orion EHCI
S:  SerialNumber=orion-ehci.0
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

T:  Bus=01 Lev=01 Prnt=01 Port=00 Cnt=01 Dev#=  2 Spd=480 MxCh= 0
D:  Ver= 2.00 Cls=ef(misc ) Sub=02 Prot=01 MxPS=64 #Cfgs=  1
P:  Vendor=0471 ProdID=0333 Rev=00.00
S:  Product=USB Video Camera
C:  #Ifs= 4 Cfg#= 1 Atr=80 MxPwr=98mA
I:  If#= 0 Alt= 0 #EPs= 1 Cls=0e(video) Sub=01 Prot=00 Driver=uvcvideo
I:  If#= 1 Alt= 1 #EPs= 1 Cls=0e(video) Sub=02 Prot=00 Driver=uvcvideo

Re: help with motion and Logitech QuickCam Messenger Plus

PostPosted: Mon Oct 14, 2013 2:39 pm
by Oschy
Please can you explain what and how should i do now?


cu Oschy

Re: help with motion and Logitech QuickCam Messenger Plus

PostPosted: Mon Oct 14, 2013 7:22 pm
by fvdw
you will have to wait until we release version 15-1. If you can wait then I could sent you a temporary kernel to fix it.

Re: help with motion and Logitech QuickCam Messenger Plus

PostPosted: Tue Oct 29, 2013 10:24 am
by Oschy
fvdw wrote:you will have to wait until we release version 15-1. If you can wait then I could sent you a temporary kernel to fix it.

That where Great if you do that, so i´m offten on the road and i want to take a look via VPN in my living room where my other eqipment works.

so please can you send the temporary kernel and a littel "howto" with wich i can handle that?

cu Oschy