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-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-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 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: procfs in OpenBSD

2009-09-22 Thread Sergio Andrés Gómez del Real
Hi.
Sorry about the late response.

I do know what problem am having and what exactly I want, sorry didn't post
my original intention.

I would like to know more about procfs implemention in OpenBSD, not just
knowing how to mount it... That's what I refered to when I said didn't have
success while googling (or something like that). I mounted procfs manually
after started (and obviously processes already started). I'm a bit lost
cause went to /proc and all processes where there, but files where empty.
I'm pretty noob at hacking the kernel (really, all i've done is trying to
figure out how can I make a switch to my 3G modem, not yet supported in the
kernel (ZTE-626)). So, finally, I would just like to know how things really
work, but not willing to just post here and wait for someone to explain me;
maybe a little reference would be great, cause very little or non literature
is found about OpenBSD implementation... (or maybe I'm struggling
searching). I just wanna say I'm loving the system (and the phylosophy).



 Great, now we have another user doing stuff without understanding why.
  Even better, it's with procfs, which none of the developers want to
 touch.

 To the original poster: I suggest you figure out what problem you're
 trying to solve now, while you're thinking about it instead of later,
 when some problem with procfs kicks you in the teeth while you're
 under a deadline.


 Philip Guenther



Re: procfs in OpenBSD

2009-09-22 Thread Sergio Andrés Gómez del Real
Hi.
Sorry about the late response.

I do know what problem am having and what exactly I want, sorry didn't post
my original intention.

I would like to know more about procfs implemention in OpenBSD, not just
knowing how to mount it... That's what I refered to when I said didn't have
success while googling (or something like that). I mounted procfs manually
after started (and obviously processes already started). I'm a bit lost
cause went to /proc and all processes where there, but files where empty.
I'm pretty noob at hacking the kernel (really, all i've done is trying to
figure out how can I make a switch to my 3G modem, not yet supported in the
kernel (ZTE-626)). So, finally, I would just like to know how things really
work, but not willing to just post here and wait for someone to explain me;
maybe a little reference would be great, cause very little or non literature
is found about OpenBSD implementation... (or maybe I'm struggling
searching). I just wanna say I'm loving the system (and the phylosophy).