Jump to content
Flirc Forums


  • Posts

  • Joined

  • Last visited

Recent Profile Visitors

2,467 profile views

jonascj's Achievements


Newbie (1/14)



  1. Remote being used The remote from my Samsung E7000 TV. GUI 1.3.6 OS: Ubuntu 14.04 / 16 daily Pros + Cheap (I already had the remote) + With Linux it is very easy to bind key combinations to commands. So red [A] on my remote now triggers ~/scripts/suspend.sh which suspends my HTPC, blue [D] triggers ~/scripts/toggle-audio.sh which switches audio from HDMI to analog out. Cons - Both TV and Flirc receives the command since the remote has TV- / VCR-modifier buttons. I.e. I have to use "dead keys" on the remote. E.g. the red [A] does nothing when my TV is put into HDMI-source mode.
  2. I wonder if purpleman meant something like: flirc_util monitor which would just loop displaying messages like "2676D097 pressed". Couldn't this be emulated by 1. Saving the current config to a tmp file (flirc_util saveconfig) 2: Run a loop where you: 2a: Delete all keys recorded (flirc_util format) 2b: continuously record whatever key (flirc_util record a), 2c: grep the key hash from the "flirc_util keys" list (which only contain one item) 2d: Go to 2a 3: Reload the old config from tmp file (flirc_util loadconfig) This could pretty easily be converted to a Linux or Windows script.
  3. tl;dr USB HID codes from here http://www.freebsddiary.org/APC/usb_hid_usages.php should be given to flirc_util record_api as decimal Hi all Just had to deal with flirc_util record_api on account of the GUI not recognizing the Flirc board as connected (http://forum.flirc.tv/index.php?/topic/2208-linux-x64-flirc_util-works-without-root-but-flirc-gui-always-say-disconnected/#comment-12182 ), and I thought I'd save the information I found in a topic with a descriptive title for future reference: This is also a good resource: http://forum.flirc.tv/index.php?/topic/128-modifier-keys-in-command-line-recording/ flirc_util record_api x y where x is the modifier key and y is the HID key. # Modifier keys According to the documentation presented when running "flirc_util record_api" the modifier keys are specified by logically OR'ing these values together as binary (the de facto standard for specifying flags as a single parameter): OR'ing binary numbers is done by going through the two numbers bit by bit and comparing corresponding bits. If one of the two bits is 1 set the corresponding result bit to 1, otherwise set it to 0, e.g. 0101 OR 0010 = 0111. For these specific binary numbers (1,2,4...128 as decimal) OR'ing is the same as ADDing, and since "flirc_util record_api" expects a decimal input we might as add them in decimal: LEFT CTRL + LEFT SHFIT = 1 + 2 = 3 LEFT CTRL + LEFT ALT + LEFT SHIFT = 1 + 2 + 4 = 7 # HID keys The HID key codes can be found here: http://www.freebsddiary.org/APC/usb_hid_usages.php "flirc_util record_api" expects the code as decimal, but the freebsddiary.org page gives them in HEX, so get your hex-to-dec converter out. For example, 'g and G' is specified as 0x0A which is 10 in decimal. So if you want to program the g/G keyboard key with "flirc_util record_api x y" you have to specify y as 10, not 0x0A or similar. Another example is DownArrow which is specified as 0x52 in hex which needs to be specified as 82 in decimal. # Putting it together If you want to program LEFT CTRL + LEFT SHIFT + UP ARROW you need 1+2=3 as modifier key and 0x52=82 as HID key: flirc_util record_api 3 82 Another example is LEFT CTRL + LEFT SHIFT + LEFT ALT + S which would be 1+2+4=7 as modifier key and 0x16=22 as HID key: flirc_util record_api 7 22 # Documentation from flirc_util
  4. Hi all I have a Flirc SE (for the Streacom cases). On my current OS installation I can't get the Flirc GUI to recognize the Flirc board as connected. It always says "disconnected :(". This is regardless of whether or not I run it as root. The flirc_util happily programs the Flirc board, i.e. "flirc_util record up" works and records a key for the "up arrow"-keypress (and this keybinding works afterwards). This is without running flirc_util as root. It gets a bit bothersome to record keys with the flirc_util, so how should I get the GUI to recognize that the Flirc board is connected? My current OS is Ubuntu 16 daily 64bit, and my Flirc board is running firmware 3.8 flashed from Windows. The current x64 linux Flirc GUI and flirc_util is 1.3.6 (we need the newer version, please, http://forum.flirc.tv/index.php?/topic/2200-latest-firmware-on-ubuntu-x64/). I've seen this post about udev rules http://forum.flirc.tv/index.php?/topic/579-warningcannot-open-usb-device-on-linux/ , but with this version (1.3.6) there is already /etc/udev/rules.d/99-flirc.rules in place which contains the rules outlined in that post... Any suggestions?
  5. I was able to run the 32bit version on 64bit Ubuntu/Debian by installing 32bit libraries: sudo apt-get install libc6:i386 libncurses5:i386 libstdc++6:i386sudo apt-get install libusb:i386 sudo apt-get install libusb-0.1.4:i386sudo apt-get install libusb-0.1.0:i386sudo apt-get install libusb-1.0:i386sudo apt-get install libxt6:i386sudo apt-get install libxext6:i386sudo apt-get install libxi6:i386sudo apt-get install libfontconfig1:i386sudo apt-get install libglib2.0-0:i386 It takes quite some time to launch and show the GUI. Once open it reports that it have only firmware 3.6, just like thie 32bit flirc_util which works without installing additional libraries.
  6. Indeed let us get a x64 bit build of Flirc and flirc_util. Even the .zip download only contain the 32bit release ...
  7. Chris!: Thank you for replying. It helped to read through some of those posts and thinking some more. I think I'll go for one of the Logitech Harmony remote controls, or One For All Simple 4. I just have to decide whether the activity functionality offered by Harmony is worth it. The Harmon 350 offers only one profile, but all the other Harmony remotes look ridiculous with their touch screens (I don't want another tablet, I wanted a remote :P).
  8. Thank you for the introduction to the basics of FLIRC. I've made a separate thread what I ask for suggestions for my specific setup:
  9. Hi all I have a HTPC build in a Streacom FC8 Evo case (http://www.streacom.com/products/fc8-evo-fanless-chassis/). The HTPC serves content via HDMI to a Samsung UE46ES7005 (the Scandinavian version of the Samsung ES7000). No speaker system is yet included in the setup, but I plan on acquiring one and I plan for it. Streacom sells a FLIRC module (http://www.streacom.com/products/flirc-se-adaptive-ir-receiver/) which can be mounted inside their cases and this module is able to power the PC on when it receives a certain IR signal (not sure what this signal is yet). It does being inserted into the ATX power on circuit (the two wires connecting pin 16 on the ATX 24-pin connector and ground). The Streacom FLIRC module is how I heard about FLIRC. I came to their site to check out their other IR receiver+remote (http://www.streacom.com/products/irrc/) looking to make a CEC setup (having just learned about CEC from a friend). So I would like to hear if it is possible to choose a remote (for use with FLIRC) which will allow me to control my HTPC (Streacoms custom power on function and XBMC/Kodi), my Samsung ES7000 (power on, volume, channels, menus etc.)? On top of this; do you think it is possible to find a speakerset / receiver+speakers which will also work with the same remote (power on, volume, choose input)? In this thread I was told that the most popular remote on this forum was the Logitech Harmony models. yawor also spoke highly of OneForAll Simple 4 remote ( URC-6440). Would either of those work for me? A speaker system would most likely be connected to the HTPC using S/PDIF (RCA or Toslink). I suppose I have to pick a receiver featuring a remote in order to control them with a Harmony or OneForAll universal remote. Thank you for your input! / Jonas
  10. So that fits with Flirc being part of a scheme/strategy to use one remote TV, HTPC and Stereo/HIFI. Because that is the reason for using Flirc compared to some other pair of IR receiver and remote, isn't it? To be able to use whatever great universal remote you have with Flirc (and the device hosting the Flirc receiver)?
  11. What do you mean by "universal remote capabilities"? Buttons labled DVD, TV, AV, etc. which switch between which piece of equipment is being controlled? Okay, so it is as I thought, that both pieces of equipment (TV and HTPC) would respond. Unused keys can of course be used.
  12. Hi I have a general question about how Flirc works. If I added a Flirc IR receiver to my HTPC and "set it up" with my TV remote control, will both my HTPC and TV react to key presses on the TV remote control? If I for example map volume up, on the TV remote, to some action/key kombination in the Flirc GUI, will both the HTPC and TV receive the key press? If yes, how to deal with that? I don't want both my TV and my HTPC to increase volume. / Jonas
  • Create New...