ASUS Eee Box EB1501 (+ alternative 1501 models EB1501U and EB1501P) discussion thread

  Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
Camelen Offline
Junior Member
Posts: 10
Joined: Oct 2010
Reputation: 0
Post: #111
To be honest, I installed Win 7 and XBMC. I'm quite the Linux-newbie though I'm pretty good with computers which made me come as far as I did.

I did grab the IRQ from pnp resources and I did rewrite lirc.conf. Not in the same manner as you wrote but I tried rewrite it BEFORE lirc initiated.

Just after echo > activate

The reason I thought that it should have worked was:
When I did the bashscript but grabbed the wrong stuff,

i.e. made it say
irq=

then LIRC wouldn't even initiate but give an error.
However when I did grab the correct IRQ

irq=11

then LIRC would initiate as it should have, though keep irq=5 even though it didn't say so in lirc.conf or pnp resources.

Might have worked with a sleep after the bash-script but I'm sceptical.

Last it DID work when pnp resources said irq=5.

I asked a friend of mine who works with linux/unix a lot, he forwarded my question to some guys he know who supposedly are pretty good with inbuilt hardware and linux (my friend is better at connected hardware, i.e. USB etc)

The answer he got from them was:

"Things which need IRQ suck, buy something else".

Which kinda made me a bit hopeless that me, as a total linux newbie, would solve the problem.

The only thing I don't like with win7 and xbmc is that it's a bit slower. However the IR-remote works perfectly, S3 suspend works perfectly and it was very easy to integrate Spotify and Youtube/Browser in it. (minimizing XBMC and starting spotify or a browser).

Thought let me know if you succeed.

John
(This post was last modified: 2010-10-29 12:29 by Camelen.)
find quote
pjakesson Offline
Member+
Posts: 36
Joined: Oct 2010
Reputation: 0
Post: #112
Thanks John, for taking the time of answering me.

Camelen Wrote:"Things which need IRQ suck, buy something else".

That sounds depressing, if Linux h/w gurus says so.

In fact I haven't tried yours or mine workaround yet,
because, fingers crossed, the IRQ has stayed stable on 11
during at least 10 reboots.

Camelen Wrote:S3 suspend works perfectly

So you had problems in XBMC with suspend ?
I have, ASUS immediately wakes up for me,
same for you ?

My first priority with the ASUS EeeBox was to
run Windows 7 and Windows Media Center with
MediaBrowser plugin. But due to audio/video sync
problems with CoreAVC and 1080p mkv's I tried
the Linux/XBMC route and I am impressed with its
capacity. But on the TV couch you need to have the
remote working 100% (otherwise low WAF points).

Perhaps I'll do as you, run XBMC on Windows
to have suspend and remote working.

regards

Per
find quote
poofyhairguy Offline
Resident Hardware Guru
Posts: 2,954
Joined: Apr 2010
Reputation: 49
Post: #113
pjakesson Wrote:But on the TV couch you need to have the
remote working 100% (otherwise low WAF points).

XBMC Live rocks for remote support. Add the right IR receiver and get a Windows Media Center remote and it plug and play works out of the box.

It is only hard if you buy the wrong stuff then try to get it to work....

Mini/Micro ITX Frontend (with SSD) + Mediaserver/NAS + Logitech Harmony + LCD/LED/Plasma TV + Nice AV Receiver + XBMC + USENET + sabnzbd + sickbeard +couchpotato

My Setup--HTPC Building Guide- Start Here--Advice on Hard Drives and SSDs--Mediaserver Guide--Harmony Guide
find quote
Camelen Offline
Junior Member
Posts: 10
Joined: Oct 2010
Reputation: 0
Post: #114
Suspend works, however the remote doesn't wake up after it.

Not at IRQ5 either!
find quote
senilio Offline
Junior Member
Posts: 8
Joined: Oct 2010
Reputation: 0
Lightbulb  Script to rewrite lirc.conf (EeeBox EB1501p) Post: #115
Hey,

I've been following this thread after experiencing similar problems with the IR device getting IRQ 5 one time and IRQ 11 the next, so today I had a go at a script to rewrite /etc/modprobe.d/lirc.conf at boot time.

Disclaimer: I know it's not the most beautiful thing, but it does what it's supposed to Smile

First, i created a lirc.template:

* /root/lirc.template

alias char-major-61 lirc_dev
options lirc_it87 irq=GETIRQ io=0x2f8


Next I modified the "start_ite8713.sh" script found in a guide.

* /root/start_ite8713.sh

#!/bin/bash
# Asus EeeBox EB1501P IR IRQ script
echo activate > /sys/devices/pnp0/00:0a/resources
sleep .2
NEWIRQ=$(grep ^irq /sys/devices/pnp0/00:0a/resources|cut -d' ' -f2)
TEMPLATE=/root/lirc.template
TARGET=/etc/modprobe.d/lirc.conf
cat $TEMPLATE | sed 's/GETIRQ/'$NEWIRQ'/g' >$TARGET
/etc/init.d/lirc stop
rmmod lirc_it87
echo activate > /sys/devices/pnp0/00:0a/resources
modprobe lirc_it87
/etc/init.d/lirc start


Next, I remove lirc from autostarting, since we are using rc.local:

update-rc.d lirc disable

And finally...

* /etc/rc.local

/bin/sh /root/start_ite8713.sh
echo USB0>/proc/acpi/wakeup
exit 0

My IR reciever now works regardless of what IRQ it's getting. Power off and on from remote also works! Please let me know if it's working for you as well.

Best regards, senilio
find quote
pjakesson Offline
Member+
Posts: 36
Joined: Oct 2010
Reputation: 0
Post: #116
senilio Wrote:NEWIRQ=$(grep ^irq /sys/devices/pnp0/00:0a/resources|cut -d' ' -f2)

Clever work senilio,
I had something like this (ugly) command in my mind

IRQ=`sed -n 's/[^0-9]*\([0-9]*\):.*lirc_it87/\1/p' /proc/interrupts`



senilio Wrote:echo USB0>/proc/acpi/wakeup

So this makes the remote suspend functions
to work ?


I have (temporarily ?) abandoned the XBMC Live
route. Instead I'm running XBMC Dharma beta 3 on
Windows, with good results.

But your solution is definitely a keeper if I ever
go back to XBMC Live.

Thanks for sharing

Per
(This post was last modified: 2010-10-30 13:26 by pjakesson.)
find quote
tvcasualty Offline
Junior Member
Posts: 1
Joined: Nov 2010
Reputation: 0
Post: #117
Senilio, great job!
I’ve been working on this one for a while now, and thanks to you it now works!
(with one extra step)
Here is what I’m running (maybe it will help others).

Eb1501P w/ internal IR receiver, remote w/ S/N (in battery slot): RC1974502/00
Ubuntu 10.04 (x64) directly from ubuntu.com
XBMC Dharma Beta 4, (also tried Beta 3, Beta 2, and the latest stable C release.) from the SVN

Before I tried your script I was not able to get any response from either irw or sudo mode2 -d /dev/lirc0 However dmesg | grep lirc had shown “lirc_it87: found IT8720” so I knew I was on track.

After applying your instructions mode2 now works for the first time!!
But still no results from irw…

Found this post most helpful:
http://forum.xbmc.org/showpost.php?p=630...stcount=93
my remote lircd.conf file was not correct!
(I grabbed “lircd.conf.mceusb” from a random webpage and did this command)
sudo cp */lircd.conf.mceusb /etc/lirc/lircd.conf

*= whatever directory you may have this conf file
find quote
senilio Offline
Junior Member
Posts: 8
Joined: Oct 2010
Reputation: 0
Post: #118
I should do this again from scratch and write a real guide specifically for the EB1501P. Just gotta find the time Smile

Glad it helped.
find quote
Orio Offline
Junior Member
Posts: 12
Joined: Aug 2009
Reputation: 0
Post: #119
I was following this guide: http://wiki.xbmc.org/index.php?title=HOW...an_Edition
But I still cant get the remote to do anything in XBMC live, fresh install.

Anything changed or have I missed anything?

Also, is it hard to get the wireless working with XBMC Live?
(This post was last modified: 2010-11-05 10:35 by Orio.)
find quote
newphreak Offline
Member+
Posts: 176
Joined: Oct 2010
Reputation: 0
Location: sofa @ Norway
Post: #120
I have an EB1501P, and this is what worked for me on ubuntu 10.4:

sudo nano /etc/lirc/lircd.conf
Code:
include "/usr/share/lirc/remotes/mceusb/lircd.conf.mceusb"

sudo nano /etc/lirc/hardware.conf
Code:
REMOTE="Windows Media Center Remotes (new version Philips et al.)"
REMOTE_MODULES="lirc_dev lirc_it87"
REMOTE_DRIVER=""
REMOTE_DEVICE="/dev/lirc0"
REMOTE_SOCKET=""
REMOTE_LIRCD_CONF="mceusb/lircd.conf.mceusb"
REMOTE_LIRCD_ARGS="--output=/dev/lircd"
TRANSMITTER="None"
TRANSMITTER_MODULES=""
TRANSMITTER_DRIVER=""
TRANSMITTER_DEVICE=""
TRANSMITTER_SOCKET=""
TRANSMITTER_LIRCD_CONF=""
TRANSMITTER_LIRCD_ARGS=""
START_LIRCD="true"
LOAD_MODULES="true"
LIRCMD_CONF=""
FORCE_NONINTERACTIVE_RECONFIGURATION="false"
START_LIRCMD=""

sudo nano /etc/modprobe.d/lirc.conf
Code:
alias char-major-61 lirc_dev
options lirc_it87 irq=5 io=0x2f8
install lirc_it87 echo activate > /sys/devices/pnp0/00:0a/resources ; modprobe --ignore-install lirc_it87 $CMDLINE_OPTS

However, i just installed ubuntu 10.10 (maverick). And this doesnt work there, and ive got no idea how to fix it No
If anybody knows would you be so kind and help me?

Edit:
Seems it's not possible to get it working atm due to a bug.
https://bugs.launchpad.net/ubuntu/+sourc...bug/659449
(This post was last modified: 2010-12-02 22:35 by newphreak.)
find quote
Post Reply