Jump to content
Flirc Forums

Search the Community

Showing results for 'SendIR command'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • Flirc forums
    • Skip
    • Raspberry Pi Cases
    • Flirc USB
    • Flirc USB Gen1
    • Jeff Probe

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


Location


Interests

  1. I executed the command as administrator but got an error: "Could not connect sessionID 0 to sessionname console, Error code 5 Error [5]:Access is denied.
  2. That's a really interesting find. Try the same command with sudo
  3. i'm having issue as well mostly using the directional arrows. making navigation through XBMC annoying. I upgraded to the latest release GUI and firmware. GUI 1.2.2 and Firmware V2.3. And I just tried running the command from the CLI to enable noise canceling and got this message: Warning: cannot open USB deviceenabling noise canceler any idea what that might mean?
  4. I had downloaded the right files for the right platform. But thanks to the last line of your last post ("$ sudo ./Flirc"), I realized that my user was not part of the "sudoers". So although the Flirc GUI program would start and say that the Flirc module was connected, there was no menu available. I remedied the problem with the following (in case someone else encounters the problem). Open the sudoers list by opening a root terminal window and using the visudo program to edit the list like so: # visudo Find the line that has "root ALL=(ALL:ALL) ALL" and copy it right below itself changing the word root to your username so it looks like below: # User privilege specification root ALL=(ALL:ALL) ALL username ALL=(ALL:ALL) ALL Now save your changes and restart the Flirc GUI program in a user terminal window with the command below. My desktop is KDE so I use "kdesudo". You might need to use "sudo" or "gksudo" for Gnome desktop, it depends on your system. $ kdesudo -u username ./Flic Once the program is started, click File -> Advanced -> then click the button "Force FW Upgrade". After a minute or so, "Firmware v2.3" will be displayed on the bottom left hand corner of the window. MrNice, I wish you a good life, you certainly made mine better today.
  5. Hmm. Which one would that be? Thank you for your help! I get the following commands: delete Delete next remote button flirc sees from saved database delete_index Delete button at index displayed in `flirc_util settings` dfu Kick in or out of Device Firmware Upgrade mode dump Dumps contents of eeprom to console format Remove all saved buttons from flirc help Show this help. Also try `help <command>` interkey_delay Test run command keys Shows the recorded remote keys and their pairings loadconfig Load configuration file from disk to flirc noise_canceler Noise canceler to prevent phantom presses normal Put flirc in normal user mode peek Peek EEPROM address profiles enable or disable built in profiles reboot Displays all the devices current settings record Record infrared buttons and link them to HID keys record_api Advanced button recording saveconfig Save configuration file to disk settings Displays all the devices current settings sleep_detect Turns on sleep/suspend detection space Displays information about the space used and remaining status Last Flirc Status upgrade Uploads new firmware image to flirc hardware version Print the application version and device version if connected wait Waits for the device to be plugged in (used for scripting)
  6. Hmm.. there is a CLI command for increasing sensitivity (unless it's been taken out recently). Have you tired re-programming flirc to see if it makes any difference?
  7. Thanks for the answer Chris! I have tried noise cancelling and it doesn't seem to change anything. No other devices either, but checking that was a good suggestion. I have a new theory though: At night we often roll up in blankets at this time of the year and I guess they will lessen the reflection of our surroundings. The funny thing is that sometimes the AVR blinks as it recognises a remote press (it does so even when it doesn't react, I use the directional keys for flirc which don't do anything for the AVR while not in a menu) and the Mac doesn't react, even when I'm right in front of the flirc. It seems to me that this happens when I don't press the button all the way down or at a slight angle. I tried to learn this "slight press" but it doesn't seem to give a different signal, flirc GUI says "button already learned" It's not too bad really. I just thought that I maybe missed some command for the CLI to increase sensitivity and was a bit surprised that the AVR picks the signal up more easily. Really love the Flirc and just wished I had found it before I spent weeks unsuccessfully trying to find a universal remote I liked.
  8. Well I fixed my own issue. I ran Flirc from the command line as root and it connected. I haven't tried it in my HTPC but at least it appears to work on my desktop
  9. ok so this is kinda specific android treatment for android devices where flirc is connected to!? Flirc receives the command a remote sends to it (e.g. "a") and flirc passes it through to the android device (like an ouya). The app acts as a "man in the middle" and "translates" the "a" key to "vol up"!?
  10. It's not easy to find a remote, which gives you full functionality for both devices without 1. to be a universal remote or 2. overlaps functionality and interfere the second device You can look for a dvd/ bd sony remote, which offers also tv functionality or vice versa. In both ways you will probalby not have full functionality for the second device on the remote (tv or dvd/bd) in most cases I know, that some older sony vcr remotes have some kind of mechanical switch to change the profile between vcr and tv, but they often are missing the navigation buttons (arrows) So the best solution for you seems to be an universal remote. There are cheap fancy ones, like one4all, which will grant you the best remote experience. As long as you have both devices in sight, using the same remote, you will always control these both devices with buttons/command related to both devices. There is no way to avoid this. In my case, i use a silver ATV remote to control my xbmc. Small, sleek design and functional. For enhanced commands like info, context menu, zoom etc. i'm using unused buttons from my tv remote, as long, as the long press feature is not implemented yet.
  11. do you guys have sleep detect enabled in the GUI? Also, make sure you haven't recorded any noise. use the commandline, flirc_util settings. Look for duplicates. Delete all duplicates and re-record those keys. When receiving a signal, flirc will send a character to the machine. Regardless of the state of the machine. Sleep detect tells flirc to check if the computer is sleeping. If it is sleeping, do not send any keys unless it's the 'wake-up' command. Further, if you don't have sleep detect, and have recorded erroneous noise, then the machine will see noise as a false signal, and send a command to the computer. ** EDIT ** TLDR; enable sleep detect in the gui
  12. Hi, There are several buttons I can't pair with a remote command. I always get a report 'button already exist' Even when i clear setiings via File -> Clear Configuration. or choose 'Redo' or clear button I try to setup Flirc with Windows Media (for Raspberry Pi) with a Harmony 700 The harmony is already set up. I'm using GUI 1.2.2 Based on Qt. 4.8.0T. and latest Firmware (2.3)
  13. So you're using a wmc (ir6) compliant profile with your harmony? Did you mapped every button twice? this is necessary,due to the wmc protocol sends a second command on every second keypress.
  14. Yes it's possible with either the GUI and the command line. It's under the file menu in the GUI.
  15. I found 2 old remotes saved from bin few years ago. Both have Play and Pause buttons separately. Both have the same behaviour; - Play with the first press Play button and play again from beginning with the second press. - Toggle file view/play list with Pause button - Stop paying with Stop button When a button is recorded with the xbmc profile then we con go to the keyboard profile and press recorded remote buttons, then key turn green according to the remote button pressed. So Play button sends p key Pause sends space bar Stop sends x key sudo ./flirc_util keys allows to check that as well. ($ sudo ./flirc_util settings as well) Could you run it and post please? I don't have a USB keyboard to compare when press p or space bar. BTW: I just note that my request in the other thread " Keyboard key (action) mapped to more than 1 remote key" is implemented. If you have more than 1 remote or 1 remote with more than 1 profile, you don't need to delete the previous record for one button to record a new button code to the same key (action). Not easy to explain. For example, you record Play button from the remote 1 with the xbmx profile, > is green. You can record the Play button from the remote 2 with the xbmc profile, > will be green as well. Look at the CLI command: $ sudo ./flirc_util keys Recorded Keys: Index hash key ----- --------- --- 1 9D6C74B0 tab 2 5F5A4B9D home 3 5B1B6912 escape 4 5B06EC4E x 5 9DC159A3 c 6 5B68E519 up 7 1917DA7B left 8 99BE5F32 right 9 5729038F down 10 5BAC361F return 11 99298E70 backspace 12 5F7C2097 , 13 5F386CE9 . 14 9D7D089E pageup 15 9D7D6728 pagedown 16 1D89F0E4 i 17 5BF9F14B / 18 5FF41AE4 p 19 8096252F p 20 862411 space 21 6104EE71 p 22 61C0603E space 23 61040FBF x I have 3 p keys, 2 space and 2 x. This is what I was saying in the other thread.
  16. Sorry for abcence, was busy. You're right. The behaviour depends only on the app. So as long as the app reacts on common keyboard commands, it will also respond to flirc, as long as the command is related to the corresponding keystroke.
  17. Hi, This is an idea, not very important for me right now but could be convenient. Let say you have a usual remote for some devices. At the top of the remote you have few keys to choose the device to send the beam: TV, DVD, SAT, PLAYER, AUX... First you press the device key and then press the action key to the selected device. What is the purpose of the play, pause, fast forward, etc when you select TV? Nothing. When you select PLAYEUR key the above keys are used to the right action for the player and mapped. Note the codes are not the same when device selected is TV or PLAYER. It could be usefull to map the play, pause, fast forward, etc to command the player with the both selected devices TV and PLAYER for example. So, to be able to map 2 or (more ?) remote keys (different codes) to 1 keyboard key (action). What do you think?
  18. I've temporarily adopted a solution... Since i know a little about C# programming, i've written a simple application. It basically runs at startup and looks for XMBC windows instances to automatically change send the keyboard layout change command to XBMC. It's not the perfect solution, but since we don't have the possibility to change Flirc's keyb. layout, it works fine for me. I hope the programmer will include features like this in future releases, it would be cool! :)
  19. This wont work for me... I using Xbmcbuntu.. after "sudo ./Flirc" I got this message "sudo: ./Flric: command not found" is ther no other way?? tried it as root or with chmod but nothing work... as root "bash: ./Flirc: Permission denied" thanks for helping
  20. In order to program Flirc from a debian Linux OS such as Ubuntu, you must do so as a privileged user. try "sudo Flirc" from command line in your terminal and the status should show as connected and there is no need to use a second computer. If you are advanced with Linux configuration, you can configure your user account to have "root" privileges but that decreases system security. TO ADMINISTRATOR: As a fellow Linux developer, I would recommend that the Flirc binary ask for administrator password and run as root automatically to make programming Flirc seamless on ANY Linux OS where sudo is allowed. Have a great day everyone! - Double T - doublet30@hotmail.com
  21. Wow, thanks! Using the Media Keys keyboard got the Skip Back (Previous) and Skip Forward (Next Track) working! Any suggestions for the Info command (Ctrl+D)? Also known as the "Shortcut Menu" in WMC.
  22. Flirc basically acts as a keyboard. So it depends on your mapping, how it acts with programs and system. E.g. if you map it with standard wmc commands, you will be able to control all programs/ apps, using these commands like WMC, DVD/BD-Software, VLC etc. The same goes to any other keyboard related command and its function within the used system and its programs.
  23. I think one of the key ones missing: The "Green Button" command = Windows Key+Alt+Enter Live TV = Ctrl+T Recorded TV = Ctrl+O I programmed them in the Full Keyboard layout, but if you look into adding to the Windows Media keyboard those would be helpful.
  24. Previously I used Flirc v 1.2.2 which installed with FW v-16.-1 bottom left corner. when I tried force upgrade it said v 2.3 was available but crashed every time I tried to upgrade. I redownloaded the exe and reinstalled, and it showed FW v2.3 bottom left corner. Then today it has somehow reverted back to v-16.-1 and nothing works. The dongle does not see remote clicks, and I cannot erase learned commands, so I redownloaded the exe and installed but no joy. It would be nice if I could just download the latest FW, but it seems to be either unavailable or too hard to find. There must be some way to fix this, I really don't want to clear the config because It's almost there except for a couple of lagging keys, and I'm also worried that It won't work at all after clear command. Oh, using Windows 8.1 with corei7 and buckets of DDR
  25. Hi, below is the solution for your problem: You will need to use the command line. You should know how to navigate through your file system and call programs using the command line. ---Theory:--- For the OS, the numpad keys are different keys than the main field number-keys. The operating system maps the same symbol (the number) to both keys. To get your mouse emulation, you need to map the low level keypad values, instead of the main key field keys. The Flirc GUI can map the main field keys only, but not the numpad keys. ---Obtaining the needed values:--- To program the numpad keys, you need the raw USB-HID values as decimal numbers, and program them with the command line tool and the tool’s record_api function. You can get the raw values from here: http://www.freebsddiary.org/APC/usb_hid_usages I’ve quoted the relevant part below: For reference, this is the main keyboard that the GUI programs into Flirc: using a Hex to decimal number converter (like this online one: http://www.statman.info/conversions/hexadecimal.html), you can convert those to decimal numbers. This is range 30-39 decimal. But you will need those: the Keypad numbers 1-0 have decimal values of 89 to 98. You can calculate the other values (+, -, / keys, etc), if needed, by simply counting down from 89. --- Programming Flirc:--- First, unlearn all the keys you want to use for the mouse emulation (with the GUI or command line tool). (For linux, the command line tool we will use is called flirc_util. For windows it *might* be called flirc_util.exe. I don’t know, as I don’t use windows, look in the program’s install folder) Now you use the command line tool to program the Keypad keys, by using the program’s record_api function: Quote from the program’s internal help: You don’t want any modifiers, so the first argument is 0 and the command is: flirc_util record_api 0 <arg> or flirc_util.exe record_api 0 <arg>, where <arg> is a number between 89 and 98. eg.: flirc_util record_api 0 89 to program the keypad 1, flirc_util record_api 0 90 to program the keypad 2, etc… so you start the program with the proper arguments for the key you want to program, then the program waits until you press a key on your remote, programs it and exits. you redo that for every key you want to map, entering the correct value as a start parameter. BTW: note for windows users: you cannot simply click a command-line program, that won’t work. You have to start the command line from the menu, navigate to the exe’s folder (use cd command) and then type the program name and its parameters. <Tab> can be used for auto-completion, <Arrow up> and <Arrow down> to recall the last entered commands (so you don’t need to retype the command 10 times, but can use <Arrow up> and edit the last command.) I hope that helps
×
×
  • Create New...