Re: Missing ucom2 for Option GlobeTrotter HSDPA ICON225 USB

2012-09-10 Thread Ingo Feinerer
On Tue, Sep 04, 2012 at 03:53:34PM +0200, Ingo Feinerer wrote:
 According to the man page of umsm(4) the Option GlobeTrotter HSDPA
 ICON225 USB is a supported device which is known to work.
 
 After attaching the device I get
 
 umsm0 at uhub3 port 1 configuration 1 interface 0 Option N.V. Globetrotter 
 HSDPA Modem rev 1.10/0.00 addr 2
 umsm0 detached
 umsm0 at uhub3 port 1 configuration 1 interface 0 Option N.V. Globetrotter 
 HSDPA Modem rev 1.10/0.00 addr 2
 ucom0 at umsm0
 umsm1 at uhub3 port 1 configuration 1 interface 1 Option N.V. Globetrotter 
 HSDPA Modem rev 1.10/0.00 addr 2
 ucom1 at umsm1
 
 umsm(4) says
 
 The Option GlobeTrotter HSDPA/HSUPA modems have three serial ports, but
 only the last port can be used to make PPP connections.
 
 Unfortunately I see only two serial ports (ucom0 and ucom1) where none
 of them respond to input nor echo my input (tested with sudo cu -l
 /dev/cuaU0 and sudo cu -l /dev/cuaU1; ppp(8) does not work either).
 This is in line with the statement above but the problem is there is no
 third port detected which is claimed to work!

Solved.

The problem was that the modem interface was deactivated and thus not
reported when attached via USB. I was able to reconfigure the device as
described at
http://www.fli4l.de/fileadmin/doc/deutsch/html/fli4l-3.6.1/node99.html#SECTION001192000
(the site is in German but the commands are pretty self-explaining) via
a Linux system. Now the device correctly reports as

umsm0 at uhub4 port 1 configuration 1 interface 0 Option N.V. Globetrotter 
HSDPA Modem rev 1.10/0.00 addr 2
umsm0 detached
umsm0 at uhub4 port 1 configuration 1 interface 0 Option N.V. Globetrotter 
HSDPA Modem rev 1.10/0.00 addr 2
ucom0 at umsm0
umsm1 at uhub4 port 1 configuration 1 interface 1 Option N.V. Globetrotter 
HSDPA Modem rev 1.10/0.00 addr 2
ucom1 at umsm1
umsm2 at uhub4 port 1 configuration 1 interface 2 Option N.V. Globetrotter 
HSDPA Modem rev 1.10/0.00 addr 2
ucom2 at umsm2

and ucom2 (/dev/cuaU2) now works as claimed in the man page.

The only unexpected remaining behavior shows up when booting OpenBSD and
the device is already plugged into a USB port. Then only the detach
happens but no reattach is performed. You can find the corresponding
full dmesg at the end of this mail.

Best regards,
Ingo

