How to get irw working on xbmcbuntu Frodo RC3
#1
Hi,

I got a clean installation of xbmcbuntu Frodo RC3. On this release my remote control is working perfectly well (unlike how it was on Eden). However, there are couple of buttons I whish to configure and I need irw to work to acomplish that. Currently when running irw from terminal I get the following message
Quote:connect: No such file or directory

I'm using Harmony1 remote control with USB IR receiver that I got from this company http://www.irfmedia.com/En/Main.asp

Please note on Eden my remote was initially recognized as a mouse wich I had to disable and then use Hid_mapper drivers to get it workign.
This time on Frodo, as I mentioned, the remote is working quite well. It is only the subtitles button and fullscreen tha I want to configure.

Please help
Reply
#2
You have the IR receiver plugged in right?
Did you attempt it with sudo?

What happens with this command?
Code:
ps -ALL |grep lirc

If nothing happens lirc is not running
Reply
#3
Thank you for the reply.

Indeed, the IR receiver is plugged in, and is executing all commands/signals from my remote (I can play, pause, forward, rewind.. etc.)

sudo irw gives the same message

Code:
connect: No such file or directory

As for the running processes list
ps -ALL |grep lirc

It gives nothing. Which makes me wonder what is it that is recognizing and executing the IR commands?
Here is a list of all processes running on my box
Code:
PID   LWP TTY          TIME CMD
    1     1 ?        00:00:00 init
    2     2 ?        00:00:00 kthreadd
    3     3 ?        00:00:00 ksoftirqd/0
    6     6 ?        00:00:00 migration/0
    7     7 ?        00:00:00 watchdog/0
    8     8 ?        00:00:00 migration/1
   10    10 ?        00:00:00 ksoftirqd/1
   11    11 ?        00:00:00 watchdog/1
   12    12 ?        00:00:00 migration/2
   13    13 ?        00:00:00 kworker/2:0
   14    14 ?        00:00:00 ksoftirqd/2
   15    15 ?        00:00:00 watchdog/2
   16    16 ?        00:00:00 migration/3
   18    18 ?        00:00:00 ksoftirqd/3
   19    19 ?        00:00:00 watchdog/3
   20    20 ?        00:00:00 cpuset
   21    21 ?        00:00:00 khelper
   22    22 ?        00:00:00 kdevtmpfs
   23    23 ?        00:00:00 netns
   25    25 ?        00:00:00 sync_supers
   26    26 ?        00:00:00 bdi-default
   27    27 ?        00:00:00 kintegrityd
   28    28 ?        00:00:00 kblockd
   29    29 ?        00:00:00 ata_sff
   30    30 ?        00:00:00 khubd
   31    31 ?        00:00:00 md
   32    32 ?        00:00:00 kworker/0:1
   34    34 ?        00:00:00 khungtaskd
   35    35 ?        00:00:00 kswapd0
   36    36 ?        00:00:00 ksmd
   37    37 ?        00:00:00 khugepaged
   38    38 ?        00:00:00 fsnotify_mark
   39    39 ?        00:00:00 ecryptfs-kthrea
   40    40 ?        00:00:00 crypto
   49    49 ?        00:00:00 kthrotld
   51    51 ?        00:00:00 kworker/3:1
   52    52 ?        00:00:00 kworker/1:1
   53    53 ?        00:00:00 kworker/2:1
   54    54 ?        00:00:00 scsi_eh_0
   55    55 ?        00:00:00 scsi_eh_1
   56    56 ?        00:00:00 kworker/u:2
   57    57 ?        00:00:00 kworker/u:3
   58    58 ?        00:00:00 scsi_eh_2
   59    59 ?        00:00:00 scsi_eh_3
   62    62 ?        00:00:00 binder
   81    81 ?        00:00:00 deferwq
   82    82 ?        00:00:00 charger_manager
   83    83 ?        00:00:00 devfreq_wq
  211   211 ?        00:00:00 kworker/1:2
  223   223 ?        00:00:00 scsi_eh_4
  224   224 ?        00:00:00 scsi_eh_5
  346   346 ?        00:00:00 jbd2/sdc1-8
  347   347 ?        00:00:00 ext4-dio-unwrit
  432   432 ?        00:00:00 upstart-udev-br
  434   434 ?        00:00:00 udevd
  698   698 ?        00:00:00 udevd
  699   699 ?        00:00:00 udevd
  707   707 ?        00:00:00 irq/46-mei
  775   775 ?        00:00:00 upstart-socket-
  794   794 ?        00:00:00 kworker/3:2
  796   796 ?        00:00:00 kmpathd
  797   797 ?        00:00:00 kmpath_handlerd
  802   802 ?        00:00:00 led_workqueue
  823   823 ?        00:00:00 kvm-irqfd-clean
  835   835 ?        00:00:00 rpcbind
  860   860 ?        00:00:00 hd-audio0
  953   953 ?        00:00:00 jbd2/sda1-8
  954   954 ?        00:00:00 ext4-dio-unwrit
  959   959 ?        00:00:00 jbd2/sdb1-8
  960   960 ?        00:00:00 ext4-dio-unwrit
  969   969 ?        00:00:00 jbd2/sdc3-8
  970   970 ?        00:00:00 ext4-dio-unwrit
  999   999 ?        00:00:00 rpciod
