View unanswered posts    View active topics

All times are UTC - 6 hours





Post new topic Reply to topic  [ 4 posts ] 
Print view Previous topic   Next topic  
Author Message
Search for:
PostPosted: Sat Sep 02, 2006 7:31 am 
Offline
Joined: Wed Dec 29, 2004 1:01 pm
Posts: 7
Location: Flagstaff, AZ
OK, I have been struggling here for a few days trying to get Knoppmyth up and running with a Dish Network 311 receiver. I have an irblaster which I purchased from http://irblaster.info, and I currently have an installed working version of R5D1.

Here are the general symptoms. If anyone can help me with this I would greatly appreciate it.

    I can point the dish network provided remote control at the irblaster (not hooked to the box) and the channels will change while watching live tv.
    I can run the channel_change.sh script from the command line and it appears that something is happening (e.g., there is a brief pause as if it is going to change) but the channel does not change. The script runs with no errors
    I can use the Hauppauge grey remote while watching tv to shuffle through the channel information, but if I select a new channel the actual channel does not change.


I suspect something is wrong that's fairly obvious which I can't see.

For reference, here is the channel_change.sh script I am using.

Code:
#!/bin/bash

echo "changing to $1"

REMOTE_NAME=$(grep ^[[:space:]]*name[[:space:]] /etc/irblaster/irblasterd.conf |
  awk '{ print $2 }')

/usr/bin/irsend --device=/dev/irblasterd SEND_ONCE $REMOTE_NAME select

for digit in $(echo $1 | sed -e 's/./& /g'); do
sleep 0.2
/usr/bin/irsend --device=/dev/irblasterd SEND_ONCE $REMOTE_NAME $digit
sleep 0.2
done
/usr/bin/irsend --device=/dev/irblasterd SEND_ONCE $REMOTE_NAME select


Here is my hardware.conf:
Code:
# /etc/irblaster/hardware.conf
#
#  Author: Greg Frost

# The COM Port used by the IRBlaster. Set it to COM1 COM2 or "".
IRBLASTER_SERIAL_PORT=COM1


I am also using the 301 irblasterd.conf (which I understand is supposed to work with the 311 based on various posts I have read here and elsewhere). Again, for reference, here is the content of irblasterd.conf.
Code:
begin remote

  name  301
  bits           16
  flags SPACE_ENC
  eps            30
  aeps          100

  header        400  6100
  one           400  1700
  zero          400  2800
  ptrail        400
  gap          6200
  min_repeat      4
  toggle_bit      0

  frequency    56000

      begin codes
          info                     0x0000000000000000
          power                    0x0000000000000800
          play                     0x0000000000000C10
          1                        0x0000000000001000
          2                        0x0000000000001400
          3                        0x0000000000001800
          frwd                     0x0000000000001C10
          4                        0x0000000000002000
          5                        0x0000000000002400
          6                        0x0000000000002800
          menu                     0x0000000000002C00
          7                        0x0000000000003000
          8                        0x0000000000003400
          9                        0x0000000000003800
          ffwd                     0x0000000000003C10
          select                   0x0000000000004000
          0                        0x0000000000004400
          cancel                   0x0000000000004800
          guide                    0x0000000000005000
          mute                     0x0000000000005401
          view                     0x0000000000005800
          tv_video                 0x0000000000005C00
          right                    0x0000000000006000
          vol+                     0x0000000000006401
          up                       0x0000000000006800
          recall                   0x0000000000006C00
          left                     0x0000000000007000
          vol-                     0x0000000000007401
          down                     0x0000000000007800
          rec                      0x0000000000007C00
          pause                    0x0000000000008000
          stop                     0x0000000000008400
          sys_info                 0x0000000000009000
          */ptv_list               0x0000000000009400
          #/search                 0x0000000000009800
          sat                      0x000000000000A400
          tv                       0x000000000000A801
          rew                      0x000000000000C410
          fwd                      0x000000000000C810
          skip_back                0x000000000000D810
          skip_fwd                 0x000000000000DC10
      end codes

end remote


Any suggestions would be greatly appreciated.

