Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Librem5
librem5-devkit-tools
Commits
16b9191b
Commit
16b9191b
authored
Jan 04, 2019
by
Dorota Czaplejewicz
Browse files
Use g_multi instead of g_serial to deliver Ethernet
parent
5023c1c4
Changes
3
Hide whitespace changes
Inline
Side-by-side
debian/librem5-devkit-base.postinst
View file @
16b9191b
...
...
@@ -21,6 +21,8 @@ case "$1" in
configure
)
# Enable serial console over USB
systemctl
enable
serial-getty@ttyGS0
# Mass storage is required for Ethernet+serial over USB via g_multi
truncate
-s
1M /var/lib/mass_storage_dummy
;;
abort-upgrade|abort-remove|abort-deconfigure
)
...
...
etc/modprobe.d/librem5-devkit.conf
View file @
16b9191b
options
g_multi
file
=/
var
/
lib
/
mass_storage_dummy
stall
=
0
# Redpine WIFI module
options
rsi_91x
dev_oper_mode
=
13
rsi_zone_enabled
=
1
blacklist
rsi_sdio
etc/modules-load.d/librem5-devkit.conf
View file @
16b9191b
# Serial console
over USB
g_
serial
# Serial console
and Ethernet over USB (plus dummy mass storage)
g_
multi
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment