new Philips SRM5100 Fix bug in Linux

posted on 15 Oct 2008 22:17 by linux4live
Philips SRM5100 (mceusb2) - no /dev/lirc0 created
Sorted thanks;

For others stumbling across this, here's what you need to do.

Code:
lsusb
Note down the info for your remote, in my case;

Code:
0471:060d Philips
Install the lirc modules source files

Code:
sudo apt-get install lirc-modules-source
Go find the driver;

Code:
cd /usr/src/lirc-0.8.3~pre1/drivers/lirc_mceusb2
Edit the lirc_mceusb2.c file and add in your particulars. Scroll down to where the remotes are listed. If your vendor is not listed than you'll have to add that in. (eg define VENDOR_PHILIPS 0x0471)
NB. Philips is already listed as above.

Now add in the particulars for your remote. In my case;

Code:
        /* Philips SRM5100 */
{ USB_DEVICE(VENDOR_PHILIPS, 0x060d) },
NB. Note from the code you noted down that the first bit is the vendor code (0471) and the second the remote id. (060d)

Now it's time to rebuild the modules.

We'll start by clearing out the old one.

Code:
sudo dkms remove -m lirc -v 0.8.3~pre1 --all
Now it's time to build your new one.

Code:
sudo dkms add -m lirc -v 0.8.3~pre1
sudo dkms -m lirc -v 0.8.3~pre1 build
sudo dkms -m lirc -v 0.8.3~pre1 install
Now update the modules and restart lirc;

Code:
sudo rmmod lirc_mceusb2
sudo modprobe lirc_mceusb2
sudo /etc/init.d/lirc restart
Now run;
Code:
irw
press a few buttons on your remote and you should now get a response. You're done! (You may need to reboot to have it working in mythtv)

Comment



smilebig smileopen-mounthed smileconfused smilesad smileangry smiletonguequestionembarrassedsurprised smilewinkdouble winkcry

Tweet

Hello! Budy i have a question for you... I interessed to buy this remote control, and i need to know if he really is good, usefull and works fine on Linux (I'm using Ubuntu 9.04, kernel 2.6.X).
My e-mail: dcbasso (@gmail.com), thanks a lot!

#1 By Dante (189.26.168.16) on 2009-08-28 20:05