[LEDE-DEV] spi-tools failure

Giuseppe Lippolis giu.lippolis at gmail.com
Sun Jan 8 02:57:00 PST 2017


Same error using the spidev_test tool:

root at lede:/tmp# spidev_test -D /dev/spidev1.0 -s 1000000
spi mode: 0x3
bits per word: 8
max speed: 1000000 Hz (1000 KHz)
can't send spi message: Invalid argument
Aborted


The error occurs on this system call:
	ret = ioctl(fd, SPI_IOC_MESSAGE(1), &tr);
	if (ret < 1)
		pabort("can't send spi message");





More information about the Lede-dev mailing list