Messages in this thread | | | Date | Thu, 10 May 2012 00:37:56 +0200 | From | Markus Franke <> | Subject | Re: [PATCH] w1: Add 1-wire slave device driver for DS28E04-100 |
| |
Dear Greg,
Am 10.05.2012 00:24, schrieb Greg KH:
>> the file "pio" is used for reading the current PIO state of the >> DS28E04-100. > > Why is this a binary file? That seems like it should not be, as a > binary sysfs file should be "pass-through" only.
Well, the data read/written through this file is actually directly "passed" on to the device. There are two bits which reflect the current state of the PIO pins of the DS28E04. However, I must admit that this could also be implemented as regular sysfs attributes.
Best regards, Markus Franke
| |