mpd: failed to open default sndio device

2019-10-18 Thread Кирилл
Hello.
After install mpd:
$ mpc play
Antimatter - Over Your Shoulder
[paused]  #1/7   0:00/4:41 (0%)
volume:100%   repeat: off   random: off   single: off   consume: off
ERROR: Failed to open "sndio output" (sndio); Failed to open default sndio
device

dmesg:
https://pastebin.com/y5A81Cqh


Re: trouble with radeon r9 290 and eduke32

2019-08-20 Thread Кирилл
Problem stays even after your patch and unset LD_PRELOAD

On Tue, Aug 20, 2019 at 10:40 AM Jonathan Gray  wrote:

> On Tue, Aug 20, 2019 at 09:43:48AM +0300,  wrote:
> > Hello,
> > When I start eduke32 with LD_PRELOAD=/usr/X11R6/lib/libGL.so.17.0  so it
> > can run in opengl,
> > on ion fury it freezes after starting the game and whole machine becomes
> > unresponsive for some time. I can ssh to it from my cell phone after some
> > time. Here is screenshot of dmesg:
> >
> > https://yadi.sk/i/C6NSFEqjxuchoA
> >
> > Here is dmesg after reboot: https://pastebin.com/HiHp8DUQ
> >
> > Help. please.
> > Thanks.
>
> Why are you using LD_PRELOAD?  OpenGL should work without that.
> eduke32 will dlopen libGL.so after libGL.so.1 can't be opened going by
> source/glad/src/glad.c.
>
> Are you using the version of eduke32 in ports?  It is quite old and
> ion fury had the initial release a few days ago.
>
> Can you reproduce this with any other game supported by eduke32?
> I don't have ion fury but have the rest (and duke3d shareware
> is installed when installing the eduke32 package).
>
> Here is an update to the latest eduke32 which has some graphical
> glitches on the title screen with duke3d shareware with inteldrm.
> Not sure if the xmp bits are properly built for the tracker music
> in ion fury.
>
> Index: Makefile
> ===
> RCS file: /cvs/ports/games/eduke32/Makefile,v
> retrieving revision 1.22
> diff -u -p -r1.22 Makefile
> --- Makefile14 Jul 2019 02:16:51 -  1.22
> +++ Makefile20 Aug 2019 07:03:43 -
> @@ -1,15 +1,14 @@
>  # $OpenBSD: Makefile,v 1.22 2019/07/14 02:16:51 naddy Exp $
>
>  COMMENT =  Enhanced Duke Nukem 3D engine
> -RDATE =20171105
> -RTAG = 6496
> +RDATE =20190818
> +RTAG = 8040
>  DISTNAME = eduke32_src_${RDATE}-${RTAG}
>  PKGNAME =  eduke32-2.0.0.${RTAG}
> -REVISION = 3
>  EXTRACT_SUFX = .tar.xz
>  CATEGORIES =   games x11
>
> -HOMEPAGE = http://www.eduke32.com/
> +HOMEPAGE = https://www.eduke32.com/
>
>  MAINTAINER =   Ryan Freeman 
>
> @@ -37,7 +36,7 @@ WANTLIB +=gtk-x11-2.0
>
>  RUN_DEPENDS =  games/duke3ddata
>
> -MASTER_SITES =
> http://dukeworld.duke4.net/eduke32/synthesis/${RDATE}-${RTAG}/
> +MASTER_SITES =
> https://dukeworld.duke4.net/eduke32/synthesis/${RDATE}-${RTAG}/
>
>  COMPILER = base-clang ports-gcc
>
> Index: distinfo
> ===
> RCS file: /cvs/ports/games/eduke32/distinfo,v
> retrieving revision 1.4
> diff -u -p -r1.4 distinfo
> --- distinfo22 Nov 2017 03:43:46 -  1.4
> +++ distinfo20 Aug 2019 06:29:45 -
> @@ -1,2 +1,2 @@
> -SHA256 (eduke32_src_20171105-6496.tar.xz) =
> 1+MCe1npolXkOvGK6Jtk+THxlaIL9kwoTLKYpdkMPrI=
> -SIZE (eduke32_src_20171105-6496.tar.xz) = 14351444
> +SHA256 (eduke32_src_20190818-8040.tar.xz) =
> NO62FnQvdvlKWlAwdVctrBboDeAFIAU8VRmS9ik0i0k=
> +SIZE (eduke32_src_20190818-8040.tar.xz) = 15922772
> Index: patches/patch-Common_mak
> ===
> RCS file: /cvs/ports/games/eduke32/patches/patch-Common_mak,v
> retrieving revision 1.1
> diff -u -p -r1.1 patch-Common_mak
> --- patches/patch-Common_mak22 Nov 2017 03:43:46 -  1.1
> +++ patches/patch-Common_mak20 Aug 2019 06:36:43 -
> @@ -3,7 +3,7 @@ $OpenBSD: patch-Common_mak,v 1.1 2017/11
>  Index: Common.mak
>  --- Common.mak.orig
>  +++ Common.mak
> -@@ -638,7 +638,7 @@ ifeq (0,$(RELEASE))
> +@@ -700,7 +700,7 @@ ifeq (0,$(RELEASE))
>   F_NO_STACK_PROTECTOR :=
>   else
>   ifeq (0,$(CLANG))
> @@ -11,4 +11,4 @@ Index: Common.mak
>  +#COMMONFLAGS += -funswitch-loops
>   endif
>
> - ifeq (0,$(DEBUGANYWAY))
> + ifeq (0,$(FORCEDEBUG))
> Index: patches/patch-GNUmakefile
> ===
> RCS file: /cvs/ports/games/eduke32/patches/patch-GNUmakefile,v
> retrieving revision 1.2
> diff -u -p -r1.2 patch-GNUmakefile
> --- patches/patch-GNUmakefile   17 Jul 2018 07:56:44 -  1.2
> +++ patches/patch-GNUmakefile   20 Aug 2019 06:36:55 -
> @@ -3,7 +3,7 @@ $OpenBSD: patch-GNUmakefile,v 1.2 2018/0
>  Index: GNUmakefile
>  --- GNUmakefile.orig
>  +++ GNUmakefile
> -@@ -161,7 +161,6 @@ engine_objs := \
> +@@ -227,7 +227,6 @@ engine_objs := \
>   textfont.cpp \
>   smalltextfont.cpp \
>   kplib.cpp \
> @@ -11,7 +11,7 @@ Index: GNUmakefile
>   osd.cpp \
>   pragmas.cpp \
>   scriptfile.cpp \
> -@@ -581,7 +580,7 @@ ifeq ($(SUBPLATFORM),LINUX)
> +@@ -655,7 +654,7 @@ ifeq ($(SUBPLATFORM),LINUX)
>   endif
>
>   ifeq ($(PLATFORM),BSD)
> @@ -20,12 +20,12 @@ Index: GNUmakefile
>   endif
>
>   ifeq ($(PLATFORM),DARWIN)
> -@@ -755,7 +754,7 @@ endif
> +@@ -829,7 +828,7 @@ endif
>
>    Final setup
>
> --COMPILERFLAGS += -I$(engine_inc) -I$(mact_inc) -I$(audiolib_inc)
> -I$(enet_inc)
> -+COMPILERFLAGS := 

