HP MCE Remote kit on Dharma Live
#16
To rule out software errors with your setup it's realy easy to pop in the latest
xbmc live cd into your drive and see how that works. I suggest that before a reinstall.
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
#17
Really, just pasting the output of the lsusb command will help a lot here. I'm back at home, so I can give the values a quick run through the lirc code and see if it needs a quick edit or not, and I can post the exact code you need to put where.
Reply
#18
I found a different version of XBMC out there called XBMCfreaks, and installed the v2 Maverick edition. I chose it over v3 because people were saying how ther Zotac ZBox no longer had sound, so I took a chance on v2. This one worked perfectly with all my hardware and I'm SO happy with XBMC! The device ID for my Formosa Industrial Corp IR receiver is e03e, by the way, I just couldn't get lirc to rebuild to try and get it working.

Thanks!
-z
Reply
#19
What lirc-version are you using?
$ lirc -v

And can you post the the following output?
$ dmesg | grep -i usb

I have the same HP remote, bought from eBay for around 5 bucks, and I had to install the lirc-modules-source package, including build-tools (gcc compiler). After that, i modded the mceusb.c file from the lirc-modules-source and changed the PHILIPS MCE HW vendor ID's to the 'fintek' ones, recompiled that and now it is working!

Modifiying the Lirc-module mceusb.c:
https://help.ubuntu.com/community/Instal...%20remotes

And for rebuilding the lirc-modules:

sudo dkms remove -m lirc -v 0.8.x --all
sudo dkms add -m lirc -v 0.8.x
sudo dkms -m lirc -v 0.8.x build
sudo dkms -m lirc -v 0.8.x install

after that:
sudo rmmod lirc_mceusb
sudo rmmod lirc_dev
sudo modprobe lirc_mceusb
sudo modprobe lirc_dev
sudo /etc/init.d/lirc restart

Succes! :-)
HTPC Specs: GA-MA78GM-S2h 1.0, 2GB Ram, Samsung S203B DVDrw, AMD Phenom X3 8650, Antec Fusion V2 Black, 1.5TB HDD, GeForce 9500GT running Ubuntu 10.04 and XBMC from SVN
Reply
#20
Once I have a chance I will answer all the command questions.
I will get back to you all I promise.
Reply
#21
darkscout Wrote:invoke-rc.d lirc stop
lircd -n -d /dev/lirc0 /usr/share/lirc/remotes/mceusb/lircd.conf.mceusb

In another window
irw.

What does it do?

input:
invoke-rc.d lirc stop
return:
* stopping remote control daemons: LIRC [OK]

input:
lircd -n -d /dev/lirc0 /usr/share/lirc/remotes/mceusb/lircd.conf.mceusb
return:
lircd-0.8.6[3694]: lircd(default) ready, using /var/run/lirc/lircd

from another window input:
irw
output:
lircd-0.8.6[1415]: lircd(default) ready, using /var/run/lirc/lircd
lircd-0.8.6[1415]: accepted new client on /var/run/lirc/lircd
lircd-0.8.6[1415]: could not get file information for /dev/lirc0
lircd-0.8.6[1415]: default_init(): No such file or directory
lircd-0.8.6[1415]: Failed to initialize hardware
Reply
#22
for The-Boxhead

input:
lsusb

output:
Bus 002 Device 003: ID 04f2:0963 Chicony Electronics Co., Ltd
Bus 002 Device 002: ID 1934:5168 (blank)
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub


input:
irw

output when I press the remote buttons:
nothing....


input:
cat /etc/issue
output:
Ubuntu 10.04.1 LTS \n \l

input:
uname -r
output:
2.6.32-26-generic
Reply
#23
for CharlesNasi

input:
lirc -v
output:
command not found