OpenBSD 5.2-current (GENERIC.MP) #8: Sat Sep  1 19:58:50 MDT 2012
dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP
real mem = 1071579136 (1021MB)
avail mem = 1020686336 (973MB)
mainbus0 at root
bios0 at mainbus0: SMBIOS rev. 2.31 @ 0xdb010 (28 entries)
bios0: vendor Hewlett-Packard version F.34 date 09/20/2005
bios0: Hewlett-Packard Pavilion zd8000 (EL020EA#ABD)
acpi0 at bios0: rev 0
acpi0: sleep states S0 S3 S4 S5
acpi0: tables DSDT FACP MCFG APIC BOOT
acpi0: wakeup devices LAN_(S4) KBC0(S3) MSE0(S3)
acpitimer0 at acpi0: 3579545 Hz, 24 bits
acpimcfg0 at acpi0 addr 0xe000, bus 0-10
acpimadt0 at acpi0 addr 0xfee0: PC-AT compat
cpu0 at mainbus0: apid 0 (boot processor)
cpu0: Intel(R) Pentium(R) 4 CPU 3.40GHz, 3391.95 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,PBE,SSE3,DTES64,MWAIT,DS-CPL,EST,CNXT-ID,CX16,xTPR,NXE,LONG
cpu0: 2MB 64b/line 8-way L2 cache
cpu0: apic clock running at 199MHz
cpu1 at mainbus0: apid 1 (application processor)
cpu1: Intel(R) Pentium(R) 4 CPU 3.40GHz, 3391.52 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,PBE,SSE3,DTES64,MWAIT,DS-CPL,EST,CNXT-ID,CX16,xTPR,NXE,LONG
cpu1: 2MB 64b/line 8-way L2 cache
ioapic0 at mainbus0: apid 2 pa 0xfec0, version 20, 24 pins
acpiprt0 at acpi0: bus 0 (PCI0)
acpiprt1 at acpi0: bus 1 (PEG_)
acpiprt2 at acpi0: bus 2 (EXP0)
acpiprt3 at acpi0: bus 11 (PCIB)
acpiec0 at acpi0
acpicpu0 at acpi0
acpicpu1 at acpi0
acpitz0 at acpi0: critical temperature is 81 degC
acpibtn0 at acpi0: LID0
acpiac0 at acpi0: AC unit online
acpibat0 at acpi0: BAT1 not present
acpibtn1 at acpi0: PWRB
acpibtn2 at acpi0: SLPB
acpivideo0 at acpi0: VGA_
pci0 at mainbus0 bus 0
pchb0 at pci0 dev 0 function 0 Intel 82915G Host rev 0x0e
ppb0 at pci0 dev 1 function 0 Intel 82915G PCIE rev 0x0e: msi
pci1 at ppb0 bus 1
vga1 at pci1 dev 0 function 0 ATI Radeon M241P rev 0x00
wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
radeondrm0 at vga1: apic 2 int 16
drm0 at radeondrm0
ppb1 at pci0 dev 28 function 0 Intel 82801FB PCIE rev 0x03: msi
pci2 at ppb1 bus 2
uhci0 at pci0 dev 29 function 0 Intel 82801FB USB rev 0x03: apic 2 int 23
uhci1 at pci0 dev 29 function 1 Intel 82801FB USB rev 0x03: apic 2 int 19
uhci2 at pci0 dev 29 function 2 Intel 82801FB USB rev 0x03: apic 2 int 18
uhci3 at pci0 dev 29 function 3 Intel 82801FB USB rev 0x03: apic 2 int 16
ehci0 at pci0 dev 29 function 7 Intel 82801FB USB rev 0x03: apic 2 int 23
usb0 at ehci0: USB revision 2.0
uhub0 at usb0 Intel EHCI 

Missing ucom2 for Option GlobeTrotter HSDPA ICON225 USB

2012-09-04 Thread Ingo Feinerer
Hi,

According to the man page of umsm(4) the Option GlobeTrotter HSDPA
ICON225 USB is a supported device which is known to work.

I got a device which is recognized by Option as iCON 225 after
entering its serial number on their support homepage (yielding as result
http://www.option.com/en/support/software-download/icon225/). So I am
pretty sure it is in fact the same device claimed to be supported by
umsm(4).

After attaching the device I get

umsm0 at uhub3 port 1 configuration 1 interface 0 Option N.V. Globetrotter 
HSDPA Modem rev 1.10/0.00 addr 2
umsm0 detached
umsm0 at uhub3 port 1 configuration 1 interface 0 Option N.V. Globetrotter 
HSDPA Modem rev 1.10/0.00 addr 2
ucom0 at umsm0
umsm1 at uhub3 port 1 configuration 1 interface 1 Option N.V. Globetrotter 
HSDPA Modem rev 1.10/0.00 addr 2
ucom1 at umsm1

umsm(4) says

The Option GlobeTrotter HSDPA/HSUPA modems have three serial ports, but
only the last port can be used to make PPP connections.

Unfortunately I see only two serial ports (ucom0 and ucom1) where none
of them respond to input nor echo my input (tested with sudo cu -l
/dev/cuaU0 and sudo cu -l /dev/cuaU1; ppp(8) does not work either).
This is in line with the statement above but the problem is there is no
third port detected which is claimed to work!

This seems to be the same problem as discussed (but not solved) in
http://marc.info/?l=openbsd-miscm=123457371231119. However there seem
to exist devices which report three ports (see e.g.
http://www.daemonforums.org/showthread.php?t=6214).

Please find attached the full dmesg and output of usbdevs -v at the
end of this posting.

Any hints are highly appreciated. It might also make sense to modify the
man page accordingly (i.e., there exist devices which do not work but
report under the same device name).

Thanks!

Best regards,
Ingo

OpenBSD 5.2-current (GENERIC.MP) #8: Sat Sep  1 19:58:50 MDT 2012
dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP
real mem = 1071579136 (1021MB)
avail mem = 1020686336 (973MB)
mainbus0 at root
bios0 at mainbus0: SMBIOS rev. 2.31 @ 0xdb010 (28 entries)
bios0: vendor Hewlett-Packard version F.34 date 09/20/2005
bios0: Hewlett-Packard Pavilion zd8000 (EL020EA#ABD)
acpi0 at bios0: rev 0
acpi0: sleep states S0 S3 S4 S5
acpi0: tables DSDT FACP MCFG APIC BOOT
acpi0: wakeup devices LAN_(S4) KBC0(S3) MSE0(S3)
acpitimer0 at acpi0: 3579545 Hz, 24 bits
acpimcfg0 at acpi0 addr 0xe000, bus 0-10
acpimadt0 at acpi0 addr 0xfee0: PC-AT compat
cpu0 at mainbus0: apid 0 (boot processor)
cpu0: Intel(R) Pentium(R) 4 CPU 3.40GHz, 3391.97 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,PBE,SSE3,DTES64,MWAIT,DS-CPL,EST,CNXT-ID,CX16,xTPR,NXE,LONG
cpu0: 2MB 64b/line 8-way L2 cache
cpu0: apic clock running at 199MHz
cpu1 at mainbus0: apid 1 (application processor)
cpu1: Intel(R) Pentium(R) 4 CPU 3.40GHz, 3391.51 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,PBE,SSE3,DTES64,MWAIT,DS-CPL,EST,CNXT-ID,CX16,xTPR,NXE,LONG
cpu1: 2MB 64b/line 8-way L2 cache
ioapic0 at mainbus0: apid 2 pa 0xfec0, version 20, 24 pins
acpiprt0 at acpi0: bus 0 (PCI0)
acpiprt1 at acpi0: bus 1 (PEG_)
acpiprt2 at acpi0: bus 2 (EXP0)
acpiprt3 at acpi0: bus 11 (PCIB)
acpiec0 at acpi0
acpicpu0 at acpi0
acpicpu1 at acpi0
acpitz0 at acpi0: critical temperature is 81 degC
acpibtn0 at acpi0: LID0
acpiac0 at acpi0: AC unit online
acpibat0 at acpi0: BAT1 not present
acpibtn1 at acpi0: PWRB
acpibtn2 at acpi0: SLPB
acpivideo0 at acpi0: VGA_
pci0 at mainbus0 bus 0
pchb0 at pci0 dev 0 function 0 Intel 82915G Host rev 0x0e
ppb0 at pci0 dev 1 function 0 Intel 82915G PCIE rev 0x0e: msi
pci1 at ppb0 bus 1
vga1 at pci1 dev 0 function 0 ATI Radeon M241P rev 0x00
wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
radeondrm0 at vga1: apic 2 int 16
drm0 at radeondrm0
ppb1 at pci0 dev 28 function 0 Intel 82801FB PCIE rev 0x03: msi
pci2 at ppb1 bus 2
uhci0 at pci0 dev 29 function 0 Intel 82801FB USB rev 0x03: apic 2 int 23
uhci1 at pci0 dev 29 function 1 Intel 82801FB USB rev 0x03: apic 2 int 19
uhci2 at pci0 dev 29 function 2 Intel 82801FB USB rev 0x03: apic 2 int 18
uhci3 at pci0 dev 29 function 3 Intel 82801FB USB rev 0x03: apic 2 int 16
ehci0 at pci0 dev 29 function 7 Intel 82801FB USB rev 0x03: 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 82801BA Hub-to-PCI rev 0xd3
pci3 at ppb2 bus 11
cbb0 at pci3 dev 0 function 0 TI PCI7XX1 CardBus rev 0x00: apic 2 int 16, 
CardBus support disabled
TI PCI7XX1 FireWire rev 0x00 at pci3 dev 0 function 2 not configured
TI PCI7XX1 Flash rev 0x00 at pci3 dev 0 function 3 not configured
sdhc0 at pci3 dev 0 function 4 TI PCI7XX1 Secure Data rev 0x00: apic 2 int 16
sdmmc0 at sdhc0
sdmmc1 at sdhc0
sdmmc2 at