Archive talk:Install Ubuntu and XBMC on Asus EeeBox PC EB1501: Difference between revisions

From Official Kodi Wiki
Jump to navigation Jump to search
>Gamester17
>Call-151
Line 6: Line 6:
There seem to be some specifics with this version of the eeeBox. There was no any MCE USB IR Receiver packaged, instead there was a notice that states:
There seem to be some specifics with this version of the eeeBox. There was no any MCE USB IR Receiver packaged, instead there was a notice that states:


:This is weird, I bought mine @ pcp.ch and is the same as you get over there, but mine came with an external receiver...
::Mines from Amazon, ordered 14 Jan. 2010, the packaging states it being Model "EB1501-B0207, BLACK WR Keyboard Mouse, Remote Control". I wish there was a external receiver, would have been so much easier.
"The EeeBox PC has a built-in IR receiver designed for the remote control. When you install the EeeBox PC to the back of the monitor and thus block the IR receiver, the remote control may be less sensitive. The USB IR receiver is not included in the product package."
"The EeeBox PC has a built-in IR receiver designed for the remote control. When you install the EeeBox PC to the back of the monitor and thus block the IR receiver, the remote control may be less sensitive. The USB IR receiver is not included in the product package."
Also if call
xbmc:$ cat /proc/bus/input/devices
these are the only lines available with no USB devices attached:
I: Bus=0019 Vendor=0000 Product=0001 Version=0000
N: Name="Power Button"
P: Phys=LNXPWRBN/button/input0
S: Sysfs=/devices/LNXSYSTM:00/LNXPWRBN:00/input/input0
U: Uniq=
H: Handlers=kbd event0
B: EV=3
B: KEY=100000 0 0 0
I: Bus=0019 Vendor=0000 Product=0001 Version=0000
N: Name="Power Button"
P: Phys=PNP0C0C/button/input0
S: Sysfs=/devices/LNXSYSTM:00/device:00/PNP0C0C:00/input/input1
U: Uniq=
H: Handlers=kbd event1
B: EV=3
B: KEY=100000 0 0 0
I: Bus=0017 Vendor=0001 Product=0001 Version=0100
N: Name="Macintosh mouse button emulation"
P: Phys=
S: Sysfs=/devices/virtual/input/input2
U: Uniq=
H: Handlers=mouse0 event2
B: EV=7
B: KEY=70000 0 0 0 0 0 0 0 0
B: REL=3
I: Bus=0001 Vendor=10ec Product=0662 Version=0001
N: Name="HDA Digital PCBeep"
P: Phys=card0/codec#0/beep0
S: Sysfs=/devices/pci0000:00/0000:00:08.0/input/input5
U: Uniq=
H: Handlers=kbd event5
B: EV=40001
B: SND=6
If i start Windows and look through the device manager, this is the only unknown component, having the following information:
PCI\VEN_10DE&DEV_0AAD&SUBSYS_83E91043&REV_B2\3&267a616a&0&18
ACPI\ITE8713
Right now i have no clue how to enable the onboard IR receiver on Ubuntu (in Windows i got it working). The remote control is the same.
take a look here :
http://forum.xbmc.org/showthread.php?t=47651
http://forum.ubuntuusers.de/topic/xbmc-auf-pundit-p4p5n9300-und-lirc/
: Yes thanks, i posted in the pundit thread, maybe it helps finding a solution. There is not much information about lirc and the ITE8713 chip except this thread.
Maybe that will help you...
sudo lshal
lists the IR receiver as
udi = '/org/freedesktop/Hal/devices/pnp_ITE8713'
  info.parent = '/org/freedesktop/Hal/devices/computer'  (string)
  info.product = 'PnP Device (ITE8713)'  (string)
  info.subsystem = 'pnp'  (string)
  info.udi = '/org/freedesktop/Hal/devices/pnp_ITE8713'  (string)
  linux.hotplug_type = 2  (0x2)  (int)
  linux.subsystem = 'pnp'  (string)
  linux.sysfs_path = '/sys/devices/pnp0/00:09'  (string)
  pnp.id = 'ITE8713'  (string)
Tried to change IRQ/IO ports, looking in
sudo cat /sys/devices/pnp0/00:09/options
giving me
Dependent: 00 - Priority acceptable
  port 0x2f8-0x2f8, align 0x7, size 0x8, 16-bit address decoding
  irq 3,4,5,6,7,2/9,10,11,12 High-Edge
