10_lightning_node_pro_led: First working binded module

This commit is contained in:
Florian RICHER 2025-03-02 18:19:26 +01:00
parent a407e656b6
commit 96c00a0dcc
Signed by: florian.richer
GPG key ID: C73D37CBED7BFC77
5 changed files with 62 additions and 89 deletions

View 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