Arduino FTDI linux driver "breaks"

working with Arduino Duemilanove w/328 // arduino software 0016 // ubuntu jaunty

I wrote this simple sketch, to constantly dump analog 0 so I could eventually plot it on a graph to graph it,

void setup() {
  Serial.begin(115200);
}

void loop() {
  int val = analogRead(0);
  Serial.print(0xFF, BYTE);
  Serial.print(val & 0xFF, BYTE);
  Serial.print(val >> 8, BYTE);
}

the intent was to retrieve the data and plot it on a graph, for some reason if I open /dev/ttyUSB0 and then close it, no matter what program - I can never reopen /dev/ttyUSB0

It gets wierder, I said okay, F-it and decided that the ftdi controller was fubar, and was going to use my prolific usb adapter - I plug it in and get the dmesg, saying it was /dev/ttyUSB0 and try to open /dev/ttyUSB0 and I get the same error .?! - so I plug in my duemilanove and it comes up as USB1 and I can now access it .. but again only once, so now currently usb0 and usb1 are both "blocked" until I reboot.

Any body else with this issue

its like the ftdi drivers crash and block access to the device name..

anyone else get this kind of error?

Does the Arduino IDE lock the port when uploading?

What are you doing to open/access the serial port? code might be helpful.

If you don't close the port properly weird things happen.