lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Date:   Fri, 21 Jan 2022 11:06:12 -0300
From:   Fabio Estevam <festevam@...il.com>
To:     Johannes Berg <johannes@...solutions.net>, bjorn@...k.no
Cc:     netdev <netdev@...r.kernel.org>, Andrew Lunn <andrew@...n.ch>,
        Vladimir Oltean <vladimir.oltean@....com>
Subject: rfkill: wwan does not show up in rfkill command

Hi,

I am running kernel 5.10.92 on an imx7d SoC.

The wwan interface is brought up:

usb 2-1: New USB device found, idVendor=2c7c, idProduct=0296, bcdDevice= 0.00
usb 2-1: New USB device strings: Mfr=3, Product=2, SerialNumber=4
usb 2-1: Product: Qualcomm CDMA Technologies MSM
usb 2-1: Manufacturer: Qualcomm, Incorporated
usb 2-1: SerialNumber: 7d1563c1
option 2-1:1.0: GSM modem (1-port) converter detected
usb 2-1: GSM modem (1-port) converter now attached to ttyUSB0
option 2-1:1.1: GSM modem (1-port) converter detected
usb 2-1: GSM modem (1-port) converter now attached to ttyUSB1
option 2-1:1.2: GSM modem (1-port) converter detected
usb 2-1: GSM modem (1-port) converter now attached to ttyUSB2
option 2-1:1.3: GSM modem (1-port) converter detected
usb 2-1: GSM modem (1-port) converter now attached to ttyUSB3
qmi_wwan 2-1:1.4: cdc-wdm0: USB WDM device
qmi_wwan 2-1:1.4 wwan0: register 'qmi_wwan' at usb-ci_hdrc.1-1,
WWAN/QMI device, 0e:31:86:6b:xx:xx

When I run the rfkill command, only the Wifi interface shows up:

root@...0000000:~# rfkill
ID TYPE DEVICE      SOFT      HARD
 0 wlan phy0   unblocked unblocked

Shouldn't the wwan interface also be listed in the rfkill output?

Is there anything that needs to be done for wwan to appear there?

Also, there is a GPIO that connects to the modem (W_DISABLE) pin, but
it seems it is not possible currently to use rkfill gpio with device
tree, right? I saw some previous attempts to add rfkill gpio support
in devicetree, but none was accepted.

Any suggestions are welcome.

Thanks,

Fabio Estevam

Powered by blists - more mailing lists