Prioritizing the SSH connection over modprobe #841
Replies: 2 comments 5 replies
-
The thing you linked to for checking whether a port is "in use" just shows whether something is listening on a port. Since ssh is enabled, that will always be true, even if nobody is logged in via ssh, which I assume is what you actually want to check. Also note that TeslaUSB doesn't use g_mass_storage. |
Beta Was this translation helpful? Give feedback.
-
Yes, I want to check if anyone has logged in via ssh
and if any user has connected/logged through ssh, Then I do not want teslausb to present the OTG drive to the car, Instead I want all those video/audio files to be accessible by the linux until the user has logged out of ssh, Thereby allowing other configuration changes, operations of the videos by linux |
Beta Was this translation helpful? Give feedback.
-
Hi @marcone ,
When the ssh port is in use, can we somehow delay (in a timed loop) presenting (modprobe modprobe g_mass_storage) the USB OTG
Beta Was this translation helpful? Give feedback.
All reactions