Now you are familiar with the concept of LDM and with its data structures (bus, class, device drivers, and devices), including low-level data structures, which are kobject, kset, and kobj_types, and attributes (or a group of those). How objects are represented within the kernel (hence sysfs and devices topology) is not a secret anymore. You will be able to create an attribute (or group), exposing your device or driver feature through sysfs. If this topic seems clear to you, we will move on to the next, in chapter 14, Pin Control and GPIO Subsystem, which heavily utilizes the power of sysfs.
United States
Great Britain
India
Germany
France
Canada
Russia
Spain
Brazil
Australia
Singapore
Hungary
Ukraine
Luxembourg
Estonia
Lithuania
South Korea
Turkey
Switzerland
Colombia
Taiwan
Chile
Norway
Ecuador
Indonesia
New Zealand
Cyprus
Denmark
Finland
Poland
Malta
Czechia
Austria
Sweden
Italy
Egypt
Belgium
Portugal
Slovenia
Ireland
Romania
Greece
Argentina
Netherlands
Bulgaria
Latvia
South Africa
Malaysia
Japan
Slovakia
Philippines
Mexico
Thailand