HP MCE Remote kit on Dharma Live
#31
How about a hard delete:

Code:
find /lib/modules/2.6.32-26-generic/ -name lirc*

See how many it finds, then either delete by hand or:
Code:
sudo find /lib/modules/2.6.32-26-generic/ -name lirc* -delete
Code:
depmod -a
Then reinstall.
Code:
depmod -a
again.

Then try the steps again.
Code:
GRANT ALL PRIVILEGES ON `xbmc_%`.* TO 'xbmc'@'%';
IF you have a mysql problem, find one of the 4 dozen threads already open.
Reply
#32
Code:
find /lib/modules/2.6.32-26-generic/ -name lirc*

/lib/modules/2.6.32-26-generic/kernel/ubuntu/lirc
/lib/modules/2.6.32-26-generic/kernel/ubuntu/lirc/lirc_dev
/lib/modules/2.6.32-26-generic/kernel/ubuntu/lirc/lirc_dev/lirc_dev.ko
/lib/modules/2.6.32-26-generic/kernel/ubuntu/lirc/lirc_atiusb
/lib/modules/2.6.32-26-generic/kernel/ubuntu/lirc/lirc_atiusb/lirc_atiusb.ko
/lib/modules/2.6.32-26-generic/kernel/ubuntu/lirc/lirc_serial
/lib/modules/2.6.32-26-generic/kernel/ubuntu/lirc/lirc_serial/lirc_serial.ko
/lib/modules/2.6.32-26-generic/kernel/ubuntu/lirc/lirc_streamzap
/lib/modules/2.6.32-26-generic/kernel/ubuntu/lirc/lirc_streamzap/lirc_streamzap.ko
/lib/modules/2.6.32-26-generic/kernel/ubuntu/lirc/lirc_mceusb
/lib/modules/2.6.32-26-generic/kernel/ubuntu/lirc/lirc_mceusb/lirc_mceusb.ko
/lib/modules/2.6.32-26-generic/kernel/ubuntu/lirc/lirc_sir
/lib/modules/2.6.32-26-generic/kernel/ubuntu/lirc/lirc_sir/lirc_sir.ko
/lib/modules/2.6.32-26-generic/kernel/ubuntu/lirc/lirc_sasem
/lib/modules/2.6.32-26-generic/kernel/ubuntu/lirc/lirc_sasem/lirc_sasem.ko
/lib/modules/2.6.32-26-generic/kernel/ubuntu/lirc/lirc_ite8709
/lib/modules/2.6.32-26-generic/kernel/ubuntu/lirc/lirc_ite8709/lirc_ite8709.ko
/lib/modules/2.6.32-26-generic/kernel/ubuntu/lirc/lirc_igorplugusb
/lib/modules/2.6.32-26-generic/kernel/ubuntu/lirc/lirc_igorplugusb/lirc_igorplugusb.ko
/lib/modules/2.6.32-26-generic/kernel/ubuntu/lirc/lirc_ttusbir
/lib/modules/2.6.32-26-generic/kernel/ubuntu/lirc/lirc_ttusbir/lirc_ttusbir.ko
/lib/modules/2.6.32-26-generic/kernel/ubuntu/lirc/lirc_ene0100
/lib/modules/2.6.32-26-generic/kernel/ubuntu/lirc/lirc_ene0100/lirc_ene0100.ko
/lib/modules/2.6.32-26-generic/kernel/ubuntu/lirc/lirc_bt829
/lib/modules/2.6.32-26-generic/kernel/ubuntu/lirc/lirc_bt829/lirc_bt829.ko
/lib/modules/2.6.32-26-generic/kernel/ubuntu/lirc/lirc_i2c
/lib/modules/2.6.32-26-generic/kernel/ubuntu/lirc/lirc_i2c/lirc_i2c.ko
/lib/modules/2.6.32-26-generic/kernel/ubuntu/lirc/lirc_it87
/lib/modules/2.6.32-26-generic/kernel/ubuntu/lirc/lirc_it87/lirc_it87.ko
/lib/modules/2.6.32-26-generic/kernel/ubuntu/lirc/lirc_imon
/lib/modules/2.6.32-26-generic/kernel/ubuntu/lirc/lirc_imon/lirc_imon.ko
/lib/modules/2.6.32-26-generic/updates/dkms/lirc_atiusb.ko
/lib/modules/2.6.32-26-generic/updates/dkms/lirc_serial.ko
/lib/modules/2.6.32-26-generic/updates/dkms/lirc_wpc8769l.ko
/lib/modules/2.6.32-26-generic/updates/dkms/lirc_ite8709.ko
/lib/modules/2.6.32-26-generic/updates/dkms/lirc_ene0100.ko
/lib/modules/2.6.32-26-generic/updates/dkms/lirc_igorplugusb.ko
/lib/modules/2.6.32-26-generic/updates/dkms/lirc_dev.ko
/lib/modules/2.6.32-26-generic/updates/dkms/lirc_imon.ko
/lib/modules/2.6.32-26-generic/updates/dkms/lirc_i2c.ko
/lib/modules/2.6.32-26-generic/updates/dkms/lirc_bt829.ko
/lib/modules/2.6.32-26-generic/updates/dkms/lirc_mceusb.ko
/lib/modules/2.6.32-26-generic/updates/dkms/lirc_ttusbir.ko
/lib/modules/2.6.32-26-generic/updates/dkms/lirc_streamzap.ko
/lib/modules/2.6.32-26-generic/updates/dkms/lirc_sasem.ko
/lib/modules/2.6.32-26-generic/updates/dkms/lirc_sir.ko
/lib/modules/2.6.32-26-generic/updates/dkms/lirc_it87.ko

then did the delete all
Code:
sudo find /lib/modules/2.6.32-26-generic/ -name lirc* -delete

doing the steps from the beginning again.

(taking advice from somebody who watches jersey shore!!! Tongue )
kidding of course.

thanks for all your help!
Reply
#33
so when I get to this step
Code:
sudo dkms -m lirc -v 0.8.6 install --force

this is the output which seems like the same as before I did the delete you suggested.
Code:
lirc_dev.ko:
Running module version sanity check.
- Original module
   - No original module exists within this kernel
- Installation
   - Installing to /lib/modules/2.6.32-26-generic/updates/dkms/

lirc_atiusb.ko:
Running module version sanity check.
- Original module
   - No original module exists within this kernel
- Installation
   - Installing to /lib/modules/2.6.32-26-generic/updates/dkms/

lirc_bt829.ko:
Running module version sanity check.
- Original module
   - No original module exists within this kernel
- Installation
   - Installing to /lib/modules/2.6.32-26-generic/updates/dkms/

lirc_ite8709.ko:
Running module version sanity check.
- Original module
   - No original module exists within this kernel
- Installation
   - Installing to /lib/modules/2.6.32-26-generic/updates/dkms/

lirc_i2c.ko:
Running module version sanity check.
- Original module
   - No original module exists within this kernel
- Installation
   - Installing to /lib/modules/2.6.32-26-generic/updates/dkms/

lirc_igorplugusb.ko:
Running module version sanity check.
- Original module
   - No original module exists within this kernel
- Installation
   - Installing to /lib/modules/2.6.32-26-generic/updates/dkms/

lirc_imon.ko:
Running module version sanity check.
- Original module
   - No original module exists within this kernel
- Installation
   - Installing to /lib/modules/2.6.32-26-generic/updates/dkms/

lirc_it87.ko:
Running module version sanity check.
- Original module
   - No original module exists within this kernel
- Installation
   - Installing to /lib/modules/2.6.32-26-generic/updates/dkms/

lirc_mceusb.ko:
Running module version sanity check.
- Original module
   - No original module exists within this kernel
- Installation
   - Installing to /lib/modules/2.6.32-26-generic/updates/dkms/

lirc_ttusbir.ko:
Running module version sanity check.
- Original module
   - No original module exists within this kernel
- Installation
   - Installing to /lib/modules/2.6.32-26-generic/updates/dkms/

lirc_sasem.ko:
Running module version sanity check.
- Original module
   - No original module exists within this kernel
- Installation
   - Installing to /lib/modules/2.6.32-26-generic/updates/dkms/

lirc_serial.ko:
Running module version sanity check.
- Original module
   - No original module exists within this kernel
- Installation
   - Installing to /lib/modules/2.6.32-26-generic/updates/dkms/

lirc_sir.ko:
Running module version sanity check.
- Original module
   - No original module exists within this kernel
- Installation
   - Installing to /lib/modules/2.6.32-26-generic/updates/dkms/

lirc_streamzap.ko:
Running module version sanity check.
- Original module
   - No original module exists within this kernel
- Installation
   - Installing to /lib/modules/2.6.32-26-generic/updates/dkms/

lirc_ene0100.ko:
Running module version sanity check.
- Original module
   - No original module exists within this kernel
- Installation
   - Installing to /lib/modules/2.6.32-26-generic/updates/dkms/

lirc_wpc8769l.ko:
Running module version sanity check.
- Original module
   - No original module exists within this kernel
- Installation
   - Installing to /lib/modules/2.6.32-26-generic/updates/dkms/

depmod....

DKMS: install Completed.

also the next step throws an error
Code:
sudo rmmod lirc_mceusb
ERROR: Module lirc_mceusb is in use
Reply
#34
bostoneric Wrote:so when I get to this step


also the next step throws an error
Code:
sudo rmmod lirc_mceusb
ERROR: Module lirc_mceusb is in use

Install looks good.

That is the error right there.

Basically, Linux is very, very flexible, but you can only be so flexible Smile

Linux does all types of things on the fly to let you add/remove kernel modules and do things that would require reboots on Windows. But there's only so far that it can go.

There is some program somewhere using the IR receiver. Heck, the IR receiver might just be receiving noise and piping it into userspace, not letting it unload the module because it's in use.

If XBMC is up, shut that down. Maybe you have an irw runnign in a terminal somewhere? shut 'em down. iIf that doesn't work, reboot, make sure xbmc is fired down, etc and do that step. Heck, unplug the IR receiver if that doesn't work and do that step. You just need the IR subsystem not to be doing anything so that you can slip the new kernel module in its place.

Keep trying that step until it unloads, and then go from there.

Edit: Idea from another thread. You can also try stopping the lirc service with
Code:
sudo /etc/init.d/lirc stop
May or may not work Smile
Reply
#35
4 pages of working on this issue and still getting the same result.

no output from "irw"

Sad
Reply
#36
bostoneric Wrote:4 pages of working on this issue and still getting the same result.

no output from "irw"

Sad

Sad

It really shouldn't be this bad.....either the hardware is bad or there's something that's getting overlooked/missed in the steps.
Reply
#37
kaiser423 Wrote:Sad

It really shouldn't be this bad.....either the hardware is bad or there's something that's getting overlooked/missed in the steps.


I dont think its the hardware. lsusb picks up the HP receiver and when I press buttons on the remote the light in the receiver blinks. my guess would be that they are working from those to observations.

not really sure where else to go with this.

can I post any new logs you can think of that would help?
Reply
#38
does the device work on a standard windows computer ?
PointOfView Nvidia ION Atom 330 - TRANSCEND 2GB DDR2 DIMM 800MHz - G.SKILL 64GB SSD 2.5
Open Elec Beta4 1.95.4
XBMC Online Manual - HOW-TO post about a problem in a useful manner - Create/View Bug Report
Setup/Fix correct resolution on XBMC/Ubuntu - Usefull linux terminal commands
Reply
#39
The last thing I can think of would be to kill XBMC. StartX as root or another user so that only xterm comes up.

Run xev, start pressing key buttons, see what xev thinks is going on.
Code:
GRANT ALL PRIVILEGES ON `xbmc_%`.* TO 'xbmc'@'%';
IF you have a mysql problem, find one of the 4 dozen threads already open.
Reply
#40
I bought the same receiver off Ebay and was also having issues. The device was listed in lsusb, but not functioning. Nothing was put out on irw and /dev/lirc0 was not being created. After modifying mceusb.c, the device is now detected by the system and irw detects input.

[ 14.624834] lirc_mceusb[2]: FINTEK eHome Infrared Transceiver on usb4:2

The remote also works in XBMC properly now. Thanks CharlesNasi!
Reply
#41
bostoneric Wrote:for CharlesNasi

from ubuntu link
sudo apt-get install lirc-modules-source
Reading package lists... Done
Building dependency tree
Reading state information... Done
lirc-modules-source is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 17 not upgraded.


cd /usr/src/lirc-*/lirc_mceusb2
I dont see that file in that folder.


the folder is /usr/src/lirc-XXXXX/drivers/lirc_mceusb/

Maybe there is your problem
Image
Reply
#42
If you're at the end of your rope, try XBMCFreak. They have all of the bleeding edge drivers, and it should "Just Work".

Sorry that we couldn't be more help. The steps and instructions work. There's really something in one of the steps that is going wrong, but I can't really say where.
Reply
#43
static Wrote:I bought the same receiver off Ebay and was also having issues. The device was listed in lsusb, but not functioning. Nothing was put out on irw and /dev/lirc0 was not being created. After modifying mceusb.c, the device is now detected by the system and irw detects input.

[ 14.624834] lirc_mceusb[2]: FINTEK eHome Infrared Transceiver on usb4:2

The remote also works in XBMC properly now. Thanks CharlesNasi!

Static.
can you give show the steps you used?
I'd like to get this working one day!
Reply
#44
Adeiko Wrote:the folder is /usr/src/lirc-XXXXX/drivers/lirc_mceusb/

Maybe there is your problem

Adeiko.
good catch. I'll try that folder path!
Reply
#45
tried this basic guide.
still no luck

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

Logout Mark Read Team Forum Stats Members Help
HP MCE Remote kit on Dharma Live1