[bootlin/training-materials updates] master: labs/sysdev-accessing-hardware-stm32: fixes and updates (ab49e6c5)
Michael Opdenacker
michael.opdenacker at bootlin.com
Fri Jul 21 18:39:41 CEST 2023
Repository : https://github.com/bootlin/training-materials
On branch : master
Link : https://github.com/bootlin/training-materials/commit/ab49e6c5358d4b1308f74b6d55925fa70f9df52c
>---------------------------------------------------------------
commit ab49e6c5358d4b1308f74b6d55925fa70f9df52c
Author: Michael Opdenacker <michael.opdenacker at bootlin.com>
Date: Fri Jul 21 11:30:33 2023 +0200
labs/sysdev-accessing-hardware-stm32: fixes and updates
Fix USB device information (one more device detected with Linux 6.1)
Fix wrong syntax for \code
Signed-off-by: Michael Opdenacker <michael.opdenacker at bootlin.com>
>---------------------------------------------------------------
ab49e6c5358d4b1308f74b6d55925fa70f9df52c
.../sysdev-accessing-hardware-stm32.tex | 14 ++++++++------
1 file changed, 8 insertions(+), 6 deletions(-)
diff --git a/labs/sysdev-accessing-hardware-stm32/sysdev-accessing-hardware-stm32.tex b/labs/sysdev-accessing-hardware-stm32/sysdev-accessing-hardware-stm32.tex
index eb88549c..7cf30032 100644
--- a/labs/sysdev-accessing-hardware-stm32/sysdev-accessing-hardware-stm32.tex
+++ b/labs/sysdev-accessing-hardware-stm32/sysdev-accessing-hardware-stm32.tex
@@ -446,9 +446,10 @@ headset provided by your instructor.
Before plugging the device, look at the output of \code{lsusb}:
\begin{bashinput}
-# lsusb
+# lsus
+Bus 002 Device 002: ID 0424:2514
Bus 001 Device 001: ID 1d6b:0002
-Bus 001 Device 002: ID 0424:2514
+Bus 002 Device 001: ID 1d6b:0002
\end{bashinput}
Now, when you plug the USB headset, a number of messages should appear
@@ -457,9 +458,10 @@ additional device:
\begin{bashinput}
# lsusb
+Bus 002 Device 004: ID 0d8c:0014
+Bus 002 Device 002: ID 0424:2514
Bus 001 Device 001: ID 1d6b:0002
-Bus 001 Device 003: ID 0d8c:0014
-Bus 001 Device 002: ID 0424:2514
+Bus 002 Device 001: ID 1d6b:0002
\end{bashinput}
The device of vendor ID \code{0d8c} and product ID \code{0014} has
@@ -540,7 +542,7 @@ card is available:
\begin{bashinput}
# cat /proc/asound/cards
0 [Device ]: USB-Audio - USB Audio Device
- GeneralPlus USB Audio Device at usb-musb-hdrc.1-1, full speed
+ C-Media Electronics Inc. USB Audio Device at usb-5800d000.usb-1.1, full speed
\end{bashinput}
Check also the \code{/dev/snd} directory, which should now contain
@@ -743,7 +745,7 @@ Nunchuk one for the moment) and see the version changes through the
new base directory for modules.
To save space for the next lab, remove the old directory under
-<code>lib/modules</code> containing the "dirty" modules.
+\code{lib/modules} containing the "dirty" modules.
Don't forget to update the kernel your board boots.
More information about the training-materials-updates
mailing list