Date: Wed, 15 Sep 2010 04:08:23 +0200 From: Piotr Isajew <pki@ex.com.pl> To: freebsd-usb@freebsd.org Subject: Re: u3g support for Option Icon 031 modem Message-ID: <20100915020823.GB2352@zgred.localnet> In-Reply-To: <201009142216.56651.hselasky@c2i.net> References: <20100914125311.GA2319@zgred.localnet> <201009142216.56651.hselasky@c2i.net>
next in thread | previous in thread | raw e-mail | index | archive | help
--TRYliJ5NKNqkz5bu Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable 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, > >=20 > > 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. > >=20 > > Regards, > >=20 > > Piotr >=20 > Hi, >=20 > Could you dump the device descriptor using usbconfig for your device? I j= ust=20 > want to verify your patch before committing it. And also send dmesg. >=20 > --HPS >=20 >=20 Sure, mbp# usbconfig -d ugen6.3 dump_device_desc ugen6.3: <Globetrotter HSxPA Modem Option Wireless Technology> at usbus6, c= fg=3D0 md=3DHOST spd=3DFULL (12Mbps) pwr=3DON bLength =3D 0x0012=20 bDescriptorType =3D 0x0001=20 bcdUSB =3D 0x0110=20 bDeviceClass =3D 0x00ff=20 bDeviceSubClass =3D 0x00ff=20 bDeviceProtocol =3D 0x00ff=20 bMaxPacketSize0 =3D 0x0040=20 idVendor =3D 0x0af0=20 idProduct =3D 0xc031=20 bcdDevice =3D 0x0100=20 iManufacturer =3D 0x0001 <Option Wireless Technology> iProduct =3D 0x0002 <Globetrotter HSxPA Modem> iSerialNumber =3D 0x0003 <serial_number> bNumConfigurations =3D 0x0001=20 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 root@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 =3D "GenuineIntel" Id =3D 0x6fa Family =3D 6 Model =3D f Stepp= ing =3D 10 Features=3D0xbfebfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PG= E,MCA,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE> Features2=3D0xe3bd<SSE3,DTES64,MON,DS_CPL,VMX,EST,TM2,SSSE3,CX16,xTPR,PDC= M> AMD Features=3D0x20100000<NX,LM> AMD Features2=3D0x1<LAHF> TSC: P-state invariant real memory =3D 2147483648 (2048 MB) avail memory =3D 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-0x92fff= fff,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-0x9b5= 04fff 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 0x97= 200000-0x97203fff irq 17 at device 0.0 on pci12 msk0: <Marvell Technology Group Ltd. Yukon EC Ultra Id 0xb4 Rev 0x03> on ms= kc0 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, 1000= baseT-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 =3D 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 =3D 0x3000 usbus5: <Intel 82801H (ICH8) USB controller USB-C> on uhci4 ehci1: <Intel 82801H (ICH8) USB 2.0 controller USB2-A> mem 0x9b504800-0x9b5= 04bff 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=3D0) 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, ma= xrec 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=3D0x00000000, SelfID Count=3D1, CYCLEMAS= TER 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-0x17= 7,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= =2E2 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=3D0x300> 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 <=3D 0 cable IRM irm(0) (me)=20 firewire0: bus manager 0=20 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=20 ad4: 114473MB <FUJITSU MHW2120BH 00810013> at ata2-master UDMA100 SATA 1.5G= b/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 usbu= s6 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=3D0 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_STALL= ED 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_STALL= ED 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_STALL= ED 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=3D2 uhid1: <Apple Internal Keyboard> on usbus5 msk0: link state changed to UP --TRYliJ5NKNqkz5bu Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (GNU/Linux) iEYEARECAAYFAkyQKpcACgkQ0vhon0gbxdi+qQCfQms7W1EupQu9GX+Ve65TSzBz Ag0AniYq+1SODpHCTQbaRLbbpfzEoAQ6 =Vi87 -----END PGP SIGNATURE----- --TRYliJ5NKNqkz5bu--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20100915020823.GB2352>