Re: MSA110UP 3g modem on OpenBSD 4.8

2011-03-17 Thread Sergio Charpinel Jr.
Thanks David and Stuart.

I couldn't make it work using David's method, but It worked using this
ppp.conf:
default:
 set log CHAT

tim:
 set device /dev/ttyU3
 set login "\"!chat -f /etc/ppp/peers/tim.chat\""
 set speed 460800
 set phone "*99***1#"
 set authname "tim"
 set authkey "tim"
 set timeout 120
 set ifaddr 10.0.0.1/0 10.0.0.2/0 255.255.255.0 0.0.0.0
 #add default HISADDR
 disable ipv6cp

I think the problem was the authentication. I tried to add user tim, and
configure pap-secrets and chat-secrets, but it continued not to work.
Anyway, the problem is solved now, thank yoy guys.

Cheers.

2011/3/16 Sergio Charpinel Jr. 

> 2011/3/16 David Coppa 
>
>> On Wed, Mar 16, 2011 at 4:29 PM, Stuart Henderson 
>> wrote:
>> > you can try turning off various settings by adding things like these:
>> >
>> > deflate 0
>> > refuse-pap
>> > refuse-chap
>> > noauth
>> > noccp
>> > novj
>> > novjccomp
>> > nopcomp
>> >
>> > some 3g cards don't work well with these. sometimes you also
>> > have to adjust the proposed IP addresses. (note that the PPP session
>> > is with the 3g device and not the mobile network, so if you search
>> > for examples, search for other people using same/similar *devices*
>> > rather than specifically people on the same network).
>>
>
> Setting this parameters did not work as well.
>
>
>>
>> Btw, are you sure it's cuaU3 and not cuaU2 ??
>>
>> cheers
>> david
>>
>
>
> Yes, just cuaU3 and cuaU1 accept commands via cu.
> Also tried with cuaU1, but it did not work.
>
> --
> Sergio Roberto Charpinel Jr.
>



-- 
Sergio Roberto Charpinel Jr.



Re: MSA110UP 3g modem on OpenBSD 4.8

2011-03-16 Thread Sergio Charpinel Jr.
2011/3/16 David Coppa 

> On Wed, Mar 16, 2011 at 4:29 PM, Stuart Henderson 
> wrote:
> > you can try turning off various settings by adding things like these:
> >
> > deflate 0
> > refuse-pap
> > refuse-chap
> > noauth
> > noccp
> > novj
> > novjccomp
> > nopcomp
> >
> > some 3g cards don't work well with these. sometimes you also
> > have to adjust the proposed IP addresses. (note that the PPP session
> > is with the 3g device and not the mobile network, so if you search
> > for examples, search for other people using same/similar *devices*
> > rather than specifically people on the same network).
>

Setting this parameters did not work as well.


>
> Btw, are you sure it's cuaU3 and not cuaU2 ??
>
> cheers
> david
>


Yes, just cuaU3 and cuaU1 accept commands via cu.
Also tried with cuaU1, but it did not work.

-- 
Sergio Roberto Charpinel Jr.



Re: MSA110UP 3g modem on OpenBSD 4.8

2011-03-16 Thread David Coppa
On Wed, Mar 16, 2011 at 4:29 PM, Stuart Henderson  wrote:
> you can try turning off various settings by adding things like these:
>
> deflate 0
> refuse-pap
> refuse-chap
> noauth
> noccp
> novj
> novjccomp
> nopcomp
>
> some 3g cards don't work well with these. sometimes you also
> have to adjust the proposed IP addresses. (note that the PPP session
> is with the 3g device and not the mobile network, so if you search
> for examples, search for other people using same/similar *devices*
> rather than specifically people on the same network).

Btw, are you sure it's cuaU3 and not cuaU2 ??

cheers
david



Re: MSA110UP 3g modem on OpenBSD 4.8

2011-03-16 Thread Sergio Charpinel Jr.
Thanks again David for your help.

As I said, I used to connect it in Linux, so I got your config files and
just adapted to my config. But I'm receving a modem Hangup.
Here is my log:
Mar 16 12:06:03 pppd[24222]: pppd 2.3.5 started by root, uid 0
Mar 16 12:06:06 pppd[24222]: Serial connection established.
Mar 16 12:06:07 pppd[24222]: Using interface ppp0
Mar 16 12:06:07 pppd[24222]: Connect: ppp0 <--> /dev/cuaU3
Mar 16 12:06:07 pppd[24222]: sent [LCP ConfReq id=0x1 
 ]
