http://eddy-em.livejournal.com/ ([identity profile] eddy-em.livejournal.com) wrote in [personal profile] eddy_em 2016-11-10 09:17 am (UTC)

Нет, чтение-запись через ioctl:
	ret = ioctl(fd, SPI_IOC_MESSAGE(1), &tr);
	if (ret < 1)
		pabort("can't send spi message");


> почему sysfs в сях костыль?
Потому что вместо работы с одним-единственным файлом и сисвызовами read/write приходится работать с толпой файлов!

Post a comment in response:

This account has disabled anonymous posting.
If you don't have an account you can create one now.
HTML doesn't work in the subject.
More info about formatting

If you are unable to use this captcha for any reason, please contact us by email at support@dreamwidth.org