1000  1000 ?        00:00:00 smbd
1003  1003 ?        00:00:00 sshd
1009  1009 ?        00:00:00 rpc.statd
1012  1012 ?        00:00:00 nfsiod
1021  1021 ?        00:00:00 rsyslogd
1021  1031 ?        00:00:00 rs:main Q:Reg
1021  1032 ?        00:00:00 rsyslogd
1021  1033 ?        00:00:00 rsyslogd
1030  1030 ?        00:00:00 rpc.idmapd
1065  1065 tty4     00:00:00 getty
1069  1069 tty5     00:00:00 getty
1073  1073 ?        00:00:00 dbus-daemon
1076  1076 tty2     00:00:00 getty
1077  1077 tty3     00:00:00 getty
1079  1079 tty6     00:00:00 getty
1095  1095 ?        00:00:00 acpid
1103  1103 ?        00:00:00 cron
1217  1217 ?        00:00:00 automount
1217  1218 ?        00:00:00 automount
1217  1219 ?        00:00:00 automount
1236  1236 ?        00:00:00 avahi-daemon
1237  1237 ?        00:00:00 avahi-daemon
1280  1280 ?        00:00:00 flush-8:32
1298  1298 ?        00:00:00 NetworkManager
1298  1328 ?        00:00:00 gdbus
1298  1340 ?        00:00:00 gmain
1301  1301 ?        00:00:00 hd-audio1
1330  1330 ?        00:00:00 polkitd
1330  1334 ?        00:00:00 gdbus
1332  1332 ?        00:00:00 smbd
1339  1339 ?        00:00:00 dnsmasq
1448  1448 ?        00:00:00 nmbd
1515  1515 ?        00:00:00 tvheadend
1515  1529 ?        00:00:00 tvheadend
1515  1530 ?        00:00:00 tvheadend
1515  1531 ?        00:00:00 tvheadend
1515  1541 ?        00:00:00 tvheadend
1515  1542 ?        00:00:00 tvheadend
1527  1527 tty1     00:00:00 getty
1544  1544 ?        00:00:00 sshd
1547  1547 ?        00:00:00 console-kit-dae
1547  1548 ?        00:00:00 console-kit-dae
1547  1549 ?        00:00:00 console-kit-dae
1547  1550 ?        00:00:00 console-kit-dae
1547  1551 ?        00:00:00 console-kit-dae
1547  1552 ?        00:00:00 console-kit-dae
1547  1553 ?        00:00:00 console-kit-dae
1547  1554 ?        00:00:00 console-kit-dae
1547  1555 ?        00:00:00 console-kit-dae
1547  1556 ?        00:00:00 console-kit-dae
1547  1557 ?        00:00:00 console-kit-dae
1547  1558 ?        00:00:00 console-kit-dae
1547  1559 ?        00:00:00 console-kit-dae
1547  1560 ?        00:00:00 console-kit-dae
1547  1561 ?        00:00:00 console-kit-dae
1547  1562 ?        00:00:00 console-kit-dae
1547  1563 ?        00:00:00 console-kit-dae
1547  1564 ?        00:00:00 console-kit-dae
1547  1565 ?        00:00:00 console-kit-dae
1547  1566 ?        00:00:00 console-kit-dae
1547  1567 ?        00:00:00 console-kit-dae
1547  1568 ?        00:00:00 console-kit-dae
1547  1569 ?        00:00:00 console-kit-dae
1547  1570 ?        00:00:00 console-kit-dae
1547  1571 ?        00:00:00 console-kit-dae
1547  1572 ?        00:00:00 console-kit-dae
1547  1573 ?        00:00:00 console-kit-dae
1547  1574 ?        00:00:00 console-kit-dae
1547  1575 ?        00:00:00 console-kit-dae
1547  1576 ?        00:00:00 console-kit-dae
1547  1577 ?        00:00:00 console-kit-dae
1547  1578 ?        00:00:00 console-kit-dae
1547  1579 ?        00:00:00 console-kit-dae
1547  1580 ?        00:00:00 console-kit-dae
1547  1581 ?        00:00:00 console-kit-dae
1547  1582 ?        00:00:00 console-kit-dae
1547  1583 ?        00:00:00 console-kit-dae
1547  1584 ?        00:00:00 console-kit-dae
1547  1585 ?        00:00:00 console-kit-dae
1547  1586 ?        00:00:00 console-kit-dae
1547  1587 ?        00:00:00 console-kit-dae
1547  1588 ?        00:00:00 console-kit-dae
1547  1589 ?        00:00:00 console-kit-dae
1547  1590 ?        00:00:00 console-kit-dae
1547  1591 ?        00:00:00 console-kit-dae
1547  1592 ?        00:00:00 console-kit-dae
1547  1593 ?        00:00:00 console-kit-dae
1547  1594 ?        00:00:00 console-kit-dae
1547  1595 ?        00:00:00 console-kit-dae
1547  1596 ?        00:00:00 console-kit-dae
1547  1597 ?        00:00:00 console-kit-dae
1547  1598 ?        00:00:00 console-kit-dae
1547  1599 ?        00:00:00 console-kit-dae
1547  1600 ?        00:00:00 console-kit-dae
1547  1601 ?        00:00:00 console-kit-dae
1547  1602 ?        00:00:00 console-kit-dae
1547  1603 ?        00:00:00 console-kit-dae
1547  1604 ?        00:00:00 console-kit-dae
1547  1605 ?        00:00:00 console-kit-dae
1547  1606 ?        00:00:00 console-kit-dae
1547  1607 ?        00:00:00 console-kit-dae
1547  1608 ?        00:00:00 console-kit-dae
1547  1609 ?        00:00:00 console-kit-dae
1547  1611 ?        00:00:00 gmain
1547  1612 ?        00:00:00 gdbus
1817  1817 ?        00:00:00 sshd
1818  1818 pts/0    00:00:00 bash
1856  1856 ?        00:00:00 kworker/0:0
1859  1859 ?        00:00:00 kworker/0:2
1865  1865 pts/0    00:00:00 ps
Reply
#4
Any help?
Reply
#5
Help please
Reply
#6
What output does 'ls -al /dev/lirc*' produce? By default, irw tries to connect to /dev/lird I believe.
Reply
#7
Here is what I get from ls -al /dev/lirc*

