lirc problem with XBMC/Mint & Xbox DVD remote
#1
Having trouble getting an Xbox 1 DVD remote on Linux Mint 10 KDE 32 bit Linux version 2.6.35-22-generic. All updates installed.

Went through the tutorials and haven't had any luck. Been at this on/off for three days.
Can't remember how I got it working last time.

Dongle and remote were working prior to a crash. Did a clean install.
Tested remote and dongle on xbox 1. Works. Tried multiple Hardware configs/lircd.config's and cannot figure out what I'm missing.

xpad and mceusb have been blacklisted.
using the configs from here
lirc is installed with lirc-modules-source
Dongle shows up with kremotecontrol & lsusb
Did sudo dpkg-reconfigure lirc and selected windows (all) and none for remote
Restarted ( alot )
Copy and pasted every hardware config I can find on the site and get errors
about kernel modules being unable to load. Fixed by setting to false ( is that right?)
haven't got anything to show with irw

When I do a lsmod | grep lirc I get
ir_lirc_codec 3092 0
ir_core 14654 7 ir_lirc_codec,ir_sony_decoder,ir_jvc_decoder,ir_rc6_decoder,ir_rc5_decoder,ir_nec_decoder,mceusb
lirc_dev 9393 1 ir_lirc_codec

Or with lsmod | grep lirc it would only show one thing:
lirc_dev (I think)

What am I missing, any ideas?
Shipping this to my aunt so she has something to watch while
recovering from surgery. Need to get the remote working for her.
Thank you for any help.
Reply
#2
What happens when you do the following:

1. Remove the IR dongle

2. Run this:

Code:
sudo rmmod xpad
sudo modprobe lirc_dev
sudo modprobe lirc_atiusb

3. plug in the dongle, run irw
Reply
#3
japher Wrote:What happens when you do the following:

1. Remove the IR dongle

2. Run this:

Code:
sudo rmmod xpad
sudo modprobe lirc_dev
sudo modprobe lirc_atiusb

3. plug in the dongle, run irw

Removed IR dongle

sudo rmmod xpad
ERROR: Module xpad does not exist in /proc/modules

sudo modprobe lirc_dev
Nothing, no output

sudo modprobe lirc_atiusb
FATAL: Module lirc_atiusb not found.

Plugged back in, ran irw. Same nothing pops up.
Using the same Config's from first post.
Reply
#4
I believe lirc-modules-source should include lirc_atiusb. This is the module you need to use this remote so I'm pretty sure this is your problem. If you look at the 'REMOTE_MODULES' line in your config, you'll see that two modules are needed: lirc_dev AND lirc_atiusb.

What happens if you remove then re-add the lirc-modules-source package? What output do you get when installing?
Reply
#5
japher Wrote:I believe lirc-modules-source should include lirc_atiusb. This is the module you need to use this remote so I'm pretty sure this is your problem. If you look at the 'REMOTE_MODULES' line in your config, you'll see that two modules are needed: lirc_dev AND lirc_atiusb.

What happens if you remove then re-add the lirc-modules-source package? What output do you get when installing?


I removed lirc-modules-source and did a reinstall. Got this:
Module build for the currently running kernel was skipped since the
kernel source for this kernel does not seem to be installed.


I looked through the package manager and installed a couple of things like linux headers and linux source did a reinstall and got the same message.

Thank you for the help. Is that something useful? new to linux but know a lot about M$
products. Just stuck here on what to google.

PHP Code:
sudo apt-get install lirc-modules-source
Reading package lists
... Done
Building dependency tree       
Reading state information
... Done
Suggested packages
:
  
kernel-source
The following 
NEW packages will be installed:
  
lirc-modules-source
0 upgraded
1 newly installed0 to remove and 6 not upgraded.
Need to get 0B/333kB of archives.
After this operation1,372kB of additional disk space will be used.
Selecting previously deselected package lirc-modules-source.
(
Reading database ... 229288 files and directories currently installed.)
Unpacking lirc-modules-source (from .../lirc-modules-source_0.8.7~pre3-0ubuntu1_all.deb) ...
Setting up lirc-modules-source (0.8.7~pre3-0ubuntu1) ...
Loading new lirc-0.8.7~pre3 DKMS files...
Building only for 2.6.35-22-generic
Building 
for architecture i686
Module build 
for the currently running kernel was skipped since the
kernel source 
for this kernel does not seem to be installed
Reply
#6
So it looks like we've tracked down the problem. Now, how to rectify it...

