Re: D-bus devices cannot produced by NetworkManager when Huawei EM660 Module already is in



On Tue, 2010-03-02 at 06:57 +0300, Andrey Borzenkov wrote:
> On Tuesday 02 of March 2010 05:12:35 Wei Ye wrote:
> > One questions:
> > 
> > When the HuaWei EM660 CDMA card is already inserted into PC, that is
> > $ls /dev/ttyUSB*
> > /dev/ttyUSB0  /dev/ttyUSB1  /dev/ttyUSB2  /dev/ttyUSB3  /dev/ttyUSB4
> > the /dev/ttyUSB1  /dev/ttyUSB2  /dev/ttyUSB3  /dev/ttyUSB4 for CDMA
> > USB modem of EM660
> > 
> > if the card is pluged out, then plugged into the PC,
> > the NetworkManger can detect, and report a new D-bus device, for
> > examples, /org/freedesktop/NetworkManager/Devices/2.
> > 
> > But if the reboot the PC, the card is still in the PC, no the action
> > of plug out and in,
> > NetworkManger cannot the produce the D-BUS
> > /org/freedesktop/NetworkManager/Devices/2.
> > 
> > also
> > $sudo usb_modeswitch -v 012d1 -p 1404 -P 1404
> > $modprobe usbserial vendor=0x12d1 produce=xxxxx
> > has done, it is not useful.
> > 
> > Why? If the action of plugging in and out is not done, how can write
> > the script to realize it to produce card D-bus
> > /org/freedesktop/NetworkManager/Devices/2 ?
> > 
> 
> Try (as root)
> 
> udevadm trigger --subsystem-match usb --property-match 
> DEVTYPE=usb_device --attr-match idVendor=12d1 --attr-match 
> idProduct=1404
> 
> (this is one line of course).

One more check:  what is the contents of this file?

/lib/udev/rules.d/61-option-modem-modeswitch.rules

Upstream udev carried a rule there for a while which could negatively
impact Huawei and ZTE devices, which has since been removed after we
found out it was wrong.

Dan




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