Send Motion-user mailing list submissions to motion-user@lists.sourceforge.net
To subscribe or unsubscribe via the World Wide Web, visit https://lists.sourceforge.net/lists/listinfo/motion-user or, via email, send a message with subject or body 'help' to motion-user-requ...@lists.sourceforge.net You can reach the person managing the list at motion-user-ow...@lists.sourceforge.net When replying, please edit your Subject line so it is more specific than "Re: Contents of Motion-user digest..." Today's Topics: 1. Re: Prevent Motion From Using TV-Tuner Card (MrDave) 2. Re: Prevent Motion From Using TV-Tuner Card (Bill Sheets) ---------------------------------------------------------------------- Message: 1 Date: Sun, 11 Nov 2018 12:33:34 -0700 From: MrDave <motionmrd...@gmail.com> To: motion-user@lists.sourceforge.net Subject: Re: [Motion-user] Prevent Motion From Using TV-Tuner Card Message-ID: <455f9e07-a362-a015-c950-8738d7bbc...@gmail.com> Content-Type: text/plain; charset="windows-1252"; Format="flowed" I don't use Plex but have a similar card and Motion does not interfere with it.?? Motion can not process /dev/dvb devices and only processes /dev/video devices so I would suspect that it has to do with how Plex is starting.? If Plex is set up to scan for /dev/video devices, then it is possible that is trying to grab your /dev/video device and when it is already being used by Motion, it terminates and does not continue to look any further for the /dev/dvb devices. I'd suggest seeing if Plex can stop looking for the /dev/video device, possibly using udev rules to create a symbolic link to the device, or maybe setting up a v4l2 loopback device on the camera. The last choice of course is to revise the startup rules to put a dependency upon Motion to only start after Plex has finished starting.? (Others may be able to provide guidance on how to do this) On 10/29/2018 6:10 PM, Bill Sheets wrote: > I have an Ubuntu system running Motion and Plex Media Server.?? I want > Motion to access the web camera attached to the computer.?? I have a > WinTV-HVR-22XX tuner card in the machine for use with Plex to record > over the air programs.?? However, when I reboot the system it appears > that Motion is grabbing the card before Plex does rendering it > unavailable to Plex.?? If I stop Motion, Plex can grab the card. > > Is there some setting in the configuration files for Motion I can > change to tell it to leave the tuner alone? -------------- next part -------------- An HTML attachment was scrubbed... ------------------------------ Message: 2 Date: Sun, 11 Nov 2018 21:38:08 -0800 From: Bill Sheets <bjs....@gmail.com> To: motion-user@lists.sourceforge.net Subject: Re: [Motion-user] Prevent Motion From Using TV-Tuner Card Message-ID: <5c118fa0-9625-5b06-60f7-625407688...@gmail.com> Content-Type: text/plain; charset="windows-1252" I modified the following line in /etc/init.d/motion: # Required-Start: $local_fs $syslog $remote_fs plexmediaserver Added plexmediaserver and startup now works without any problems. Bill S. On 11/11/2018 11:33 AM, MrDave wrote: > > I don't use Plex but have a similar card and Motion does not interfere > with it.?? Motion can not process /dev/dvb devices and only processes > /dev/video devices so I would suspect that it has to do with how Plex > is starting.? If Plex is set up to scan for /dev/video devices, then > it is possible that is trying to grab your /dev/video device and when > it is already being used by Motion, it terminates and does not > continue to look any further for the /dev/dvb devices.? > > I'd suggest seeing if Plex can stop looking for the /dev/video device, > possibly using udev rules to create a symbolic link to the device, or > maybe setting up a v4l2 loopback device on the camera.? > > The last choice of course is to revise the startup rules to put a > dependency upon Motion to only start after Plex has finished > starting.? (Others may be able to provide guidance on how to do this) > > > On 10/29/2018 6:10 PM, Bill Sheets wrote: >> I have an Ubuntu system running Motion and Plex Media Server.?? I >> want Motion to access the web camera attached to the computer.?? I >> have a WinTV-HVR-22XX tuner card in the machine for use with Plex to >> record over the air programs.?? However, when I reboot the system it >> appears that Motion is grabbing the card before Plex does rendering >> it unavailable to Plex.?? If I stop Motion, Plex can grab the card. >> >> Is there some setting in the configuration files for Motion I can >> change to tell it to leave the tuner alone? > > > > > > _______________________________________________ > Motion-user mailing list > Motion-user@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/motion-user > https://motion-project.github.io/ > > Unsubscribe: https://lists.sourceforge.net/lists/options/motion-user -- *Bill Sheets* 971.264.0694 -------------- next part -------------- An HTML attachment was scrubbed... ------------------------------ ------------------------------ Subject: Digest Footer _______________________________________________ Motion-user mailing list Motion-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/motion-user ------------------------------ End of Motion-user Digest, Vol 149, Issue 17 ********************************************