10_lightning_node_pro_led: First working binded module
This commit is contained in:
parent
a407e656b6
commit
96c00a0dcc
5 changed files with 62 additions and 89 deletions
19
10_lightning_node_pro_led/README.md
Normal file
19
10_lightning_node_pro_led/README.md
Normal file
|
@ -0,0 +1,19 @@
|
|||
## Tips
|
||||
|
||||
1. Get info about device
|
||||
|
||||
```console
|
||||
$ lsusb -v -d <vendor_id>:<product_id>
|
||||
```
|
||||
|
||||
2. Check if device is attached to driver
|
||||
|
||||
```console
|
||||
$ ls /sys/bus/<bus_type>/drivers/<driver_name>
|
||||
```
|
||||
|
||||
If is attached to driver, it appear here.
|
||||
|
||||
## Usefull links
|
||||
|
||||
- https://github.com/torvalds/linux/blob/master/drivers/hid/hid-led.c
|
Loading…
Add table
Add a link
Reference in a new issue