Mar 16 12:06:07 pppd[24222]: rcvd [LCP ConfReq id=0xc ]
Mar 16 12:06:07 pppd[24222]: sent [LCP ConfRej id=0xc ]
Mar 16 12:06:07 pppd[24222]: rcvd [LCP ConfAck id=0x1 
 ]
Mar 16 12:06:07 pppd[24222]: rcvd [LCP ConfReq id=0xd]
Mar 16 12:06:07 pppd[24222]: sent [LCP ConfAck id=0xd]
Mar 16 12:06:07 pppd[24222]: sent [IPCP ConfReq id=0x1 
]
Mar 16 12:06:07 pppd[24222]: sent [CCP ConfReq id=0x1 
 ]
Mar 16 12:06:07 pppd[24222]: rcvd [LCP DiscReq id=0xe magic=0xb5a3152a]
Mar 16 12:06:07 pppd[24222]: rcvd [LCP ProtRej id=0xf 80 fd 01 01 00 0f 1a
04 78 00 18 04 78 00 15 03 2f]
Mar 16 12:06:08 pppd[24222]: rcvd [IPCP ConfNak id=0x1 
  ]
Mar 16 12:06:08 pppd[24222]: sent [IPCP ConfReq id=0x2 
]
Mar 16 12:06:08 pppd[24222]: Modem hangup
Mar 16 12:06:08 pppd[24222]: Connection terminated.
Mar 16 12:06:10 pppd: Exit.

My config file:
/dev/cuaU3
debug
crtscts
460800
defaultroute
noauth
:10.64.64.64
connect '/usr/sbin/chat -v -f /etc/ppp/peers/tim.chat'

And my chat config file:
ABORT "NO CARRIER"
ABORT "NO DIALTONE"
ABORT "ERROR"
ABORT "NO ANSWER"
ABORT "BUSY"
ABORT "Username/Password Incorrect"
TIMEOUT 15
"" "ATZ"
OK "ATZ"
OK 'AT+CGDCONT=1, "ip","tim.br"'
TIMEOUT 15
OK "ATDT*99***1#"
TIMEOUT 30
CONNECT \d\c

I had to add a TIMEOUT before ATDT. Else I get an ERROR. My chat commands
are just like in Linux (wvdial). I think the difference is that there I use
a username and password. I don't know how to set this in ppp.

Here is my wvdial.conf:
[Dialer Defaults]
Init2 = ATZ
Init3 = AT+CGDCONT=1, "ip","tim.br"
Init4 = AT+CSQ
Stupid Mode = 1
ISDN = 0
Phone = *99***1#
Ask Password = 0
Modem = /dev/ttyUSB3
Username = tim
Dial Command = ATDT
Password = tim
Baud = 460800
New PPPD = yes
Auto DNS = 0

Any ideas what could be the problem?

Thanks again.

2011/3/16 David Coppa 

> On Wed, Mar 16, 2011 at 2:40 PM, Sergio Charpinel Jr.
>  wrote:
> > Hi,
> > I think it worked. Here is my dmesg now;
>
> Yes, It's working.
>
> > The problem now is to configure ppp. Just one more quention.
> > When I run:
> > # cu -l /dev/ttyU0
> > Connected
> > And it freezes until I kill the proccess. Is it normal?
>
> You need to find the correct port for ppp (the one that accepts AT
> commands).
> Try with ttyU2 or ttyU3 and check if it accepts some simple AT
> commands, like "ATZ"
>
> I've already explained this stuff to another user in the past. Please,
> read:
>
> http://marc.info/?l=openbsd-misc&m=128816834527997
>
> Ciao
> david
>



-- 
Sergio Roberto Charpinel Jr.



Re: MSA110UP 3g modem on OpenBSD 4.8

2011-03-16 Thread Stuart Henderson
On 2011/03/16 12:16, Sergio Charpinel Jr. wrote:
> My config file:
> /dev/cuaU3
> debug
> crtscts
> 460800
> defaultroute
> noauth
> :10.64.64.64
> connect '/usr/sbin/chat -v -f /etc/ppp/peers/tim.chat'

