Recognizing serial ports in Linux/WINE/MPLAB

Started by Jason Hsu March 2, 2009
My OS is Puppy Linux. I'm running MPLAB through WINE instead of Windows.

My programmer is a PICSTART Plus. I'm using a USB-serial converter to
connect the PICSTART Plus to a USB port on my laptop, which lacks real
serial ports.

I can figure out the port my PICSTART Plus (with the USB-serial cable)
is attached to by typing "dmesg|grep tty" in a shell window. (It's
ttyUSB0.)

THE PROBLEM: How do I get MPLAB under WINE to recognize my PICSTART
Plus? I think I'm supposed to get Puppy Linux to recognize the
PICSTART Plus as a serial port. But how do I get Puppy Linux to
recognize the PICSTART Plus? And how do I get Puppy Linux to treat
this USB port like a serial port?

--- In p..., "Jason Hsu" wrote:
>
> My OS is Puppy Linux. I'm running MPLAB through WINE instead of Windows.
>
> My programmer is a PICSTART Plus. I'm using a USB-serial converter to
> connect the PICSTART Plus to a USB port on my laptop, which lacks real
> serial ports.
>
> I can figure out the port my PICSTART Plus (with the USB-serial cable)
> is attached to by typing "dmesg|grep tty" in a shell window. (It's
> ttyUSB0.)
>
> THE PROBLEM: How do I get MPLAB under WINE to recognize my PICSTART
> Plus? I think I'm supposed to get Puppy Linux to recognize the
> PICSTART Plus as a serial port. But how do I get Puppy Linux to
> recognize the PICSTART Plus? And how do I get Puppy Linux to treat
> this USB port like a serial port?
>

Linux already recognizes the port - it told you the port is ttyUSB0.

The problem is getting Wine to map ttyUSB0 to a Windows COM Port that MPLAB can recognize and I have no idea how to do that. Maybe this will help: http://www.linuxforums.org/forum/wine/94500-serial-ports-wine.html

Richard