Page 1 of 2 12 LastLast
Results 1 to 10 of 16

Thread: lirc problems with iMon

  1. #1
    Join Date
    Feb 2008
    Location
    Brisbane
    Beans
    73
    Distro
    Ubuntu 13.04 Raring Ringtail

    lirc problems with iMon

    Hello all,

    I have been attempting to install lirc for Ubuntu 8.04. I am attempting to install it for a Silverstone LC16M case, which has the combined imon pad and vfd.

    I can install lirc (sudo apt-get install lirc), and have configured it for "Soundgraph iMON PAD IR/VFD". The following is my /etc/lirc/hardware.conf file:

    Code:
    damien@mediabox:~$ cat /etc/lirc/hardware.conf
    # /etc/lirc/hardware.conf
    #
    #Chosen Remote Control
    REMOTE="Soundgraph iMON PAD IR/VFD"
    REMOTE_MODULES="lirc_dev lirc_imon"
    REMOTE_DRIVER=""
    REMOTE_DEVICE="/dev/lirc0"
    REMOTE_LIRCD_CONF="imon/lircd.conf.imon-pad"
    REMOTE_LIRCD_ARGS=""
    
    #Chosen IR Transmitter
    TRANSMITTER="None"
    TRANSMITTER_MODULES=""
    TRANSMITTER_DRIVER=""
    TRANSMITTER_DEVICE=""
    TRANSMITTER_LIRCD_CONF=""
    TRANSMITTER_LIRCD_ARGS=""
    
    #Enable lircd
    START_LIRCD="true"
    
    #Don't start lircmd even if there seems to be a good config file
    #START_LIRCMD="false"
    
    #Try to load appropriate kernel modules
    LOAD_MODULES="true"
    
    # Default configuration files for your hardware if any
    LIRCMD_CONF=""
    
    #Forcing noninteractive reconfiguration
    #If lirc is to be reconfigured by an external application
    #that doesn't have a debconf frontend available, the noninteractive
    #frontend can be invoked and set to parse REMOTE and TRANSMITTER
    #It will then populate all other variables without any user input
    #If you would like to configure lirc via standard methods, be sure
    #to leave this set to "false"
    FORCE_NONINTERACTIVE_RECONFIGURATION="false"
    START_LIRCMD=""
    Which, as I understand it, is the correct driver for the remote that I have:

    Code:
    Bus 004 Device 004: ID 15c2:ffdc SoundGraph Inc. iMON PAD Remote Controller
    Device Descriptor:
      bLength                18
      bDescriptorType         1
      bcdUSB               1.10
      bDeviceClass            0 (Defined at Interface level)
      bDeviceSubClass         0 
      bDeviceProtocol         0 
      bMaxPacketSize0         8
      idVendor           0x15c2 SoundGraph Inc.
      idProduct          0xffdc iMON PAD Remote Controller
      bcdDevice            0.00
      iManufacturer           0 
      iProduct                0 
      iSerial                 0 
      bNumConfigurations      1
      Configuration Descriptor:
        bLength                 9
        bDescriptorType         2
        wTotalLength           41
        bNumInterfaces          1
        bConfigurationValue     1
        iConfiguration          0 
        bmAttributes         0x80
          (Bus Powered)
        MaxPower              100mA
        Interface Descriptor:
          bLength                 9
          bDescriptorType         4
          bInterfaceNumber        0
          bAlternateSetting       0
          bNumEndpoints           2
          bInterfaceClass         0 (Defined at Interface level)
          bInterfaceSubClass      0 
          bInterfaceProtocol      0 
          iInterface              0 
          ** UNRECOGNIZED:  09 21 00 01 00 01 22 25 00
          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              10
          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              10
    Device Status:     0x0000
      (Bus Powered)
    but when I attempt to run irw to test the interface, I get the following error:

    Code:
    damien@mediabox:~$ sudo irw /dev/lirc0
    connect: Connection refused
    After which, it looks like the daemon is no longer running (actually, I can't reproduce that again below....). Let's try this again:
    Code:
    damien@mediabox:~$ sudo /etc/init.d/lirc restart
     * Stopping remote control daemon(s): LIRC                               [ OK ] 
     * Loading LIRC modules                                                  [ OK ] 
     * Starting remote control daemon(s) : LIRC                              [ OK ] 
    damien@mediabox:~$ sudo irw /dev/lirc0
    connect: Connection refused
    damien@mediabox:~$ ps aux | grep lirc
    root     15290  0.0  0.0  15828   592 ?        Ss   13:46   0:00 /usr/sbin/lircd --device=/dev/lirc0
    damien   15301  0.0  0.0   5168   848 pts/5    S+   13:46   0:00 grep lirc
    damien@mediabox:~$
    This is the only hint I am getting from dmesg:
    Code:
    [1278225.619481] /var/lib/dkms/lirc/0.8.3~pre1/build/drivers/lirc_imon/lirc_imon.c: IR port opened
    [1278225.619859] /var/lib/dkms/lirc/0.8.3~pre1/build/drivers/lirc_imon/lirc_imon.c: IR port closed
    [1278245.247894] /var/lib/dkms/lirc/0.8.3~pre1/build/drivers/lirc_imon/lirc_imon.c: IR port opened
    [1278245.248260] /var/lib/dkms/lirc/0.8.3~pre1/build/drivers/lirc_imon/lirc_imon.c: IR port closed
    Now, the only complicating factor is that I have been trying a bunch of things, have have also loaded:
    Code:
    sudo apt-get install lirc-modules-source
    and also

    Code:
    sudo apt-get install module-assistant
    Just asking if someone else has any success... without compiling from source (because I really don't want to every time I do a kernel update....)

    Edit: Just to make life even stranger, the imon driver appears to be loading fine on boot:
    Code:
    [   63.327316] lirc_dev: IR Remote Control driver registered, major 61 
    [   63.527930] lirc_imon: no version for "lirc_unregister_plugin" found: kernel tainted.
    [   63.528388] /var/lib/dkms/lirc/0.8.3~pre1/build/drivers/lirc_imon/lirc_imon.c: Driver for Soundgraph iMON MultiMedia IR/VFD, v0.3
    [   63.528391] /var/lib/dkms/lirc/0.8.3~pre1/build/drivers/lirc_imon/lirc_imon.c: Venky Raju <dev@venky.ws>
    [   63.528417] /var/lib/dkms/lirc/0.8.3~pre1/build/drivers/lirc_imon/lirc_imon.c: imon_probe: found IMON device
    [   63.528423] lirc_dev: lirc_register_plugin: sample_rate: 0
    [   63.528441] /var/lib/dkms/lirc/0.8.3~pre1/build/drivers/lirc_imon/lirc_imon.c: imon_probe: Registered iMON plugin(minor:0)
    [   63.528467] /var/lib/dkms/lirc/0.8.3~pre1/build/drivers/lirc_imon/lirc_imon.c: imon_probe: iMON device on usb<4:2> initialized
    [   63.528481] usbcore: registered new interface driver lirc_imon
    However, I still have the same problems as before.

    Edit2:

    It looks like mode2 yields something when buttons are pressed:
    Code:
    damien@mediabox:~$ sudo mode2 -d /dev/lirc0
    code: 0x146313ff
    code: 0x14631bff
    code: 0x28b595b7
    code: 0x28b5d5b7
    code: 0x2bb195b7
    code: 0x2bb1d5b7
    code: 0x28b195b7
    code: 0x28b1d5b7
    code: 0x2a8595b7
    code: 0x2a85d5b7
    code: 0x299595b7
    code: 0x2995d5b7
    code: 0x2aa595b7
    code: 0x2aa115b7
    code: 0x2aa155b7
    code: 0x2aa5d5b7
    code: 0x2b9395b7
    code: 0x2b93d5b7
    code: 0x2a8515b7
    code: 0x2a8555b7
    code: 0x2aa115b7
    code: 0x2aa155b7
    code: 0x2ba595b7
    code: 0x2ba5d5b7
    Clearly **something** is getting into the receiver, but why would irw refuse to listen to anything?

    This thread seems to be related, but there are no answers there either...
    http://ubuntuforums.org/showthread.php?t=729680
    Last edited by damien_d; November 18th, 2008 at 02:20 PM. Reason: Added more dmesg info at the bottom. Then adding mode2 info

  2. #2
    Join Date
    Apr 2008
    Beans
    26

    Re: lirc problems with iMon

    I too am running MYTHBUNTU 8.10 I have two systems on is installed in a LC16M with the Knob & IR/VFD

    I also have a iMon Soundgraph IR/VFD with remote installed in another system I can not get either to work in Myth.

    Any Luck anyone?

  3. #3
    Join Date
    Feb 2008
    Location
    Brisbane
    Beans
    73
    Distro
    Ubuntu 13.04 Raring Ringtail

    Re: lirc problems with iMon

    Quote Originally Posted by cleatus99 View Post

    Any Luck anyone?
    Cleatus99,

    Are you able to reproduce the above on your system? If so, we can think about filing a bug.

    Cheers
    Damien

  4. #4
    Join Date
    Feb 2008
    Location
    Brisbane
    Beans
    73
    Distro
    Ubuntu 13.04 Raring Ringtail

    Re: lirc problems with iMon

    Quote Originally Posted by damien_d View Post

    Clearly **something** is getting into the receiver, but why would irw refuse to listen to anything?
    I may finally be able to answer my own question. I have recently upgraded to 8.10, and then tried:

    Code:
    sudo irw
    which, to my surprise, worked perfectly.

    So, I had figured that the upgrade fixed it, but I tried re-running my old steps:

    Code:
    sudo irw /dev/lirc0
    Which came up with "connection refused" again, as before. When reading the man page, it connects to a socket by default /dev/lircd, NOT /dev/lirc0

    Therefore, I think all along it was an rtfm problem.

    So, in short, when testing:
    Code:
    sudo irw /dev/lirc0 # <-- WRONG
    sudo irw # <-- correct
    sudo irw /dev/lircd # <- correct
    Last edited by damien_d; December 14th, 2008 at 03:24 AM. Reason: typo in [code] tag

  5. #5
    Join Date
    Apr 2008
    Beans
    26

    Re: lirc problems with iMon

    ok so I've runlsusb and I get
    Code:
    Bus 002 Device 008: ID 03f0:0024 Hewlett-Packard KU-0316 Keyboard
    Bus 002 Device 003: ID 15c2:ffdc SoundGraph Inc. iMON PAD Remote Controller
    Bus 002 Device 002: ID 046d:c018 Logitech, Inc. Optical Wheel Mouse
    Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
    Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
    with irw 0.8.3 on Mythbuntu 8.10

    I run irw and it just sits there, never returns shell to me...

  6. #6
    Join Date
    Apr 2008
    Beans
    26

    Re: lirc problems with iMon

    sudo irw /dev/lircd

    Nothing happens

    sudo irw /dev/lirc0
    connect: Connection refused


    Code:
    lsusb -v returns
    
    Bus 002 Device 003: ID 15c2:ffdc SoundGraph Inc. iMON PAD Remote Controller
    Device Descriptor:
      bLength                18
      bDescriptorType         1
      bcdUSB               1.10
      bDeviceClass            0 (Defined at Interface level)
      bDeviceSubClass         0 
      bDeviceProtocol         0 
      bMaxPacketSize0         8
      idVendor           0x15c2 SoundGraph Inc.
      idProduct          0xffdc iMON PAD Remote Controller
      bcdDevice            0.00
      iManufacturer           0 
      iProduct                0 
      iSerial                 0 
      bNumConfigurations      1
      Configuration Descriptor:
        bLength                 9
        bDescriptorType         2
        wTotalLength           41
        bNumInterfaces          1
        bConfigurationValue     1
        iConfiguration          0 
        bmAttributes         0x80
          (Bus Powered)
        MaxPower              100mA
        Interface Descriptor:
          bLength                 9
          bDescriptorType         4
          bInterfaceNumber        0
          bAlternateSetting       0
          bNumEndpoints           2
          bInterfaceClass         0 (Defined at Interface level)
          bInterfaceSubClass      0 
          bInterfaceProtocol      0 
          iInterface              0 
          ** UNRECOGNIZED:  09 21 00 01 00 01 22 25 00
          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              10
          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              10
    Device Status:     0x0000
      (Bus Powered)

    No display funtions, No remote functions

  7. #7
    Join Date
    Apr 2008
    Beans
    26

    Re: lirc problems with iMon

    This is the display in one system



    My other system has the knob & VFD in the LC16M

  8. #8
    Join Date
    Feb 2008
    Location
    Brisbane
    Beans
    73
    Distro
    Ubuntu 13.04 Raring Ringtail

    Re: lirc problems with iMon

    Quote Originally Posted by cleatus99 View Post
    sudo irw /dev/lircd

    Nothing happens
    when you command irw, can you post the last 20 or so lines of dmesg?

    Also try:

    Code:
    sudo mode2 -d /dev/lirc0
    And press random buttons on the remote. You should see something like I have in an above post in this thread

  9. #9
    Join Date
    Apr 2008
    Beans
    26

    Re: lirc problems with iMon

    ok after typing irw & sudo mode2 -d /dev/lirc0
    when I push the buttons on the remote it gives me feed back...
    Code:
    @MythTv:~$ irw
    000000002b9595b7 00 Mute iMON-PAD
    0000000028a595b7 00 Vol- iMON-PAD
    000000002a8595b7 00 4 iMON-PAD
    000000002aa115b7 00 9 iMON-PAD
    000000002a8595b7 00 4 iMON-PAD
    000000002aa595b7 00 6 iMON-PAD
    00000000299595b7 00 5 iMON-PAD
    0000000028b195b7 00 3 iMON-PAD
    000000002b8395b7 00 Timer iMON-PAD
    000000002ab195b7 00 MultiMon iMON-PAD
    000000002b8395b7 00 Timer iMON-PAD
    0000000029b715b7 00 AppLauncher iMON-PAD
    000000002ab195b7 00 MultiMon iMON-PAD
    000000002a9395b7 00 TaskSwitcher iMON-PAD
    00000000299395b7 00 Eject iMON-PAD
    000000002bb715b7 00 Esc iMON-PAD
    00000000299395b7 00 Eject iMON-PAD
    000000002b9115b7 00 PrevChapter iMON-PAD
    000000002a8195b7 00 Rewind iMON-PAD
    00000000298115b7 00 Record iMON-PAD
    000000002b9715b7 00 Stop iMON-PAD
    000000002a9115b7 00 Pause iMON-PAD
    000000002a8115b7 00 Play iMON-PAD
    00000000288195b7 00 AppExit iMON-PAD
    0000000029b195b7 00 SlowMotion iMON-PAD
    000000002b8115b7 00 FastForward iMON-PAD
    00000000298195b7 00 NextChapter iMON-PAD
    000000002a9115b7 00 Pause iMON-PAD
    00000000298195b7 00 NextChapter iMON-PAD
    0000000028a115b7 00 Backspace iMON-PAD
    00000000299115b7 00 MouseKeyboard iMON-PAD
    000000002a9315b7 00 SelectSpace iMON-PAD
    0000000028b715b7 00 MouseMenu iMON-PAD
    00000000688481b7 00 MouseRightClick iMON-PAD
    0000000028a195b7 00 Enter iMON-PAD
    00000000688301b7 00 MouseLeftClick iMON-PAD
    000000002b8195b7 00 WindowsKey iMON-PAD
    0000000028a115b7 00 Backspace iMON-PAD
    000000002bb715b7 00 Esc iMON-PAD
    0000000029b715b7 00 AppLauncher iMON-PAD
    00000000299395b7 00 Eject iMON-PAD
    000000002a9395b7 00 TaskSwitcher iMON-PAD
    000000002aa115b7 00 9 iMON-PAD
    0000000028b515b7 00 ShiftTab iMON-PAD
    000000002ba595b7 00 0 iMON-PAD
    0000000029a115b7 00 Tab iMON-PAD
    000000002b8515b7 00 MyMovie iMON-PAD
    00000000299195b7 00 MyMusic iMON-PAD
    000000002ba115b7 00 MyPhoto iMON-PAD
    00000000299195b7 00 MyMusic iMON-PAD
    000000002ab715b7 00 Thumbnail iMON-PAD
    000000002ba115b7 00 MyPhoto iMON-PAD
    0000000029a595b7 00 AspectRatio iMON-PAD
    ok so the pc see is getting commands, now how do I get them to work on mythtv frontend?
    also the mouse pad on the remote doesn't show up on irw nor does DVD or Power......

  10. #10
    Join Date
    Feb 2008
    Location
    Brisbane
    Beans
    73
    Distro
    Ubuntu 13.04 Raring Ringtail

    Re: lirc problems with iMon

    Does the DVD and power buttons come up with nothing in mode2, or just in irw?

    The pad, I have no idea about. I remember vaguely somewhere about it being implemented somewhere as a mouse, but don't trust that statement. As for mythTV integration, I haven't yet started that project... still got a keyboard on the couch

Page 1 of 2 12 LastLast

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •