OpenVZ Forum


Home » General » Support » [solved] pass dvb device to ve (i wan't to pass a dvb device to ve with mythtv)
[solved] pass dvb device to ve [message #41017] Thu, 04 November 2010 12:29 Go to next message
dukeluke is currently offline  dukeluke
Messages: 2
Registered: November 2010
Junior Member
hey everybody,

at home i have a little server with proxmox, a distribution spezialized for virtualisation. there i have a firewall in an kvm virtual machine. that works as it should.

but my problem now is, to run mythtv in an openvz container.

where i live, our tv is scrambled, so i have a smartcard, but no dvb device capable for a cam like alphacrypt.

so i decided to use sasc-ng. this creates a dvb loopback device, which descrambles the stream from the real dvb device. an in the ve i have to access the loopback device.

as long as i pass the real device to the ve, mythtv works, but when i use the virtual loopback device, it don't work anymore.

i can search for channels inside the ve, but mythtv gives the following messages:
2010-11-03 15:33:27.156 DVBChan(1:/dev/dvb/adapter1/frontend0) Warning: Opening DVB frontend device failed.
eno: Permission denied (13)
2010-11-03 15:33:27.156 DVBChan(1:/dev/dvb/adapter1/frontend0) Error: Failed to open DVB frontend device due to fatal error or too many attempts.
2010-11-03 15:33:27.158 DVBChan(2:/dev/dvb/adapter1/frontend0) Warning: Opening DVB frontend device failed.
eno: Permission denied (13)
2010-11-03 15:33:27.158 DVBChan(2:/dev/dvb/adapter1/frontend0) Error: Failed to open DVB frontend device due to fatal error or too many attempts.


here are my DEVNODES in the 102.conf:
DEVNODES="dvb/adapter1/audio0:rw dvb/adapter1/demux0:rw dvb/adapter1/dvr0:rw dvb/adapter1/frontend0:rw dvb/adapter1/osd0:rw dvb/adapter1/video0:rw"

i hope someone can help.

thank you!

EDIT:
i finally got it! i had to chmod -R 777 /dev/dvb/adapter1 inside the VE

[Updated on: Fri, 05 November 2010 05:39]

Report message to a moderator

Re: pass dvb device to ve [message #41025 is a reply to message #41017] Fri, 05 November 2010 05:36 Go to previous message
dukeluke is currently offline  dukeluke
Messages: 2
Registered: November 2010
Junior Member
i finally got it.
i had to change the rights on the /dev/dvb/adapter1 to 777.
Previous Topic: Can't ping HN from VEs; ssh to VEs connects directly to HN
Next Topic: Adding a virtual ethernet device and join to a bridge
Goto Forum:
  


Current Time: Sat Aug 24 18:24:59 GMT 2024

Total time taken to generate the page: 0.03271 seconds