fernandoc1
July 17th, 2010, 03:18 PM
I have an old Lexmark X85 printer/scanner, and there is no device driver for it.
I want to write one.
My plan is to install the printer in a virtual machine running Windows and analyze the traffic, from Linux, using Wireshark USB capabilities.
Wireshark is actually capable to get raw USB traffic, direct from USB interface.
Initially, I want to try a user space driver, using libusb as my layer to communicating with the printer.
My problem is that I never wrote a device driver, and I need some advice.
I wanna know how can I extract relevant data from wireshark output and how can I use libusb primitives.
This is the link where I'm putting the information that I got
https://docs.google.com/document/pub?id=1O1c-MAz_UyZLzbhpZxphGUXRsMPYZQp6BHBtmUAw5jk
I want to write one.
My plan is to install the printer in a virtual machine running Windows and analyze the traffic, from Linux, using Wireshark USB capabilities.
Wireshark is actually capable to get raw USB traffic, direct from USB interface.
Initially, I want to try a user space driver, using libusb as my layer to communicating with the printer.
My problem is that I never wrote a device driver, and I need some advice.
I wanna know how can I extract relevant data from wireshark output and how can I use libusb primitives.
This is the link where I'm putting the information that I got
https://docs.google.com/document/pub?id=1O1c-MAz_UyZLzbhpZxphGUXRsMPYZQp6BHBtmUAw5jk