you can try turning off various settings by adding things like these:

deflate 0
refuse-pap
refuse-chap
noauth
noccp
novj
novjccomp
nopcomp

some 3g cards don't work well with these. sometimes you also
have to adjust the proposed IP addresses. (note that the PPP session
is with the 3g device and not the mobile network, so if you search
for examples, search for other people using same/similar *devices*
rather than specifically people on the same network).



Re: MSA110UP 3g modem on OpenBSD 4.8

2011-03-16 Thread David Coppa
On Wed, Mar 16, 2011 at 2:40 PM, Sergio Charpinel Jr.
 wrote:
> Hi,
> I think it worked. Here is my dmesg now;

Yes, It's working.

> The problem now is to configure ppp. Just one more quention.
> When I run:
> # cu -l /dev/ttyU0
> Connected
> And it freezes until I kill the proccess. Is it normal?

You need to find the correct port for ppp (the one that accepts AT commands).
Try with ttyU2 or ttyU3 and check if it accepts some simple AT
commands, like "ATZ"

I've already explained this stuff to another user in the past. Please, read:

http://marc.info/?l=openbsd-misc&m=128816834527997

Ciao
david



Re: MSA110UP 3g modem on OpenBSD 4.8

2011-03-16 Thread Sergio Charpinel Jr.
Hi,

I think it worked. Here is my dmesg now;
umsm0 at uhub1 port 1 configuration 1 interface 0 "ONDA,Incorporated ONDA
WCDMA Technologies MSM" rev 2.00/0.00 addr 2
ucom0 at umsm0
umsm1 at uhub1 port 1 configuration 1 interface 1 "ONDA,Incorporated ONDA
WCDMA Technologies MSM" rev 2.00/0.00 addr 2
ucom1 at umsm1
umsm2 at uhub1 port 1 configuration 1 interface 2 "ONDA,Incorporated ONDA
WCDMA Technologies MSM" rev 2.00/0.00 addr 2
ucom2 at umsm2
umass0 at uhub1 port 1 configuration 1 interface 3 "ONDA,Incorporated ONDA
WCDMA Technologies MSM" rev 2.00/0.00 addr 2
umass0: using SCSI over Bulk-Only
scsibus3 at umass0: 2 targets, initiator 0
sd1 at scsibus3 targ 1 lun 0:  SCSI2 0/direct
removable
sd1: drive offline
umsm3 at uhub1 port 1 configuration 1 interface 4 "ONDA,Incorporated ONDA
WCDMA Technologies MSM" rev 2.00/0.00 addr 2
ucom3 at umsm3

The problem now is to configure ppp. Just one more quention.
When I run:
# cu -l /dev/ttyU0
Connected

And it freezes until I kill the proccess. Is it normal?

Thanks.

2011/3/15 Sergio Charpinel Jr. 

