Hi Oliver,

thanks for the reply.

> FYI: The slcan driver just hit the mainline kernel for 2.6.38.

Using the Debian "squeeze" kernel 2.6.32-5 actually...

> > How is the can baudrate configured with slcand (S0..8)? This
> > configuration possibility seems also be omitted now...
> 
> Was it ever in slcand ?

Yes it was :-)
There was a patch (slcand_sl20100408.patch) which alowed to set
the CAN baudrate with slcand (don't know who released this patch
but it worked great ;-)) ).

> AFAIK the baudrate setting (S0..8) is only available in
> slcan_attach.c ...

Now it is, yes.

> this S0..8 has nothing to do with the serial baudrate of the host
> system.

I am aware of that. Actually i have to call stty to set the serial
baudrate of ttyUSB0 to 460800 Bd, then call slcan_attach to set the
can baudrate, then call slcand and bring the interface up with
ifconfig.

> I think it's just for setting the baudrate on the adapters side to
> persist the setting for the next power-on cycle.

Hmm, at the moment i am a bit confused with my SLCAN-IF. Seems that
the CAN baudrate isn't set correctly with the slcan_attach...

Regards, Thorsten
_______________________________________________
Socketcan-users mailing list
Socketcan-users@lists.berlios.de
https://lists.berlios.de/mailman/listinfo/socketcan-users

Reply via email to