Serial port problem with USB-Serial driver of Solaris 10 SPARC



Dear managers,

we use an EdgePort USB-Serial Adaptor to add four additional serial
interfaces to a SF 240 running Solaris 10. This adaptor is natively
supported by Solaris. When plugging the device into one of the USB
ports of the server, we get the devices

/dev/term/0
/dev/term/1
/dev/term/2
/dev/term/3

However, while I can open the native serial port /dev/term/a with the
following command.

fdes = open("/dev/term/a", O_RDWR)

this does not work for the edgeport ports. The command

fdes = open("/dev/term/0", O_RDWR)

blocks. I have to do

fdes = open("/dev/term/a", O_RDWR | O_NDELAY);

to get it opened. Any idea why? I read the open manpage but not really
figured out what the O_NDELAY option is meant for. From time to time
the edgeport driver or the device itself seems to go into the woods.
Doing an open of the above form returns an invalid file descriptor
then. I have to unplug the edgeport, wait a few seconds and plug it in
again to get the whole scenario working again. No solution for a
production system.

Can I manually trigger the reinitialization of the edgeport interfaces
(the Solalris USB- Serial driver), e.g. by killing a process or calling
whatever script? I looked through "ps-Af" but found nothing that seemed
related. Hints are greatly appreciated. Thanks in advance!

Regards,

Andreas
_______________________________________________
sunmanagers mailing list
sunmanagers@xxxxxxxxxxxxxxx
http://www.sunmanagers.org/mailman/listinfo/sunmanagers



Relevant Pages

  • Re: Damn you, FEDEX! or Nikon D40 lost in Springfield, MO blackhole.
    ... the 2 mp Mavica he had been using with a Nikon D40. ... After shopping around, he got me to order one for him. ... The shipper had it insured, but from what I have read it could take weeks to sort this crap out. ... You may get your insurance from FedEx and a couple weeks later they find it and deliver it. ...
    (alt.photography)
  • Re: The Sci-Fi Rejection Letter That Time Forgot
    ... nations have stockpiled arsenals of these incredible bombs and the time the story is set. ...
    (rec.arts.sf.written)
  • Re: Terraforming the Moon
    ... planets .My point is that just trying to look after an exponential ... increasing population will wreck our planet and its not possible to ... export the surplus to other worlds. ...
    (sci.physics)
  • RE: copied music cds have a skip in last 18 seconds
    ... If installing all missing Windows Updates doesn't fix your problem ... xiowan.......in tucson ...
    (microsoft.public.windows.mediacenter)