Jump to content
Flirc Forums

Keys stuck


Recommended Posts

Trying doogies remedies, I can confirm that changing USB ports actually made things working again for me as well. Don't know for how long, I will test. I am on FW 3.0 at the moment.

To clear it up: Flashing, programming on USB port 1, keys got stuck. Changing to USB port 2, everything working. Back to USB port 1, still working.

Link to comment
Share on other sites

  • Replies 77
  • Created
  • Last Reply

Top Posters In This Topic

Remotes: Pioneer AXD 7247 (AV receiver), LG MKJ42519618 (TV), Speedlink SL-6399 (MCE spin off, black one), Hama MCE Remote (silver)

 

 

Makes no difference which ones I use. Best help at the moment (for me) really is switching USB ports. When it works, it is a great little thing. :-D

Edited by maxwell
Link to comment
Share on other sites

Remotes: Pioneer AXD 7247 (AV receiver), LG MKJ42519618 (TV), Speedlink SL-6399 (MCE spin off, black one), Hama MCE Remote (silver)

 

 

Makes no difference which ones I use. Best help at the moment (for me) really is switching USB ports. When it works, it is a great little thing. :-D

any chance you are using linux?

Link to comment
Share on other sites

okay, I read through this entire thread again. I'm really confused. 

 

Can each of you experiencing the problem please describe exactly what is going wrong. Like for example, when you press a key, the key get's 'stuck', and the only remedy is to take it out. Or the only remedy is to press another key, but that key gets stuck. I'm very concerned that people are talking about different things. For example, there are a bunch of threads where people say, flirc loses it's settings. That didn't tell me much, what was actually happening was that the device was getting stuck in the bootloader, so remote control buttons didn't work until you fired up the gui (which gets the device out of the bootloader). So the more you give me, the better of a chance I'll catch what's going on.

Swear I'll get this problem. It's got my full attention now.

Link to comment
Share on other sites

For me: "Or the only remedy is to press another key, but that key gets stuck."

Not just a bit sticky like when I hit keys too many times to fast. Really stuck till the break of dawn. ;-)

 

Right now, on another USB port, my nice Flirc behaves brilliantly, no stuck keys, nothing. I am back on FW3.1 by the way.

 

And yes, I see it works great without replugging. I even have the GUI open, using flirc_util and test the commands in XBMC all at the same time right now, just minimizing the GUI. The time with the stuck keys I am very positive that I weren't able to press ANY learned keys by just closing the GUI. I had to replug Flirc first.

 

I am using Flirc on Windows 7 64 bit right now to program it and will now hop over to the Ubuntu HTPC to test Flirc there.

 

Thanks for the effort and your support!

 

On another note: flirc_util only give output in a command window when you type "flirc_util.exe" INCLUDING the file extension. Made my head scratch pretty hard. ;-)

Edited by maxwell
Link to comment
Share on other sites

Starting over just to be double clear:

 

OpenELEC 4.2.1 x86_64

ASRock ITX system/AMD A6-6400K/4GB RAM/64GB SSD

Logitech Harmony 650 configured with Flirc media player profile

 

Flirc 3.1

-Sleep detection on

-Built-in profiles on

-Inter-key delay 3

 

Observed behavior:

When pressing any remote key, intermittently the flirc sends from 3 (more likely) to 140 (outside possibility) repeats of the same key.

Pressing another key on the remote does not interrupt the repeats - you've got to wait it out.

 

Workarounds:

Moving the flirc to a different USB port temporarily stops the problem from occurring.

Link to comment
Share on other sites

"Pressing another key on the remote does not interrupt the repeats - you've got to wait it out."

 

That is where we differ. I can interrupt the repeating keys with another one, but then the new key gets stuck. After switching USB ports on my Lenovo x230 I have a great experience with Flirc at the moment.

Link to comment
Share on other sites

