Re: ZTE mf626 USB modem support

2013-03-07 Thread Maximo Pech
Here is my output of lsusb -v, hope it helps

Bus 000 Device 001: ID 8086: Intel Corp.
Device Descriptor:
  bLength18
  bDescriptorType 1
  bcdUSB   2.00
  bDeviceClass9 Hub
  bDeviceSubClass 0 Unused
  bDeviceProtocol 1 Single TT
  bMaxPacketSize064
  idVendor   0x8086 Intel Corp.
  idProduct  0x
  bcdDevice1.00
  iManufacturer   1 Intel
  iProduct2 EHCI root hub
  iSerial 0
  bNumConfigurations  1
  Configuration Descriptor:
bLength 9
bDescriptorType 2
wTotalLength   25
bNumInterfaces  1
bConfigurationValue 1
iConfiguration  0
bmAttributes 0x40
  (Missing must-be-set bit!)
  Self Powered
MaxPower0mA
Interface Descriptor:
  bLength 9
  bDescriptorType 4
  bInterfaceNumber0
  bAlternateSetting   0
  bNumEndpoints   1
  bInterfaceClass 9 Hub
  bInterfaceSubClass  0 Unused
  bInterfaceProtocol  0 Full speed (or root) hub
  iInterface  0
  Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x81  EP 1 IN
bmAttributes3
  Transfer TypeInterrupt
  Synch Type   None
  Usage Type   Data
wMaxPacketSize 0x0008  1x 8 bytes
bInterval 255

Hub Descriptor:
  bLength  11
  bDescriptorType  41
  nNbrPorts 8
  wHubCharacteristic 0x0002
No power switching (usb 1.0)
Ganged overcurrent protection
TT think time 8 FS bits
  bPwrOn2PwrGood  200 * 2 milli seconds
  bHubContrCurrent  0 milli Ampere
  DeviceRemovable0x00 0x00
  PortPwrCtrlMask0x00 0x00
 Hub Port Status:
   Port 1: .0500 highspeed power
   Port 2: .0500 highspeed power
   Port 3: .0503 highspeed power enable connect
   Port 4: .0500 highspeed power
   Port 5: .0500 highspeed power
   Port 6: .0500 highspeed power
   Port 7: .0500 highspeed power
   Port 8: .0500 highspeed power
Device Status: 0x0001
  Self Powered

Bus 000 Device 002: ID 19d2:0117 ZTE WCDMA Technologies MSM
Device Descriptor:
  bLength18
  bDescriptorType 1
  bcdUSB   2.00
  bDeviceClass0 (Defined at Interface level)
  bDeviceSubClass 0
  bDeviceProtocol 0
  bMaxPacketSize064
  idVendor   0x19d2 ZTE WCDMA Technologies MSM
  idProduct  0x0117
  bcdDevice0.00
  iManufacturer   3 ZTE,Incorporated
  iProduct2 ZTE HSPA Technologies MSM
  iSerial 4 P680A1ZTED01
  bNumConfigurations  1
  Configuration Descriptor:
bLength 9
bDescriptorType 2
wTotalLength  108
bNumInterfaces  4
bConfigurationValue 1
iConfiguration  1 ZTE Configuration
bmAttributes 0xc0
  Self Powered
 MaxPower  500mA
Interface Descriptor:
  bLength 9
  bDescriptorType 4
  bInterfaceNumber0
  bAlternateSetting   0
  bNumEndpoints   2
  bInterfaceClass   255 Vendor Specific Class
  bInterfaceSubClass255 Vendor Specific Subclass
  bInterfaceProtocol255 Vendor Specific Protocol
  iInterface  0
  Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x81  EP 1 IN
bmAttributes2
  Transfer TypeBulk
  Synch Type   None
  Usage Type   Data
wMaxPacketSize 0x0200  1x 512 bytes
bInterval  32
  Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x01  EP 1 OUT
bmAttributes2
  Transfer TypeBulk
  Synch Type   None
  Usage Type   Data
wMaxPacketSize 0x0200  1x 512 bytes
bInterval  32
Interface Descriptor:
  bLength 9
  bDescriptorType 4
  bInterfaceNumber1
  bAlternateSetting   0
  bNumEndpoints   2
  bInterfaceClass   255 Vendor Specific Class
  bInterfaceSubClass255 Vendor Specific Subclass
  bInterfaceProtocol255 Vendor Specific Protocol
  iInterface  0
  Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x82  EP 2 IN
bmAttributes2
  Transfer TypeBulk
  Synch Type   None
 

Re: ZTE mf626 USB modem support

2013-02-28 Thread Stuart Henderson
On 2013-02-28, Maximo Pech mak...@gmail.com wrote:
 The patch that Stuart provided worked for my ZTE MF668 device.
 
 I got this on dmesg:

 umsm0 at uhub0 port 3 configuration 1 interface 0 ZTE,Incorporated
 ZTE HSPA Technologies MSM rev 2.00/0.00 addr 2
 umsm0 detached
 umsm0 at uhub0 port 3 configuration 1 interface 0 ZTE,Incorporated
 ZTE HSPA Technologies MSM rev 2.00/0.00 addr 2
 ucom0 at umsm0
 umsm1 at uhub0 port 3 configuration 1 interface 1 ZTE,Incorporated
 ZTE HSPA Technologies MSM rev 2.00/0.00 addr 2
 ucom1 at umsm1
 umsm2 at uhub0 port 3 configuration 1 interface 2 ZTE,Incorporated
 ZTE HSPA Technologies MSM rev 2.00/0.00 addr 2
 ucom2 at umsm2
 umsm3 at uhub0 port 3 configuration 1 interface 3 ZTE,Incorporated
 ZTE HSPA Technologies MSM rev 2.00/0.00 addr 2

 I think when it says umsm0 detached is when it does the mode
 switching because it didn't appear before and also the device takes a
 few seconds more to be ready.

 Thanks for all the help.



Problem with this patch is that it breaks another device with the
same vendor/product ID, ZTE K3565-Z.



Re: ZTE mf626 USB modem support

2013-02-27 Thread Maximo Pech
The patch that Stuart provided worked for my ZTE MF668 device.

I got this on dmesg:

umsm0 at uhub0 port 3 configuration 1 interface 0 ZTE,Incorporated
ZTE HSPA Technologies MSM rev 2.00/0.00 addr 2
umsm0 detached
umsm0 at uhub0 port 3 configuration 1 interface 0 ZTE,Incorporated
ZTE HSPA Technologies MSM rev 2.00/0.00 addr 2
ucom0 at umsm0
umsm1 at uhub0 port 3 configuration 1 interface 1 ZTE,Incorporated
ZTE HSPA Technologies MSM rev 2.00/0.00 addr 2
ucom1 at umsm1
umsm2 at uhub0 port 3 configuration 1 interface 2 ZTE,Incorporated
ZTE HSPA Technologies MSM rev 2.00/0.00 addr 2
ucom2 at umsm2
umsm3 at uhub0 port 3 configuration 1 interface 3 ZTE,Incorporated
ZTE HSPA Technologies MSM rev 2.00/0.00 addr 2

I think when it says umsm0 detached is when it does the mode
switching because it didn't appear before and also the device takes a
few seconds more to be ready.

Thanks for all the help.



Re: ZTE mf626 USB modem support

2013-02-17 Thread Maximo Pech
Finally I got it to work, but strangely my device comes up on /dev/cuaU1
not on /dev/cuaU0. Still have not tested the diff though.

