Cory Coager | 2 Dec 04:18 2011
Picon

irsend: busy: repeating

Once in awhile I see this error from irexec when executing irsend commands:

irsend: command failed: send_once denon-avr3805 Vol-
irsend: busy: repeating

Any idea why this is happening and how to stop it from happening?

I am using lircd 0.9.0 with commandIR.

------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure 
contains a definitive record of customers, application performance, 
security threats, fraudulent activity, and more. Splunk takes this 
data and makes sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-novd2d

Martin T Jones | 2 Dec 18:09 2011
Picon

Re: Subject: LIRC over audio port not working on Ubuntu 11.10

On 22/11/11 14:27, vaton wrote:
> But another problem here, this time with the parport layer.
> If I compare results of the pulse-space timing measurements made using
> lirc_audio driver
> with results got using modified lirc_parallel driver, difference is
> striking. While pulse-space measurements
> made by lirc_audio differ are unbelievably precise (+/- 10us), measurements
> based on the parport interrupt are almost unacceptable. See the following
> example:
>
> Pulse widths recorded using audio driver:
>
> 458  458  479  458  458  458  458  458  479  458  458  458  458
> 458  458  479  458  458  458 458  458  458  479  458  458  458  458
>    
This is because the audio hardware samples the demodulated IR signal;
Sample period at 48kHz is 20.8us, 479 - 458 = 21.
The audio driver transfers the data which is buffered by the hardware so 
interrupt response time does not effect the timing measurements.
> and recorded using parallel&  lirc_dev driver (same remote and button,
> sorted by value):
>
> 658  636  633  608  576  546  518  514  501  498  497  497  495
> 493  493  493  493  493  492  492  491  491  487  444  442  381 332
>
> This makes decoding very unreliable. Without increasing eps and aeps in the
> lirc.conf
> almost all button presses fail. Even with eps=50 and aeps=150 many presses
> fail.
>
(Continue reading)

Dirk Vornheder | 5 Dec 15:33 2011
Picon

Compile lirc fails

Hi !

I use openSUSE 12.1 with kernel 3.1.0.

Compile of latest lirc version from git fails:

./configure --prefix=/usr --with-driver=hauppauge

checking for mktemp... yes
checking for Linux kernel sources... /tmp/LIRCMF.Nhroc9:36: warning: 
overriding recipe for target `lirc_tell_me_what_version_is'
/tmp/LIRCMF.Nhroc9:31: warning: ignoring old recipe for target 
`lirc_tell_me_what_version_is'
make[2]: *** No rule to make target `lirc_tell_me_what_version_is'.  Stop.
make[1]: *** [sub-make] Error 2
make: *** [all] Error 2
/tmp/LIRCMF.Nhroc9:38: warning: overriding recipe for target 
`lirc_tell_me_what_patchlevel_is'
/tmp/LIRCMF.Nhroc9:31: warning: ignoring old recipe for target 
`lirc_tell_me_what_patchlevel_is'
make[2]: *** No rule to make target `lirc_tell_me_what_patchlevel_is'. 
Stop.
make[1]: *** [sub-make] Error 2
make: *** [all] Error 2
./configure: line 13353: test: too many arguments
/lib/modules/3.1.0-1.2-desktop/build/
checking for which drivers can be installed on this system...
checking for caraca_init in -lcaraca_client... no
checking ftdi.h usability... no
checking ftdi.h presence... no
(Continue reading)

fRANz | 5 Dec 18:18 2011
Picon

Trouble with PHILIPS MCE USB IR Receiver Spinel plusf0r ASUS

Hi!
I try to configure lirc to works with a PHILIPS MCE USB IR Receiver-
Spinel plusf0r ASUS (from an EEE Box B206).

The box is a Debian wheezy:
Linux 3.0.0-1-686-pae #1 SMP i686 GNU/Linux