trouble with radeon r9 290 and eduke32

2019-08-20 Thread Кирилл
Hello,
When I start eduke32 with LD_PRELOAD=/usr/X11R6/lib/libGL.so.17.0  so it
can run in opengl,
on ion fury it freezes after starting the game and whole machine becomes
unresponsive for some time. I can ssh to it from my cell phone after some
time. Here is screenshot of dmesg:

https://yadi.sk/i/C6NSFEqjxuchoA

Here is dmesg after reboot: https://pastebin.com/HiHp8DUQ

Help. please.
Thanks.


Re: poor network performance after wake from suspend

2014-10-23 Thread Кирилл
bunch.
no.
thanks!


On Wed, Oct 22, 2014 at 11:21 AM, Mike Larkin mlar...@azathoth.net wrote:

 On Fri, Sep 26, 2014 at 11:46:04AM +0400, Кирилл  wrote:
  Hello.
  After apm -z and wake by wol (re0) sometimes machine becomes very slow on
  network operations (even ssh!)
  Help, please.
  Here is dmesg and ifconfig:
 

 ... snip ...

  re0: watchdog timeout
 

 Do you see only one of these watchdog timeouts or a bunch?

 And does this problem happen with non-WOL wakeups?

 -ml

  ifconfig re0
  re0: flags=108843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST,WOL mtu 1500
  lladdr 00:21:85:52:d5:ea
  priority: 0
  groups: egress
  media: Ethernet autoselect (100baseTX full-duplex)
  status: active
  inet6 fe80::221:85ff:fe52:d5ea%re0 prefixlen 64 scopeid 0x1
  inet 192.168.1.4 netmask 0xff00 broadcast 192.168.1.255



