Software to read from USB?

All off topic discussions go here. Everything from the funny thing your cat did to your favorite tv shows. Non-programming computer questions are ok too.
Post Reply
etlam
Posts: 5
Joined: Wed May 21, 2008 10:44 am

Software to read from USB?

Post by etlam »

Hello,
I want to send Debugging Information from my testing machine to another computer. I thought about doing it with trough parallel port (then there is also no difference to when I run it in bochs). But for this I have to use a wire which is usb on the other side (since the other computer is a notebook and doesn't have a parallel port #-o ).
1. Will this work? The wire was made for the other way (usb to parallel printer). Can I just send data the other diraction?
2. I'm then searching for a software for Linux or Windows, which can read data coming in from usb and store it in a file. Is this possible maybe with dd or something similar?

Thanks in advance,
etlam
tetsujin
Posts: 14
Joined: Mon Aug 11, 2008 10:49 am
Location: Massachusetts
Contact:

Re: Software to read from USB?

Post by tetsujin »

etlam wrote:Hello,
I want to send Debugging Information from my testing machine to another computer. I thought about doing it with trough parallel port (then there is also no difference to when I run it in bochs). But for this I have to use a wire which is usb on the other side (since the other computer is a notebook and doesn't have a parallel port #-o ).
1. Will this work? The wire was made for the other way (usb to parallel printer). Can I just send data the other diraction?
2. I'm then searching for a software for Linux or Windows, which can read data coming in from usb and store it in a file. Is this possible maybe with dd or something similar?

Thanks in advance,
etlam
Hi,

I don't really have a good answer for the first question (whether it's possible to connect a USB-to-printer to one computer's USB and another's printer port) except that at the very least you'd need a gender changer and a USB-to-printer adaptor designed for versatility... Most aren't designed for versatility, they're just designed for talking to printers.

Rather simpler would be to use a USB-to-serial converter (or possibly two, if the system you're testing would have a driver for the USB-to-serial chipset) and a null modem. RS-232 comms are relatively easy, and the drivers already exist and will be capable of doing what you want them to do - and for your logging software you could use a terminal app like minicom or just write something yourself.
---GEC
Progress means holding on to the good and replacing the bad. Be a fan if you like, but don't let it blind you!
I want to write a truly new command-line OS shell. Design is tough...
etlam
Posts: 5
Joined: Wed May 21, 2008 10:44 am

Re: Software to read from USB?

Post by etlam »

Thanks for your answer. I can't try it now, because I'm still 1,000km away, but I think I can do it as you proposed.

Thanks,
etlam
Post Reply