Code:
ls: cannot access /dev/lirc*: No such file or directory
Reply
#8
Any advise?
Reply
#9
More updates on this puzzle

It seems that all my remote/keyboard keymaps files are located in this folder
Code:
/usr/share/xbmc/system/keymaps

I have renamed the whole keymaps folder to old_keymaps which caused my keyboard and remote stop working. This very understandable.
However, the strange thing is, after renaming all the individula files and folder under keymaps folder to old_*** both the keyboard and remote continued to work!!! Of course I have rebooted the system after each change to ensure the file/folder name changes are taking afftect.

Here is the content of the /usr/share/xbmc/system/keymaps folder
Code:
appcommand.xml                                     joystick.Logitech.RumblePad.2.xml             keyboard.xml
gamepad.xml                                        joystick.Microsoft.Xbox.360.Controller.xml    mouse.xml
joystick.Alienware.Dual.Compatible.Controller.xml  joystick.Microsoft.Xbox.Controller.S.xml      nyxboadr
joystick.AppleRemote.xml                           joystick.PS3.Remote.Keyboard.xml              remote.xml
joystick.Harmony.xml                               joystick.Sony.PLAYSTATION(R)3.Controller.xml
joystick.Interact.AxisPad.xml                      joystick.WiiRemote.xml

Any idea what is going on?? I only want to know what is running my remote so I can configure couple of extra buttons.

Please help
Reply
#10
I'm still trying to figure this out. Any help is highly appreciated
Reply
#11
debug log (wiki) should indicate what keymap is loaded and being used and where it is.

Editing and moving /usr/share keymaps not a good idea, all you need to do is create a new file remote.xml or keyboard.xml (wiki) and wack in usedata (wiki)/keymaps folder for it to be used over the default one. Its not like this information doesn't exist in wiki Keymap (wiki) to begin with. Right?

uNi
Reply
#12
(2013-02-08, 08:12)uNiversal Wrote: debug log (wiki) should indicate what keymap is loaded and being used and where it is.

Editing and moving /usr/share keymaps not a good idea, all you need to do is create a new file remote.xml or keyboard.xml (wiki) and wack in usedata (wiki)/keymaps folder for it to be used over the default one. Its not like this information doesn't exist in wiki Keymap (wiki) to begin with. Right?

uNi

What? Can please be a little more specific? Which one is it? keyboard.xml or remote.xml? How do I know what mine is using? Its certainly not lirc! Its not running. Where exactly (Full Path) are they located. Wack? Where exacltly (full path) should I wack in? Do you mean: Put them in /keymaps folder?
Reply

Logout Mark Read Team Forum Stats Members Help
How to get irw working on xbmcbuntu Frodo RC30