GerryD
-
Posts
4 -
Joined
-
Last visited
Posts posted by GerryD
-
-
It was on both. I've connected it directly to a USB port on the PC. Still no joy. Very flakey . My application is a web accessible remote remote. I've got a little web page with a pile o' buttons that wrappers flirc_util in shell mode to "sendir" commands to control my cable box.
Here's an interesting observation, manually running the send_ir commands it turns out it works much better if the GUI isn't running, See below.
########## GUI not running #####################
<5,521,2160,516,2165,520,2160,516,2165,520,4408,525,2155,520,4408,524,2157,518
Transmitting IR Pattern...Done!
<5,521,2160,516,2165,520,2160,516,2165,520,4408,525,2155,520,4408,524,2157,518
Transmitting IR Pattern...Done!
<5,521,2160,516,2165,520,2160,516,2165,520,4408,525,2155,520,4408,524,2157,518
Transmitting IR Pattern...Done!############ Turned on GUI #################
<5,521,2160,516,2165,520,2160,516,2165,520,4408,525,2155,520,4408,524,2157,518
Transmitting IR Pattern...[E] lib/libtransport/hid.c hid_recv_packet(167): hid_recv_packet: wrong report id
[E] lib/libtransport/hid.c hid_recv_packet(168): hidapi: The parameter is incorrect.
[E] lib/libtransport/transport.c _recv_packet(126): _recv_packet: recv packet error = -1
[E] lib/libtransport/transport.c _dev_send_cmd(201): recv timeout
[E] util/flirc_util/src/cmds/ir_transmit.c sendir(112): Error: could not transmit data
Done!
flirc_sudo.exe $I'll try to do some more debugging. In the meantime can you tell me how to find the Flirc device in Device Manager so I can verify the proper driver is being used?
-
I'm having an identical problem. Interesting this is it "WAS" working fine. I'm at a lose to determine what has changed. I've unistalled and reinstalled a couple of times and reloaded the flirc firmware. WIndows 10. The device disconnects and reconnects after every yril cmd.
:\Program Files (x86)\Flirc>flirc_util.exe settings
3.26.0
FW Version: v4.9.3
[E] lib/libtransport/transport.c _dev_send_cmd(223): Wrong response: 'getversion'
[E] lib/libflirc/firmware/fw_4.0.c fl_ver4_header_peek(50): invalid address you idiot
[E] lib/libtransport/transport.c _dev_send_cmd(223): Wrong response: 'getversion'
[E] lib/libflirc/firmware/fw_4.0.c fl_ver4_header_peek(50): invalid address you idiot
[E] lib/libtransport/hid.c hid_recv_packet(167): hid_recv_packet: wrong report id
[E] lib/libtransport/hid.c hid_recv_packet(168): hidapi: The parameter is incorrect.
[E] lib/libtransport/transport.c _recv_packet(126): _recv_packet: recv packet error = -1
[E] lib/libtransport/transport.c _dev_send_cmd(201): recv timeout
[E] lib/libflirc/firmware/fw_4.0.c fl_ver4_header_peek(50): invalid address you idiot
[E] lib/libtransport/transport.c _dev_send_cmd(223): Wrong response: 'ir_state'
[E] lib/libflirc/firmware/fw_4.0.c fl_ver4_header_peek(50): invalid address you idiot
SKU: Flirc 2.0 [dori]
Branch: master
Config: release
Hash: 0xCB185BDESettings:
sleep detection: always enabled
noise canceler: always enabled
inter-key delay: N/A for current firmware
variant: Flirc
builtin profiles: NA
Memory Info: NA
product sku: Flirc 2.0 [dori]C:\Program Files (x86)\Flirc>flirc_util.exe unit_test
[E] lib/libtransport/transport.c _dev_send_cmd(223): Wrong response: 'ir_state'
[E] lib/libflirc/firmware/fw_4.9.c fl_ver4_set_record_api(108): command error
[E] lib/libtransport/hid.c hid_recv_packet(167): hid_recv_packet: wrong report id
[E] lib/libtransport/hid.c hid_recv_packet(168): hidapi: The parameter is incorrect.
[E] lib/libtransport/transport.c _recv_packet(126): _recv_packet: recv packet error = -1
[E] lib/libtransport/transport.c _dev_send_cmd(201): recv timeout
[E] lib/libtransport/hid.c hid_recv_packet(167): hid_recv_packet: wrong report id
[E] lib/libtransport/hid.c hid_recv_packet(168): hidapi: The parameter is incorrect.
[E] lib/libtransport/transport.c _recv_packet(126): _recv_packet: recv packet error = -1
[E] lib/libtransport/transport.c _dev_send_cmd(201): recv timeout
[E] lib/libflirc/firmware/fw_4.2.c _fl_unit_test(141): error recording
Flirc Not Okay
[E] lib/libtransport/transport.c _dev_send_cmd(223): Wrong response: 'ir_state'*** Device Connected ***
Firmware Version: v4.9.3
SKU: Flirc 2.0 [dori]
Git Hash: 0xcb185bde
*** Device Disconnected ***
*** Device Connected ***
Firmware Version: v4.9.3
SKU: Flirc 2.0 [dori]
Git Hash: 0xcb185bde
*** Device Disconnected ***
*** Device Connected ***
Firmware Version: v4.9.3
SKU: Flirc 2.0 [dori]
Git Hash: 0xcb185bde
<3>report_callback(227): pkt recv err
<3>report_callback(227): pkt recv err
-
Dood,
Thanks for this. I was struggling getting the sendir timings consistent. I was unaware of the "shell" mode for flicr_util. So my little program ( a web=based RC for my cable box ) is working OK based on your code. I was wondering if you had considered using CTYPES to call into the flicr.dll directly? The down side is having to reproduce all the initialization code that flicr_util does for you when it starts up.
Steve H
in Firmware Bugs
Posted
P.S. The problem persists even after I stop the GUI. A reboot is needed to clean things up.