[LINUX] IR/Lirc on s1-at5nm10e

  Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
tefnut Offline
Junior Member
Posts: 16
Joined: Jan 2011
Reputation: 0
Post: #51
thnaks for the info,
how can i install this pack? this will not let me use this device without the external reciever right?
find quote
andlinux Offline
Junior Member
Posts: 38
Joined: Feb 2011
Reputation: 0
Post: #52
As far as I know, you can only use it with the external receiver.

To install it, take a look at this page: http://forum.xbmc.org/showthread.php?tid=91620&page=2
find quote
andlinux Offline
Junior Member
Posts: 38
Joined: Feb 2011
Reputation: 0
Post: #53
Larry_Lobster Wrote:Ok, I finally solved the problem that my S1-AT5NM10E doesn't go to Suspend/Hibernate mode...

for those of you who are interested in the solution (Ubuntu Maverick):
You have to put xhci_hcd onto the blacklist.

Create the file /etc/pm/config.d/unload_modules (if it doesn't exist) and add this:
PHP Code:
SUSPEND_MODULES="$SUSPEND_MODULES xhci_hcd" 

The file has to be executable:
PHP Code:
sudo chmod +/etc/pm/config.d/unload_modules 

Hope this helps...

Kind regards
Larry_Lobster
The last most imported thing wouldn't work and that's going to suspend/hibernate. I tried the thing above but it didn't work for me.

I also tried something else, see link http://wiki.xbmc.org/index.php?title=Ubu...untu_Linux

But with no luck Sad
find quote
Gabzor Offline
Junior Member
Posts: 22
Joined: Feb 2011
Reputation: 0
Post: #54
Can anyone tell me exactly what to do to install LIRC on the S1?

I've followed what's written in http://wiki.xbmc.org/index.php?title=HOW...references
but I first need to install LIRC... which remote control configuration do I have to choose?

I'm on Ubuntu 10.10 64 bits, with xbmc Dharma.

First error I get is when installing lirc:
sudo apt-get install lirc
...
Loading new nct677x-1.0.4 DKMS files...
First Installation: checking all kernels...
Building only for 2.6.35-27-generic
Building for architecture x86_64
Building initial module for 2.6.35-27-generic

Error! Bad return status for module build on kernel: 2.6.35-27-generic (x86_64)
...
(This post was last modified: 2011-03-07 21:42 by Gabzor.)
find quote
Gabzor Offline
Junior Member
Posts: 22
Joined: Feb 2011
Reputation: 0
Post: #55
I managed to make it work using the good files for 64 bits ubuntu.

I also have the problem about it not working after a reboot, so I tried this:
http://forum.xbmc.org/showpost.php?p=713...stcount=41

but it didn't work.

After some testing, I managed to make it work after a reboot by adding in /etc/rc.local:
Quote:sed -e 's/^FORCE_NONINTERACTIVE_RECONFIGURATION="false"$/FORCE_NONINTERACTIVE_RECONFIGURATION="true"/' /etc/lirc/hardware.conf > /tmp/h.conf
chmod +x /tmp/h.conf
mv /tmp/h.conf /etc/lirc/hardware.conf
dpkg-reconfigure lirc
/etc/init.d/lirc stop
modprobe -r lirc_wb677
modprobe lirc_wb677
find quote
marnix Offline
Junior Member
Posts: 1
Joined: Mar 2011
Reputation: 0
Post: #56
LIRC didn't seem to work with my setup (Harmony 300i). XBMCFreak 10.1 Lucid livecd has ASRock ion330 remote support, so I thought it would've worked right away...

dmesg | grep -i lirc gave version disagreements and the daemon didn't work.

Fortunately a site on the ion 330 HT did provide the solution. Might anyone have a similar problem, here's the link:
(http://doityourselfhtpc.com/2010/12/22/a...xbmc-live/).
find quote
jbierste Offline
Junior Member
Posts: 1
Joined: Mar 2011
Reputation: 0
Post: #57
Perfect! I added the lines in the rc.local, and now after a reboot my Harmony 600 works like a charm.

I did had some response problems with the harmony (either to slow, or way to fast). I now have setup the harmony as an ASRock ION 330HT in the Harmony software, and now the response is perfect! No need for an external IR receiver!
find quote
stefanvh Offline
Junior Member
Posts: 1
Joined: Aug 2011
Reputation: 0
Post: #58
Hi,

Thanks for all the useful information in here.

I've successfully managed to get the IR to work on the asus s1, but noticed something that doesn't seem 'right'.

When the rc.local file only contains the exit statement, it's possible to enter terminal using ctrl+alt+f1.

After the lirc reconfiguration statements, this is no longer the case. I now have to use ctrl+alt+f2.

Any idea why this is?

Oh, and I cannot get the hibernate to work either. It apparently tries, as the screen goes blank for a few seconds before showing XBMC again.

Thanks,
Stefan

p.s normal shutdown works fine except for the high frequency noise i'm hearing (perhaps i should live with that until i'm older and can't hear as well Smile)
find quote
esa66 Offline
Junior Member
Posts: 2
Joined: Sep 2011
Reputation: 0
Location: Belgium
Post: #59
Hi,
I read some post to know how to configure the ASUS S1 and his CIR chips : nuvoton W83667HG.
But, without result. That's why i ask your help.

http://old.nabble.com/Running-LIRC-on-As...94i20.html

What I finally understand, is that the drivers in the Kernel don't support this chips but well the new one : W83677HG.

Finally, I don't understand if there is a patch to make the old chips working ?
I seems there is a new version , but I don't know if it is implemented in my Linux version ?
In this case, is it possible to have the sources to place above /usr/src/linux/drivers/media/rc/
I don't know if it is possible to recompile only the modules ?

My Gentoo Kernel :
Quote:uname -r => 2.6.39-gentoo-r3

What is the procedure to make this working ?
  • I don't understand what I must enable in the BIOS.
  • I don't understand what I must set in the file /etc/conf.d/lirc

My actual setting in the BIOS
Quote:#egrep "LIRC|CONFIG_IR" .config
CONFIG_IRQ_WORK=y
CONFIG_IRQ_FORCED_THREADING=y
# CONFIG_IRQ_TIME_ACCOUNTING is not set
# CONFIG_IRDA is not set
CONFIG_LIRC=m
CONFIG_IR_NEC_DECODER=m
CONFIG_IR_RC5_DECODER=m
CONFIG_IR_RC6_DECODER=m
CONFIG_IR_JVC_DECODER=m
CONFIG_IR_SONY_DECODER=m
CONFIG_IR_RC5_SZ_DECODER=m
CONFIG_IR_LIRC_CODEC=m
# CONFIG_IR_ENE is not set
# CONFIG_IR_IMON is not set
# CONFIG_IR_MCEUSB is not set
# CONFIG_IR_ITE_CIR is not set
CONFIG_IR_NUVOTON=m
# CONFIG_IR_STREAMZAP is not set
# CONFIG_IR_WINBOND_CIR is not set
# CONFIG_LIRC_STAGING is not set
# CONFIG_IRQSOFF_TRACER is not set

Driver is loaded :
Quote:lsmod | grep ir
ir_lirc_codec 3215 0
lirc_dev 6717 1 ir_lirc_codec
ir_sony_decoder 1587 0
ir_jvc_decoder 1673 0
ir_rc6_decoder 1981 0
ir_rc5_decoder 1553 0
ir_nec_decoder 2017 0
nuvoton_cir 10814 0
rc_core 10917 7 ir_lirc_codec,ir_sony_decoder,ir_jvc_decoder,ir_rc6_decoder,ir_rc5_decoder,ir_ne​c_decoder,nuvoton_cir

But, drivers generate a error when detecting the chips and thus, I don't understand if the driver is working ?? :
Quote:# dmesg | grep cir
[ 5.585537] nuvoton_cir: w836x7hg: unsupported chip, id: 0xa5 0x13
[ 5.585716] nuvoton-cir 00:0a: disabled

Following the Drivers info, this driver must work with the two chips 667 && 677 :
Quote:# modinfo nuvoton_cir
filename: /lib/modules/2.6.39-gentoo-r3/kernel/drivers/media/rc/nuvoton-cir.ko
license: GPL
author: Jarod Wilson <jarod@redhat.com>
description: Nuvoton W83667HG-A & W83677HG-I CIR driver
alias: acpi*:NTN0530:*
alias: pnp:dNTN0530*
alias: acpi*:WEC0530:*
alias: pnp:dWEC0530*
depends: rc-core
vermagic: 2.6.39-gentoo-r3 SMP mod_unload 686
parm: debug:Enable debugging output (int)

LIRC use flag :
Quote:qlist -IUv lirc
app-misc/lirc-0.9.0 (X kernel_linux lirc_devices_devinput)

My BIOS :
Quote:dmidecode | grep BIOS
SMBIOS 2.6 present.
BIOS Information
BIOS is upgradeable
BIOS shadowing is allowed
BIOS ROM is socketed
BIOS boot specification is supported
BIOS Revision: 8.14
BIOS Language Information


cat /proc/bus/input/devices don't give a Phys adress => I don't know if it will work by setting the event without having this Phys Adress ?
Quote:I: Bus=0019 Vendor=1050 Product=00a5 Version=0013
N: Name="Nuvoton w836x7hg Infrared Remote Transceiver"
P: Phys=
S: Sysfs=/devices/virtual/rc/rc1/input6
U: Uniq=
H: Handlers=kbd event5
B: PROP=0
B: EV=100013
B: KEY=fff 0 0 200 108fc326 2376051 0 0 0 7 158000 4192 1 209e9680 0 0 10000000
B: MSC=10

I'm on Funtoo (Gentoo) Linux.

Thanks for your support.
(This post was last modified: 2011-10-24 10:11 by esa66.)
find quote
Post Reply