_________________
Myth BOX Specs:
Chaintech CT7NIF2
AMD Athlon 2100+
1 GB RAM
Hauppauge Win-TV PVR 250
Creative Sound Blaster Audigy ES SB0162 6 (5.1)


Last edited by tmb on Thu Sep 14, 2006 8:41 pm, edited 1 time in total.


Top
 Profile  
 
 Post subject:
PostPosted: Thu Sep 07, 2006 10:48 pm 
Offline
Joined: Wed Dec 29, 2004 1:01 pm
Posts: 7
Location: Flagstaff, AZ
OK, no takers. I have been continuing to investigate this. It appears that the problem may be traced back to my serial card configuration. I have a PCI card with a serial port that is correctly detected, but the ports are not configured according to the defaults for the irblaster.sh script (I think, maybe?).
Code:
lspci -v
0000:01:08.0 Serial controller: Timedia Technology Co Ltd PCI2S550 (Dual 16550 UART)
 (rev 01) (prog-if 02 [16550])
        Subsystem: Timedia Technology Co Ltd: Unknown device 4027
        Flags: stepping, medium devsel, IRQ 4
        I/O ports at d800 [size=32]

setserial -g /dev/ttyS*

/dev/ttyS0, UART: 16550A, Port: 0xd800, IRQ: 4
/dev/ttyS1, UART: unknown, Port: 0x02f8, IRQ: 3
/dev/ttyS2, UART: unknown, Port: 0x03e8, IRQ: 4
/dev/ttyS3, UART: unknown, Port: 0x02e8, IRQ: 3



I have played around in the bios, but I can't seem to get these set up correctly. Can anyone tell me how to reconfigure the settings?

Also, I have seen the following messages in dmesg:
Code:
BUG: using smp_processor_id() in preemptible [00000001] code: irblasterd/19454
caller is lirc_ioctl+0xa4/0x370 [lirc_serial]
 <c02fa777> debug_smp_processor_id+0x87/0xa0  <f8ed8174> lirc_ioctl+0xa4/0x370 [lirc_serial]
 <f947201a> irctl_ioctl+0x17a/0x1e0 [lirc_dev]  <c0182fa6> do_ioctl+0x46/0x70
 <c0183143> vfs_ioctl+0x53/0x1c0  <c018330d> sys_ioctl+0x5d/0x70
 <c0103177> syscall_call+0x7/0xb


I found some similar problems in the forums, but I think these are possibly related to the COM port configuration. Any suggestions would be helpful.

Thanks.

_________________
Myth BOX Specs:
Chaintech CT7NIF2
AMD Athlon 2100+
1 GB RAM
Hauppauge Win-TV PVR 250
Creative Sound Blaster Audigy ES SB0162 6 (5.1)


Top
 Profile  
 
 Post subject:
PostPosted: Fri Sep 08, 2006 2:14 pm 
Offline
Joined: Sat Jan 03, 2004 3:43 pm
Posts: 64
Location: Mountain View, CA
Try hooking up a regular LED to your IR blaster cable instead of the IR one. Then run channel_change.sh and see if the light blinks. That way you know that the cable is working and plugged into the correct serial port.


Top
 Profile  
 
 Post subject: Resolved!
PostPosted: Thu Sep 14, 2006 8:25 pm 
Offline
Joined: Wed Dec 29, 2004 1:01 pm
Posts: 7
Location: Flagstaff, AZ
I found the original serial port cable that I hooked up to COM1 and it worked. Apparently the serial PCI card I had installed would not work with MythTV. If anyone else has a similar setup, it seems that getting it to work on an alternate IRQ is difficult (at least I gave up one I found the other part).

Thanks for the help.

_________________
Myth BOX Specs:
Chaintech CT7NIF2
AMD Athlon 2100+
1 GB RAM
Hauppauge Win-TV PVR 250
Creative Sound Blaster Audigy ES SB0162 6 (5.1)


Top
 Profile  
 

Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 4 posts ] 


All times are UTC - 6 hours




Who is online

Users browsing this forum: No registered users and 17 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group

Theme Created By ceyhansuyu