Re: [PD] Comport and UBW problems on Linux

2007-10-11 Thread Thomas O Fredericks
Hi Martin, just to make sure, the newest version of comport is in iem/comport/comport right? But the result should be the same, the data gets sent anyway, the error is bogus. Nope, the data is never received by the device. Please note that there are only problems with sending data through

Re: [PD] Comport and UBW problems on Linux

2007-10-11 Thread Martin Peach
Thomas O Fredericks wrote: Hi Martin, just to make sure, the newest version of comport is in iem/comport/comport right? Yep. But the result should be the same, the data gets sent anyway, the error is bogus. Nope, the data is never received by the device. OK, I'll look into it. I guess

Re: [PD] Comport and UBW problems on Linux

2007-10-11 Thread Thomas O Fredericks
Hi Martin, I modified my local copy of comport to work with lists and it solved all problems. I sooo don't know how to code in C, but this is what I added to make it work with lists: //Added for LIST processing static void comport_list(t_comport *x, t_symbol *s, int argc, t_atom *argv) {

Re: [PD] Comport and UBW problems on Linux

2007-10-11 Thread Martin Peach
Thanks Thomas, I changed it a bit and it's in cvs now. Let me know if it works for you. I have it working with a serial LCD display from WinXp but haven't tried with linux yet. I also found a [print( message for comport that wasn't documented before. It will send a symbol as ascii. And someone

Re: [PD] Comport and UBW problems on Linux

2007-10-11 Thread Thomas O Fredericks
Cool. It's great the behavior will be the same on XP and POSIX. I get the following warning (treated as an error): cc -DPD -O2 -fPIC -funroll-loops -fomit-frame-pointer -Wall -W -Wshadow -Wstrict-prototypes -Werror -Wno-unused -Wno-parentheses -Wno-switch -I../../src -I../../../../pd/src -o

Re: [PD] Comport and UBW problems on Linux

2007-10-11 Thread Martin Peach
Thomas O Fredericks wrote: Cool. It's great the behavior will be the same on XP and POSIX. I get the following warning (treated as an error): cc -DPD -O2 -fPIC -funroll-loops -fomit-frame-pointer -Wall -W -Wshadow -Wstrict-prototypes -Werror -Wno-unused -Wno-parentheses -Wno-switch

[PD] Comport and UBW problems on Linux

2007-10-10 Thread Thomas O Fredericks
I am creating an abstraction to ease the communication with an UBW (USB Bit Wacker: http://greta.dhs.org/UBW/index.html). The abstraction uses comport to communicate with the device. It is considered as USB modem by the system. See the tail of dmesg when the device is plugged in to my Ubuntu

Re: [PD] Comport and UBW problems on Linux

2007-10-10 Thread Martin Peach
Thomas O Fredericks wrote: I am creating an abstraction to ease the communication with an UBW (USB Bit Wacker: http://greta.dhs.org/UBW/index.html http://greta.dhs.org/UBW/index.html). The abstraction uses comport to communicate with the device. It is considered as USB modem by the