lircd doesn't find dvico usb IR remote device correctly (expects /dev/lirc)

Bug #238032 reported by David Dean
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Mythbuntu
Expired
Low
Mario Limonciello
lirc (Ubuntu)
Invalid
Low
Mario Limonciello

Bug Description

Binary package hint: lirc

A while back my DVICO usb (sometime during gutsy) remote stopped working, and I have only got around to fixing it on my upgraded hardy system.

It appears that the dvico usb remote creates a device on /dev/usb/hiddev1, but lircd expects the remote to be on /dev/lirc , and as a result I could no longer control my mythbuntu installation with the remote control.

After a bit of googling ( http://gentoo-wiki.com/HOWTO_LIRC#DVICO_FusionHDTV_DVB-T_Plus_IR_Remote ) and 'cat /dev/usb/hiddev1' revealed the real address of the remote. In order to work around this problem I edited /etc/lirc/hardware.conf and replaced REMOTE_DEVICE="" with REMOTE_DEVICE="/dev/usb/hiddev1".

I've only got irw to work at this stage, but getting the media centre control back shouldn't be too hard from here in.

I'm not sure what files may be useful in diagnosing this problem, so please let me know what would help and I can add it here.

(dmesg output from connection)
[57662.280194] usb 6-2: new low speed USB device using ohci_hcd and address 4
[57662.528453] usb 6-2: configuration #1 chosen from 1 choice
[57662.499406] hiddev97hidraw3: USB HID v1.10 Device [DVICO DVICO USB HID Remocon V5.00] on usb-0000:00:13.4-2

Related branches

Revision history for this message
Mario Limonciello (superm1) wrote :

Can you elaborate which type of lirc device you chose? Please post that functional hardware.conf so we can get a better idea on the proper total solution.

Changed in mythbuntu:
status: New → Incomplete
Changed in lirc:
status: New → Incomplete
Revision history for this message
David Dean (ddean-ieee) wrote :

I have attached a copy of lsusb -v on the device in question (it is a DVICO USB HID Remocon V5.00) and the new hardware.conf as well as backed up versions of hardware.conf in case they are relevant to the problem.

Changed in lirc:
status: Incomplete → New
Changed in mythbuntu:
status: Incomplete → New
Changed in lirc:
importance: Undecided → Low
Changed in mythbuntu:
importance: Undecided → Low
Revision history for this message
Mario Limonciello (superm1) wrote :

fixed in bzr #28

Changed in mythbuntu:
assignee: nobody → superm1
status: New → Fix Committed
Changed in lirc:
assignee: nobody → superm1
status: New → Fix Committed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package lirc - 0.8.3-0ubuntu2

---------------
lirc (0.8.3-0ubuntu2) intrepid; urgency=low

  * debian/patches/25_upstream_2.6.26.patch:
    - Fix lirc-modules-source compilation on 2.6.26 by pulling some
      patches from CVS (LP: #247233)
  * debian/rules:
    - Install original modules back into proper location for
      intrepid kernel (LP: #242216)
  * debian/patches/37_msi_tv_anywhere.dpatch:
    - Create patch for supporting MSI TV @anywhere remote. (LP: #241830)
  * debian/lirc.postinst:
    - Correct path to look for module in Intrepid.
    - Ask for a path when using dvico remotes. (LP: #238032)
    - Don't accidentally overwrite lircd.conf and hardware.conf
      when things haven't really changed at all. (LP: #206609)
  * debian/lirc.init.d:
    - Don't allow udev to put us into endless spinning loops. Instead
      pray that module hotplugging worked for all things USB. (LP: #269743)
  * debian/lirc.fdi:
    - Include this FDI file to prevent in kernel support for the
      saa7134 when LIRC is installed. (LP: #204960, #164627)
  * debian/rules:
    - Install FDI file.
  * debian/lirc.install:
    - List FDI file.
  * debian/patches/22_hauppauge_novat_500.dpatch:
    - Adapt to include alternative numeric keys. (LP: #224080)
  * debian/patches/25_upstream_2.6.27.dpatch:
    - Update to content that is currently sitting in Ubuntu GIT
      tree.

 -- Mario Limonciello <email address hidden> Wed, 24 Sep 2008 12:02:17 -0500

Changed in lirc:
status: Fix Committed → Fix Released
Changed in mythbuntu:
status: Fix Committed → Fix Released
Revision history for this message
Justin Smith (justin-smithpolglase) wrote :

This problem still exists for me (Mythbuntu Intrepid AMD64) in lirc 0.8.3-0ubuntu2.

I chose the Dvico USB IR as part of the install configuration.

Editing /etc/lirc/hardware.conf to set REMOTE_DEVICE to /dev/usb/hiddev0 (was /dev/lirc0) fixed the problem.

Output of lsusb -v for the USB IR is attached.

Revision history for this message
David Dean (ddean-ieee) wrote :

I just did a clean install of mythbuntu 8.10 on the machine in question, and I'm not sure that the solution listed above is an adequate one to the problem.

When installing I was asked where the device for the remote was located and two choices were given (one was /dev/usb/hiddev0 and I cannot remember the other - probably /dev/lirc I guess). How is the average user supposed to be able to answer this question? I can only answer because of a fair bit of googling I did back when I submitted this bug report.

Surely this can be determined automatically in some manner to avoid asking questions the user will be unable to give an answer for? In my case only one of the listed devices actually existed in /dev anyway, so what was the point of asking the question?

Revision history for this message
Mario Limonciello (superm1) wrote :

So there are a few messy parts to this bug. The first one is that the mythbuntu installer doesn't propose that question and neither does MCC.

The other part is that when it's posed via debconf, you don't know a lot of the information you need to about the device. We'll see if there is anything more that can be done about all these.

Changed in lirc:
status: Fix Released → Triaged
Changed in mythbuntu:
status: Fix Released → Triaged
Revision history for this message
Thomas Mashos (tgm4883) wrote :

Marking incomplete as this release isn't supported anymore. Can anyone confirm that this issue is still present on a supported Mythbuntu/MythTV release?

Changed in mythbuntu:
status: Triaged → Incomplete
Thomas Mashos (tgm4883)
Changed in mythbuntu:
status: Incomplete → Expired
Revision history for this message
Alec Leamas (leamas-alec) wrote :

Same expired goes for lirc...

Changed in lirc (Ubuntu):
status: Triaged → Incomplete
Revision history for this message
Alec Leamas (leamas-alec) wrote :

..unless there is more input

Revision history for this message
Alec Leamas (leamas-alec) wrote :

expiring manually

Changed in lirc (Ubuntu):
status: Incomplete → Invalid
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.