Hi,

I've a problem with a Sierra Wireless AirCard 881 (PCMCIA) on my ThinkPad X41.
It correctly attaches as umsm0, but then only the first port (ucom0) is 
configured and this port is not "AT-capable". The card has instead four serial 
ports and the third (ucom2) is the one that accepts AT commands.

Since this card works ok under both winxp and linux, I think I can exclude 
hardware related problems.

This is an extract from dmesg:

ohci0 at cardbus0 dev 0 function 0 "NEC USB" rev 0x43: irq 11, version 1.0
usb5 at ohci0: USB revision 1.0
uhub5 at usb5 "NEC OHCI root hub" rev 1.00/1.00 addr 1
ohci1 at cardbus0 dev 0 function 1 "NEC USB" rev 0x43: irq 11, version 1.0
usb6 at ohci1: USB revision 1.0
uhub6 at usb6 "NEC OHCI root hub" rev 1.00/1.00 addr 1
umsm0 at uhub5 port 1 configuration 1 interface 0 "Sierra Wireless, 
Incorporated AirCard" rev 1.10/0.02 addr 2
ucom0 at umsm0

And output from "usbdevs -dv":

Controller /dev/usb0:
addr 1: high speed, self powered, config 1, EHCI root hub(0x0000), 
Intel(0x8086), rev 1.00
 port 1 powered
 port 2 powered
 port 3 addr 2: high speed, self powered, config 1, External HDD(0x0701), 
Western Digital(0x1058), rev 2.40, iSerialNumber DEF10C20641E
 port 4 powered
 port 5 powered
 port 6 powered
 port 7 powered
 port 8 powered
Controller /dev/usb1:
addr 1: full speed, self powered, config 1, UHCI root hub(0x0000), 
Intel(0x8086), rev 1.00
 port 1 powered
 port 2 powered
Controller /dev/usb2:
addr 1: full speed, self powered, config 1, UHCI root hub(0x0000), 
Intel(0x8086), rev 1.00
 port 1 powered
 port 2 powered
Controller /dev/usb3:
addr 1: full speed, self powered, config 1, UHCI root hub(0x0000), 
Intel(0x8086), rev 1.00
 port 1 addr 2: full speed, power 90 mA, config 1, product 0x2441(0x2441), 
Actiontec Electronics(0x1668), rev 5.46, iSerialNumber \u303
 port 2 addr 3: full speed, power 100 mA, config 1, Biometric 
Coprocessor(0x2016), STMicroelectronics(0x0483), rev 0.01
Controller /dev/usb4:
addr 1: full speed, self powered, config 1, UHCI root hub(0x0000), 
Intel(0x8086), rev 1.00
 port 1 powered
 port 2 powered
Controller /dev/usb5:
addr 1: full speed, self powered, config 1, OHCI root hub(0x0000), NEC(0x1033), 
rev 1.00
 port 1 addr 2: full speed, power 500 mA, config 1, AirCard(0x6851), Sierra 
Wireless, Incorporated(0x1199), rev 0.02


Following are informations I've collected using a linux livecd: note that we 
have four ports recognized as ttyUSB0, ttyUSB1, ttyUSB2 and ttyUSB3, where 
/dev/ttyUSB2 is the one that can be used for ppp.

Can anybody help me?
I think we're missing some sort of wake-up/power-on routine for this card in 
our umsm driver.

cheers,
David


Output from minicom:

OK                                                                         
ATI                                                                        
Manufacturer: Sierra Wireless, Inc.
Model: AC881
Revision: F1_2_3_15CAP C:/WS/FW/F1_2_3_15CAP/MSM7200R3/SRC/AMSS 2008/09/10 
15:53:10
IMEI: ***************
IMEI SV: 14
FSN: D411658138912
3GPP Release 6
+GCAP: +CGSM,+DS,+ES


OK
AT+COPS?
+COPS: 0,0,"vodafone IT",2

OK


dmesg:

