From owner-freebsd-current@FreeBSD.ORG Wed Jun 2 14:56:30 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 13CEE16A4CE for ; Wed, 2 Jun 2004 14:56:30 -0700 (PDT) Received: from bes.amduat.net (bes.amduat.net [206.124.149.190]) by mx1.FreeBSD.org (Postfix) with ESMTP id C11CD43D45 for ; Wed, 2 Jun 2004 14:56:27 -0700 (PDT) (envelope-from jbarrett@amduat.net) Received: from osiris.attachmate.com ([63.115.16.66]) (AUTH: LOGIN jbarrett, SSL: TLSv1/SSLv3,128bits,RC4-MD5) by bes.amduat.net with esmtp; Wed, 02 Jun 2004 14:56:26 -0700 From: "Jacob S. Barrett" To: freebsd-current@freebsd.org Date: Wed, 2 Jun 2004 14:56:25 -0700 User-Agent: KMail/1.6.2 MIME-Version: 1.0 Content-Disposition: inline Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Message-Id: <200406021456.25378.jbarrett@amduat.net> Subject: USB-Serial Adapter (PL2303) Port Speed X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 02 Jun 2004 21:56:30 -0000 I am attempting to use a PL2303 cable to my cell phone as a modem. All works fine under Windows at port speed of 115200. It works fine under FreeBSD at 19200, but nothing higher. When I set a higher port speed, 38400, 57600 or 115200, the ppp chat session times out on the first AT command. I have done some googling and found that others are using the PL2303 at 115200 in FreeBSD so I am wondering if I have done something wrong or if it is currently broken. Is there any configuration that needs to be done on the uplcom driver to get it to work at higher speeds? I know that is possible that the problem insn't with the cable but with the phone, but the fact remains that it works under Windows (2K and XP), so there is something different on FreeBSD. I haven't had a chance to test under Linux yet. I see that the uplcom driver checks for a debug OID to see if it should do debugging, but I can't find the OID that it is looking for in sysctl. uname: FreeBSD osiris.amduat.net 5.2-CURRENT FreeBSD 5.2-CURRENT #9: Fri May 28 08:01:20 PDT 2004 root@osiris.amduat.net:/usr/obj/usr/src/sys/OSIRIS i386 dmesg: Copyright (c) 1992-2004 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 5.2-CURRENT #9: Fri May 28 08:01:20 PDT 2004 root@osiris.amduat.net:/usr/obj/usr/src/sys/OSIRIS Preloaded elf kernel "/boot/kernel/kernel" at 0xc08fa000. Preloaded elf module "/boot/kernel/miibus.ko" at 0xc08fa1cc. Preloaded elf module "/boot/kernel/if_wi.ko" at 0xc08fa278. Preloaded elf module "/boot/kernel/wlan.ko" at 0xc08fa324. Preloaded elf module "/boot/kernel/rc4.ko" at 0xc08fa3d0. Preloaded elf module "/boot/kernel/if_xl.ko" at 0xc08fa478. Preloaded elf module "/boot/kernel/snd_maestro3.ko" at 0xc08fa524. Preloaded elf module "/boot/kernel/snd_pcm.ko" at 0xc08fa5d8. Preloaded elf module "/boot/kernel/usb.ko" at 0xc08fa684. Preloaded elf module "/boot/kernel/ugen.ko" at 0xc08fa72c. Preloaded elf module "/boot/kernel/uhid.ko" at 0xc08fa7d8. Preloaded elf module "/boot/kernel/ukbd.ko" at 0xc08fa884. Preloaded elf module "/boot/kernel/ulpt.ko" at 0xc08fa930. Preloaded elf module "/boot/kernel/ums.ko" at 0xc08fa9dc. Preloaded elf module "/boot/kernel/umass.ko" at 0xc08faa84. Preloaded elf module "/boot/kernel/cam.ko" at 0xc08fab30. Preloaded elf module "/boot/kernel/agp.ko" at 0xc08fabd8. Preloaded elf module "/boot/kernel/random.ko" at 0xc08fac80. Preloaded elf module "/boot/kernel/speaker.ko" at 0xc08fad2c. Preloaded elf module "/boot/kernel/acpi_video.ko" at 0xc08fadd8. Preloaded elf module "/boot/kernel/acpi.ko" at 0xc08fae88. Preloaded elf module "/boot/kernel/aio.ko" at 0xc08faf34. Preloaded elf module "/boot/kernel/fdc.ko" at 0xc08fafdc. Preloaded elf module "/boot/kernel/smbios.ko" at 0xc08fb084. Preloaded elf module "/boot/kernel/intpm.ko" at 0xc08fb130. Preloaded elf module "/boot/kernel/cbb.ko" at 0xc08fb1dc. Preloaded elf module "/boot/kernel/exca.ko" at 0xc08fb284. Preloaded elf module "/boot/kernel/pccard.ko" at 0xc08fb330. Preloaded elf module "/boot/kernel/cardbus.ko" at 0xc08fb3dc. Preloaded elf module "/boot/kernel/ppbus.ko" at 0xc08fb488. Preloaded elf module "/boot/kernel/lpt.ko" at 0xc08fb534. Preloaded elf module "/boot/kernel/uplcom.ko" at 0xc08fb5dc. Preloaded elf module "/boot/kernel/ucom.ko" at 0xc08fb688. Preloaded elf module "/boot/kernel/firewire.ko" at 0xc08fb734. link_elf: symbol ppb_request_bus undefined KLD file lpt.ko - could not finalize loading Timecounter "i8254" frequency 1193182 Hz quality 0 CPU: Intel Pentium III (848.15-MHz 686-class CPU) Origin = "GenuineIntel" Id = 0x686 Stepping = 6 Features=0x383f9ff real memory = 536780800 (511 MB) avail memory = 515522560 (491 MB) random: Pentium Pro MTRR support enabled npx0: [FAST] npx0: on motherboard npx0: INT 16 interface acpi0: on motherboard acpi0: [GIANT-LOCKED] pcibios: BIOS version 2.10 Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000 acpi_timer0: <24-bit timer at 3.579545MHz> port 0x808-0x80b on acpi0 cpu0: on acpi0 acpi_tz0: on acpi0 acpi_acad0: on acpi0 acpi_cmbat0: on acpi0 acpi_cmbat1: on acpi0 acpi_lid0: on acpi0 acpi_button0: on acpi0 acpi_button1: on acpi0 pcib0: port 0xcf8-0xcff on acpi0 pci0: on pcib0 pcib0: slot 31 INTD is routed to irq 10 agp0: mem 0xe4000000-0xe7ffffff at device 0.0 on pci0 pcib1: at device 1.0 on pci0 pci1: on pcib1 pcib1: slot 0 INTA is routed to irq 11 pci1: at device 0.0 (no driver attached) pcib2: at device 30.0 on pci0 pci2: on pcib2 pcib2: slot 3 INTA is routed to irq 5 pcib2: slot 6 INTA is routed to irq 10 pcib2: slot 6 INTA is routed to irq 10 pcib2: slot 15 INTA is routed to irq 10 pcm0: port 0xec00-0xecff mem 0xf8ffe000-0xf8ffffff irq 5 at device 3.0 on pci2 pcm0: failed: rid 0x10 is ioport, requested 3 pcm0: [GIANT-LOCKED] pcm0: xl0: <3Com 3c556 Fast Etherlink XL> port 0xe800-0xe8ff mem 0xf8ffd800-0xf8ffd87f,0xf8ffdc00-0xf8ffdc7f irq 10 at device 6.0 on pci2 miibus0: on xl0 tdkphy0: on miibus0 tdkphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto xl0: Ethernet address: 00:01:03:87:0b:fd xl0: [GIANT-LOCKED] pci2: at device 6.1 (no driver attached) cbb0: at device 15.0 on pci2 cardbus0: on cbb0 pccard0: <16-bit PCCard bus> on cbb0 pcib2: slot 15 INTA is routed to irq 10 cbb1: at device 15.1 on pci2 cardbus1: on cbb1 pccard1: <16-bit PCCard bus> on cbb1 pcib2: slot 15 INTA is routed to irq 10 fwohci0: mem 0xf8ff8000-0xf8ffbfff,0xf8ffc800-0xf8ffcfff irq 10 at device 15.2 on pci2 fwohci0: [GIANT-LOCKED] fwohci0: OHCI version 1.0 (ROM=1) fwohci0: No. of Isochronous channels is 4. fwohci0: EUI64 47:4f:c0:00:38:20:c4:01 fwohci0: Phy 1394a available S400, 1 ports. fwohci0: Link S400, max_rec 2048 bytes. firewire0: on fwohci0 fwohci0: Initiate bus reset fwohci0: node_id=0xc000ffc0, gen=1, CYCLEMASTER mode firewire0: 1 nodes, maxhop <= 0, cable IRM = 0 (me) firewire0: bus manager 0 (me) isab0: at device 31.0 on pci0 isa0: on isab0 atapci0: port 0xbfa0-0xbfaf,0x376,0x170-0x177,0x3f6,0x1f0-0x1f7 at device 31.1 on pci0 ata0: at 0x1f0 irq 14 on atapci0 ata1: at 0x170 irq 15 on atapci0 uhci0: port 0xdce0-0xdcff irq 10 at device 31.2 on pci0 uhci0: [GIANT-LOCKED] usb0: on uhci0 usb0: USB revision 1.0 uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub0: 2 ports with 2 removable, self powered ums0: Logitech Inc. iFeel Mouse, rev 1.00/1.01, addr 2, iclass 3/1 ums0: 3 buttons and Z dir. atkbdc0: port 0x64,0x60 irq 1 on acpi0 atkbd0: flags 0x1 irq 1 on atkbdc0 kbd0 at atkbd0 atkbd0: [GIANT-LOCKED] psm0: irq 12 on atkbdc0 psm0: [GIANT-LOCKED] psm0: model Generic PS/2 mouse, device ID 0 speaker0 port 0x67,0x65,0x63,0x61 on acpi0 fdc0: port 0x3f7,0x3f2-0x3f5 irq 6 drq 2 on acpi0 fdc0: FIFO enabled, 8 bytes threshold fd0: <1440-KB 3.5" drive> on fdc0 drive 0 sio0 port 0x3f8-0x3ff irq 4 on acpi0 sio0: type 16550A acpi_video0: on acpi0 smbios0: at iomem 0xf6ed0-0xf6eee on motherboard smbios0: Version: 2.03 pmtimer0 on isa0 orm0: