Page 1 of 4 123 ... LastLast
Results 1 to 10 of 33

Thread: HOWTO Lirc with Pinnacle PCTV Pro

  1. #1
    Join Date
    Jul 2006
    Location
    Brasilia - Brazil
    Beans
    1
    Distro
    Ubuntu 6.06

    HOWTO Lirc with Pinnacle PCTV Pro

    Kernel: 2.6.16.15.26
    Lirc: 0.8.0

    First, instal the following packages:

    Code:
    # sudo apt-get install build-essential
    # sudo apt-get install linux-headers-2.6.15-26 (replace it by your kernel release number)
    # sudo apt-get install dialog
    Download the last lirc source from http://www.lirc.org. Untar it on a working folder:

    Code:
    # tar -xvjf lirc-0.8.0.tar.bz2
    Chdir to lirc-0.8.0. Execute setup.sh

    Code:
    # cd lirc-0.8.0
    # ./setup.sh
    Select option "1 Driver Configuration". A new meu will show. Select option "4 Other serial port devices", select "b Pinnacle Systems PCTV (pro) reciever" on the new menu. Finally, select COM port where your IRD is connected.

    Select option "2 Software configuration", and select "1 Compile tools for X-Windows" and "5 Use syslogd instead of own log file"

    Select option "3 Save configuration & run configure".
    Run make and make install:

    Code:
    # make
    # sudo make install
    Now install the packages for lirc. It will create some files that you will need.

    Code:
    # sudo apt-get install lirc
    edit the file /etc/lirc/hardware.conf and change the following lines:

    LOAD_MODULES="false"
    DRIVER="pinsys"
    DEVICE="/dev/ttyS0" #To COM1. To COM2, user /dev/ttyS1 and so on.
    Copy the right lircd.conf.

    # sudo cp /usr/share/lirc/remotes/pinnacle_systems/lircd.conf.pctv /etc/lirc/lircd.conf
    Now the tricky part. The lirc package installed another copy of lirc binary, which didn't work for me. So, I had to replace it with the compiled one. To do this, execute the following commands:

    Code:
    # sudo mv /usr/sbin/lircd /usr/sbin/lircd-original
    # sudo mv /usr/sbin/lircmd /usr/sbin/lircmd-original
    # sudo cp /usr/local/sbin/lircd /usr/sbin
    # sudo cp /usr/local/sbin/lircmd /usr/sbin
    It's time to test. The best way I found is open two terminals. On the first one execute:

    Code:
    # sudo /etc/init.d/lirc stop
    # sudo lircd --nodaemon
    The message will be showed

    lircd-0.8.0[28291]: lircd(pctv) ready
    On the second terminal execute

    Code:
    # irw
    Press the remote control buttons and you should see somenthing like this:

    000000000000001b 00 vol+ PinnacleSysPCTVRemote
    000000000000000b 00 Stop PinnacleSysPCTVRemote
    0000000000000015 00 pause PinnacleSysPCTVRemote
    000000000000000d 00 Play PinnacleSysPCTVRemote
    If it's all ok, your system is ready. Press <CTRL-C> on both terminals and restart de daemon with:

    Code:
    # sudo /etc/init.d/lirc start
    If something didn't work, take a look at /var/log/syslog. It can help you understand what didn't work.





    Totem

    I use totem as my movie player. To make it work with your remote control, create a file named .lircd in your home folder

    Code:
    # gedit ~/.lircrc
    Put the following lines on it:


    # edit the "button =" part for each entry according to your remote,
    # and stick this stuff in ~/.lircrc

    begin
    prog = Totem
    remote = *
    button = Play
    repeat = 1
    config = play
    end

    begin
    prog = Totem
    remote = *
    button = pause
    repeat = 0
    config = pause
    end

    begin
    prog = Totem
    remote = *
    button = FForward
    repeat = 1
    config = seek_forward
    end

    begin
    prog = Totem
    remote = *
    button = Rewind
    repeat = 1
    config = seek_backward
    end

    begin
    prog = Totem
    remote = *
    button = Fullscreen
    repeat = 1
    config = fullscreen
    end

    begin
    prog = Totem
    remote = *
    button = vol+
    repeat = 1
    config = volume_up
    end


    begin
    prog = Totem
    remote = *
    button = vol-
    repeat = 1
    config = volume_down
    end


    begin
    prog = Totem
    remote = *
    button = next
    repeat = 1
    config = next
    end

    begin
    prog = Totem
    remote = *
    button = YOUR_BUTTON
    repeat = 1
    config = previous
    end

    begin
    prog = Totem
    remote = *
    button = Power
    repeat = 1
    config = quit
    end
    That's it! I hope this howto helps you.
    Last edited by Rilson Raposo; July 23rd, 2006 at 10:05 PM.

  2. #2
    Join Date
    Oct 2006
    Location
    Napoli, Italy
    Beans
    178
    Distro
    Ubuntu 8.04 Hardy Heron

    Re: HOWTO Lirc with Pinnacle PCTV Pro

    Thanks!
    Seems to work in Feisty too

  3. #3
    Join Date
    May 2006
    Beans
    2

    Re: HOWTO Lirc with Pinnacle PCTV Pro

    With edgy I have no problem,but with feisty,installation goes right but remote give no sign.
    Someone has same problem?

  4. #4
    Join Date
    May 2006
    Beans
    2

    Re: HOWTO Lirc with Pinnacle PCTV Pro

    A clean ubuntu installation solved any problem.

  5. #5
    Join Date
    Apr 2007
    Location
    Porto
    Beans
    2
    Distro
    Ubuntu 8.04 Hardy Heron

    Re: HOWTO Lirc with Pinnacle PCTV Pro

    Do not work. When i test in the terminal i have this error message in the first terminal:


    gsc@gsc-room:~/Desktop/lirc-0.8.1$ sudo lircd --nodaemon
    lircd-0.8.1[23124]: could not open config file '/etc/lircd.conf'
    lircd-0.8.1[23124]: No such file or directory
    lircd-0.8.1[23124]: lircd(pctv) ready
    lircd-0.8.1[23124]: accepted new client on /dev/lircd
    lircd-0.8.1[23124]: could not reset tty
    lircd-0.8.1[23124]: caught signa
    Finalizado



    Ubuntu Feisty

  6. #6
    Join Date
    Aug 2006
    Beans
    29

    Re: HOWTO Lirc with Pinnacle PCTV Pro

    Locomeister Do not work. When i test in the terminal i have this error message in the first terminal:


    gsc@gsc-room:~/Desktop/lirc-0.8.1$ sudo lircd --nodaemon
    lircd-0.8.1[23124]: could not open config file '/etc/lircd.conf'
    lircd-0.8.1[23124]: No such file or directory
    lircd-0.8.1[23124]: lircd(pctv) ready
    lircd-0.8.1[23124]: accepted new client on /dev/lircd
    lircd-0.8.1[23124]: could not reset tty
    lircd-0.8.1[23124]: caught signa
    Finalizado



    Ubuntu Feisty
    Me too. Anyone have a solution to this?

  7. #7
    Join Date
    Aug 2006
    Beans
    29

    Re: HOWTO Lirc with Pinnacle PCTV Pro

    Ok,
    A little progress.
    I'd been following a few different howto's looking for one that would work. I think this cause a problem.

    So, if you're getting the "could not reset tty" issue, try this.
    do
    Code:
    setserial /dev/ttyS0
    using your device in place of /dev/ttyS0
    If your uart is "unknown" then try to fix it with
    Code:
    setserial /dev/ttyS0 autoconfig
    again, replacing ttyS0 with your device.
    Then retry the "lircd -n -d /dev/ttyS0" and "irw" combination described above. If you're still getting errors, try

    Code:
    lsmod |grep lirc
    and then use rmmod to remove all of the lirc modules.

    Then go back and try that lircd / irw thing again.

    I still can't get a signal, but It's not crashing in an error anymore.

  8. #8
    Join Date
    Apr 2007
    Location
    Porto
    Beans
    2
    Distro
    Ubuntu 8.04 Hardy Heron

    Re: HOWTO Lirc with Pinnacle PCTV Pro

    But still not working eheheh
    When i press the remote control buttons do not appear nothing in the second terminal

    Press the remote control buttons and you should see somenthing like this:

  9. #9
    Join Date
    Nov 2005
    Location
    Fora dal Lam, Italy
    Beans
    286
    Distro
    Gutsy Gibbon Testing

    Re: HOWTO Lirc with Pinnacle PCTV Pro

    Quote Originally Posted by Locomeister View Post
    But still not working eheheh
    When i press the remote control buttons do not appear nothing in the second terminal

    Press the remote control buttons and you should see somenthing like this:
    May be you missed something
    Member of:
    UDSF Team | Absolute Beginners Team | Unanswered Question Team
    ubuntu user #4898

  10. #10
    Join Date
    May 2006
    Beans
    Hidden!

    Re: HOWTO Lirc with Pinnacle PCTV Pro

    How did you set up the Pinnacle PCTV, tv-card?
    Mine wont run any tv-program.

Page 1 of 4 123 ... LastLast

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
  •