I have a USB/CAN adapter, from lsusb:
OpenMoko, Inc. Geschwister Schneider CAN adapter
it provides a socket interface, from ip addr:
5: can0: <NOARP,UP,LOWER_UP,ECHO> mtu 16 qdisc pfifo_fast state UP group default qlen 10 link/can
On the bus there are other devices that sends data continuously. If I reboot my PC, I cannot send/receive data anymore, because I get the following error:
No buffer space available
I guess that while the device is "disconnected" from the PC (because it's rebooting, but still powered) the internal buffers fill up.
Is there a command I can issue to clear the buffers?