[   77.491500] ohci_hcd 0000:05:00.0: enabling device (0000 -> 0002)
[   77.491511] ohci_hcd 0000:05:00.0: PCI INT A -> GSI 16 (level, low) -> IRQ 16
[   77.491541] ohci_hcd 0000:05:00.0: setting latency timer to 64
[   77.491546] ohci_hcd 0000:05:00.0: OHCI Host Controller
[   77.491585] ohci_hcd 0000:05:00.0: new USB bus registered, assigned bus 
number 6
[   77.491610] ohci_hcd 0000:05:00.0: irq 16, io mem 0xa4000000
[   77.572773] usb usb6: configuration #1 chosen from 1 choice
[   77.572819] hub 6-0:1.0: USB hub found
[   77.572833] hub 6-0:1.0: 1 port detected
[   77.573343] ohci_hcd 0000:05:00.1: enabling device (0000 -> 0002)
[   77.573356] ohci_hcd 0000:05:00.1: PCI INT B -> GSI 16 (level, low) -> IRQ 16
[   77.573388] ohci_hcd 0000:05:00.1: setting latency timer to 64
[   77.573394] ohci_hcd 0000:05:00.1: OHCI Host Controller
[   77.573427] ohci_hcd 0000:05:00.1: new USB bus registered, assigned bus 
number 7
[   77.573452] ohci_hcd 0000:05:00.1: irq 16, io mem 0xa4001000
[   77.658269] usb usb7: configuration #1 chosen from 1 choice
[   77.658326] hub 7-0:1.0: USB hub found
[   77.658340] hub 7-0:1.0: 1 port detected
[   81.888031] usb 6-1: new full speed USB device using ohci_hcd and address 2
[   82.033068] usb 6-1: configuration #1 chosen from 1 choice
[   82.276708] usbcore: registered new interface driver usbserial
[   82.276724] USB Serial support registered for generic
[   82.276769] usbcore: registered new interface driver usbserial_generic
[   82.276772] usbserial: USB Serial Driver core
[   82.279113] USB Serial support registered for Sierra USB modem
[   82.279147] sierra 6-1:1.0: Sierra USB modem converter detected
[   82.281142] usb 6-1: Sierra USB modem converter now attached to ttyUSB0
[   82.281223] usb 6-1: Sierra USB modem converter now attached to ttyUSB1
[   82.281296] usb 6-1: Sierra USB modem converter now attached to ttyUSB2
[   82.281369] usb 6-1: Sierra USB modem converter now attached to ttyUSB3
[   82.281388] usbcore: registered new interface driver sierra
[   82.281391] sierra: v.1.3.3:USB Driver for Sierra Wireless USB modems


lsusb output:

Bus 006 Device 002: ID 1199:6851 Sierra Wireless, Inc. AirCard 881 Device
Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB               1.10
  bDeviceClass            0 (Defined at Interface level)
  bDeviceSubClass         0 
  bDeviceProtocol         0 
  bMaxPacketSize0        64
  idVendor           0x1199 Sierra Wireless, Inc.
  idProduct          0x6851 AirCard 881 Device
  bcdDevice            0.02
  iManufacturer           1 Sierra Wireless, Incorporated
  iProduct                2 AirCard
  iSerial                 0 
  bNumConfigurations      1
  Configuration Descriptor:
    bLength                 9
    bDescriptorType         2
    wTotalLength           81
    bNumInterfaces          1
    bConfigurationValue     1
    iConfiguration          0 
    bmAttributes         0xa0
      (Bus Powered)
      Remote Wakeup
    MaxPower              500mA
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        0
      bAlternateSetting       0
      bNumEndpoints           9
      bInterfaceClass       255 Vendor Specific Class
      bInterfaceSubClass    255 Vendor Specific Subclass
      bInterfaceProtocol    255 Vendor Specific Protocol
      iInterface              3 Data Interface
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x81  EP 1 IN
        bmAttributes            3
          Transfer Type            Interrupt
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0010  1x 16 bytes
        bInterval             128
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x82  EP 2 IN
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0040  1x 64 bytes
        bInterval               0
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x02  EP 2 OUT
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0040  1x 64 bytes
        bInterval               0
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x84  EP 4 IN
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0040  1x 64 bytes
        bInterval               0
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x04  EP 4 OUT
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0040  1x 64 bytes
        bInterval               0
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x85  EP 5 IN
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0040  1x 64 bytes
        bInterval               0
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x05  EP 5 OUT
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0040  1x 64 bytes
        bInterval               0
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x83  EP 3 IN
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0040  1x 64 bytes
        bInterval               0
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x03  EP 3 OUT
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0040  1x 64 bytes
        bInterval               0
