Hi,
I'm trying to get a ZTE MF 190 USB stick to work on
FreeBSD8.2(tag=RELENG_8), so far with little success.
I checked that the thing is working using Windows and it appears that
has switched the device persistently from storage into 'modem' mode.
At least usb_modeswitch keeps telling me the device is already switched:
$ usb_modeswitch -W -c /etc/usb_modeswitch.d/19d2\:2000
Reading config file: /etc/usb_modeswitch.d/19d2:2000
* usb_modeswitch: handle USB devices with multiple modes
* Version 1.1.6 (C) Josua Dietze 2010
* Based on libusb0 (0.1.12 and above)
! PLEASE REPORT NEW CONFIGURATIONS !
DefaultVendor= 0x19d2
DefaultProduct= 0x2000
TargetVendor= 0x19d2
TargetProduct= not set
TargetClass=not set
TargetProductList=0001,0002,0015,0016,0017,0031,0037,0052,0055,0063,0064,0108,0
128
DetachStorageOnly=0
HuaweiMode=0
SierraMode=0
SonyMode=0
GCTMode=0
KobilMode=0
MessageEndpoint= not set
MessageContent=5553424312345678061e00
MessageContent2=5553424312345679061b000200
MessageContent3=555342431234567020008c85010101180101010101
NeedResponse=1
ResponseEndpoint= not set
Interface=0x00
InquireDevice enabled (default)
Success check enabled, max. wait time 20 seconds
System integration mode disabled
Looking for target devices ...
searching devices, found USB ID 19d2:0117
found matching vendor ID
searching devices, found USB ID :
searching devices, found USB ID :
No devices in target mode or class found
Looking for default devices ...
searching devices, found USB ID 19d2:0117
found matching vendor ID
searching devices, found USB ID :
searching devices, found USB ID :
No devices in default mode found. Nothing to do. Bye.
(I copied /etc/usb_modeswitch.d from an Ubuntu10.10 install)
usbconfig:
ugen0.1: OHCI root HUB AMD at usbus0, cfg=0 md=HOST spd=FULL
(12Mbps) pwr=SAVE
ugen1.1: EHCI root HUB AMD at usbus1, cfg=0 md=HOST spd=HIGH
(480Mbps) pwr=SAVE
ugen1.2: 11 Surf-stick ZTE,Incorporated at usbus1, cfg=0 md=HOST
spd=HIGH (480Mbps) pwr=ON
kldstat:
Id Refs AddressSize Name
1 24 0xc040 6a92bc kernel
21 0xc309c000 e000 fuse.ko
31 0xc32bc000 2000 accf_http.ko
41 0xc32be000 2000 accf_data.ko
51 0xc32c 4000 cryptodev.ko
61 0xc33df000 12000geom_eli.ko
81 0xc35c2000 3000 nfslock.ko
121 0xc5568000 5000 u3g.ko
132 0xc52e4000 4000 ucom.ko
141 0xc380b000 3000 ubsa.ko
The stick also has an SD card slot or something and that seems to be
visible when I load umass:
ugen1.2: ZTE,Incorporated at usbus1
(probe0:umass-sim0:0:0:0): TEST UNIT READY. CDB: 0 0 0 0 0 0
(probe0:umass-sim0:0:0:0): CAM status: SCSI Status Error
(probe0:umass-sim0:0:0:0): SCSI status: Check Condition
(probe0:umass-sim0:0:0:0): SCSI sense: NOT READY asc:3a,0 (Medium not present)
da0 at umass-sim0 bus 0 scbus0 target 0 lun 0
da0: ZTE MMC Storage 2.31 Removable Direct Access SCSI-2 device
da0: 40.000MB/s transfers
da0: Attempt to query device size failed: NOT READY, Medium not present
But I think that's ok and the other sub-devices should also be
visible but it seems not yet recognized by u3g or ubsa.
I've also attached the lsusb -v output.
Ok, that's about all the information I can currently think of that
could be useful.
Any help would be greatly appreciated.
Alex.
#_ __ _ __ http://www.nagilum.org/ \n icq://69646724 #
# / |/ /__ _(_) /_ _ nagi...@nagilum.org \n +491776461165 #
# // _ `/ _ `/ / / // / ' \ Amiga (68k/PPC): AOS/NetBSD/Linux #
# /_/|_/\_,_/\_, /_/_/\_,_/_/_/_/ Mac (PPC): MacOS-X / Linux / MacOS-X #
# /___/ x86: FreeBSD/Linux/Solaris/Win2k ARM9: EPOC EV6 #
cakebox.homeunix.net - all the machine one needs..
can't get debug descriptor: Ein-/Ausgabefehler
can't get debug descriptor: Ein-/Ausgabefehler
Bus /dev/usb Device /dev/ugen1.2: ID 19d2:0117 ONDA Communication S.p.A.
Device Descriptor:
bLength18
bDescriptorType 1
bcdUSB 2.00
bDeviceClass0 (Defined at Interface level)
bDeviceSubClass 0
bDeviceProtocol 0
bMaxPacketSize064
idVendor 0x19d2 ONDA Communication S.p.A.
idProduct 0x0117
bcdDevice0.00
iManufacturer 3 ZTE,Incorporated
iProduct2 11 Surf-stick
iSerial 4 MF19001MOD01
bNumConfigurations 1
Configuration Descriptor:
bLength 9
bDescriptorType 2
wTotalLength 108
bNumInterfaces 4
bConfigurationValue 1
iConfiguration 1 ZTE Configuration