My notes on getting my ASRock ION 330HT-BD “nettop” media PC working.
sudo su
, and remove cats from the vicinity of your keyboardaptitude install lirc
dpkg –install lirc-nct677x-src-1.0.4-ubuntu10.04.deb
to install dependencies etcdkms add -m lirc-nct677x-src -v 1.0.4-ubuntu10.04
to make the Dynamic Kernel Module System aware of the new sourcedkms build -m lirc-nct677x-src -v 1.0.4-ubuntu10.04
to compile the source to binarydkms install -m lirc-nct677x-src -v 1.0.4-ubuntu10.04
to installmodprobe lirc_wb677
/dev/lirc0
or similar. Check with ls /dev/lirc*
mode2 -d /dev/lirc*
and press buttons on the remote. If all is well you will see something like the following:pulse 450 space 400 pulse 900 space 400
mode2
with a ^C./etc/lirc/hardware.conf
looks sensible: # /etc/lirc/hardware.conf # #Chosen Remote Control REMOTE="Nuvoton Transceivers/Remotes" REMOTE_MODULES="lirc_dev lirc_wb677" REMOTE_DRIVER="" REMOTE_DEVICE="/dev/lirc0" REMOTE_SOCKET="" REMOTE_LIRCD_CONF="lirc_wb677/lircd.conf.wb677" REMOTE_LIRCD_ARGS="" #Chosen IR Transmitter TRANSMITTER="None" TRANSMITTER_MODULES="" TRANSMITTER_DRIVER="" TRANSMITTER_DEVICE="" TRANSMITTER_SOCKET="" TRANSMITTER_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="false" START_LIRCMD=""
/var/log/syslog
, if it has this error Sep 25 14:19:53 skuld lircd-0.8.6[5475]: config file contains no valid remote control definition
you need a definition file for the remote.lirc
package, they are kept under /usr/share/lirc/remotes
. The mceusb
should be compatible with the ASRock remote control.service lirc stop; lircd –nodaemon –device /dev/lirc* /usr/share/lirc/remotes/mceusb/lircd.conf.mceusb
lircd-0.8.6[1719]: lircd(default) ready, using /var/run/lirc/lircd
bg
command. The process will continue to run and log to your terminal until you return it to the foreground with the fg
command.irw
000000037ff07bee 00 VolDown mceusb 000000037ff07bee 01 VolDown mceusb 000000037ff07bf2 00 Home mceusb 000000037ff07bf2 01 Home mceusb
fg
include “/usr/share/lirc/remotes/mceusb/lircd.conf.mceusb”
to the end of /etc/lirc/lircd.conf
: #This configuration has been automatically generated via #the Ubuntu LIRC package maintainer scripts. # #It includes the default configuration for the remote and/or #transmitter that you have selected during package installation. # #Feel free to add any custom remotes to the configuration #via additional include directives or below the existing #Ubuntu include directives from your selected remote and/or #transmitter. include "/usr/share/lirc/remotes/mceusb/lircd.conf.mceusb"
service lirc restart
Install polkit-1
and upower
packages, and reboot.