1.11.0.x gargoyle-ispy 2019-March-05 01

Want to share your OpenWrt / Gargoyle knowledge? Implemented a new feature? Let us know here.

Moderator: Moderators

Post Reply
ispyisail
Moderator
Posts: 5185
Joined: Mon Apr 06, 2009 3:15 am
Location: New Zealand

1.11.0.x gargoyle-ispy 2019-March-05 01

Post by ispyisail »

USE AT YOUR OWN RISK

WARNING: DO NOT PRESERVE SETTINGS

Now includes packages

Do not install on 4MB routers

1.11.0.x gargoyle-ispy 2019-March-05 01

Patches are coming faster than I can make builds

Torrent
http://bit.ly/2XxVCvf

magnet:?xt=urn:btih:551187fca11237e0c56027d65220a02c3b90bcb1&dn=gargoyle-ispy%202019-March-05%2001.7z&tr=udp%3a%2f%2ftracker.openbittorrent.com%3a80&tr=udp%3a%2f%2fopen.demonii.com%3a1337&tr=udp%3a%2f%2ftracker.coppersurfer.tk%3a6969&tr=udp%3a%2f%2ftracker.leechers-paradise.org%3a6969&tr=udp%3a%2f%2ftracker.coppersurfer.tk%3a6969%2fannounce&tr=udp%3a%2f%2ftracker.open-internet.nl%3a6969%2fannounce&tr=udp%3a%2f%2fallesanddro.de%3a1337%2fannounce&tr=udp%3a%2f%2f9.rarbg.to%3a2710%2fannounce


Routers
http://bit.ly/2SIMfFs

Changelog

Commits on Mar 2, 2019
https://github.com/ericpaulbishop/gargo ... its/master

RomanHK
Posts: 794
Joined: Sat May 04, 2013 4:18 pm
Location: Czech Republik

Re: 1.11.0.x gargoyle-ispy 2019-March-05 01

Post by RomanHK »

My configuration: USB1 = camera, USB2 = printer
Once connected, the camera is running until the USB printer is disconnected. After disconnecting the printer, the Webcam does not work :( . For this to work, the camera must be disconnected and reconnected to the USB port.

Code: Select all

Tue Mar  5 22:05:46 2019 kern.info kernel: [  422.383349] usb 4-1: new high-speed USB device number 2 using xhci-hcd
Tue Mar  5 22:05:46 2019 kern.info kernel: [  422.565978] usblp 4-1:1.0: usblp0: USB Bidirectional printer dev 2 if 0 alt 0 proto 2 vid 0x03F0 pid 0x5D17
Tue Mar  5 22:06:02 2019 user.info MJPG-streamer [8004]: serving client: 192.168.1.4
Tue Mar  5 22:07:25 2019 kern.info kernel: [  521.735361] usb 4-1: USB disconnect, device number 2
Tue Mar  5 22:07:25 2019 kern.info kernel: [  521.740525] usblp0: removed
Tue Mar  5 22:12:07 2019 kern.info kernel: [  803.415099] usb 2-1: USB disconnect, device number 2
Tue Mar  5 22:12:13 2019 kern.info kernel: [  809.498469] usb 2-1: new high-speed USB device number 3 using xhci-hcd
Tue Mar  5 22:12:13 2019 kern.info kernel: [  809.772026] uvcvideo: Found UVC 1.00 device FaceCam 1000X (0458:708f)
Tue Mar  5 22:12:13 2019 kern.info kernel: [  809.786102] input: FaceCam 1000X: FaceCam 1000X as /devices/platform/soc/soc:internal-regs/f10f0000.usb3/usb2/2-1/2-1:1.0/input/input1
Tue Mar  5 22:12:13 2019 user.info MJPG-streamer [13112]: starting application
Tue Mar  5 22:12:13 2019 user.info MJPG-streamer [13112]: MJPG Streamer Version.: 2.0
Tue Mar  5 22:12:13 2019 user.info MJPG-streamer [13112]: Using V4L2 device.: /dev/video0
Tue Mar  5 22:12:13 2019 user.info MJPG-streamer [13112]: Desired Resolution: 640 x 480
Tue Mar  5 22:12:13 2019 user.info MJPG-streamer [13112]: Frames Per Second.: 5
Tue Mar  5 22:12:13 2019 user.info MJPG-streamer [13112]: Format............: JPEG
Tue Mar  5 22:12:13 2019 user.info MJPG-streamer [13112]: TV-Norm...........: DEFAULT
Tue Mar  5 22:12:14 2019 user.info MJPG-streamer [13112]: www-folder-path...: /www/webcam/
Tue Mar  5 22:12:14 2019 user.info MJPG-streamer [13112]: HTTP TCP port.....: 8080
Tue Mar  5 22:12:14 2019 user.info MJPG-streamer [13112]: username:password.: admin:admin
Tue Mar  5 22:12:14 2019 user.info MJPG-streamer [13112]: commands..........: enabled
Tue Mar  5 22:12:14 2019 user.info MJPG-streamer [13112]: starting input plugin input_uvc.so
Tue Mar  5 22:12:14 2019 user.info MJPG-streamer [13112]: starting output plugin: output_http.so (ID: 00)
Tue Mar  5 22:12:40 2019 user.info MJPG-streamer [13112]: serving client: 192.168.1.4
Turris Omnia with OpenWrt 21.02 - Tested
Linksys WRT3200ACM with Gargoyle 1.13.x
TL-WR1043ND v2 with Gargoyle 1.10.0

http://gargoyle.romanhk.cz custom builds by gargoyle users

Lantis
Moderator
Posts: 6753
Joined: Mon Jan 05, 2015 5:33 am
Location: Australia

Re: 1.11.0.x gargoyle-ispy 2019-March-05 01

Post by Lantis »

The good news is that the camera has started working right? :)

