GithubHelp home page GithubHelp logo

sdk's People

Contributors

cstroe avatar jdk avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

sdk's Issues

Add support for Linux_aarch64

I'm trying to compile flirc_util for my NVIDIA Jetson Nano, which is on arm64. Unfortunately there is no library file for this architecture. Would you please supply the library file or give instructions on how to build it?

Building with Visual Studio 2015

I created a VS 2015 C++ console app and included ...\sdk-master\libs\Win\libflirc.dll. When I built the project there is an error saying libflirc.dll is invalid or corrupt. Dumpbin was able to read the dll however. How can I get VS to read the file?

No support for up to date Raspbian OS

flirc library for an up to date Raspbian compile for aarch64 based architecture is missing.

flirc device can't be use.

Can't you offer the source code of the library or an -march=armv8 compiled version of the library?

Have to send back my flirc device. This makes me unhappy.

Sample Documentation

Hello,

Do you have any documentation or code samples on how to receive input from the Flirc USB IR receiver? We would like to capture the IR signals from within our application.

Our application is written in C#, but we can wrap the C DLLs if needed to invoke the necessary functions.

Ideally we would like to map raw IR signals to commands in our application. However we could also possibly map the command buttons using your tool, and use the mapped keys. We would need to be able to identify the key command came from your USB IR device instead of a keyboard. Any suggestions?

Thanks,
Bobby

Included libs for linux are missing dependencies

The .so files for flirc (libs/linux_*) does not contain all the dependencies they need for "loading" through dlopen.
Noticed this when attempting to build a little web app in C# to interact with the device. Got forced to re-compile the arm64 linux version to make it work through the libflirc.a file with correct dependency tree.

Would it be possible for you to provide an updated version for all linux versions with correct dependency tree?

Check with "ldd" and you'll see the needed "libusb" is not listed.

flirc_util can't find device

Hi,

My FLIRC works with the GUI app, but not the CLI util.

Brand new FLIRC USB dongle
Firmware v4.9.3
Flirc v3.25.3
macOS 11.4

$ lsusb
...
Bus 020 Device 011: ID 20a0:0006 20a0 flirc

$ /Applications/Flirc.app/Contents/Resources/flirc_util version
3.25.3

$ /Applications/Flirc.app/Contents/Resources/flirc_util settings
device disconnected, can't run command

$ /Applications/Flirc.app/Contents/Resources/flirc_util record_api
device disconnected, can't run command

Any clues?

build fails under ubuntu bionic on `fl_fw_dirty` and others.

fresh checkout, libhidapi-dev and libusb-1.0-0-dev installed. The fl_fw_* functions only seem to be in libs/flirc.h, I don't see an implementation?