2013/2/14 Maximo Pech mak...@gmail.com

 The AT command thing did the trick, now I have some trouble setting up
 ppp.conf, but I hope to get that sorted out.

 At this time I can't test the patch, but I promise to do it later.

 El miércoles, 13 de febrero de 2013, Kirill Bychkov escribió:

 On Thu, February 14, 2013 06:24, Maximo Pech wrote:
  Hi list, I see this was asked before but never got solved, so I ask
 again.
 
  Has someone got this device working on openbsd? Is it supported?
 
  Thanks and regards.
 
 
 Hi. I plugged this modem on my Win7 notebook, installed software and
 drivers
 from it's internal cd and then connected with putty to it's second
 serial
 port (ZTE NMEA Device), whick answers on AT comand with OK.
 After that I send AT+ZCDRUN=8 to it to disable storage. Modem answered
 Close
 autorun state result (0:FAIL 1^:SUCCESS):1 and modem's storage
 disappeared
 from my computer.
 Now I have in dmesg:
 umsm0 at uhub0 port 3 configuration 1 interface 0 ZTE, Incorporated ZTE
 CDMA
 Technologies MSM rev 2.00/0.00 addr 2
 umsm0: missing endpoint
 umsm1 at uhub0 port 3 configuration 1 interface 1 ZTE, Incorporated ZTE
 CDMA
 Technologies MSM rev 2.00/0.00 addr 2
 umsm1: missing endpoint
 umass0 at uhub0 port 3 configuration 1 interface 2 ZTE, Incorporated ZTE
 CDMA
 Technologies MSM rev 2.00/0.00 addr 2
 umass0: using SCSI over Bulk-Only
 scsibus5 at umass0: 2 targets, initiator 0
 sd3 at scsibus5 targ 1 lun 0: ZTE, MMC Storage, 322 SCSI2 0/direct
 removable
 serial.19d20031567890ABCDEF
 umsm2 at uhub0 port 3 configuration 1 interface 3 ZTE, Incorporated ZTE
 CDMA
 Technologies MSM rev 2.00/0.00 addr 2
 ucom0 at umsm2

 At least 'cu -l /dev/cuaU0 -s 9600' answers OK on AT.
 I have no usable SIM for this provider-locked modem, so I can't fully
 test it.

 To backout modem to default windoze-compatible mode send AT+ZCDRUN=9 to
 modem with cu.
 I hope this will help.



Re: ZTE mf626 USB modem support

2013-02-17 Thread Maximo Pech
It turns out that my modem is not the ZTE MF626, it is in reality the ZTE
MF668 and it works on /dev/cuaU1

2013/2/14 Kirill Bychkov ya...@linklevel.net

 On Thu, February 14, 2013 07:49, Kirill Bychkov wrote:
  On Thu, February 14, 2013 06:24, Maximo Pech wrote:
  Hi list, I see this was asked before but never got solved, so I ask
 again.
 
  Has someone got this device working on openbsd? Is it supported?
 
  Thanks and regards.
 
 
  Hi. I plugged this modem on my Win7 notebook, installed software and
 drivers
  from it's internal cd and then connected with putty to it's second
 serial
  port (ZTE NMEA Device), whick answers on AT comand with OK.
  After that I send AT+ZCDRUN=8 to it to disable storage. Modem answered
 Close
  autorun state result (0:FAIL 1^:SUCCESS):1 and modem's storage
 disappeared
  from my computer.
  Now I have in dmesg:
  umsm0 at uhub0 port 3 configuration 1 interface 0 ZTE, Incorporated ZTE
 CDMA
  Technologies MSM rev 2.00/0.00 addr 2
  umsm0: missing endpoint
  umsm1 at uhub0 port 3 configuration 1 interface 1 ZTE, Incorporated ZTE
 CDMA
  Technologies MSM rev 2.00/0.00 addr 2
  umsm1: missing endpoint
  umass0 at uhub0 port 3 configuration 1 interface 2 ZTE, Incorporated
 ZTE CDMA
  Technologies MSM rev 2.00/0.00 addr 2
  umass0: using SCSI over Bulk-Only
  scsibus5 at umass0: 2 targets, initiator 0
  sd3 at scsibus5 targ 1 lun 0: ZTE, MMC Storage, 322 SCSI2 0/direct
 removable
  serial.19d20031567890ABCDEF
  umsm2 at uhub0 port 3 configuration 1 interface 3 ZTE, Incorporated ZTE
 CDMA
  Technologies MSM rev 2.00/0.00 addr 2
  ucom0 at umsm2
 
  At least 'cu -l /dev/cuaU0 -s 9600' answers OK on AT.
  I have no usable SIM for this provider-locked modem, so I can't fully
 test it.
 
  To backout modem to default windoze-compatible mode send AT+ZCDRUN=9 to
  modem with cu.
  I hope this will help.
 

 My modem isn't provider-locked as I thought. Inserting another SIM helped
 to
 connect to ISP.
 I just copied /etc/ppp/ppp.conf.sample to /etc/ppp/ppp.conf, changed set
 device and allow user to reflect reality and just run 'ppp -ddial
 mobile'
 to connect.

 Patch adds mentioning MF626 support and gives clues how to handle such
 modems.
 OK? Comments?

 Index: umsm.4
 ===
 RCS file: /cvs/src/share/man/man4/umsm.4,v
 retrieving revision 1.87
 diff -u -r1.87 umsm.4
 --- umsm.4  4 Jan 2013 02:53:54 -   1.87
 +++ umsm.4  14 Feb 2013 06:00:08 -
 @@ -111,6 +111,7 @@
  .It Li ZTE AC2746 Ta USB
  .It Li ZTE MF112 Ta USB
  .It Li ZTE MF190 Ta USB
 +.It Li ZTE MF626 Ta USB
  .It Li ZTE MF633 Ta USB
  .It Li ZTE MF637 Ta USB
  .El
 @@ -167,6 +168,10 @@
  on the third port, and after that the actual PPP connection comes
  up on the first port.
  The function of the second and fourth ports is unknown.
 +.Pp
 +Some modems require enabling modem mode with AT commands.
 +This can be configured on other OS after installation of
 +software shipped with modem.
  .Sh EXAMPLES
  An example
  .Pa /etc/ppp/ppp.conf



Re: ZTE mf626 USB modem support

2013-02-14 Thread Stuart Henderson
On 2013-02-14, Maximo Pech mak...@gmail.com wrote:
 Hi list, I see this was asked before but never got solved, so I ask again.

 Has someone got this device working on openbsd? Is it supported?

 Thanks and regards.



It is likely to work with this diff:

Index: umsm.c
===
RCS file: /cvs/src/sys/dev/usb/umsm.c,v
retrieving revision 1.89
diff -u -p -r1.89 umsm.c
--- umsm.c  4 Jan 2013 02:49:44 -   1.89
+++ umsm.c  14 Feb 2013 16:34:01 -
@@ -169,7 +169,7 @@ static const struct umsm_type umsm_devs[
{{ USB_VENDOR_QUANTA2, USB_PRODUCT_QUANTA2_Q101 }, 0},
 
{{ USB_VENDOR_ZTE, USB_PRODUCT_ZTE_AC2746 }, 0},
-   {{ USB_VENDOR_ZTE, USB_PRODUCT_ZTE_UMASS_INSTALLER }, DEV_UMASS4},
+   {{ USB_VENDOR_ZTE, USB_PRODUCT_ZTE_UMASS_INSTALLER }, DEV_UMASS6},
{{ USB_VENDOR_ZTE, USB_PRODUCT_ZTE_UMASS_INSTALLER2 }, DEV_UMASS6},
{{ USB_VENDOR_ZTE, USB_PRODUCT_ZTE_UMASS_INSTALLER3 }, DEV_UMASS7},
{{ USB_VENDOR_ZTE, USB_PRODUCT_ZTE_UMASS_INSTALLER4 }, DEV_UMASS4},


This is what usb_modeswitch on linux does for all devices with this
vendor/product ID so it may be appropriate for us to do the same.

However it would really need testing on other *working* devices to
make sure it doesn't cause a problem there. (identifying which
devices need testing is made harder because you can't just check
usbdevs -v / lsusb after they have connected because the device
stops using the installer product id at that point).



Re: ZTE mf626 USB modem support

2013-02-14 Thread Maximo Pech
The AT command thing did the trick, now I have some trouble setting up
ppp.conf, but I hope to get that sorted out.

At this time I can't test the patch, but I promise to do it later.

