This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
linux-kernel-dev:capitole:capitol-12 [2016/08/31 07:35] razvan created |
linux-kernel-dev:capitole:capitol-12 [2016/08/31 08:28] (current) razvan [Demo-uri] |
||
---|---|---|---|
Line 12: | Line 12: | ||
* [[https://lwn.net/images/pdf/LDD3/ch03.pdf|Linux Device Drivers, 3rd Edition, Chapter 3: Char Drivers]] (free, PDF) | * [[https://lwn.net/images/pdf/LDD3/ch03.pdf|Linux Device Drivers, 3rd Edition, Chapter 3: Char Drivers]] (free, PDF) | ||
* [[http://ocw.cs.pub.ro/courses/so2/laboratoare/lab04|SO2: Device drivere în Linux]] | * [[http://ocw.cs.pub.ro/courses/so2/laboratoare/lab04|SO2: Device drivere în Linux]] | ||
+ | * [[http://koala.cs.pub.ro/training/res/linux-kernel-dev/arc/cap-12-tasks.zip|Arhivă de suport]] (ZIP) | ||
- | ===== Demo-uri ===== | + | ===== Arhivă de suport ===== |
- | TODO | + | Arhiva de suport pentru exerciții se găsește [[http://koala.cs.pub.ro/training/res/linux-kernel-dev/arc/cap-12-tasks.zip|aici]]. Descărcați arhiva și apoi decomprimați-o folosind comanda<code> |
+ | unzip cap-12-tasks.zip | ||
+ | </code> | ||
+ | ===== Demo-uri/Discuții ===== | ||
+ | |||
+ | Parcurgere sysfs | ||
+ | |||
+ | Linux Device Model / Linux Device Tree | ||
+ | |||
+ | Major și minor, ''/dev'', ''/proc/devices'' | ||
+ | |||
+ | Operații pe dispozitive: structura ''cdev'', structura ''file_operations'' | ||
+ | |||
+ | Subsisteme de I/O: ''video4linux'', ''mem'' drivers (''zero'', ''null'', ''full'', ''random'', ''urandom'', ''mem'', ''kmem'', ''port'') | ||
===== Exerciții ===== | ===== Exerciții ===== |