From owner-freebsd-mobile Thu Nov 28 9:20:46 2002 Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 182C137B401 for ; Thu, 28 Nov 2002 09:20:39 -0800 (PST) Received: from ddba033.netstream.ch (ddba033.netstream.ch [62.65.128.33]) by mx1.FreeBSD.org (Postfix) with ESMTP id 42FE243EB2 for ; Thu, 28 Nov 2002 09:20:27 -0800 (PST) (envelope-from oliver@cosec.org) Received: from gw.adsl.ddn-ddn-62-65-148-234.netstream.ch ([62.65.148.234] helo=cosec.org) by ddba033.netstream.ch with esmtp (Exim 3.36 #1) id 18HSKh-000Ol2-00 for freebsd-mobile@freebsd.org; Thu, 28 Nov 2002 18:20:11 +0100 Message-ID: <3DE64FB9.9030504@cosec.org> Date: Thu, 28 Nov 2002 18:17:45 +0100 From: Oliver Enzmann User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.2) Gecko/20021128 X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd-mobile@freebsd.org Subject: USB wierdness on Vaio Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: owner-freebsd-mobile@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Hi, External USB devices on my Sony VAIO R600 laptop disable the USB port under 5.0-CURRENT (cvsup'ed on the 26th): Nov 28 17:19:34 vaio kernel: usb_new_device: set address 2 failed Nov 28 17:19:34 vaio kernel: uhub_explore: usb_new_device failed, error=SET_ADDR_FAILED Nov 28 17:19:34 vaio kernel: uhub0: device problem, disabling port 1 However, this laptop also has a built-in (USB) Sony Memorystick reader that works just fine. Also, the two USB devices I am testing with work just fine with 5.0-DP2 on an old Dell laptop. The USB devices are: Iomega USB CDRW9602EXT-B Y-E DATA USB Floppy Drive On the Vaio, USB port status changes from - to 1. port 1 powered 2. port 1 addr 0 should never happen! 3. port 1 addr 2: full speed, power 100 mA, unconfigured, product \ 0x0055(0x0055), Iomega(0x059b), rev 11.00 4. port 1 enabled usbdevs -v and Dmesg below. Your help is greatly appreciated, Oliver --------------------------------------------------------------- usbdevs -v: Controller /dev/usb0: addr 1: full speed, self powered, config 1, UHCI root hub(0x0000), Intel(0x0000), rev 1.00 port 1 powered port 2 powered Controller /dev/usb1: addr 1: full speed, self powered, config 1, UHCI root hub(0x0000), Intel(0x0000), rev 1.00 port 1 addr 2: full speed, self powered, config 1, USB Memory Stick Slot(0x0056), Sony(0x054c), rev 1.80 port 2 powered --------------------------------------------------------------- dmesg: FreeBSD 5.0-CURRENT #1: Thu Nov 28 16:55:29 CET 2002 root@vaio.cosec.org:/usr/src/sys/i386/compile/VAIOMAX Preloaded elf kernel "/boot/vaiomax/kernel" at 0xc0482000. Timecounter "i8254" frequency 1193182 Hz Timecounter "TSC" frequency 844610161 Hz CPU: Pentium III/Pentium III Xeon/Celeron (844.61-MHz 686-class CPU) Origin = "GenuineIntel" Id = 0x68a Stepping = 10 Features=0x383f9ff real memory = 132644864 (126 MB) avail memory = 123904000 (118 MB) Initializing GEOMetry subsystem Pentium Pro MTRR support enabled acpi0: on motherboard Using $PIR table, 9 entries at 0xc00fdf30 Timecounter "ACPI-fast" frequency 3579545 Hz acpi_cpu0: on acpi0 acpi_tz0: on acpi0 acpi_lid0: on acpi0 acpi_button0: on acpi0 pcib0: port 0xcf8-0xcff on acpi0 ---- initial configuration ------------------------ \\_SB_.LNKA irq 9: [ 9] low,level,sharable 0.1.0 \\_SB_.LNKB irq 9: [ 9] low,level,sharable 0.1.1 \\_SB_.LNKC irq 0: [ 9] low,level,sharable 0.1.2 \\_SB_.LNKD irq 0: [ 9] low,level,sharable 0.1.3 \\_SB_.LNKA irq 9: [ 9] low,level,sharable 0.2.0 \\_SB_.LNKB irq 9: [ 9] low,level,sharable 0.31.1 \\_SB_.LNKH irq 9: [ 9] low,level,sharable 0.31.2 \\_SB_.LNKD irq 0: [ 9] low,level,sharable 0.31.3 ---- before setting priority for links ------------ \\_SB_.LNKC: interrupts: 9 penalty: 830 references: 1 priority: 0 \\_SB_.LNKD: interrupts: 9 penalty: 830 references: 2 priority: 0 ---- before fixup boot-disabled links ------------- \\_SB_.LNKD: interrupts: 9 penalty: 830 references: 2 priority: 1660 \\_SB_.LNKC: interrupts: 9 penalty: 830 references: 1 priority: 830 ---- after fixup boot-disabled links -------------- \\_SB_.LNKD: interrupts: 9 penalty: 830 references: 2 priority: 1660 \\_SB_.LNKC: interrupts: 9 penalty: 830 references: 1 priority: 830 ---- arbitrated configuration --------------------- \\_SB_.LNKA irq 9: [ 9] low,level,sharable 0.1.0 \\_SB_.LNKB irq 9: [ 9] low,level,sharable 0.1.1 \\_SB_.LNKC irq 0: [ 9] low,level,sharable 0.1.2 \\_SB_.LNKD irq 0: [ 9] low,level,sharable 0.1.3 \\_SB_.LNKA irq 9: [ 9] low,level,sharable 0.2.0 \\_SB_.LNKB irq 9: [ 9] low,level,sharable 0.31.1 \\_SB_.LNKH irq 9: [ 9] low,level,sharable 0.31.2 \\_SB_.LNKD irq 0: [ 9] low,level,sharable 0.31.3 pci0: on pcib0 agp0: mem 0xf4000000-0xf407ffff,0xf8000000-0xfbffffff irq 9 at device 2.0 on pci0 pcib1: at device 30.0 on pci0 ---- initial configuration ------------------------ \\_SB_.LNKA irq 9: [ 9] low,level,sharable 1.0.0 \\_SB_.LNKC irq 0: [ 9] low,level,sharable 1.2.0 \\_SB_.LNKD irq 0: [ 9] low,level,sharable 1.2.1 \\_SB_.LNKE irq 9: [ 9] low,level,sharable 1.8.0 \\_SB_.LNKA irq 9: [ 9] low,level,sharable 1.12.0 \\_SB_.LNKB irq 9: [ 9] low,level,sharable 1.12.1 \\_SB_.LNKC irq 0: [ 9] low,level,sharable 1.12.2 \\_SB_.LNKD irq 0: [ 9] low,level,sharable 1.12.3 ---- before setting priority for links ------------ \\_SB_.LNKD: interrupts: 9 penalty: 1670 references: 4 priority: 1660 \\_SB_.LNKC: interrupts: 9 penalty: 1670 references: 3 priority: 830 ---- before fixup boot-disabled links ------------- \\_SB_.LNKD: interrupts: 9 penalty: 1670 references: 4 priority: 6680 \\_SB_.LNKC: interrupts: 9 penalty: 1670 references: 3 priority: 5010 ---- after fixup boot-disabled links -------------- \\_SB_.LNKD: interrupts: 9 penalty: 1670 references: 4 priority: 6680 \\_SB_.LNKC: interrupts: 9 penalty: 1670 references: 3 priority: 5010 ---- arbitrated configuration --------------------- \\_SB_.LNKA irq 9: [ 9] low,level,sharable 1.0.0 \\_SB_.LNKC irq 0: [ 9] low,level,sharable 1.2.0 \\_SB_.LNKD irq 0: [ 9] low,level,sharable 1.2.1 \\_SB_.LNKE irq 9: [ 9] low,level,sharable 1.8.0 \\_SB_.LNKA irq 9: [ 9] low,level,sharable 1.12.0 \\_SB_.LNKB irq 9: [ 9] low,level,sharable 1.12.1 \\_SB_.LNKC irq 0: [ 9] low,level,sharable 1.12.2 \\_SB_.LNKD irq 0: [ 9] low,level,sharable 1.12.3 pci1: on pcib1 fwohci0: mem 0xf4104000-0xf4107fff,0xf4101000-0xf41017ff irq 9 at device 0.0 on pci1 fwohci0: PCI bus latency was changing to 250. cache size 8. fwohci0: OHCI version 1.0 (ROM=1) fwohci0: No. of Isochronous channel is 4. fwohci0: resetting OHCI...done (0) fwohci0: BUS_OPT 0xa002 -> 0xf800a002 fwohci0: Link 1394a available S400, 2 ports, maxrec 2048 bytes. fwohci0: Enable 1394a Enhancements fwohci0: EUI64 08:00:46:03:00:c3:9a:d3 fwochi_set_intr: 1 firewire0: on fwohci0 firewire0: firewire bus attach sbp_identify sbp_probe sbp0: on firewire0 sbp_attach cbb0: at device 2.0 on pci1 start (88000000) < sc->membase (f4100000) end (ffffffff) > sc->memlimit (f41fffff) cardbus0: on cbb0 pccard0: <16-bit PCCard bus> on cbb0 pcib1: possible interrupts: 9 pcib1: slot 2 INTA routed to irq 9 via \\_SB_.LNKC fxp0: port 0x3000-0x303f mem 0xf4100000-0xf4100fff irq 9 at device 8.0 on pci1 fxp0: Ethernet address 08:00:46:17:51:ab inphy0: on miibus0 inphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto isab0: at device 31.0 on pci0 isa0: on isab0 atapci0: port 0x1800-0x180f at device 31.1 on pci0 ata0: at 0x1f0 irq 14 on atapci0 ata1: at 0x170 irq 15 on atapci0 uhci0: port 0x1820-0x183f irq 9 at device 31.2 on pci0 uhci0: LegSup = 0x00001f20 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 pci0: at device 31.3 (no driver attached) uhci1: port 0x2400-0x241f irq 9 at device 31.4 on pci0 uhci1: LegSup = 0x00002f00 usb1: on uhci1 usb1: USB revision 1.0 uhub1: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub1: 2 ports with 2 removable, self powered umass0: Sony USB Memory Stick Slot, rev 1.10/1.80, addr 2 umass0: 8070i (ATAPI) over CBI with CCI (using CBI); quirks = 0x0000 umass0:1:0:-1: Attached to scbus1 as device 0 pci0: at device 31.5 (no driver attached) pci0: at device 31.6 (no driver attached) atkbdc0: port 0x64,0x60 irq 1 on acpi0 atkbd0: flags 0x1 irq 1 on atkbdc0 kbd0 at atkbd0 psm0: irq 12 on atkbdc0 psm0: model GlidePoint, device ID 0 acpi_ec0: port 0x66,0x62 on acpi0 acpi_cmbat0: on acpi0 acpi_acad0: on acpi0 sio0 port 0x3f8-0x3ff irq 4 on acpi0 sio0: type 16550A ppc0 port 0x778-0x77f,0x378-0x37f irq 7 drq 3 on acpi0 ppc0: SMC-like chipset (ECP/EPP/PS2/NIBBLE) in COMPATIBLE mode ppc0: FIFO with 16/16/15 bytes threshold lpt0: on ppbus0 lpt0: Interrupt-driven port acpi_timer0: <24-bit timer at 3.579545MHz> port 0x1008-0x100b on acpi0 npx0: on motherboard npx0: INT 16 interface pmtimer0 on isa0 orm0: