From owner-freebsd-questions@FreeBSD.ORG Thu Oct 28 01:08:03 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9415E16A4CE for ; Thu, 28 Oct 2004 01:08:03 +0000 (GMT) Received: from catwoman.cs.moravian.edu (catwoman.cs.moravian.edu [204.186.193.3]) by mx1.FreeBSD.org (Postfix) with ESMTP id 05B0843D55 for ; Thu, 28 Oct 2004 01:08:03 +0000 (GMT) (envelope-from flash@cs.moravian.edu) Received: (from flash@localhost) by catwoman.cs.moravian.edu (8.11.7p1+Sun/8.11.7) id i9S181G07900; Wed, 27 Oct 2004 21:08:01 -0400 (EDT) Date: Wed, 27 Oct 2004 21:08:01 -0400 (EDT) Message-Id: <200410280108.i9S181G07900@catwoman.cs.moravian.edu> From: Stephen Corbesero To: freebsd-questions@freebsd.org Subject: USB not working ona Toshiba laptop X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 28 Oct 2004 01:08:03 -0000 I recently bought a Toshiba Laptop (A65-1662) and installed FreeBSD 5.x (current 5.3+). I am having trouble with the USB. It is recognized at bootup. If I have a usb device plugged in during bootup, the device is recognized, but, by the time the boot is finished, the usb port becomes disabled. If I plug devices in after bootup, they are not recognized. I have started usbd in debugging mode, and no events are ever registered, so no devices ever get attached. I have checked the original system summary from Windows, and I noticed that the irq assigned under Windows to the usb ports is 19 (?), but FreeBSD is assigning them to 5. IRQ 5 just happens to be the irq for the software winmodem, which does not get recognized by FreeBSD, even with the ltmdm port. So, I am thinking that the winmodem is somehow attaching to irq5 even though it is not really a valid device. I have tried to get the usb devices to load at a different interrupt, but they are pci devices and don't appear to follow any loader hints. Anyway, I was wondering if anyone can help. It would be really nice to use my usb ports. Here is my dmesg output 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.3-STABLE #10: Wed Oct 27 17:36:52 EDT 2004 flashr@aragorn.corbesero.com:/usr/src/sys/i386/compile/ARAGORN Timecounter "i8254" frequency 1193182 Hz quality 0 CPU: Intel(R) Celeron(R) CPU 2.53GHz (2533.44-MHz 686-class CPU) Origin = "GenuineIntel" Id = 0xf33 Stepping = 3 Features=0xbfebfbff real memory = 738131968 (703 MB) avail memory = 712556544 (679 MB) acpi0: on motherboard acpi0: Power Button (fixed) acpi_ec0: port 0x66,0x62 on acpi0 Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000 acpi_timer0: <32-bit timer at 3.579545MHz> port 0x4008-0x400b on acpi0 cpu0: on acpi0 acpi_tz0: on acpi0 acpi_lid0: on acpi0 acpi_button0: on acpi0 acpi_acad0: on acpi0 acpi_cmbat0: on acpi0 pcib0: port 0xcf8-0xcff iomem 0xfff80000-0xffffffff on acpi0 pci0: on pcib0 pcib1: at device 1.0 on pci0 pci1: on pcib1 drm0: port 0xc000-0xc0ff mem 0xe0000000-0xe000ffff,0xa0000000-0xa7ffffff irq 11 at device 5.0 on pci1 info: [drm] Initialized radeon 1.11.0 20020828 on minor 0 ohci0: mem 0xf0001000-0xf0001fff irq 5 at device 19.0 on pci0 ohci0: [GIANT-LOCKED] usb0: OHCI version 1.0, legacy support usb0: on ohci0 usb0: USB revision 1.0 uhub0: (0x1002) OHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub0: 3 ports with 3 removable, self powered ohci1: mem 0xf0002000-0xf0002fff irq 5 at device 19.1 on pci0 ohci1: [GIANT-LOCKED] usb1: OHCI version 1.0, legacy support usb1: on ohci1 usb1: USB revision 1.0 uhub1: (0x1002) OHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub1: 3 ports with 3 removable, self powered ehci0: mem 0xf0003000-0xf0003fff irq 5 at device 19.2 on pci0 ehci0: [GIANT-LOCKED] ehci_pci_attach: companion usb0 ehci_pci_attach: companion usb1 usb2: EHCI version 1.0 usb2: companion controllers, 3 ports each: usb0 usb1 usb2: on ehci0 usb2: USB revision 2.0 uhub2: (0x1002) EHCI root hub, class 9/0, rev 2.00/1.00, addr 1 uhub2: 6 ports with 6 removable, self powered pci0: at device 20.0 (no driver attached) atapci0: port 0x8070-0x807f,0x376,0x170-0x177,0x3f6,0x1f0-0x1f7 at device 20.1 on pci0 ata0: channel #0 on atapci0 ata1: channel #1 on atapci0 isab0: at device 20.3 on pci0 isa0: on isab0 pcib2: at device 20.4 on pci0 pci2: on pcib2 ath0: mem 0xd0010000-0xd001ffff irq 10 at device 4.0 on pci2 ath0: mac 5.9 phy 4.3 5ghz radio 4.6 ath0: Ethernet address: 00:90:96:cb:46:3a ath0: 11g rates: 1Mbps 2Mbps 5.5Mbps 11Mbps 6Mbps 9Mbps 12Mbps 18Mbps 24Mbps 36Mbps 48Mbps 54Mbps cbb0: at device 6.0 on pci2 cardbus0: on cbb0 pccard0: <16-bit PCCard bus> on cbb0 rl0: port 0xa000-0xa0ff mem 0xd0000000-0xd00000ff irq 11 at device 7.0 on pci2 miibus0: on rl0 rlphy0: on miibus0 rlphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto rl0: Ethernet address: 00:a0:d1:db:0d:f9 pci0: at device 20.5 (no driver attached) pci0: at device 20.6 (no driver attached) atkbdc0: port 0x64,0x60 irq 1 on acpi0 atkbd0: irq 1 on atkbdc0 kbd0 at atkbd0 atkbd0: [GIANT-LOCKED] psm0: found Synaptics Touchpad psm0: irq 12 on atkbdc0 psm0: [GIANT-LOCKED] psm0: model Synaptics Touchpad, device ID 0-00, 3 buttons ppc0: port 0x778-0x77b,0x378-0x37f irq 7 drq 3 on acpi0 ppc0: SMC-like chipset (ECP/EPP/PS2/NIBBLE) in COMPATIBLE mode ppc0: FIFO with 16/16/8 bytes threshold ppbus0: on ppc0 plip0: on ppbus0 lpt0: on ppbus0 lpt0: Interrupt-driven port ppi0: on ppbus0 npx0: [FAST] npx0: on motherboard npx0: INT 16 interface orm0: at iomem 0xe6000-0xe6fff,0xe0000-0xe1fff,0xc0000-0xcefff on isa0 pmtimer0 on isa0 sc0: at flags 0x100 on isa0 sc0: VGA <16 virtual consoles, flags=0x300> vga0: at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0 Timecounter "TSC" frequency 2533435471 Hz quality 800 Timecounters tick every 1.000 msec ad0: 28615MB [58140/16/63] at ata0-master UDMA33 acd0: CDRW at ata1-master UDMA33 Mounting root from ufs:/dev/ad0s1a )-- Stephen Corbesero This message brought to you by Associate Professor of Computer Science -- electrons -- Moravian College, Bethlehem, PA 18018 The Other Charged Particle