poor network performance after wake from suspend

2014-09-26 Thread Кирилл
Hello.
After apm -z and wake by wol (re0) sometimes machine becomes very slow on
network operations (even ssh!)
Help, please.
Here is dmesg and ifconfig:


OpenBSD 5.5 (GENERIC) #276: Wed Mar  5 09:57:06 MST 2014
dera...@i386.openbsd.org:/usr/src/sys/arch/i386/compile/GENERIC
cpu0: Intel(R) Atom(TM) CPU N270 @ 1.60GHz (GenuineIntel 686-class) 1.61
GHz
cpu0:
FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,NXE,SSE3,DTES64,MWAIT,DS-CPL,EST,TM2,SSSE3,xTPR,PDCM,MOVBE,LAHF,PERF
real mem  = 1062436864 (1013MB)
avail mem = 103228 (984MB)
mainbus0 at root
bios0 at mainbus0: AT/286+ BIOS, date 04/14/08, SMBIOS rev. 2.4 @
0x3f607010 (45 entries)
bios0: vendor American Megatrends Inc. version 4.6.3 date 07/16/2008
bios0: MICRO-STAR INTERNATIONAL CO., LTD U-100
acpi0 at bios0: rev 2
acpi0: sleep states S0 S1 S3 S4 S5
acpi0: tables DSDT FACP APIC MCFG SLIC SSDT SSDT SSDT
acpi0: wakeup devices P0P2(S4) PEGP(S4) USB0(S1) USB1(S1) USB2(S1) USB3(S1)
EHCI(S1) MC97(S4) P0P1(S4) P0P4(S4) P0P5(S4) P0P6(S4) P0P7(S4) P0P8(S4)
P0P9(S4)
acpitimer0 at acpi0: 3579545 Hz, 24 bits
acpimadt0 at acpi0 addr 0xfee0: PC-AT compat
cpu0 at mainbus0: apid 0 (boot processor)
mtrr: Pentium Pro MTRR support, 8 var ranges, 88 fixed ranges
cpu0: apic clock running at 133MHz
cpu at mainbus0: not configured
ioapic0 at mainbus0: apid 2 pa 0xfec0, version 20, 24 pins
acpimcfg0 at acpi0 addr 0xe000, bus 0-255
acpiprt0 at acpi0: bus 0 (PCI0)
acpiprt1 at acpi0: bus -1 (P0P2)
acpiprt2 at acpi0: bus 1 (P0P4)
acpiprt3 at acpi0: bus 2 (P0P5)
acpiprt4 at acpi0: bus -1 (P0P6)
acpiprt5 at acpi0: bus -1 (P0P7)
acpiprt6 at acpi0: bus -1 (P0P8)
acpiprt7 at acpi0: bus -1 (P0P9)
acpiec0 at acpi0
acpicpu0 at acpi0: C3, C2, C1, PSS
acpitz0 at acpi0: critical temperature is 100 degC
acpiac0 at acpi0: AC unit online
acpibat0 at acpi0: BAT1 model MS-N011
 serial
 type LION
 oem MSI Corp.

acpibtn0 at acpi0: LID0
acpibtn1 at acpi0: PWRB
acpibtn2 at acpi0: SLPB
acpivideo0 at acpi0: IGD_
acpivout0 at acpivideo0: LCD_
bios0: ROM list: 0xc/0xea00! 0xcf000/0x1000
cpu0: Enhanced SpeedStep 1601 MHz: speeds: 1600, 1333, 1067, 800 MHz
pci0 at mainbus0 bus 0: configuration mode 1 (bios)
pchb0 at pci0 dev 0 function 0 Intel 82945GME Host rev 0x03
vga1 at pci0 dev 2 function 0 Intel 82945GME Video rev 0x03
intagp0 at vga1
agp0 at intagp0: aperture at 0xc000, size 0x1000
inteldrm0 at vga1
drm0 at inteldrm0
composite sync not supported
composite sync not supported
inteldrm0: 1024x600
wsdisplay0 at vga1 mux 1: console (std, vt100 emulation)
wsdisplay0: screen 1-5 added (std, vt100 emulation)
Intel 82945GM Video rev 0x03 at pci0 dev 2 function 1 not configured
azalia0 at pci0 dev 27 function 0 Intel 82801GB HD Audio rev 0x02: msi
azalia0: codecs: Realtek ALC888
audio0 at azalia0
ppb0 at pci0 dev 28 function 0 Intel 82801GB PCIE rev 0x02: apic 2 int 16
pci1 at ppb0 bus 1
re0 at pci1 dev 0 function 0 Realtek 8101E rev 0x02: RTL8102E (0x3480),
msi, address 00:21:85:52:d5:ea
rlphy0 at re0 phy 7: RTL8201L 10/100 PHY, rev. 1
ppb1 at pci0 dev 28 function 1 Intel 82801GB PCIE rev 0x02: apic 2 int 17
pci2 at ppb1 bus 2
iwn0 at pci2 dev 0 function 0 Intel Wireless WiFi Link 4965 rev 0x61:
msi, MIMO 2T3R, MoW2, address 00:13:e8:7a:c3:7d
uhci0 at pci0 dev 29 function 0 Intel 82801GB USB rev 0x02: apic 2 int 23
uhci1 at pci0 dev 29 function 1 Intel 82801GB USB rev 0x02: apic 2 int 19
uhci2 at pci0 dev 29 function 2 Intel 82801GB USB rev 0x02: apic 2 int 18
uhci3 at pci0 dev 29 function 3 Intel 82801GB USB rev 0x02: apic 2 int 16
ehci0 at pci0 dev 29 function 7 Intel 82801GB USB rev 0x02: apic 2 int 23
usb0 at ehci0: USB revision 2.0
uhub0 at usb0 Intel EHCI root hub rev 2.00/1.00 addr 1
ppb2 at pci0 dev 30 function 0 Intel 82801BAM Hub-to-PCI rev 0xe2
pci3 at ppb2 bus 3
ichpcib0 at pci0 dev 31 function 0 Intel 82801GBM LPC rev 0x02: PM
disabled
pciide0 at pci0 dev 31 function 2 Intel 82801GBM SATA rev 0x02: DMA,
channel 0 wired to compatibility, channel 1 wired to compatibility
wd0 at pciide0 channel 0 drive 0: TOSHIBA MQ01ABD100
wd0: 16-sector PIO, LBA48, 953869MB, 1953525168 sectors
wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 5
usb1 at uhci0: USB revision 1.0
uhub1 at usb1 Intel UHCI root hub rev 1.00/1.00 addr 1
usb2 at uhci1: USB revision 1.0
uhub2 at usb2 Intel UHCI root hub rev 1.00/1.00 addr 1
usb3 at uhci2: USB revision 1.0
uhub3 at usb3 Intel UHCI root hub rev 1.00/1.00 addr 1
usb4 at uhci3: USB revision 1.0
uhub4 at usb4 Intel UHCI root hub rev 1.00/1.00 addr 1
isa0 at ichpcib0
isadma0 at isa0
pckbc0 at isa0 port 0x60/5
pckbd0 at pckbc0 (kbd slot)
pckbc0: using irq 1 for kbd slot
wskbd0 at pckbd0: console keyboard, using wsdisplay0
pms0 at pckbc0 (aux slot)
pckbc0: using irq 12 for aux slot
wsmouse0 at pms0 mux 0
pms0: Synaptics touchpad, firmware 6.5
pcppi0 at isa0 port 0x61
spkr0 at pcppi0
npx0 at isa0 port 0xf0/16: reported by CPUID; using exception 16
umass0 at uhub0 port 6 

openbsd 5.5 sometimes trap after wake from suspend (apm -z)

2014-09-16 Thread Кирилл
Hello.
Here is trace at ddb:
http://i.imgur.com/MoPz405.jpg

Help, please!
Thanks!

