Kodi Community Forum
[LINUX] My Asrock 330 ION Tweaks, Tips, Tricks, and Fixes! - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33)
+--- Forum: General Support (https://forum.kodi.tv/forumdisplay.php?fid=111)
+---- Forum: Linux (https://forum.kodi.tv/forumdisplay.php?fid=52)
+---- Thread: [LINUX] My Asrock 330 ION Tweaks, Tips, Tricks, and Fixes! (/showthread.php?tid=61697)

Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16


- X3lectric - 2010-01-29

Well you can just install sreadahead my system loads less than 20 seconds from shutdown I have grub-pc (grub2) installed and its all silent and booting straight to XBMC. console fonts can be set up during system install other than that after the fact you can google for your question.

While I understand your trying to streamline to the max looking for the sweet spot those services wont make a bit of difference after sreadahead is installed.

dlbogdan Wrote:so, again, and i selfquote:

Does anybody have the 1.0.2 version ?

Pls forget about the 1.0.2 drivers for now they were buggy enough to fry your cir header (the voltage regulator), as I found out the hard way. That's one of the reasons why they out of Asrocks site some of the many systems out there will have issues with starting from shutdown this is early warning the voltage reg is crap. I have posted that already, consider this for you and whoever a friendly warning that is attached to ppl who dont read previous posts and want bleeding edge regardless. Up to you all what you want really.


- dlbogdan - 2010-01-29

1.0.4 CIR Driver for Asrock ION 330 PRO/HT/BD is out.

get it while is hot:

http://europe.asrock.com/downloadsite/drivers/Nettop/Ubuntu/IR(9.10).zip

Finally working perfectly with my SHARP IR home-made header on the 330 PRO Smile


- dumalkin - 2010-01-30

I get the following message after "modprobe coretemp" step:
FATAL: Error inserting coretemp (/lib/modules/2.6.31-16-generic/kernel/drivers/hwmon/coretemp.ko): No such device
Untill then all steps passed OK.
Environment: Clean install on HDD of XBMC Live 9.11 Release
Someone ? :confused2:


- X3lectric - 2010-01-31

@ dumalkin look at my topic how to compile your own coretemp.ko and correct that error.


- andyblac - 2010-01-31

dlbogdan Wrote:1.0.4 CIR Driver for Asrock ION 330 PRO/HT/BD is out.

get it while is hot:

http://europe.asrock.com/downloadsite/drivers/Nettop/Ubuntu/IR(9.10).zip

Finally working perfectly with my SHARP IR home-made header on the 330 PRO Smile

does anyone have them for Jaunty ?


- X3lectric - 2010-01-31

pretty sure u can stick with the one you have or install the current on jaunty. it wont make much difference as long as you have lirc 0.8.6 installed.

now all we need is to push Asrock for the Nuvoton W83677HG-I drivers

then we can finally have a shot at proper hardware monitoring and fan control, which no one seems to be interested in up this neck of the woods.


- andyblac - 2010-01-31

X3lectric Wrote:pretty sure u can stick with the one you have or install the current on jaunty. it wont make much difference as long as you have lirc 0.8.6 installed.

now all we need is to push Asrock for the Nuvoton W83677HG-I drivers

then we can finally have a shot at proper hardware monitoring and fan control, which no one seems to be interested in up this neck of the woods.

installled lirc 0.8.6, np at all. then tried to install 1.04 from 9.10, but wont install, it complains about the kernel module it is loaded. Sad

and regarding Nuvoton W83677HG-I drivers i have asked several times from them, but they just blank that part of the support question Sad


- andyblac - 2010-01-31

here is my resume script, dose the same as the others, just a little cleaner.

place the script in : /etc/pm/sleep.d/

file name "10-lirc.sh"
PHP Code:
#!/bin/sh
# Disconnect XBMC from lirc and stop the daemon

case "$1" in
hibernate
|suspend)
service lirc stop
;;
thaw|resume)
service lirc start
;;
*) exit 
$NA
;;
esac 
and place /etc/pm/config.d/

file name "01lirc_module"
PHP Code:
SUSPEND_MODULES="lirc_dev lirc_wb677" 



- X3lectric - 2010-01-31

andy did you purge the previous version of lirc b4 adding the 0.8.6 repos which I have posted on my topic... do an apt-get autoremove just to in case which more likely wont find anything, however I always run it... reboot just in case, If I got you right that is, What I have installed in Jaunty myself is version 1.0.1 and it installed and loaded just fine.

Im so god darn tired I have no idea which side is up...


- andyblac - 2010-02-01

X3lectric Wrote:andy did you purge the previous version of lirc b4 adding the 0.8.6 repos which I have posted on my topic... do an apt-get autoremove just to in case which more likely wont find anything, however I always run it... reboot just in case, If I got you right that is, What I have installed in Jaunty myself is version 1.0.1 and it installed and loaded just fine.

Im so god darn tired I have no idea which side is up...

could you give me a link to those drivers for 1.01 for jaunty ?


- X3lectric - 2010-02-01

I would if I had them perhaps a quick email to Asrock? The ones I have on system are the 9.10 version with lirc 0.8.6 sry Sad


- andyblac - 2010-02-01

i could not get Karmic sersors to work with your instructons, i have modifies it so it does heres mine

Code:
apt-get install lm-sensors linux-source build-essential -y --force-yescd /usr/src
wget [url]http://mabene.icomedias.com/coretemp.patch[/url]
tar jxvf linux-source-$(uname -r | awk -F'-' '{print $1}').tar.bz2
cd linux-source-$(uname -r | awk -F'-' '{print $1}')
patch -p1 < ../coretemp.patch | tee -a ~/setup/xbmc-live-configure.log
make -j 4 -C /lib/modules/[color=red]2.6.31-17-generic[/color]/build M=/usr/src/linux-source-$(uname -r | awk -F'-' '{print $1}')/drivers/hwmon/ modules
cp /usr/src/linux-source-$(uname -r | awk -F'-' '{print $1}')/drivers/hwmon/coretemp.ko /lib/modules/[color=red]2.6.31-17-generic[/color]/kernel/drivers/hwmon/coretemp.ko
cd /usr/sbin/
rm /usr/sbin/sensors-detect
wget [url]http://bit.ly/5ta8Z6[/url]
chmod 755 /usr/sbin/sensors-detect
Please answer YES (Y/y) to ALL!!

PHP Code:
sensors-detect
echo coretemp >> /etc/modules
modprobe coretemp
service lm
-sensors start
sensors 
-



- X3lectric - 2010-02-01

_ml_ Wrote:X3lectric: Im running a x64 kernel, could this be the problem?

Runing sudo dpkg -i lirc-nct677x-x64-1.0.1-ubuntu9.10.deb

give this output:
Code:
(Reading database ... 51926 files and directories currently installed.)
Preparing to replace lirc-nct677x-x64 1.0.1-ubuntu9.10 (using lirc-nct677x-x64-1                   .0.1-ubuntu9.10.deb) ...
* Stopping execution daemon: irexec                                     [fail]
ERROR: Module lirc_wb677 does not exist in /proc/modules
patching file /usr/share/lirc/lirc.hwdb
Reconfigure lirc
* Stopping execution daemon: irexec                                     [fail]
* Reloading kernel event manager...                                     [ OK ]
* Starting execution daemon: irexec                                     [fail]
Unpacking replacement lirc-nct677x-x64 ...
Setting up lirc-nct677x-x64 (1.0.1-ubuntu9.10) ...
Copy patch file...
* Stopping execution daemon: irexec                                     [fail]
`/usr/share/lirc_wb677/lirc_wb677.ko' -> `/lib/modules/2.6.28-17-generic/kernel/                   ubuntu/lirc/lirc_wb677/lirc_wb677.ko'
/etc/lirc/lircrc existed. append it.
patching file /usr/share/lirc/lirc.hwdb
* Stopping execution daemon: irexec                                     [fail]
* Reloading kernel event manager...                                     [ OK ]
* Starting execution daemon: irexec                                     [fail]
Only thing I found out from this output is that the lirc_wb677 module is not loaded correct.

Maybe I need to compile the module from src. Just have to figure out how dkms works first.

This is what happens on my system and it installs perfectly.