so I created a
sudo vi /etc/modprobe.d/lirc.conf
with the content
options lirc_it87 irq=7 io=0x2F8
and lirc seems to use the correct settings after a reboot doing
dmesg | grep lirc
responding with
[    7.859740] lirc_dev: IR Remote Control driver registered, major 61
[    8.101867] lirc_dev: lirc_register_driver: sample_rate: 0
[    8.102035] lirc_it87: found IT8720.
[    8.102065] lirc_it87: set default io 0x2f8
[    8.102095] lirc_it87: set default irq 0x7
[    8.102153] lirc_it87: I/O port 0x02f8, IRQ 7.
[    8.102183] lirc_it87: Installed.
but
mode2 -d /dev/lirc0
gives me nothing when entering stuff on the remote (/dev/lirc0 exists), same with irw.
Thats the point where i gave up, not that much of a linux crack. This try based on the only guide i found with another ASUS product using the ITE stuff, see [http://forum.xbmc.org/showthread.php?t=47651 here]


=== Notes to get build-in receiver to work with the remote control ===
=== Notes to get build-in receiver to work with the remote control ===

Revision as of 19:16, 29 January 2010

EB1501 German / Asian Edition

System: Linux HTPC 2.6.31-17-generic #54-Ubuntu SMP Thu Dec 10 16:20:31 UTC 2009 i686 GNU/Linux Remote (see battery slots): RC1974502/00

No MCE USB IR Receiver

There seem to be some specifics with this version of the eeeBox. There was no any MCE USB IR Receiver packaged, instead there was a notice that states:

"The EeeBox PC has a built-in IR receiver designed for the remote control. When you install the EeeBox PC to the back of the monitor and thus block the IR receiver, the remote control may be less sensitive. The USB IR receiver is not included in the product package."

Notes to get build-in receiver to work with the remote control

1) rebuild the ITE modules

sudo apt-get install lirc lirc-modules-source module-assistant
sudo dpkg-reconfigure lirc-modules-source

2) edit the following lines in /etc/hardware/hardware.conf

REMOTE_MODULES="lirc_dev lirc_it87"
REMOTE_DEVICE="/dev/lirc0"
REMOTE_LIRCD_CONF="mceusb/lircd.conf.mceusb"
REMOTE_LIRCD_ARGS="--output=/dev/lircd"
LOAD_MODULES="true"

START_LIRCD="true"

3) create /etc/modprobe.d/lirc.conf and add the two lines

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


4) add a start-up script to activate the receiver (as suggested by amno6)

i) place the script start_ite8713.sh at somewhere convenient, /home/xbmc

#!/bin/bash
/etc/init.d/lirc stop
rmmod lirc_it87
echo activate > /sys/devices/pnp0/00:09/resources
modprobe lirc_it87
/etc/init.d/lirc start

ii) activate the script at startup. edit /etc/rc.local and add

/bin/sh /home/xbmc/start_ite8713.sh 

5) you may need to copy the LIRC over to the XBMC directory

cp /usr/share/xbmc/system/Lircmap.xml ~/.xbmc/userdata

Startup error

On startup i got the following error message:

nforce2_smbus [...] conflichts with ACPI [...]

I got it fixed by

sudo vi /etc/default/grub

and editing the GRUB_CMDLINE_LINUX according to this bugreport

GRUB_CMDLINE_LINUX="acpi_enforce_resources=lax"

and update the grub again with

sudo update-grub


Guide conflicts

The following item could not be executed

xbmc@HTPC:~$ sudo nvidia-xconfig -s --no-logo --force-generate --output-xconfig=/etc/X11/xorg.conf

The following error message came up

pkg-config: not found

had to install it first with

sudo apt-get install pkg-config

Maybe i misread something in the guide?

Yea, I changed the section before it reads now:

xbmc:$ sudo apt-get install nvidia-glx-195 nvidia-settings mesa-utils libvdpau1 libvdpau-dev vdpauinfo pkg-config

You need libvdpau1 to get 1080p working 100% as well as pkg-config, but thats now included in the above section.

And the line

vi /etc/default/console-setup

is missing the precending "sudo" right?

Yes, that is correct - updated the main page