•
•
•
•
What is DaniWeb IT Discussion Community?
You're currently browsing the Perl section within the Software Development category of DaniWeb, a massive community of 456,592 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 3,529 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our Perl advertiser: Programming Forums
Views: 1632 | Replies: 0
![]() |
•
•
Join Date: Oct 2007
Posts: 3
Reputation:
Rep Power: 0
Solved Threads: 0
Hi,
I have been trying to write a program to capture information from a barcode scanner. Because the data is the same as a keyboard, I have been trying to just read the keyboard for now since there seem to be a lot more people doing that out there.
I found a port on my linux box when I use a usb keyboard at /dev/input/by-id/usb-mykeyboardname-event-kdb@
When I cat this port and type any characters on the keyboard I get strange and inconsistent binary data. If I type j j j j all for times I get different stuff.
Does anyone know what this data is and if it can be decoded into nice ascii characters?
Thank you,
Tony
I have been trying to write a program to capture information from a barcode scanner. Because the data is the same as a keyboard, I have been trying to just read the keyboard for now since there seem to be a lot more people doing that out there.
I found a port on my linux box when I use a usb keyboard at /dev/input/by-id/usb-mykeyboardname-event-kdb@
When I cat this port and type any characters on the keyboard I get strange and inconsistent binary data. If I type j j j j all for times I get different stuff.
Does anyone know what this data is and if it can be decoded into nice ascii characters?
Thank you,
Tony
![]() |
•
•
•
•
•
•
•
•
DaniWeb Perl Marketplace
•
•
•
•
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
- Send data on a serial port (C++)
- How to copy data from serial port to notepad (Visual Basic 4 / 5 / 6)
- Sending data to serial port (Visual Basic 4 / 5 / 6)
- reading data using serial port (Visual Basic 4 / 5 / 6)
- Debugging in VC++ 2005? (C++)
Other Threads in the Perl Forum
- Previous Thread: New to Perl, please explain the script
- Next Thread: Issues?


Linear Mode