Re: TP-LINK HSUPA Modem MA180 2357:0201

2013-01-15 Thread Bjørn Mork
Thomas Schäfer tschae...@t-online.de writes:

 Here are all infos about this device. I think I catched the relevant data.

 Switching to modem/network-mode works with 

 eject /dev/sr0

 It works with option 
 /dev/ttyUSB2 has accepted at-commands

 and qmi_wwan (in testcase with interface 1 instead of 0)

 I was able get an IPv4- connection via qmi-interface.

 I was not able to get online via IPv6.

 qmi-version-infos are also inside the attachment.


 This is, what windows says about this device:

 Diagnostics USB\VID_2357PID_0201MI_00\637BC1CE00
 NMEAUSB\VID_2357PID_0201MI_01\637BC1CE01

 Modem   USB\VID_2357PID_0201MI_03\637BC1CE03
 Networkcard USB\VID_2357PID_0201MI_04\637BC1CE04


 mmc 
 USBSTOR\CDROMVEN_TP-LINKPROD_MMC_STORAGEREV_2.31\77ED6A6108630770103305650


 Labels at the housing:

 MA180
 FCC ID: T7MA180V2
 IC: 8853-MA180V1


 Windows-software at the stick is identical to 
 http://www.tp-link.com.de/Resources/software/MA180_V1_Easy_Setup_Assistant.zip
 (same md5)

Thanks a lot for the extra-ordinary complete and detailed report.  I've
just submitted the two patches this ends up as.  Given the amount of
work you put into collection all the info, you could have submitted
those patches yourself to save you some of the work :-)


Bjørn
--
To unsubscribe from this list: send the line unsubscribe linux-usb in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


Re: TP-LINK HSUPA Modem MA180 2357:0201

2013-01-12 Thread Thomas Schäfer
Am Mittwoch, 9. Januar 2013, 22:24:14 schrieben Sie:

  No further work need to be done in the kernel.
 
 Are you able to provide the Windows .INF files from the device so we can
 determine what kernel drivers each interface of the device requires?
 Basically, instead of modeswitching the device, let the fake CD disk
 appear, tar+gzip the contents of the fake CD, and mail it to me so I can
 inspect it.

Diagnostics USB\VID_2357PID_0201MI_00\637BC1CE00
NMEAUSB\VID_2357PID_0201MI_01\637BC1CE01

Modem   USB\VID_2357PID_0201MI_03\637BC1CE03
Networkcard USB\VID_2357PID_0201MI_04\637BC1CE04


mmc 
USBSTOR\CDROMVEN_TP-LINKPROD_MMC_STORAGEREV_2.31\77ED6A6108630770103305650


 
 What specific model number is this device?  Is it the MA180?  Or is it
 the MA260?  What model number is printed on the device?  Does it have an
 FCC ID printed anywhere on it?


MA180

FCC ID: T7MA180V2
IC: 8853-MA180V1

The examination at linux I will start later this day. 

Regards,

Thomas


--
To unsubscribe from this list: send the line unsubscribe linux-usb in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


Re: TP-LINK HSUPA Modem

2013-01-09 Thread hockseng leow
I got the dmesg after having the parameters, usbserial.vendor=0x2357
usbserial.product=0x0200 in the linux start-up.

I already got the modem working under usb_modeswitch.

No further work need to be done in the kernel.

Thanks.

On Wed, Jan 9, 2013 at 12:46 AM, Greg KH gre...@linuxfoundation.org wrote:
 On Tue, Jan 08, 2013 at 11:07:22PM +0800, hockseng leow wrote:
 Hello,

 Please add the modem to a proper driver.

 Attached is the dmesg.

 What type of device is this?  And where did you get the instructions
 that told you to add it to the generic USB Serial driver?

 [51536.010224] usb 2-1.4: new full-speed USB device number 10 using uhci_hcd
 [51536.224219] usb 2-1.4: New USB device found, idVendor=2357, idProduct=f006
 [51536.224233] usb 2-1.4: New USB device strings: Mfr=3, Product=2, 
 SerialNumber=0
 [51536.224243] usb 2-1.4: Product: TP-LINK HSUPA Modem
 [51536.224252] usb 2-1.4: Manufacturer: TP-LINK, Incorporated
 [51536.282204] hid-generic 0003:2357:F006.0006: hiddev0,hidraw2: USB HID 
 v1.10 Device [TP-LINK, Incorporated TP-LINK HSUPA Modem] on 
 usb-:00:1d.0-1.4/input0

 Is this the same device?

 [51537.811244] usb 2-1.4: USB disconnect, device number 10
 [51541.185312] usb 2-1.4: new full-speed USB device number 11 using uhci_hcd
 [51541.274295] usb 2-1.4: not running at top speed; connect to a high speed 
 hub
 [51541.301304] usb 2-1.4: New USB device found, idVendor=2357, idProduct=0200
 [51541.301319] usb 2-1.4: New USB device strings: Mfr=3, Product=2, 
 SerialNumber=4
 [51541.301329] usb 2-1.4: Product: TP-LINK HSUPA Modem
 [51541.301338] usb 2-1.4: Manufacturer: TP-LINK, Incorporated
 [51541.301346] usb 2-1.4: SerialNumber: 863077010232324
 [51541.309529] usbserial_generic 2-1.4:1.0: The generic usb-serial driver 
 is only for testing and one-off prototypes.
 [51541.309548] usbserial_generic 2-1.4:1.0: Tell linux-usb@vger.kernel.org 
 to add your device to a proper driver.
 [51541.309560] usbserial_generic 2-1.4:1.0: generic converter detected
 [51541.310190] usb 2-1.4: generic converter now attached to ttyUSB0

 It looks like you unplugged the device and then assigned it to the
 generic USB serial device instead?  What happened to cause it to do
 this?

 thanks,

 greg k-h