Code:
* Stopping execution daemon: irexec                                     [fail]
* Stopping remote control daemon(s): LIRC                               [ OK ]
patching file /usr/share/lirc/lirc.hwdb
Reconfigure lirc
* Stopping execution daemon: irexec                                     [fail]
* Stopping remote control daemon(s): LIRC                               [fail]
* Starting execution daemon: irexec                                     [fail]
Unpacking replacement lirc-nct677x ...
Setting up lirc-nct677x (1.0.4-ubuntu9.10) ...
Copy patch file...
* Stopping execution daemon: irexec                                     [fail]
`/usr/share/lirc_wb677/lirc_wb677.ko' -> `/lib/modules/2.6.31-17-generic/kernel/ubuntu/lirc/lirc_wb677/lirc_wb677.ko'
/etc/lirc/lircrc existed. append it.
patching file /usr/share/lirc/lirc.hwdb
* Stopping execution daemon: irexec                                     [fail]
* Loading LIRC modules                                                  [ OK ]
* Starting remote control daemon(s) : LIRC                              [ OK ]
* Starting execution daemon: irexec                                     [ OK ]
On the first run its a lirc reconfigure it doesn't matter cause we are choosing none second run when you get prompted again and pick relevant driver Nuvoton Remotes and transceivers the driver is loaded and irexec doesn't really need to stop to load a driver just restarted; lirc on the other hand does and that gets stopped and restarted ok as you can see the whole process including the irexec is restarted ok it just reports you didn't stop it... even 64bit the output has to be like what I posted everything being right and all

Im sure you can if you or anybody else really want to kill the irexec Im sure it is possible if your having problems with driver install... old post but only noticed it now Sad


- speed32219 - 2010-02-02

X3lectric,

"patch -p1 < ../coretemp.patch
make -j 4 -C /lib/modules/2.6.31-17-generic/build M=/usr/src/linux-source-$(uname -r | awk -F'-' '{print $1}')/drivers/hwmon/ modules
echo coretemp.ko >> /etc/modules" "

What is that last line in the setting up lm-sensors?

Also, I'm getting some warnings during the make process.

Quote: make: Entering directory `/usr/src/linux-headers-2.6.31-15-generic'
CC [M] /usr/src/linux-source-2.6.31/drivers/hwmon/coretemp.o
Building modules, stage 2.
MODPOST 80 modules
WARNING: modpost: Found 10 section mismatch(es).
To see full details build your kernel with:
'make CONFIG_DEBUG_SECTION_MISMATCH=y'
LD [M] /usr/src/linux-source-2.6.31/drivers/hwmon/coretemp.ko
make: Leaving directory `/usr/src/linux-headers-2.6.31-15-generic'


- andyblac - 2010-02-02

speed32219 Wrote:X3lectric,

"patch -p1 < ../coretemp.patch
make -j 4 -C /lib/modules/2.6.31-17-generic/build M=/usr/src/linux-source-$(uname -r | awk -F'-' '{print $1}')/drivers/hwmon/ modules
echo coretemp.ko >> /etc/modules" "

What is that last line in the setting up lm-sensors?

Also, I'm getting some warnings during the make process.

Quote: make: Entering directory `/usr/src/linux-headers-2.6.31-15-generic'
CC [M] /usr/src/linux-source-2.6.31/drivers/hwmon/coretemp.o
Building modules, stage 2.
MODPOST 80 modules
WARNING: modpost: Found 10 section mismatch(es).
To see full details build your kernel with:
'make CONFIG_DEBUG_SECTION_MISMATCH=y'
LD [M] /usr/src/linux-source-2.6.31/drivers/hwmon/coretemp.ko
make: Leaving directory `/usr/src/linux-headers-2.6.31-15-generic'

please READ his post,

you HAVE NOT made the required change your trying to build against kernel 2.6.31.17 but you have 2.6.31.15 installed.

you did

"make -j 4 -C /lib/modules/2.6.31-17-generic......"

you need to either update your kernel or change it in the make line.

try this :

make -j 4 -C /lib/modules/2.6.31-15-generic/build M=/usr/src/linux-source-$(uname -r | awk -F'-' '{print $1}')/drivers/hwmon/ modules