Old thread but the problem is back.....
So I am now running R5e50, the only way to fix it at the time was to clean install later version. I then (yes I know this is wrong and I am not supposed to do it) but I just simply chmod 777 /dev/ttyS0 and the script /usr/local/bin/sony0.pl. Its worked fine for like a year.
All of a sudden I had a backend lockup had to reboot and now I can't watch live tv. The stupid udev rules of course changed one of the cards. Yes I never was able to fix that properly. I fixed the card assignment in setup but I still get black screen. So I figured I had better fix this properly.
First thing was to add mythtv to the dialout group as per the known changes for R5e50. Did that.
alexvd@mythtvmasterbackend:/usr/local/bin$ grep mythtv /etc/group
disk:x:6:mythtv
dialout:x:20:mythtv
cdrom:x:24:mythtv
audio:x:29:mythtv
video:x:44:mythtv
plugdev:x:46:alexvd,mythtv
mythtv:x:102:
alexvd@mythtvmasterbackend:/usr/local/bin$
Didnt fix the issue. So now I am stuck again. I could upgrade to the newest release but it won't fix this issue if it comes back again. So I am stuck.
The very odd thing is I have another receiver (different model)on /dev/ttyS1 and using the same script and it works fine.
So what is breaking that is screwing this up?
Here is log to show the errors
2007-06-21 18:00:28.699 MainServer::HandleAnnounce Monitor
2007-06-21 18:00:28.701 adding: mythtvmasterbackend as a client (events: 0)
2007-06-21 18:00:28.706 MainServer::HandleAnnounce Monitor
2007-06-21 18:00:28.708 adding: mythtvmasterbackend as a client (events: 1)
2007-06-21 18:04:40.531 Using runtime prefix = /usr
2007-06-21 18:04:40.601 New DB connection, total: 1
2007-06-21 18:04:40.622 Connected to database 'mythconverg' at host: 192.168.11.50
2007-06-21 18:04:40.632 Current Schema Version: 1160
Starting up as the master server.
2007-06-21 18:04:40.655 New DB connection, total: 2
2007-06-21 18:04:40.664 Connected to database 'mythconverg' at host: 192.168.11.50
2007-06-21 18:04:40.668 mythbackend: MythBackend started as master server
2007-06-21 18:04:40.698 EITHelper: localtime offset -4:00:00
2007-06-21 18:04:40.714 New DB connection, total: 3
2007-06-21 18:04:40.724 Connected to database 'mythconverg' at host: 192.168.11.50
2007-06-21 18:04:41.892 ret_pid(0) child(3203) status(0x0)
2007-06-21 18:04:42.895 ret_pid(0) child(3203) status(0x0)
2007-06-21 18:04:43.897 ret_pid(0) child(3203) status(0x0)
2007-06-21 18:04:44.900 ret_pid(0) child(3203) status(0x0)
2007-06-21 18:04:45.901 ret_pid(0) child(3203) status(0x0)
2007-06-21 18:04:46.903 ret_pid(0) child(3203) status(0x0)
2007-06-21 18:04:47.905 ret_pid(0) child(3203) status(0x0)
2007-06-21 18:04:48.909 ret_pid(0) child(3203) status(0x0)
2007-06-21 18:04:49.914 ret_pid(0) child(3203) status(0x0)
Error (0x00)
2007-06-21 18:04:50.698 mythbackend: Running housekeeping thread
2007-06-21 18:04:50.916 ret_pid(0) child(3203) status(0x0)
2007-06-21 18:04:51.919 ret_pid(0) child(3203) status(0x0)
2007-06-21 18:04:52.921 ret_pid(0) child(3203) status(0x0)
2007-06-21 18:04:53.932 ret_pid(0) child(3203) status(0x0)
2007-06-21 18:04:54.934 ret_pid(0) child(3203) status(0x0)
2007-06-21 18:04:55.936 ret_pid(0) child(3203) status(0x0)
2007-06-21 18:04:56.938 ret_pid(0) child(3203) status(0x0)
2007-06-21 18:04:57.940 ret_pid(0) child(3203) status(0x0)
2007-06-21 18:04:58.942 ret_pid(0) child(3203) status(0x0)
2007-06-21 18:04:59.944 ret_pid(0) child(3203) status(0x0)
2007-06-21 18:05:00.946 ret_pid(0) child(3203) status(0x0)
2007-06-21 18:05:01.948 ret_pid(0) child(3203) status(0x0)
2007-06-21 18:05:02.951 ret_pid(0) child(3203) status(0x0)
2007-06-21 18:05:03.953 ret_pid(0) child(3203) status(0x0)
2007-06-21 18:05:04.956 ret_pid(0) child(3203) status(0x0)
2007-06-21 18:05:05.958 ret_pid(0) child(3203) status(0x0)
2007-06-21 18:05:06.960 ret_pid(0) child(3203) status(0x0)
2007-06-21 18:05:07.964 ret_pid(0) child(3203) status(0x0)
2007-06-21 18:05:08.966 ret_pid(0) child(3203) status(0x0)
2007-06-21 18:05:09.968 ret_pid(0) child(3203) status(0x0)
2007-06-21 18:05:10.970 ret_pid(0) child(3203) status(0x0)
2007-06-21 18:05:11.972 ret_pid(0) child(3203) status(0x0)
2007-06-21 18:05:11.973 External Tuning program timed out, killing
2007-06-21 18:05:12.987 ret_pid(3208) child(3208) status(0x0)
2007-06-21 18:05:12.990 External Tuning program exited with no error
2007-06-21 18:05:12.991 TVRec(1) Error: Setting start channel '202' failed,
tuned to '2' instead.
2007-06-21 18:05:13.025 EITHelper: localtime offset -4:00:00
2007-06-21 18:05:14.379 ret_pid(3211) child(3211) status(0x0)
2007-06-21 18:05:14.383 External Tuning program exited with no error
2007-06-21 18:05:14.385 EITHelper: localtime offset -4:00:00
2007-06-21 18:05:14.411 EITHelper: localtime offset -4:00:00
2007-06-21 18:05:14.437 EITHelper: localtime offset -4:00:00
2007-06-21 18:05:14.464 New DB scheduler connection
2007-06-21 18:05:14.472 Connected to database 'mythconverg' at host: 192.168.11.50
2007-06-21 18:05:14.480 Main::Starting HttpServer
2007-06-21 18:05:14.506 Main::Registering HttpStatus Extension
2007-06-21 18:05:14.533 mythbackend version: 0.20.20060828-3
www.mythtv.org
2007-06-21 18:05:14.534 Enabled verbose msgs: important general
2007-06-21 18:05:14.536 AutoExpire: Found 5 recorders w/max rate of 560 MiB/min
2007-06-21 18:05:14.540 AutoExpire: Required Free Space: 5.4 GB w/freq: 5 min
2007-06-21 18:05:14.727 adding: mythtvslavefrontend as a slave backend server
2007-06-21 18:05:16.520 Reschedule requested for id -1.
2007-06-21 18:05:25.049 Scheduled 117 items in 8.5 = 7.31 match + 1.22 place
2007-06-21 18:05:25.061 scheduler: Scheduled items: Scheduled 117 items in 8.5 = 7.3
1 match + 1.22 place
2007-06-21 18:05:25.072 Seem to be woken up by USER
2007-06-21 18:05:30.079 AutoExpire: Found 5 recorders w/max rate of 560 MiB/min
2007-06-21 18:05:30.081 AutoExpire: Required Free Space: 5.4 GB w/freq: 5 min
2007-06-21 18:08:28.700 Using runtime prefix = /usr
2007-06-21 18:08:28.963 New DB connection, total: 1
2007-06-21 18:08:29.035 Connected to database 'mythconverg' at host: 192.168.11.50
2007-06-21 18:08:29.090 Current Schema Version: 1160
Starting up as the master server.
2007-06-21 18:08:29.214 New DB connection, total: 2
2007-06-21 18:08:29.227 Connected to database 'mythconverg' at host: 192.168.11.50
2007-06-21 18:08:29.236 mythbackend: MythBackend started as master server
2007-06-21 18:08:29.436 EITHelper: localtime offset -4:00:00
2007-06-21 18:08:29.534 New DB connection, total: 3
2007-06-21 18:08:29.549 Connected to database 'mythconverg' at host: 192.168.11.50
Could not open /dev/ttyS0: Permission denied
2007-06-21 18:08:30.976 ret_pid(2714) child(2714) status(0xd00)
2007-06-21 18:08:30.979 ChannelBase: external tuning program exited with error 13
Could not open /dev/ttyS0: Permission denied
2007-06-21 18:08:31.991 ret_pid(2733) child(2733) status(0xd00)
2007-06-21 18:08:32.005 ChannelBase: external tuning program exited with error 13
2007-06-21 18:08:32.006 TVRec(1) Error: Setting start channel '202' failed,
and backup '2' failed as well.
2007-06-21 18:08:32.066 EITHelper: localtime offset -4:00:00
2007-06-21 18:08:32.218 mythbackend: Problem with capture cards: Card 2failed init
2007-06-21 18:08:32.232 EITHelper: localtime offset -4:00:00
2007-06-21 18:08:32.280 EITHelper: localtime offset -4:00:00
2007-06-21 18:08:32.356 EITHelper: localtime offset -4:00:00
2007-06-21 18:08:32.425 New DB scheduler connection
2007-06-21 18:08:32.435 Connected to database 'mythconverg' at host: 192.168.11.50
2007-06-21 18:08:32.443 Main::Starting HttpServer
2007-06-21 18:08:32.473 Main::Registering HttpStatus Extension
2007-06-21 18:08:32.541 mythbackend version: 0.20.20060828-3
www.mythtv.org
2007-06-21 18:08:32.542 Enabled verbose msgs: important general
2007-06-21 18:08:32.613 AutoExpire: Found 4 recorders w/max rate of 488 MiB/min
2007-06-21 18:08:32.618 AutoExpire: Required Free Space: 4.8 GB w/freq: 5 min
2007-06-21 18:08:32.811 adding: mythtvslavefrontend as a slave backend server
2007-06-21 18:08:34.686 Reschedule requested for id -1.
2007-06-21 18:08:44.773 mythbackend: Running housekeeping thread
2007-06-21 18:09:07.143 AutoExpire: Found 4 recorders w/max rate of 488 MiB/min
2007-06-21 18:09:07.490 AutoExpire: Required Free Space: 4.8 GB w/freq: 5 min
2007-06-21 18:09:10.759 Scheduled 117 items in 36.1 = 34.99 match + 1.07 place
2007-06-21 18:09:10.920 scheduler: Scheduled items: Scheduled 117 items in 36.1 = 34
.99 match + 1.07 place
2007-06-21 18:09:10.972 Seem to be woken up by USER