User Tools

Site Tools


unix:asrock_ion330ht-bd

This is an old revision of the document!


ASRock ION 330HT-BD

My notes on getting my ASRock ION 330HT-BD “nettop” media PC working.

Infrared Remote Control

  1. Become root with sudo su, and remove cats from the vicinity of your keyboard
  2. Install Linux Infra-Red Control with aptitude install lirc
  3. Download source package from http://www.asrock.com/nettop/download.asp?Model=ION 330HT-BD&o=Linux
  4. Use dpkg –install lirc-nct677x-src-1.0.4-ubuntu10.04.deb to install dependencies etc
  5. Use dkms add -m lirc-nct677x-src -v 1.0.4-ubuntu10.04 to make the Dynamic Kernel Module System aware of the new source
  6. Use dkms build -m lirc-nct677x-src -v 1.0.4-ubuntu10.04 to compile the source to binary
  7. Use dkms install -m lirc-nct677x-src -v 1.0.4-ubuntu10.04 to install
  8. Test manually
    1. Load the module manually with modprobe lirc_wb677
      1. This should have (re)created /dev/lirc0 or similar. Check with ls /dev/lirc*
    2. Start 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
    3. Remote is working! Kill mode2 with a ^C.
  9. Check that /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=""
  10. Restart the lirc service: serivce lirc restart
  11. Sep 25 14:19:53 skuld lircd-0.8.6[5475]: config file contains no valid remote control definition
  12. Test for *translated* key presses with irw (Press keys on remote, kill with ^C)
  13. Check /var/log/syslog doesn't hold complaints from lirc, such as
    Sep 25 14:10:23 skuld lircd-0.8.6[4522]: accepted new client on /var/run/lirc/lircd
    Sep 25 14:10:23 skuld lircd-0.8.6[4522]: could not get file information for /dev/lirc
    Sep 25 14:10:23 skuld lircd-0.8.6[4522]: default_init(): No such file or directory
    Sep 25 14:10:23 skuld lircd-0.8.6[4522]: Failed to initialize hardware
unix/asrock_ion330ht-bd.1285421070.txt.gz · Last modified: 2010/09/25 13:24 by robm