News:

Rule #1 - Be Patient - Rule #2 - Don't ask when, if you don't contribute - Rule #3 - You have coding skills - LinuxMCE's small brother is available: http://www.agocontrol.com

Main Menu

VDR install

Started by joshpond, March 24, 2011, 07:37:33 AM

Previous topic - Next topic

joshpond

Hi all,

Trying to use VDR with my HDHomeRun.

Following the wiki; http://wiki.linuxmce.org/index.php/VDR


sudo apt-get install vdradmin-am
sudo apt-get update


That's all fine;

Then

sudo apt-get install dvb-utils


And I get unable to mkdirs:

Setting up dvb-utils (1.1.1-3) ...
udev active, devices will be created in /dev/.static/dev/
mkdir: cannot create directory `dvb': Read-only file system
mkdir: cannot create directory `dvb': Read-only file system
mknod: `dvb/adapter0/video0-': No such file or directory
makedev dvb/adapter0/video0 c 212 0 root video 0660: failed
mknod: `dvb/adapter0/audio0-': No such file or directory
makedev dvb/adapter0/audio0 c 212 1 root video 0660: failed
mknod: `dvb/adapter0/frontend0-': No such file or directory
makedev dvb/adapter0/frontend0 c 212 3 root video 0660: failed
mknod: `dvb/adapter0/demux0-': No such file or directory
makedev dvb/adapter0/demux0 c 212 4 root video 0660: failed
mknod: `dvb/adapter0/dvr0-': No such file or directory
makedev dvb/adapter0/dvr0 c 212 5 root video 0660: failed
mknod: `dvb/adapter0/ca0-': No such file or directory
makedev dvb/adapter0/ca0 c 212 6 root video 0660: failed
mknod: `dvb/adapter0/net0-': No such file or directory
makedev dvb/adapter0/net0 c 212 7 root video 0660: failed
mknod: `dvb/adapter0/osd0-': No such file or directory
makedev dvb/adapter0/osd0 c 212 8 root video 0660: failed
mkdir: cannot create directory `dvb': Read-only file system
mknod: `dvb/adapter1/video0-': No such file or directory
makedev dvb/adapter1/video0 c 212 64 root video 0660: failed
mknod: `dvb/adapter1/audio0-': No such file or directory
makedev dvb/adapter1/audio0 c 212 65 root video 0660: failed
mknod: `dvb/adapter1/frontend0-': No such file or directory
makedev dvb/adapter1/frontend0 c 212 67 root video 0660: failed
mknod: `dvb/adapter1/demux0-': No such file or directory
makedev dvb/adapter1/demux0 c 212 68 root video 0660: failed
mknod: `dvb/adapter1/dvr0-': No such file or directory
makedev dvb/adapter1/dvr0 c 212 69 root video 0660: failed
mknod: `dvb/adapter1/ca0-': No such file or directory
makedev dvb/adapter1/ca0 c 212 70 root video 0660: failed
mknod: `dvb/adapter1/net0-': No such file or directory
makedev dvb/adapter1/net0 c 212 71 root video 0660: failed
mknod: `dvb/adapter1/osd0-': No such file or directory
makedev dvb/adapter1/osd0 c 212 72 root video 0660: failed
mkdir: cannot create directory `dvb': Read-only file system
mknod: `dvb/adapter2/video0-': No such file or directory
makedev dvb/adapter2/video0 c 212 128 root video 0660: failed

etc, etc.

Something is stopping me from mkdir in that folder,
tried sudo su and even chmod but it wouldn't allow chmod either.

Thanks Josh
My Setup: On it's way

joshpond

Okay found a few things trawling the net.

Apparently there is an issue with 810 and mounting the /dev/.static/dev as ro

Don't quite understand the details but adding the following line into fstab remounts it as rw and allows dvb-utils to install.

/dev /dev/.static/dev bind remount,rw 0 0





Next issue then becomes the next step:
sudo scan -o vdr -p -u /usr/share/doc/dvb-utils/examples/scan/dvb-t/au-Townsville > channels.conf

Gives:
scanning /usr/share/doc/dvb-utils/examples/scan/dvb-t/au-Townsville
using '/dev/dvb/adapter0/frontend0' and '/dev/dvb/adapter0/demux0'
main:2247: FATAL: failed to open '/dev/dvb/adapter0/frontend0': 2 No such file or directory


Seems to be a similar permissions issue.

Josh
My Setup: On it's way

Marie.O

joshpond,

are you sure your dvb card is supported? Please paste the output of
find /dev/dvb
If I helped you, feel free to buy me a coffee: [url="https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=2VKASZLTJH7ES"]https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=2VKASZLTJH7ES[/url]

tschak909

The output you're receiving is normal, as /dev is managed by udev, a dynamic device filesystem. You're not supposed to put device nodes in there yourself, they are supposed to be created by kernel devices as they are needed.

And what the hell are you doing installing these pieces manually? ;)

-Thom

joshpond

@posde
find /dev/dvb
Shows nothing but I'm using a hdhomerun (DVB-T). It seems to be a newer version as doesn't look like the pictures on the wiki but LMCe picked it up and added a device template.

@Thom
How I got here....... well....
Following wiki for VDR setup: http://wiki.linuxmce.org/index.php/VDR
Scanning for channels, Install dvb-utils.

dvb-utils package is the one trying to put stuff in the /dev/.static/dev folder.
That's how I ended up trying to allow it to put stuff in there.

I'm getting errors also with the LMCE webadmin page with advanced>Config>VDR setup as it is giving me errors and telling me to setup with command line so I might try a reinstall with the hdhomerun in and see if it will pick things up and install VDR then.

Josh
My Setup: On it's way

joshpond

OK a reinstall did nothing, still the same issues,

Advanced > Configuration > VDR setup still shows Error,setup up VDR by commandline.

The more I look into this I don't know if the DVB-T version of the HDhomerun and VDR work together?

May have to move to mythtv?

Josh
My Setup: On it's way

Marie.O

joshpond,

the HD Homerun works via Ethernet, doesn't it?

There is experiemental support for the HD Homerun for VDR, but not for the VDR version we are using. I did not read that you are using HD Homerun in your first post, otherwise I would have warned you right away.

I suggest using MythTV.
If I helped you, feel free to buy me a coffee: [url="https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=2VKASZLTJH7ES"]https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=2VKASZLTJH7ES[/url]

totallymaxed

Quote from: joshpond on March 27, 2011, 08:05:43 AM
OK a reinstall did nothing, still the same issues,

Advanced > Configuration > VDR setup still shows Error,setup up VDR by commandline.

The more I look into this I don't know if the DVB-T version of the HDhomerun and VDR work together?

May have to move to mythtv?

Josh

Josh,

Yep as Posde says Myth is really your only option right now for HDhomerun support. Its very popular with our installers & I use one at home as do several other guys on our team here - they work excellently in Myth.

All the best


Andrew
Andy Herron,
CHT Ltd

For Dianemo/LinuxMCE consulting advice;
@herron on Twitter, totallymaxed+inquiries@gmail.com via email or PM me here.

Get Dianemo-Rpi2 ARM Licenses [url="http://forum.linuxmce.org/index.php?topic=14026.0"]http://forum.linuxmce.org/index.php?topic=14026.0[/url]

Get RaspSqueeze-CEC or Raspbmc-CEC for Dianemo/LinuxMCE: [url="http://wp.me/P4KgIc-5P"]http://wp.me/P4KgIc-5P[/url]

Facebook: [url="https://www.facebook.com/pages/Dianemo-Home-Automation/226019387454465"]https://www.facebook.com/pages/Dianemo-Home-Automation/226019387454465[/url]

[url="http://www.dianemo.co.uk"]http://www.dianemo.co.uk[/url]