{"action":"created","issue":{"url":"https://api.github.com/repos/FreeRDP/FreeRDP/issues/3229","repository_url":"https://api.github.com/repos/FreeRDP/FreeRDP","labels_url":"https://api.github.com/repos/FreeRDP/FreeRDP/issues/3229/labels{/name}","comments_url":"https://api.github.com/repos/FreeRDP/FreeRDP/issues/3229/comments","events_url":"https://api.github.com/repos/FreeRDP/FreeRDP/issues/3229/events","html_url":"https://github.com/FreeRDP/FreeRDP/issues/3229","id":140928576,"number":3229,"title":"freerdp Windows Server 2008 R2 - Barcode Scanner USB - missing double characters ","user":{"login":"ropetry","id":2862409,"avatar_url":"https://avatars.githubusercontent.com/u/2862409?v=3","gravatar_id":"","url":"https://api.github.com/users/ropetry","html_url":"https://github.com/ropetry","followers_url":"https://api.github.com/users/ropetry/followers","following_url":"https://api.github.com/users/ropetry/following{/other_user}","gists_url":"https://api.github.com/users/ropetry/gists{/gist_id}","starred_url":"https://api.github.com/users/ropetry/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ropetry/subscriptions","organizations_url":"https://api.github.com/users/ropetry/orgs","repos_url":"https://api.github.com/users/ropetry/repos","events_url":"https://api.github.com/users/ropetry/events{/privacy}","received_events_url":"https://api.github.com/users/ropetry/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2016-03-15T10:09:18Z","updated_at":"2016-03-15T16:56:48Z","closed_at":null,"body":"Hello, we are using freerdp 2.0.0-dev with our 2008 R2 Terminal Servers. Attached to the Linux Device is a USB Barcode scanner from OPTICON.\r\nIf we scan Barcodes with Double Numbers via freerdp , like\r\n02612295 or 02422288 we are loosing in 9 from 10 scans the double 22 or 88.. It just prints only one 2 or one 8.\r\nLabel:\r\n02422288\r\nbarcode scan:\r\n024228\r\n\r\n.. If i do this on the Linux client in a xterm it works without a problem.. also rdesktop works without any problems. it seeams to be a timing issue ? i already has configured the usb barcode reader to use a bigger delay between the intercharacters, but it doesn´t help.\r\n\r\nOutput of dmesg:\r\n[12396.196149] usb 1-1: USB disconnect, device number 2\r\n[12402.708041] usb 1-1: new full-speed USB device number 3 using uhci_hcd\r\n[12403.089079] usb 1-1: New USB device found, idVendor=065a, idProduct=0001\r\n[12403.089088] usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=0\r\n[12403.089094] usb 1-1: Product: USB Code Reader\r\n[12403.089099] usb 1-1: Manufacturer: Optoelectronics Co., Ltd.\r\n[12403.097724] input: Optoelectronics Co., Ltd. USB Code Reader as /devices/pci0000:00/0000:00:1d.0/usb1/1-1/1-1:1.0/0003:065A:0001.0009/input/input13\r\n[12403.098422] hid-generic 0003:065A:0001.0009: input,hidraw0: USB HID v1.00 Keyboard [Optoelectronics Co., Ltd. USB Code Reader] on usb-0000:00:1d.0-1/input0\r\n~ #\r\noutput of the second reader:\r\n\r\nKernel is 3.16.7-29\r\n\r\nif i change the opticon device and use an other usb barcode device the behavior is the same..\r\n[12672.608058] usb 1-1: new low-speed USB device number 4 using uhci_hcd\r\n[12672.969091] usb 1-1: New USB device found, idVendor=040b, idProduct=6543\r\n[12672.969099] usb 1-1: New USB device strings: Mfr=0, Product=0, SerialNumber=0\r\n[12672.984681] hid-generic 0003:040B:6543.000A: hiddev0,hidraw0: USB HID v1.10 Device [HID 040b:6543] on usb-0000:00:1d.0-1/input0\r\n[12673.013627] input: HID 040b:6543 as /devices/pci0000:00/0000:00:1d.0/usb1/1-1/1-1:1.1/0003:040B:6543.000B/input/input14\r\n[12673.014283] hid-generic 0003:040B:6543.000B: input,hidraw6: USB HID v1.10 Keyboard [HID 040b:6543] on usb-0000:00:1d.0-1/input1\r\n\r\nAnyone here who can give me an advice what i can try to solve this ? some more debugs needed ? if so please ask..\r\nthanks a lot.."},"comment":{"url":"https://api.github.com/repos/FreeRDP/FreeRDP/issues/comments/196921427","html_url":"https://github.com/FreeRDP/FreeRDP/issues/3229#issuecomment-196921427","issue_url":"https://api.github.com/repos/FreeRDP/FreeRDP/issues/3229","id":196921427,"user":{"login":"bmiklautz","id":195793,"avatar_url":"https://avatars.githubusercontent.com/u/195793?v=3","gravatar_id":"","url":"https://api.github.com/users/bmiklautz","html_url":"https://github.com/bmiklautz","followers_url":"https://api.github.com/users/bmiklautz/followers","following_url":"https://api.github.com/users/bmiklautz/following{/other_user}","gists_url":"https://api.github.com/users/bmiklautz/gists{/gist_id}","starred_url":"https://api.github.com/users/bmiklautz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bmiklautz/subscriptions","organizations_url":"https://api.github.com/users/bmiklautz/orgs","repos_url":"https://api.github.com/users/bmiklautz/repos","events_url":"https://api.github.com/users/bmiklautz/events{/privacy}","received_events_url":"https://api.github.com/users/bmiklautz/received_events","type":"User","site_admin":false},"created_at":"2016-03-15T16:56:48Z","updated_at":"2016-03-15T16:56:48Z","body":"@ropetry I quickly tried to reproduce your behavior with the only barcode scanner I had at hand here but without success. Can you try to stick a debug message in libfreerdp/core/input.c functions input_send_keyboard_event and input_send_unicode_keyboard_event to see what is actually send out?\r\nYou might also want to check check the repeat rate on the windows side."}}