Here is dmesg:
OpenBSD 5.5 (GENERIC.MP) #262: Wed Mar  5 10:06:29 MST 2014
dera...@i386.openbsd.org:/usr/src/sys/arch/i386/compile/GENERIC.MP
cpu0: Intel(R) Atom(TM) CPU N270 @ 1.60GHz (GenuineIntel 686-class) 1.61
GHz
cpu0:
FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,NXE,SSE3,DTES64,MWAIT,DS-CPL,EST,TM2,SSSE3,xTPR,PDCM,MOVBE,LAHF,PERF
real mem  = 1062436864 (1013MB)
avail mem = 1032744960 (984MB)
mainbus0 at root
bios0 at mainbus0: AT/286+ BIOS, date 04/14/08, SMBIOS rev. 2.4 @
0x3f607010 (45 entries)
bios0: vendor American Megatrends Inc. version 4.6.3 date 07/16/2008
bios0: MICRO-STAR INTERNATIONAL CO., LTD U-100
acpi0 at bios0: rev 2
acpi0: sleep states S0 S1 S3 S4 S5
acpi0: tables DSDT FACP APIC MCFG SLIC SSDT SSDT SSDT
acpi0: wakeup devices P0P2(S4) PEGP(S4) USB0(S1) USB1(S1) USB2(S1) USB3(S1)
EHCI(S1) MC97(S4) P0P1(S4) P0P4(S4) P0P5(S4) P0P6(S4) P0P7(S4) P0P8(S4)
P0P9(S4)
acpitimer0 at acpi0: 3579545 Hz, 24 bits
acpimadt0 at acpi0 addr 0xfee0: PC-AT compat
cpu0 at mainbus0: apid 0 (boot processor)
mtrr: Pentium Pro MTRR support, 8 var ranges, 88 fixed ranges
cpu0: apic clock running at 133MHz
cpu0: mwait min=64, max=64, C-substates=0.2.2.0.2, IBE
cpu1 at mainbus0: apid 1 (application processor)
cpu1: Intel(R) Atom(TM) CPU N270 @ 1.60GHz (GenuineIntel 686-class) 1.60
GHz
cpu1:
FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,NXE,SSE3,DTES64,MWAIT,DS-CPL,EST,TM2,SSSE3,xTPR,PDCM,MOVBE,LAHF,PERF
ioapic0 at mainbus0: apid 2 pa 0xfec0, version 20, 24 pins
acpimcfg0 at acpi0 addr 0xe000, bus 0-255
acpiprt0 at acpi0: bus 0 (PCI0)
acpiprt1 at acpi0: bus -1 (P0P2)
acpiprt2 at acpi0: bus 1 (P0P4)
acpiprt3 at acpi0: bus 2 (P0P5)
acpiprt4 at acpi0: bus -1 (P0P6)
acpiprt5 at acpi0: bus -1 (P0P7)
acpiprt6 at acpi0: bus -1 (P0P8)
acpiprt7 at acpi0: bus -1 (P0P9)
acpiec0 at acpi0
acpicpu0 at acpi0: C3, C2, C1, PSS
acpicpu1 at acpi0: C3, C2, C1, PSS
acpitz0 at acpi0: critical temperature is 100 degC
acpiac0 at acpi0: AC unit online
acpibat0 at acpi0: BAT1 model MS-N011
 serial
 type LION
 oem MSI Corp.

