LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 07-31-2010, 04:45 PM   #1
Quakeboy02
Senior Member
 
Registered: Nov 2006
Distribution: Debian Linux 11 (Bullseye)
Posts: 3,407

Rep: Reputation: 141Reputation: 141
Needed: lircd.conf for ATT U-Verse IPN330HD box


Subject says it all. There only seems to be one on the internet, originally called vip1200, and I'm trying to use that; unfortunately it's unreliable. Sometimes it works, but too often it will skip a digit. Files attached. I've tried with and without sleeps in the channel changer file, as well as only sending the digits, etc.

Any help would be appreciated.

file: lircd.conf
Code:
#
# this config file was automatically generated
# using lirc-0.8.6(default) on Sun Dec 20 14:45:21 2009
#
# contributed by 
#
# brand:                       ATT
# model no. of remote control: U-Verse
# devices being controlled by this remote:
#

begin remote

  name  vip1200
  bits           32
  flags RCMM|CONST_LENGTH
  eps             2
  aeps          100

  header        417   278
  three         167   778
  two           167   611
  one           167   444
  zero          167   278
  ptrail        167
  gap		99817
  toggle_bit_mask 0x8000

      begin codes
          ZERO                     0x23402600
          0                        0x23402600
          ONE                      0x2340A601
          1                        0x2340A601
          TWO                      0x23402602
          2                        0x23402602
          THREE                    0x2340A603
          3                        0x2340A603
          FOUR                     0x23402604
          4                        0x23402604
          FIVE                     0x2340A605
          5                        0x2340A605
          SIX                      0x2340A606
          6                        0x2340A606
          SEVEN                    0x2340A607
          7                        0x2340A607
          EIGHT                    0x23402608
          8                        0x23402608
          NINE                     0x2340A609
          9                        0x2340A609
          LAST                     0x2340260A
          POWER                    0x2340A60C
          INFO                     0x2340260F
          CHPG+                    0x2340A620
          CHPG-                    0x2340A621
          FF                       0x23402628
          REW                      0x2340A629
          PLAY                     0x2340262C
          PAUSE                    0x23402630
          STOP                     0x2340A631
          RECORD                   0x23402637
          A                        0x2340A638
          B                        0x2340A639
          RECORDEDTV               0x23402644
          FWD                      0x2340A64C
          REPLAY                   0x2340264D
          MENU                     0x2340A654
          EXIT                     0x2340A655
          UP                       0x2340A658
          DOWN                     0x23402659
          LEFT                     0x2340A65A
          RIGHT                    0x2340A65B
          OK                       0x2340A65C
          BACK                     0x2340A683
          C                        0x2340A686
          DELETE                   0x2340A69E
          TVVIDEO                  0x234026A8
          GUIDE                    0x234026CC
          ENTER                    0x234026E1
          VIDEOONDEMAND            0x2340A6F0
          gointeractive            0x2340A6FD
      end codes

end remote
file: change-channel-lirc.pl
Code:
#!/usr/bin/perl

# make sure to set this string to
# the corresponding remote in /etc/lirc/lircd.conf
$remote_name = "vip1200";

sub change_channel {
        my($channel_digit) = @_;
        system ("irsend SEND_ONCE $remote_name $channel_digit");
        sleep 1;
}

$channel=$ARGV[0];
system ("irsend SEND_ONCE $remote_name EXIT");
        sleep 1;
system ("irsend SEND_ONCE $remote_name OK");
        sleep 1;
if (length($channel) > 3) {
        change_channel(substr($channel,0,1));
        change_channel(substr($channel,1,1));
        change_channel(substr($channel,2,1));
        change_channel(substr($channel,3,1));
} elsif (length($channel) > 2) {
        change_channel(substr($channel,0,1));
        change_channel(substr($channel,1,1));
        change_channel(substr($channel,2,1));
} elsif (length($channel) > 1) {
        change_channel(substr($channel,0,1));
        change_channel(substr($channel,1,1));
} else {
        change_channel(substr($channel,0,1));
}
system ("irsend SEND_ONCE $remote_name ENTER");
        sleep 1;
system ("irsend SEND_ONCE $remote_name EXIT");
 
Old 08-01-2010, 02:45 AM   #2
smoker
Senior Member
 
Registered: Oct 2004
Distribution: Fedora Core 4, 12, 13, 14, 15, 17
Posts: 2,279

Rep: Reputation: 250Reputation: 250Reputation: 250
Did you try using the one from the lirc site ? It is completely different to the one you have posted here.
 
Old 08-02-2010, 04:10 PM   #3
Quakeboy02
Senior Member
 
Registered: Nov 2006
Distribution: Debian Linux 11 (Bullseye)
Posts: 3,407

Original Poster
Rep: Reputation: 141Reputation: 141
Hi smoker,
Yeah, I tried that one first. I think I may have found the problem, though. I was just waiting for some more testing before I posted. I added a frequency line, thinking it might not be a 38,000 Hz device. I settled on 36,000 Hz, and it seems to be working trouble-free.

Code:
   frequency        36000
I need to correct this. I've measured it with an o-scope and it's closer to 36000 than the original 34000 I had posted. Sorry for any inconvenience this caused anyone.

Last edited by Quakeboy02; 08-20-2010 at 11:18 PM. Reason: Correction from measurement
 
Old 08-02-2010, 04:10 PM   #4
Quakeboy02
Senior Member
 
Registered: Nov 2006
Distribution: Debian Linux 11 (Bullseye)
Posts: 3,407

Original Poster
Rep: Reputation: 141Reputation: 141
Deleted: Double post for some reason.

Last edited by Quakeboy02; 08-02-2010 at 04:11 PM. Reason: Double post
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
broadcom wireless verse opensuse repositories monnow SUSE / openSUSE 3 06-23-2010 02:48 PM
lircd.conf file for directv H23 high def receiver m_yates Linux - Software 5 04-27-2009 08:55 AM
webalizer conf needed sachin1361 Linux - Enterprise 1 03-17-2007 05:19 AM
help needed with proftpd.conf file? sebasjuh Mandriva 1 10-11-2004 09:26 AM
apachectl verse httpd onlinesnet Linux - Newbie 5 09-19-2001 07:35 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 07:07 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration