XBMC Community Forum
ASRock ION 330HT (2nd gen) - built-in IR, which lirc driver? - Printable Version

+- XBMC Community Forum (http://forum.xbmc.org)
+-- Forum: Help and Support (/forumdisplay.php?fid=33)
+--- Forum: XBMC General Help and Support (/forumdisplay.php?fid=111)
+---- Forum: Linux and Live support (/forumdisplay.php?fid=52)
+---- Thread: ASRock ION 330HT (2nd gen) - built-in IR, which lirc driver? (/showthread.php?tid=61840)

Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49


- Fjerpje - 2010-01-29 16:15

Novin Wrote:I added a script to remove the kernel module (not sure of the name, cannot access my system right now) before suspend and now it works great. So the script does lirc stop + modprobe -r of the module.

Module is then re-inserted and lirc restarted when it resumes with the lirc resume script found on xbmc Wiki (which I had to modify to find the correct IR module).

I got the exact same problem. The point is that the IR receiver seems to react to IR signals coming from the TV. Because if i put my Asrock to another location it does not have the problem of restarting after the second suspend.


- BugBoy - 2010-01-30 14:40

@andyblac: I have exactly the same problem as you. I don't think it is related to the remote control.

I performed the following steps:
1) Rebooted the ASRock and connected using SSH.
2) Stopped LIRC (/etc/init.d/lirc stop and rmmod lirc_wb677).
3) Enter sleep mode (/etc/acpi/sleep.sh).
4) Wakeup the Asrock using the remote (this is a BIOS feature, so it also works without LIRC).
5) Stopped LIRC again (/etc/init.d/lirc stop and rmmod lirc_wb677).
6) Enter sleep mode (/etc/acpi/sleep.sh).

The Asrock will get back from sleep mode, right after it was sleeping.


New drivers - salata - 2010-01-30 16:55

Hello,
just curious, do you know that driver 1.0.4 is out and seems to be working ? Finally Asrock solved the most annoynig issue.

Regards
Salata


- Niklas-P - 2010-01-30 17:29

mode2 -d /dev/lirc0 gives output but not irw?

Ive 2nd gen Asrock 330HT with built-in IR-reciver and Asrock's included Remote Control ASRock TSGV-IR01

lircd.conf (include /usr/share/lirc/remotes/lirc_wb677/lircd.conf.wb677)
http://pastebin.com/f2db294d4

hardware.conf
http://pastebin.com/d5c485ec4

Ive have followed X3lectric's guide for driver installation.

Please help me!

Best Regards
Niklas


- BugBoy - 2010-01-31 01:36

I now use the v1.0.4 driver, but I still have the problem that the system can only sleep normally one time :-(


- andyblac - 2010-01-31 11:36

BugBoy Wrote:I now use the v1.0.4 driver, but I still have the problem that the system can only sleep normally one time :-(


just done a clean install of Jaunty Mini iso, no drivers etc, put system to sleep, wake it up, put it to sleep again and it wont stay asleep still, so it looks like it is NOT a driver isssue. if someone who's system does stays asleep on 2nd ,3rd etc go could post their bios settings so i can compare them.

i think it is a bios problem NOT a driver problem.


- Fjerpje - 2010-01-31 14:25

This is definitely a remote control problem. Because if i put my Asrock away from the TV and put it in my bedroom and connect it to my LCD screen (without IR receiver) it does function properly as it should.

So if i put it in my bedroom, away from the TV IR signals, i am able to:

- Put the Asrock into sleep
- Wake up the Asrock and load it into XBMC
- Control XBMC with the remote
- Put it into sleep again
- Wake it back up and control XBMC
- Put it back into sleep without the Asrock restarting again

So this has to be IR signal interferrence related.

And if i put my Asrock downstairs in the livingroom i am able to:

- Put the Asrock into sleep
- Wake up the Asrock and load it into XBMC
- Control XBMC with the remote
- Put it into sleep again
- Wake it back up and control XBMC
- Put it back into sleep but the Asrock immediatly restarts again.

I think that if you start your Asrock, using the remote, it starts just parts of the Lirc driver and not the whole driver with use of paramaters getting sent to the driver. But if you put the Asrock in Suspend mode and wake it back up, the script that i use does restart the whole driver for the IR receiver without extra parameters getting sent. Wich causes the problem that the IR receiver responds to external signals. I cannot confirm this by any way. But i hope if there is any truth in this, that someone knows what i am trying to tell so that he or she can test this out.


- andyblac - 2010-01-31 16:18

Fjerpje Wrote:This is definitely a remote control problem. Because if i put my Asrock away from the TV and put it in my bedroom and connect it to my LCD screen (without IR receiver) it does function properly as it should.

So if i put it in my bedroom, away from the TV IR signals, i am able to:

- Put the Asrock into sleep
- Wake up the Asrock and load it into XBMC
- Control XBMC with the remote
- Put it into sleep again
- Wake it back up and control XBMC
- Put it back into sleep without the Asrock restarting again

So this has to be IR signal interferrence related.

And if i put my Asrock downstairs in the livingroom i am able to:

- Put the Asrock into sleep
- Wake up the Asrock and load it into XBMC
- Control XBMC with the remote
- Put it into sleep again
- Wake it back up and control XBMC
- Put it back into sleep but the Asrock immediatly restarts again.

I think that if you start your Asrock, using the remote, it starts just parts of the Lirc driver and not the whole driver with use of paramaters getting sent to the driver. But if you put the Asrock in Suspend mode and wake it back up, the script that i use does restart the whole driver for the IR receiver without extra parameters getting sent. Wich causes the problem that the IR receiver responds to external signals. I cannot confirm this by any way. But i hope if there is any truth in this, that someone knows what i am trying to tell so that he or she can test this out.

not here. it is broke anywhere. i DONT any driver OR lirc installed and it still the same. just restarts itself.


- X3lectric - 2010-01-31 19:38

Well start from shutdown has NOTHING to do with lirc. lirc kicks in when linux (xbmc) has loaded not before.

Now as andyblac says with no lirc still same issue one has to wonder about the hardware itself. I have made several mentions on other posts/topics regarding this.

I have had 3 RMA's on my own ION HT (several more on ppl who ask me to set up their systems for them. The latest which seems to be the best sports a odd DVD drive looking at the hardware there are revisions the voltage regulator (one of the Achilles heels of the ION) is now a different part.

Best HW stability wise for the ION HT sports the Slimtype DVD A DS8A3S HAT9 PQ
Instead.
Having said that I have no issues with resume working though I have to say this is somewhat overrated. My system boots from total shutdown both Jaunty and karmic under 20 seconds I have installed sreadahead/ureadahead.

Its worth a mention this is pretty new hardware and first revisions will be a bit shite. Also Linux wont be yet all that with such new HW mainly the Kernel part.

Im using grub-pc on either sys and its booting clear straight into xbmc the default being Karmic since Im dual booting.

Linux itself kernel wise only 2.6.32 supports the 99% hardware properly and compiled specifically for that hardware removing all nonsense stuff.

Having said all this on a perfectly clean/lean minimal install I have no resume issues after I used the lirc resume script.

andyblac has posted his own resume script which I haven't tried yet. (can you post it on my topic so it is added to the tweaks area? full kudos to u oc)

on a completely offtopic note erhnam has a custom install disk which works pretty well after the customary installs of the lirc driver and other sensors tweaks though you have to create user xbmc with his disk. I wanted to work with him and flxfxp on a proper full custom install disk for all the ION platforms with the proper system selections and what you guys wanted to install menu driven instead of just being forced to have his own favourite nzb and transmission and other stuffs installed by default. However it seems hes either too busy or not interested in working with myself and flxfxp. sadly whichever way it is its a shame cause Im sure we (3 of us) could cure most issues together. If anyone here well versed has the time or is willing to creating a install disk from scratch using debian live tools (what Team XBMC Use) pls drop me a line it would be a fine team not strictly restricted to 3 ppl obviously).

Regards to all.


- fr0sty - 2010-02-01 15:40

It seems like i can't get things to work, with driver version 1.0.4

Code:
dmesg | grep lirc
[ 5.534359] lirc_dev: IR Remote Control driver registered, major 61
[ 5.730525] lirc_wb677 w677hga: chip id high: 0xb4
[ 5.730538] lirc_wb677 w677hga: chip id low: 0×73 expect:0×73
[ 5.730949] lirc_dev: lirc_register_driver: sample_rate: 0

seems to be OK,
Code:
sudo tail -f /var/log/daemon.log
Jan 31 22:51:27 XBMCLive lircd-0.8.6[678]: accepted new client on /var/run/lirc/lircd

but irw doesnt give any output, anyone know where to look next?