Search found 21 matches

by chedxb
18 Apr 2019, 12:12
Forum: Setup Discussion
Topic: Need help in supporting DWM 157 D1 donle.
Replies: 39
Views: 52354

Re: Need help in supporting DWM 157 D1 donle.

Thanks, it was a good learning experience for me.

Best,

Savas
by chedxb
18 Apr 2019, 07:52
Forum: Setup Discussion
Topic: Need help in supporting DWM 157 D1 donle.
Replies: 39
Views: 52354

Re: Need help in supporting DWM 157 D1 donle.

between option 3 and 2, only one line is different;

line 185

bInterval = 0x0001 vs. bInterval = 0x0003

between option 3 and 1, there are many
by chedxb
18 Apr 2019, 07:42
Forum: Setup Discussion
Topic: Need help in supporting DWM 157 D1 donle.
Replies: 39
Views: 52354

Re: Need help in supporting DWM 157 D1 donle.

this is with option 3 usb_modeswitch -v 2001 -p a407 -m 1 -M 555342431234567800000000000003f0010300000000000000000000000000 -R 1 ugen4.2: <D-Link,Inc D-Link DWM-157> at usbus4, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=ON (500mA) bLength = 0x0012 bDescriptorType = 0x0001 bcdUSB = 0x0200 bDeviceClass = 0x...
by chedxb
17 Apr 2019, 18:24
Forum: Setup Discussion
Topic: Need help in supporting DWM 157 D1 donle.
Replies: 39
Views: 52354

Re: Need help in supporting DWM 157 D1 donle.

thanks, here they are usb_modeswitch -v 2001 -p a407 -m 1 -M 555342431234567800000000000003f0010100000000000000000000000000 -R 1 ugen4.2: <D-Link,Inc D-Link DWM-157> at usbus4, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=ON (500mA) bLength = 0x0012 bDescriptorType = 0x0001 bcdUSB = 0x0200 bDeviceClass = 0x...
by chedxb
17 Apr 2019, 10:46
Forum: Setup Discussion
Topic: Need help in supporting DWM 157 D1 donle.
Replies: 39
Views: 52354

Re: Need help in supporting DWM 157 D1 donle.

good catch :) usb_modeswitch -v 2001 -p a407 -m 1 -M 555342431234567800000000000003f0010100000000000000000000000000 -R 1 Look for default devices ... Found devices in default mode (1) Access device 002 on bus 004 Get the current device configuration ... Current configuration number is 2 Use interfac...
by chedxb
17 Apr 2019, 09:52
Forum: Setup Discussion
Topic: Need help in supporting DWM 157 D1 donle.
Replies: 39
Views: 52354

Re: Need help in supporting DWM 157 D1 donle.

usb_modeswitch -v 2001 -p a407 -m 1 -M 555342431234567800000000000003f0010100000000000000000000000000 -R 1 Look for default devices ... No devices in default mode found. Nothing to do. Bye! usb_modeswitch -v 2001 -p a407 -m 1 -M 555342431234567800000000000003f0010200000000000000000000000000 -R 1 Loo...
by chedxb
16 Apr 2019, 12:30
Forum: Setup Discussion
Topic: Need help in supporting DWM 157 D1 donle.
Replies: 39
Views: 52354

Re: Need help in supporting DWM 157 D1 donle.

btw, I just noticed MagicId is used in the install.sh file
by chedxb
16 Apr 2019, 09:04
Forum: Setup Discussion
Topic: Need help in supporting DWM 157 D1 donle.
Replies: 39
Views: 52354

Re: Need help in supporting DWM 157 D1 donle.

I see total 7 interfaces, 0 to 6 Good, can we then finally agree that camcontrol eject cd0 switches the device into modem mode with the interface layout I previously posted? MI_00 D-Link Mobile Broadband Device (Network Adapter) (cdc_mbim) MI_02 D-Link HSPA+DataCard Diagnostics Interface (also ppp ...
by chedxb
16 Apr 2019, 08:40
Forum: Setup Discussion
Topic: Need help in supporting DWM 157 D1 donle.
Replies: 39
Views: 52354

Re: Need help in supporting DWM 157 D1 donle.

bLength = 0x0012 bDescriptorType = 0x0001 bcdUSB = 0x0200 bDeviceClass = 0x00ef <Miscellaneous device> bDeviceSubClass = 0x0002 bDeviceProtocol = 0x0001 bMaxPacketSize0 = 0x0040 idVendor = 0x2001 idProduct = 0x7d0e bcdDevice = 0x0300 iManufacturer = 0x0009 <D-Link,Inc > iProduct = 0x000a <D-Link DW...
by chedxb
16 Apr 2019, 08:26
Forum: Setup Discussion
Topic: Need help in supporting DWM 157 D1 donle.
Replies: 39
Views: 52354

Re: Need help in supporting DWM 157 D1 donle.

ugen4.2: <D-Link,Inc D-Link DWM-157> at usbus4, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=ON (500mA) bLength = 0x0012 bDescriptorType = 0x0001 bcdUSB = 0x0200 bDeviceClass = 0x00ef <Miscellaneous device> bDeviceSubClass = 0x0002 bDeviceProtocol = 0x0001 bMaxPacketSize0 = 0x0040 idVendor = 0x2001 idProdu...
by chedxb
16 Apr 2019, 07:17
Forum: Setup Discussion
Topic: Need help in supporting DWM 157 D1 donle.
Replies: 39
Views: 52354

Re: Need help in supporting DWM 157 D1 donle.

idProduct is changing with the camcontrol eject cd0 command, however it doesn't turn into a modem. Please see below. Before Apr 16 08:27:18 kernel cd0: quirks=0x10<10_BYTE_ONLY> Apr 16 08:27:18 kernel cd0: 14MB (28672 512 byte sectors) Apr 16 08:27:18 kernel cd0: 40.000MB/s transfers Apr 16 08:27:18...
by chedxb
15 Apr 2019, 18:10
Forum: Setup Discussion
Topic: Need help in supporting DWM 157 D1 donle.
Replies: 39
Views: 52354

Re: Need help in supporting DWM 157 D1 donle.

I never had a successful switch even with eject cmd.
by chedxb
15 Apr 2019, 16:44
Forum: Setup Discussion
Topic: Need help in supporting DWM 157 D1 donle.
Replies: 39
Views: 52354

Re: Need help in supporting DWM 157 D1 donle.

I run usbconfig dump_all_desc and attached is the output.
by chedxb
15 Apr 2019, 16:21
Forum: Setup Discussion
Topic: Need help in supporting DWM 157 D1 donle.
Replies: 39
Views: 52354

Re: Need help in supporting DWM 157 D1 donle.

I tried usb_modeswitch -v 2001 -p a407 -K -W, however it didn't generate any verbose output. and this is what I see on the system log, Apr 15 18:17:57 kernel da0: quirks=0x2<NO_6_BYTE> Apr 15 18:17:57 kernel da0: Attempt to query device size failed: ILLEGAL REQUEST, Invalid field in CDB Apr 15 18:17...