<html><head></head><body><div>I think that this applies to lxd, but I have lxc only.</div><div><br></div><div>On Wed, 2017-12-13 at 00:16 +0000, Pavol Cupka wrote:</div><blockquote type="cite" style="margin:0 0 0 .8ex; border-left:2px #729fcf solid;padding-left:1ex"><div dir="ltr"><div>Take a look at<br><a href="https://stgraber.org/2017/03/21/cuda-in-lxd/">https://stgraber.org/2017/03/21/cuda-in-lxd/</a><br></div>maybe there is something you can use for dvb?<br><br><br></div><br><div class="gmail_quote"><div dir="ltr">On Tue, Dec 12, 2017 at 11:07 PM David Pinson <<a href="mailto:dap@hbm-mail.com">dap@hbm-mail.com</a>> wrote:<br></div><blockquote type="cite" style="margin:0 0 0 .8ex; border-left:2px #729fcf solid;padding-left:1ex">I have video processing and dvb devices that I need to use in a fedora<br>
25 container. I haven't tried the video cards (aja and blackmagic) yet,<br>
because I haven't been successful with the dvb device yet.<br>
<br>
I have added the following to the config:<br>
<br>
lxc.cgroup.devices.allow = b 212:* rwm<br>
lxc.mount.entry = /dev/dvb dev/dvb none bind,optional,create=dir<br>
<br>
which gives me the entries in the container:<br>
<br>
[root@fedora-c1 dap]# ls -l /dev/dvb/adapter0/<br>
total 0<br>
crw-rw----+ 1 root video 212, 1 Dec 12 17:38 demux0<br>
crw-rw----+ 1 root video 212, 2 Dec 12 17:38 dvr0<br>
crw-rw----+ 1 root video 212, 0 Dec 12 17:38 frontend0<br>
crw-rw----+ 1 root video 212, 3 Dec 12 17:38 net0<br>
<br>
When I try to use w_scan to create a list of channels, I get:<br>
<br>
[root@fedora-c1 dap]# w_scan -fa -A1 -c US -X<br>
w_scan -fa -A1 -c US -X<br>
w_scan version 20161022 (compiled for DVB API 5.10)<br>
using settings for UNITED STATES<br>
ATSC<br>
VSB US/CA, DVB-T TW<br>
scan type TERRCABLE_ATSC, channellist 1<br>
output format czap/tzap/szap/xine<br>
WARNING: could not guess your codepage. Falling back to 'UTF-8'<br>
output charset 'UTF-8', use -C <charset> to override<br>
Info: using DVB adapter auto detection.<br>
main:3916: FATAL: ***** NO USEABLE TERRCABLE_ATSC CARD FOUND. *****<br>
Please check wether dvb driver is loaded and<br>
verify that no dvb application (i.e. vdr) is running.<br>
<br>
What am I doing wrong?<br>
<br>
_______________________________________________<br>
lxc-users mailing list<br>
<a href="mailto:lxc-users@lists.linuxcontainers.org" target="_blank">lxc-users@lists.linuxcontainers.org</a><br>
<a href="http://lists.linuxcontainers.org/listinfo/lxc-users" rel="noreferrer" target="_blank">http://lists.linuxcontainers.org/listinfo/lxc-users</a></blockquote></div>
<pre>_______________________________________________
lxc-users mailing list
<a href="mailto:lxc-users@lists.linuxcontainers.org">lxc-users@lists.linuxcontainers.org</a>
<a href="http://lists.linuxcontainers.org/listinfo/lxc-users">http://lists.linuxcontainers.org/listinfo/lxc-users</a></pre></blockquote></body></html>