Page 1 of 1

Re: Reset to fvdw default

PostPosted: Sat May 17, 2014 10:14 am
by kobes
Firstly congrats to Jocko and fvdw on a fine job done for these Lacie products.
This is the first time I have seem functionality so solid on a NAS.
It says something when users abandon the vendor firmware in favour of a user developed 'OS'

However, so sorry to have to bring this post back to life, but its description is precisely what I want to do... I think.

I have a NS2 with 15.2
I have changed the internal disk to 2TB
- All running fine

I attached a powered USB 2.0 hub.
To this I have added a lot of stuff (Maybe too much!)
2x Seagate USB HDD (1x1TB & 1x2TB)
WebCam USB 2.0 (V. Cheap ebay)
... I also use the USB powered ports to charge iPhone and Android Tablet.

All devices function well.

Except the WebCam which Motion cannot recognise.
It did work once after I uploaded some ko files via the USB upload feature.
But now I get 'Unable to open video device'

Here is the text from the USB list feature:
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=12  MxCh= 4
D:  Ver= 2.00 Cls=09(hub  ) Sub=00 Prot=00 MxPS= 8 #Cfgs=  1
P:  Vendor=05e3 ProdID=0606 Rev=07.02
S:  Manufacturer=ALCOR
S:  Product=USB Hub 2.0
C:  #Ifs= 1 Cfg#= 1 Atr=e0 MxPwr=100mA
I:  If#= 0 Alt= 0 #EPs= 1 Cls=09(hub  ) Sub=00 Prot=00 Driver=hub

T:  Bus=01 Lev=02 Prnt=02 Port=01 Cnt=01 Dev#=  3 Spd=12  MxCh= 0
D:  Ver= 2.00 Cls=00(>ifc ) Sub=00 Prot=00 MxPS=64 #Cfgs=  1
P:  Vendor=0bc2 ProdID=5071 Rev=01.55
S:  Manufacturer=Seagate
S:  Product=FA GoFlex Desk
S:  SerialNumber=NA0KQJ7T
C:  #Ifs= 1 Cfg#= 1 Atr=c0 MxPwr=2mA
I:  If#= 0 Alt= 0 #EPs= 2 Cls=08(stor.) Sub=06 Prot=50 Driver=usb-storage

T:  Bus=01 Lev=02 Prnt=02 Port=02 Cnt=02 Dev#=  4 Spd=12  MxCh= 4
D:  Ver= 2.00 Cls=09(hub  ) Sub=00 Prot=00 MxPS= 8 #Cfgs=  1
P:  Vendor=05e3 ProdID=0606 Rev=07.02
S:  Manufacturer=ALCOR
S:  Product=USB Hub 2.0
C:  #Ifs= 1 Cfg#= 1 Atr=e0 MxPwr=100mA
I:  If#= 0 Alt= 0 #EPs= 1 Cls=09(hub  ) Sub=00 Prot=00 Driver=hub

T:  Bus=01 Lev=03 Prnt=04 Port=00 Cnt=01 Dev#=  6 Spd=12  MxCh= 0
D:  Ver= 2.00 Cls=00(>ifc ) Sub=00 Prot=00 MxPS=64 #Cfgs=  1
P:  Vendor=0bc2 ProdID=5070 Rev=01.55
S:  Manufacturer=Seagate
S:  Product=FA GoFlex Desk
S:  SerialNumber=2HC015KJ
C:  #Ifs= 1 Cfg#= 1 Atr=c0 MxPwr=2mA
I:  If#= 0 Alt= 0 #EPs= 2 Cls=08(stor.) Sub=06 Prot=50 Driver=usb-storage

T:  Bus=01 Lev=02 Prnt=02 Port=03 Cnt=03 Dev#=  5 Spd=12  MxCh= 4
D:  Ver= 2.00 Cls=09(hub  ) Sub=00 Prot=00 MxPS= 8 #Cfgs=  1
P:  Vendor=05e3 ProdID=0606 Rev=07.02
S:  Manufacturer=ALCOR
S:  Product=USB Hub 2.0
C:  #Ifs= 1 Cfg#= 1 Atr=e0 MxPwr=100mA
I:  If#= 0 Alt= 0 #EPs= 1 Cls=09(hub  ) Sub=00 Prot=00 Driver=hub

T:  Bus=01 Lev=03 Prnt=05 Port=02 Cnt=01 Dev#=  8 Spd=12  MxCh= 0
D:  Ver= 2.00 Cls=ef(misc ) Sub=02 Prot=01 MxPS=64 #Cfgs=  1
P:  Vendor=0ac8 ProdID=0333 Rev=00.00
S:  Manufacturer=Microelectronics ,Corp
S:  Product=USB 2.0 Web Camera
C:  #Ifs= 2 Cfg#= 1 Atr=80 MxPwr=200mA
I:  If#= 0 Alt= 0 #EPs= 1 Cls=0e(video) Sub=01 Prot=00 Driver=uvcvideo
I:  If#= 1 Alt= 0 #EPs= 0 Cls=0e(video) Sub=02 Prot=00 Driver=uvcvideo


The last line of this text seems to imply to me that the device has two video outputs, but this is not the case.
And it was not like this when I had the camera working Just a single entry on Sub=01
I have a default motion.conf file. But I have tried changing to •videodevice = /dev/video1 from the default, but to no avail.

Because the when the camera worked there was one a single video out device recognised, I was thinking on the lines that I wanted to reset all back to defaults and start over...

I hope someone can advise.
Cheers

Re: Reset to fvdw default

PostPosted: Mon May 19, 2014 9:36 pm
by fvdw
which modules did you upload and where did you get them ?

Re: Reset to fvdw default

PostPosted: Tue May 20, 2014 7:07 am
by kobes
To be honest, I cannot remember where I got them...
I did find a uvcvideo.ko file and loaded that.
It appears to have this info inside the file:
GCC: (Linaro GCC branch-4.6.4. Marvell GCC 201303-1655.6f19debc) 4.6.4 20120731

Could it be that two different versions of uvcvideo.ko are loading?
Ultimately I would like to reset to defaults, but don't want to format the drive - its almost at capacity and I have nowhere to put them as backup.

BTW: Sorry for posting to the vs1 threads, as its a vs2 that I have. I was guessing that it would be the same reset process.
Cheers

---edit---
I moved your post to the nwsp2 forum
Jocko

Re: motion doesn't recognize my webcam

PostPosted: Tue May 20, 2014 12:49 pm
by fvdw
a kernel module only loads when it fits to the kernel. In otherwords you can not load just any module. The modules must be compiled for the kernel running on the nas.
resetting doesn't need reformat. Just install the latest firmware again and you are ready to go again

Re: motion doesn't recognize my webcam

PostPosted: Wed May 21, 2014 5:45 am
by kobes
Many thanks for the info and advice.
Im sure all will be fine once the fw is reflashed.
Again - Great work and much appreciated.