El miércoles, 13 de febrero de 2013, Kirill Bychkov escribió:

 On Thu, February 14, 2013 06:24, Maximo Pech wrote:
  Hi list, I see this was asked before but never got solved, so I ask
 again.
 
  Has someone got this device working on openbsd? Is it supported?
 
  Thanks and regards.
 
 
 Hi. I plugged this modem on my Win7 notebook, installed software and
 drivers
 from it's internal cd and then connected with putty to it's second serial
 port (ZTE NMEA Device), whick answers on AT comand with OK.
 After that I send AT+ZCDRUN=8 to it to disable storage. Modem answered
 Close
 autorun state result (0:FAIL 1^:SUCCESS):1 and modem's storage disappeared
 from my computer.
 Now I have in dmesg:
 umsm0 at uhub0 port 3 configuration 1 interface 0 ZTE, Incorporated ZTE
 CDMA
 Technologies MSM rev 2.00/0.00 addr 2
 umsm0: missing endpoint
 umsm1 at uhub0 port 3 configuration 1 interface 1 ZTE, Incorporated ZTE
 CDMA
 Technologies MSM rev 2.00/0.00 addr 2
 umsm1: missing endpoint
 umass0 at uhub0 port 3 configuration 1 interface 2 ZTE, Incorporated ZTE
 CDMA
 Technologies MSM rev 2.00/0.00 addr 2
 umass0: using SCSI over Bulk-Only
 scsibus5 at umass0: 2 targets, initiator 0
 sd3 at scsibus5 targ 1 lun 0: ZTE, MMC Storage, 322 SCSI2 0/direct
 removable
 serial.19d20031567890ABCDEF
 umsm2 at uhub0 port 3 configuration 1 interface 3 ZTE, Incorporated ZTE
 CDMA
 Technologies MSM rev 2.00/0.00 addr 2
 ucom0 at umsm2

 At least 'cu -l /dev/cuaU0 -s 9600' answers OK on AT.
 I have no usable SIM for this provider-locked modem, so I can't fully test
 it.

 To backout modem to default windoze-compatible mode send AT+ZCDRUN=9 to
 modem with cu.
 I hope this will help.



ZTE mf626 USB modem support

2013-02-13 Thread Maximo Pech
Hi list, I see this was asked before but never got solved, so I ask again.

Has someone got this device working on openbsd? Is it supported?

Thanks and regards.



Re: ZTE mf626 USB modem support

2013-02-13 Thread Kirill Bychkov
On Thu, February 14, 2013 06:24, Maximo Pech wrote:
 Hi list, I see this was asked before but never got solved, so I ask again.

 Has someone got this device working on openbsd? Is it supported?

 Thanks and regards.


Hi. I plugged this modem on my Win7 notebook, installed software and drivers
from it's internal cd and then connected with putty to it's second serial
port (ZTE NMEA Device), whick answers on AT comand with OK.
After that I send AT+ZCDRUN=8 to it to disable storage. Modem answered Close
autorun state result (0:FAIL 1^:SUCCESS):1 and modem's storage disappeared
from my computer.
Now I have in dmesg:
umsm0 at uhub0 port 3 configuration 1 interface 0 ZTE, Incorporated ZTE CDMA
Technologies MSM rev 2.00/0.00 addr 2
umsm0: missing endpoint
umsm1 at uhub0 port 3 configuration 1 interface 1 ZTE, Incorporated ZTE CDMA
Technologies MSM rev 2.00/0.00 addr 2
umsm1: missing endpoint
umass0 at uhub0 port 3 configuration 1 interface 2 ZTE, Incorporated ZTE CDMA
Technologies MSM rev 2.00/0.00 addr 2
umass0: using SCSI over Bulk-Only
scsibus5 at umass0: 2 targets, initiator 0
sd3 at scsibus5 targ 1 lun 0: ZTE, MMC Storage, 322 SCSI2 0/direct removable
serial.19d20031567890ABCDEF
umsm2 at uhub0 port 3 configuration 1 interface 3 ZTE, Incorporated ZTE CDMA
Technologies MSM rev 2.00/0.00 addr 2
ucom0 at umsm2

At least 'cu -l /dev/cuaU0 -s 9600' answers OK on AT.
I have no usable SIM for this provider-locked modem, so I can't fully test it.

To backout modem to default windoze-compatible mode send AT+ZCDRUN=9 to
modem with cu.
I hope this will help.



Re: ZTE mf626 USB modem support

2013-02-13 Thread Kirill Bychkov
On Thu, February 14, 2013 07:49, Kirill Bychkov wrote:
 On Thu, February 14, 2013 06:24, Maximo Pech wrote:
 Hi list, I see this was asked before but never got solved, so I ask again.

 Has someone got this device working on openbsd? Is it supported?

 Thanks and regards.


 Hi. I plugged this modem on my Win7 notebook, installed software and drivers
 from it's internal cd and then connected with putty to it's second serial
 port (ZTE NMEA Device), whick answers on AT comand with OK.
 After that I send AT+ZCDRUN=8 to it to disable storage. Modem answered Close
 autorun state result (0:FAIL 1^:SUCCESS):1 and modem's storage disappeared
 from my computer.
 Now I have in dmesg:
 umsm0 at uhub0 port 3 configuration 1 interface 0 ZTE, Incorporated ZTE CDMA
 Technologies MSM rev 2.00/0.00 addr 2
 umsm0: missing endpoint
 umsm1 at uhub0 port 3 configuration 1 interface 1 ZTE, Incorporated ZTE CDMA
 Technologies MSM rev 2.00/0.00 addr 2
 umsm1: missing endpoint
 umass0 at uhub0 port 3 configuration 1 interface 2 ZTE, Incorporated ZTE CDMA
 Technologies MSM rev 2.00/0.00 addr 2
 umass0: using SCSI over Bulk-Only
 scsibus5 at umass0: 2 targets, initiator 0
 sd3 at scsibus5 targ 1 lun 0: ZTE, MMC Storage, 322 SCSI2 0/direct removable
 serial.19d20031567890ABCDEF
 umsm2 at uhub0 port 3 configuration 1 interface 3 ZTE, Incorporated ZTE CDMA
 Technologies MSM rev 2.00/0.00 addr 2
 ucom0 at umsm2

 At least 'cu -l /dev/cuaU0 -s 9600' answers OK on AT.
 I have no usable SIM for this provider-locked modem, so I can't fully test it.

 To backout modem to default windoze-compatible mode send AT+ZCDRUN=9 to
 modem with cu.
 I hope this will help.


My modem isn't provider-locked as I thought. Inserting another SIM helped to
connect to ISP.
I just copied /etc/ppp/ppp.conf.sample to /etc/ppp/ppp.conf, changed set
device and allow user to reflect reality and just run 'ppp -ddial mobile'
to connect.

Patch adds mentioning MF626 support and gives clues how to handle such modems.
OK? Comments?

Index: umsm.4
===
RCS file: /cvs/src/share/man/man4/umsm.4,v
retrieving revision 1.87
diff -u -r1.87 umsm.4
--- umsm.4  4 Jan 2013 02:53:54 -   1.87
+++ umsm.4  14 Feb 2013 06:00:08 -
@@ -111,6 +111,7 @@
 .It Li ZTE AC2746 Ta USB
 .It Li ZTE MF112 Ta USB
 .It Li ZTE MF190 Ta USB
+.It Li ZTE MF626 Ta USB
 .It Li ZTE MF633 Ta USB
 .It Li ZTE MF637 Ta USB
 .El
@@ -167,6 +168,10 @@
 on the third port, and after that the actual PPP connection comes
 up on the first port.
 The function of the second and fourth ports is unknown.
+.Pp
+Some modems require enabling modem mode with AT commands.
+This can be configured on other OS after installation of
+software shipped with modem.
 .Sh EXAMPLES
 An example
 .Pa /etc/ppp/ppp.conf



Re: ZTE-MF626 USB Modem

2009-10-17 Thread Sergio Andrés Gómez del Real
I don't know if it is the way, but kind of works:

./umsm.c:   {{ USB_VENDOR_QUALCOMM3, USB_PRODUCT_QUALCOMM3_ZTE_626 }, 0},
./usbdevs.h:#define USB_PRODUCT_QUALCOMM3_ZTE_626   0x0031  /* 
ZTE-626 MSM */
./usbdevs_data.h:   USB_VENDOR_QUALCOMM3, USB_PRODUCT_QUALCOMM3_ZTE_626,
./usbdevs_data.h:   ZTE 626 CDMA USB modem,

The product ID for my modem, the ZTE MF626 is 0x0031. So added to
those structures, #defined and recompiled.

Now I get the following:

