After update firmware on the modem I made some changes to the your patch (change id), it writes in dmesg: umsm0 at uhub2 port 5 configuration 1 interface 0 "HUAWEI Technology HUAWEI Mobile" rev 2.00/1.02 addr 3 umsm0 detached umsm0 at uhub2 port 5 configuration 1 interface 0 "HUAWEI Technology HUAWEI Mobile" rev 2.00/1.02 addr 3 ucom0 at umsm0 umsm1 at uhub2 port 5 configuration 1 interface 1 "HUAWEI Technology HUAWEI Mobile" rev 2.00/1.02 addr 3 umsm2 at uhub2 port 5 configuration 1 interface 2 "HUAWEI Technology HUAWEI Mobile" rev 2.00/1.02 addr 3 ucom1 at umsm2 umsm3 at uhub2 port 5 configuration 1 interface 3 "HUAWEI Technology HUAWEI Mobile" rev 2.00/1.02 addr 3 umsm3: missing endpoint umsm4 at uhub2 port 5 configuration 1 interface 4 "HUAWEI Technologies HUAWEI Mobile E3276" rev 2.00/1.02 addr 3 umsm5 at uhub2 port 5 configuration 1 interface 5 "HUAWEI Technologies HUAWEI Mobile E3276" rev 2.00/1.02 addr 3 ucom2 at umsm5
but that devices no appears in /dev On Fri, Jan 24, 2014 at 5:32 PM, ÐиÑилл Ðаплин <night...@gmail.com> wrote: > but it succesfully connects to it with program "my huawei terminal" under > windows. > anyway, thanks! > > > On Fri, Jan 24, 2014 at 5:03 PM, David Coppa <dco...@gmail.com> wrote: > >> On Fri, Jan 24, 2014 at 1:52 PM, ÐиÑилл Ðаплин <night...@gmail.com> >> wrote: >> > sorry for delay! >> > after this patch, after attach in dmesg: >> > umsm0 at uhub2 port 5 configuration 1 interface 0 "Technology Mobile" >> rev >> > 2.00/1.02 addr 3 >> > umsm0 detached >> > urndis0 at uhub2 port 5 configuration 1 interface 0 "Technology Mobile" >> rev >> > 2.00/1.02 addr 3 >> > urndis0: using Vendorurndis0: ctrl message error: wrong size 3735928559 >> > >> > 1024 >> > urndis0: unable to get query response >> > : unable to get hardware address >> > urndis1 at uhub2 port 5 configuration 1 interface 2 "Technology Mobile" >> rev >> > 2.00/1.02 addr 3 >> > urndis1: using Vendorurndis1: ctrl message error: wrong size 3736059565 >> > >> > 1024 >> > urndis1: unable to get query response >> > : unable to get hardware address >> > umass0 at uhub2 port 5 configuration 1 interface 4 "Technology Mobile" >> rev >> > 2.00/1.02 addr 3 >> > umass0: using SCSI over Bulk-Only >> > scsibus4 at umass0: 2 targets, initiator 0 >> > sd7 at scsibus4 targ 1 lun 0: <, TF CARD Storage, 2.31> SCSI2 0/direct >> > removable >> > urndis2 at uhub2 port 5 configuration 1 interface 5 "Technology Mobile" >> rev >> > 2.00/1.02 addr 3 >> > urndis2: no data interface >> >> >> Oh, so this seems to be a LTE device! >> This particular modem has no modem interface, only NDIS. >> I know nothing about these devices, I'm sorry. >> >> Ciao, >> David >> >> > On Thu, Jan 23, 2014 at 1:36 PM, David Coppa <dco...@openbsd.org> >> wrote: >> > >> >> >> >> > From: night...@gmail.com >> >> > Date: Thu, Jan 23, 2014 at 10:01 AM >> >> > Subject: Re: Trouble with Huawei e3276 >> >> > To: misc <misc@openbsd.org> >> >> >> >> ... >> >> >> >> > port 6 addr 3: high speed, power 500 mA, config 1, Mobile(0x155b), >> >> > Technology(0x12d1), rev 1.02 >> >> > umass1 >> >> >> >> ... >> >> >> >> Please try the attached diff: >> >> >> >> $ cd /usr/src/sys/dev/usb && patch -NE -i /path/to/e3276.diff >> >> >> >> And rebuild your kernel. >> >> >> >> Ciao, >> >> David >> >> >> >> Index: umsm.c >> >> =================================================================== >> >> RCS file: /cvs/src/sys/dev/usb/umsm.c,v >> >> retrieving revision 1.96 >> >> diff -u -p -u -p -r1.96 umsm.c >> >> --- umsm.c 13 Dec 2013 17:43:07 -0000 1.96 >> >> +++ umsm.c 23 Jan 2014 09:27:57 -0000 >> >> @@ -138,6 +138,7 @@ static const struct umsm_type umsm_devs[ >> >> {{ USB_VENDOR_HUAWEI, USB_PRODUCT_HUAWEI_E1820 }, >> DEV_UMASS5}, >> >> {{ USB_VENDOR_HUAWEI, USB_PRODUCT_HUAWEI_E220 }, DEV_HUAWEI}, >> >> {{ USB_VENDOR_HUAWEI, USB_PRODUCT_HUAWEI_E303 }, DEV_UMASS5}, >> >> + {{ USB_VENDOR_HUAWEI, USB_PRODUCT_HUAWEI_E3276 }, >> DEV_UMASS5}, >> >> {{ USB_VENDOR_HUAWEI, USB_PRODUCT_HUAWEI_E353_INIT }, >> >> DEV_UMASS5}, >> >> {{ USB_VENDOR_HUAWEI, USB_PRODUCT_HUAWEI_E510 }, DEV_HUAWEI}, >> >> {{ USB_VENDOR_HUAWEI, USB_PRODUCT_HUAWEI_E618 }, DEV_HUAWEI}, >> >> Index: usbdevs >> >> =================================================================== >> >> RCS file: /cvs/src/sys/dev/usb/usbdevs,v >> >> retrieving revision 1.622 >> >> diff -u -p -u -p -r1.622 usbdevs >> >> --- usbdevs 22 Jan 2014 01:25:41 -0000 1.622 >> >> +++ usbdevs 23 Jan 2014 09:28:02 -0000 >> >> @@ -2153,6 +2153,7 @@ product HUAWEI K4510 0x14c5 HUAWEI >> Mob >> >> product HUAWEI E353_INIT 0x14fe HUAWEI Mobile E353 Initial >> >> product HUAWEI E392_INIT 0x1505 HUAWEI Mobile E392 Initial >> >> product HUAWEI K3765_INIT 0x1520 HUAWEI Mobile K3765 Initial >> >> +product HUAWEI E3276 0x155b HUAWEI Mobile E3276 >> >> product HUAWEI E173S 0x1c05 HUAWEI Mobile E173s >> >> product HUAWEI E173S_INIT 0x1c0b HUAWEI Mobile E173s Initial >> >> product HUAWEI E303 0x1f01 HUAWEI Mobile E303 >> >> Index: usbdevs.h >> >> =================================================================== >> >> RCS file: /cvs/src/sys/dev/usb/usbdevs.h,v >> >> retrieving revision 1.634 >> >> diff -u -p -u -p -r1.634 usbdevs.h >> >> --- usbdevs.h 22 Jan 2014 02:47:05 -0000 1.634 >> >> +++ usbdevs.h 23 Jan 2014 09:28:07 -0000 >> >> @@ -2160,6 +2160,7 @@ >> >> #define USB_PRODUCT_HUAWEI_E353_INIT 0x14fe /* >> HUAWEI >> >> Mobile E353 Initial */ >> >> #define USB_PRODUCT_HUAWEI_E392_INIT 0x1505 /* >> HUAWEI >> >> Mobile E392 Initial */ >> >> #define USB_PRODUCT_HUAWEI_K3765_INIT 0x1520 /* >> HUAWEI >> >> Mobile K3765 Initial */ >> >> +#define USB_PRODUCT_HUAWEI_E3276 0x155b /* >> HUAWEI >> >> Mobile E3276 */ >> >> #define USB_PRODUCT_HUAWEI_E173S 0x1c05 /* >> HUAWEI >> >> Mobile E173s */ >> >> #define USB_PRODUCT_HUAWEI_E173S_INIT 0x1c0b /* >> HUAWEI >> >> Mobile E173s Initial */ >> >> #define USB_PRODUCT_HUAWEI_E303 0x1f01 /* HUAWEI >> Mobile >> >> E303 */ >> >> Index: usbdevs_data.h >> >> =================================================================== >> >> RCS file: /cvs/src/sys/dev/usb/usbdevs_data.h,v >> >> retrieving revision 1.628 >> >> diff -u -p -u -p -r1.628 usbdevs_data.h >> >> --- usbdevs_data.h 22 Jan 2014 02:47:05 -0000 1.628 >> >> +++ usbdevs_data.h 23 Jan 2014 09:28:15 -0000 >> >> @@ -4562,6 +4562,10 @@ const struct usb_known_product usb_known >> >> "HUAWEI Mobile K3765 Initial", >> >> }, >> >> { >> >> + USB_VENDOR_HUAWEI, USB_PRODUCT_HUAWEI_E3276, >> >> + "HUAWEI Mobile E3276", >> >> + }, >> >> + { >> >> USB_VENDOR_HUAWEI, USB_PRODUCT_HUAWEI_E173S, >> >> "HUAWEI Mobile E173s", >> >> },