If I had to guess, the OS is reassigning the USB device identifiers when one is unplugged, but I don’t know why it would do that.
I would start my investigation there.
http://lantisproject.com/downloads/gargoyle_ispyisail.php for the latest releases
Please be respectful when posting. I do this in my free time on a volunteer basis.

RomanHK
Posts: 794
Joined: Sat May 04, 2013 4:18 pm
Location: Czech Republik

Re: 1.11.0.x gargoyle-ispy 2019-March-05 01

Post by RomanHK »

Yes, the Webcam plugin works great - it only stops working after disconnecting the printer or any USB device. I have tried attaching and disconnecting the Flash Drive and the webcam does not work (USB1 = Flash disk, USB2= camera).
Turris Omnia with OpenWrt 21.02 - Tested
Linksys WRT3200ACM with Gargoyle 1.13.x
TL-WR1043ND v2 with Gargoyle 1.10.0

http://gargoyle.romanhk.cz custom builds by gargoyle users

RomanHK
Posts: 794
Joined: Sat May 04, 2013 4:18 pm
Location: Czech Republik

Re: 1.11.0.x gargoyle-ispy 2019-March-05 01

Post by RomanHK »

I do not know why, but the mjpg_streamer process is killed when disconnected.
If I run it again manually (/etc/init.d/mjpg_streamer start), it all works.

Will not be hotplug? - yes, when I delete the file /etc/hotplug.d/usb/20-mjpg-streamer , so the process exists that the webcam works.

Before disconnecting:

Code: Select all

root@TurrisOmnia:~# ps | grep mjpg_streamer
16725 root      6752 S    /usr/bin/mjpg_streamer --input input_uvc.so --device
17021 root      1064 R    grep mjpg_streamer
root@TurrisOmnia:~#
After disconnecting:

Code: Select all

root@TurrisOmnia:~# ps | grep mjpg_streamer
-ash: root@TurrisOmnia:~#: not found
root@TurrisOmnia:~#
I write it as a tool to solve the problem.
Turris Omnia with OpenWrt 21.02 - Tested
Linksys WRT3200ACM with Gargoyle 1.13.x
TL-WR1043ND v2 with Gargoyle 1.10.0

http://gargoyle.romanhk.cz custom builds by gargoyle users

Lantis
Moderator
Posts: 6753
Joined: Mon Jan 05, 2015 5:33 am
Location: Australia

Re: 1.11.0.x gargoyle-ispy 2019-March-05 01

Post by Lantis »

So the hotplug script is behaving the way it should, it just needs a little adjusting.
http://lantisproject.com/downloads/gargoyle_ispyisail.php for the latest releases
Please be respectful when posting. I do this in my free time on a volunteer basis.

RomanHK
Posts: 794
Joined: Sat May 04, 2013 4:18 pm
Location: Czech Republik

Re: 1.11.0.x gargoyle-ispy 2019-March-05 01

Post by RomanHK »

Lantis wrote:So the hotplug script is behaving the way it should, it just needs a little adjusting.
I did not mean to say the script was wrong - I wanted to specify the problem. I do not know if you have the chance to try.
Turris Omnia with OpenWrt 21.02 - Tested
Linksys WRT3200ACM with Gargoyle 1.13.x
TL-WR1043ND v2 with Gargoyle 1.10.0

http://gargoyle.romanhk.cz custom builds by gargoyle users

Lantis
Moderator
Posts: 6753
Joined: Mon Jan 05, 2015 5:33 am
Location: Australia

Re: 1.11.0.x gargoyle-ispy 2019-March-05 01

Post by Lantis »

Got my act together. These are now mirrored here:
http://lantisproject.com/downloads/garg ... yisail.php

Will be quicker off the mark next time now that i have the workflow sorted.
http://lantisproject.com/downloads/gargoyle_ispyisail.php for the latest releases
Please be respectful when posting. I do this in my free time on a volunteer basis.

RomanHK
Posts: 794
Joined: Sat May 04, 2013 4:18 pm
Location: Czech Republik

Re: 1.11.0.x gargoyle-ispy 2019-March-05 01

Post by RomanHK »

Lantis wrote:Got my act together. These are now mirrored here:
http://lantisproject.com/downloads/garg ... yisail.php

Will be quicker off the mark next time now that i have the workflow sorted.
+1, ;)
The first "Download" (gargoyle-ispy 2019-March-05 01.7z link) can not click, is that ok?
Turris Omnia with OpenWrt 21.02 - Tested
Linksys WRT3200ACM with Gargoyle 1.13.x
TL-WR1043ND v2 with Gargoyle 1.10.0

http://gargoyle.romanhk.cz custom builds by gargoyle users

Post Reply