I am using the socketcan-linux driver, namely ix_usb_can_2.0.366-REL to use Ixxat USB to Can v2 compact module. I get the following error in dmesg when I try to read CAN data:-
[ 318.936393] ix_usb_can 1-3:1.0 can0: USB-to-CAN_V2: Connected Channel 0 (device HW595789)
[ 345.833903] ix_usb_can 1-3:1.0 can0: Error: CAN Invalid data message size
[ 345.833929] ix_usb_can 1-3:1.0 can0: Error -74: Buffer decoding failed
[ 345.833964] IPv6: ADDRCONF(NETDEV_CHANGE): can0: link becomes ready
[ 345.834185] ix_usb_can 1-3:1.0 can0: Error: CAN Invalid data message size
[ 345.834202] ix_usb_can 1-3:1.0 can0: Error -74: Buffer decoding failed
[ 345.834495] ix_usb_can 1-3:1.0 can0: Error: CAN Invalid data message size
[ 345.834511] ix_usb_can 1-3:1.0 can0: Error -74: Buffer decoding failed
[ 345.834755] ix_usb_can 1-3:1.0 can0: Error: CAN Invalid data message size
[ 345.834769] ix_usb_can 1-3:1.0 can0: Error -74: Buffer decoding failed
Can someone help me solve this error?
The same setup works fine in windows. But in linux I am not able to read data. Thanks in advance.