OpenBSD 4.5 (GENERIC.MP) #7: Sat Oct 17 14:36:59 COT 2009
r...@uix:/usr/src/sys/arch/amd64/compile/GENERIC.MP
real mem = 2143023104 (2043MB)
avail mem = 2069692416 (1973MB)
mainbus0 at root
bios0 at mainbus0: SMBIOS rev. 2.4 @ 0xf7250 (44 entries)
bios0: vendor Dell Inc. version A10 date 07/17/2009
bios0: Dell Inc. Inspiron 1545
acpi0 at bios0: rev 2
acpi0: tables DSDT FACP HPET APIC MCFG SLIC SSDT
acpi0: wakeup devices PCI0(S5) PCIE(S4) USB1(S0) USB2(S0) USB3(S0)
USB4(S0) USB5(S0) USB6(S0) EHC2(S0) EHCI(S0) AZAL(S3) RP01(S3)
RP02(S3) RP03(S3) RP04(S3) RP05(S3) RP06(S3) LID_(S3) PBTN(S4)
acpitimer0 at acpi0: 3579545 Hz, 24 bits
acpihpet0 at acpi0: 14318179 Hz
acpimadt0 at acpi0 addr 0xfee0: PC-AT compat
cpu0 at mainbus0: apid 0 (boot processor)
cpu0: Intel(R) Core(TM)2 Duo CPU P8600 @ 2.40GHz, 2394.36 MHz
cpu0: 
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,SSE3,MWAIT,DS-CPL,VMX,SMX,EST,TM2,CX16,xTPR,NXE,LONG
cpu0: 3MB 64b/line 8-way L2 cache
cpu0: apic clock running at 265MHz
cpu1 at mainbus0: apid 1 (application processor)
cpu1: Intel(R) Core(TM)2 Duo CPU P8600 @ 2.40GHz, 2394.00 MHz
cpu1: 
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,SSE3,MWAIT,DS-CPL,VMX,SMX,EST,TM2,CX16,xTPR,NXE,LONG
cpu1: 3MB 64b/line 8-way L2 cache
ioapic0 at mainbus0 apid 2 pa 0xfec0, version 20, 24 pins
ioapic0: misconfigured as apic 0, remapped to apid 2
acpiprt0 at acpi0: bus 3 (PCIE)
acpiprt1 at acpi0: bus 1 (AGP_)
acpiprt2 at acpi0: bus 11 (RP01)
acpiprt3 at acpi0: bus 12 (RP02)
acpiprt4 at acpi0: bus 9 (RP03)
acpiprt5 at acpi0: bus -1 (RP04)
acpiprt6 at acpi0: bus 13 (RP05)
acpiprt7 at acpi0: bus -1 (RP06)
acpiprt8 at acpi0: bus 0 (PCI0)
acpicpu0 at acpi0: C3
acpicpu1 at acpi0: C3
acpitz0 at acpi0: critical temperature 105 degC
acpibtn0 at acpi0: LID_
acpibtn1 at acpi0: PBTN
acpibtn2 at acpi0: SBTN
acpiac0 at acpi0: AC unit online
acpibat0 at acpi0: BAT0 model DELL Y823G9 serial 591 type LION oem SMP
acpivideo at acpi0 not configured
acpivideo at acpi0 not configured
acpivideo at acpi0 not configured
cpu0: unknown Enhanced SpeedStep CPU, msr 0x0617092006000920
cpu0: using only highest and lowest power states
cpu0: Enhanced SpeedStep 2400 MHz (1212 mV): speeds: 2400, 1600 MHz
pci0 at mainbus0 bus 0: configuration mode 1
pchb0 at pci0 dev 0 function 0 Intel GM45 Host rev 0x07
ppb0 at pci0 dev 1 function 0 Intel GM45 PCIE rev 0x07: apic 2 int 16 (irq 0)
pci1 at ppb0 bus 1
vga1 at pci1 dev 0 function 0 vendor ATI, unknown product 0x9552 rev 0x00
wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
uhci0 at pci0 dev 26 function 0 Intel 82801I USB rev 0x03: apic 2
int 20 (irq 11)
uhci1 at pci0 dev 26 function 1 Intel 82801I USB rev 0x03: apic 2
int 21 (irq 10)
uhci2 at pci0 dev 26 function 2 Intel 82801I USB rev 0x03: apic 2
int 22 (irq 7)
ehci0 at pci0 dev 26 function 7 Intel 82801I USB rev 0x03: apic 2
int 22 (irq 7)
usb0 at ehci0: USB revision 2.0
uhub0 at usb0 Intel EHCI root hub rev 2.00/1.00 addr 1
azalia0 at pci0 dev 27 function 0 Intel 82801I HD Audio rev 0x03:
apic 2 int 21 (irq 10)
azalia0: codecs: IDT 92HD71B7
audio0 at azalia0
ppb1 at pci0 dev 28 function 0 Intel 82801I PCIE rev 0x03: apic 2
int 16 (irq 0)
pci2 at ppb1 bus 11
ppb2 at pci0 dev 28 function 1 Intel 82801I PCIE rev 0x03: apic 2
int 17 (irq 0)
pci3 at ppb2 bus 12
iwn0 at pci3 dev 0 function 0 Intel WiFi Link 5100AGN rev 0x00: apic
2 int 17 (irq 5), MIMO 1T2R, MoW, address 00:22:fb:9b:6f:62
ppb3 at pci0 dev 28 function 2 Intel 82801I PCIE rev 0x03: apic 2
int 18 (irq 0)
pci4 at ppb3 bus 9
mskc0 at pci4 dev 0 function 0 Marvell Yukon 88E8040 rev 0x13,
Yukon-2 FE+ (0x0): apic 2 int 18 (irq 10)
msk0 at mskc0 port A: address 00:25:64:52:74:2d
eephy0 at msk0 phy 0: 88E3016 10/100 PHY, rev. 0
ppb4 at pci0 dev 28 function 4 Intel 82801I PCIE rev 0x03: apic 2
int 16 (irq 0)
pci5 at ppb4 bus 13
uhci3 at pci0 dev 29 function 0 Intel 82801I USB rev 0x03: apic 2
int 20 (irq 11)
uhci4 at pci0 dev 29 function 1 Intel 82801I USB rev 0x03: apic 2
int 21 (irq 10)
uhci5 at pci0 dev 29 function 2 Intel 82801I USB rev 0x03: apic 2
int 22 (irq 7)
ehci1 at pci0 dev 29 function 7 Intel 82801I USB rev 0x03: apic 2
int 20 (irq 11)
usb1 at ehci1: USB revision 2.0
uhub1 at usb1 Intel EHCI root hub rev 2.00/1.00 addr 1
ppb5 at pci0 dev 30 function 0 Intel 82801BAM Hub-to-PCI rev 0x93
pci6 

Re: ZTE-MF626 USB Modem

2009-10-15 Thread Jonathan Gray
On Wed, Oct 14, 2009 at 10:11:20AM -0300, Giancarlo Razzolini wrote:
   
 I do have this modem working on linux. The problem with it is that, when  
 you plug it in, it is detected as a cdrom device. On linux I use a  
 program called usb_modeswitch. It changes the mode of operation of the  
 device by issuing some usb commands. I guess you would have to implement  
 the same thing for OpenBSD. There is really no way around this.

 My regards,

Sure there is.  Try a diff like the following, and keep decrementing
the value of DEV_UMASS till it works, DEV_UMASS3 DEV_UMASS2 etc.

You'll need to run make in sys/dev/usb after applying to patch
before building a kernel.

