History log of /src/share/examples/devpubd |
Revision | Date | Author | Comments |
1.1 | 30-Mar-2024 |
thorpej | Descend into share/examples/devpubd/hooks
|
1.1 | 30-Mar-2024 |
thorpej | Add an example devpubd hook that makes stable path names, using symlinks, for USB serial interfaces, regardless of where the interface is connected or the order of enumeration. This requires the USB device to have a "serialnumber" to function. Examples:
- uftdi serial adapter with two ports:
/dev/tty-uftdi-FT64S4YP-1 -> /dev/ttyU0 /dev/tty-uftdi-FT64S4YP-2 -> /dev/ttyU1
- uslsa serial adapter:
/dev/tty-uslsa-01E7ABCC -> /dev/ttyU4
This allows something like the following in /etc/remote:
sun3:dv=/dev/tty-uftdi-FT64S4YP-1:br#9600:pa=none:dc:
That path will always be stable regardless of which /dev/ttyU* node is actually assigned when the serial adapter is plugged in.
|
1.2 | 05-Sep-2025 |
thorpej | Update for newer "minipro" programmers: - T48 / T56 use the same USB VID/PID as the TL866II+. - Add the T76 USB VID/PID.
|
1.1 | 30-Mar-2024 |
thorpej | branches: 1.1.4; Add an example devpubd hook that looks for Minipro-compatible EEPROM programmers and sets the access permissions to 0660.
|
1.1.4.1 | 07-Sep-2025 |
martin | Pull up following revision(s) (requested by thorpej in ticket #27):
share/examples/devpubd/hooks/99-ugen-perms-minipro: revision 1.2
Update for newer "minipro" programmers: - T48 / T56 use the same USB VID/PID as the TL866II+. - Add the T76 USB VID/PID.
|
1.1 | 30-Mar-2024 |
thorpej | Add an example devpubd hook that detects the generic USB interface portion of a Tigard debug board and changes the permissions of the appropriate /dev/ugenN.* nodes to allow access without superuser permissions, suitable for using e.g. openocd with the device.
This example can be easily modified to support other generic USB devices that have user-space drivers where running as the superuser is not desired.
|
1.3 | 30-Mar-2024 |
thorpej | Add an example devpubd hook that looks for Minipro-compatible EEPROM programmers and sets the access permissions to 0660.
|
1.2 | 30-Mar-2024 |
thorpej | Add an example devpubd hook that detects the generic USB interface portion of a Tigard debug board and changes the permissions of the appropriate /dev/ugenN.* nodes to allow access without superuser permissions, suitable for using e.g. openocd with the device.
This example can be easily modified to support other generic USB devices that have user-space drivers where running as the superuser is not desired.
|
1.1 | 30-Mar-2024 |
thorpej | Add an example devpubd hook that makes stable path names, using symlinks, for USB serial interfaces, regardless of where the interface is connected or the order of enumeration. This requires the USB device to have a "serialnumber" to function. Examples:
- uftdi serial adapter with two ports:
/dev/tty-uftdi-FT64S4YP-1 -> /dev/ttyU0 /dev/tty-uftdi-FT64S4YP-2 -> /dev/ttyU1
- uslsa serial adapter:
/dev/tty-uslsa-01E7ABCC -> /dev/ttyU4
This allows something like the following in /etc/remote:
sun3:dv=/dev/tty-uftdi-FT64S4YP-1:br#9600:pa=none:dc:
That path will always be stable regardless of which /dev/ttyU* node is actually assigned when the serial adapter is plugged in.
|