On Tue, Sep 14, 2010 at 10:16:56PM +0200, Hans Petter Selasky wrote:
> On Tuesday 14 September 2010 14:53:11 Piotr Isajew wrote:
> > Hi,
> > 
> > I made some tests and it appears to work (AT commands as well as PPP
> > connections), but patching u3g.c (at least on 8.1-STABLE) is required
> > for it to work.
> > 
> > Regards,
> > 
> > Piotr
> 
> Hi,
> 
> Could you dump the device descriptor using usbconfig for your device? I just 
> want to verify your patch before committing it. And also send dmesg.
> 
> --HPS
> 
> 
Sure,

mbp# usbconfig -d ugen6.3 dump_device_desc
ugen6.3: <Globetrotter HSxPA Modem Option Wireless Technology> at usbus6, cfg=0 
md=HOST spd=FULL (12Mbps) pwr=ON

  bLength = 0x0012 
  bDescriptorType = 0x0001 
  bcdUSB = 0x0110 
  bDeviceClass = 0x00ff 
  bDeviceSubClass = 0x00ff 
  bDeviceProtocol = 0x00ff 
  bMaxPacketSize0 = 0x0040 
  idVendor = 0x0af0 
  idProduct = 0xc031 
  bcdDevice = 0x0100 
  iManufacturer = 0x0001  <Option Wireless Technology>
  iProduct = 0x0002  <Globetrotter HSxPA Modem>
  iSerialNumber = 0x0003  <serial_number>
  bNumConfigurations = 0x0001 

and dmesg output below:

Copyright (c) 1992-2010 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
        The Regents of the University of California. All rights reserved.
FreeBSD is a registered trademark of The FreeBSD Foundation.
FreeBSD 8.1-STABLE #6: Tue Sep 14 14:27:14 CEST 2010
    r...@mbp.home.aster.pl:/usr/obj/usr/src/sys/MBP i386
Timecounter "i8254" frequency 1193182 Hz quality 0
CPU: Intel(R) Core(TM)2 Duo CPU     T7500  @ 2.20GHz (2194.52-MHz 686-class CPU)
  Origin = "GenuineIntel"  Id = 0x6fa  Family = 6  Model = f  Stepping = 10
  
Features=0xbfebfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE>
  Features2=0xe3bd<SSE3,DTES64,MON,DS_CPL,VMX,EST,TM2,SSSE3,CX16,xTPR,PDCM>
  AMD Features=0x20100000<NX,LM>
  AMD Features2=0x1<LAHF>
  TSC: P-state invariant
real memory  = 2147483648 (2048 MB)
avail memory = 2073612288 (1977 MB)
ACPI APIC Table: <APPLE  Apple00>
FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs
FreeBSD/SMP: 1 package(s) x 2 core(s)
 cpu0 (BSP): APIC ID:  0
 cpu1 (AP): APIC ID:  1