Wow, this really starts to annoy me. After setting up all the keys, I plugged Flirc into the Ubuntu HTPC box to enjoy some remote controlling, but to no avail. Flirc gets recognised but no keys work, just now and then after repeating a key many many times, there was a hit. GUI shows it is connected. Tried learning a new key, no problem., but I can learn the same remote key multiple times as it seems the signal changed every single button push (didn't behave that way on Windows).

Looking with "flirc_util keys" it seems some of my previously learned keys are gone! Started learning 0-10 and now the list starts with 5! Went back to Windows see Flirc not working anymore. Cleared configuration and reloaded my saved one, still shows me wrong number of learned keys AND the stuck key problem is back, now on the before working port as well.

 

I know, many many things at once here.

 

I am done for tonight and need to sleep. I already spent a lot more hours with this thing than I hoped for. :-(

Edited by maxwell
Link to comment
Share on other sites

can you upload your config. I'll see about putting together some debug firmware for you to try. Doogie, can you ssh into the box once this happens and run some commands? 

 

I've just sent it to your support email. And yes definitely I've been tail'ing the xbmc.log (with xbmc's debug logging enabled of course) to get the keypresses it is seeing.

Link to comment
Share on other sites

@Jason Sent you a PM with my Skype. Can give dmesg output as well:

[  977.830149] usb 5-2.1: new low-speed USB device number 7 using xhci_hcd
[  977.925060] usb 5-2.1: New USB device found, idVendor=20a0, idProduct=0002
[  977.925111] usb 5-2.1: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[  977.925120] usb 5-2.1: Product: bootldr
[  977.925128] usb 5-2.1: Manufacturer: claylogic.com
[ 2829.031523] usb 5-2.1: Product: flirc
[ 2829.031527] usb 5-2.1: Manufacturer: flirc.tv
[ 2829.041527] input: flirc.tv flirc as /devices/pci0000:00/0000:00:10.0/usb5/5-2/5-2.1/5-2.1:1.0/0003:20A0:0001.0007/input/input22
[ 2829.041942] hid-generic 0003:20A0:0001.0007: input,hidraw4: USB HID v1.01 Keyboard [flirc.tv flirc] on usb-0000:00:10.0-2.1/input0

Do we need to hit up the GUI at least once after we plug Flirc into a Linux box for the first time?

Edited by maxwell
Link to comment
Share on other sites

Ohhh and after a reboot of my Windows PC, I plugged Flirc back in a couple of minutes ago and behavior is perfect at the moment, no stuck keys, and I am on the "bad" USB port right now, where stuck keys happended first. But still, some of my keys got lost somewhere in between trying the dongle on Linux. Whatever happened there. Does not seem to be a problem with the dongle itself sometimes, more like the OS the dongle is plugged in to does not always know how to handle it right!? Then again, maybe a slight change in configuration on the dongle makes the OS react badly. I don't know, Android works at the moment as well and I am sure did not change anything on there.

 

Cheers guys and happy hunting

Link to comment
Share on other sites

There is something else fishy going on! I was just relearning some of the keys missing, number 1 to 4 and added two keys with modifiers "Ctrl+Shift+X". Here is a before/after Lirc_Util keys command. Look at the second output how "7" is suddenly missing! Maybe this related to the sometimes strange behavior of the dongle, seems like a bug whatsoever.

 

Sequence Modifier are disabled in GUI. Is this needed to be able to learn keys with modifiers?

As I understand it right, it is okay to not see every index number in the output as these are probably unprintable commands. Right?

C:\Program Files (x86)\Flirc>flirc_util.exe keys

Recorded Keys:
Index hash key
----- --------- ---
0 5E639B9B 5
1 2A32099B 6
2 BA0E9B9B 7
3 CC95779B 8
4 EE402D9B 9
5 3825899B 0
6 F79C9B9B up
7 3339099B down
8 87792D9B left
9 90F9099B right
10 9A00099B return
11 8C0C899B backspace
12 1BE91B9B c
13 65CE779B s
15 FA3E659B F8
16 2993899B f
17 5901B9B r
18 609C9B9B y
19 C7A8F79B suspend
20 9E2A9B9B l
21 A3171B9B e
22 29DC9B9B h
23 8BC72D9B i
24 C7639B9B tab
26 652FF79B x
27 D0C0099B space
28 956CAD9B p
29 32F3AD9B pageup
30 F7573F9B pagedown
33 C8021B9B w
38 20D59B9B F7
39 59D03F9B 1
40 F5AB099B 2
41 BEA1F79B 3
42 4E7E899B 4
43 C9F3AD9B F9
44 8A1AF79B F10

C:\Program Files (x86)\Flirc>flirc_util.exe keys

Recorded Keys:
Index hash key
----- --------- ---
0 5E639B9B 5
1 2A32099B 6
2 CC959B9B 8
3 EE402D9B 9
4 3825899B 0
5 F79C9B9B up
6 3339099B down
7 87792D9B left
8 90F9099B right
9 9A00099B return
10 8C0C899B backspace
11 1BE91B9B c
12 65CE779B s
14 FA3E659B F8
15 2993899B f
16 5901B9B r
17 609C9B9B y
18 C7A8F79B suspend
19 9E2A9B9B l
20 A3171B9B e
21 29DC9B9B h
22 8BC72D9B i
23 C7639B9B tab
25 652FF79B x
26 D0C0099B space
27 956CAD9B p
28 32F3AD9B pageup
29 F7573F9B pagedown
32 C8021B9B w
37 20D59B9B F7
38 59D03F9B 1
39 F5AB099B 2
40 BEA1F79B 3
41 4E7E899B 4
42 C9F3AD9B F9
43 8A1AF79B F10

C:\Program Files (x86)\Flirc>123456
Link to comment
Share on other sites

Started from scratch with success.

 

- In Windows. Cleared Config with GUI.

- Relearned all keys and checked keys with Flirc_Util. All good.

- Saved Config. Cleared dongle. Reloaded saved config. Check with Flirc_Util. All good.

- Plugged into other USB port. Check with Flirc_Util. All good.

- Plugged into loaded up Ubuntu box. Check with Flirc_Util. All good.

 

Result: WORKING FLIRC (again)

 

Is Flirc having a laugh here? ;-)

