Mailing List Archive

Support open source code!


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: serial device



Can ou post a little more info please. Is this something you wrote?, if
so, what arguments are you using to open the device. If not, are you sure
no locks exist in /var/lock/ or elsewhere . The reason I ask is this, when
a program crashed, the Linux should clean up after it, un-allocating it's
memory, closing it's file descriptors, sockets etc so the serial port
should be ok to open again.

If you did write it, what is the value of errno when open fails, if you
didn't, run the program with strace and see what it is up to.

Tim.

On Wed, 12 Sep 2001, David Eduardo Gomez Noguera wrote:

> I have a problem with a serial device.
> I run a programthat opens it, but it has crashed a few times and then the device appears to be left open, because the next time i run that program it freezes just before opening it.
>
> how can i fix it?
> or what can i do to make that dev reusable without rebooting?
>
> thank you.
>
> --
> ICQ: 15605359 Bicho
>                                   =^..^=
> First, they ignore you. Then they laugh at you. Then they fight you. Then you win. Mahatma Gandhi.
> ........Por que no pensaran los hombres como los animales? Pink Panther........
> -------------------------------$B5$8!BN$N0lCW(B------------------------------------
> $B=k$54($5$bH`4_$^$G!#(B
> $B%"%s(B $B%"%s(B $B%"%s(B $B$H$C$F$bBg9%$-(B
>
> -----------------------------------------------------------------------
> Next Technical Meeting:  Sat, Sep 15 13:30-  Leading Edge Co., Place Canada
> Next Nomikai Meeting:    Fri, Oct 19 19:30-  Tengu Tokyo Eki-Mae
> -----------------------------------------------------------------------
> more info: http://www.tlug.gr.jp           Sponsor: Global Online Japan
>
>


Home | Main Index | Thread Index

Home Page Mailing List Linux and Japan TLUG Members Links