[PD] pduino-arduino trouble

Max Neupert abonnements at revolwear.com
Fri Jun 13 10:42:55 CEST 2008


it's really hard to fix since it simply works sometimes and then  
stops working.
not very reliable for an installation supposed to run automatically  
in a different city for some weeks :(

this is the output when it does work:

----------
error: [comport] ** ERROR ** could not open device /dev/tty.Roy-Dial- 
upNetworking-2:
  failure(16): Resource busy

[comport] invalid handle for /dev/tty.*
[arduino]: version_0.3
get_baud_ratebits: 57600.000000
set_baudrate baudbits: 57600
[comport] opened serial line device 5 (/dev/tty.usbserial-A6004nvF)

Arduino/Firmata_version: 1 0
----------

this is the output when it doesn't:

----------
error: [comport] ** ERROR ** could not open device /dev/tty.Roy-Dial- 
upNetworking-2:
  failure(16): Resource busy

[comport] invalid handle for /dev/tty.*
[arduino]: version_0.4
get_baud_ratebits: 115200.000000
set_baudrate baudbits: 115200
[comport] opened serial line device 5 (/dev/tty.usbserial-A6004nvF)

UNKNOWN_INPUT_COMMAND: 6 0
-----------

so it'a exactly the same, first the wrong device gets opened because  
of the default name, but then one tim it can connect, the other time  
it can't.

anyone has a clue what's going on?

m.


Am 2008-06-13 um 03:03 schrieb Martin Peach:

> Well errno 9 is EBADF, "error bad file number", so the serial port  
> file descriptor is not good for some reason, maybe because the  
> serial port was closed.
>
> Martin
>
>
>> From: Max Neupert <abonnements at revolwear.com>
>> To: pd-list at iem.at
>> Subject: [PD] pduino-arduino trouble
>> Date: Fri, 13 Jun 2008 01:39:50 +1000
>>
>> hi list,
>>
>> i have problems getting a arduino diecimila to run.
>>
>> sometimes i get this:
>>
>> Write error, maybe TX-OVERRUNS on serial line
>> [comport] write returned -1, errno is 9
>> Write error, maybe TX-OVERRUNS on serial line
>> [comport] write returned -1, errno is 9
>> Write error, maybe TX-OVERRUNS on serial line
>> [comport] write returned -1, errno is 9
>> Write error, maybe TX-OVERRUNS on serial line
>> [comport] write returned -1, errno is 9
>> Write error, maybe TX-OVERRUNS on serial line
>> [comport] write returned -1, errno is 9
>> Write error, maybe TX-OVERRUNS on serial line
>> [comport] write returned -1, errno is 9
>> Write error, maybe TX-OVERRUNS on serial line
>> [comport] write returned -1, errno is 9
>> Write error, maybe TX-OVERRUNS on serial line
>> [comport] write returned -1, errno is 9
>> Write error, maybe TX-OVERRUNS on serial line
>> [comport] write returned -1, errno is 9
>> Write error, maybe TX-OVERRUNS on serial line
>>
>>
>> and sometimes that:
>>
>> UNKNOWN_INPUT_COMMAND: 6 0
>>
>> in both cases i can't access the data.
>>
>>
>> some hours before it was working, i have no clue.
>>
>> m.
>>
>> _______________________________________________
>> Pd-list at iem.at mailing list
>> UNSUBSCRIBE and account-management -> http://lists.puredata.info/ 
>> listinfo/pd-list
>





More information about the Pd-list mailing list