Device Status:     0x0000
  (Bus Powered)


I forgot to say that I'm running the latest -current. Here's my dmesg:


OpenBSD 4.6-current (GENERIC) #442: Sun Nov 29 23:02:05 MST 2009
    dera...@i386.openbsd.org:/usr/src/sys/arch/i386/compile/GENERIC
cpu0: Intel(R) Pentium(R) M processor 1.60GHz ("GenuineIntel" 686-class) 1.60 
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,TM,SBF,EST,TM2
real mem  = 2137485312 (2038MB)
avail mem = 2062401536 (1966MB)
mainbus0 at root
bios0 at mainbus0: AT/286+ BIOS, date 12/14/06, BIOS32 rev. 0 @ 0xfd750, SMBIOS 
rev. 2.33 @ 0xe0010 (59 entries)
bios0: vendor IBM version "74ET64WW (2.09 )" date 12/14/2006
bios0: IBM 2525E2G
apm0 at bios0: Power Management spec V1.2
apm0: battery life expectancy 100%
apm0: AC on, battery charge high
acpi at bios0 function 0x0 not configured
pcibios0 at bios0: rev 2.1 @ 0xfd6e0/0x920
pcibios0: PCI IRQ Routing Table rev 1.0 @ 0xfdec0/240 (13 entries)
pcibios0: PCI Interrupt Router at 000:31:0 ("Intel 82371FB ISA" rev 0x00)
pcibios0: PCI bus #5 is the last bus
bios0: ROM list: 0xc0000/0xf600! 0xcf800/0x1600 0xd1000/0x1000 0xdc000/0x4000! 
0xe0000/0x10000
cpu0 at mainbus0: (uniprocessor)
cpu0: Enhanced SpeedStep 1597 MHz: speeds: 1600, 1500, 1400, 1300, 1200, 1100, 
1000, 900, 800, 600 MHz
pci0 at mainbus0 bus 0: configuration mode 1 (bios)
mem address conflict 0x7f700000/0x80000
io address conflict 0x5800/0x8
io address conflict 0x5808/0x4
io address conflict 0x5810/0x8
io address conflict 0x580c/0x4
pchb0 at pci0 dev 0 function 0 "Intel 82915GM Host" rev 0x03
vga1 at pci0 dev 2 function 0 "Intel 82915GM Video" rev 0x03
wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
intagp0 at vga1
agp0 at intagp0: aperture at 0xc0000000, size 0x10000000
inteldrm0 at vga1: irq 11
drm0 at inteldrm0
"Intel 82915GM Video" rev 0x03 at pci0 dev 2 function 1 not configured
ppb0 at pci0 dev 28 function 0 "Intel 82801FB PCIE" rev 0x03: irq 11
pci1 at ppb0 bus 2
bge0 at pci1 dev 0 function 0 "Broadcom BCM5751M" rev 0x11, BCM5750 B1 
(0x4101): irq 11, address 00:16:d3:23:b7:8f
brgphy0 at bge0 phy 1: BCM5750 10/100/1000baseT PHY, rev. 0
uhci0 at pci0 dev 29 function 0 "Intel 82801FB USB" rev 0x03: irq 11
uhci1 at pci0 dev 29 function 1 "Intel 82801FB USB" rev 0x03: irq 11
uhci2 at pci0 dev 29 function 2 "Intel 82801FB USB" rev 0x03: irq 11
uhci3 at pci0 dev 29 function 3 "Intel 82801FB USB" rev 0x03: irq 11
ehci0 at pci0 dev 29 function 7 "Intel 82801FB USB" rev 0x03: irq 11
usb0 at ehci0: USB revision 2.0
uhub0 at usb0 "Intel EHCI root hub" rev 2.00/1.00 addr 1
ppb1 at pci0 dev 30 function 0 "Intel 82801BAM Hub-to-PCI" rev 0xd3
pci2 at ppb1 bus 4
cbb0 at pci2 dev 0 function 0 "Ricoh 5C476 CardBus" rev 0x8d: irq 11
sdhc0 at pci2 dev 0 function 1 "Ricoh 5C822 SD/MMC" rev 0x13: irq 11
sdmmc0 at sdhc0
ral0 at pci2 dev 2 function 0 "Ralink RT2561" rev 0x00: irq 10, address 
00:0d:f0:3e:6e:a0
ral0: MAC/BBP RT2561C, RF RT2527
cardslot0 at cbb0 slot 0 flags 0
cardbus0 at cardslot0: bus 5 device 0 cacheline 0x0, lattimer 0xb0
pcmcia0 at cardslot0
auich0 at pci0 dev 30 function 2 "Intel 82801FB AC97" rev 0x03: irq 5, ICH6 AC97
ac97: codec id 0x41445374 (Analog Devices AD1981B)
ac97: codec features headphone, 20 bit DAC, No 3D Stereo
audio0 at auich0
ichpcib0 at pci0 dev 31 function 0 "Intel 82801FBM LPC" rev 0x03: PM disabled
pciide0 at pci0 dev 31 function 2 "Intel 82801FBM SATA" rev 0x03: DMA, channel 
0 wired to compatibility, channel 1 wired to compatibility
wd0 at pciide0 channel 0 drive 0: <HTC426060G9AT00>
wd0: 16-sector PIO, LBA, 57231MB, 117210240 sectors
wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 5
ichiic0 at pci0 dev 31 function 3 "Intel 82801FB SMBus" rev 0x03: irq 11
iic0 at ichiic0
spdmem0 at iic0 addr 0x51: 2GB DDR2 SDRAM non-parity PC2-5300CL5 SO-DIMM
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
pcppi0 at isa0 port 0x61
midi0 at pcppi0: <PC speaker>
spkr0 at pcppi0
aps0 at isa0 port 0x1600/31
npx0 at isa0 port 0xf0/16: reported by CPUID; using exception 16
biomask ebdd netmask efdd ttymask ffdf
mtrr: Pentium Pro MTRR support
ubt0 at uhub3 port 1 "Actiontec Electronics product 0x2441" rev 1.10/5.46 addr 2
ugen0 at uhub3 port 2 "STMicroelectronics Biometric Coprocessor" rev 1.00/0.01 
addr 3
vscsi0 at root
scsibus0 at vscsi0: 256 targets
softraid0 at root
root on wd0a swap on wd0b dump on wd0b
ohci0 at cardbus0 dev 0 function 0 "NEC USB" rev 0x43: irq 11, version 1.0
usb5 at ohci0: USB revision 1.0
uhub5 at usb5 "NEC OHCI root hub" rev 1.00/1.00 addr 1
ohci1 at cardbus0 dev 0 function 1 "NEC USB" rev 0x43: irq 11, version 1.0
usb6 at ohci1: USB revision 1.0
uhub6 at usb6 "NEC OHCI root hub" rev 1.00/1.00 addr 1
umsm0 at uhub5 port 1 configuration 1 interface 0 "Sierra Wireless, 
Incorporated AirCard" rev 1.10/0.02 addr 2
ucom0 at umsm0
ucom0 detached
umsm0 detached
umsm0 at uhub5 port 1 configuration 1 interface 0 "Sierra Wireless, 
Incorporated AirCard" rev 1.10/0.02 addr 2
ucom0 at umsm0

Reply via email to