input:
dmesg | grep -i usb
output:
Code:
[    0.500118] usbcore: registered new interface driver usbfs
[    0.500130] usbcore: registered new interface driver hub
[    0.500148] usbcore: registered new device driver usb
[    0.669292] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    0.670351] ehci_hcd 0000:00:04.1: new USB bus registered, assigned bus number 1
[    0.680037] ehci_hcd 0000:00:04.1: USB 2.0 started, EHCI 1.00
[    0.680253] usb usb1: configuration #1 chosen from 1 choice
[    0.680324] hub 1-0:1.0: USB hub found
[    0.680491] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[    0.681520] ohci_hcd 0000:00:04.0: new USB bus registered, assigned bus number 2
[    0.738236] usb usb2: configuration #1 chosen from 1 choice
[    0.738332] hub 2-0:1.0: USB hub found
[    0.738517] uhci_hcd: USB Universal Host Controller Interface driver
[    1.369080] usb 2-2: new full speed USB device using ohci_hcd and address 2
[    1.593266] usb 2-2: configuration #1 chosen from 1 choice
[    1.900044] usb 2-6: new low speed USB device using ohci_hcd and address 3
[    2.120266] usb 2-6: configuration #1 chosen from 1 choice
[    2.154748] usbcore: registered new interface driver hiddev
[    2.160580] input: Chicony 2.4G Multimedia Wireless Kit as /devices/pci0000:00/0000:00:04.0/usb2/2-6/2-6:1.0/input/input3
[    2.160875] generic-usb 0003:04F2:0963.0001: input,hidraw0: USB HID v1.11 Keyboard [Chicony 2.4G Multimedia Wireless Kit] on usb-0000:00:04.0-6/input0
[    2.176191] input: Chicony 2.4G Multimedia Wireless Kit as /devices/pci0000:00/0000:00:04.0/usb2/2-6/2-6:1.1/input/input4
[    2.176865] generic-usb 0003:04F2:0963.0002: input,hiddev96,hidraw1: USB HID v1.11 Mouse [Chicony 2.4G Multimedia Wireless Kit] on usb-0000:00:04.0-6/input1
[    2.176981] usbcore: registered new interface driver usbhid
[    2.176992] usbhid: v2.6:USB HID core driver

input:
sudo dkms remove -m lirc -v 0.8.x --all
output:
Error! There are no instances of module: lirc
0.8.x located in the DKMS tree.

sudo dkms add -m lirc -v 0.8.x
Error! Could not find module source directory.
Directory: /usr/src/lirc-0.8.x does not exist.

sudo dkms -m lirc -v 0.8.x build
Error! DKMS tree does not contain: lirc-0.8.x
Build cannot continue without the proper tree.

sudo dkms -m lirc -v 0.8.x install
Error! DKMS tree does not contain: lirc-0.8.x
Build cannot continue without the proper tree.

after that:
sudo rmmod lirc_mceusb
ERROR: Module lirc_mceusb does not exist in /proc/modules

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

sudo modprobe lirc_mceusb
worked.

sudo modprobe lirc_dev
worked.

sudo /etc/init.d/lirc restart
* Stopping remote control daemon(s): LIRC
...done.
* Starting remote control daemon(s) : LIRC
...done.

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.
Reply
#24
tried these steps in this thread
http://forum.xbmc.org/showpost.php?p=695994&postcount=2

didnt encounter any errors but when I run "irw" I still dont get any return.
Reply
#25
bostoneric Wrote:tried these steps in this thread
http://forum.xbmc.org/showpost.php?p=695994&postcount=2

didnt encounter any errors but when I run "irw" I still dont get any return.

hmmmmm....try a reboot to make sure.

The steps most prone to missing is making sure that every step is performed, the changes to that file are saved out, and that you don't miss any error messages as things fly by.

cd into the lirc source directory and open up that file again with nano and make sure that that line is actually still in there (fairly common mistake). If it is in there, can you past in the output of these two commands?

Code:
sudo dkms -m lirc -v 0.8.6 build
sudo dkms -m lirc -v 0.8.6 install

Edit: btw, in the other instructions the "x" and the "*" are placeholders for your specific version of lirc. You most likely have 0.8.6, but some people may have 0.8.5 or 0.8.7, so they put in a placeholder rather than hard-coding for a specific version number. Welcome to your introduction to code hacking Smile Sorry that it's like this, it's usually not, the lirc project is just going through a major transition/rewrite right now.
Reply
#26
its not really that big of a deal, its fun to learn this new stuff.

ok so I double checked the lirc_mceusb.c file for:
/*Fintek HP Doober*/
{ USB_DEVICE(VENDOR_FINTEK, 0x5168) },
its def in there, the last part inserted into that section.

when I do this step.
Code:
sudo dkms remove -m lirc -v 0.8.6 --all
I get a lot of:
- No original module was found for this module on this kernel.
- Use the dkms install command to reinstall any previous module version.

Code:
------- Uninstall Beginning --------
Module:  lirc
Version: 0.8.6
Kernel:  2.6.32-26-generic (i686)
-------------------------------------

Status: Before uninstall, this module version was ACTIVE on this kernel.

lirc_dev.ko:
- Uninstallation
   - Deleting from: /lib/modules/2.6.32-26-generic/updates/dkms/
- Original module
   - No original module was found for this module on this kernel.
   - Use the dkms install command to reinstall any previous module version.


lirc_atiusb.ko:
- Uninstallation
   - Deleting from: /lib/modules/2.6.32-26-generic/updates/dkms/
- Original module
   - No original module was found for this module on this kernel.
   - Use the dkms install command to reinstall any previous module version.


lirc_bt829.ko:
- Uninstallation
   - Deleting from: /lib/modules/2.6.32-26-generic/updates/dkms/