acpibtn0 at acpi0: LID0
acpibtn1 at acpi0: PWRB
acpibtn2 at acpi0: SLPB
acpivideo0 at acpi0: IGD_
acpivout0 at acpivideo0: LCD_
bios0: ROM list: 0xc/0xea00! 0xcf000/0x1000
cpu0: Enhanced SpeedStep 1600 MHz: speeds: 1600, 1333, 1067, 800 MHz
pci0 at mainbus0 bus 0: configuration mode 1 (bios)
pchb0 at pci0 dev 0 function 0 Intel 82945GME Host rev 0x03
vga1 at pci0 dev 2 function 0 Intel 82945GME Video rev 0x03
intagp0 at vga1
agp0 at intagp0: aperture at 0xc000, size 0x1000
inteldrm0 at vga1
drm0 at inteldrm0
composite sync not supported
composite sync not supported
inteldrm0: 1024x600
wsdisplay0 at vga1 mux 1: console (std, vt100 emulation)
wsdisplay0: screen 1-5 added (std, vt100 emulation)
Intel 82945GM Video rev 0x03 at pci0 dev 2 function 1 not configured
azalia0 at pci0 dev 27 function 0 Intel 82801GB HD Audio rev 0x02: msi
azalia0: codecs: Realtek ALC888
audio0 at azalia0
ppb0 at pci0 dev 28 function 0 Intel 82801GB PCIE rev 0x02: apic 2 int 16
pci1 at ppb0 bus 1
re0 at pci1 dev 0 function 0 Realtek 8101E rev 0x02: RTL8102E (0x3480),
msi, address 00:21:85:52:d5:ea
rlphy0 at re0 phy 7: RTL8201L 10/100 PHY, rev. 1
ppb1 at pci0 dev 28 function 1 Intel 82801GB PCIE rev 0x02: apic 2 int 17
pci2 at ppb1 bus 2
iwn0 at pci2 dev 0 function 0 Intel Wireless WiFi Link 4965 rev 0x61:
msi, MIMO 2T3R, MoW2, address 00:13:e8:7a:c3:7d
uhci0 at pci0 dev 29 function 0 Intel 82801GB USB rev 0x02: apic 2 int 23
uhci1 at pci0 dev 29 function 1 Intel 82801GB USB rev 0x02: apic 2 int 19
uhci2 at pci0 dev 29 function 2 Intel 82801GB USB rev 0x02: apic 2 int 18
uhci3 at pci0 dev 29 function 3 Intel 82801GB USB rev 0x02: apic 2 int 16
ehci0 at pci0 dev 29 function 7 Intel 82801GB USB rev 0x02: apic 2 int 23
usb0 at ehci0: USB revision 2.0
uhub0 at usb0 Intel EHCI root hub rev 2.00/1.00 addr 1
ppb2 at pci0 dev 30 function 0 Intel 82801BAM Hub-to-PCI rev 0xe2
pci3 at ppb2 bus 3
ichpcib0 at pci0 dev 31 function 0 Intel 82801GBM LPC rev 0x02: PM
disabled
pciide0 at pci0 dev 31 function 2 Intel 82801GBM SATA rev 0x02: DMA,
channel 0 wired to compatibility, channel 1 wired to compatibility
wd0 at pciide0 channel 0 drive 0: TOSHIBA MQ01ABD100
wd0: 16-sector PIO, LBA48, 953869MB, 1953525168 sectors
wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 5
usb1 at uhci0: USB revision 1.0
uhub1 at usb1 Intel UHCI root hub rev 1.00/1.00 addr 1
usb2 at uhci1: USB revision 1.0
uhub2 at usb2 Intel UHCI root hub rev 1.00/1.00 addr 1
usb3 at uhci2: USB revision 1.0
uhub3 at usb3 Intel UHCI root hub rev 1.00/1.00 addr 1
usb4 at uhci3: USB revision 1.0
uhub4 at usb4 Intel UHCI root hub rev 1.00/1.00 addr 1
isa0 at ichpcib0
isadma0 at isa0
pckbc0 at isa0 port 0x60/5
pckbd0 at pckbc0 (kbd slot)
pckbc0: using irq 1 for 

Re: Trouble with Huawei e3276

2014-01-24 Thread Кирилл Каплин
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



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 -  1.96
 +++ umsm.c  23 Jan 2014 09:27:57 -
 @@ -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 -  1.622
 +++ usbdevs 23 Jan 2014 09:28:02 -
 @@ -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 E3030x1f01  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 -  1.634
 +++ usbdevs.h   23 Jan 2014 09:28:07 -
 @@ -2160,6 +2160,7 @@
  #defineUSB_PRODUCT_HUAWEI_E353_INIT0x14fe  /* HUAWEI
 Mobile E353 Initial */
  #defineUSB_PRODUCT_HUAWEI_E392_INIT0x1505  /* HUAWEI
 Mobile E392 Initial */
  #defineUSB_PRODUCT_HUAWEI_K3765_INIT   0x1520  /* HUAWEI
 Mobile K3765 Initial */
 +#defineUSB_PRODUCT_HUAWEI_E32760x155b  /* HUAWEI
 Mobile E3276 */
  #defineUSB_PRODUCT_HUAWEI_E173S0x1c05  /* HUAWEI
 Mobile E173s */
  #defineUSB_PRODUCT_HUAWEI_E173S_INIT   0x1c0b  /* HUAWEI
 Mobile E173s Initial */
  #defineUSB_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 -  1.628
 +++ usbdevs_data.h  23 Jan 2014 09:28:15 -
 @@ -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,
 },



Re: Trouble with Huawei e3276

2014-01-24 Thread Кирилл Каплин
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 -  1.96
  +++ umsm.c  23 Jan 2014 09:27:57 -
  @@ -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 -  1.622
  +++ usbdevs 23 Jan 2014 09:28:02 -
  @@ -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 E3030x1f01  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 -  1.634
  +++ usbdevs.h   23 Jan 2014 09:28:07 -
  @@ -2160,6 +2160,7 @@
   #defineUSB_PRODUCT_HUAWEI_E353_INIT0x14fe  /*
 HUAWEI
  Mobile E353 Initial */
   #defineUSB_PRODUCT_HUAWEI_E392_INIT0x1505  /*
 HUAWEI
  Mobile E392 Initial */
   #defineUSB_PRODUCT_HUAWEI_K3765_INIT   0x1520  /*
 HUAWEI
  Mobile K3765 Initial */
  +#defineUSB_PRODUCT_HUAWEI_E32760x155b  /*
 HUAWEI
  Mobile E3276 */
   #defineUSB_PRODUCT_HUAWEI_E173S0x1c05  /*
 HUAWEI
  Mobile E173s */
   #defineUSB_PRODUCT_HUAWEI_E173S_INIT   0x1c0b  /*
 HUAWEI
  Mobile E173s Initial */
   #defineUSB_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 -  1.628
  +++ usbdevs_data.h   

Re: Trouble with Huawei e3276

2014-01-24 Thread Кирилл Каплин
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 -  1.96
  +++ umsm.c  23 Jan 2014 09:27:57 -
  @@ -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 -  1.622
  +++ usbdevs 23 Jan 2014 09:28:02 -
  @@ -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 E3030x1f01  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 -

Re: Trouble with Huawei e3276

2014-01-24 Thread Кирилл Каплин
Sorry, I now check /dev/cuaU* with cu and got Input/Output error on all


On Fri, Jan 24, 2014 at 10:03 PM, patrick keshishian
pkesh...@gmail.comwrote:

 On 1/24/14, Кирилл Каплин night...@gmail.com wrote:
  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

 which devices exactly were you expecting to appear
 in /dev?

 --patrick


 
 
  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 -  1.96
   +++ umsm.c  23 Jan 2014 09:27:57 -
   @@ -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 -  1.622
   +++ usbdevs 23 Jan 2014 09:28:02 -
   @@ -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
   

Re: Trouble with Huawei e3276

2014-01-23 Thread Кирилл Каплин
umass1 at uhub1 port 6 configuration 1 interface 0 Technology
Mobilerev 2.00/1.02 addr 3umass1: using SCSI over Bulk-Onlyscsibus2
at umass1: 2 targets, initiator 0cd1 at scsibus2 targ 1 lun 0: , Mass
Storage, 2.31 SCSI2 5/cdrom removable$ sudo mount /dev/cd1a /mnt$ ls
/mntAUTORUN.INF  Readme beforeinstallation
  autorun.shAutoRun.exe  Set
Whitelist For ConnectManagerinstall_linuxConnect Manager
   Startup.icoLinux
SysConfig.datand no other devices appears in dmesg



On Thu, Jan 23, 2014 at 11:51 AM, Shawn K. Quinn skqu...@rushpost.comwrote:

 On Thu, Jan 23, 2014, at 01:34 AM, Кирилл Каплин wrote:
  Hello.
  This is my trouble: huawei e3276 recognized as cdrom on OpenBSD 5.4.
  After I try to add entry with id to usbdevs and recompile the kernel, it
  start to recognize as urndis, but with errors and no success.
  Any ideas? And what info I must provide to you?

 Try to mount this cdrom and do an ls of it; a lot of devices use this
 trick to store Windows drivers without a separate physical optical disc
 shipping with the product. If so, this is fixable but slightly more
 involved than just adding a new device id to a table.

 --
   Shawn K. Quinn
   skqu...@rushpost.com



Re: Trouble with Huawei e3276

2014-01-23 Thread Кирилл Каплин
no, it doesn't re-attach as umsm. just nothing happens


On Thu, Jan 23, 2014 at 12:29 PM, David Coppa dco...@gmail.com wrote:

 On Thu, Jan 23, 2014 at 9:06 AM, Кирилл Каплин