Index: umsm.c
===
RCS file: /cvs/src/sys/dev/usb/umsm.c,v
retrieving revision 1.49
diff -N -u -p umsm.c
--- umsm.c  7 Sep 2009 20:26:13 -   1.49
+++ umsm.c  15 Oct 2009 08:51:27 -
@@ -141,6 +141,8 @@ static const struct umsm_type umsm_devs[] = {
{{ USB_VENDOR_QUALCOMM, USB_PRODUCT_QUALCOMM_MSM_HSDPA }, 0},
{{ USB_VENDOR_QUALCOMM, USB_PRODUCT_QUALCOMM_MSM_HSDPA2 }, 0},
 
+   {{ USB_VENDOR_QUALCOMM3, USB_PRODUCT_QUALCOMM3_ZTE_MSM }, DEV_UMASS4},
+
{{ USB_VENDOR_NOVATEL, USB_PRODUCT_NOVATEL_EXPRESSCARD }, 0},
{{ USB_VENDOR_NOVATEL, USB_PRODUCT_NOVATEL_MERLINV620 }, 0},
{{ USB_VENDOR_NOVATEL, USB_PRODUCT_NOVATEL_MERLINV740 }, 0},
Index: usbdevs
===
RCS file: /cvs/src/sys/dev/usb/usbdevs,v
retrieving revision 1.451
diff -N -u -p usbdevs
--- usbdevs 20 Sep 2009 12:53:36 -  1.451
+++ usbdevs 15 Oct 2009 08:51:27 -
@@ -2502,6 +2504,7 @@ product QUALCOMM2 MSM_PHONE   0x6000  CDMA MSM phone
 
 /* Qualcomm(3) products */
 product QUALCOMM3 CDMA_MSM 0x0001  CDMA Technologies MSM modem
+product QUALCOMM3 ZTE_MSM  0x2000  ZTE CDMA USB modem
 product QUALCOMM3 AC8700   0xfffe  AC8700 CDMA USB modem
 
 /* Quanta products */



Re: ZTE-MF626 USB Modem

2009-10-14 Thread Giancarlo Razzolini

Sergio Andris Gsmez del Real escreveu:

Hi again.

Sometimes I get the following:

OpenBSD 4.5 (GENERIC.MP) #2133: Sat Feb 28 15:02:16 MST 2009
dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP
real mem = 2143023104 (2043MB)
avail mem = 2069721088 (1973MB)
mainbus0 at root
bios0 at mainbus0: SMBIOS rev. 2.4 @ 0xf7250 (44 entries)
bios0: vendor Dell Inc. version A10 date 07/17/2009
bios0: Dell Inc. Inspiron 1545
acpi0 at bios0: rev 2
acpi0: tables DSDT FACP HPET APIC MCFG SLIC SSDT
acpi0: wakeup devices PCI0(S5) PCIE(S4) USB1(S0) USB2(S0) USB3(S0)
USB4(S0) USB5(S0) USB6(S0) EHC2(S0) EHCI(S0) AZAL(S3) RP01(S3)
RP02(S3) RP03(S3) RP04(S3) RP05(S3) RP06(S3) LID_(S3) PBTN(S4)
acpitimer0 at acpi0: 3579545 Hz, 24 bits
acpihpet0 at acpi0: 14318179 Hz
acpimadt0 at acpi0 addr 0xfee0: PC-AT compat
cpu0 at mainbus0: apid 0 (boot processor)
cpu0: Intel(R) Core(TM)2 Duo CPU P8600 @ 2.40GHz, 2394.34 MHz
cpu0: 
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,SSE3,MWAIT,DS-CPL,VMX,SMX,EST,TM2,CX16,xTPR,NXE,LONG
cpu0: 3MB 64b/line 8-way L2 cache
cpu0: apic clock running at 265MHz
cpu1 at mainbus0: apid 1 (application processor)
cpu1: Intel(R) Core(TM)2 Duo CPU P8600 @ 2.40GHz, 2394.00 MHz
cpu1: 
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,SSE3,MWAIT,DS-CPL,VMX,SMX,EST,TM2,CX16,xTPR,NXE,LONG
cpu1: 3MB 64b/line 8-way L2 cache
ioapic0 at mainbus0 apid 2 pa 0xfec0, version 20, 24 pins
ioapic0: misconfigured as apic 0, remapped to apid 2
acpiprt0 at acpi0: bus 3 (PCIE)
acpiprt1 at acpi0: bus 1 (AGP_)
acpiprt2 at acpi0: bus 11 (RP01)
acpiprt3 at acpi0: bus 12 (RP02)
acpiprt4 at acpi0: bus 9 (RP03)
acpiprt5 at acpi0: bus -1 (RP04)
acpiprt6 at acpi0: bus 13 (RP05)
acpiprt7 at acpi0: bus -1 (RP06)
acpiprt8 at acpi0: bus 0 (PCI0)
acpicpu0 at acpi0: C3
acpicpu1 at acpi0: C3
acpitz0 at acpi0: critical temperature 105 degC
acpibtn0 at acpi0: LID_
acpibtn1 at acpi0: PBTN
acpibtn2 at acpi0: SBTN
acpiac0 at acpi0: AC unit online
acpibat0 at acpi0: BAT0 model DELL Y823G9 serial 591 type LION oem SMP
acpivideo at acpi0 not configured
acpivideo at acpi0 not configured
acpivideo at acpi0 not configured
cpu0: unknown Enhanced SpeedStep CPU, msr 0x0617092006000920
cpu0: using only highest and lowest power states
cpu0: Enhanced SpeedStep 2400 MHz (1212 mV): speeds: 2400, 1600 MHz
pci0 at mainbus0 bus 0: configuration mode 1
pchb0 at pci0 dev 0 function 0 Intel GM45 Host rev 0x07
ppb0 at pci0 dev 1 function 0 Intel GM45 PCIE rev 0x07: apic 2 int 16 (irq 0)
pci1 at ppb0 bus 1
vga1 at pci1 dev 0 function 0 vendor ATI, unknown product 0x9552 rev 0x00
wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
uhci0 at pci0 dev 26 function 0 Intel 82801I USB rev 0x03: apic 2
int 20 (irq 11)
uhci1 at pci0 dev 26 function 1 Intel 82801I USB rev 0x03: apic 2
int 21 (irq 10)
uhci2 at pci0 dev 26 function 2 Intel 82801I USB rev 0x03: apic 2
int 22 (irq 7)
ehci0 at pci0 dev 26 function 7 Intel 82801I USB rev 0x03: apic 2
int 22 (irq 7)
usb0 at ehci0: USB revision 2.0
uhub0 at usb0 Intel EHCI root hub rev 2.00/1.00 addr 1
azalia0 at pci0 dev 27 function 0 Intel 82801I HD Audio rev 0x03:
apic 2 int 21 (irq 10)
azalia0: codecs: IDT 92HD71B7
audio0 at azalia0
ppb1 at pci0 dev 28 function 0 Intel 82801I PCIE rev 0x03: apic 2
int 16 (irq 0)
pci2 at ppb1 bus 11
ppb2 at pci0 dev 28 function 1 Intel 82801I PCIE rev 0x03: apic 2
int 17 (irq 0)
pci3 at ppb2 bus 12
iwn0 at pci3 dev 0 function 0 Intel WiFi Link 5100AGN rev 0x00: apic
2 int 17 (irq 5), MIMO 1T2R, MoW, address 00:22:fb:9b:6f:62
ppb3 at pci0 dev 28 function 2 Intel 82801I PCIE rev 0x03: apic 2
int 18 (irq 0)
pci4 at ppb3 bus 9
mskc0 at pci4 dev 0 function 0 Marvell Yukon 88E8040 rev 0x13,
Yukon-2 FE+ (0x0): apic 2 int 18 (irq 10)
msk0 at mskc0 port A: address 00:25:64:52:74:2d
eephy0 at msk0 phy 0: 88E3016 10/100 PHY, rev. 0
ppb4 at pci0 dev 28 function 4 Intel 82801I PCIE rev 0x03: apic 2
int 16 (irq 0)
pci5 at ppb4 bus 13
uhci3 at pci0 dev 29 function 0 Intel 82801I USB rev 0x03: apic 2
int 20 (irq 11)
uhci4 at pci0 dev 29 function 1 Intel 82801I USB rev 0x03: apic 2
int 21 (irq 10)
uhci5 at pci0 dev 29 function 2 Intel 82801I USB rev 0x03: apic 2
int 22 (irq 7)
ehci1 at pci0 dev 29 function 7 Intel 82801I USB rev 0x03: apic 2
int 20 (irq 11)
usb1 at ehci1: USB revision 2.0
uhub1 at usb1 Intel EHCI root hub rev 2.00/1.00 addr 1
ppb5 at pci0 dev 30 function 0 Intel 82801BAM Hub-to-PCI rev 0x93
pci6 at ppb5 bus 3
pcib0 at pci0 dev 31 function 0 vendor Intel, unknown product 0x2919 rev 0x03
ahci0 at pci0 dev 31 function 2 Intel 82801I AHCI rev 0x03: apic 2
int 18 (irq 10), AHCI 1.2
scsibus0 at ahci0: 32 targets
sd0 at scsibus0 targ 0 lun 0: ATA, ST9160314AS, 0003 SCSI3 0/direct fixed
sd0: 152627MB, 512 bytes/sec, 312581808 sec total
cd0 at scsibus0 targ 1 lun 0: Optiarc, DVD+-RW 

Re: ZTE-MF626 USB Modem

2009-10-14 Thread Sergio Andrés Gómez del Real
Thanks for the reply.

Indeed, I use usb_modeswitch under Linux, it is, however, quite just
for Linux, cause it reloads a certain kernel module. With GENERIC
kernel, usb_modeswitch does not even recognize the device. However,
compiling it (the kernel) without umass support, that is, the device
being ugen, it does.

Now, when I boot GENERIC with the modem plugged-in, then I get the
microSD that is 'inside my modem' (not the cd-rom device) recognized,
but no modem...

If any idea would be wonderful, and sorry for my horrible english.



Re: ZTE-MF626 USB Modem

2009-10-14 Thread Jussi Peltola
On Wed, Oct 14, 2009 at 01:14:00PM -0500, Sergio Andris Gsmez del Real wrote:
 Thanks for the reply.
 
 Indeed, I use usb_modeswitch under Linux, it is, however, quite just
 for Linux, cause it reloads a certain kernel module. With GENERIC
 kernel, usb_modeswitch does not even recognize the device. However,
 compiling it (the kernel) without umass support, that is, the device
 being ugen, it does.
 
 Now, when I boot GENERIC with the modem plugged-in, then I get the
 microSD that is 'inside my modem' (not the cd-rom device) recognized,
 but no modem...
 
 If any idea would be wonderful, and sorry for my horrible english.
 

OpenBSD already does this modeswitch dance automatically for loads of
different USB modems without the user having to play with all kinds of
programs like in linux. If only the developers had hardware like yours
it would probably already be supported...



Re: ZTE-MF626 USB Modem

2009-10-12 Thread Stuart Henderson
On 2009-10-12, Sergio Andr?s G?mez del Real sergio.g.delr...@gmail.com wrote:
 Well, I guess this is the relevant output from startup:

Don't try and guess what is relevant, just send the COMPLETE dmesg.
Also send usbdevs -v.



Re: ZTE-MF626 USB Modem

2009-10-12 Thread Sergio Andrés Gómez del Real
Sorry about the duplicate, I'm not used to a mail list :(

Isn't that really the relevant info? It is the generic kernel of OpenBSD 4.5
-release...
I don't know what extra relevant info could dmesg, or usbdevs offer FOR THIS
CASE, please, if I'm wrong, or if there is an official protocol for
reporting this things, let me know, I don't want to waste your time. Anyway,
I'm switching to OpenBSD to output the full dmesg and usbdevs... this issue
makes me have to stick with Linux.



Re: ZTE-MF626 USB Modem

2009-10-12 Thread Ted Unangst
2009/10/12 Sergio Andris Gsmez del Real sergio.g.delr...@gmail.com:
 Isn't that really the relevant info? It is the generic kernel of OpenBSD
4.5
 -release...

As a general point, if you are having a problem and you can't fix it
yourself, then by definition, you are not qualified to determine
what's relevant.

Specifically, your snippet doesn't even tell us whether it attached at
ehci, ohci, or uhci.  Or what kind of PCI bridge your USB controller
may be behind.  If you can prove that your PCI bridge is irrelevant to
the problem, you should include that proof in your mail.



Re: ZTE-MF626 USB Modem

2009-10-12 Thread Tomáš Bodžár
Read the FAQ first before switching. In your case especially part 9
And dmesg or usbdevs give every info needed.

2009/10/12 Sergio AndrC)s GC3mez del Real sergio.g.delr...@gmail.com:
 Sorry about the duplicate, I'm not used to a mail list :(

 Isn't that really the relevant info? It is the generic kernel of OpenBSD
4.5
 -release...
 I don't know what extra relevant info could dmesg, or usbdevs offer FOR
THIS
 CASE, please, if I'm wrong, or if there is an official protocol for
 reporting this things, let me know, I don't want to waste your time.
Anyway,
 I'm switching to OpenBSD to output the full dmesg and usbdevs... this issue
 makes me have to stick with Linux.



Re: ZTE-MF626 USB Modem

2009-10-12 Thread Sergio Andrés Gómez del Real
Ok, here is full output of dmesg and usbdevs -v

OpenBSD 4.5 (GENERIC.MP) #2133: Sat Feb 28 15:02:16 MST 2009
dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP
real mem = 2143023104 (2043MB)
avail mem = 2069721088 (1973MB)
mainbus0 at root
bios0 at mainbus0: SMBIOS rev. 2.4 @ 0xf7250 (44 entries)
bios0: vendor Dell Inc. version A10 date 07/17/2009
bios0: Dell Inc. Inspiron 1545
acpi0 at bios0: rev 2
acpi0: tables DSDT FACP HPET APIC MCFG SLIC SSDT
acpi0: wakeup devices PCI0(S5) PCIE(S4) USB1(S0) USB2(S0) USB3(S0) USB4(S0)
USB5(S0) USB6(S0) EHC2(S0) EHCI(S0) AZAL(S3) RP01(S3) RP02(S3) RP03(S3)
RP04(S3) RP05(S3) RP06(S3) LID_(S3) PBTN(S4)
acpitimer0 at acpi0: 3579545 Hz, 24 bits
acpihpet0 at acpi0: 14318179 Hz
acpimadt0 at acpi0 addr 0xfee0: PC-AT compat
cpu0 at mainbus0: apid 0 (boot processor)
cpu0: Intel(R) Core(TM)2 Duo CPU P8600 @ 2.40GHz, 2394.37 MHz
cpu0:
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,SSE3,MWAIT,DS-CPL,VMX,SMX,EST,TM2,CX16,xTPR,NXE,LONG
cpu0: 3MB 64b/line 8-way L2 cache
cpu0: apic clock running at 265MHz
cpu1 at mainbus0: apid 1 (application processor)
cpu1: Intel(R) Core(TM)2 Duo CPU P8600 @ 2.40GHz, 2394.00 MHz
cpu1:
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,SSE3,MWAIT,DS-CPL,VMX,SMX,EST,TM2,CX16,xTPR,NXE,LONG
cpu1: 3MB 64b/line 8-way L2 cache
ioapic0 at mainbus0 apid 2 pa 0xfec0, version 20, 24 pins
ioapic0: misconfigured as apic 0, remapped to apid 2
acpiprt0 at acpi0: bus 3 (PCIE)
acpiprt1 at acpi0: bus 1 (AGP_)
acpiprt2 at acpi0: bus 11 (RP01)
acpiprt3 at acpi0: bus 12 (RP02)
acpiprt4 at acpi0: bus 9 (RP03)
acpiprt5 at acpi0: bus -1 (RP04)
acpiprt6 at acpi0: bus 13 (RP05)
acpiprt7 at acpi0: bus -1 (RP06)
acpiprt8 at acpi0: bus 0 (PCI0)
acpicpu0 at acpi0: C3
acpicpu1 at acpi0: C3
acpitz0 at acpi0: critical temperature 105 degC
acpibtn0 at acpi0: LID_
acpibtn1 at acpi0: PBTN
acpibtn2 at acpi0: SBTN
acpiac0 at acpi0: AC unit offline
acpibat0 at acpi0: BAT0 model DELL Y823G9 serial 591 type LION oem SMP
acpivideo at acpi0 not configured
acpivideo at acpi0 not configured
acpivideo at acpi0 not configured
cpu0: unknown Enhanced SpeedStep CPU, msr 0x0617092006000920
cpu0: using only highest and lowest power states
cpu0: Enhanced SpeedStep 2400 MHz (1212 mV): speeds: 2400, 1600 MHz
pci0 at mainbus0 bus 0: configuration mode 1
pchb0 at pci0 dev 0 function 0 Intel GM45 Host rev 0x07
ppb0 at pci0 dev 1 function 0 Intel GM45 PCIE rev 0x07: apic 2 int 16 (irq
0)
pci1 at ppb0 bus 1
vga1 at pci1 dev 0 function 0 vendor ATI, unknown product 0x9552 rev 0x00
wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
uhci0 at pci0 dev 26 function 0 Intel 82801I USB rev 0x03: apic 2 int 20
(irq 11)
uhci1 at pci0 dev 26 function 1 Intel 82801I USB rev 0x03: apic 2 int 21
(irq 10)
uhci2 at pci0 dev 26 function 2 Intel 82801I USB rev 0x03: apic 2 int 22
(irq 7)
ehci0 at pci0 dev 26 function 7 Intel 82801I USB rev 0x03: apic 2 int 22
(irq 7)
usb0 at ehci0: USB revision 2.0
uhub0 at usb0 Intel EHCI root hub rev 2.00/1.00 addr 1
azalia0 at pci0 dev 27 function 0 Intel 82801I HD Audio rev 0x03: apic 2
int 21 (irq 10)
azalia0: codecs: IDT 92HD71B7
audio0 at azalia0
ppb1 at pci0 dev 28 function 0 Intel 82801I PCIE rev 0x03: apic 2 int 16
(irq 0)
pci2 at ppb1 bus 11
ppb2 at pci0 dev 28 function 1 Intel 82801I PCIE rev 0x03: apic 2 int 17
(irq 0)
pci3 at ppb2 bus 12
iwn0 at pci3 dev 0 function 0 Intel WiFi Link 5100AGN rev 0x00: apic 2 int
17 (irq 5), MIMO 1T2R, MoW, address 00:22:fb:9b:6f:62
ppb3 at pci0 dev 28 function 2 Intel 82801I PCIE rev 0x03: apic 2 int 18
(irq 0)
pci4 at ppb3 bus 9
mskc0 at pci4 dev 0 function 0 Marvell Yukon 88E8040 rev 0x13, Yukon-2 FE+
(0x0): apic 2 int 18 (irq 10)
msk0 at mskc0 port A: address 00:25:64:52:74:2d
eephy0 at msk0 phy 0: 88E3016 10/100 PHY, rev. 0
ppb4 at pci0 dev 28 function 4 Intel 82801I PCIE rev 0x03: apic 2 int 16
(irq 0)
pci5 at ppb4 bus 13
uhci3 at pci0 dev 29 function 0 Intel 82801I USB rev 0x03: apic 2 int 20
(irq 11)
uhci4 at pci0 dev 29 function 1 Intel 82801I USB rev 0x03: apic 2 int 21
(irq 10)
uhci5 at pci0 dev 29 function 2 Intel 82801I USB rev 0x03: apic 2 int 22
(irq 7)
ehci1 at pci0 dev 29 function 7 Intel 82801I USB rev 0x03: apic 2 int 20
(irq 11)
usb1 at ehci1: USB revision 2.0
uhub1 at usb1 Intel EHCI root hub rev 2.00/1.00 addr 1
ppb5 at pci0 dev 30 function 0 Intel 82801BAM Hub-to-PCI rev 0x93
pci6 at ppb5 bus 3
pcib0 at pci0 dev 31 function 0 vendor Intel, unknown product 0x2919 rev
0x03
ahci0 at pci0 dev 31 function 2 Intel 82801I AHCI rev 0x03: apic 2 int 18
(irq 10), AHCI 1.2
scsibus0 at ahci0: 32 targets
sd0 at scsibus0 targ 0 lun 0: ATA, ST9160314AS, 0003 SCSI3 0/direct fixed
sd0: 152627MB, 512 bytes/sec, 312581808 sec total
cd0 at scsibus0 targ 1 lun 0: Optiarc, DVD+-RW AD-7560S, SD05 ATAPI
5/cdrom 