--
Leow Hock Seng
Tel:64463211
Mobile:96740759
http://www.oses.sg
--
To unsubscribe from this list: send the line unsubscribe linux-usb in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


Re: TP-LINK HSUPA Modem

2013-01-09 Thread Thomas Schäfer

Am 09.01.2013 09:54, schrieb hockseng leow:

I got the dmesg after having  the parameters, usbserial.vendor=0x2357

 usbserial.product=0x0200 in the linux start-up.

That looks not very nice.





 I already got the modem working under usb_modeswitch.

What about other people with the same device?




 No further work need to be done in the kernel.

Sure?




 Thanks.


Regards,

Thomas
--
To unsubscribe from this list: send the line unsubscribe linux-usb in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


Re: TP-LINK HSUPA Modem

2013-01-09 Thread hockseng leow
It just works with the latest Fedora 17 updates.

The latest usb_modeswitch update includes the device vendor and product.

On Wed, Jan 9, 2013 at 5:14 PM, Thomas Schäfer tschae...@t-online.de wrote:
 Am 09.01.2013 09:54, schrieb hockseng leow:

 I got the dmesg after having  the parameters, usbserial.vendor=0x2357

 usbserial.product=0x0200 in the linux start-up.

 That looks not very nice.




 I already got the modem working under usb_modeswitch.

 What about other people with the same device?



 No further work need to be done in the kernel.

 Sure?


 Thanks.


 Regards,

 Thomas



-- 
Leow Hock Seng
Tel:64463211
Mobile:96740759
http://www.oses.sg
--
To unsubscribe from this list: send the line unsubscribe linux-usb in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


Re: TP-LINK HSUPA Modem

2013-01-09 Thread Dan Williams
On Wed, 2013-01-09 at 16:54 +0800, hockseng leow wrote:
 I got the dmesg after having the parameters, usbserial.vendor=0x2357
 usbserial.product=0x0200 in the linux start-up.
 
 I already got the modem working under usb_modeswitch.
 
 No further work need to be done in the kernel.

Are you able to provide the Windows .INF files from the device so we can
determine what kernel drivers each interface of the device requires?
Basically, instead of modeswitching the device, let the fake CD disk
appear, tar+gzip the contents of the fake CD, and mail it to me so I can
inspect it.

What specific model number is this device?  Is it the MA180?  Or is it
the MA260?  What model number is printed on the device?  Does it have an
FCC ID printed anywhere on it?

From what I can see, after being switched, the device exposes 5 USB
interfaces:

0: bulk in/out; FF FF FF
1: bulk in/out; FF FF FF
2: USB Storage (SD card)
3: bulk in/out + interrupt; FF FF FF
4: bulk in/out + interrupt; FF FF FF

One of 3 or 4 is going to be the AT/PPP interface, while other one could
be a pseudo-ethernet network interface port, perhaps with QMI.  The
device appears to use a MSM6290 chip, which means that interface 0 and 1
are likely either DIAG, NMEA, or secondary AT.  Without the drivers we
don't know for sure.