$ make all
make[1]: Entering directory '/home/eichin/gits/flirc-sdk/cli'
[BUILDING]      flirc_util.debug
make[2]: Entering directory '/home/eichin/gits/flirc-sdk/cli'
[CC]            src/main.c
[CC]            src/prepost.c
[CC]            lib/logging.c
[CC]            lib/getline.c
[CC]            lib/dict.c
[CC]            lib/cmds.c
[CC]            lib/cmds_script.c
[CC]            lib/cmds_shell.c
[CC]            src/cmds/version.c
[CC]            src/cmds/flirc_cmds.c
[CC]            src/cmds/ir_transmit.c
[LINK]          ... ux_x86_64/x86_64_linux_gnu_gcc_7/flirc_util/debug/flirc_util
buildresults/Linux_x86_64/x86_64_linux_gnu_gcc_7/flirc_util/debug/src/cmds/flirc_cmds.o: In function `version':
/home/eichin/gits/flirc-sdk/cli/src/cmds/flirc_cmds.c:65: undefined reference to `fl_fw_dirty'
/home/eichin/gits/flirc-sdk/cli/src/cmds/flirc_cmds.c:66: undefined reference to `fl_fw_branch'
/home/eichin/gits/flirc-sdk/cli/src/cmds/flirc_cmds.c:67: undefined reference to `fl_fw_config'
/home/eichin/gits/flirc-sdk/cli/src/cmds/flirc_cmds.c:69: undefined reference to `fl_fw_dirty'
/home/eichin/gits/flirc-sdk/cli/src/cmds/flirc_cmds.c:92: undefined reference to `fl_fw_branch'
/home/eichin/gits/flirc-sdk/cli/src/cmds/flirc_cmds.c:96: undefined reference to `fl_fw_config'
buildresults/Linux_x86_64/x86_64_linux_gnu_gcc_7/flirc_util/debug/src/cmds/flirc_cmds.o: In function `record_api':
/home/eichin/gits/flirc-sdk/cli/src/cmds/flirc_cmds.c:309: undefined reference to `fl_set_record_api_new'
collect2: error: ld returned 1 exit status
buildsystem/main.mk:72: recipe for target 'buildresults/Linux_x86_64/x86_64_linux_gnu_gcc_7/flirc_util/debug/flirc_util' failed
make[2]: *** [buildresults/Linux_x86_64/x86_64_linux_gnu_gcc_7/flirc_util/debug/flirc_util] Error 1
make[2]: Leaving directory '/home/eichin/gits/flirc-sdk/cli'
buildsystem/target.mk:32: recipe for target 'debug' failed
make[1]: *** [debug] Error 2
make[1]: Leaving directory '/home/eichin/gits/flirc-sdk/cli'
Makefile:55: recipe for target 'flirc_util' failed
make: *** [flirc_util] Error 2

(I'm just poking at this now to play with a FLIRC I picked up in 2016, so I'm curious about this code working with the old and new hardware, especially for transmit, which is why I'm trying to build it.)

flirc_util: error while loading shared libraries

blu@raspberrypi:~ $ curl apt.flirc.tv/install.sh | sudo bash
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100  8266  100  8266    0     0  11774      0 --:--:-- --:--:-- --:--:-- 11758

                     `..-:://++ooossyyyyhhhhhhhhhhhhhhhhyyysso++/:-.`
         `.:/+oosyhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhyo:`
    -/oyhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhy
  /hhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhh-
  hhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhh:
  yhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhh:
  ohhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhh-
  -hhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhh`
   yhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhs
   /hhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhh/
    yhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhho:-:+hhhhhhhhhhhh.
    /hhhhhhhhhhhs-   -shhhhhhhhhhhhhhhhhhhhhhhhhhhhhhh.     `hhhhhhhhhhs
     yhhhhhhhhhh`     .hhhhhhhhhhhhhhhhhhhhhhhhhhhhhhh       yhhhhhhhhh-
     :hhhhhhhhhho`   `ohhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhs:` `-shhhhhhhhho
      shhhhhhhhhhhssshhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhh`
      .hhhhhhhhhhhhhhysso++///:::-----........-----:://+oshhhhhhhhhhh:
       :hhhhhhhhhhhs/:---......```````````.......---:::/+ohhhhhhhhhho
        +hhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhs
         ohhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhy`
          +hhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhs`
           -shhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhys:
             `.-://++oosssyyyyyhhhhhhhhhhhhhyyyssoo++//:--.`
Distribution: debian
Checking for curl...
Detected curl...
Installing flirc deb-repo...
Running apt-get update... done.
Installing apt-transport-https... done.
Installing /etc/apt/sources.list.d/flirc_fury.list...done.
Running apt-get update... done.
Do you want to install the flirc utilities? [Y/n] y
Installing flirc utilities...done.

blu@raspberrypi:~ $ sudo flirc_util
flirc_util: error while loading shared libraries: libreadline.so.6: cannot open shared object file: No such file or directory

This is on a fresh raspbian lite (x64) install

Library source code is missing

Hi,

I just noticed that the source code of the library is missing on this repo. Could you please address this issue? I'd like to get my dongle running on a RISC-V SBC. :-)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.