Ide 1.0 or 0022 can't upload to UNO ttyACM

Hi.

I am trying to upload some code to arduino uno using a fat usb. Ubuntu calls it ttyACM0.

I select it on Serial port, I choose arduino Uno board, I press upload and then, it crashes. Ubuntu doens't recognize usb until I disconnect and connect again. So I can't upload code.

I know the cable is fine. I upload to other arduino uno in other place yesterday without problems (and other computer)

Do I have to do something to configure usb? I haven't this problem with small usb (fio's size) with a freeduino.

I tried with ide 1.0 and 0022. This is the output:

1.0

avrdude: ser_open(): can't open device "/dev/ttyACM0": Input/output error
ioctl("TIOCMGET"): Invalid argument

0022

processing.app.SerialNotFoundException: Serial port '/dev/ttyACM0' not found.  Did you select the right one from the Tools > Serial Port menu?
	at processing.app.Serial.<init>(Serial.java:153)
	at processing.app.Serial.<init>(Serial.java:76)
	at processing.app.debug.Uploader.flushSerialBuffer(Uploader.java:75)
	at processing.app.debug.AvrdudeUploader.uploadViaBootloader(AvrdudeUploader.java:93)
	at processing.app.debug.AvrdudeUploader.uploadUsingPreferences(AvrdudeUploader.java:56)
	at processing.app.Sketch.upload(Sketch.java:1603)
	at processing.app.Sketch.exportApplet(Sketch.java:1568)
	at processing.app.Sketch.exportApplet(Sketch.java:1524)
	at processing.app.Editor$DefaultExportHandler.run(Editor.java:2293)
	at java.lang.Thread.run(Thread.java:679)