ioapic0: Changing APIC ID to 1
ioapic0 <Version 2.0> irqs 0-23 on motherboard
kbd0 at kbdmux0
acpi0: <APPLE Apple00> on motherboard
acpi0: [ITHREAD]
acpi_ec0: <Embedded Controller: GPE 0x17, ECDT> port 0x62,0x66 on acpi0
acpi0: Power Button (fixed)
Timecounter "HPET" frequency 14318180 Hz quality 900
Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000
acpi_timer0: <24-bit timer at 3.579545MHz> port 0x408-0x40b on acpi0
cpu0: <ACPI CPU> on acpi0
cpu1: <ACPI CPU> on acpi0
acpi_acad0: <AC Adapter> on acpi0
acpi_lid0: <Control Method Lid Switch> on acpi0
acpi_lid0: enable wake failed
acpi_button0: <Power Button> on acpi0
acpi_button1: <Sleep Button> on acpi0
pcib0: <ACPI Host-PCI bridge> port 0xcf8-0xcff on acpi0
pci0: <ACPI PCI bus> on pcib0
pcib1: <ACPI PCI-PCI bridge> at device 1.0 on pci0
pci1: <ACPI PCI bus> on pcib1
vgapci0: <VGA-compatible display> port 0x5000-0x507f mem 
0x92000000-0x92ffffff,0x80000000-0x8fffffff,0x90000000-0x91ffffff irq 16 at 
device 0.0 on pci1
uhci0: <Intel 82801H (ICH8) USB controller USB-D> port 0x60c0-0x60df irq 20 at 
device 26.0 on pci0
uhci0: [ITHREAD]
usbus0: <Intel 82801H (ICH8) USB controller USB-D> on uhci0
uhci1: <Intel 82801H (ICH8) USB controller USB-E> port 0x60a0-0x60bf irq 16 at 
device 26.1 on pci0
uhci1: [ITHREAD]
usbus1: <Intel 82801H (ICH8) USB controller USB-E> on uhci1
ehci0: <Intel 82801H (ICH8) USB 2.0 controller USB2-B> mem 
0x9b504c00-0x9b504fff irq 21 at device 26.7 on pci0
ehci0: [ITHREAD]
usbus2: EHCI version 1.0
usbus2: <Intel 82801H (ICH8) USB 2.0 controller USB2-B> on ehci0
pci0: <multimedia, HDA> at device 27.0 (no driver attached)
pcib2: <PCI-PCI bridge> at device 28.0 on pci0
pci2: <PCI bus> on pcib2
pcib3: <ACPI PCI-PCI bridge> at device 28.2 on pci0
pci3: <ACPI PCI bus> on pcib3
pcib4: <ACPI PCI-PCI bridge> at device 28.4 on pci0
pci11: <ACPI PCI bus> on pcib4
ath0: <Atheros 5416> mem 0x97300000-0x9730ffff irq 16 at device 0.0 on pci11
ath0: [ITHREAD]
ath0: AR5418 mac 12.10 RF5133 phy 8.1
pcib5: <ACPI PCI-PCI bridge> at device 28.5 on pci0
pci12: <ACPI PCI bus> on pcib5
mskc0: <Marvell Yukon 88E8058 Gigabit Ethernet> port 0x3000-0x30ff mem 
0x97200000-0x97203fff irq 17 at device 0.0 on pci12
msk0: <Marvell Technology Group Ltd. Yukon EC Ultra Id 0xb4 Rev 0x03> on mskc0
msk0: Ethernet address: 00:1b:63:9f:a6:cd
miibus0: <MII bus> on msk0
e1000phy0: <Marvell 88E1149 Gigabit PHY> PHY 0 on miibus0
e1000phy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT, 
1000baseT-FDX, auto
mskc0: [ITHREAD]
uhci2: <Intel 82801H (ICH8) USB controller USB-A> port 0x6080-0x609f irq 16 at 
device 29.0 on pci0
uhci2: [ITHREAD]
uhci2: LegSup = 0x3000
usbus3: <Intel 82801H (ICH8) USB controller USB-A> on uhci2
uhci3: <Intel 82801H (ICH8) USB controller USB-B> port 0x6060-0x607f irq 18 at 
device 29.1 on pci0
uhci3: [ITHREAD]
usbus4: <Intel 82801H (ICH8) USB controller USB-B> on uhci3
uhci4: <Intel 82801H (ICH8) USB controller USB-C> port 0x6040-0x605f irq 21 at 
device 29.2 on pci0
uhci4: [ITHREAD]
uhci4: LegSup = 0x3000
usbus5: <Intel 82801H (ICH8) USB controller USB-C> on uhci4
ehci1: <Intel 82801H (ICH8) USB 2.0 controller USB2-A> mem 
0x9b504800-0x9b504bff irq 20 at device 29.7 on pci0
ehci1: [ITHREAD]
usbus6: EHCI version 1.0
usbus6: <Intel 82801H (ICH8) USB 2.0 controller USB2-A> on ehci1
pcib6: <ACPI PCI-PCI bridge> at device 30.0 on pci0
pci13: <ACPI PCI bus> on pcib6
fwohci0: <Texas Instruments TSB82AA2> mem 
0x97104000-0x971047ff,0x97100000-0x97103fff at device 3.0 on pci13
fwohci0: [ITHREAD]
fwohci0: OHCI version 1.10 (ROM=0)
fwohci0: No. of Isochronous channels is 4.
fwohci0: EUI64 00:1c:b3:ff:fe:a8:60:0a
fwohci0: invalid speed 7 (fixed to 3).
fwohci0: Phy 1394a available S800, 3 ports.
fwohci0: Link S800, max_rec 4096 bytes.
firewire0: <IEEE1394(FireWire) bus> on fwohci0
fwe0: <Ethernet over FireWire> on firewire0
if_fwe0: Fake Ethernet address: 02:1c:b3:a8:60:0a
fwe0: Ethernet address: 02:1c:b3:a8:60:0a
fwip0: <IP over FireWire> on firewire0
fwip0: Firewire address: 00:1c:b3:ff:fe:a8:60:0a @ 0xfffe00000000, S800, maxrec 
4096
dcons_crom0: <dcons configuration ROM> on firewire0
dcons_crom0: bus_addr 0x7ca94000
fwohci0: Initiate bus reset
fwohci0: fwohci_intr_core: BUS reset
fwohci0: fwohci_intr_core: node_id=0x00000000, SelfID Count=1, CYCLEMASTER mode
isab0: <PCI-ISA bridge> at device 31.0 on pci0
isa0: <ISA bus> on isab0
atapci0: <Intel ICH8M UDMA100 controller> port 
0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0x60e0-0x60ef irq 21 at device 31.1 on pci0
ata0: <ATA channel 0> on atapci0
ata0: [ITHREAD]
atapci1: <Intel ICH8M SATA300 controller> port 
0x60f8-0x60ff,0x6114-0x6117,0x60f0-0x60f7,0x6110-0x6113,0x6020-0x602f,0x4000-0x400f
 irq 18 at device 31.2 on pci0
