Hi Pavel,
thank you. I checked `udevng.c` and I see the vendor ID:
> { "huawei", "cdc_wdm", "12d1" },
> { "huawei", "cdc_ether", "12d1" },
> { "huawei", "qmi_wwan", "12d1" },
> { "huawei", "option", "12d1" },
(btw the modem is 12d1:15c1). Maybe it is being detect but discarded
somewhere else (I'm just guessing). Is it possible to increase logging
level to system log?
Davide
On Thu, Jun 14, 2018 at 2:19 PM Pavel Machek <[email protected]> wrote:
> On Sat 2018-06-09 15:37:18, Davide Depau wrote:
> > Hello,
> > I just built oFono on Arch Linux from git [1]. I made sure no other
> program
> > was using the modem (Huawei ME906s LTE M.2 Module) and started oFono. The
> > modem is not recognized and I get no output in logs:
> >
> > systemd[1]: Starting Telephony service...
> > ofonod[32448]: oFono version 1.23
> > systemd[1]: Started Telephony service.
> > ofonod[32448]: parse_devices_reply: found 1st battery device:
> > /org/freedesktop/UPower/devices/battery_BAT0
> >
> > I checked the DBus org.ofono.Manager interface: GetModems() returns an
> > empty list.
> > It behaves like no modem is present, even though it's detected by the
> > kernel:
> >
> > [ 1471.866434] usb 1-2: new high-speed USB device number 8 using xhci_hcd
> > [ 1472.008230] usb 1-2: New USB device found, idVendor=12d1,
> idProduct=15c1
> > [ 1472.008234] usb 1-2: New USB device strings: Mfr=1, Product=2,
> > SerialNumber=3
> > [ 1472.008237] usb 1-2: Product: HUAWEI Mobile
> > [ 1472.008239] usb 1-2: Manufacturer: Huawei Technologies Co., Ltd.
> > [ 1472.008241] usb 1-2: SerialNumber: 0123456789ABCDEF
> > [ 1472.012514 <0125%2014>] cdc_ether 1-2:2.0 wwan0: register
> 'cdc_ether' at
> > usb-0000:00:14.0-2, Mobile Broadband Network Device, [MAC addr removed]
> > [ 1472.013268] option 1-2:2.2: GSM modem (1-port) converter detected
> > [ 1472.013414] usb 1-2: GSM modem (1-port) converter now attached to
> ttyUSB0
> > [ 1472.013641] option 1-2:2.3: GSM modem (1-port) converter detected
> > [ 1472.013715] usb 1-2: GSM modem (1-port) converter now attached to
> ttyUSB1
> > [ 1472.013904] option 1-2:2.4: GSM modem (1-port) converter detected
> > [ 1472.013972] usb 1-2: GSM modem (1-port) converter now attached to
> ttyUSB2
> > [ 1472.014160 <0141%2060>] option 1-2:2.5: GSM modem (1-port) converter
> detected
> > [ 1472.014229 <0142%2029>] usb 1-2: GSM modem (1-port) converter now
> attached to ttyUSB3
> > [ 1472.014415 <0144%2015>] option 1-2:2.6: GSM modem (1-port) converter
> detected
> > [ 1472.014480 <0144%2080>] usb 1-2: GSM modem (1-port) converter now
> attached to ttyUSB4
> > [ 1472.592941] cdc_ether 1-2:2.0 wwp0s20f0u2c2: renamed from wwan0
> >
> > Did I miss or mess up something?
>
> Perhaps modems vid/pid needs to the list somewhere? (Maybe udevng.c ?)
>
> Pavel
> --
> (english) http://www.livejournal.com/~pavelmachek
> (cesky, pictures)
> http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html
>
--
--
Davide Depau
PoliEdro <https://poliedro-polimi.it/> – PoliMi Pride <https://polimipride.it/>
Cell: +39 327 798 7963
_______________________________________________
ofono mailing list
[email protected]
https://lists.ofono.org/mailman/listinfo/ofono