I've recently purchased a MikroTik RBM33G that I'm using with a Sierra Wireless MC7455. This modem wasn't being recognized, and I just learned today that 6 pins on this mPCIe card need to be taped to work with this Routerboard. I've tested it today, and it works with these "USB3" pins taped.
I move this modem around occasionally, and I can already see taping is going to be an on-going hassle. Anybody know if there's a way to deal with this in OpenWRT? The pins that need to be ignored on the MC7455 are 23, 25, 31 and 33. For taping purposes 27 and 29 can also be taped since they are duplicate grounds.
I'm currently running the ROOter build of OpenWRT 18.06.
ROOter actually is OpenWRT, with some custom scripts, LuCI and a standard set of installed packages -- oriented towards cellular Internet users. I take your point though that removing USB3 support might do the trick. This Routerboard does have a USB3 port though, so it'd be better if there's a way to have those mPCIe pins ignored at the driver level or thereabouts. The mPCIe slots on this board only support up to USB2, so it's a little strange that these pins are causing a problem.
Mini Card (miniPCIe) standard didn't have USB 3.0 bus but Qualcomm made a change request (see https://pcisig.com/sites/default/files/specification_documents/ECR-USB_3_Mini_Card_2014_8_08_14_Final.pdf) and now it's possible to have USB 3.0 bus shared with PCIe TX/RX lines. If your board has a regular miniPCIe interface, with PCIe and USB 2.0 buses, you can try to disable PCIe but I'm not sure if that's enough - covering USB 3.0 bus pins might be the only option.
Thank you for your suggestion. I will try to isolate the suggested pins. I'll let you know later.
However, I suspect that there is something wrong with my software, because as I have already mentioned, even a simple USB / serial converter does not work.
See you soon.
Thank you for your suggestion.
however, after having isolated the pins 23-25-31-33-27-29 the USB of the module is still not recognized.
from the config menu I removed kmod-usb3, and now the USB / serial converter is recognized, but the modem is not.
Make sure you're using the slot that is close to the board edge.
Power should be applied to the slot by default, but I would check that.
Put the tape also on pin 22, just in case.
Finally, check with cat /sys/kernel/debug/usb/devices
You are very kind to follow me, Thanks.
I have isolated pin 22, as you advised me, but I am still on the high seas.
If you are interested, below are the traces of the current state.
Maybe I am using the wrong software?
_______ ________ __
| |.-----.-----.-----.| | | |.----.| |_
| - || _ | -__| || | | || _|| _|
|_______|| __|_____|__|__||________||__| |____|
|__| W I R E L E S S F R E E D O M
-----------------------------------------------------
OpenWrt SNAPSHOT, unknown
-----------------------------------------------------
-----------------------------------------------------
OpenWrt SNAPSHOT, unknown
-----------------------------------------------------
=== WARNING! =====================================
There is no root password defined on this device!
Use the "passwd" command to set up a new password
in order to prevent unauthorized SSH logins.
--------------------------------------------------
root@OpenWrt:/# ls /dev/
bus loop2 mmcblk0p1 port ubi_ctrl
console loop3 mmcblk0p128 ppp urandom
full loop4 mmcblk0p2 ptmx watchdog
iio:device0 loop5 mmcblk0p3 pts watchdog0
kmsg loop6 mmcblk0p4 random zero
log loop7 mmcblk0p65 shm
loop-control mmcblk0 mmcblk0p66 tty
loop0 mmcblk0boot0 mmcblk0rpmb ttyS0
loop1 mmcblk0boot1 null ttyS1
root@OpenWrt:/#
root@OpenWrt:/# dmesg | grep USB
[ 1.341183] xhci-mtk 1a0c0000.usb: new USB bus registered, assigned bus number 1
[ 1.365514] hub 1-0:1.0: USB hub found
[ 1.378862] xhci-mtk 1a0c0000.usb: new USB bus registered, assigned bus number 2
[ 1.386273] xhci-mtk 1a0c0000.usb: Host supports USB 3.0 SuperSpeed
[ 1.401001] hub 2-0:1.0: USB hub found
[ 2.000009] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[ 9.080687] usbserial: USB Serial support registered for generic
[ 9.094710] xr_usb_serial_common: Exar USB UART (serial port) driver
[ 9.141484] usbserial: USB Serial support registered for ch341-uart
[ 9.181491] usbserial: USB Serial support registered for FTDI USB Serial Device
[ 9.274417] usbserial: USB Serial support registered for Sierra USB modem
[ 9.349143] usbserial: USB Serial support registered for GSM modem (1-port)
[ 9.365739] usbserial: USB Serial support registered for Qualcomm USB modem
[ 64.471148] usb 1-2: new full-speed USB device number 2 using xhci-mtk
[ 64.640780] usb 1-2: ch341-uart converter now attached to ttyUSB0
[ 70.603404] usb 1-2: USB disconnect, device number 2
[ 70.608654] ch341-uart ttyUSB0: ch341-uart converter now disconnected from ttyUSB0
[ 118.267148] usb 1-2: new high-speed USB device number 3 using xhci-mtk
[ 119.667156] usb 1-2: new high-speed USB device number 4 using xhci-mtk
[ 121.707153] usb 1-2: new full-speed USB device number 5 using xhci-mtk
[ 128.407155] usb usb1-port2: Cannot enable. Maybe the USB cable is bad?
[ 128.413819] usb usb1-port2: unable to enumerate USB device
root@OpenWrt:/#
root@OpenWrt:/# cat /sys/kernel/debug/usb/devices
T: Bus=01 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#= 1 Spd=480 MxCh= 2
B: Alloc= 0/800 us ( 0%), #Int= 0, #Iso= 0
D: Ver= 2.00 Cls=09(hub ) Sub=00 Prot=01 MxPS=64 #Cfgs= 1
P: Vendor=1d6b ProdID=0002 Rev= 5.10
S: Manufacturer=Linux 5.10.27 xhci-hcd
S: Product=xHCI Host Controller
S: SerialNumber=1a0c0000.usb
C:* #Ifs= 1 Cfg#= 1 Atr=e0 MxPwr= 0mA
I:* If#= 0 Alt= 0 #EPs= 1 Cls=09(hub ) Sub=00 Prot=00 Driver=hub
E: Ad=81(I) Atr=03(Int.) MxPS= 4 Ivl=256ms
T: Bus=02 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#= 1 Spd=5000 MxCh= 1
B: Alloc= 0/800 us ( 0%), #Int= 0, #Iso= 0
D: Ver= 3.00 Cls=09(hub ) Sub=00 Prot=03 MxPS= 9 #Cfgs= 1
P: Vendor=1d6b ProdID=0003 Rev= 5.10
S: Manufacturer=Linux 5.10.27 xhci-hcd
S: Product=xHCI Host Controller
S: SerialNumber=1a0c0000.usb
C:* #Ifs= 1 Cfg#= 1 Atr=e0 MxPwr= 0mA
I:* If#= 0 Alt= 0 #EPs= 1 Cls=09(hub ) Sub=00 Prot=00 Driver=hub
E: Ad=81(I) Atr=03(Int.) MxPS= 4 Ivl=256ms
root@OpenWrt:/#
root@OpenWrt:/# lsusb
Bus 002 Device 001: ID 1d6b:0003 Linux 5.10.27 xhci-hcd xHCI Host Controller
Bus 001 Device 001: ID 1d6b:0002 Linux 5.10.27 xhci-hcd xHCI Host Controller
root@OpenWrt:/#
************************ Read from LUCI********************************
Status
System
Hostname OpenWrt
Model Bananapi BPI-R64
Architecture ARMv8 Processor rev 4
Firmware Version OpenWrt SNAPSHOT unknown / LuCI Master git-21.098.04955-5114050
Kernel Version 5.10.27
Local Time 2021-04-16 15:37:51
Uptime 0h 43m 30s
Load Average 0.00, 0.00, 0.00
*************************************************************************