Xbox DVD Remote/Dongle... C'mon!
#1
I had the Xbox DVD Remote/Dongle working with the current stable release (9.04) & Alpha 1, but since Alpha 2 & Beta 1 I can't get it working.

Here's what I've been doing to get it work in previous releases.

Use putty.exe to set root password

Ftp to system (loggin in as root), and replace hardware.conf, lircd.conf, lircmd.conf in /etc/lirc folder, and then replacing the blacklist.conf file in the modprob.d folder.

I was able to do this just fine and dandy through multiple installations of 9.04 & alpha 1, but since alpha 2 & beta 1, all I get is failure.

I have an ASRock 330, a Super Joy Box 10 (Xbox->PC USB adapter), to which I have the Xbox DVD dongle plugged in..

Can someone tell me what I'm doing wrong, or how to do it right? I'm pulling my hair out here

Smile
Reply
#2
post some info..

from putty type lsusb and see if you have the dongle listed there, if so do type irw and press some buttons on the remote, then you should see som remote codes.

(you might need to sudo lsusb and sudo irw)
Reply
#3
typed in "lsusb", looks okay?

Quote:Bus 002 Device 004: ID 045e:0284 Microsoft Corp. Xbox DVD Playback Kit
Bus 002 Device 003: ID 045e:009d Microsoft Corp.
Bus 002 Device 002: ID 05e3:0604 Genesys Logic, Inc. USB 1.1 Hub
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 004: ID 0930:6545 Toshiba Corp. Kingston DataTraveler 2.0 Stick (4GB) / PNY Attache 4GB Stick

then i type in "irw" and...

Quote:root@XBMCLive:~# irw
connect: No such file or directory

then "sudo irw"

Quote:root@XBMCLive:~# sudo irw
connect: No such file or directory
root@XBMCLive:~#

Thank you for your help, oh merciful xbmc god :-)
Reply
#4
The irw included in Karmic seems to have changed its default input file.
Try this:
Code:
irw /dev/lircd
You should see remote codes when you press any buttons.

If you don't, try
Code:
lsmod
to list all the loaded kernel modules (drivers). There should be one line containing MCE or MCE v2.

Finally, type
Code:
ps aux | grep lircd
to check if the lirc daemon is running.
Reply
#5
same problem here.. i've actualy installed beta1 from cd (finally! alpha2 doesn't work), but XBOX IR Dongle doesn't work..

irw doesn't read any code from remote, maybe because lircd is configured for MCE that use different codes

could anyone paste all config file necessary for XBOX IR DONGLE/REMOTE?

Thanks Smile
Reply
#6
stich86 Wrote:same problem here.. i've actualy installed beta1 from cd (finally! alpha2 doesn't work), but XBOX IR Dongle doesn't work..

irw doesn't read any code from remote, maybe because lircd is configured for MCE that use different codes

could anyone paste all config file necessary for XBOX IR DONGLE/REMOTE?

Thanks Smile

I just follow this guide http://www.opensourceeffects.net/OSE/node/4
However I also find I have to add "blacklist xpad" in /etc/modprobe.d/blacklist.conf and reboot.
This worked for me on Alpha 2 and beta1 via alpha2 upgrade.
Reply
#7
Will try this when I get home and let you fellas know. *fingers crossed*
Reply
#8
sigh... here are the results..

irw /dev/lircd

Code:
root@XBMCLive:/# irw /dev/lircd
connect: No such file or directory

but i noticed there was a lirc0 folder, so i tried that one instead..

irw /dev/lirc0

Code:
root@XBMCLive:/# irw /dev/lirc0
connect: Connection refused

--------------

next up, lsmod

Code:
root@XBMCLive:/# lsmod
Module                  Size  Used by
snd_hda_codec_nvhdmi     4828  1
snd_hda_codec_via      28988  1
dm_crypt               12928  0
snd_hda_intel          26920  2
snd_hda_codec          75708  3 snd_hda_codec_nvhdmi,snd_hda_codec_via,snd_hda_i                                                             ntel
snd_hwdep               7200  1 snd_hda_codec
snd_pcm_oss            37920  0
snd_mixer_oss          16028  1 snd_pcm_oss
snd_pcm                75296  4 snd_hda_intel,snd_hda_codec,snd_pcm_oss
snd_seq_dummy           2656  0
lp                      8964  0
snd_seq_oss            28576  0
xpad                   10340  0
led_class               4096  1 xpad
nvidia               8873924  38
ff_memless              5188  1 xpad
lirc_atiusb            16284  0
snd_seq_midi            6432  0
lirc_dev               10804  1 lirc_atiusb
snd_rawmidi            22208  1 snd_seq_midi
snd_seq_midi_event      6940  2 snd_seq_oss,snd_seq_midi
snd_seq                50224  6 snd_seq_dummy,snd_seq_oss,snd_seq_midi,snd_seq_m                                                             idi_event
snd_timer              22276  2 snd_pcm,snd_seq
pcspkr                  2332  0
i2c_nforce2             6784  0
snd_seq_device          6920  5 snd_seq_dummy,snd_seq_oss,snd_seq_midi,snd_rawmi                                                             di,snd_seq
psmouse                56500  0
snd                    59204  14 snd_hda_intel,snd_hda_codec,snd_hwdep,snd_pcm_o                                                             ss,snd_mixer_oss,snd_pcm,snd_seq_oss,snd_rawmidi,snd_seq,snd_timer,snd_seq_devic                                                             e
serio_raw               5280  0
joydev                 10272  1
soundcore               7264  1 snd
agpgart                34988  1 nvidia
shpchp                 32272  0
snd_page_alloc          9156  2 snd_hda_intel,snd_pcm
parport                35340  1 lp
hid_microsoft           3328  0
usbhid                 38208  0
usb_storage            52576  1
forcedeth              54152  0

nothing for mce or mce v2, hmmm?

----------------------
and now i try ps aux | grep lircd

Code:
root@XBMCLive:/# ps aux | grep lircd
root      3693  0.0  0.0   3036   772 pts/0    S+   18:32   0:00 grep lircd

still not working :-( --- sad panda
Reply
#9
Don't give up yet.

I thought the Xbox DVD Remote was a genuine MCE remote, but apparently it isn't. I have no personal experience with it, but you might try this:

Firstly, you need to disable the xpad module:

Code:
sudo nano /etc/modprobe.d/blacklist.conf

Add the following line:
Code:
blacklist xpad

The remote is handled be the atiusb lirc module, which appears on your lsmod output, so that should be ok.

You also wrote that you replaced hardware.conf and lircd.conf, so I'm going to assume they are ok, too.
Check if /etc/lirc/hardware.conf contains the line

Code:
START_LIRCD="true"

Reboot to make sure the xpad module is unloaded.

If you still do not get any input with irw /dev/lirc0, post the output of

Code:
grep lirc /var/log/daemon.log
Reply
#10
/etc/modprobe.d/blacklist.conf

Code:
# This file lists those modules which we don't want to be loaded by
# alias expansion, usually so some other driver will be loaded for the
# device instead.

# evbug is a debug tool that should be loaded explicitly
blacklist evbug

# these drivers are very simple, the HID drivers are usually preferred
blacklist usbmouse
blacklist usbkbd

# replaced by e100
blacklist eepro100

# replaced by tulip
blacklist de4x5

# causes no end of confusion by creating unexpected network interfaces
blacklist eth1394

# snd_intel8x0m can interfere with snd_intel8x0, doesn't seem to support much
# hardware on its own (Ubuntu bug #2011, #6810)
blacklist snd_intel8x0m

# Conflicts with dvb driver (which is better for handling this device)
blacklist snd_aw2

# causes failure to suspend on HP compaq nc6000 (Ubuntu: #10306)
blacklist i2c_i801

# replaced by p54pci
blacklist prism54

# replaced by b43 and ssb.
blacklist bcm43xx

# most apps now use garmin usb driver directly (Ubuntu: #114565)
blacklist garmin_gps

# replaced by asus-laptop (Ubuntu: #184721)
blacklist asus_acpi

# low-quality, just noise when being used for sound playback, causes
# hangs at desktop session start (Ubuntu: #246969)
blacklist snd_pcsp

# EDAC driver for amd76x clashes with the agp driver preventing the aperture
# from being initialised (Ubuntu: #297750). Blacklist so that the driver
# continues to build and is installable for the few cases where its
# really needed.
blacklist amd76x_edac



blacklist xpad

------------------------------------------------

/etc/lirc/hardware.conf

Code:
# /etc/lirc/hardware.conf
#
# Arguments which will be used when launching lircd
LIRCD_ARGS=""

#Don't start lircmd even if there seems to be a good config file
#START_LIRCMD=false

#Try to load appropriate kernel modules
LOAD_MODULES=true

# Run "lircd --driver=help" for a list of supported drivers.
DRIVER=""
# If DEVICE is set to /dev/lirc and devfs is in use /dev/lirc/0 will be
# automatically used instead
DEVICE="/dev/lirc0"
MODULES="lirc_atiusb lirc_dev lirc_i2c"

# Default configuration files for your hardware if any
LIRCD_CONF="/etc/lirc/lircd.conf"
LIRCMD_CONF=""
# /etc/lirc/hardware.conf

START_LIRCD="true"

------------------------------------------------

/etc/lirc/lircd.conf

Code:
begin remote

    name  XboxDVDDongle
    bits           8

    begin codes

        SELECT         0x0b
        UP             0xa6
        DOWN           0xa7
        RIGHT          0xa8
        LEFT           0xa9
        INFO           0xc3
        9              0xc6
        8              0xc7
        7              0xc8
        6              0xc9
        5              0xca
        4              0xcb
        3              0xcc
        2              0xcd
        1              0xce
        0              0xcf
        DISPLAY        0xd5
        BACK           0xd8
        SKIP-          0xdd
        SKIP+          0xdf
        STOP           0xe0
        REVERSE        0xe2
        FORWARD        0xe3
        TITLE          0xe5
        PAUSE          0xe6
        PLAY           0xea
        MENU           0xf7

    end codes
end remote

------------------------------------------------

grep lirc /var/log/daemon.log

Code:
root@XBMCLive:~# grep lirc /var/log/daemon.log
Nov 25 09:14:18 XBMCLive lircd-0.8.6[804]: lircd(default) ready, using /var/run/                            lirc/lircd
Nov 25 19:44:34 XBMCLive lircd-0.8.6[804]: accepted new client on /var/run/lirc/                            lircd
Nov 25 19:47:12 XBMCLive lircd-0.8.6[804]: reading in mode LIRC_MODE_LIRCCODE fa                            iled
Nov 25 19:47:12 XBMCLive lircd-0.8.6[804]: caught signal
Nov 25 19:47:21 XBMCLive lircd-0.8.6[1716]: lircd(default) ready, using /var/run                            /lirc/lircd
Nov 25 19:47:38 XBMCLive lircd-0.8.6[1716]: accepted new client on /var/run/lirc                            /lircd
Nov 25 19:52:28 XBMCLive lircd-0.8.6[1716]: reading in mode LIRC_MODE_LIRCCODE f                            ailed
Nov 25 19:52:28 XBMCLive lircd-0.8.6[1716]: caught signal
Nov 25 19:52:31 XBMCLive lircd-0.8.6[1823]: lircd(default) ready, using /var/run                            /lirc/lircd
Nov 25 19:52:38 XBMCLive lircd-0.8.6[1823]: accepted new client on /var/run/lirc                            /lircd
Nov 25 19:52:39 XBMCLive lircd-0.8.6[1823]: reading in mode LIRC_MODE_LIRCCODE f                            ailed
Nov 25 19:52:39 XBMCLive lircd-0.8.6[1823]: caught signal
Nov 25 19:53:04 XBMCLive lircd-0.8.6[1864]: lircd(default) ready, using /var/run                            /lirc/lircd
Nov 25 19:53:13 XBMCLive lircd-0.8.6[1864]: accepted new client on /var/run/lirc                            /lircd

I've rebooted, checked the batteries in the remote, tried my original xbox remote (and a harmony that is programmed to work), tried a different dongle, made sure the usb port was plugged in..

If anyone has anymore advice, I'm all ears :-)
Reply
#11
It doesn't look like lircd is running, right?

I had almost the exact same issue as you. After upgrading to beta 1, i copied over all my old config files and blacklist file. No remote at all.

Type sudo lircd from a prompt and see what happens. My init.d/lircd ended up needing some tweaking.
Reply
#12
nope, doesn't look like it is running...


Code:
root@XBMCLive:~# sudo lircd
lircd: can't open or create /var/run/lirc/lircd.pid
lircd: No such file or directory
root@XBMCLive:~# lircd
lircd: can't open or create /var/run/lirc/lircd.pid
lircd: No such file or directory

doesn't even look like I have lirc in the location it shows...

Image

anyone have any ideas what's going on here?

here's what i've done from start to finish..

format 8gb usb drive, burn beta 1 to a cd-rw, pop it in my ASRock, install, use putty.exe to set root password, ftp in and replaced hardware.conf, lircd.conf & blacklist.conf files.. and of course reboot and check.. but it doesn't appear to be working.. should I be "upgrading" or something, is that even possible, does it matter?
Reply
#13
I think this might help fix your problem.

http://forum.xbmc.org/showpost.php?p=403...stcount=13

Here is a guy who posts some actual code.

http://forum.xbmc.org/showpost.php?p=442956&postcount=6

What is the result of ls -al /dev/l*
Reply
#14
I followed this guide (Re-installed LIRC) and it's working on my Alpha 2.

http://forum.xbmc.org/showpost.php?p=256595&postcount=7

Now it didn't work initially, but during the reboot, LIRC failed and it installed something itself! All is sweet!
Reply
#15
I've tried it all.. including a new install of xbmc live beta 2.. not working for anything... i think i'm gonna give up for a while and just resign myself to using the keyboard.. maybe when the next stable release is out i'll give it another whirl.. i've spent too many hours trying to get this working.. i do appreciate all the help everyone has provided attempting to get this working.
Reply

Logout Mark Read Team Forum Stats Members Help
Xbox DVD Remote/Dongle... C'mon!0