I tried deb package (0.9.0 pre 1-1) and lirc-0.9.0.tar.bz2 one from
lirc site, too:
I don't know which configuration to use (lircd.conf and hardware.conf)
to make lirc functional; every time I started lirc I got:

# /etc/init.d/lirc start
Starting remote control daemon(s) : LIRC : failed!

I also tried notes in this link:

http://wiki.xbmc.org/index.php?title=HOW-TO:Install_Ubuntu_and_XBMC_on_Asus_EeeBox_PC_EB1501

but seems too old for my OS version (there's no lirc-modules-source
package, for example).
Which driver from http://www.lirc.org/html/table.html have I to use?
Is there any recent guide to configure my device?

Let me know if futher information are required.
BR,

------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure 
contains a definitive record of customers, application performance, 
(Continue reading)

Christopher Peters | 6 Dec 22:35 2011

LIRC and ShuttlePro V2?

I have a Contour Designs ShuttlePro V2 (usb jog wheel / dial with several buttons, see
http://retail.contourdesign.com/?/products/23) that I'd like to use with MythTV.  I'm thinking about
doing it via LIRC based on the thread here:
http://www.gossamer-threads.com/lists/mythtv/dev/272528 

I've generated a LIRC config file for it, but looking at it, I don't see much difference between buttons. 
Before I go much further with this, is this an appropriate use for LIRC?  The device isn't connected via IR at
all, and it has a wheel and a dial.  Can LIRC provide support for both the wheel and the dial?

I've attached the LIRC config file I generated.  i've also attached the output from evtest
(http://people.freedesktop.org/~whot/evtest/) to show what the kernel sees from the device.

KP

Kit Peters (W0KEH), Engineer II
KMOS TV Channel 6 / KTBG 90.9 FM
University of Central Missouri
http://kmos.org/ | http://ktbg.fm/ 

------------------------------------------------------------------------------
Cloud Services Checklist: Pricing and Packaging Optimization
This white paper is intended to serve as a reference, checklist and point of 
discussion for anyone considering optimizing the pricing and packaging model 
of a cloud services business. Read Now!
http://www.accelacomm.com/jaw/sfnl/114/51491232/

Garry Doucette | 7 Dec 00:21 2011
Picon

HDPVR Blaster and Serial Blaster Configuration

Hi Guys

I'm having to resort to asking for help on the mailing after Googling and
studying for hours trying to find information on getting an HDPVR blaster
and a serial blaster to work together.

I have two Motorolla satellite receivers. One is used for live TV and the
other is connected to MythTV so I need two different devices controlling
each box.

I recently upgraded to Ubuntu 11.04 to take advantage of the HDPVR plug and
play in the newer kernel, which was nice.

root <at> Misterhouse:~# uname -r
2.6.38-12-generic-pae

I can configure lirc easily to control one or the other devices separately
but I'm at a loss as to how to configure lirc to work with both of them.
Right now I have the HDPVR blasting from Mythtv and that's working fine.

Here's my current hardware.conf:

REMOTE="None"
REMOTE_MODULES=""
REMOTE_DRIVER=""
REMOTE_DEVICE=""
REMOTE_SOCKET=""
REMOTE_LIRCD_CONF=""
REMOTE_LIRCD_ARGS=""
TRANSMITTER="HD PVR"
(Continue reading)

Garry Doucette | 7 Dec 06:33 2011
Picon

RE: HDPVR Blaster and Serial Blaster Configuration

After a bit more digging I finally got it. I indeed had to set up another
instance of lircd. I got it going based loosely on this guide.

http://www.mythtv.org/wiki?title=Multiple_LIRC_Drivers&redirect=no

Here's my new hardware.conf

REMOTE="None"
REMOTE_MODULES=""
REMOTE_DRIVER=""
REMOTE_DEVICE=""
REMOTE_SOCKET=""
REMOTE_LIRCD_CONF=""
REMOTE_LIRCD_ARGS=""
TRANSMITTER="HD PVR"
TRANSMITTER_MODULES="lirc_dev lirc_zilog"
TRANSMITTER_DRIVER=""
TRANSMITTER_DEVICE="/dev/lirc0"
TRANSMITTER_SOCKET="/var/run/lirc/lircd"
TRANSMITTER_LIRCD_CONF="/etc/lirc/lircd.conf"
TRANSMITTER_LIRCD_ARGS=""

TRANSMITTER2="Serial"
TRANSMITTER2_MODULES="lirc_dev lirc_serial"
TRANSMITTER2_DRIVER=""
TRANSMITTER2_DEVICE="/dev/lirc1"
TRANSMITTER2_SOCKET="/var/run/lirc/lircd1"
TRANSMITTER2_LIRCD_CONF="/etc/lirc/lircd.conf"
TRANSMITTER2_LIRCD_ARGS=""

(Continue reading)

Eugene Zagidullin | 8 Dec 14:24 2011
Picon

[PATCH] Dynamic uinput keys mapping based on config

Hello,

Current uinput code creates event device with static event list
KEY_RESERVED...KEY_UNKNOWN so codes >KEY_UNKNOWN can't be used. I
suggest populating evdev with events mentioned in config file.
Attached patch against lirc-0.9.0.

Best regards,
Eugene.
Attachment (lirc-evdev.patch): text/x-patch, 1920 bytes
------------------------------------------------------------------------------
Cloud Services Checklist: Pricing and Packaging Optimization
This white paper is intended to serve as a reference, checklist and point of 
discussion for anyone considering optimizing the pricing and packaging model 
of a cloud services business. Read Now!
http://www.accelacomm.com/jaw/sfnl/114/51491232/
Bob Lightfoot | 13 Dec 22:18 2011
Picon

Kernel Module fails to load

I am running an HP Pavillion Elite M9040n PC with Hauppage HVR-1850 and Hauppage Win-TV-HVR-1600 cards installed.  It works fine with mythtv but I've been trying to get the infrared remote control.  Running irw and pressing a key on the remote produces no output but the red led on the tower does flash.  The lircd daemon is started and running.

uname -a output is
[quote]
Linux mythbox.ladodomain 2.6.32-131.21.1.el6.x86_64 #1 SMP Tue Nov 22 19:48:09 GMT 2011 x86_64 x86_64 x86_64 GNU/Linux
[/quote]

lsusb returns the following:
[quote]
Bus 002 Device 005: ID 147a:e018 Formosa Industrial Computing, Inc. eHome Infrared Receiver
Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB               2.00
  bDeviceClass            0 (Defined at Interface level)
  bDeviceSubClass         0
  bDeviceProtocol         0
  bMaxPacketSize0         8
  idVendor           0x147a Formosa Industrial Computing, Inc.
  idProduct          0xe018 eHome Infrared Receiver
  bcdDevice            0.60
  iManufacturer           1
  iProduct                2
  iSerial                 3
  bNumConfigurations      1
  Configuration Descriptor:
    bLength                 9
    bDescriptorType         2
    wTotalLength           57
    bNumInterfaces          2
    bConfigurationValue     1
    iConfiguration          0
    bmAttributes         0xa0
      (Bus Powered)
      Remote Wakeup
    MaxPower              100mA
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        0
      bAlternateSetting       0
      bNumEndpoints           2
      bInterfaceClass       255 Vendor Specific Class
      bInterfaceSubClass    255 Vendor Specific Subclass
      bInterfaceProtocol    255 Vendor Specific Protocol
      iInterface              0
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x81  EP 1 IN
        bmAttributes            3
          Transfer Type            Interrupt
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0008  1x 8 bytes
        bInterval               8
     Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x02  EP 2 OUT
        bmAttributes            3
          Transfer Type            Interrupt
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0008  1x 8 bytes
        bInterval               8
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        1
      bAlternateSetting       0
      bNumEndpoints           1
      bInterfaceClass         3 Human Interface Device
      bInterfaceSubClass      1 Boot Interface Subclass
      bInterfaceProtocol      1 Keyboard
      iInterface              0
        HID Device Descriptor:
          bLength                 9
          bDescriptorType        33
          bcdHID               1.00
          bCountryCode            0 Not supported
          bNumDescriptors         1
          bDescriptorType        34 Report
          wDescriptorLength      30
         Report Descriptors:
           ** UNAVAILABLE **
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x83  EP 3 IN
        bmAttributes            3
          Transfer Type            Interrupt
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0008  1x 8 bytes
        bInterval              10
can't get device qualifier: Operation not permitted
can't get debug descriptor: Operation not permitted
cannot read device status, Operation not permitted (1)
[/quote]

I think the kernel module is not loading because dmesg | grep lirc returns the following:
[quote]
[bob <at> mythbox ~]$ dmesg | grep lirc
lirc_dev: IR Remote Control driver registered, major 61
lirc_mceusb: Windows Media Center Edition USB IR Transceiver driver for LIRC 1.90
lirc_mceusb: Daniel Melander <lirc-qLF8SojgkH/LoDKTGw+V6w@public.gmane.org>, Martin Blatter <martin_a_blatter-/E1597aS9LQAvxtiuMwx3w@public.gmane.org>, Dan Conti <dconti-CydnbebErIeVc3sceRu5cw@public.gmane.org>
usbcore: registered new interface driver lirc_mceusb
ir_lirc_codec: Unknown symbol lirc_dev_fop_poll
ir_lirc_codec: Unknown symbol lirc_dev_fop_open
ir_lirc_codec: disagrees about version of symbol lirc_get_pdata
ir_lirc_codec: Unknown symbol lirc_get_pdata
ir_lirc_codec: Unknown symbol lirc_dev_fop_close
ir_lirc_codec: Unknown symbol lirc_dev_fop_read
ir_lirc_codec: disagrees about version of symbol lirc_register_driver
ir_lirc_codec: Unknown symbol lirc_register_driver
ir_lirc_codec: Unknown symbol lirc_dev_fop_ioctl
[bob <at> mythbox ~]$
[/quote]

I am looking for ideas and suggestions.  I am not sure if this is a centos/rhel issue or an lirc issue?  who exactly owns the kernel modules?  Help is appreciated.

Bob Lightfoot
------------------------------------------------------------------------------
Systems Optimization Self Assessment
Improve efficiency and utilization of IT resources. Drive out cost and 
improve service delivery. Take 5 minutes to use this Systems Optimization 
Self Assessment. http://www.accelacomm.com/jaw/sdnl/114/51450054/
Bob Lightfoot | 14 Dec 02:33 2011
Picon

Re: Kernel Module fails to load

On 12/13/2011 04:18 PM, Bob Lightfoot wrote:
I am running an HP Pavillion Elite M9040n PC with Hauppage HVR-1850 and Hauppage Win-TV-HVR-1600 cards installed.  It works fine with mythtv but I've been trying to get the infrared remote control.  Running irw and pressing a key on the remote produces no output but the red led on the tower does flash.  The lircd daemon is started and running.

uname -a output is
[quote]
Linux mythbox.ladodomain 2.6.32-131.21.1.el6.x86_64 #1 SMP Tue Nov 22 19:48:09 GMT 2011 x86_64 x86_64 x86_64 GNU/Linux
[/quote]

lsusb returns the following:
[quote]
Bus 002 Device 005: ID 147a:e018 Formosa Industrial Computing, Inc. eHome Infrared Receiver
Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB               2.00
  bDeviceClass            0 (Defined at Interface level)
  bDeviceSubClass         0
  bDeviceProtocol         0
  bMaxPacketSize0         8
  idVendor           0x147a Formosa Industrial Computing, Inc.
  idProduct          0xe018 eHome Infrared Receiver
  bcdDevice            0.60
  iManufacturer           1
  iProduct                2
  iSerial                 3
  bNumConfigurations      1
  Configuration Descriptor:
    bLength                 9
    bDescriptorType         2
    wTotalLength           57
    bNumInterfaces          2
    bConfigurationValue     1
    iConfiguration          0
    bmAttributes         0xa0
      (Bus Powered)
      Remote Wakeup
    MaxPower              100mA
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        0
      bAlternateSetting       0
      bNumEndpoints           2
      bInterfaceClass       255 Vendor Specific Class
      bInterfaceSubClass    255 Vendor Specific Subclass
      bInterfaceProtocol    255 Vendor Specific Protocol
      iInterface              0
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x81  EP 1 IN
        bmAttributes            3
          Transfer Type            Interrupt
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0008  1x 8 bytes
        bInterval               8
     Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x02  EP 2 OUT
        bmAttributes            3
          Transfer Type            Interrupt
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0008  1x 8 bytes
        bInterval               8
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        1
      bAlternateSetting       0
      bNumEndpoints           1
      bInterfaceClass         3 Human Interface Device
      bInterfaceSubClass      1 Boot Interface Subclass
      bInterfaceProtocol      1 Keyboard
      iInterface              0
        HID Device Descriptor:
          bLength                 9
          bDescriptorType        33
          bcdHID               1.00
          bCountryCode            0 Not supported
          bNumDescriptors         1
          bDescriptorType        34 Report
          wDescriptorLength      30
         Report Descriptors:
           ** UNAVAILABLE **
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x83  EP 3 IN
        bmAttributes            3
          Transfer Type            Interrupt
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0008  1x 8 bytes
        bInterval              10
can't get device qualifier: Operation not permitted
can't get debug descriptor: Operation not permitted
cannot read device status, Operation not permitted (1)
[/quote]

I think the kernel module is not loading because dmesg | grep lirc returns the following:
[quote]
[bob <at> mythbox ~]$ dmesg | grep lirc
lirc_dev: IR Remote Control driver registered, major 61
lirc_mceusb: Windows Media Center Edition USB IR Transceiver driver for LIRC 1.90
lirc_mceusb: Daniel Melander <lirc-qLF8SojgkH/LoDKTGw+V6w@public.gmane.org>, Martin Blatter <martin_a_blatter-/E1597aS9LQAvxtiuMwx3w@public.gmane.org>, Dan Conti <dconti-CydnbebErIeVc3sceRu5cw@public.gmane.org>
usbcore: registered new interface driver lirc_mceusb
ir_lirc_codec: Unknown symbol lirc_dev_fop_poll
ir_lirc_codec: Unknown symbol lirc_dev_fop_open
ir_lirc_codec: disagrees about version of symbol lirc_get_pdata
ir_lirc_codec: Unknown symbol lirc_get_pdata
ir_lirc_codec: Unknown symbol lirc_dev_fop_close
ir_lirc_codec: Unknown symbol lirc_dev_fop_read
ir_lirc_codec: disagrees about version of symbol lirc_register_driver
ir_lirc_codec: Unknown symbol lirc_register_driver
ir_lirc_codec: Unknown symbol lirc_dev_fop_ioctl
[bob <at> mythbox ~]$
[/quote]

I am looking for ideas and suggestions.  I am not sure if this is a centos/rhel issue or an lirc issue?  who exactly owns the kernel modules?  Help is appreciated.

Bob Lightfoot
Well it turns out that lirc-kmdl was not installed for the current kernel.  Despite yum plugin-kmdl being enabled when the kernel upgrade happened.  doing an install of lirc-kmdl got me a working remote in mythtv.

Bob
------------------------------------------------------------------------------
Cloud Computing - Latest Buzzword or a Glimpse of the Future?
This paper surveys cloud computing today: What are the benefits? 
Why are businesses embracing it? What are its payoffs and pitfalls?
http://www.accelacomm.com/jaw/sdnl/114/51425149/

Gmane