lirc needs pad2keys patch included
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
lirc (Ubuntu) |
Fix Released
|
Undecided
|
Mario Limonciello |
Bug Description
Binary package hint: lirc
lirc needs the pad2keys patch in order to fully support the imon pad remote.
More details for what is required is at http://
Patch is at http://
Don Smith (donsmith77) wrote : | #1 |
Mario Limonciello (superm1) wrote : | #2 |
lirc (0.8.3~
* New upstream version.
- Includes Iguanaworks IR Support (LP: #153457)
* Update 03_extrafiles patch for gpio changes.
* Update 05_fix_cmdir patch for command IR lirc.hwdb update.
* Update 12_lirc_pvr150 patch for transmitting support under
kernel 2.6.22.
* Update 13-warning-cleanup patch for items that were already
cleaned up upstream.
* Drop 14_mceusb2 patch since now included upstream.
* Drop 14_lirc-i2c patch since now included upstream.
* Drop 15_macmini patch since now included upstream.
* Update 16_lirc-gpio patch for added changes upstream.
* Update 17_devinput patch for added changes upstream.
* Drop 18_irman-fix patch since now included upstream.
* Drop 19_serial_support patch since now included upstream.
* Update 20_serial_igor patch for new serial support upstream.
* Update 22_hauppauge_
* Add 23_pad2keys patch for pad2keys imon support (LP: #153184).
* Add 24_freecom_dvbt patch for NovaT 500 Remote (LP: #152539).
* Clean up lintian warning for -$(MAKE).
* Clean up lintian warning for ${source:Version}.
-- Mario Limonciello <email address hidden> Tue, 30 Oct 2007 09:44:55 -0400
Changed in lirc: | |
status: | New → Fix Released |
Don Smith (donsmith77) wrote : Re: [Bug 153184] Re: lirc needs pad2keys patch included | #3 |
I'm the guy who bugged you on irc yestereday.
Sincere thanks for the upgraded package.
I hope to contribute some to the mythgame experience at a later date.
Don Smith
On Wed, 2007-10-31 at 02:25 +0000, Mario Limonciello wrote:
> lirc (0.8.3~
>
> * New upstream version.
> - Includes Iguanaworks IR Support (LP: #153457)
> * Update 03_extrafiles patch for gpio changes.
> * Update 05_fix_cmdir patch for command IR lirc.hwdb update.
> * Update 12_lirc_pvr150 patch for transmitting support under
> kernel 2.6.22.
> * Update 13-warning-cleanup patch for items that were already
> cleaned up upstream.
> * Drop 14_mceusb2 patch since now included upstream.
> * Drop 14_lirc-i2c patch since now included upstream.
> * Drop 15_macmini patch since now included upstream.
> * Update 16_lirc-gpio patch for added changes upstream.
> * Update 17_devinput patch for added changes upstream.
> * Drop 18_irman-fix patch since now included upstream.
> * Drop 19_serial_support patch since now included upstream.
> * Update 20_serial_igor patch for new serial support upstream.
> * Update 22_hauppauge_
> * Add 23_pad2keys patch for pad2keys imon support (LP: #153184).
> * Add 24_freecom_dvbt patch for NovaT 500 Remote (LP: #152539).
> * Clean up lintian warning for -$(MAKE).
> * Clean up lintian warning for ${source:Version}.
>
> -- Mario Limonciello <email address hidden> Tue, 30 Oct 2007 09:44:55
> -0400
>
> ** Changed in: lirc (Ubuntu)
> Status: New => Fix Released
>
slyhne (soeren-zurf) wrote : | #4 |
Hi
I have just done a fresh installation of Mythbuntu 8.04.
According to the changelog of lirc 0.8.3~pre1-0ubuntu7 a patch for the pad on iMON remotes should be included since 0ubuntu4, for some reason it seems this patch doesn't work. My pad on the remote is not giving any output when using irw (or MythTV for that matter), all other keys work as expected.
From the changelog:
lirc (0.8.3~
* Add 25_upstream_2_6_24 to fix lirc_dev,
on 2.6.24.
* Add 26_transmitter_
receiver lircd.conf's as well as a transmitter.hwdb
* Add 27_multiple_include for allowing lircd.conf's via
an 'include' directive.
* Update 16_lirc-gpio, 22_hauppauge_
for upstream driver name change from dev/input to devinput.
* Drop 17_devinput since it is no longer necessary due to
upstream driver name change.
* Update 12_lirc_pvr150 for 2.6.24.
* Update 20_lirc_serial_igor for 2.6.24.
* Update 13-warning-cleanup for more cleanup on sir
* Update 03_extra_files, 04_manpages, 12_pvr150_
13-
22_
Is there something I need to do for this patch to work?
Can I patch lirc myself?
From the release notes:
DKMS support. If you have modules that get upgraded after 8.04 comes out, you can patch them via lirc-modules-source manually, or grab a lirc-modules-source from a future Ubuntu/Mythbuntu testing release and simply install it without any manual patching necessary.
How would I go about installing a patch using DKMS and lirc-modules-
Regards
Søren Lyhne
Mario Limonciello (superm1) wrote : | #5 |
slyhne wrote:
> Hi
>
> I have just done a fresh installation of Mythbuntu 8.04.
>
> According to the changelog of lirc 0.8.3~pre1-0ubuntu7 a patch for the
> pad on iMON remotes should be included since 0ubuntu4, for some reason
> it seems this patch doesn't work. My pad on the remote is not giving any
> output when using irw (or MythTV for that matter), all other keys work
> as expected.
>
>>From the changelog:
> lirc (0.8.3~
>
> * Add 25_upstream_2_6_24 to fix lirc_dev,
> on 2.6.24.
> * Add 26_transmitter_
> receiver lircd.conf's as well as a transmitter.hwdb
> * Add 27_multiple_include for allowing lircd.conf's via
> an 'include' directive.
> * Update 16_lirc-gpio, 22_hauppauge_
> for upstream driver name change from dev/input to devinput.
> * Drop 17_devinput since it is no longer necessary due to
> upstream driver name change.
> * Update 12_lirc_pvr150 for 2.6.24.
> * Update 20_lirc_serial_igor for 2.6.24.
> * Update 13-warning-cleanup for more cleanup on sir
> * Update 03_extra_files, 04_manpages, 12_pvr150_
> 13-warning-cleanup, 16_lirc-gpio, 20_serial-igor, 21_atiusb,
> 22_hauppauge_
>
> Is there something I need to do for this patch to work?
>
> Can I patch lirc myself?
>>From the release notes:
> DKMS support. If you have modules that get upgraded after 8.04 comes out, you can patch them via lirc-modules-source manually, or grab a lirc-modules-source from a future Ubuntu/Mythbuntu testing release and simply install it without any manual patching necessary.
>
> How would I go about installing a patch using DKMS and lirc-modules-
> source?
>
> Regards
>
> Søren Lyhne
>
Hi Soren,
Install lirc-modules-
Issue a dkms rebuild command. Post the patch here once it's working.
--
Mario Limonciello
<email address hidden>
Andreas Neuhaus (zargony) wrote : | #6 |
- Patch to add pad2keys functionality to lirc_imon in lirc-0.8.3~pre1-0ubuntu7 Edit (6.6 KiB, text/plain)
This bug was about adding the pad2keys patch to lirc_imon. However, the first post shows a link to the imonlcd patch - which does something different. The pad2keys patch still isn't included in ubuntu (I'm currently running lirc-0.
The correct link to the pad2keys patch is: http://
Due to the previous imonlcd patch that was included in ubuntu's lirc, the pad2keys patch doesn't apply cleanly anymore. I applied the changes manually and generated a new patch (file attached). Works fine here.
pad2keys mode is disabled by default, it needs to be enabled with the lirc_imon module option pad2keys_active=1. Some remote codes are different in pad2keys mode, so I copied the lircd.conf.imon-pad to lircd.conf.
Btw, the default lircd.conf.
Changed in lirc: | |
status: | Fix Released → In Progress |
slyhne (soeren-zurf) wrote : | #7 |
Hi
I can confirm that Andreas' fixed patch works.
Thank you very much.
Changed in lirc: | |
assignee: | nobody → superm1 |
beniwtv (beniwtv-deactivatedaccount) wrote : | #8 |
Nice! Seems to work here... Will there be an updated package?
Mario Limonciello (superm1) wrote : | #9 |
Not sure yet about a hardy package, but the fix will be in intrepid.
On Fri, May 16, 2008 at 10:45 AM, Benedikt Bär <email address hidden> wrote:
> Nice! Seems to work here... Will there be an updated package?
>
> --
> lirc needs pad2keys patch included
> https:/
> You received this bug notification because you are a member of MythTV
> Ubuntu Maintainers, which is subscribed to lirc in ubuntu.
>
--
Mario Limonciello
<email address hidden>
Mario Limonciello (superm1) wrote : | #10 |
committed to bzr.
Changed in lirc: | |
status: | In Progress → Fix Committed |
Launchpad Janitor (janitor) wrote : | #11 |
This bug was fixed in the package lirc - 0.8.3-0ubuntu1
---------------
lirc (0.8.3-0ubuntu1) intrepid; urgency=low
* New upstream version.
* Drop 05_fix_cmdir as it's now included in CVS.
* Update 12_pvr150_
script changes.
* Update 13-warning-cleanup to change from whitespace
changes from CVS.
* Update 16_lirc-gpio for changes from CVS.
* Update 23_pad2keys for changes from CVS.
* Update 24_freecom_dvbt for changes from CVS.
* Drop 25_upstream_2_6_24 as it's now included from CVS.
* Drop 29_macmini_repeat as it's now included from CVS.
* Update 30_medion_
* Update 33_asus_
* Update 23_pad2keys patch to properly work (LP: #153184)
* Update 21_atiusb.dpatch because it's half upstream now (LP: #213549)
* Add 23_remove_md8800 as the MD8800 remote is causing problems. (LP: #213549)
* debian/
- Default the mode to be w/ soft carrier. (LP: #182530)
* Update 31_hauppauge_
* Add 34_nebula_
* Add 35_general_
* Add 36_remove_
This option was causing lots of failures (LP: #211566)
* debian/
- Allow the kernel version to be passed as an argument.
prevents broken upgrades when the kernel ABI revs (LP: #218955)
* debian/
- Check for both remove and upgrade.
-- Mario Limonciello <email address hidden> Sat, 10 May 2008 16:07:40 -0500
Changed in lirc: | |
status: | Fix Committed → Fix Released |
ronzo (ronaldw) wrote : | #12 |
Could anyone explain the dkms-rebuild procedure for the patch posted by Andreas Neuhaus?
1) Install lirc-modules-source
2) patch /usr/src/
3) install dkms
4) how to rebuild lirc? how do I do this properly?
slyhne (soeren-zurf) wrote : | #13 |
Hi
This is what you have to do in order to get the pad working in Hardy:
Install lirc sources and dkms
Code:
sudo apt-get install dkms lirc-modules-source
Copy the patch file (lirc-0.
Code:
cp (path)/
Patch the source
Code:
cd /usr/src/
sudo patch -p1 < ../lirc-
Build and install lirc using dkms
Code:
sudo dkms remove -m lirc -v 0.8.3~pre1 --all
sudo dkms add -m lirc -v 0.8.3~pre1
sudo dkms build -m lirc -v 0.8.3~pre1
sudo dkms install -m lirc -v 0.8.3~pre1
Activate patch
Code:
sudo pico /etc/modprobe.
Add the following line to the end of this file
Quote:
options lirc_imon pad2keys_active=1
Then a reboot, and you ready to navigate MythTV usin the pad.
Have fun
slyhne
slyhne (soeren-zurf) wrote : | #14 |
Hi
This is what you have to do in order to get the pad working in Hardy:
Install lirc sources and dkms
Code:
sudo apt-get install dkms lirc-modules-source
Copy the patch file (lirc-0.
Code:
cp (path)/
Patch the source
Code:
cd /usr/src/
sudo patch -p1 < ../lirc-
Build and install lirc using dkms
Code:
sudo dkms remove -m lirc -v 0.8.3~pre1 --all
sudo dkms add -m lirc -v 0.8.3~pre1
sudo dkms build -m lirc -v 0.8.3~pre1
sudo dkms install -m lirc -v 0.8.3~pre1
Activate patch
Code:
sudo pico /etc/modprobe.
Add the following line to the end of this file
Quote:
options lirc_imon pad2keys_active=1
Then a reboot, and you ready to navigate MythTV using the pad.
Have fun
slyhne
ronzo (ronaldw) wrote : | #15 |
After patching lirc, vdr-plugins-lcdproc does not work anymore.
ronzo (ronaldw) wrote : | #16 |
Adding "islcd=0" to "options lirc_imon pad2keys_active=1" in /etc/modprobe.
Anders Häggström (hagge) wrote : | #17 |
Hi,
I am trying to get my iMon-Pad working with Mythbuntu 8.10, so far without luck.. My installation is fully updated as of today.
"$ aptitude show lirc" gives the following version output: "0.8.3-0ubuntu2"
"$ dmesg | grep imon" gives the following: "lirc_imon: Driver for Soundgraph iMON MultiMedia IR/VFD w/imon pad2keys patch, v0.3p2k"
If I select "Soundgraph iMON MultiMedian IR/VFD" in Mythbuntu controlcenter, no keybindings work with MythTV and irw can connect but does not respond to anything.
If I instead select "Soundgraph iMON PAD IR/VFD" in Mythbuntu controlcenter, the keybindings work with MythTV and irw can connect and respond to almost every keys (exept pad and powerbutton).
When I put "options lirc_imon pad2keys_active=1" in /etc/modprobe.
If I run mode2 as root and pushing the Pad-keys I get the following response, but irw can still not recognize the Pad-keys:
# mode2 -d /dev/lirc0
code: 0x690281b7
code: 0x688a81b7
code: 0x688291b7
code: 0x6a8281b7
code: 0x6a8281b7
code: 0x6a8281b7
code: 0x690281b7
code: 0x688a81b7
code: 0x688291b7
code: 0x6a8281b7
code: 0x6a8281b7
code: 0x688a81b7
code: 0x688a81b7
code: 0x688291b7
code: 0x6a8281b7
code: 0x690281b7
code: 0x688a81b7
code: 0x688a81b7
code: 0x6a8281b7
code: 0x6a8281b7
code: 0x690281b7
code: 0x688a81b7
code: 0x6a8281b7
code: 0x690281b7
Can someone tell me what I am missing?
marcos (htpc) wrote : | #18 |
Hi guys
@Anders: Did you get your iMon-Pad to work?
If yes, can you tell me the steps to follow please?
Regards,
Marcos
Fabian (ritzmann-extern+ubuntu) wrote : | #19 |
Besides the pad2keys_active option, I had to edit the /etc/lircd.conf file to make this work. My iMon PAD identifies with:
ID 15c2:ffdc SoundGraph Inc. iMON PAD Remote Controller
Copy /usr/share/
# Corrin added
Space 0x2B9B15F7
Up 0xEB53F9B7
Left 0x6ABAFFBF
Down 0x6F9ECBB7
Right 0x69A281B7
with this:
# pad2keys patch
Mouse_N 0x690281B7
Mouse_S 0x688291B7
Mouse_W 0x6A8281B7
Mouse_E 0x688A81B7
You can of course use different names for the keycodes if you like. The ones I am using are from an old version of the pad2keys patch.
This patch only affects the imon pad driver. Should not affect any others, and can't imagine it makes the situation worse.