[lxc-users] need to get devices to work in lxc

David Pinson dap at hbm-mail.com
Wed Dec 13 00:34:32 UTC 2017


I think that this applies to lxd, but I have lxc only.

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


More information about the lxc-users mailing list