Dan

 Thanks.
 
 On Wed, Jan 9, 2013 at 12:46 AM, Greg KH gre...@linuxfoundation.org wrote:
  On Tue, Jan 08, 2013 at 11:07:22PM +0800, hockseng leow wrote:
  Hello,
 
  Please add the modem to a proper driver.
 
  Attached is the dmesg.
 
  What type of device is this?  And where did you get the instructions
  that told you to add it to the generic USB Serial driver?
 
  [51536.010224] usb 2-1.4: new full-speed USB device number 10 using 
  uhci_hcd
  [51536.224219] usb 2-1.4: New USB device found, idVendor=2357, 
  idProduct=f006
  [51536.224233] usb 2-1.4: New USB device strings: Mfr=3, Product=2, 
  SerialNumber=0
  [51536.224243] usb 2-1.4: Product: TP-LINK HSUPA Modem
  [51536.224252] usb 2-1.4: Manufacturer: TP-LINK, Incorporated
  [51536.282204] hid-generic 0003:2357:F006.0006: hiddev0,hidraw2: USB HID 
  v1.10 Device [TP-LINK, Incorporated TP-LINK HSUPA Modem] on 
  usb-:00:1d.0-1.4/input0
 
  Is this the same device?
 
  [51537.811244] usb 2-1.4: USB disconnect, device number 10
  [51541.185312] usb 2-1.4: new full-speed USB device number 11 using 
  uhci_hcd
  [51541.274295] usb 2-1.4: not running at top speed; connect to a high 
  speed hub
  [51541.301304] usb 2-1.4: New USB device found, idVendor=2357, 
  idProduct=0200
  [51541.301319] usb 2-1.4: New USB device strings: Mfr=3, Product=2, 
  SerialNumber=4
  [51541.301329] usb 2-1.4: Product: TP-LINK HSUPA Modem
  [51541.301338] usb 2-1.4: Manufacturer: TP-LINK, Incorporated
  [51541.301346] usb 2-1.4: SerialNumber: 863077010232324
  [51541.309529] usbserial_generic 2-1.4:1.0: The generic usb-serial 
  driver is only for testing and one-off prototypes.
  [51541.309548] usbserial_generic 2-1.4:1.0: Tell linux-usb@vger.kernel.org 
  to add your device to a proper driver.
  [51541.309560] usbserial_generic 2-1.4:1.0: generic converter detected
  [51541.310190] usb 2-1.4: generic converter now attached to ttyUSB0
 
  It looks like you unplugged the device and then assigned it to the
  generic USB serial device instead?  What happened to cause it to do
  this?
 
  thanks,
 
  greg k-h
 
 
 
 --
 Leow Hock Seng
 Tel:64463211
 Mobile:96740759
 http://www.oses.sg
 --
 To unsubscribe from this list: send the line unsubscribe linux-usb in
 the body of a message to majord...@vger.kernel.org
 More majordomo info at  http://vger.kernel.org/majordomo-info.html


--
To unsubscribe from this list: send the line unsubscribe linux-usb in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


Re: TP-LINK HSUPA Modem

2013-01-08 Thread Greg KH
On Tue, Jan 08, 2013 at 11:07:22PM +0800, hockseng leow wrote:
 Hello,
 
 Please add the modem to a proper driver.
 
 Attached is the dmesg.

What type of device is this?  And where did you get the instructions
that told you to add it to the generic USB Serial driver?

 [51536.010224] usb 2-1.4: new full-speed USB device number 10 using uhci_hcd
 [51536.224219] usb 2-1.4: New USB device found, idVendor=2357, idProduct=f006
 [51536.224233] usb 2-1.4: New USB device strings: Mfr=3, Product=2, 
 SerialNumber=0
 [51536.224243] usb 2-1.4: Product: TP-LINK HSUPA Modem
 [51536.224252] usb 2-1.4: Manufacturer: TP-LINK, Incorporated
 [51536.282204] hid-generic 0003:2357:F006.0006: hiddev0,hidraw2: USB HID 
 v1.10 Device [TP-LINK, Incorporated TP-LINK HSUPA Modem] on 
 usb-:00:1d.0-1.4/input0

Is this the same device?

 [51537.811244] usb 2-1.4: USB disconnect, device number 10
 [51541.185312] usb 2-1.4: new full-speed USB device number 11 using uhci_hcd
 [51541.274295] usb 2-1.4: not running at top speed; connect to a high speed 
 hub
 [51541.301304] usb 2-1.4: New USB device found, idVendor=2357, idProduct=0200
 [51541.301319] usb 2-1.4: New USB device strings: Mfr=3, Product=2, 
 SerialNumber=4
 [51541.301329] usb 2-1.4: Product: TP-LINK HSUPA Modem
 [51541.301338] usb 2-1.4: Manufacturer: TP-LINK, Incorporated
 [51541.301346] usb 2-1.4: SerialNumber: 863077010232324
 [51541.309529] usbserial_generic 2-1.4:1.0: The generic usb-serial driver 
 is only for testing and one-off prototypes.
 [51541.309548] usbserial_generic 2-1.4:1.0: Tell linux-usb@vger.kernel.org to 
 add your device to a proper driver.
 [51541.309560] usbserial_generic 2-1.4:1.0: generic converter detected
 [51541.310190] usb 2-1.4: generic converter now attached to ttyUSB0

It looks like you unplugged the device and then assigned it to the
generic USB serial device instead?  What happened to cause it to do
this?

thanks,

