-
Notifications
You must be signed in to change notification settings - Fork 280
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
RFC: add support for switchable termination #92
Comments
Cool. I see mention of something similar in the docs of CANdevstudio, where some drivers support usage such as Is that already in the socketcan layer or other linux drivers, or something entirely driver-specific ? |
There is complete support form the user space through the kernel into the CAN drivers. The driver has to implement the |
The candleLight community is working on switchable termination support for the candleLight firmware. As the the Linux CAN framework supports switchable termination add this feature to the gs_usb driver. Devices supporting the feature should set the GS_CAN_FEATURE_TERMINATION and implement the GS_USB_BREQ_SET_TERMINATION and GS_USB_BREQ_GET_TERMINATION control messages. For now the driver assumes for activated termination the standard termination value of 120Ω. Link: https://lore.kernel.org/all/20220923074114.662045-1-mkl@pengutronix.de Link: candle-usb/candleLight_fw#92 Link: candle-usb/candleLight_fw#109 Link: candle-usb/candleLight_fw#108 Cc: Daniel Trevitz <daniel.trevitz@wika.com> Cc: Ryan Edwards <ryan.edwards@gmail.com> Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
Hello
@ryedwards and me are planing to add switchable termination to the gs_usb USB interface. The current idea is to add a new feature bit indicating support, and 2 control messages, one to set and one to get the current termination status. Similar to the
IDENTIFY
feature.I'll add these to the candleLight firmware repo and send a PR when ready.
The text was updated successfully, but these errors were encountered: