On 02/10/2014 11:10 AM, Scott Talbert wrote: > On Tue, 28 Jan 2014, Scott Talbert wrote: > >>>> Also, any idea on the missing packets? It's exactly what happens on MacOSX >>>> too. Since we use hidapi-raw on both mac and windows I'm very suspicious >>>> it's >>>> something in there, or the way we're using it.. but I haven't had time to >>>> recompile my kernel and test the behavior of hidapi-raw on linux.... >>> >>> Well, on one Windows 7 box, I found that if I increase the HID driver packet >>> buffer size, the dropped packets went away. So, I'm going to submit a patch >>> to HIDAPI to do that. On a Windows XP box, I still see occassional dropped >>> packets even with the increased buffer size. It doesn't appear that the >>> buffer is getting overrun in that case. I'm really not sure what to do - as >>> best I can tell it might be a bug in the USB chipset driver or something. >>> >>> In your situation, in which case are you seeing dropped packets? Config >>> update? Config dump? Or both? And with which remote(s)? >> >> Aha! Take a look at hid_report_callback() in the Mac version of HIDAPI. >> It looks like it is doing incoming report buffering similar to what the >> Windows HID driver is doing. If the number of queued reports goes over >> 30, it starts dropping them. Try increasing that number and see if the >> dropped reports go away. > > Did you try this?
Busy few weeks. Tried it today. I got... inconsistent results. Bumping it up to 100 made it work. But then I put it back to 30, recompiled, reinstalled, and it ... still worked. Then I deleted the libraries, re-installed, and it still worked. Then it worked for a bit, then eventually failed. Once I made it fail, it failed consistently. Then I'd update it to 100, and it'd work again. I did some research and it seems like OSX does significant caching of shared objects, and there's a tool, update_dyld_shared_cache, but it doesn't seem to force a purge of the cache, even with -force. The man page seems to imply a reboot is needed. Then I took to running 'update_dyld_shared_cache -force && reboot' between each test, and I *STILL* didn't get consistent results. I've had a version installed with the val at 100 and don't 3 reboots, and it's failing. -- Phil Dibowitz p...@ipom.com Open Source software and tech docs Insanity Palace of Metallica http://www.phildev.net/ http://www.ipom.com/ "Be who you are and say what you feel, because those who mind don't matter and those who matter don't mind." - Dr. Seuss
signature.asc
Description: OpenPGP digital signature
------------------------------------------------------------------------------ Android apps run on BlackBerry 10 Introducing the new BlackBerry 10.2.1 Runtime for Android apps. Now with support for Jelly Bean, Bluetooth, Mapview and more. Get your Android app in front of a whole new audience. Start now. http://pubads.g.doubleclick.net/gampad/clk?id=124407151&iu=/4140/ostg.clktrk
_______________________________________________ concordance-devel mailing list concordance-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/concordance-devel