- Original module
   - No original module was found for this module on this kernel.
   - Use the dkms install command to reinstall any previous module version.


lirc_ite8709.ko:
- Uninstallation
   - Deleting from: /lib/modules/2.6.32-26-generic/updates/dkms/
- Original module
   - No original module was found for this module on this kernel.
   - Use the dkms install command to reinstall any previous module version.


lirc_i2c.ko:
- Uninstallation
   - Deleting from: /lib/modules/2.6.32-26-generic/updates/dkms/
- Original module
   - No original module was found for this module on this kernel.
   - Use the dkms install command to reinstall any previous module version.


lirc_igorplugusb.ko:
- Uninstallation
   - Deleting from: /lib/modules/2.6.32-26-generic/updates/dkms/
- Original module
   - No original module was found for this module on this kernel.
   - Use the dkms install command to reinstall any previous module version.


lirc_imon.ko:
- Uninstallation
   - Deleting from: /lib/modules/2.6.32-26-generic/
- Original module
   - No original module was found for this module on this kernel.
   - Use the dkms install command to reinstall any previous module version.


lirc_it87.ko:
- Uninstallation
   - Deleting from: /lib/modules/2.6.32-26-generic/updates/dkms/
- Original module
   - No original module was found for this module on this kernel.
   - Use the dkms install command to reinstall any previous module version.


lirc_mceusb.ko:
- Uninstallation
   - Deleting from: /lib/modules/2.6.32-26-generic/updates/dkms/
- Original module
   - No original module was found for this module on this kernel.
   - Use the dkms install command to reinstall any previous module version.


lirc_ttusbir.ko:
- Uninstallation
   - Deleting from: /lib/modules/2.6.32-26-generic/updates/dkms/
- Original module
   - No original module was found for this module on this kernel.
   - Use the dkms install command to reinstall any previous module version.


lirc_sasem.ko:
- Uninstallation
   - Deleting from: /lib/modules/2.6.32-26-generic/updates/dkms/
- Original module
   - No original module was found for this module on this kernel.
   - Use the dkms install command to reinstall any previous module version.


lirc_serial.ko:
- Uninstallation
   - Deleting from: /lib/modules/2.6.32-26-generic/updates/dkms/
- Original module
   - No original module was found for this module on this kernel.
   - Use the dkms install command to reinstall any previous module version.


lirc_sir.ko:
- Uninstallation
   - Deleting from: /lib/modules/2.6.32-26-generic/updates/dkms/
- Original module
   - No original module was found for this module on this kernel.
   - Use the dkms install command to reinstall any previous module version.


lirc_streamzap.ko:
- Uninstallation
   - Deleting from: /lib/modules/2.6.32-26-generic/updates/dkms/
- Original module
   - No original module was found for this module on this kernel.
   - Use the dkms install command to reinstall any previous module version.


lirc_ene0100.ko:
- Uninstallation
   - Deleting from: /lib/modules/2.6.32-26-generic/updates/dkms/
- Original module
   - No original module was found for this module on this kernel.
   - Use the dkms install command to reinstall any previous module version.


lirc_wpc8769l.ko:
- Uninstallation
   - Deleting from: /lib/modules/2.6.32-26-generic/updates/dkms/
- Original module
   - No original module was found for this module on this kernel.
   - Use the dkms install command to reinstall any previous module version.

depmod.......

DKMS: uninstall Completed.

------------------------------
Deleting module version: 0.8.6
completely from the DKMS tree.
------------------------------
Done.


and when I do
Code:
sudo dkms -m lirc -v 0.8.6 install
they all install fine except:
Code:
lirc_imon.ko:
Running module version sanity check.

Error! Module version 0.6 for lirc_imon.ko
is not newer than what is already found in kernel 2.6.32-26-generic (0.6).
You may override by specifying --force.

the 2 questions you have.
Code:
sudo dkms -m lirc -v 0.8.6 build
Code:
Error! This module/version has already been built on: 2.6.32-26-generic
Directory: /var/lib/dkms/lirc/0.8.6/2.6.32-26-generic/i686
already exists.  Use the dkms remove function before trying to build again.

Code:
sudo dkms -m lirc -v 0.8.6 install
Code:
Error! This module/version combo is already installed
for kernel: 2.6.32-26-generic (i686)
Reply
#27
You have to do what it says and remove the current one before installing the new one.
Code:
GRANT ALL PRIVILEGES ON `xbmc_%`.* TO 'xbmc'@'%';
IF you have a mysql problem, find one of the 4 dozen threads already open.
Reply
#28
Code:
udo dkms remove -m lirc -v 0.8.6 --all

-------- Uninstall Beginning --------
Module:  lirc
Version: 0.8.6
Kernel:  2.6.32-26-generic (i686)
-------------------------------------