greg k-h
--
To unsubscribe from this list: send the line unsubscribe linux-usb in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


Re: TP-LINK HSUPA Modem

2013-01-08 Thread Anil Nair
Hello,

How does the same product have different product id?

 [51536.224219] usb 2-1.4: New USB device found, idVendor=2357, idProduct=f006
 [51541.301304] usb 2-1.4: New USB device found, idVendor=2357, idProduct=0200

Is it the fact that one time it is detected as USB device and second
time as a emulated USB serial device?

--
Regards,
Anil Nair

On 1/8/13, Greg KH gre...@linuxfoundation.org wrote:
 On Tue, Jan 08, 2013 at 11:07:22PM +0800, hockseng leow wrote:
 Hello,

 Please add the modem to a proper driver.

 Attached is the dmesg.

 What type of device is this?  And where did you get the instructions
 that told you to add it to the generic USB Serial driver?

 [51536.010224] usb 2-1.4: new full-speed USB device number 10 using
 uhci_hcd
 [51536.224219] usb 2-1.4: New USB device found, idVendor=2357,
 idProduct=f006
 [51536.224233] usb 2-1.4: New USB device strings: Mfr=3, Product=2,
 SerialNumber=0
 [51536.224243] usb 2-1.4: Product: TP-LINK HSUPA Modem
 [51536.224252] usb 2-1.4: Manufacturer: TP-LINK, Incorporated
 [51536.282204] hid-generic 0003:2357:F006.0006: hiddev0,hidraw2: USB HID
 v1.10 Device [TP-LINK, Incorporated TP-LINK HSUPA Modem] on
 usb-:00:1d.0-1.4/input0

 Is this the same device?

 [51537.811244] usb 2-1.4: USB disconnect, device number 10
 [51541.185312] usb 2-1.4: new full-speed USB device number 11 using
 uhci_hcd
 [51541.274295] usb 2-1.4: not running at top speed; connect to a high
 speed hub
 [51541.301304] usb 2-1.4: New USB device found, idVendor=2357,
 idProduct=0200
 [51541.301319] usb 2-1.4: New USB device strings: Mfr=3, Product=2,
 SerialNumber=4
 [51541.301329] usb 2-1.4: Product: TP-LINK HSUPA Modem
 [51541.301338] usb 2-1.4: Manufacturer: TP-LINK, Incorporated
 [51541.301346] usb 2-1.4: SerialNumber: 863077010232324
 [51541.309529] usbserial_generic 2-1.4:1.0: The generic usb-serial
 driver is only for testing and one-off prototypes.
 [51541.309548] usbserial_generic 2-1.4:1.0: Tell linux-usb@vger.kernel.org
 to add your device to a proper driver.
 [51541.309560] usbserial_generic 2-1.4:1.0: generic converter detected
 [51541.310190] usb 2-1.4: generic converter now attached to ttyUSB0

 It looks like you unplugged the device and then assigned it to the
 generic USB serial device instead?  What happened to cause it to do
 this?

 thanks,

 greg k-h
 --
 To unsubscribe from this list: send the line unsubscribe linux-usb in
 the body of a message to majord...@vger.kernel.org
 More majordomo info at  http://vger.kernel.org/majordomo-info.html



-- 
Regards,
Anil Nair
--
To unsubscribe from this list: send the line unsubscribe linux-usb in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


Re: TP-LINK HSUPA Modem

2013-01-08 Thread Mikael Abrahamsson

On Tue, 8 Jan 2013, Anil Nair wrote:


How does the same product have different product id?


[51536.224219] usb 2-1.4: New USB device found, idVendor=2357, idProduct=f006
[51541.301304] usb 2-1.4: New USB device found, idVendor=2357, idProduct=0200


Is it the fact that one time it is detected as USB device and second
time as a emulated USB serial device?


You can see some example of it here, the Huawei E398 does the same.

https://bugs.launchpad.net/ubuntu/+source/network-manager/+bug/889878

usb_modeswitch - switch mode of multi-state USB devices

When you insert it it emulates a cdrom drive with a disk in it so you 
install drivers on windows, then after driver installation the driver 
usb_modeswitch:es it to a new device with a different product id.


--
Mikael Abrahamssonemail: swm...@swm.pp.se
--
To unsubscribe from this list: send the line unsubscribe linux-usb in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


Re: TP-LINK HSUPA Modem

2013-01-08 Thread Thomas Schäfer
Is this device here the same?:

http://www.draisberghof.de/usb_modeswitch/bb/viewtopic.php?f=3t=942hilit=tp+link+hsupa+2357


If, yes. I am a little confused about the three device IDs:

2357:f006
2357:0200
2357:0201

If you like try option, qmi_wwan and post the results.

Regards,
Thomas
--
To unsubscribe from this list: send the line unsubscribe linux-usb in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html