> Hi,
>
> The eject command did not work:
> # eject sd1
> eject: sd1: Input/output error
>
> I'll try David's patch.
>
> Thanks.
>
>
> 2011/3/15 David Coppa 
>
>> On Mon, 14 Mar 2011, Stuart Henderson wrote:
>>
>> > In gmane.os.openbsd.misc, you wrote:
>> > > i'm trying to get my MSA110UP 3g modem working on OpenBSD 4.8. But I
>> think
>> > > it is recognized as a hard disk device, like in Linux. There I had to
>> > > install usb-modeswitch to connect, but I've heard it won't compile on
>> > > OpenBSD.
>> >
>> > Try: eject sd1
>> >
>> > If that works then we can add it as a DEV_UMASS4 device
>>
>> Hi again,
>>
>> This should make your modem work.
>> I'm dubious about the name: it's certainly a rebadged ZTE, but I
>> wasn't able to find the original name anywhere on the web...
>>
>> The patch is for 4.8, since it is what you're using.
>>
>> Ciao,
>> David
>>
>> Index: umsm.c
>> ===
>> RCS file: /cvs/src/sys/dev/usb/umsm.c,v
>> retrieving revision 1.66
>> diff -u -p -r1.66 umsm.c
>> --- umsm.c  26 Jun 2010 00:34:19 -  1.66
>> +++ umsm.c  15 Mar 2011 08:39:16 -
>> @@ -158,6 +158,7 @@ static const struct umsm_type umsm_devs[
>>{{ USB_VENDOR_ZTE, USB_PRODUCT_ZTE_K3565Z }, 0},
>>{{ USB_VENDOR_ZTE, USB_PRODUCT_ZTE_MF633 }, 0},
>>{{ USB_VENDOR_ZTE, USB_PRODUCT_ZTE_MF637 }, 0},
>> +   {{ USB_VENDOR_ZTE, USB_PRODUCT_ZTE_MSA110UP }, 0},
>>
>>{{ USB_VENDOR_NOVATEL, USB_PRODUCT_NOVATEL_EXPRESSCARD }, 0},
>>{{ USB_VENDOR_NOVATEL, USB_PRODUCT_NOVATEL_MERLINV620 }, 0},
>> Index: usbdevs
>> ===
>> RCS file: /cvs/src/sys/dev/usb/usbdevs,v
>> retrieving revision 1.511
>> diff -u -p -r1.511 usbdevs
>> --- usbdevs 29 Jul 2010 12:32:04 -  1.511
>> +++ usbdevs 15 Mar 2011 08:39:20 -
>> @@ -3015,6 +3015,7 @@ product ZTE CDMA_MSM  0x0001  CDMA
>> Techno
>>  product ZTE MF633  0x0016  ZTE MF633 USUPA USB modem
>>  product ZTE MF637  0x0031  ZTE MF637 HSUPA USB modem
>>  product ZTE K3565Z 0x0063  ZTE K3565-Z USB MSM modem
>> +product ZTE MSA110UP   0x0091  Onda MSA110UP USB MSM modem
>>  productZTE UMASS_INSTALLER20x0103  ZTE USB MSM installer
>>  product ZTE UMASS_INSTALLER0x2000  ZTE USB MSM installer
>>  product ZTE AC8700 0xfffe  AC8700 CDMA USB modem
>> Index: usbdevs.h
>> ===
>> RCS file: /cvs/src/sys/dev/usb/usbdevs.h,v
>> retrieving revision 1.521
>> diff -u -p -r1.521 usbdevs.h
>> --- usbdevs.h   29 Jul 2010 12:34:09 -  1.521
>> +++ usbdevs.h   15 Mar 2011 08:39:23 -
>> @@ -1,4 +1,4 @@
>> -/* $OpenBSD: usbdevs.h,v 1.521 2010/07/29 12:34:09 maja Exp $  */
>> +/* $OpenBSD$   */
>>
>>  /*
>>  * THIS FILE IS AUTOMATICALLY GENERATED.  DO NOT EDIT.
>> @@ -3022,6 +3022,7 @@
>>  #defineUSB_PRODUCT_ZTE_MF633   0x0016  /* ZTE MF633 USUPA
>> USB modem */
>>  #defineUSB_PRODUCT_ZTE_MF637   0x0031  /* ZTE MF637 HSUPA
>> USB modem */
>>  #defineUSB_PRODUCT_ZTE_K3565Z  0x0063  /* ZTE K3565-Z USB
>> MSM modem */
>> +#defineUSB_PRODUCT_ZTE_MSA110UP0x0091  /* Onda
>> MSA110UP USB MSM modem */
>>  #defineUSB_PRODUCT_ZTE_UMASS_INSTALLER20x0103  /*
>> ZTE USB MSM installer */
>>  #defineUSB_PRODUCT_ZTE_UMASS_INSTALLER 0x2000  /* ZTE USB
>> MSM installer */
>>  #defineUSB_PRODUCT_ZTE_AC8700  0xfffe  /* AC8700 CDMA USB
>> modem */
>> Index: usbdevs_data.h
>> ===
>> RCS file: /cvs/src/sys/dev/usb/usbdevs_data.h,v
>> retrieving revision 1.515
>> diff -u -p -r1.515 usbdevs_data.h
>> --- usbdevs_data.h  29 Jul 2010 12:34:09 -  1.515

Re: MSA110UP 3g modem on OpenBSD 4.8

2011-03-15 Thread Sergio Charpinel Jr.
Hi,

The eject command did not work:
# eject sd1
eject: sd1: Input/output error

I'll try David's patch.

Thanks.

2011/3/15 David Coppa 

> On Mon, 14 Mar 2011, Stuart Henderson wrote:
>
> > In gmane.os.openbsd.misc, you wrote:
> > > i'm trying to get my MSA110UP 3g modem working on OpenBSD 4.8. But I
> think
> > > it is recognized as a hard disk device, like in Linux. There I had to
> > > install usb-modeswitch to connect, but I've heard it won't compile on
> > > OpenBSD.
> >
> > Try: eject sd1
> >
> > If that works then we can add it as a DEV_UMASS4 device
>
> Hi again,
>
> This should make your modem work.
> I'm dubious about the name: it's certainly a rebadged ZTE, but I
> wasn't able to find the original name anywhere on the web...
>
> The patch is for 4.8, since it is what you're using.
>
> Ciao,
> David
>
> Index: umsm.c
> ===
> RCS file: /cvs/src/sys/dev/usb/umsm.c,v
> retrieving revision 1.66
> diff -u -p -r1.66 umsm.c
> --- umsm.c  26 Jun 2010 00:34:19 -  1.66
> +++ umsm.c  15 Mar 2011 08:39:16 -
> @@ -158,6 +158,7 @@ static const struct umsm_type umsm_devs[
>{{ USB_VENDOR_ZTE, USB_PRODUCT_ZTE_K3565Z }, 0},
>{{ USB_VENDOR_ZTE, USB_PRODUCT_ZTE_MF633 }, 0},
>{{ USB_VENDOR_ZTE, USB_PRODUCT_ZTE_MF637 }, 0},
> +   {{ USB_VENDOR_ZTE, USB_PRODUCT_ZTE_MSA110UP }, 0},
>
>{{ USB_VENDOR_NOVATEL, USB_PRODUCT_NOVATEL_EXPRESSCARD }, 0},
>{{ USB_VENDOR_NOVATEL, USB_PRODUCT_NOVATEL_MERLINV620 }, 0},
> Index: usbdevs
> ===
> RCS file: /cvs/src/sys/dev/usb/usbdevs,v
> retrieving revision 1.511
> diff -u -p -r1.511 usbdevs
> --- usbdevs 29 Jul 2010 12:32:04 -  1.511
> +++ usbdevs 15 Mar 2011 08:39:20 -
> @@ -3015,6 +3015,7 @@ product ZTE CDMA_MSM  0x0001  CDMA Techno
>  product ZTE MF633  0x0016  ZTE MF633 USUPA USB modem
>  product ZTE MF637  0x0031  ZTE MF637 HSUPA USB modem
>  product ZTE K3565Z 0x0063  ZTE K3565-Z USB MSM modem
> +product ZTE MSA110UP   0x0091  Onda MSA110UP USB MSM modem
>  productZTE UMASS_INSTALLER20x0103  ZTE USB MSM installer
>  product ZTE UMASS_INSTALLER0x2000  ZTE USB MSM installer
>  product ZTE AC8700 0xfffe  AC8700 CDMA USB modem
> Index: usbdevs.h
> ===
> RCS file: /cvs/src/sys/dev/usb/usbdevs.h,v
> retrieving revision 1.521
> diff -u -p -r1.521 usbdevs.h
> --- usbdevs.h   29 Jul 2010 12:34:09 -  1.521
> +++ usbdevs.h   15 Mar 2011 08:39:23 -
> @@ -1,4 +1,4 @@
> -/* $OpenBSD: usbdevs.h,v 1.521 2010/07/29 12:34:09 maja Exp $  */
> +/* $OpenBSD$   */
>
>  /*
>  * THIS FILE IS AUTOMATICALLY GENERATED.  DO NOT EDIT.
> @@ -3022,6 +3022,7 @@
>  #defineUSB_PRODUCT_ZTE_MF633   0x0016  /* ZTE MF633 USUPA
> USB modem */
>  #defineUSB_PRODUCT_ZTE_MF637   0x0031  /* ZTE MF637 HSUPA
> USB modem */
>  #defineUSB_PRODUCT_ZTE_K3565Z  0x0063  /* ZTE K3565-Z USB
> MSM modem */
> +#defineUSB_PRODUCT_ZTE_MSA110UP0x0091  /* Onda
> MSA110UP USB MSM modem */
>  #defineUSB_PRODUCT_ZTE_UMASS_INSTALLER20x0103  /*
> ZTE USB MSM installer */
>  #defineUSB_PRODUCT_ZTE_UMASS_INSTALLER 0x2000  /* ZTE USB
> MSM installer */
>  #defineUSB_PRODUCT_ZTE_AC8700  0xfffe  /* AC8700 CDMA USB
> modem */
> Index: usbdevs_data.h
> ===
> RCS file: /cvs/src/sys/dev/usb/usbdevs_data.h,v
> retrieving revision 1.515
> diff -u -p -r1.515 usbdevs_data.h
> --- usbdevs_data.h  29 Jul 2010 12:34:09 -  1.515
> +++ usbdevs_data.h  15 Mar 2011 08:39:28 -
> @@ -1,4 +1,4 @@
> -/* $OpenBSD: usbdevs_data.h,v 1.515 2010/07/29 12:34:09 maja Exp $ */
> +/* $OpenBSD$   */
>
>  /*
>  * THIS FILE IS AUTOMATICALLY GENERATED.  DO NOT EDIT.
> @@ -7228,6 +7228,10 @@ const struct usb_known_product usb_known
>{
>USB_VENDOR_ZTE, USB_PRODUCT_ZTE_K3565Z,
>"ZTE K3565-Z USB MSM modem",
> +   },
> +   {
> +   USB_VENDOR_ZTE, USB_PRODUCT_ZTE_MSA110UP,
> +   "Onda MSA110UP USB MSM modem",
>},
>{
>USB_VENDOR_ZTE, USB_PRODUCT_ZTE_UMASS_INSTALLER2,
>



-- 
Sergio Roberto Charpinel Jr.



Re: MSA110UP 3g modem on OpenBSD 4.8

2011-03-15 Thread David Coppa
On Mon, 14 Mar 2011, Stuart Henderson wrote:

> In gmane.os.openbsd.misc, you wrote:
> > i'm trying to get my MSA110UP 3g modem working on OpenBSD 4.8. But I think
> > it is recognized as a hard disk device, like in Linux. There I had to
> > install usb-modeswitch to connect, but I've heard it won't compile on
> > OpenBSD.
> 
> Try: eject sd1
> 
> If that works then we can add it as a DEV_UMASS4 device

Hi again,

This should make your modem work.
I'm dubious about the name: it's certainly a rebadged ZTE, but I
wasn't able to find the original name anywhere on the web...

The patch is for 4.8, since it is what you're using.

Ciao, 
David

Index: umsm.c
===
RCS file: /cvs/src/sys/dev/usb/umsm.c,v
retrieving revision 1.66
diff -u -p -r1.66 umsm.c
--- umsm.c  26 Jun 2010 00:34:19 -  1.66
+++ umsm.c  15 Mar 2011 08:39:16 -
@@ -158,6 +158,7 @@ static const struct umsm_type umsm_devs[
{{ USB_VENDOR_ZTE, USB_PRODUCT_ZTE_K3565Z }, 0},
{{ USB_VENDOR_ZTE, USB_PRODUCT_ZTE_MF633 }, 0},
{{ USB_VENDOR_ZTE, USB_PRODUCT_ZTE_MF637 }, 0},
+   {{ USB_VENDOR_ZTE, USB_PRODUCT_ZTE_MSA110UP }, 0},
 
{{ USB_VENDOR_NOVATEL, USB_PRODUCT_NOVATEL_EXPRESSCARD }, 0},
{{ USB_VENDOR_NOVATEL, USB_PRODUCT_NOVATEL_MERLINV620 }, 0},
Index: usbdevs
===
RCS file: /cvs/src/sys/dev/usb/usbdevs,v
retrieving revision 1.511
diff -u -p -r1.511 usbdevs
--- usbdevs 29 Jul 2010 12:32:04 -  1.511
+++ usbdevs 15 Mar 2011 08:39:20 -
@@ -3015,6 +3015,7 @@ product ZTE CDMA_MSM  0x0001  CDMA Techno
 product ZTE MF633  0x0016  ZTE MF633 USUPA USB modem
 product ZTE MF637  0x0031  ZTE MF637 HSUPA USB modem
 product ZTE K3565Z 0x0063  ZTE K3565-Z USB MSM modem
+product ZTE MSA110UP   0x0091  Onda MSA110UP USB MSM modem
 productZTE UMASS_INSTALLER20x0103  ZTE USB MSM installer 
 product ZTE UMASS_INSTALLER0x2000  ZTE USB MSM installer
 product ZTE AC8700 0xfffe  AC8700 CDMA USB modem
Index: usbdevs.h
===
RCS file: /cvs/src/sys/dev/usb/usbdevs.h,v
retrieving revision 1.521
diff -u -p -r1.521 usbdevs.h
--- usbdevs.h   29 Jul 2010 12:34:09 -  1.521
+++ usbdevs.h   15 Mar 2011 08:39:23 -
@@ -1,4 +1,4 @@
-/* $OpenBSD: usbdevs.h,v 1.521 2010/07/29 12:34:09 maja Exp $  */
+/* $OpenBSD$   */
 
 /*
  * THIS FILE IS AUTOMATICALLY GENERATED.  DO NOT EDIT.
@@ -3022,6 +3022,7 @@
 #defineUSB_PRODUCT_ZTE_MF633   0x0016  /* ZTE MF633 USUPA USB 
modem */
 #defineUSB_PRODUCT_ZTE_MF637   0x0031  /* ZTE MF637 HSUPA USB 
modem */
 #defineUSB_PRODUCT_ZTE_K3565Z  0x0063  /* ZTE K3565-Z USB MSM 
modem */
+#defineUSB_PRODUCT_ZTE_MSA110UP0x0091  /* Onda 
MSA110UP USB MSM modem */
 #defineUSB_PRODUCT_ZTE_UMASS_INSTALLER20x0103  /* ZTE 
USB MSM installer */
 #defineUSB_PRODUCT_ZTE_UMASS_INSTALLER 0x2000  /* ZTE USB MSM 
installer */
 #defineUSB_PRODUCT_ZTE_AC8700  0xfffe  /* AC8700 CDMA USB 
modem */
Index: usbdevs_data.h
===
RCS file: /cvs/src/sys/dev/usb/usbdevs_data.h,v
retrieving revision 1.515
diff -u -p -r1.515 usbdevs_data.h
--- usbdevs_data.h  29 Jul 2010 12:34:09 -  1.515
+++ usbdevs_data.h  15 Mar 2011 08:39:28 -
@@ -1,4 +1,4 @@
-/* $OpenBSD: usbdevs_data.h,v 1.515 2010/07/29 12:34:09 maja Exp $ */
+/* $OpenBSD$   */
 
 /*
  * THIS FILE IS AUTOMATICALLY GENERATED.  DO NOT EDIT.
@@ -7228,6 +7228,10 @@ const struct usb_known_product usb_known
{
USB_VENDOR_ZTE, USB_PRODUCT_ZTE_K3565Z,
"ZTE K3565-Z USB MSM modem",
+   },
+   {
+   USB_VENDOR_ZTE, USB_PRODUCT_ZTE_MSA110UP,
+   "Onda MSA110UP USB MSM modem",
},
{
USB_VENDOR_ZTE, USB_PRODUCT_ZTE_UMASS_INSTALLER2,



Re: MSA110UP 3g modem on OpenBSD 4.8

2011-03-14 Thread Stuart Henderson
In gmane.os.openbsd.misc, you wrote:
> i'm trying to get my MSA110UP 3g modem working on OpenBSD 4.8. But I think
> it is recognized as a hard disk device, like in Linux. There I had to
> install usb-modeswitch to connect, but I've heard it won't compile on
> OpenBSD.

Try: eject sd1

If that works then we can add it as a DEV_UMASS4 device



Re: MSA110UP 3g modem on OpenBSD 4.8

2011-03-14 Thread David Coppa
On Mon, Mar 14, 2011 at 2:26 PM, Sergio Charpinel Jr.
 wrote:

>  port 1 addr 2: full speed, power 500 mA, config 1, ONDA WCDMA Technologies
> MSM(0x0091), ONDA,Incorporated(0x19d2), rev 0.00, iSerialNumber
> P671A2ODTD01

It should be a DEV_UMASS4 device, just like the ZTE MF633 and the ZTE
MF637...

I'll cook up a patch for you to try out when I'll be back @home.

Ciao,
David