On 04.08.2010 17:31, Daniele Venzano wrote: > Please disregard the pcan problem, Peak support replied to me with the > correct command to change the bitrate on that driver. They do not > support the netlink way, but use a character device.
Hi Daniele, the driver itself supports the netdevice driver model. But the setting of the bitrate can only be performed via the /dev/pcanXX entries, e.g. with echo "i 0x4914 e" > /dev/pcan32 to set the USB Adapter to 100kBit/s > The problem with vcan, instead, is still there. >> >> If I try to create a vcan0 interface I get: >> # ip link add dev vcan0 type can >> RTNETLINK answers: Operation not supported That's perfectly correct. Try # ip link add dev vcan0 type vcan See the last parameter is 'vcan' and not 'can'! You can only create virtual can devices with iproute ... Regards, Oliver _______________________________________________ Socketcan-users mailing list [email protected] https://lists.berlios.de/mailman/listinfo/socketcan-users
