Re: =?utf-8?B?562U5aSNOg==?= MM: Non QMI Huawei modems without PPP support?



Olof Ermis <olof ermis gmail com> writes:

> Hi
>
> lsusb -t gives:
>
> root@oloflinux:/sys/bus/usb/drivers/cdc_ncm# lsusb -t
> 2-6:1.1: No such file or directory
> /:  Bus 08.Port 1: Dev 1, Class=root_hub, Driver=uhci_hcd/2p, 12M
> /:  Bus 07.Port 1: Dev 1, Class=root_hub, Driver=uhci_hcd/2p, 12M
> /:  Bus 06.Port 1: Dev 1, Class=root_hub, Driver=uhci_hcd/2p, 12M
> /:  Bus 05.Port 1: Dev 1, Class=root_hub, Driver=uhci_hcd/2p, 12M
>     |__ Port 1: Dev 2, If 0, Class=HID, Driver=usbhid, 1.5M
>     |__ Port 1: Dev 2, If 1, Class=HID, Driver=usbhid, 1.5M
>     |__ Port 2: Dev 3, If 0, Class=HID, Driver=usbhid, 1.5M
> /:  Bus 04.Port 1: Dev 1, Class=root_hub, Driver=uhci_hcd/2p, 12M
> /:  Bus 03.Port 1: Dev 1, Class=root_hub, Driver=uhci_hcd/2p, 12M
> /:  Bus 02.Port 1: Dev 1, Class=root_hub, Driver=ehci_hcd/6p, 480M
>     |__ Port 6: Dev 6, If 0, Class=vend., Driver=option, 480M
>     |__ Port 6: Dev 6, If 1, Class=vend., Driver=, 480M
>     |__ Port 6: Dev 6, If 2, Class=stor., Driver=usb-storage, 480M
>     |__ Port 6: Dev 6, If 3, Class=stor., Driver=usb-storage, 480M
> /:  Bus 01.Port 1: Dev 1, Class=root_hub, Driver=ehci_hcd/6p, 480M
>
>
> Maybe this strange
>
> Port 6: Dev 6, If 1, Class=vend., Driver=, 480M
>
> is the problem or? Some driver there with no name? That is 2-6:1.1 right?

That is normal, and how it should look.  I cannot see any reason why
that shouldn't work with cdc_ncm, but there is obviously something I am
missing...  Just one more simple thing you could verify before
rebuilding the driver with more debugging:

  grep . /sys/bus/usb/devices/2-6:1.1/bAlternateSetting

This should read 0 with no driver attached.  I don't know if it somehow
could end up in alternate setting 1 before probing?  But if it could,
then that would explain the failure since there are no CDC functional
descriptors in alternate setting 1.

I also looked over the CDC descriptors, and they look just fine AFAICS.
The only odd thing is the NCM descriptor, which sets all possible
flags.  But there is nothing wrong in that, and I believe the driver
should handle it.

> I'll give the debugging a shot as well.

Good.  You hopefully realize that you may have to go several rounds with
that, but you only need to rebuild this single driver, and you do not
need to reboot - only rmmod and insmod it, so it should not be too hard.


Bjørn


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]