LinHES Forums http://forums.linhes.org/ |
|
Trouble with ir blaster from myth, fine in a shell http://forums.linhes.org/viewtopic.php?f=14&t=5714 |
Page 1 of 1 |
Author: | jogle [ Wed Aug 17, 2005 4:26 pm ] |
Post subject: | Trouble with ir blaster from myth, fine in a shell |
Hi, Last night I setup an IR blaster on my myth box (knoppmyth R5A16) using this guide, http://mysettopbox.tv/phpBB2/viewtopic.php?t=4462 I got to the point of making a channel_change.sh script which works flawlessly on the command line. But when I put the change command into the correct box in myth-setup (and reboot to make sure it's picked up by mythbackend) It doesn't change the channels. The script has its permissions opened right up and is executable This is the output from /var/log/mythtv/mythbackend.log It certainly looks like it's trying to run the program when I change the channel Starting up as the master server. 2005-08-18 21:18:23.246 mythbackend: MythBackend started as master server 2005-08-18 21:18:23.262 New DB connection, total: 2 2005-08-18 21:18:23.705 New DB connection, total: 3 2005-08-18 21:18:24.731 ret_pid(3143) child(3143) status(0x0) 2005-08-18 21:18:24.736 External Tuning program exited with no error 2005-08-18 21:18:24.743 New DB scheduler connection 2005-08-18 21:18:24.752 mythbackend version: 0.18.1.20050510-1 www.mythtv.org 2005-08-18 21:18:24.754 Enabled verbose msgs : important general 2005-08-18 21:18:26.751 Reschedule requested for id -1. 2005-08-18 21:18:26.795 Scheduled 0 items in 0.0 = 0.04 match + 0.00 place 2005-08-18 21:18:26.800 scheduler: Scheduled items 2005-08-18 21:18:26.806 Seem to be woken up by USER 2005-08-18 21:18:34.757 mythbackend: Running housekeeping thread 2005-08-18 21:19:02.550 MainServer::HandleAnnounce Playback 2005-08-18 21:19:02.553 adding: ten as a client (events: 0) 2005-08-18 21:19:02.590 MainServer::HandleAnnounce Playback 2005-08-18 21:19:02.592 adding: ten as a client (events: 1) 2005-08-18 21:19:02.602 MainServer::HandleAnnounce Playback 2005-08-18 21:19:02.605 adding: ten as a client (events: 0) 2005-08-18 21:19:02.650 MainServer::HandleAnnounce Playback 2005-08-18 21:19:02.652 adding: ten as a client (events: 0) 2005-08-18 21:19:02.660 adding: ten as a remote ringbuffer 2005-08-18 21:19:02.671 Changing from None to WatchingLiveTV 2005-08-18 21:19:23.922 ret_pid(4094) child(4094) status(0x0) 2005-08-18 21:19:23.926 External Tuning program exited with no error 2005-08-18 21:19:30.886 ret_pid(4098) child(4098) status(0x0) 2005-08-18 21:19:30.904 External Tuning program exited with no error 2005-08-18 21:19:52.284 Changing from WatchingLiveTV to None /var/log/mythtv/mythbackend.log this is the output from a "tail /var/log/syslog -f &" You see that I run the change command first in a shell, then the last 20 lines are changing channel in myth, It's not calling lirc_serial at all root@ten:~# tail /var/log/syslog -f & [1] 4382 root@ten:~# Aug 18 21:36:28 ten kernel: [pg0+516137561/1067987968] lirc_ioctl+0x289/0x350 [lirc_serial] Aug 18 21:36:28 ten kernel: [pg0+513883578/1067987968] irctl_ioctl+0x19a/0x200 [lirc_dev] Aug 18 21:36:28 ten kernel: [do_ioctl+70/112] do_ioctl+0x46/0x70 Aug 18 21:36:28 ten kernel: [vfs_ioctl+83/448] vfs_ioctl+0x53/0x1c0 Aug 18 21:36:28 ten kernel: [sys_ioctl+71/112] sys_ioctl+0x47/0x70 Aug 18 21:36:28 ten kernel: [syscall_call+7/11] syscall_call+0x7/0xb Aug 18 21:36:41 ten kernel: saa7115: decoder set picture bright=127 contrast=63 saturation=63 hue=0 Aug 18 21:36:41 ten last message repeated 3 times Aug 18 21:36:42 ten kernel: saa7115: decoder disable output Aug 18 21:36:42 ten kernel: saa7115: decoder enable output root@ten:~# /usr/local/bin/change_channel.sh 01 Aug 18 21:39:32 ten lircd 0.7.1pre2[2184]: accepted new client on /dev/lircd1 Aug 18 21:39:32 ten kernel: BUG: using smp_processor_id() in preemptible [00000001] code: lircd/2184 Aug 18 21:39:32 ten kernel: caller is lirc_ioctl+0x85/0x350 [lirc_serial] Aug 18 21:39:32 ten kernel: [smp_processor_id+140/160] smp_processor_id+0x8c/0xa0 Aug 18 21:39:32 ten kernel: [pg0+516137045/1067987968] lirc_ioctl+0x85/0x350 [lirc_serial] Aug 18 21:39:32 ten kernel: [pg0+513883578/1067987968] irctl_ioctl+0x19a/0x200 [lirc_dev] Aug 18 21:39:32 ten kernel: [do_ioctl+70/112] do_ioctl+0x46/0x70 Aug 18 21:39:32 ten kernel: [vfs_ioctl+83/448] vfs_ioctl+0x53/0x1c0 Aug 18 21:39:32 ten kernel: [sys_ioctl+71/112] sys_ioctl+0x47/0x70 Aug 18 21:39:32 ten kernel: [syscall_call+7/11] syscall_call+0x7/0xb Aug 18 21:39:32 ten kernel: BUG: using smp_processor_id() in preemptible [00000001] code: lircd/2184 Aug 18 21:39:32 ten kernel: caller is lirc_ioctl+0x289/0x350 [lirc_serial] Aug 18 21:39:32 ten kernel: [smp_processor_id+140/160] smp_processor_id+0x8c/0xa0 Aug 18 21:39:32 ten kernel: [pg0+516137561/1067987968] lirc_ioctl+0x289/0x350 [lirc_serial] Aug 18 21:39:32 ten kernel: [pg0+513883578/1067987968] irctl_ioctl+0x19a/0x200 [lirc_dev] Aug 18 21:39:32 ten kernel: [do_ioctl+70/112] do_ioctl+0x46/0x70 Aug 18 21:39:32 ten kernel: [vfs_ioctl+83/448] vfs_ioctl+0x53/0x1c0 Aug 18 21:39:32 ten kernel: [sys_ioctl+71/112] sys_ioctl+0x47/0x70 Aug 18 21:39:32 ten kernel: [syscall_call+7/11] syscall_call+0x7/0xb Aug 18 21:39:32 ten lircd 0.7.1pre2[2184]: removed client Aug 18 21:39:33 ten lircd 0.7.1pre2[2184]: accepted new client on /dev/lircd1 Aug 18 21:39:33 ten lircd 0.7.1pre2[2184]: removed client Aug 18 21:39:33 ten kernel: BUG: using smp_processor_id() in preemptible [00000001] code: lircd/2184 Aug 18 21:39:33 ten kernel: caller is lirc_ioctl+0x85/0x350 [lirc_serial] Aug 18 21:39:33 ten kernel: [smp_processor_id+140/160] smp_processor_id+0x8c/0xa0 Aug 18 21:39:33 ten kernel: [pg0+516137045/1067987968] lirc_ioctl+0x85/0x350 [lirc_serial] Aug 18 21:39:33 ten kernel: [pg0+513883578/1067987968] irctl_ioctl+0x19a/0x200 [lirc_dev] Aug 18 21:39:33 ten kernel: [do_ioctl+70/112] do_ioctl+0x46/0x70 Aug 18 21:39:33 ten kernel: [vfs_ioctl+83/448] vfs_ioctl+0x53/0x1c0 Aug 18 21:39:33 ten kernel: [sys_ioctl+71/112] sys_ioctl+0x47/0x70 Aug 18 21:39:33 ten kernel: [syscall_call+7/11] syscall_call+0x7/0xb Aug 18 21:39:33 ten kernel: BUG: using smp_processor_id() in preemptible [00000001] code: lircd/2184 Aug 18 21:39:33 ten kernel: caller is lirc_ioctl+0x289/0x350 [lirc_serial] Aug 18 21:39:33 ten kernel: [smp_processor_id+140/160] smp_processor_id+0x8c/0xa0 Aug 18 21:39:33 ten kernel: [pg0+516137561/1067987968] lirc_ioctl+0x289/0x350 [lirc_serial] Aug 18 21:39:33 ten kernel: [pg0+513883578/1067987968] irctl_ioctl+0x19a/0x200 [lirc_dev] Aug 18 21:39:33 ten kernel: [do_ioctl+70/112] do_ioctl+0x46/0x70 Aug 18 21:39:33 ten kernel: [vfs_ioctl+83/448] vfs_ioctl+0x53/0x1c0 Aug 18 21:39:33 ten kernel: [sys_ioctl+71/112] sys_ioctl+0x47/0x70 Aug 18 21:39:33 ten kernel: [syscall_call+7/11] syscall_call+0x7/0xb Aug 18 21:39:39 ten kernel: saa7115: decoder set picture bright=127 contrast=63 saturation=63 hue=0 Aug 18 21:39:39 ten last message repeated 3 times Aug 18 21:39:41 ten kernel: saa7115: decoder disable output Aug 18 21:39:41 ten kernel: saa7115: decoder enable output Aug 18 21:39:44 ten kernel: saa7115: decoder set picture bright=127 contrast=63 saturation=63 hue=0 Aug 18 21:39:44 ten last message repeated 3 times Aug 18 21:39:46 ten kernel: saa7115: decoder disable output Aug 18 21:39:46 ten kernel: saa7115: decoder enable output Aug 18 21:39:50 ten kernel: saa7115: decoder set picture bright=127 contrast=63 saturation=63 hue=0 Aug 18 21:39:50 ten last message repeated 3 times Aug 18 21:39:52 ten kernel: saa7115: decoder disable output Aug 18 21:39:52 ten kernel: saa7115: decoder enable output Aug 18 21:39:53 ten kernel: saa7115: decoder set picture bright=127 contrast=63 saturation=63 hue=0 Aug 18 21:39:53 ten last message repeated 3 times Aug 18 21:39:54 ten kernel: saa7115: decoder disable output Aug 18 21:39:54 ten kernel: saa7115: decoder enable output Can anyone please suggest somewhere else to look to see what Myth is trying to run or where errors I'm missing might be printed? Thanks -James |
Author: | jogle [ Wed Aug 17, 2005 6:55 pm ] |
Post subject: | |
I've had an answer from the mythtv users list. I need to put the channel number in the channel number box on the first page of the channel setup AND in the freq ID on the seccond page. |
Page 1 of 1 | All times are UTC - 6 hours |
Powered by phpBB® Forum Software © phpBB Group http://www.phpbb.com/ |