night...@gmail.com wrote:
  umass1 at uhub1 port 6 configuration 1 interface 0 Technology
  Mobilerev 2.00/1.02 addr 3umass1: using SCSI over Bulk-Onlyscsibus2
  at umass1: 2 targets, initiator 0cd1 at scsibus2 targ 1 lun 0: , Mass
  Storage, 2.31 SCSI2 5/cdrom removable$ sudo mount /dev/cd1a /mnt$ ls
  /mntAUTORUN.INF  Readme beforeinstallation
autorun.shAutoRun.exe  Set
  Whitelist For ConnectManagerinstall_linuxConnect Manager
 Startup.icoLinux
  SysConfig.datand no other devices appears in dmesg

 Try doing eject cd1 and see if it re-attaches as umsm.

 If it does, then a DEV_UMASS? quirk will make it work.

 ciao,
 David



Re: Trouble with Huawei e3276

2014-01-23 Thread Кирилл Каплин
Controller /dev/usb0:
addr 1: high speed, self powered, config 1, EHCI root hub(0x),
Intel(0x8086), rev 1.00
  uhub0
 port 1 powered
 port 2 powered
 port 3 powered
 port 4 addr 2: high speed, power 300 mA, config 1, Wireless-G Business USB
Adapter(0x0028), Linksys(0x13b1), rev 0.01
   rum0
 port 5 powered
 port 6 addr 3: high speed, self powered, config 1, Modem Yota(0x8003), GCT
SEMICONDUCTOR Inc(0x1076), rev 1.00
   cdce0
Controller /dev/usb1:
addr 1: high speed, self powered, config 1, EHCI root hub(0x),
Intel(0x8086), rev 1.00
  uhub1
 port 1 powered
 port 2 powered
 port 3 powered
 port 4 powered
 port 5 addr 2: high speed, self powered, config 1, USB to Serial-ATA
bridge(0x0c31), Sunplus Innovation Technology(0x1bcf), rev 1.32,
iSerialNumber FF9250827A5FF1A10E
   umass0
 port 6 addr 3: high speed, power 500 mA, config 1, Mobile(0x155b),
Technology(0x12d1), rev 1.02
   umass1
Controller /dev/usb2:
addr 1: full speed, self powered, config 1, UHCI root hub(0x),
Intel(0x8086), rev 1.00
  uhub2
 port 1 powered
 port 2 powered
Controller /dev/usb3:
addr 1: full speed, self powered, config 1, UHCI root hub(0x),
Intel(0x8086), rev 1.00
  uhub3
 port 1 addr 2: full speed, power 98 mA, config 1, USB Receiver(0xc52b),
Logitech(0x046d), rev 13.00
   uhidev0
   uhidev1
   uhidev2
 port 2 powered
Controller /dev/usb4:
addr 1: full speed, self powered, config 1, UHCI root hub(0x),
Intel(0x8086), rev 1.00
  uhub4
 port 1 addr 2: low speed, power 100 mA, config 1, product 0x0011(0x0011),
Cherry Mikroschalter(0x046a), rev 1.00
   uhidev3
 port 2 powered
Controller /dev/usb5:
addr 1: full speed, self powered, config 1, UHCI root hub(0x),
Intel(0x8086), rev 1.00
  uhub5
 port 1 powered
 port 2 powered
Controller /dev/usb6:
addr 1: full speed, self powered, config 1, UHCI root hub(0x),
Intel(0x8086), rev 1.00
  uhub6
 port 1 powered
 port 2 powered
Controller /dev/usb7:
addr 1: full speed, self powered, config 1, UHCI root hub(0x),
Intel(0x8086), rev 1.00
  uhub7
 port 1 powered
 port 2 powered


On Thu, Jan 23, 2014 at 12:56 PM, David Coppa dco...@gmail.com wrote:

 On Thu, Jan 23, 2014 at 9:44 AM, Кирилл Каплин
night...@gmail.com wrote:
  no, it doesn't re-attach as umsm. just nothing happens

 Please send the output of:

 usbdevs -dv



Trouble with Huawei e3276

2014-01-22 Thread Кирилл Каплин
Hello.
This is my trouble: huawei e3276 recognized as cdrom on OpenBSD 5.4.
After I try to add entry with id to usbdevs and recompile the kernel, it
start to recognize as urndis, but with errors and no success.
Any ideas? And what info I must provide to you?