Status: Before uninstall, this module version was ACTIVE on this kernel.

lirc_dev.ko:
- Uninstallation
   - Deleting from: /lib/modules/2.6.32-26-generic/updates/dkms/
- Original module
   - No original module was found for this module on this kernel.
   - Use the dkms install command to reinstall any previous module version.


lirc_atiusb.ko:
- Uninstallation
   - Deleting from: /lib/modules/2.6.32-26-generic/updates/dkms/
- Original module
   - No original module was found for this module on this kernel.
   - Use the dkms install command to reinstall any previous module version.


lirc_bt829.ko:
- Uninstallation
   - Deleting from: /lib/modules/2.6.32-26-generic/updates/dkms/
- Original module
   - No original module was found for this module on this kernel.
   - Use the dkms install command to reinstall any previous module version.


lirc_ite8709.ko:
- Uninstallation
   - Deleting from: /lib/modules/2.6.32-26-generic/updates/dkms/
- Original module
   - No original module was found for this module on this kernel.
   - Use the dkms install command to reinstall any previous module version.


lirc_i2c.ko:
- Uninstallation
   - Deleting from: /lib/modules/2.6.32-26-generic/updates/dkms/
- Original module
   - No original module was found for this module on this kernel.
   - Use the dkms install command to reinstall any previous module version.


lirc_igorplugusb.ko:
- Uninstallation
   - Deleting from: /lib/modules/2.6.32-26-generic/updates/dkms/
- Original module
   - No original module was found for this module on this kernel.
   - Use the dkms install command to reinstall any previous module version.


lirc_imon.ko:
- Uninstallation
   - Deleting from: /lib/modules/2.6.32-26-generic/
- Original module
   - No original module was found for this module on this kernel.
   - Use the dkms install command to reinstall any previous module version.


lirc_it87.ko:
- Uninstallation
   - Deleting from: /lib/modules/2.6.32-26-generic/updates/dkms/
- Original module
   - No original module was found for this module on this kernel.
   - Use the dkms install command to reinstall any previous module version.


lirc_mceusb.ko:
- Uninstallation
   - Deleting from: /lib/modules/2.6.32-26-generic/updates/dkms/
- Original module
   - No original module was found for this module on this kernel.
   - Use the dkms install command to reinstall any previous module version.


lirc_ttusbir.ko:
- Uninstallation
   - Deleting from: /lib/modules/2.6.32-26-generic/updates/dkms/
- Original module
   - No original module was found for this module on this kernel.
   - Use the dkms install command to reinstall any previous module version.


lirc_sasem.ko:
- Uninstallation
   - Deleting from: /lib/modules/2.6.32-26-generic/updates/dkms/
- Original module
   - No original module was found for this module on this kernel.
   - Use the dkms install command to reinstall any previous module version.


lirc_serial.ko:
- Uninstallation
   - Deleting from: /lib/modules/2.6.32-26-generic/updates/dkms/
- Original module
   - No original module was found for this module on this kernel.
   - Use the dkms install command to reinstall any previous module version.


lirc_sir.ko:
- Uninstallation
   - Deleting from: /lib/modules/2.6.32-26-generic/updates/dkms/
- Original module
   - No original module was found for this module on this kernel.
   - Use the dkms install command to reinstall any previous module version.


lirc_streamzap.ko:
- Uninstallation
   - Deleting from: /lib/modules/2.6.32-26-generic/updates/dkms/
- Original module
   - No original module was found for this module on this kernel.
   - Use the dkms install command to reinstall any previous module version.


lirc_ene0100.ko:
- Uninstallation
   - Deleting from: /lib/modules/2.6.32-26-generic/updates/dkms/
- Original module
   - No original module was found for this module on this kernel.
   - Use the dkms install command to reinstall any previous module version.


lirc_wpc8769l.ko:
- Uninstallation
   - Deleting from: /lib/modules/2.6.32-26-generic/updates/dkms/
- Original module
   - No original module was found for this module on this kernel.
   - Use the dkms install command to reinstall any previous module version.

depmod.......

DKMS: uninstall Completed.

------------------------------
Deleting module version: 0.8.6
completely from the DKMS tree.
------------------------------
Done.
Reply
#29
The remove failing seems fine, since the install didn't work, the remove has nothing to remove.

It's interesting that the one module you have is listed as newer, but try to add "--force" to that line as another option and see if it goes...

Edit: everytime you do an install and it doesn't work, do a remove. It looks like it built fine. It just looks like you need to force the kernel to use the "old" driver.
Reply
#30
ok well i tried adding the force when I redid all the steps. still no luck
Code:
sudo dkms -m lirc -v 0.8.6 install --force
Reply

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