Link to comment
Share on other sites

Alongside some back-and-forth with Jason (THANKS man!) --

 

I blew away 2 of my 3 flircs (in very similar fashion to the process you used, maxwell), and additionally made an adjustment to my Harmony 650 per the instructions here:

 

http://support.myharmony.com/en/article.htm?faqid=s-a-2158&ref=s-ts-3001--a-3-3&

 

There, I changed Device Command Repeats to 0 (from 1) for the Flirc Media Player device.

 

After some testing I handed the remote back over to the missus, who is usually the best test case ever. She didn't manage to cause repeating keys, so I'm cautiously optimistic.

 

edit=fired it up this morning and unfortunately I'm hitting the bug again.

Edited by doogie
Link to comment
Share on other sites

I would really like these things to work.  If it helps, I have noticed a few "odd" behaviors I'll share:

I have three old Dell Optiplex 755's running Linux Mint 17 and XBMC 13.2 with a flirc at each one:

#1 continues to get "sticky key" regardless of which port it is in (i.e. I select up in a menu and the menu items continue to scroll up extremely fast. If i let it sit a little, it will stop until i press another key only to begin the process again).

#2 was doing that until I moved the flirc to another port and rekeyed it. After relocation, it is sluggish requiring several key presses to move.

#3 worked from day one without issue.

I noticed if I had the flirc located in the front of the PC, the problem seemed to happen all the time. If I moved it to the back, the problem went away (for a little while on #1; it is now back).

I am a NOOB to all of this, but can manage to get some logs and revision levels if you can tell me specifically what you want, how to get it and where to send it...

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • Create New...