User Tools

Site Tools


unix:asrock_ion330ht-bd

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
unix:asrock_ion330ht-bd [2010/09/25 13:24]
robm created
unix:asrock_ion330ht-bd [2011/01/30 17:13]
robm
Line 7: Line 7:
   - Become root with ''sudo su'', and remove cats from the vicinity of your keyboard   - Become root with ''sudo su'', and remove cats from the vicinity of your keyboard
   - Install Linux Infra-Red Control with ''aptitude install lirc''   - Install Linux Infra-Red Control with ''aptitude install lirc''
-  - Download source package from http://www.asrock.com/nettop/download.asp?Model=ION 330HT-BD&o=Linux+  - Download source package from [[http://www.asrock.com/nettop/download.asp?Model=ION 330HT-BD&o=Linux]]
   - Use ''dpkg --install lirc-nct677x-src-1.0.4-ubuntu10.04.deb'' to install dependencies etc   - Use ''dpkg --install lirc-nct677x-src-1.0.4-ubuntu10.04.deb'' to install dependencies etc
   - 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   - 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
Line 63: Line 63:
 START_LIRCMD="" START_LIRCMD=""
 </code> </code>
-  - Restart the ''lirc'' service: ''serivce lirc restart'' +  - Check ''/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. 
-  - ''Sep 25 14:19:53 skuld lircd-0.8.6[5475]: config file contains no valid remote control definition'' +    Many are provided by the ''lirc'' packagethey are kept under ''/usr/share/lirc/remotes''. The ''mceusb'' should be compatible with the ASRock remote control. 
-  Test for *translated* key presses with ''irw'' (Press keys on remotekill with ^C) +    - Try it out by starting a new LIRC service in your terminal with ''service lirc stop; lircd --nodaemon --device /dev/lirc* /usr/share/lirc/remotes/mceusb/lircd.conf.mceusb'' 
-  - Check ''/var/log/syslog'' doesn't hold complaints from ''lirc'', such as <code>Sep 25 14:10:23 skuld lircd-0.8.6[4522]: accepted new client on /var/run/lirc/lircd +      - It should say ''lircd-0.8.6[1719]: lircd(default) ready, using /var/run/lirc/lircd'' 
-Sep 25 14:10:23 skuld lircd-0.8.6[4522]: could not get file information for /dev/lirc +        Suspend this process to get your command prompt back by pressing ^Z 
-Sep 25 14:10:23 skuld lircd-0.8.6[4522]: default_init(): No such file or directory +        - Resume the process in the background with the ''bg'' commandThe process will continue to run and log to your terminal until you return it to the foreground with the ''fg'' command
-Sep 25 14:10:23 skuld lircd-0.8.6[4522]Failed to initialize hardware+      Start a client with ''irw'' 
 +        - Press buttons on the remoteYou should see the name of the button<code>000000037ff07bee 00 VolDown mceusb 
 +000000037ff07bee 01 VolDown mceusb 
 +000000037ff07bf2 00 Home mceusb 
 +000000037ff07bf2 01 Home mceusb
 </code> </code>
 +        - Exit the client with ^C
 +      - Bring the backgrounded LIRC process to the foreground with ''fg''
 +      - Now kill the LIRC process with ^C
 +    - Install this good configuration file by adding ''include "/usr/share/lirc/remotes/mceusb/lircd.conf.mceusb"'' to the end of ''/etc/lirc/lircd.conf'': <code>#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"
 +</code>
 +  - Restart (or start if you previously stopped it) the LIRC service: ''service lirc restart'' 
 +
 +===== Power Management =====
 +
 +Install ''polkit-1'' and ''upower'' packages, and reboot.
  
unix/asrock_ion330ht-bd.txt · Last modified: 2011/01/30 17:13 by robm