atapci1: [ITHREAD]
ata2: <ATA channel 0> on atapci1
ata2: [ITHREAD]
ata3: <ATA channel 1> on atapci1
ata3: [ITHREAD]
pci0: <serial bus, SMBus> at device 31.3 (no driver attached)
battery0: <ACPI Control Method Battery> on acpi0
atrtc0: <AT realtime clock> port 0x70-0x77 on acpi0
atrtc0: Warning: Couldn't map I/O.
pmtimer0 on isa0
sc0: <System console> at flags 0x100 on isa0
sc0: VGA <16 virtual consoles, flags=0x300>
vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
ppc0: parallel port not found.
est0: <Enhanced SpeedStep Frequency Control> on cpu0
p4tcc0: <CPU Frequency Thermal Control> on cpu0
est1: <Enhanced SpeedStep Frequency Control> on cpu1
p4tcc1: <CPU Frequency Thermal Control> on cpu1
Timecounters tick every 1.000 msec
firewire0: 1 nodes, maxhop <= 0 cable IRM irm(0)  (me) 
firewire0: bus manager 0 
fwohci0: phy int
usbus0: 12Mbps Full Speed USB v1.0
usbus1: 12Mbps Full Speed USB v1.0
usbus2: 480Mbps High Speed USB v2.0
usbus3: 12Mbps Full Speed USB v1.0
usbus4: 12Mbps Full Speed USB v1.0
usbus5: 12Mbps Full Speed USB v1.0
usbus6: 480Mbps High Speed USB v2.0
ugen0.1: <Intel> at usbus0
uhub0: <Intel UHCI root HUB, class 9/0, rev 1.00/1.00, addr 1> on usbus0
ugen1.1: <Intel> at usbus1
uhub1: <Intel UHCI root HUB, class 9/0, rev 1.00/1.00, addr 1> on usbus1
ugen2.1: <Intel> at usbus2
uhub2: <Intel EHCI root HUB, class 9/0, rev 2.00/1.00, addr 1> on usbus2
ugen3.1: <Intel> at usbus3
uhub3: <Intel UHCI root HUB, class 9/0, rev 1.00/1.00, addr 1> on usbus3
ugen4.1: <Intel> at usbus4
uhub4: <Intel UHCI root HUB, class 9/0, rev 1.00/1.00, addr 1> on usbus4
ugen5.1: <Intel> at usbus5
uhub5: <Intel UHCI root HUB, class 9/0, rev 1.00/1.00, addr 1> on usbus5
ugen6.1: <Intel> at usbus6
uhub6: <Intel EHCI root HUB, class 9/0, rev 2.00/1.00, addr 1> on usbus6
acd0: DVDR <HL-DT-ST DVDRW GSA-S10N/AP09> at ata0-master UDMA33 
ad4: 114473MB <FUJITSU MHW2120BH 00810013> at ata2-master UDMA100 SATA 1.5Gb/s
uhub0: 2 ports with 2 removable, self powered
uhub1: 2 ports with 2 removable, self powered
uhub3: 2 ports with 2 removable, self powered
uhub4: 2 ports with 2 removable, self powered
uhub5: 2 ports with 2 removable, self powered
SMP: AP CPU #1 Launched!
Root mount waiting for: usbus6 usbus2
Root mount waiting for: usbus6 usbus2
uhub2: 4 ports with 4 removable, self powered
uhub6: 6 ports with 6 removable, self powered
Root mount waiting for: usbus6
ugen6.2: <vendor 0x05e3> at usbus6
uhub7: <vendor 0x05e3 USB2.0 Hub, class 9/0, rev 2.00/9.01, addr 2> on usbus6
ugen0.2: <vendor 0x05ac> at usbus0
ukbd0: <vendor 0x05ac product 0x1000, class 0/0, rev 2.00/19.65, addr 2> on 
usbus0
kbd1 at ukbd0
ums0: <vendor 0x05ac product 0x1000, class 0/0, rev 2.00/19.65, addr 2> on 
usbus0
ums0: 5 buttons and [XY] coordinates ID=0
uhub7: 4 ports with 4 removable, self powered
Root mount waiting for: usbus6
usb_alloc_device: getting device descriptor at addr 3 failed, USB_ERR_STALLED
ugen6.3: <Option Wireless Technology> at usbus6
u3g0: <Option Mux> on usbus6
u3g0: Found 3 ports.
Root mount waiting for: usbus6
usb_alloc_device: getting device descriptor at addr 4 failed, USB_ERR_STALLED
ugen6.4: <Option Wireless Technology> at usbus6
u3g1: <Option Mux> on usbus6
u3g1: Found 3 ports.
Root mount waiting for: usbus6
usb_alloc_device: getting device descriptor at addr 5 failed, USB_ERR_STALLED
ugen6.5: <Option Wireless Technology> at usbus6
u3g2: <Option Mux> on usbus6
u3g2: Found 3 ports.
Root mount waiting for: usbus6
ugen6.6: <Apple Inc.> at usbus6
Root mount waiting for: usbus6
Trying to mount root from ufs:/dev/ad4p2a
ugen5.2: <Apple Computer, Inc.> at usbus5
uhid0: <Apple Computer, Inc. IR Receiver, class 0/0, rev 2.00/0.16, addr 2> on 
usbus5
ugen5.3: <Apple Computer> at usbus5
ukbd1: <Apple Internal Keyboard> on usbus5
kbd2 at ukbd1
ums1: <Touchpad> on usbus5
ums1: 3 buttons and [XY] coordinates ID=2
uhid1: <Apple Internal Keyboard> on usbus5
msk0: link state changed to UP

Attachment: pgprF6lQV6DGy.pgp
Description: PGP signature

Reply via email to