Which source packages did you install? I assume you now have the following installed:

Code:
linux-source-2.6.35
linux-headers-2.6.35-22-generic

?

You could also try installing the package that apt is suggesting:
Code:
kernel-source

Once you have all these, try removing and re-adding lirc-modules-source. If you already have all these and you still see the 'Module build skipped' message, I'm afraid I've run out of ideas. The Mint guys might be able to help though, since it would probably mean source packages are messed up somehow.
Reply
#7
have you gone through this guide? I found it very useful

http://forum.xbmc.org/showthread.php?tid=39181

You have to read a few post in because people tweak the first post a couple of times.
Nvidia Shield (tube) | Kodi v20 | Sony STR-DN1080 amp in 7.2 | Asustor NAS 11TB raid 5 | Epson EH-TW7000 4k projector | 92" retractable screen | Canton CX 80 speakers
Reply
#8
japher Wrote:So it looks like we've tracked down the problem. Now, how to rectify it...

Which source packages did you install? I assume you now have the following installed:

Code:
linux-source-2.6.35
linux-headers-2.6.35-22-generic

?

You could also try installing the package that apt is suggesting:
Code:
kernel-source

Once you have all these, try removing and re-adding lirc-modules-source. If you already have all these and you still see the 'Module build skipped' message, I'm afraid I've run out of ideas. The Mint guys might be able to help though, since it would probably mean source packages are messed up somehow.


Well I installed a few more things. Rebooted and Reinstalled and still get the
Module build for the currently running kernel was skipped since the
kernel source for this kernel does not seem to be installed.


Did find a bug report when googling today. Seems I'm not the only one having the problem.Same thing lirc_atiusb not loading but lirc_dev does. In another forum someone recommended downgrading the kernel so that lirc would work again. Going to do some more research to try to find a work around.

Thank You for your help. At least now I have a better understanding of how to troubleshoot it and what the problem is. Going to brew some coffee and get started
Reply
#9
No problem! I'm sure you've already thought of this but... if you're able to wipe and start afresh, I can recommend Ubuntu 10.10. I just did a clean install of ubuntu minimal, xbmc plus xbox dongle and it works great.
Reply
#10
Finally!!! got the remote working. I removed all the headers, and extra stuff from before.
did

sudo apt-get install linux-headers-2.6.35-22
Got a bunch of output and it also installed the -generic as well

then
sudo apt-get install lirc lirc-modules-source module-assistant
Bunch of output and did a configure lirc
working again.


Used the configs from the posts here
http://forum.xbmc.org/showthread.php?tid=98348

Thank You for the help, now understand a little more about linux
now have to figure out how to get the GUI to go full screen and not windowed and i can finally ship this thing to my aunt.
Really appreciate all the help.
Reply
#11
DigitalStone Wrote:Used the configs from the posts here
http://forum.xbmc.org/showthread.php?tid=98348

Does your FastForward and Rewind buttons work using that setup? I found that the buttons in lircd.conf were named wrong and had to change them to:

Code:
REVERSE 0xE2
FORWARD 0xE3


Just a thought
Nvidia Shield (tube) | Kodi v20 | Sony STR-DN1080 amp in 7.2 | Asustor NAS 11TB raid 5 | Epson EH-TW7000 4k projector | 92" retractable screen | Canton CX 80 speakers
Reply
#12
chimpsinties Wrote:Does your FastForward and Rewind buttons work using that setup? I found that the buttons in lircd.conf were named wrong and had to change them to:

Code:
REVERSE 0xE2
FORWARD 0xE3


Just a thought

You called it Chimpsinties! FFW and Rewind didnt work. Made the changes and they came back to life.
Again Thank you all for your help. Big Grin
Reply

Logout Mark Read Team Forum Stats Members Help
lirc problem with XBMC/Mint & Xbox DVD remote0