Author |
Message |
madsholme
|
Posted: Sun May 21, 2006 6:51 am |
|
Joined: Fri Dec 02, 2005 7:23 am
Posts: 171
Location:
Denmark (PAL-B/G)
|
I installed the new version, and when i say i have a irblaster, it asks me this:
Code: What device are you controlling with the blaster: 1) Hughes_DDS_GAEBO 4) Motorola_DCT2000 7) I'll install my own 2) LG_Goldeneye_TV 5) Motorola_DCT2524 3) Motorola_CFT2200 6) Nokia_MM9802S #?
what do i have to chose there?
|
|
Top |
|
 |
Greg Frost
|
Posted: Sun May 21, 2006 7:15 am |
|
Joined: Mon May 10, 2004 8:08 pm
Posts: 1891
Location:
Adelaide, Australia
|
That is asking you which LIRC configuration file you want in /etc/irblaster/irblasterd.conf. Just pick any one. Then after it starts irblasterd, stop it by running Code: /etc/init.d/irblaster stop and then run Code: irrecord -d /dev/irblaster so that you can create a configuration file for your remote (if you dont already have one). You may want to run Code: mode2 -d /dev/irblaster just to check that the receiver is working before doing the irrecord though.
|
|
Top |
|
 |
madsholme
|
Posted: Sun May 21, 2006 11:56 am |
|
Joined: Fri Dec 02, 2005 7:23 am
Posts: 171
Location:
Denmark (PAL-B/G)
|
This is getting odd, i just keep getting:
Code: root@mythtv:~# /usr/local/bin/irblaster.sh Do you have a serial port IR Blaster? y Which comm port is the blaster attached to? a) COM1 b) COM2
b What device are you controlling with the blaster: 1) Hughes_DDS_GAEBO 4) Motorola_DCT2000 7) I'll install my own 2) LG_Goldeneye_TV 5) Motorola_DCT2524 3) Motorola_CFT2200 6) Nokia_MM9802S #? 1
Selected Hughes_DDS_GAEBO. System startup links for /etc/init.d/irblaster already exist. Stopping irblaster daemon: irblasterdNo process in pidfile `/var/run/irblasterd.pid' found running; none killed. . Starting irblaster daemon:. root@mythtv:~# /etc/init.d/irblaster stop Stopping irblaster daemon: irblasterd. root@mythtv:~# mode2 -d /dev/irblaster mode2: error opening /dev/irblaster mode2: No such device root@mythtv:~#
also tryed with COM1, but getting the samething there...
IS there a way to see if it finds the ir serial device?
|
|
Top |
|
 |
Greg Frost
|
Posted: Mon May 22, 2006 7:19 am |
|
Joined: Mon May 10, 2004 8:08 pm
Posts: 1891
Location:
Adelaide, Australia
|
oops. sorry. I gave you a bit of a bum steer. unfortunately, running "/etc/init.d/irblaster stop" actually removes the lirc_serial module, hence the error you are seeing.
Instead of using the script to stop it, just use the command "killall irblasterd".
That should leave the lirc_serial module installed with the /dev/irblaster device pointing to it. Then the mode2 and irrecord commands should work.
|
|
Top |
|
 |
madsholme
|
Posted: Mon May 22, 2006 8:18 am |
|
Joined: Fri Dec 02, 2005 7:23 am
Posts: 171
Location:
Denmark (PAL-B/G)
|
yes finaly its working
alright so i did the ir record thing, it just says this...
Code: . .. ... ..... pulse 976 space 808 pulse 972
[1]+ Stopped mode2 -d /dev/irblaster root@mythtv:~# irrecord -d /dev/irblaster irrecord: invalid argument count root@mythtv:~#
|
|
Top |
|
 |
Greg Frost
|
Posted: Mon May 22, 2006 8:48 pm |
|
Joined: Mon May 10, 2004 8:08 pm
Posts: 1891
Location:
Adelaide, Australia
|
Look at the man page for irrecord. I am not by my box so i cant at the moment. If you still have problems let me know.
|
|
Top |
|
 |
madsholme
|
Posted: Thu May 25, 2006 12:57 pm |
|
Joined: Fri Dec 02, 2005 7:23 am
Posts: 171
Location:
Denmark (PAL-B/G)
|
Code: irrecord -d /dev/irblaster /record
that worked, then it makes a file called record, with all my buttons coded into it..
How where should i place that file?
also as i recall i have to edit some file, telling it what key does what, in what program, where is that file located?
|
|
Top |
|
 |
Greg Frost
|
Posted: Thu May 25, 2006 6:10 pm |
|
Joined: Mon May 10, 2004 8:08 pm
Posts: 1891
Location:
Adelaide, Australia
|
That file should be copied to /etc/irblaster/irblasterd.conf.
You will probably also want to edit /home/mythtv/.mythtv/lircrc to map your buttons to the actions you want.
|
|
Top |
|
 |
madsholme
|
Posted: Mon May 29, 2006 7:30 am |
|
Joined: Fri Dec 02, 2005 7:23 am
Posts: 171
Location:
Denmark (PAL-B/G)
|
alright almost there, this is my config so far:
/etc/irblaster/irblasterd.conf
Code: # LOGITECH REMOTE # Please make this file available to others # by sending it to <lirc@bartelmus.de> # # this config file was automatically generated # using lirc-0.8.0pre4-pvr150(all) on Sat May 27 21:32:26 2006 # # contributed by # # brand: /remote # model no. of remote control: # devices being controlled by this remote: #
begin remote
name /remote bits 13 flags RC5|CONST_LENGTH eps 30 aeps 100
one 928 852 zero 928 852 plead 949 gap 116047 min_repeat 2 toggle_bit 2
begin codes skip 0x1790 replay 0x1791 stop 0x17B6 play 0x17B5 rec 0x17B7 rew 0x17B2 fwd 0x17B4 pause 0x17B0 guide 0x179B info 0x178A exit 0x179F menu 0x178D mute 0x178F prev 0x1792 up 0x1794 down 0x1795 venster 0x1796 hoejer 0x1797 ch+ 0x17A0 ch- 0x17A1 1 0x1781 2 0x1782 3 0x1783 4 0x1784 5 0x1785 6 0x1786 7 0x1787 8 0x1788 9 0x1789 * 0x179E 0 0x1780 # 0x178E red 0x178B green 0x17AE yellow 0x17B8 blue 0x17A9 end codes
end remote and /home/mythtv/.mythtv/lircrc Code: begin prog = mythtv button = 1 config = 1 end
begin prog = mythtv button = 2 config = 2 end
begin prog = mythtv button = 3 config = 3 end
begin prog = mythtv button = 4 config = 4 end
begin prog = mythtv button = 5 config = 5 end
begin prog = mythtv button = 6 config = 6 end
begin prog = mythtv button = 7 config = 7 end
begin prog = mythtv button = 8 config = 8 end
begin prog = mythtv button = 9 config = 9 end
begin prog = mythtv button = exit config = Esc end
begin prog = mythtv button = 0 config = 0 end
begin prog = mythtv button = menu config = M end
begin prog = mythtv # We'll use it for "Information" button = info config = I end
# Note the "repeat =" strings in the volume and channel. # This means that if you hold down the key, every nth instance will be # passed. This depends on your system, so you may want to increase or # decrease this and see what happens. repeat = 1 is probably too # fast.
begin prog = mythtv # Middle button on the diamond button = ok config = Return end
begin prog = mythtv button = mute config = F9 end
begin prog = mythtv button = rew config = Left end
begin prog = mythtv button = play config = P end
begin prog = mythtv button = fwd config = Right end
begin prog = mythtv button = rec config = R end
begin prog = mythtv button = pause config = P end
begin prog = mythtv button = replay # Use for backwards commercial skip config = Q end
begin prog = mythtv button = skip # Use for forward commercial skip config = Z end
#MPlayer begin prog = mplayer button = exit config = quit end begin prog = mplayer button = menu config = osd end begin prog = mplayer button = rew config = seek -10 repeat = 1 end begin prog = mplayer button = fwd config = seek +10 repeat = 1 end
begin prog = mplayer button = replay config = seek -60 repeat = 1 end
begin prog = mplayer button = skip config = seek +60 repeat = 1 end
begin prog = mplayer button = pause config = pause end
begin prog = mplayer button = play config = pause end
begin prog = mplayer button = ch+ config = volume +1 repeat = 1 end
begin prog = mplayer button = ch- config = volume -1 repeat = 1 end
begin prog=mplayer button=mute config=mute end ##XINE begin prog = xine button = play repeat = 3 config = Play end begin prog = xine button = stop repeat = 3 config = Stop end begin prog = xine button = exit config = Quit end begin prog = xine button = pause repeat = 3 config = Pause end begin prog = xine button = up repeat = 4 config = EventUp end begin prog = xine button = down repeat = 4 config = EventDown end begin prog = xine button = venster repeat = 4 config = EventLeft end begin prog = xine button = hoejer repeat = 4 config = EventRight end begin prog = xine button = ok repeat = 0 config = EventSelect end begin prog = xine button = menu repeat = 0 config = Menu end #vol down begin prog = xine button = ch- repeat = 1 config = Volume- end #vol up begin prog = xine button = ch+ repeat = 1 config = Volume+ end begin prog = xine button = fwd repeat = 2 config = SeekRelative+30 end begin prog = xine button = rew repeat = 2 config = SeekRelative-30 end #ch up begin prog = xine button = skip repeat = 1 config = SeekRelative+60 end #ch down begin prog = xine button = replay repeat = 1 config = SeekRelative-60 end #sleep begin prog = xine button = yellow repeat = 1 config = ZoomIn end #display begin prog = xine button = blue repeat = 1 config = ZoomOut end #skip chapter forward begin prog = xine button = red repeat = 1 config = EventNext end
#skip chapter backward begin prog = xine button = green repeat = 1 config = EventPrior end
it seems how ever i am missing something in mythtv, like the movement of the arrows, how should i map them? (right,left,up and down, and ok)
tryed to search for a complete lircr file but couldent find one, so i tryed to adjust the one who was already there.. hopefully it will work when i get home from work (setting it up throught ssh)
|
|
Top |
|
 |
madsholme
|
Posted: Mon May 29, 2006 2:47 pm |
|
Joined: Fri Dec 02, 2005 7:23 am
Posts: 171
Location:
Denmark (PAL-B/G)
|
after using this setup, nothing seems to be workign with the remote? any idea on what´s wrong here?
|
|
Top |
|
 |
Greg Frost
|
Posted: Mon May 29, 2006 4:14 pm |
|
Joined: Mon May 10, 2004 8:08 pm
Posts: 1891
Location:
Adelaide, Australia
|
have you tried rebooting. the lirc stuff needs to start in the right order after changing the config files.
|
|
Top |
|
 |
madsholme
|
Posted: Tue May 30, 2006 7:10 am |
|
Joined: Fri Dec 02, 2005 7:23 am
Posts: 171
Location:
Denmark (PAL-B/G)
|
Greg Frost wrote: have you tried rebooting. the lirc stuff needs to start in the right order after changing the config files.
i did a reboot shouldent that do the trick?
|
|
Top |
|
 |