summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Pointner <equinox@spreadspace.org>2024-05-17 10:56:15 +0200
committerChristian Pointner <equinox@spreadspace.org>2024-05-17 10:56:15 +0200
commitfa6a07821922a5ff78d51942d1f1bf778906a26a (patch)
tree81b556a59fb0fe356ffadf25502e0522b5c94de2
parentadd cm4 based sensor nodes (base install) (diff)
RPi CM4 dwc vs xhci
Took me a while to find this but it seems that the line dtoverlay=dwc2,dr_mode=host is no longer the preferred way to enable USB ond CM4: https://forums.raspberrypi.com/viewtopic.php?t=325000
-rw-r--r--inventory/host_vars/ch-cm4-sensors0.yml4
-rw-r--r--inventory/host_vars/ch-cm4-sensors1.yml4
-rw-r--r--inventory/host_vars/ch-cm4-test.yml4
3 files changed, 0 insertions, 12 deletions
diff --git a/inventory/host_vars/ch-cm4-sensors0.yml b/inventory/host_vars/ch-cm4-sensors0.yml
index f59eceb6..abc0c0bb 100644
--- a/inventory/host_vars/ch-cm4-sensors0.yml
+++ b/inventory/host_vars/ch-cm4-sensors0.yml
@@ -16,8 +16,6 @@ network:
- *_network_primary_
raspios_boot_config:
- - regexp: '^#?otg_mode=1'
- line: '#otg_mode=1'
- regexp: '^#?dtparam=i2c_vc'
line: 'dtparam=i2c_vc=on'
- regexp: '^#?dtoverlay=i2c-rtc'
@@ -26,8 +24,6 @@ raspios_boot_config:
line: 'dtoverlay=disable-bt'
- regexp: '^#?dtoverlay=disable-wifi'
line: 'dtoverlay=disable-wifi'
- - regexp: '^#?dtoverlay=dwc2'
- line: 'dtoverlay=dwc2,dr_mode=host'
- regexp: '^#?dtoverlay=audremap'
line: 'dtoverlay=audremap,pins_18_19'
- regexp: '^#?dtoverlay=gpio-shutdown'
diff --git a/inventory/host_vars/ch-cm4-sensors1.yml b/inventory/host_vars/ch-cm4-sensors1.yml
index f59eceb6..abc0c0bb 100644
--- a/inventory/host_vars/ch-cm4-sensors1.yml
+++ b/inventory/host_vars/ch-cm4-sensors1.yml
@@ -16,8 +16,6 @@ network:
- *_network_primary_
raspios_boot_config:
- - regexp: '^#?otg_mode=1'
- line: '#otg_mode=1'
- regexp: '^#?dtparam=i2c_vc'
line: 'dtparam=i2c_vc=on'
- regexp: '^#?dtoverlay=i2c-rtc'
@@ -26,8 +24,6 @@ raspios_boot_config:
line: 'dtoverlay=disable-bt'
- regexp: '^#?dtoverlay=disable-wifi'
line: 'dtoverlay=disable-wifi'
- - regexp: '^#?dtoverlay=dwc2'
- line: 'dtoverlay=dwc2,dr_mode=host'
- regexp: '^#?dtoverlay=audremap'
line: 'dtoverlay=audremap,pins_18_19'
- regexp: '^#?dtoverlay=gpio-shutdown'
diff --git a/inventory/host_vars/ch-cm4-test.yml b/inventory/host_vars/ch-cm4-test.yml
index 030267d2..01f6cc4b 100644
--- a/inventory/host_vars/ch-cm4-test.yml
+++ b/inventory/host_vars/ch-cm4-test.yml
@@ -45,8 +45,6 @@ raspios_boot_config:
# ## Cytron CM4 Maker Board
# raspios_boot_config:
-# - regexp: '^#?otg_mode=1'
-# line: '#otg_mode=1'
# - regexp: '^#?dtparam=i2c_vc'
# line: 'dtparam=i2c_vc=on'
# - regexp: '^#?dtoverlay=i2c-rtc'
@@ -55,8 +53,6 @@ raspios_boot_config:
# line: 'dtoverlay=disable-bt'
# - regexp: '^#?dtoverlay=disable-wifi'
# line: 'dtoverlay=disable-wifi'
-# - regexp: '^#?dtoverlay=dwc2'
-# line: 'dtoverlay=dwc2,dr_mode=host'
# - regexp: '^#?dtoverlay=audremap'
# line: 'dtoverlay=audremap,pins_18_19'
# - regexp: '^#?dtoverlay=gpio-shutdown'