2012-08-04, 16:41
maybe a problem with the permissions of /dev/dvb/adapter* ?
(2012-08-05, 02:15)Pyromaniac Wrote: ok...hm...
after this command:
sudo chmod o+rw /dev/dvb/* -R
the permissions should look like this:
/dev/dvb/adapter*:
total 0
crw-rw--rw+ 1 root video 212, 0 Aug 4 11:17 demux0
crw-rw--rw+ 1 root video 212, 1 Aug 4 11:17 dvr0
crw-rw--rw+ 1 root video 212, 2 Aug 4 11:17 frontend0
but after every reboot, they are set to "the usual "crw-rw----" automatically
you could try this: edit /etc/rc.local and add on the "end of the file"* "sudo chmod o+rw /dev/dvb/* -R"
this will set the permissions to "everyone" to set and "read" the dvb-c/s/t signal
*: end of file: has to end with: exit 0
so, the last command has to be before the "exit 0" command
#! /bin/sh
#set permissions for tvheadend /dev/dvb tuners
sudo chmod o+rw /dev/dvb/* -R
exit 0
#!/bin/bash
sudo chmod o+rw /dev/dvb/* -R
service dvbhdhomerun-utils start
while [ ! -d /dev/dvb ]
do
sleep 1
done
service tvheadend start
(2012-08-06, 05:11)Balthazar Wrote: but that didn't work either. I can execute sudo chmod o+rw /dev/dvb/* -R and the permissions change, but the tvheadend interface doesn't work, I'm guessing because the service was started before the permissions were properly set. I also tried this script
#!/bin/bash
service dvbhdhomerun-utils start
while [ ! -d /dev/dvb ]
do
sleep 1
done
sudo chmod o+rw /dev/dvb/* -R &
service tvheadend start
bob@mediaserver:~$ ls -l /dev/dvb/adapter*
/dev/dvb/adapter0:
total 0
crw-rw-rw-+ 1 root video 212, 0 Aug 6 18:35 demux0
crw-rw-rw-+ 1 root video 212, 1 Aug 6 18:35 dvr0
crw-rw-rw-+ 1 root video 212, 2 Aug 6 18:35 frontend0
/dev/dvb/adapter1:
total 0
crw-rw-rw-+ 1 root video 212, 3 Aug 6 18:35 demux0
crw-rw-rw-+ 1 root video 212, 4 Aug 6 18:35 dvr0
crw-rw-rw-+ 1 root video 212, 5 Aug 6 18:35 frontend0
bob@mediaserver:~$ tvheadend
[INFO]:dvb: Found adapter /dev/dvb/adapter0 (HDHomeRun ATSC) via PCI
[INFO]:dvb: Found adapter /dev/dvb/adapter1 (HDHomeRun ATSC) via PCI
[INFO]:v4l: /dev/video0: uvcvideo UVC Camera (046d:0809) usb-0000:00:1a.0-1.4 capabilities: 0x04000001
[INFO]:v4l: /dev/video0: Input #0: Camera 1 (Camera), audio:0x0, tuner:0, standard:0000000000000000,
[INFO]:v4l: /dev/video0: Format #0: YUV 4:2:2 (YUYV) [YUYV]
[INFO]:v4l: /dev/video0: Format #1: MJPEG [MJPG] (compressed)
[WARNING]:v4l: /dev/video0: Device does not have a tuner, device skipped
[INFO]:dvr: Creating new configuration ''
[WARNING]:dvr: Output directory for video recording is not yet configured for DVR configuration "". Defaulting to to "/home/bob/Videos". This can be changed from the web user interface.
[INFO]:CSA: Using SSE2 128bit parallel descrambling
[NOTICE]:START: HTS Tvheadend version 2.12 started, running as PID:5476 UID:1000 GID:1000, settings located in '/home/bob/.hts/tvheadend'
[INFO]:AVAHI: Service 'Tvheadend' successfully established.
[ERROR]:HTTP: 127.0.0.1: /comet/poll -- 401
(2012-08-04, 14:56)Balthazar Wrote: Having some trouble setting this up with my hdhomerun. Here is what I have so far (Ubuntu 12.04)
I have all of the software installed ( hdhomerun-config hdhomerun-config-gui dvbhdhomerun-dkms dvbhdhomerun-utils)
Script installed to start dvbhdhomerun-utils and tvheadend from this thread.
I can access the web interface at http://localhost:9981/extjs.html.
Output of hdhomerun_config discover returns "hdhomerun device 101899F3 found at 192.168.2.5"
/etc/hdhomerun config file is setup like this:
[101899F3-0]
tuner_type=ATSC
[101899F3-1]
tuner_type=ATSC
I think everything is correct, but when I go to the web interface to select my tuner the drop down menu is blank. Am I missing something?
sudo service tvheadend stop
sudo service dvbhdhomerun-utils start
sudo service tvheadend start