[Coco] DW4/Prolific USB/Xubuntu 13.10 Fail [Solved]
John W. Linville
linville at tuxdriver.com
Fri Jan 10 10:35:59 EST 2014
On Fri, Jan 10, 2014 at 10:27:35AM -0500, Aaron Wolfe wrote:
> On Wed, Jan 8, 2014 at 6:23 PM, Joel Ewy <jcewy at swbell.net> wrote:
> > One little hitch I ran into was that when I tried running the configuration
> > wizard it wouldn't detect the serial port, and it wouldn't accept the
> > /dev/ttyUSB0 (or just ttyUSB0) port if I typed it in manually. I finally
> > decided just to try it anyway, and it worked. I guess that what was
> > happening is that the server was already grabbing the port, which was listed
> > in config.xml, so it wasn't available to be discovered or (re-)used by the
> > wizard. Is that a fair guess?
>
> Yes. DW4 (well, really the RXTX library that DW uses) has a hard time
> detecting ports on Linux. Unlike windows and osx, linux doesn't have
> a nifty "hey operating system, what serial ports do you have?"
> mechanism. Instead you have to look around in /dev for likely
> suspects, and RXTX does a less than awesome job figuring things out.
> It also sometimes struggles to admit ports we are already using do
> actually exist. I think I added some code to try and work around that
> at some point, but maybe it isn't effective.
I think this is just a failing of the RXTX library. The ModemManager
application certainly seems to be able to find serial ports, probably
using D-Bus.
John
--
John W. Linville Someday the world will need a hero, and you
linville at tuxdriver.com might be all we have. Be ready.
More information about the Coco
mailing list