Re: ZTE-MF626 USB Modem

2009-10-12 Thread Sergio Andrés Gómez del Real
Hi again.

Sometimes I get the following:

OpenBSD 4.5 (GENERIC.MP) #2133: Sat Feb 28 15:02:16 MST 2009
dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP
real mem = 2143023104 (2043MB)
avail mem = 2069721088 (1973MB)
mainbus0 at root
bios0 at mainbus0: SMBIOS rev. 2.4 @ 0xf7250 (44 entries)
bios0: vendor Dell Inc. version A10 date 07/17/2009
bios0: Dell Inc. Inspiron 1545
acpi0 at bios0: rev 2
acpi0: tables DSDT FACP HPET APIC MCFG SLIC SSDT
acpi0: wakeup devices PCI0(S5) PCIE(S4) USB1(S0) USB2(S0) USB3(S0)
USB4(S0) USB5(S0) USB6(S0) EHC2(S0) EHCI(S0) AZAL(S3) RP01(S3)
RP02(S3) RP03(S3) RP04(S3) RP05(S3) RP06(S3) LID_(S3) PBTN(S4)
acpitimer0 at acpi0: 3579545 Hz, 24 bits
acpihpet0 at acpi0: 14318179 Hz
acpimadt0 at acpi0 addr 0xfee0: PC-AT compat
cpu0 at mainbus0: apid 0 (boot processor)
cpu0: Intel(R) Core(TM)2 Duo CPU P8600 @ 2.40GHz, 2394.34 MHz
cpu0: 
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,SSE3,MWAIT,DS-CPL,VMX,SMX,EST,TM2,CX16,xTPR,NXE,LONG
cpu0: 3MB 64b/line 8-way L2 cache
cpu0: apic clock running at 265MHz
cpu1 at mainbus0: apid 1 (application processor)
cpu1: Intel(R) Core(TM)2 Duo CPU P8600 @ 2.40GHz, 2394.00 MHz
cpu1: 
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,SSE3,MWAIT,DS-CPL,VMX,SMX,EST,TM2,CX16,xTPR,NXE,LONG
cpu1: 3MB 64b/line 8-way L2 cache
ioapic0 at mainbus0 apid 2 pa 0xfec0, version 20, 24 pins
ioapic0: misconfigured as apic 0, remapped to apid 2
acpiprt0 at acpi0: bus 3 (PCIE)
acpiprt1 at acpi0: bus 1 (AGP_)
acpiprt2 at acpi0: bus 11 (RP01)
acpiprt3 at acpi0: bus 12 (RP02)
acpiprt4 at acpi0: bus 9 (RP03)
acpiprt5 at acpi0: bus -1 (RP04)
acpiprt6 at acpi0: bus 13 (RP05)
acpiprt7 at acpi0: bus -1 (RP06)
acpiprt8 at acpi0: bus 0 (PCI0)
acpicpu0 at acpi0: C3
acpicpu1 at acpi0: C3
acpitz0 at acpi0: critical temperature 105 degC
acpibtn0 at acpi0: LID_
acpibtn1 at acpi0: PBTN
acpibtn2 at acpi0: SBTN
acpiac0 at acpi0: AC unit online
acpibat0 at acpi0: BAT0 model DELL Y823G9 serial 591 type LION oem SMP
acpivideo at acpi0 not configured
acpivideo at acpi0 not configured
acpivideo at acpi0 not configured
cpu0: unknown Enhanced SpeedStep CPU, msr 0x0617092006000920
cpu0: using only highest and lowest power states
cpu0: Enhanced SpeedStep 2400 MHz (1212 mV): speeds: 2400, 1600 MHz
pci0 at mainbus0 bus 0: configuration mode 1
pchb0 at pci0 dev 0 function 0 Intel GM45 Host rev 0x07
ppb0 at pci0 dev 1 function 0 Intel GM45 PCIE rev 0x07: apic 2 int 16 (irq 0)
pci1 at ppb0 bus 1
vga1 at pci1 dev 0 function 0 vendor ATI, unknown product 0x9552 rev 0x00
wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
uhci0 at pci0 dev 26 function 0 Intel 82801I USB rev 0x03: apic 2
int 20 (irq 11)
uhci1 at pci0 dev 26 function 1 Intel 82801I USB rev 0x03: apic 2
int 21 (irq 10)
uhci2 at pci0 dev 26 function 2 Intel 82801I USB rev 0x03: apic 2
int 22 (irq 7)
ehci0 at pci0 dev 26 function 7 Intel 82801I USB rev 0x03: apic 2
int 22 (irq 7)
usb0 at ehci0: USB revision 2.0
uhub0 at usb0 Intel EHCI root hub rev 2.00/1.00 addr 1
azalia0 at pci0 dev 27 function 0 Intel 82801I HD Audio rev 0x03:
apic 2 int 21 (irq 10)
azalia0: codecs: IDT 92HD71B7
audio0 at azalia0
ppb1 at pci0 dev 28 function 0 Intel 82801I PCIE rev 0x03: apic 2
int 16 (irq 0)
pci2 at ppb1 bus 11
ppb2 at pci0 dev 28 function 1 Intel 82801I PCIE rev 0x03: apic 2
int 17 (irq 0)
pci3 at ppb2 bus 12
iwn0 at pci3 dev 0 function 0 Intel WiFi Link 5100AGN rev 0x00: apic
2 int 17 (irq 5), MIMO 1T2R, MoW, address 00:22:fb:9b:6f:62
ppb3 at pci0 dev 28 function 2 Intel 82801I PCIE rev 0x03: apic 2
int 18 (irq 0)
pci4 at ppb3 bus 9
mskc0 at pci4 dev 0 function 0 Marvell Yukon 88E8040 rev 0x13,
Yukon-2 FE+ (0x0): apic 2 int 18 (irq 10)
msk0 at mskc0 port A: address 00:25:64:52:74:2d
eephy0 at msk0 phy 0: 88E3016 10/100 PHY, rev. 0
ppb4 at pci0 dev 28 function 4 Intel 82801I PCIE rev 0x03: apic 2
int 16 (irq 0)
pci5 at ppb4 bus 13
uhci3 at pci0 dev 29 function 0 Intel 82801I USB rev 0x03: apic 2
int 20 (irq 11)
uhci4 at pci0 dev 29 function 1 Intel 82801I USB rev 0x03: apic 2
int 21 (irq 10)
uhci5 at pci0 dev 29 function 2 Intel 82801I USB rev 0x03: apic 2
int 22 (irq 7)
ehci1 at pci0 dev 29 function 7 Intel 82801I USB rev 0x03: apic 2
int 20 (irq 11)
usb1 at ehci1: USB revision 2.0
uhub1 at usb1 Intel EHCI root hub rev 2.00/1.00 addr 1
ppb5 at pci0 dev 30 function 0 Intel 82801BAM Hub-to-PCI rev 0x93
pci6 at ppb5 bus 3
pcib0 at pci0 dev 31 function 0 vendor Intel, unknown product 0x2919 rev 0x03
ahci0 at pci0 dev 31 function 2 Intel 82801I AHCI rev 0x03: apic 2
int 18 (irq 10), AHCI 1.2
scsibus0 at ahci0: 32 targets
sd0 at scsibus0 targ 0 lun 0: ATA, ST9160314AS, 0003 SCSI3 0/direct fixed
sd0: 152627MB, 512 bytes/sec, 312581808 sec total
cd0 at scsibus0 targ 1 lun 0: Optiarc, DVD+-RW AD-7560S, SD05 ATAPI
5/cdrom removable

