I am attempting to get a WiFi (Laird SIPT-60-2230C-PU) card working for Bluetooth. The card is attached via a MPCIe m.2 adapter that claims to support USB.
I have no problem with the WI-fi side but the Bluetooth side is not seen. According to the vendor the BT side is supposed to show up as /dev/ttyUSB0 or /dev/ttymxc3
I have activated USB serial in the kernel configuration, and yet I do not see the device. The Wifi card's vendor says it may be in the device tree. I am using the default dtsi in a Yocto build.
root@ls1043ardb:~# lsusb -v
Bus 005 Device 001: ID 1d6b:0002
Bus 003 Device 001: ID 1d6b:0002
Bus 001 Device 001: ID 1d6b:0002
Bus 006 Device 001: ID 1d6b:0003
Bus 004 Device 001: ID 1d6b:0003
Bus 002 Device 001: ID 1d6b:0003
root@ls1043ardb:~# lspci -v
0000:00:00.0 PCI bridge: Freescale Semiconductor Inc Device 8080 (rev 11) (prog-
if 00 [Normal decode])
Flags: bus master, fast devsel, latency 0, IRQ 73
Bus: primary=00, secondary=01, subordinate=ff, sec-latency=0
I/O behind bridge: None
Memory behind bridge: None
Prefetchable memory behind bridge: 0000000040000000-00000000401fffff [si
ze=2M]
Expansion ROM at 4840200000 [disabled] [size=2K]
Capabilities: [40] Power Management version 3
Capabilities: [50] MSI: Enable- Count=1/16 Maskable- 64bit+
Capabilities: [70] Express Root Port (Slot-), MSI 00
Capabilities: [100] Advanced Error Reporting
Capabilities: [148] Secondary PCI Express <?>
Kernel driver in use: pcieport
0000:01:00.0 Ethernet controller: Marvell Technology Group Ltd. Device 2b42 (rev
11)
Flags: bus master, fast devsel, latency 0, IRQ 84
Memory at 4840000000 (64-bit, prefetchable) [size=1M]
Memory at 4840100000 (64-bit, prefetchable) [size=1M]
Capabilities: [40] Power Management version 3
Capabilities: [50] MSI: Enable+ Count=1/32 Maskable+ 64bit+
Capabilities: [70] Express Endpoint, MSI 00
Capabilities: [b0] MSI-X: Enable- Count=32 Masked-
Capabilities: [100] Advanced Error Reporting
Capabilities: [148] Device Serial Number 00-00-00-00-00-00-00-00
Capabilities: [158] Power Budgeting <?>
Capabilities: [168] Latency Tolerance Reporting
Capabilities: [170] L1 PM Substates
Kernel driver in use: lrdmwl_pcie
Kernel modules: lrdmwl_pcie
0001:00:00.0 PCI bridge: Freescale Semiconductor Inc Device 8080 (rev 11) (prog-
if 00 [Normal decode])
Flags: bus master, fast devsel, latency 0, IRQ 74
Bus: primary=00, secondary=01, subordinate=ff, sec-latency=0
I/O behind bridge: None
Memory behind bridge: 40000000-400fffff [size=1M]
Prefetchable memory behind bridge: None
Expansion ROM at 5040100000 [disabled] [size=2K]
Capabilities: [40] Power Management version 3
Capabilities: [50] MSI: Enable- Count=1/16 Maskable- 64bit+
Capabilities: [70] Express Root Port (Slot-), MSI 00
Capabilities: [100] Advanced Error Reporting
Capabilities: [148] Secondary PCI Express <?>
Kernel driver in use: pcieport
0001:01:00.0 Non-Volatile memory controller: Micron Technology Inc Device 6001 (
rev 03) (prog-if 02 [NVM Express])
Subsystem: Micron Technology Inc Device 0100
Flags: bus master, fast devsel, latency 0, IRQ 74, NUMA node 0
Memory at 5040000000 (64-bit, non-prefetchable) [size=16K]
Capabilities: [40] Power Management version 3
Capabilities: [50] MSI: Enable- Count=1/8 Maskable+ 64bit+
Capabilities: [70] Express Endpoint, MSI 00
Capabilities: [b0] MSI-X: Enable+ Count=16 Masked-
Capabilities: [100] Advanced Error Reporting
Capabilities: [158] Secondary PCI Express <?>
Capabilities: [178] Latency Tolerance Reporting
Capabilities: [180] L1 PM Substates
Kernel driver in use: nvme
Any help would be appreciated.
Cheers,
Glen
For kernel_config, please configure CONFIG_USB_SERIAL, you are planning to connect a USB-to-UART adapter to our board.
Please set above CONFIG to y and refer to here for details, and maybe extra driver is also needed, which depend on the brand/type of your adapter, such as below list (quoted from drivers/usb/serial/Makefile):
8 obj-$(CONFIG_USB_SERIAL) += usbserial.o
9
10 usbserial-y := usb-serial.o generic.o bus.o
11
12 usbserial-$(CONFIG_USB_SERIAL_CONSOLE) += console.o
13
14 obj-$(CONFIG_USB_SERIAL_AIRCABLE) += aircable.o
15 obj-$(CONFIG_USB_SERIAL_ARK3116) += ark3116.o
16 obj-$(CONFIG_USB_SERIAL_BELKIN) += belkin_sa.o
17 obj-$(CONFIG_USB_SERIAL_CH341) += ch341.o
18 obj-$(CONFIG_USB_SERIAL_CP210X) += cp210x.o
19 obj-$(CONFIG_USB_SERIAL_CYBERJACK) += cyberjack.o
20 obj-$(CONFIG_USB_SERIAL_CYPRESS_M8) += cypress_m8.o
21 obj-$(CONFIG_USB_SERIAL_DEBUG) += usb_debug.o
22 obj-$(CONFIG_USB_SERIAL_DIGI_ACCELEPORT) += digi_acceleport.o
23 obj-$(CONFIG_USB_SERIAL_EDGEPORT) += io_edgeport.o
24 obj-$(CONFIG_USB_SERIAL_EDGEPORT_TI) += io_ti.o
25 obj-$(CONFIG_USB_SERIAL_EMPEG) += empeg.o
26 obj-$(CONFIG_USB_SERIAL_F81232) += f81232.o
27 obj-$(CONFIG_USB_SERIAL_F8153X) += f81534.o
28 obj-$(CONFIG_USB_SERIAL_FTDI_SIO) += ftdi_sio.o
29 obj-$(CONFIG_USB_SERIAL_GARMIN) += garmin_gps.o
30 obj-$(CONFIG_USB_SERIAL_IPAQ) += ipaq.o
31 obj-$(CONFIG_USB_SERIAL_IPW) += ipw.o
32 obj-$(CONFIG_USB_SERIAL_IR) += ir-usb.o
33 obj-$(CONFIG_USB_SERIAL_IUU) += iuu_phoenix.o
34 obj-$(CONFIG_USB_SERIAL_KEYSPAN) += keyspan.o
35 obj-$(CONFIG_USB_SERIAL_KEYSPAN_PDA) += keyspan_pda.o
36 obj-$(CONFIG_USB_SERIAL_KLSI) += kl5kusb105.o
37 obj-$(CONFIG_USB_SERIAL_KOBIL_SCT) += kobil_sct.o
38 obj-$(CONFIG_USB_SERIAL_MCT_U232) += mct_u232.o
39 obj-$(CONFIG_USB_SERIAL_METRO) += metro-usb.o
40 obj-$(CONFIG_USB_SERIAL_MOS7720) += mos7720.o
41 obj-$(CONFIG_USB_SERIAL_MOS7840) += mos7840.o
42 obj-$(CONFIG_USB_SERIAL_MXUPORT) += mxuport.o
43 obj-$(CONFIG_USB_SERIAL_NAVMAN) += navman.o
44 obj-$(CONFIG_USB_SERIAL_OMNINET) += omninet.o
45 obj-$(CONFIG_USB_SERIAL_OPTICON) += opticon.o
Please provide your Linux Kernel booting up log if further assistance is needed.
I have all those turned on. My setup is a ls1043ardb reference platform. We added a MPCIe adapter that claims to have USB pinned out. Mounted on the adapter is a Laird SIPT-60 Wi-Fi card. I expect to see either a /dev/ttyUSB0 or /dev/ttymxc3 in /dev.
I am using the fsl-ls1043a-rdb-sdk.dtb device tree file without modifications. Is there something I need to add?
Boot log is attached.
Cheers, Glen
Have you enabled "CONFIG_USB_SERIAL_CONSOLE=y"?