Sample Header Ad - 728x90

Clear socket buffer of CAN adapter

1 vote
1 answer
3139 views
I have a USB/CAN adapter, from lsusb: > OpenMoko, Inc. Geschwister Schneider CAN adapter it provides a socket interface, from ip addr: 5: can0: 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?
Asked by Mark (815 rep)
Mar 18, 2022, 10:30 AM
Last activity: Jul 15, 2022, 06:38 PM