All the parameters are the same obtained by autoconfig, except the UART which was undefined for the added ports. I set this parameter to the same value as for the working one: 16550A (in fact I tried all the possible UART parameters and where the port was working it behaves always the same: short test messages pass but in the real work environment it crashes). :-(
Robi 2010/4/21 Ron <r...@cyberjunky.nl> > Maybe try to see if there are any differences between the ports with the > setserial command. > > > $ setserial -a /dev/ttyS1 > /dev/ttyS1, Line 1, UART: unknown, Port: 0x02f8, IRQ: 3 > Baud_base: 115200, close_delay: 50, divisor: 0 > closing_wait: 3000 > Flags: spd_normal skip_test > > $ setserial -a /dev/ttyUSB1 > /dev/ttyUSB1, Line 0, UART: unknown, Port: 0x0000, IRQ: 0 > Baud_base: 24000000, close_delay: 0, divisor: 0 > closing_wait: infinite > Flags: spd_normal low_latency > > > Hello List, > > > > This may not be a fully gambas question just I don't know who to ask for > > help - sorry for posting it here. > > > > I try to switch my measurement from windows XP (VB) to Ubuntu 9.10. This > > program takes several (3, for the moment) equipments connected to a PC > > through serial ports. > > It works correctly under XP and I succeeded to make (an even nicer :-) > > program in gambas for ubuntu. It also works well... as long as I use the > > serial ports integrated on the motherboard. > > > > I have some serial port cards we added later for having enough interface. > > >From the gtkterm they seems working with short commands so I was > optimistic. > > But when I send more data from my program they seems not arriving > correctly. > > > > Is there anybody who works with serial ports under ubuntu (with gambas)? > A > > little help would be highly appreciated. > > > > Robi > > > ------------------------------------------------------------------------------ > > _______________________________________________ > > Gambas-user mailing list > > Gambas-user@lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/gambas-user > > > > > > ------------------------------------------------------------------------------ > _______________________________________________ > Gambas-user mailing list > Gambas-user@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > ------------------------------------------------------------------------------ _______________________________________________ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user