On 05.01.2011 11:35, Yegor Yefremov wrote:
> Hello,
> 
> how the serial buadrate should be specified for slcan usage? All slcan 
> utilities just open serial connection and make read/write operations. For low 
> speed devices it is not a problem to specify common baudrates like 115200, 
> 230400 b/s and so on via stty. But try to do it for 3Mbit/s (on buildroot's 
> busybox stty I got only 115200). So suggest to make extra parameter for 
> baudrate specification. 
> 
> Unfortunately termios2 constructs are still not available in user space, so 
> we'll have to make a translation table from int baudrate to Bfoo. 
> 
> What do you think about it? Has someone started to implement such an option?

Hi Yegor,

i usually use slcan USB adapters, and they 'just work'.

I think the baudrate setting should be better separated into a different tool
- like stty or something new if stty does not fit. Is there any chance to
modify stty to support the 3MBit/s settings?

If so stty should be modified and updated in your busybox.

As there is already a tool that should do the job, i would definitely try to
avoid these settings in slcan_attach ...

Best regards,
Oliver
_______________________________________________
Socketcan-core mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/socketcan-core

Reply via email to