ZTE-MF626 USB Modem

2009-10-11 Thread Sergio Andrés Gómez del Real
Well, I guess this is the relevant output from startup:

umass0 at uhub1 port 1 configuration 1 interface 0 ZTE, Incorporated ZTE
CDMA Technologies MSM rev 2.00/0.00 addr 2
umass0: using ATAPI over Bulk-Only
scsibus1 at umass0: 2 targets, initiator 0
umass0: BBB reset failed, IOERROR
umass0: BBB bulk-in clear stall failed, IOERROR
umass0: BBB bulk-out clear stall failed, IOERROR
umass0: BBB reset failed, IOERROR
umass0: BBB bulk-in clear stall failed, IOERROR
umass0: BBB bulk-out clear stall failed, IOERROR
umass0: BBB reset failed, IOERROR
umass0: BBB bulk-in clear stall failed, IOERROR
umass0: BBB bulk-out clear stall failed, IOERROR
umass0: BBB reset failed, IOERROR
umass0: BBB bulk-in clear stall failed, IOERROR
umass0: BBB bulk-out clear stall failed, IOERROR
umass0: BBB reset failed, IOERROR
umass0: BBB bulk-in clear stall failed, IOERROR
umass0: BBB bulk-out clear stall failed, IOERROR
umass0: BBB reset failed, IOERROR
umass0: BBB bulk-in clear stall failed, IOERROR
umass0: BBB bulk-out clear stall failed, IOERROR
umass0: BBB reset failed, IOERROR
umass0: BBB bulk-in clear stall failed, IOERROR
umass0: BBB bulk-out clear stall failed, IOERROR
umass0: BBB reset failed, IOERROR
umass0: BBB bulk-in clear stall failed, IOERROR
umass0: BBB bulk-out clear stall failed, IOERROR
umass0: BBB reset failed, IOERROR
umass0: BBB bulk-in clear stall failed, IOERROR
umass0: BBB bulk-out clear stall failed, IOERROR
umass0 detached
umass0: using SCSI over Bulk-Only
scsibus1 at umass0: 2 targets, initiator 0
umass1 at uhub1 port 1 configuration 1 interface 0 ZTE, Incorporated ZTE
CDMA Technologies MSM rev 2.00/0.00 addr 2
umass1: using ATAPI over Bulk-Only
scsibus2 at umass1: 2 targets, initiator 0
cd1 at scsibus1 targ 1 lun 0: ZTE, USB SCSI CD-ROM, 2.31 ATAPI 5/cdrom
removable

So I'm finally geting cd1 :S I need the device to act as Modem.
Any help would be really appreciated.
Thanks.



Re: ZTE-MF626 USB Modem

2009-10-11 Thread Bryan
Didn't you send something like this about a month ago?

http://www.nabble.com/HSDPA-USB-Modem-td25308434.html

If the devs don't have one, maybe you'd donate your modem temporarily
to get the support.  Just asking is going to be nearly useless.  If
you donate/loan the hardware, you increase your chances of getting it.

It worked for me, YMMV...

Bryan

2009/10/12 Sergio AndrC)s GC3mez del Real sergio.g.delr...@gmail.com:
 Well, I guess this is the relevant output from startup:

 umass0 at uhub1 port 1 configuration 1 interface 0 ZTE, Incorporated ZTE
 CDMA Technologies MSM rev 2.00/0.00 addr 2
 umass0: using ATAPI over Bulk-Only
 scsibus1 at umass0: 2 targets, initiator 0
 umass0: BBB reset failed, IOERROR
 umass0: BBB bulk-in clear stall failed, IOERROR
 umass0: BBB bulk-out clear stall failed, IOERROR
 umass0: BBB reset failed, IOERROR
 umass0: BBB bulk-in clear stall failed, IOERROR
 umass0: BBB bulk-out clear stall failed, IOERROR
 umass0: BBB reset failed, IOERROR
 umass0: BBB bulk-in clear stall failed, IOERROR
 umass0: BBB bulk-out clear stall failed, IOERROR
 umass0: BBB reset failed, IOERROR
 umass0: BBB bulk-in clear stall failed, IOERROR
 umass0: BBB bulk-out clear stall failed, IOERROR
 umass0: BBB reset failed, IOERROR
 umass0: BBB bulk-in clear stall failed, IOERROR
 umass0: BBB bulk-out clear stall failed, IOERROR
 umass0: BBB reset failed, IOERROR
 umass0: BBB bulk-in clear stall failed, IOERROR
 umass0: BBB bulk-out clear stall failed, IOERROR
 umass0: BBB reset failed, IOERROR
 umass0: BBB bulk-in clear stall failed, IOERROR
 umass0: BBB bulk-out clear stall failed, IOERROR
 umass0: BBB reset failed, IOERROR
 umass0: BBB bulk-in clear stall failed, IOERROR
 umass0: BBB bulk-out clear stall failed, IOERROR
 umass0: BBB reset failed, IOERROR
 umass0: BBB bulk-in clear stall failed, IOERROR
 umass0: BBB bulk-out clear stall failed, IOERROR
 umass0 detached
 umass0: using SCSI over Bulk-Only
 scsibus1 at umass0: 2 targets, initiator 0
 umass1 at uhub1 port 1 configuration 1 interface 0 ZTE, Incorporated ZTE
 CDMA Technologies MSM rev 2.00/0.00 addr 2
 umass1: using ATAPI over Bulk-Only
 scsibus2 at umass1: 2 targets, initiator 0
 cd1 at scsibus1 targ 1 lun 0: ZTE, USB SCSI CD-ROM, 2.31 ATAPI 5/cdrom
 removable

 So I'm finally geting cd1 :S I need the device to act as Modem.
 Any help would be really appreciated.
 Thanks.