Really awesome.
Installed lirc 0.8.6, installed the drivers, the lircd.conf seems to be supplied within the driver and it is working.
Good I didn't choose the none HT because I thought they will never supply the correct drivers
edit:
X3 asked me to supply a step by step with what I did.
This guide is meant to be for Karmic, if you're using another Version of Ubuntu or distro it might work different.
XBMC Live Beta/RC are on Karmic
1. installed lirc 0.8.6
2. downloaded the driver from
here, unrared them and pushed them onto the Asrock through scp
Code:
scp -r lirc-nct677x-1.0.0-ubuntu9.10.rar_Folder <your username>@<your ion ip>:~/
(your folder may vary, it is the one StuffIt Expander created on my Mac)
3. installed the driver
Code:
dpkg -i lirc-nct677x-1.0.0-ubuntu9.10.deb
(dpkg-reconfigure started automaticly on my ion, if it doesnt for you just type
Code:
dpkg-reconfigure lirc
)
2. selected Nuvoton Transceivers/Remotes from the Menu and None for the Transmitter
3. wanted to edit the /etc/lirc/lircd.conf and found: "include "/usr/share/lirc/remotes/lirc_wb677/lircd.conf.wb677""
4. rebooted XBMC and everything is working
If you need an lircrc file here is mine:
Code:
# lirc_wb667 replace start #
########################################################
# LC : NOTICE !!
# EDIT THIS FILE in linux environment to avoid bug of lirc_client.c (lirc_readconfig_internal)
# => make sure line ending is '\n' instead of '\r''\n'
########################################################
#######################
### for MPlayer ####
#######################
# This is the config file for lirc to support mplayer.
# Copy this file as ~/lircrc or /etc/lirc/lircic
begin
button = VolUp
prog = mplayer
config = volume 1
repeat = 1
end
begin
button = VolDown
prog = mplayer
config = volume -1
repeat = 1
end
begin
button = ChanUp
prog = mplayer
config = tv_step_channel 1
repeat = 1
end
begin
button = ChanDown
prog = mplayer
config = tv_step_channel -1
repeat = 1
end
begin
button = OK
prog = mplayer
config = pause
end
begin
button = Play
prog = mplayer
config = pause
end
begin
button = Pause
prog = mplayer
config = pause
end
begin
button = Stop
prog = mplayer
config = seek 0 1\npause
end
begin
button = Mute
prog = mplayer
config = mute
end
begin
button = Right
prog = mplayer
config = seek +10
repeat = 1
end
begin
button = Left
prog = mplayer
config = seek -10
repeat = 1
end
begin
button = Down
prog = mplayer
config = seek -60
repeat = 1
end
begin
button = Up
prog = mplayer
config = seek +60
repeat = 1
end
begin
button = Back
prog = mplayer
config = seek -600
repeat = 1
end
begin
button = Rewind
prog = mplayer
config = seek -600
repeat = 1
end
begin
button = Forward
prog = mplayer
config = seek +600
repeat = 1
end
#######################
### for Rhythmbox ####
#######################
# to see debug info of Rhythmbox : exec "rhythmbox -d 2>&1 | grep lirc"
#
# the following section are copied from rb-lirc-plugin.c found on web.
#
#define RB_IR_COMMAND_PLAY "play"
#define RB_IR_COMMAND_PAUSE "pause"
#define RB_IR_COMMAND_PLAYPAUSE "playpause"
#define RB_IR_COMMAND_STOP "stop"
#define RB_IR_COMMAND_SHUFFLE "shuffle"
#define RB_IR_COMMAND_REPEAT "repeat"
#define RB_IR_COMMAND_NEXT "next"
#define RB_IR_COMMAND_PREVIOUS "previous"
#define RB_IR_COMMAND_SEEK_FORWARD "seek_forward"
#define RB_IR_COMMAND_SEEK_BACKWARD "seek_backward"
#define RB_IR_COMMAND_VOLUME_UP "volume_up" => LC : nothing happens ??
#define RB_IR_COMMAND_VOLUME_DOWN "volume_down" => LC : nothing happens ??
#define RB_IR_COMMAND_MUTE "mute"
begin
prog = Rhythmbox
button = Play
config = play
end
begin
prog = Rhythmbox
button = Pause
config = pause
end
begin
prog = Rhythmbox
button = Stop
config = stop
end
begin
prog = Rhythmbox
button = Forward
config = seek_forward
end
begin
prog = Rhythmbox
button = Rewind
config = seek_backward
end
begin
prog = Rhythmbox
button = Skip
config = next
end
begin
prog = Rhythmbox
button = Replay
config = previous
end
begin
prog = Rhythmbox
button = VolUp
config = volume_up
end
begin
prog = Rhythmbox
button = VolDown
config = volume-down
end
#######################
### for Totem ####
#######################
# the following section are copied from totem-lirc.c found on web.
#
#define TOTEM_IR_COMMAND_PLAY "play"
#define TOTEM_IR_COMMAND_PAUSE "pause"
#define TOTEM_IR_COMMAND_NEXT "next"
#define TOTEM_IR_COMMAND_PREVIOUS "previous"
#define TOTEM_IR_COMMAND_SEEK_FORWARD "seek_forward"
#define TOTEM_IR_COMMAND_SEEK_BACKWARD "seek_backward"
#define TOTEM_IR_COMMAND_VOLUME_UP "volume_up"
#define TOTEM_IR_COMMAND_VOLUME_DOWN "volume_down"
#define TOTEM_IR_COMMAND_FULLSCREEN "fullscreen"
#define TOTEM_IR_COMMAND_QUIT "quit"
#define TOTEM_IR_COMMAND_UP "up"
#define TOTEM_IR_COMMAND_DOWN "down"
#define TOTEM_IR_COMMAND_LEFT "left"
#define TOTEM_IR_COMMAND_RIGHT "right"
#define TOTEM_IR_COMMAND_SELECT "select"
#define TOTEM_IR_COMMAND_MENU "menu"
#define TOTEM_IR_COMMAND_PLAYPAUSE "play_pause"
#define TOTEM_IR_COMMAND_ZOOM_UP "zoom_up"
#define TOTEM_IR_COMMAND_ZOOM_DOWN "zoom_down"
#define TOTEM_IR_COMMAND_SHOW_PLAYING "show_playing"
#define TOTEM_IR_COMMAND_SHOW_VOLUME "show_volume"
#define TOTEM_IR_COMMAND_EJECT "eject"
#define TOTEM_IR_COMMAND_PLAY_DVD "play_dvd"
#define TOTEM_IR_COMMAND_MUTE "mute"
begin
prog = Totem
button = Play
config = play
end
begin
prog = Totem
button = Pause
config = pause
end
begin
prog = Totem
button = Stop
config = stop
end
begin
prog = Totem
button = Forward
config = seek_forward
end
begin
prog = Totem
button = Rewind
config = seek_backward
end
begin
prog = Totem
button = Skip
config = next
end
begin
prog = Totem
button = Replay
config = previous
end
begin
prog = Totem
button = VolUp
config = volume_up
end
begin
prog = Totem
button = VolDown
config = volume-down
end
# lirc_wb667 replace end #