remove unneeded forward declaration
Avoid potential deadlock by flushing the audio buffers before closing the device
fix console output
remove pointless cast
fix definition
Use the correct type for callback function. Should stop x64 exploding.
Fix handling of multiple clients
bitmap fonts are so 90's .. :)
Issue handling multiple clients
Okay, perfect. That's great to know. I have one last scenario to run by you if you don't mind. Say an FD_READ occurs on a socket. This will cause WaitForMultipleObjects to unblock after automatically resetting the event object, and ThreadProc will start processing the event. Then an FD_CLOSE event occurs concurrently, re-signalling the event object. But let's say that while processing the FD_READ, the recv call returns SOCKET_ERROR, causing this logic to run: if(bytes==0 || bytes==SOCKET_ERROR) {...
Okay, perfect. That's that's great to know. I have one last scenario to run by you if you don't mind. Say an FD_READ occurs on a socket. This will cause WaitForMultipleObjects to unblock after automatically resetting the event object, and ThreadProc will start processing the event. Then an FD_CLOSE event occurs concurrently, re-signalling the event object. But let's say that while processing the FD_READ, the recv call returns SOCKET_ERROR, causing this logic to run: if(bytes==0 || bytes==SOCKET_ERROR)...
Only the event which caused WaitForMultipleObjects to return is reset. Unless waitforall is set, then they all are.
Ah, I didn't realize that. Thanks for pointing that out. Actually, looking at the documentation for WaitForMultipleObjects, something else concerns me about that function: "The function modifies the state of some types of synchronization objects. Modification occurs only for the object or objects whose signaled state caused the function to return." Does that mean if 2 sockets got FD_READ events at the exact same time that both of them will automatically get reset but the return value will only indicate...
The WaitForMultipleObjects method will automatically reset the handles for events which have an autoreset state.
Hmm, I believe the manual reset is still needed. Here's why: Take a look at Microsoft's documentation for WSAEventSelect: https://docs.microsoft.com/en-us/windows/win32/api/winsock2/nf-winsock2-wsaeventselect#return-value It states: "Having successfully recorded the occurrence of the network event (by setting the corresponding bit in the internal network event record) and signaled the associated event object, no further actions are taken for that network event until the application makes the function...
Okay I just had a look at this .. CEvent in MFC has a default constructor which has BOOL bManualReset = FALSE. So I think the manual reset isn't needed at all. Try simply removing clientEvent[i].ResetEvent();
I'll see if i can debug this. It's been quite sometime since I looked at this code. But patches are welcome.
Race condition when writing to socket immediately after connecting
and I don't have a remote control to write commands from him
but I don’t need a receiver) I’m going to use a transmitter to control a TRIMAX tuner. I need a configuration file or information on how to create it. сб, 20 апр. 2019 г. в 20:07, Ian dukeeeey@users.sourceforge.net: People still use serial devices? I hope you aren't using a USB adapater because that won't work. Has to be directly connected to the mobo, but that receiver should be able to record just about any remote assuming it uses standard frequencies. [support-requests:#44] Trimax TR-2012HD Status:...
People still use serial devices? I hope you aren't using a USB adapater because that won't work. Has to be directly connected to the mobo, but that receiver should be able to record just about any remote assuming it uses standard frequencies.
yes
Or do you mean a receiver for a winlyrс?
Trimax TR2012-HD
What receiver are you using?
I had the same problem again, twice, this time I was running from cmd, actually via a .bat file that's supposed to -u (update) a file that is dropped on the -bat file, quite handy. I managed to read 11 buttons before it crashed the first time. When trying again I get an error on a buttton that is a bit tricky and fails sometimes - and it quits. Same "Error signature" as before: AppName: irrecord.exe AppVer: 0.0.0.0 ModName: audiocapture.dll ModVer: 0.0.0.0 Offset: 000010f2 I'll try -f and then do...
first than all thank you for your quick response The following is the code from rawcodes after formatting 3477 1706 405 490 447 1237 447 447 405 405 383 447 383 469 405 1343 490 1237 383 490 405 447 405 1301 362 490 383 1322 469 1237 405 469 362 490 383 469 362 511 341 533 319 511 426 490 191 554 362 533 319 554 319 490 405 447 341 511 319 1407 362 1365 405 1322 341 490 383 533 341 511 341 490 405 469 426 426 362 490 341 511 341 533 362 1322 362 1386 447 1258 405 405 447 490 234 597 341 533 341 490...
https://www.datasheet.live/index.php?title=Special:PdfViewer&url=https%3A%2F%2Fpdf.datasheet.live%2F3ca11ca1%2Fnecel.com%2FUPD6121G-001.pdf
µPD6121D System code 01FD
System code 01FD
Do not tell me how to do this? Or maybe there is an analogue of this remote control in the lirc database? Thank. пн, 15 апр. 2019 г. в 14:59, Ian dukeeeey@users.sourceforge.net: Yeah it should be possible. You can create a raw config (spaces/pulses) and use a generic receiver I think [support-requests:#44] https://sourceforge.net/p/winlirc/support-requests/44/ Trimax TR-2012HD * Status: open Group: v1.0 (example) Created: Mon Apr 15, 2019 02:53 AM UTC by Oleg Odessa Last Updated: Mon Apr 15, 2019...
Yeah it should be possible. You can create a raw config (spaces/pulses) and use a generic receiver I think
Trimax TR-2012HD
The issue could be something like the hw can't suspend with the PC, and then come back to a working state. I seem to recall some of the devices had issues like that before.
Well, I can't explain it but it's working now. I haven't changed anything but I have removed and reconnected the irdroid device a few times in troubleshooting. I found clues in some forum posts that error 31 is "A device attached to the system is not functioning" but I haven't found documentation to back that up. In any case, it seems that removing and reconnecting may have helped - back to hardware or firmware issues. Thanks for your time in working to help me and in maintaining the package. Da...
Ian, I removed the breaking plugins from the solution and got it to build. I'm using Visual Studio 2015. The offending line is in the IRToy project, serial.cpp line 358: if (!::SetCommState(m_hFile,&dcb)) SetCommState is setting error 31 - for which I have not been able to find any documentation. But the error is coming from the Win32 API call and probably based on a hardware issue in my IR adapter from irdroid. Since I am using an IRToy clone, I'm kind of stuck. I ordered a real IRToy but that won't...
What are you building it with? Should build with visual studio, but you need MFC
It's set to com3, which is the same identified in device manager. I've downloaded the source to try to add some debugging and logging info to see if I can find out what's happening but the trunk does not build; there are a lot of errors. Many instances lf: invalid literal suffix 'L'; literal operator or literal operator template 'operator ""L' not found. A few instances of unresolved external symbols, and a couple of symbols defined more than once. Most of those, but not all, are in plugins I don't...
I'm puzzled why init would fail but irrecord would work because I am pretty sure irrecord also calls init .. What settings are you using in the irtoy plugin? Been sometime since I looked at this thing but I seem to recall you have to set a serial port for it?
I deleted the config file and it still doesn't init. I deleted the .ini file and still won't init. I ran irrecord again and created a new config file from a different remote and tried configuring that config file and still won't init.
Does it init without the config file?
Adding config file attachment.
Trying to add attachments.
failed to initialize error
You can close this ticket. The problem in hercules was that i was missing the Line Feed at the end.
WinLIRC + Hercules
Thanks, Cheers, Georgi
I'll update it when I have a bit of time :)
Irdroid Eye Control and WinLirc
Hm, yes.... but there are limitations. One is that there is a large number of lirc...
There are probably 500 emails in the winlirc one. I wish I had time to process them...
Committed as https://sourceforge.net/p/lirc-remotes/code/ci/d2c997ce7b2f16616b238ce,...
I meant to say "sometimes I can get it to work AGAIN by".. It alwasys works correct...
WInLIRC loses ability to blast IR codes
I thought I already wrote a reply here... where did that go. I rebooted computer...
Mail address dead for adding configs, Mailing Lists not active anymore.
Update flag on irrecord wipes earlier buttons.
After trying a variety of things I found that if you use SEND_ONCE in the winsock...
I thought I already wrote a reply here... where did that go. I rebooted compter and...
Try recording in raw mode Think -f command line http://www.lirc.org/html/irrecord.html...
IRRecord quits when learning the buttons.
the protocol is the same as LIRC
list, version, set_transmitters, send_once something else I'm not found? :-)
no difference: d:\Downloads\WinLIRC>nc64 127.0.0.1 8765 ANAM_ARS-1360 1 00 BEGIN...
There is no password option in the new version. Make sure the box that says local...
IP server in version 0.9.0i
I can see it now, thanks
As for irdroid and iOS sorry I don't know anything about those :)
I seem to remember there was an option to hide the tray icon. But if you double click...
Thank you, I did not see the Tray icon. Another question, it seems like I could use...
Double click the tray icon? Make a screenshot
WinLIRC does not open any window (stays as a process)
Thanks Ian, I'll take a look into it.
Hi Alex, it's par tof IRRecord, which comes with winlirc. If you learn one button...
Ian, is the learning part of Winlirc in the core? Would it be possible for Winlirc...
I was trying the wrong approach. All I had to do was programming the Arduino to decode...
Are the plugins open source? I'd like to see the serial receiver plugin source to...
code length limitation
Yeah it could probably be made to work. Trouble is I don't have an Arduino, and no...
IR decoding with Arduino
USB -> serial the latency is really bad. It can't be used with the serial.dll plugin....
We use com port thru. a kit board. The kit board within a FTDI (USB/UART FIFO IC)...
Are you using a serial card? Because motherboard serial ports definitely don't support...
We're used SerialDevice.dll and found more higher baud rate(>=115200) has 10% success...
We're used SerialDevice.dll and found more higher baud rate(>=115200) has 10% success...
We're used SerialDevice.dll and found more higher baud rate(>=115200) has 10% success...
We're used SerialDevice.dll and found more higher baud rate(>=115200) has 10% success...
Which plugin are you actually using? You'll probably find that real supports don't...
Besides, if I would like to rebuild winlirc's serial.dll for able to output higher...
Besides, if I would like to rebuild winlirc's serial.dll for able to output higher...
Besides, if I would like to rebuild winlirc's serial.dll for able to output higher...
We found some symptom in receiver part. Correct key bandwith are fixed in 440 ms,...
Not all remote control protocols can be successfully decoded. In these cases you...
Dear Ian, Thanks for quickly reply. May I ask what “raw codes” mean ? Do you’ve sample...
Dear Ian, Thanks for quickly reply. May I ask what “raw codes” mean ? Do you’ve sample...
Have you tried using raw codes?
Partial key abnormal in RC6 type
I'm used a sound-card only to find where is problem. Now I understand where problem...