[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-bugs-dist
Subject:    [Bug 260271] Kremotecontrol daemon not working
From:       Martin Riethmayer <ripper () freakmail ! de>
Date:       2011-03-31 20:45:52
Message-ID: 20110331204552.BA5D884380 () immanuel ! kde ! org
[Download RAW message or body]

https://bugs.kde.org/show_bug.cgi?id=260271





--- Comment #12 from Martin Riethmayer <ripper freakmail de>  2011-03-31 22:45:48 ---
I'm sorry, but I'm afraid I would like to request to re-open this bug.

At the time I wrote my last message, everything was working as expected - only
to stop working the next day. So instead of always ruining my "real" system, I
decided to finally set up a VM (VirtualBox 4.0.4, Host Windows 7), with a clean
install of openSUSE 11.4, all updates applied as of March 30th, no further
repositories or software installed. 
(Kernel: 2.6.37.1, kremotecontrol 4.6.0, lirc 0.8.7, kde 4.6.0)
Then I took the following steps:

0. Kill kded4, enable debug output for it and start it from konsole again

1. Configure lirc (/etc/sysconfig/lirc and /etc/lirc/lircd.conf)
-> set Driver="devinput",
Device="dev/input/by-path/pci-0000:00:06.0-usb-0:2:1.0-event" and copy
/usr/share/lirc/remotes/devinput/lircd.conf.devinput to /etc/lirc/lircd.conf

2. Install kremotecontrol (No kded4 output after about 1 minute, so continuing)

3. Starting lircd and testing with irw
-> Works (still no kded4 output, so continuing)

4. Start kremotecontrol Config dialog
-> The remote "devinput" is available and active
kded4 output:
kded(6449) LircClient::isConnected: theSocket QObject(0x0)
kded(6449) LircClient::connectToLirc: lircd >= 0.8.6 socket found...
kded(6449) LircClient::connectToLirc: updating remotes
kded(6449) LircClient::connectToLirc: waiting for lirc
kded(6449) LircClient::connectToLirc: reading...
kded(6449) LircClient::slotRead: "LIST"
kded(6449) LircClient::slotRead: ("devinput", "devinput")
kded(6449) LircClient::slotRead: "LIST devinput"
kded(6449) LircClient::slotRead: Remotes read!
kded(6449) Solid::Control::ManagerBasePrivate::loadBackend: Backend loaded: 
"Lirc"
kded(6449) LircRemoteControlManager::createRemoteControl: unknown interface:
"devinput" creating it
kded(6449) KRemoteControlDaemon::KRemoteControlDaemon: connecting to remote
"devinput"
kded(6449): registerObject() successful for  "kremotecontroldaemon"
kded(6449)/kded4 Kded::loadModule: Successfully loaded module
"kremotecontroldaemon"

5.Trying to configure one of the buttons (e.g. to start up Amarok)
-> Config dialog is not picking up buttons, Tray icon is not flashing
kded4 output:
kded(6449) KRemoteControlDaemon::ignoreButtonEvents: muting remote "devinput"
kded(6449) KRemoteControlDaemon::considerButtonEvents: unmuting remote
"devinput"

6. Press apply anyway
-> Tray icon states that the configuration has been reloaded.
kded4 output:
kded(6449) Remote::masterMode: Master mode not found
kded(6449) Remote::masterMode: Master mode not found
kded(6449) KRemoteControlDaemon::reloadConfiguration: starting notifier item

7. Stop lirc, re-open config dialog
-> The remote "devinput" is available but inactive (cursive) - however, I can
still start the wizard to assign buttons to it. Of course it's not picking up
buttons in this state. The tray-icon stays in active state.
kded4 output (when opening and closing the wizard to assign buttons):
kded(6449) KRemoteControlDaemon::ignoreButtonEvents: muting remote "devinput"
kded(6449) KRemoteControlDaemon::considerButtonEvents: unmuting remote
"devinput

8. Start lirc, re-open config dialog, assign button to open amarok, save,
close:
-> The remote is available and active, the wizard picks up button presses. One
of the buttons is now configured to start amarok. 
kded4 output:
kded(6449) KRemoteControlDaemon::ignoreButtonEvents: muting remote "devinput"
kded(6449) KRemoteControlDaemon::considerButtonEvents: unmuting remote
"devinput"
kded(6449) Remote::masterMode: Master mode not found
kded(6449) KRemoteControlDaemon::reloadConfiguration: starting notifier item
-> Tray icon does not flash, assigned action (start amarok) not working

9. Stopping lirc
-> Tray icon stays active

10. Starting lirc
-> No changes

11. Unloading kremotecontroldaemon from kded4
kded4 output:
kded(6449)/kded4 Kded::unloadModule: Unloading module "kremotecontroldaemon"
kded(6449) StatusNotifierWatcher::serviceUnregistered: Service 
"org.kde.StatusNotifierItem-6852-1" unregistered

12. Loading kremotecontroldaemon for kded4
kded4 output:
kded(6449) Remote::masterMode: Master mode not found
kded(6449) KRemoteControlDaemon::KRemoteControlDaemon: starting notifier item
kded(6449) KRemoteControlDaemon::KRemoteControlDaemon: connecting to remote
"devinput"
kded(6449): registerObject() successful for  "kremotecontroldaemon"
kded(6449)/kded4 Kded::loadModule: Successfully loaded module
"kremotecontroldaemon"
kded(6449) StatusNotifierWatcher::RegisterStatusNotifierItem: Registering
"org.kde.StatusNotifierItem-7064-1/StatusNotifierItem" to system tray
-> Buttons can be assigned in the control dialog
kded4 output (don't know if this is actually related, but it happened when I
pressed some buttons):
Fetched layout groups from X server:    layouts: ("de")      variants:
("nodeadkeys") 
kded(6449) LayoutMemory::layoutMapChanged: Layout map change from external
source: clearing layout memory
Fetched layout groups from X server:    layouts: ("de")      variants:
("nodeadkeys")

13. Restarting kded4
-> No buttons picked up in config dialog, tray icon not flashing, buttons not
working
kded4 output:
kded(7197) LircClient::isConnected: theSocket QObject(0x0)
kded(7197) LircClient::connectToLirc: lircd >= 0.8.6 socket found...
kded(7197) LircClient::connectToLirc: updating remotes
kded(7197) LircClient::connectToLirc: waiting for lirc
kded(7197) LircClient::connectToLirc: reading...
kded(7197) LircClient::slotRead: "LIST"
kded(7197) LircClient::slotRead: ("devinput", "devinput")
kded(7197) LircClient::slotRead: "LIST devinput"
kded(7197) LircClient::slotRead: Remotes read!
kded(7197) Solid::Control::ManagerBasePrivate::loadBackend: Backend loaded: 
"Lirc"
kded(7197) Remote::masterMode: Master mode not found
kded(7197) KRemoteControlDaemon::KRemoteControlDaemon: starting notifier item
kded(7197) LircRemoteControlManager::createRemoteControl: unknown interface:
"devinput" creating it
kded(7197) KRemoteControlDaemon::KRemoteControlDaemon: connecting to remote
"devinput"
kded(7197): registerObject() successful for  "kremotecontroldaemon"
kded(7197)/kded4 Kded::loadModule: Successfully loaded module
"kremotecontroldaemon"

14. Rebooting, starting lirc
-> Tray icon stays inactive (red cross). Config dialog has remote active (i.e.
not cursive), not picking up any buttons

15. Killing kded4, starting manually
kded4 output: see 13
-> Tray icon now active, not flashing, config dialog not picking up button
presses

For me, only in very rare cases kremotecontrol works - sometimes config and
actions, sometimes actions only. The config dialog works more often then
actually performing the actions. 
I haven't found any pattern that would make the actions work reliably, nor one
that would make the config work reliably.
YMMV, sometimes restarting lirc helps, sometimes restarting kded4 helps,
closing and reopening config dialog never helps - it's not 100% reproducible,
but it's not working correct about 95% of the time.

If you want me to try any other sequence, my VM is ready and waiting :-)

Cheers

-- 
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic