missing support for some LIRC devices

Bug #927526 reported by Sebastien JAN
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Linaro Ubuntu
Fix Released
Medium
Ricardo Salveti
linux-ti-omap4 (Ubuntu)
Fix Released
Undecided
Unassigned
Oneiric
Fix Released
Undecided
Unassigned

Bug Description

The following issue was reported on the Pandaboard mailing list by Raju in the "LIRC installation is failed on both Ubuntu-11.10 and Linaro-Ubuntu" topic:
<<< Start of quote ---
On my PanadaBoard, RevA2. I am trying to enable USB based Remote
(MCE).
While installing LIRC, I am getting following errors.

/lib/module/3.1.0-1282-omap4/kernel/drivers/staging/lirc: not found
/lib/module/3.1.0-1282-omap4/kernel/drivers/media/rc: not found

I tried this on both Ubuntu-11.10 and Linaro-Ubuntu-12.01.
Issue is same on both.

--- end of quote >>>

After quick verification, it appears the LIRC_STAGING kernel flag (and it's dependents) is disable in the ti-omap4 defconfig, while it's enabled for other configurations (see debian.master/config/config.common.ubuntu).

The kernel version reported above is from a kernel in the TI public ppa, but the LIRC kernel configuration is aligned with the official Ubuntu one, so the same problem shall appear on boths.

I'm not sure about the drivers/media/rc error though...

Revision history for this message
Sebastien JAN (sebjan) wrote :

Enabling LIRC_STAGING is not enough, flag IR_MCEUSB is also missing.

With these 2 kernel flags enabled, the lirc package install succeeds.

However, there is still an outstanding issue reported on pandaboard list when testing:

<<< Start of quote ---

But, I am unable to record remote key strokes using "irw" (which is in-
built command of LIRC).
And also, "/dev/lirc0" is not there which is require for "/etc/lirc/
hardware.conf".

On my Desktop (X86), I am able to record remote key strokes in
Ubuntu-11.10 with LIRC.
There I am able to see "/dev/lirc0" too.

--- end of quote >>>

Revision history for this message
Sebastien JAN (sebjan) wrote :

Issue finally fixed by setting rc_core as a module.

As as summary, the following flags shall be enabled:
LIRC_STAGING=y
IR_MCEUSB=m (and the others IR modules at the same level)
RC_CORE=m (=> LIRC=m)

See the config related patches as applied on (TI) 3.1 based kernel tree:
http://dev.omapzoom.org/?p=integration/kernel-ubuntu.git;a=commitdiff;h=0e65eff42a9865e427dcac11ad0e4e1f3cd170c4
http://dev.omapzoom.org/?p=integration/kernel-ubuntu.git;a=commitdiff;h=2ef080a1dc064bb635ffab76100818ba1bdd4827
http://dev.omapzoom.org/?p=integration/kernel-ubuntu.git;a=commitdiff;h=83df23860a518b680a5ecba02dc6896194bf3050

Revision history for this message
Paolo Pisati (p-pisati) wrote :

it seems we were missing the LIRC modules - here is a Precise kernel with all LIRC modules:

http://people.canonical.com/~ppisati/linux-image-3.2.0-1405-omap4_3.2.0-1405.7~lirc_armel.deb

Revision history for this message
Launchpad Janitor (janitor) wrote :
Download full text (8.6 KiB)

This bug was fixed in the package linux-ti-omap4 - 3.2.0-1406.8

---------------
linux-ti-omap4 (3.2.0-1406.8) precise; urgency=low

  [ Paolo Pisati ]

  * [Config] updateconfigs after CMA revert
  * [Config] Turn on all LIRC modules
    - LP: #927526
  * rebased on 3.2.0-16.25

  [ Upstream Kernel Changes ]

  * ASoC: ABE: disable 16bits support on MM_UL path
  * ASoC: ABE - Fix L3 abort with Pulseaudio device capabilities check

  [ Ubuntu: 3.2.0-16.25 ]

  * d-i -- include the Hyper-V drivers in the virtio udeb
    - LP: #917135
  * (pre-stable): ath9k_hw: fix a RTS/CTS timeout regression
    - LP: #925602
  * SAUCE: drm/i915: Force explicit bpp selection for
    intel_dp_link_required
    - LP: #745112, #912387, #917330
  * Fix typo in generic-pae description
    - LP: #928448
  * Rebase to v3.2.6
  * procfs: parse mount options
    - CVE-2011-4917
  * procfs: add hidepid= and gid= mount options
    - CVE-2011-4917
  * proc: fix null pointer deref in proc_pid_permission()
    - CVE-2011-4917
  * xhci: Remove warnings about MSI and MSI-X capabilities.
    - LP: #929656
  * xhci: Remove scary warnings about transfer issues.
    - LP: #929656
  * x86, mce, therm_throt: Don't report power limit and package level
    thermal throttle events in mcelog
    - LP: #930288
  * rebase to v3.2.6
    - LP: #924320
    - LP: #918254

  [ Ubuntu: 3.2.0-15.24 ]

  * Add CONFIG_THERM_ADT746X=y to config enforcer for powerpc and
    powerpc-smp flavours
    - LP: #923094
  * SAUCE: acer-wmi: support for P key on TM8372
    - LP: #865807
  * [Config] Rebase to v3.2.5
  * [Config] CONFIG_THERM_ADT746X=y
    - LP: #923094
  * rebase to v3.2.5

  [ Ubuntu: 3.2.0-14.23 ]

  * debian -- add usage help to insert-mainline-changes
  * [Config] Rebase to v3.2.3
  * Revert "ASoC: Don't go through cache when applying WM5100 rev A
    updates"
  * Revert "ASoC: Mark WM5100 register map cache only when going into
    BIAS_OFF"
  * rebase to v3.2.3

  [ Ubuntu: 3.2.0-13.22 ]

  * (pre-stable): drm/radeon/kms: move panel mode setup into encoder mode
    set
    - LP: #925538
  * (pre-stable): drm/radeon/kms: rework modeset sequence for DCE41 and
    DCE5
    - LP: #925538
  * [Config] review IPv6 configuration options and enable
  * SAUCE: ALSA: HDA: Remove quirk for Toshiba Qosmio G50
    - LP: #923316
  * SAUCE: ALSA: HDA: Fix jack creation for codecs with front and rear Line
    In
    - LP: #923409
  * SAUCE: Bluetooth: Add support for BCM20702A0 [0a5c:21e6]
    - LP: #906832
  * SAUCE: Bluetooth: Add support for BCM20702A0 [0a5c:21e1]
    - LP: #906832
  * SAUCE: Add vendor specific ID (0a5c 21f3) for BCM20702A0.
    - LP: #925552
  * (pre-stable): drm/radeon/kms: disable output polling when suspended
    - LP: #925570
  * [Config] CONFIG_BLK_DEV_PCIESSD_MTIP32XX=m
    - LP: #922221
  * [Config] Add mtip32xx to d-i block modules
    - LP: #922221
  * [Config] Enable USB3.0 in d-i
  * block: Add driver for Micron RealSSD pcie flash cards
    - LP: #922221
  * mtip32xx: fix warnings/errors on 32-bit compiles
    - LP: #922221
  * mtip32xx: cleanup compat ioctl handling
    - LP: #922221
  * mtip32xx: ensure that all local functions are static
    - LP: #922221
  * mti...

Read more...

Changed in linux-ti-omap4 (Ubuntu):
status: New → Fix Released
Tim Gardner (timg-tpi)
Changed in linux-ti-omap4 (Ubuntu Oneiric):
status: New → Fix Committed
Changed in linaro-ubuntu:
status: New → In Progress
importance: Undecided → Medium
assignee: nobody → Ricardo Salveti (rsalveti)
Changed in linaro-ubuntu:
status: In Progress → Fix Released
Revision history for this message
Herton R. Krzesinski (herton) wrote :

This bug is awaiting verification that the kernel for Oneiric in -proposed solves the problem (linux-ti-omap4 3.0.0-1207.17). Please test the kernel and update this bug with the results. If the problem is solved, change the tag 'verification-needed-oneiric' to 'verification-done-oneiric'.

If verification is not done by one week from today, this fix will be dropped from the source code, and this bug will be closed.

See https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to enable and use -proposed. Thank you!

tags: added: verification-needed-oneiric
Revision history for this message
Herton R. Krzesinski (herton) wrote :

@Sebastien JAN: can you check if linux-ti-omap4 3.0.0-1207.17 in -proposed is ok? (or ask someone which is affected to test it)

Revision history for this message
Sebastien JAN (sebjan) wrote :

@Herton: I don't have any LIRC device at hand, but just asked the person I was supporting to make a test.

Revision history for this message
Herton R. Krzesinski (herton) wrote :

@Sebastien: any news?

Revision history for this message
Sebastien JAN (sebjan) wrote :

@Herton: I am still waiting for the test results (I provided guidelines and the guy told me he would make the test). I'll keep you posted as soon as I get something.

Revision history for this message
Herton R. Krzesinski (herton) wrote :

Ok. We are marking as verified, since it's just config options and they are enabled now on the new kernel, these were the options turned on:

CONFIG_IR_IMON=m
CONFIG_IR_MCEUSB=m
CONFIG_IR_REDRAT3=m
CONFIG_IR_STREAMZAP=m
CONFIG_LIRC_IGORPLUGUSB=m
CONFIG_LIRC_IMON=m
CONFIG_LIRC_PARALLEL=m
CONFIG_LIRC_SASEM=m
CONFIG_LIRC_SERIAL=m
CONFIG_LIRC_SERIAL_TRANSMITTER=y
CONFIG_LIRC_SIR=m
CONFIG_LIRC_STAGING=y
CONFIG_LIRC_TTUSBIR=m
CONFIG_LIRC_ZILOG=m
CONFIG_RC_LOOPBACK=m

In case anything was missing, please report here.

tags: added: verification-done-oneiric
removed: verification-needed-oneiric
Revision history for this message
Launchpad Janitor (janitor) wrote :
Download full text (26.1 KiB)

This bug was fixed in the package linux-ti-omap4 - 3.0.0-1207.17

---------------
linux-ti-omap4 (3.0.0-1207.17) oneiric-proposed; urgency=low

  * Release Tracking Bug
    - LP: #932512

  [ Paolo Pisati ]

  * [Config] enable all LIRC modules
    - LP: #927526
  * rebased on Ubuntu-3.0.0-16.29

  [ Ubuntu: 3.0.0-16.29 ]

  * Release Tracking Bug
    - LP: #931661
  * SAUCE: Bluetooth: Add support for BCM20702A0 [0a5c:21e6]
    - LP: #906832
  * SAUCE: Bluetooth: Add support for BCM20702A0 [0a5c:21e1]
    - LP: #906832
  * SAUCE: acer-wmi: support for P key on TM8372
    - LP: #865807
  * SAUCE: Add vendor specific ID (0a5c 21f3) for BCM20702A0
    - LP: #925552
  * Revert "(pre-stable) HID: bump maximum global item tag report size to
    96 bytes"
    - LP: #922799
  * Revert "Revert "proc: enable writing to /proc/pid/mem""
    - LP: #922799
  * mtdoops: fix the oops_page_used array size
    - LP: #922799
  * mtd: mtdoops: skip reading initially bad blocks
    - LP: #922799
  * mtd: mtd_blkdevs: don't increase 'open' count on error path
    - LP: #922799
  * mtd: tests: stresstest: bail out if device has not enough eraseblocks
    - LP: #922799
  * drivers/rtc/interface.c: fix alarm rollover when day or month is
    out-of-range
    - LP: #922799
  * ext4: fix undefined behavior in ext4_fill_flex_info()
    - LP: #922799
  * ALSA: snd-usb-us122l: Delete calls to preempt_disable
    - LP: #922799
  * ALSA: ice1724 - Check for ac97 to avoid kernel oops
    - LP: #922799
  * ALSA: hda - Return the error from get_wcaps_type() for invalid NIDs
    - LP: #922799
  * drm/radeon/kms: workaround invalid AVI infoframe checksum issue
    - LP: #922799
  * drm/radeon/kms: disable writeback on pre-R300 asics
    - LP: #922799
  * radeon: Fix disabling PCI bus mastering on big endian hosts.
    - LP: #922799
  * NFS: Retry mounting NFSROOT
    - LP: #922799
  * NFSv4.1: fix backchannel slotid off-by-one bug
    - LP: #922799
  * nfs: fix regression in handling of context= option in NFSv4
    - LP: #922799
  * HID: bump maximum global item tag report size to 96 bytes
    - LP: #724831, #922799
  * UBI: fix missing scrub when there is a bit-flip
    - LP: #922799
  * UBI: fix use-after-free on error path
    - LP: #922799
  * PCI: Fix PCI_EXP_TYPE_RC_EC value
    - LP: #922799
  * PCI: msi: Disable msi interrupts when we initialize a pci device
    - LP: #922799
  * x86/PCI: Ignore CPU non-addressable _CRS reserved memory resources
    - LP: #922799
  * x86/PCI: build amd_bus.o only when CONFIG_AMD_NB=y
    - LP: #922799
  * SCSI: mpt2sas: Release spinlock for the raid device list before
    blocking it
    - LP: #922799
  * SCSI: mpt2sas : Fix for memory allocation error for large host credits
    - LP: #922799
  * xen/xenbus: Reject replies with payload > XENSTORE_PAYLOAD_MAX.
    - LP: #922799
  * ima: free duplicate measurement memory
    - LP: #922799
  * ima: fix invalid memory reference
    - LP: #922799
  * rtl8192se: Fix BUG caused by failure to check skb allocation
    - LP: #922799
  * mac80211: fix rx->key NULL pointer dereference in promiscuous mode
    - LP: #922799
  * memcg: add mem_cgroup_replace_page_cache() to fix LRU issue
    - LP: #92...

Changed in linux-ti-omap4 (Ubuntu Oneiric):
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.