On Thu, 2017-03-09 at 10:28 +0100, Oliver Neukum wrote: > Am Mittwoch, den 08.03.2017, 17:30 -0500 schrieb Balazs Harmath: > > Hi guys, > > > > I’w working with a Quectel EC21 modem and i ran into an issue that > > the qcserial driver is not getting installed for it. > > Previously i was working with the Quectel EC20 which was working > > properly but the cell carrier requested LTE Cat 1 modem so that’s > > why > > the switch to EC21. > > > > Can you add the product ID for the Quectel EC21 in the qcserial.c ? > > > > Thanks, > > Bali > > > > Below info for Quectel EC21 > > > > root@raspberrypi:~# uname -a > > Linux raspberrypi 4.9.13-v7+ #974 SMP Wed Mar 1 20:09:48 GMT 2017 > > armv7l GNU/Linux > > > > > > output for dmesg: > > > > [ 7.575835] usb 1-1.4: new high-speed USB device number 7 using > > dwc_otg > > [ 7.715808] usb 1-1.4: New USB device found, idVendor=2c7c, > > idProduct=0121 > > [ 7.715819] usb 1-1.4: New USB device strings: Mfr=1, Product=2, > > SerialNumber=0 > > [ 7.715824] usb 1-1.4: Product: Android > > [ 7.715827] usb 1-1.4: Manufacturer: Android > > [ 7.728580] usbcore: registered new interface driver cdc_wdm > > [ 7.735897] qmi_wwan 1-1.4:1.4: cdc-wdm0: USB WDM device > > [ 7.737829] qmi_wwan 1-1.4:1.4 wwan0: register 'qmi_wwan' at > > usb- > > 3f980000.usb-1.4, WWAN/QMI device, ce:db:66:0e:df:26 > > > > output for lsusb -t: > > > > root@raspberrypi:~# lsusb -t > > /: Bus 01.Port 1: Dev 1, Class=root_hub, Driver=dwc_otg/1p, 480M > > |__ Port 1: Dev 2, If 0, Class=Hub, Driver=hub/4p, 480M > > |__ Port 1: Dev 3, If 0, Class=Hub, Driver=hub/3p, 480M > > |__ Port 1: Dev 5, If 0, Class=Vendor Specific Class, > > Driver=smsc95xx, 480M > > |__ Port 2: Dev 4, If 0, Class=Vendor Specific Class, > > Driver=ftdi_sio, 12M > > |__ Port 3: Dev 6, If 0, Class=Mass Storage, Driver=usb- > > storage, 480M > > |__ Port 4: Dev 7, If 1, Class=Vendor Specific Class, > > Driver=, 480M > > |__ Port 4: Dev 7, If 4, Class=Vendor Specific Class, > > Driver=qmi_wwan, 480M > > qmi_wwan is binding to this interface. > > > |__ Port 4: Dev 7, If 2, Class=Vendor Specific Class, > > Driver=, 480M > > |__ Port 4: Dev 7, If 0, Class=Vendor Specific Class, > > Driver=, 480M > > |__ Port 4: Dev 7, If 3, Class=Vendor Specific Class, > > Driver=, 480M > > Do you need qcserial for these interfaces? The only reason the EC20 is part of qcserial is because Quectel didn't bother getting their own VID/PID for it, instead using an existing Qualcomm one (05c6:9215) that was previously used by an Acer device. Gobi used to be mainly for devices that kept the same Gobi-type layout (4 interfaces) and G1K/G2K devices that needed initial firmware upload. That distinction has been muddled recently though so I'm not sure it matters much where they go. Quectel recommends option for the UC15, UC20, EC20, EC25, and EC21. I don't think it makes much difference, except that the UC15 is an AT- only device and should go into 'option'. Might as well just put them all there and blacklist the QMI interface (#4). Dan -- To unsubscribe from this list: send the line "unsubscribe linux-usb" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html