Page 2 of 4 FirstFirst 1234 LastLast
Results 11 to 20 of 32

Thread: Ir blaster and Directv d12-300

  1. #11
    Join Date
    Nov 2008
    Beans
    84
    Distro
    Ubuntu 10.10 Maverick Meerkat

    Re: Ir blaster and Directv d12-300

    Alright so i copyed and pasted your channel change script and saved it as ChannelChange.sh in /usr/local/bin/Channelchange.sh and then linked my imput connection for my tuner card to that exact address and now when i go to watch tv a black screen pops up for a second for to then goes back to the main menu.

    I tested my camera to check if it could see ir by pressing remote buttons and i could see little lights, i faced the camera at the ir blaster and tried to click watch tv and i got no flash, what is a way that i can test if the blaster works?

    Should my hardware.conf look like this?

    # /etc/lirc/hardware.conf
    #
    #Chosen Remote Control
    REMOTE=""
    REMOTE_MODULES=""
    REMOTE_DRIVER=""
    REMOTE_DEVICE=""
    REMOTE_LIRCD_CONF=""
    REMOTE_LIRCD_ARGS=""


    #Chosen IR Transmitter
    TRANSMITTER="DirecTV_RC32"
    TRANSMITTER_MODULES="lirc_dev lirc_serial"
    TRANSMITTER_DRIVER=""
    TRANSMITTER_DEVICE="/dev/lirc1"
    TRANSMITTER_LIRCD_CONF="/etc/lirc/lircd.conf"
    TRANSMITTER_LIRCD_ARGS=""

    #Enable lircd
    START_LIRCD="true"

    #Don't start lircmd even if there seems to be a good config file
    #START_LIRCMD="false"

    #Try to load appropriate kernel modules
    LOAD_MODULES="true"

    # Default configuration files for your hardware if any
    LIRCMD_CONF=""

    #Forcing noninteractive reconfiguration
    #If lirc is to be reconfigured by an external application
    #that doesn't have a debconf frontend available, the noninteractive
    #frontend can be invoked and set to parse REMOTE and TRANSMITTER
    #It will then populate all other variables without any user input
    #If you would like to configure lirc via standard methods, be sure
    #to leave this set to "false"
    FORCE_NONINTERACTIVE_RECONFIGURATION="true"
    START_LIRCMD=""
    Last edited by codymyth; April 17th, 2009 at 03:17 AM.

  2. #12
    Join Date
    Nov 2008
    Beans
    84
    Distro
    Ubuntu 10.10 Maverick Meerkat

    Re: Ir blaster and Directv d12-300

    Anyone know?

  3. #13
    Join Date
    Nov 2008
    Beans
    84
    Distro
    Ubuntu 10.10 Maverick Meerkat

    Re: Ir blaster and Directv d12-300

    Can nobody seriously help me?

  4. #14
    Join Date
    Nov 2008
    Beans
    84
    Distro
    Ubuntu 10.10 Maverick Meerkat

    Re: Ir blaster and Directv d12-300

    bump

  5. #15
    Join Date
    Nov 2008
    Beans
    146
    Distro
    Ubuntu 10.10 Maverick Meerkat

    Re: Ir blaster and Directv d12-300

    Ok Cody, I'm working up a response, it may be a bit lengthy, so give me a few minutes. I've just myself come from ir purgatory and still have most of it still in my brain. Going to get some links together, and files, and will post back within an hour. Post your: /etc/lirc/lircd.conf file. And /usr/share/lirc/remotes/atiusb/lircd.atiusb.conf file. Exactly which ir blaster did you get?
    Last edited by phroman; May 5th, 2009 at 06:43 AM.
    Mythfrontend version: fixes/0.24 (v0.24-250-g56c54fa)

  6. #16
    Join Date
    Nov 2008
    Beans
    84
    Distro
    Ubuntu 10.10 Maverick Meerkat

    Re: Ir blaster and Directv d12-300

    The blaster i have is the top blaster on this page http://www.irblaster.info/ titled RS232 IR Blaster

    The file /usr/share/lirc/remotes/atiusb/lircd.atiusb.conf is far to big to post(i don't know how to put it in its own little scrolling thing), and /etc/lirc/lircd.conf is below

    /etc/lirc/lircd.conf
    #
    # this config file was automatically generated
    # using lirc-0.8.2(default) on Tue Dec 18 15:27:46 2007
    #
    # contributed by
    #
    # brand: DirecTV
    # model no. of remote control: RC32
    # devices being controlled by this remote:
    #

    begin remote

    name DirecTV_RC32
    flags RAW_CODES
    eps 30
    aeps 100

    ptrail 628
    repeat 0 0
    gap 29933

    begin raw_codes

    name enter
    6029 1150 1249 1146 664 534
    663 533 1259 562 624 1144
    663 1131 1251 1145 1262 555
    630

    name up
    6021 1159 1260 1133 647 552
    653 542 1263 533 660 535
    647 1149 1258 537 1260 1129
    650

    name down
    6031 1149 1251 1144 663 535
    663 533 1247 573 629 566
    1238 558 1234 1133 661 561
    636

    name left
    6041 1138 1251 1145 662 535
    663 532 1261 535 650 549
    1255 1136 1253 1140 663 1128
    652

    name right
    6038 1146 1254 1140 651 544
    654 545 1257 536 662 1134
    648 547 1258 1135 647 1147
    660

    name guide
    6042 1141 1264 1129 652 545
    661 538 1260 558 1235 560
    625 573 633 564 639 555
    622

    name menu
    6029 1151 1252 1144 662 535
    663 533 1252 569 628 567
    636 562 1235 560 1230 562
    627

    name back
    6042 1169 1220 1173 632 567
    626 569 1216 580 627 1166
    1216 1178 635 562 616 578
    626

    name exit
    6017 1194 1229 1162 632 566
    636 562 1215 578 629 1167
    1218 575 1225 1171 1232 1157
    631

    name info
    6054 1157 1220 1176 631 564
    627 569 1223 572 1232 1162
    1216 580 624 1169 629 1165
    629

    name ch+
    6027 1156 1248 1145 660 537
    663 533 654 569 1231 1135
    659 1137 1260 560 1238 556
    624

    name ch-
    6024 1157 1259 1132 647 552
    655 543 660 535 1263 1131
    1256 539 1256 539 1260 1130
    649

    name vol+
    6024 1156 1253 1140 665 533
    660 1133 661 1135 1258 562
    632 1137 661 561 1225 1142
    663

    name vol-
    6027 1182 1220 1173 638 558
    623 1173 633 1161 1224 571
    634 1162 622 573 1232 1160
    620

    name mute
    6024 1158 1265 1128 654 544
    661 1133 649 1147 1262 533
    662 1131 657 541 1261 1131
    649

    name previous
    6020 1161 1264 1127 650 551
    656 539 663 536 1257 1134
    1260 1133 1249 1145 662 558
    636

    name 1
    6022 1160 1263 1131 651 546
    659 539 663 533 664 532
    651 1144 663 535 663 1128
    656

    name 2
    6022 1160 1263 1130 650 546
    658 540 660 535 666 561
    1234 531 649 549 1255 535
    666

    name 3
    6020 1164 1263 1130 650 546
    661 537 663 533 667 530
    1254 1140 663 532 1261 1131
    660

    name 4
    6046 1135 1265 1128 655 544
    659 538 663 533 663 1130
    657 541 663 535 1263 1126
    656

    name 5
    6050 1133 1251 1142 663 535
    665 531 649 548 656 1138
    653 1143 662 1131 651 547
    656

    name 6
    6021 1191 1229 1162 629 568
    634 562 618 578 629 1167
    1220 575 622 1173 632 1160
    626

    name 7
    6025 1157 1259 1134 661 537
    663 533 661 535 649 1146
    1261 1133 649 1146 1261 533
    661

    name 8
    6045 1137 1265 1126 658 542
    661 535 660 538 1244 574
    631 566 641 1129 1258 560
    638

    name 9
    6047 1137 1265 1127 656 544
    660 560 638 560 1222 571
    637 1132 650 1146 1262 1129
    651

    name 0
    6029 1152 1258 1135 660 537
    652 547 657 1135 650 549
    654 1139 663 1131 1260 535
    663

    name play
    6045 1166 1227 1167 631 566
    629 567 1215 1179 633 564
    616 580 1222 1171 1225 1167
    626

    name skip+
    6051 1130 1248 1147 658 539
    661 535 1263 1128 658 1138
    651 571 629 569 1236 557
    634

    name skip-
    6047 1140 1258 1135 651 567
    638 560 1220 1173 639 557
    1220 1166 645 560 1222 570
    627

    name pause
    6013 1200 1231 1160 623 575
    631 567 1232 1159 630 568
    1232 564 622 573 625 1169
    623

    name record
    6013 1196 1236 1157 627 571
    634 564 1227 1164 634 1162
    618 1177 637 559 1216 1175
    636

    name stop
    6044 1140 1256 1137 654 544
    656 539 1259 1135 650 568
    638 1135 650 568 636 560
    668

    name red
    6030 1179 1227 1167 625 570
    627 1169 631 567 620 575
    632 1164 1216 578 629 566
    634

    name green
    6017 1191 1232 1160 631 567
    636 1157 629 569 636 562
    1231 1160 1229 566 1237 557
    629

    name yellow
    6013 1194 1236 1157 625 571
    634 1161 621 575 632 566
    1234 561 1230 564 622 1171
    636

    name blue
    6018 1168 1258 1135 647 571
    634 1153 629 556 651 1164
    620 576 1228 568 1234 559
    632

    end raw_codes

    end remote

  7. #17
    Join Date
    Nov 2008
    Beans
    146
    Distro
    Ubuntu 10.10 Maverick Meerkat

    Re: Ir blaster and Directv d12-300

    Ok, first, when you're typing a message, at the top of the window are a bunch of icons in the tool bar. On the right there is one that is a # If you click on that it will past this: CODE/CODE into your text area. You can cut and paste/insert code between these and that's how you get stuff into the scrolling window.

    So, first, is your remote the DirecTV_RC32, and if so does it work? Look in your /etc/lirc/hardware.conf file. See how there is one entry for remote and one for transmitter? You seem to have the remote entered in the transmitter area. The line: #chosen ir transmitter, is commented out by the # sign, meaning that line is not read by the software at all, it's just there for notes/organization. But the other lines are actually entered correctly, so it may work.

    Code:
    #Chosen Remote Control
    REMOTE=""            giving a unique name of the remote
    REMOTE_MODULES=""       what modules to use with this device
    REMOTE_DRIVER=""        what drivers to use with this device
    REMOTE_DEVICE=""        the specific # lirc uses to id this device
    REMOTE_LIRCD_CONF=""
    REMOTE_LIRCD_ARGS=""     hardware specific location of device
    
    same basics for transmitters
    
    #Chosen IR Transmitter
    TRANSMITTER="DirecTV_RC32"
    TRANSMITTER_MODULES="lirc_dev lirc_serial"
    TRANSMITTER_DRIVER=""
    TRANSMITTER_DEVICE="/dev/lirc1"
    TRANSMITTER_LIRCD_CONF="/etc/lirc/lircd.conf"
    TRANSMITTER_LIRCD_ARGS=""
    The line that says:
    Code:
    TRANSMITTER_LIRCD_CONF="/etc/lirc/lircd.conf"
    That tells the program lirc, where to find the file defining all the remote codes to use.


    let's start there, is your remote working?
    Mythfrontend version: fixes/0.24 (v0.24-250-g56c54fa)

  8. #18
    Join Date
    Nov 2008
    Beans
    84
    Distro
    Ubuntu 10.10 Maverick Meerkat

    Smile Re: Ir blaster and Directv d12-300

    I have a pvr-150 and the remote worked at one time but then i broke it while trying to get the ir blaster to work, i don't need the remote anymore. That isn't actualy the remote i use to control my directv stb but i have 3 different directv remotes at my house and they all work for this receiver

  9. #19
    Join Date
    Nov 2008
    Beans
    146
    Distro
    Ubuntu 10.10 Maverick Meerkat

    Re: Ir blaster and Directv d12-300

    Ok, I've successfully setup my remote and a usb ir blaster, so I figured, how hard could it be to set up a serial ir blaster? Well, I just submitted a new post asking for help cause' I can't get mine working... I'm using different hardware than you are, but I can give you a few things to try out, maybe you'll get lucky. First go to /etc/lirc/ and make a backup of hardware.conf and lircd.conf

    At the terminal, type this:

    Code:
    sudo dpkg-reconfigure setserial
    It will bring up a graphical window a la' 1986, I think the first screen you just hit enter to continue, then the following screen is where you use the arrow key to move down and select : Manually, then exit out of the window. What you are doing is telling the lirc program not to overwrite this file in the future, and mess up the manual changes you've made.

    Now you need to modify a file. (these are all just regular text files btw) It's located in /etc/modprobe.d/lirc - it might be called lirc-serial.conf You have to un-comment, ie. remove the hash mark, so that the program reads the line. It should look like this:

    Code:
    #COM1 equivalent , /dev/ttyS0
    options lirc_serial irq=4 io=0x3f8
    #COM1 equivalent , /dev/ttyS2
    #options lirc_serial irq=3 io=0x2f8

    Another file to edit, it's located in /var/lib/setserial/autoserial.conf You're going to add or modify if it's already there, a line at the bottom:
    Code:
    /dev/ttyS0 uart none
    Then, you are going to add that exact line again into another file, located at: /etc/serial.conf If the file doesn't exist, create it.

    2: Back to the command line, type: dpkg-reconfigure lirc

    The first screen/section is for setting up a remote, use the arrows key to move up to NONE, hit enter. This next section is where lirc will create a hardware.conf file for you, based on what you choose. You want to move down to where it says, SERIAL, I think there is a choice of SERIAL IR of some sort, and one for SERIAL (UART) Direct TV Receiver. Try the ir one first. Next screen you should choose ttyS0, and exit out of the program. Next is to open your /etc/lirc/hardware.conf file. This is what lirc just created, see in the transmitter section where it says:

    Code:
    #Chosen Transmitter
    TRANSMITTER=" what ever the name is here "
    change the name in quotes to "SERIAL"

    Next, go to the file: /usr/share/lirc/transmitters/directtv/general.conf About 10 lines down or so it will say: name .
    enter SERIAL here, no quotes or anything. Save this file.

    Back to the command line: Enter this:
    Code:
    sudo irsend -d /dev/lircd0 SEND_ONCE SERIAL guide
    This is where we try to tell the program lirc to send the code for guide, (the direct tv guide) to the STB. Copy any errors that you see if this doesn't work, ie. if it doesn't bring up your Direct TV guide. But, hopefully your Direct TV Guide came up. If not, post back and hopefully I've learned more and can help debug.
    Last edited by phroman; May 7th, 2009 at 05:28 AM.
    Mythfrontend version: fixes/0.24 (v0.24-250-g56c54fa)

  10. #20
    Join Date
    Nov 2008
    Beans
    84
    Distro
    Ubuntu 10.10 Maverick Meerkat

    Re: Ir blaster and Directv d12-300

    i got this after running the irsend code:
    Code:
    cody@cody-myth:~$ sudo irsend -d /dev/lircd0 SEND_ONCE SERIAL guide
    irsend: could not connect to socket
    irsend: No Such file or directory
    I did not have /etc/modprobe.d/lirc or /etc/modprobe.d/lirc-serial

Page 2 of 4 FirstFirst 1234 LastLast

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •