Re: How to communicate via USB port

2007-04-19 Thread Tim Roberts
[EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Can someone explain how I would read the data from the USB port? I don't know if it matters, but I am trying to read the data from a GPS plugged in to the USB port. USB is a protocol bus. It isn't like a serial port, where you can just start reading

How to communicate via USB port

2007-04-18 Thread [EMAIL PROTECTED]
Can someone explain how I would read the data from the USB port? I don't know if it matters, but I am trying to read the data from a GPS plugged in to the USB port. Thank you, Robin -- http://mail.python.org/mailman/listinfo/python-list

Re: How to communicate via USB port

2007-04-18 Thread Paul McGuire
On Apr 18, 12:54 am, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Can someone explain how I would read the data from the USB port? I don't know if it matters, but I am trying to read the data from a GPS plugged in to the USB port. Thank you, Robin Just a guess, but can you use pyserial to

Re: How to communicate via USB port

2007-04-18 Thread Grant Edwards
On 2007-04-18, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Can someone explain how I would read the data from the USB port? You can't. There's no such thing from a SW point of view. ;) I don't know if it matters, but I am trying to read the data from a GPS plugged in to the USB port. It's

Re: How to communicate via USB port

2007-04-18 Thread jkn
Have a look for PyUSB - there are (confusingly) two different packages called pyUSB. one interfaces to FTDI chips connected to a USB port: http://bleyer.org/pyusb/ The other uses libusb to interface to devices generally under windows: http://pyusb.berlios.de/ HTH jon N --