From owner-freebsd-mobile@FreeBSD.ORG Tue Jan 27 21:10:22 2004 Return-Path: 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 1F66816A4CF for ; Tue, 27 Jan 2004 21:10:22 -0800 (PST) Received: from mother.ludd.luth.se (mother.ludd.luth.se [130.240.16.3]) by mx1.FreeBSD.org (Postfix) with ESMTP id F2A4043D48 for ; Tue, 27 Jan 2004 21:09:43 -0800 (PST) (envelope-from pb@ludd.luth.se) Received: from brother.ludd.luth.se (daemon@brother.ludd.luth.se [130.240.16.78])i0S59gFv017062 for ; Wed, 28 Jan 2004 06:09:42 +0100 (MET) From: Peter B Received: (from pb@localhost) by brother.ludd.luth.se (8.11.6+Sun/8.9.3) id i0S59gW08042 for freebsd-mobile@freebsd.org; Wed, 28 Jan 2004 06:09:42 +0100 (MET) Message-Id: <200401280509.i0S59gW08042@brother.ludd.luth.se> To: freebsd-mobile@freebsd.org Date: Wed, 28 Jan 2004 06:09:42 +0100 (MET) X-Mailer: ELM [version 2.4ME+ PL54 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: USB2 on laptop.. X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 28 Jan 2004 05:10:22 -0000 I have a laptop with FreeBSD 5.2/i386 on which I want to connect a DVD-Burner. The available ports are 2xUSB1, 100Mbps ether, and Pcmcia/Cardbus. Which in practice points out the cardbus slot as the useful choice. As 1x DVD-R is the same as 8x CD-R which is 150 kB/s which rules out USB1, and there are no ethernet<->IDE adaptors (that I found). Connecting the DVD burner via IDE<->USB2 adapter should work. Now the only missing piece is the USB2 port which is gained through a cardbus usb2 card. Any tip on how to get usb2 via cardbus working? I can successfully connect a pcmcia ethernet card: ed1: at port 0x100-0x11f irq 10 function 0 config 32 on pccard0 ed1: address 00:80:ad:a9:2b:ac, type NE2000 (16 bit) But two USB2 cardbus cards fail: NEC uPD 9210 USB cardbus0: Resource not specified in CIS: id=10, size=1000 ohci0: mem 0x80101000-0x80101fff irq 10 at device 0.0 on cardbus0 usb2: OHCI version 1.0 usb2: on ohci0 usb2: USB revision 1.0 uhub2: NEC OHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub2: 3 ports with 3 removable, self powered cardbus0: Resource not specified in CIS: id=10, size=1000 ohci1: mem 0x80102000-0x80102fff irq 10 at device 0.1 on cardbus0 usb3: OHCI version 1.0 usb3: on ohci1 usb3: USB revision 1.0 uhub3: NEC OHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub3: 2 ports with 2 removable, self powered cardbus0: Resource not specified in CIS: id=10, size=100 cardbus0: at device 0.2 (no driver attached) --Card removed-- cardbus0: release_all_resource: Resource still owned by child, oops. (type=1, rid=0, addr=a) cardbus0: release_all_resource: Resource still owned by child, oops. (type=3, rid=16, addr=80101000) cardbus0: release_all_resource: Resource still owned by child, oops. (type=1, rid=0, addr=a) cardbus0: release_all_resource: Resource still owned by child, oops. (type=3, rid=16, addr=80102000) Belkin useing NEC uPD 9210: cardbus0: Resource not specified in CIS: id=10, size=1000 ohci0: mem 0x80101000-0x80101fff irq 10 at device 0.0 on cardbus0 usb2: OHCI version 1.0 usb2: on ohci0 usb2: USB revision 1.0 uhub2: NEC OHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub2: 1 port with 1 removable, self powered cardbus0: Resource not specified in CIS: id=10, size=1000 cardbus0: at device 0.1 (no driver attached) cardbus0: Resource not specified in CIS: id=10, size=100 cardbus0: at device 0.2 (no driver attached) cardbus0: release_all_resource: Resource still owned by child, oops. (type=1, rid=0, addr=a) cardbus0: release_all_resource: Resource still owned by child, oops. (type=3, rid=16, addr=80101000) --Card removed-- CBB EVENT 0xe Waking up thread Status is 0x30000827 cardbus0: release_all_resource: Resource still owned by child, oops. (type=1, rid=0, addr=a) cardbus0: release_all_resource: Resource still owned by child, oops. (type=3, rid=16, addr=80101000) cardbus0: release_all_resource: Resource still owned by child, oops. (type=1, rid=0, addr=a) cardbus0: release_all_resource: Resource still owned by child, oops. (type=3, rid=16, addr=80102000) CBB EVENT 0x6 CBB EVENT 0x6 Waking up thread Status is 0x30000821 cbb0: card inserted: event=0x00000000, state=30000821 cbb0: cbb_power: 3V cardbus0: Resource not specified in CIS: id=10, size=1000 cardbus0: Non-prefetchable memory at 80101000-80101fff ohci0: mem 0x80101000-0x80101fff irq 10 at device 0.0 on cardbus0 usb2: OHCI version 1.0 usb2: on ohci0 usb2: USB revision 1.0 uhub2: NEC OHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub2: 1 port with 1 removable, self powered cardbus0: Resource not specified in CIS: id=10, size=1000 cardbus0: Non-prefetchable memory at 80102000-80102fff ohci1: mem 0x80102000-0x80102fff irq 10 at device 0.1 on cardbus0 usb3: OHCI version 1.0 usb3: on ohci1 usb3: USB revision 1.0 uhub3: NEC OHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub3: 1 port with 1 removable, self powered cardbus0: Resource not specified in CIS: id=10, size=100 cardbus0: Non-prefetchable memory at 80103000-801030ff cardbus0: at device 0.2 (no driver attached) --Enforced by modifying /usr/src/sys/dev/cardbus/cardbus_cis.c-- ohci0: at device 0.0 on cardbus0 ohci0: Could not map memory device_probe_and_attach: ohci0 attach returned 6 ohci0: at device 0.1 on cardbus0 ohci0: Could not map memory device_probe_and_attach: ohci0 attach returned 6 cardbus0: at device 0.2 (no driver attached) cbb0: CardBus card activation failed I even tried a firewire card without success: cardbus0: Expecting link target, got 0x0 cardbus0: Resource not specified in CIS: id=10, size=800 cardbus0: Resource not specified in CIS: id=14, size=4000 cardbus0: Resource not specified in CIS: id=18, size=800 fwohci0: mem 0x80108000-0x801087ff,0x80104000-0x80107fff,0x80108800-0x80108fff irq 10 at device 0.0 on cardbus0 fwohci0: OHCI version ff.ff (ROM=1) fwohci0: invalid OHCI version fwohci0: FireWire init failed device_probe_and_attach: fwohci0 attach returned 5 cbb0: CardBus card activation failed The 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-RELEASE #0: Sun Jan 11 04:21:45 GMT 2004 root@wv1u.btc.adaptec.com:/usr/obj/usr/src/sys/GENERIC Preloaded elf kernel "/boot/kernel/kernel" at 0xc0a33000. Preloaded elf module "/boot/kernel/acpi.ko" at 0xc0a3321c. Timecounter "i8254" frequency 1193182 Hz quality 0 CPU: Intel(R) Celeron(TM) CPU 1133MHz (1133.21-MHz 686-class CPU) Origin = "GenuineIntel" Id = 0x6b1 Stepping = 1 Features=0x383f9ff real memory = 125698048 (119 MB) avail memory = 112467968 (107 MB) Pentium Pro MTRR support enabled npx0: [FAST] npx0: on motherboard npx0: INT 16 interface acpi0: on motherboard pcibios: BIOS version 2.10 Using $PIR table, 5 entries at 0xc00fb700 acpi0: Power Button (fixed) Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000 acpi_timer0: <24-bit timer at 3.579545MHz> port 0xf108-0xf10b on acpi0 acpi_cpu0: on acpi0 acpi_tz0: on acpi0 acpi_tz1: on acpi0 acpi_button0: on acpi0 pcib0: port 0xcf8-0xcff on acpi0 pci0: on pcib0 pcib0: slot 2 INTA is routed to irq 11 pcib0: slot 29 INTA is routed to irq 11 pcib0: slot 29 INTB is routed to irq 11 pcib0: slot 31 INTB is routed to irq 10 pcib0: slot 31 INTB is routed to irq 10 pcib0: slot 31 INTB is routed to irq 10 agp0: mem 0x90100000-0x9017ffff,0x98000000-0x9fffffff irq 11 at device 2.0 on pci0 agp0: detected 8060k stolen memory agp0: aperture size is 128M pci0: at device 2.1 (no driver attached) uhci0: port 0xbca0-0xbcbf irq 11 at device 29.0 on pci0 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 uhci1: port 0xbce0-0xbcff irq 11 at device 29.1 on pci0 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 pcib1: at device 30.0 on pci0 pci1: on pcib1 pcib1: slot 5 INTA is routed to irq 11 pcib1: slot 9 INTA is routed to irq 10 rl0: port 0xa000-0xa0ff mem 0xa0100000-0xa01001ff irq 11 at device 5.0 on pci1 rl0: Ethernet address: 00:00:e2:4a:b9:28 miibus0: on rl0 rlphy0: on miibus0 rlphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto cbb0: irq 10 at device 9.0 on pci1 cardbus0: on cbb0 pccard0: <16-bit PCCard bus> on cbb0 cbb0: [MPSAFE] cbb0: bad Vcc request. ctrl=0x1000f00, status=0x1000f73 cbb_power: 0V isab0: at device 31.0 on pci0 isa0: on isab0 atapci0: port 0xc060-0xc06f,0xc048-0xc04b,0xc030-0xc037,0xc018-0xc01b,0xc000-0xc007 at device 31.1 on pci0 ata0: at 0x1f0 irq 14 on atapci0 ata0: [MPSAFE] ata1: at 0x170 irq 15 on atapci0 ata1: [MPSAFE] pci0: at device 31.3 (no driver attached) pci0: at device 31.5 (no driver attached) pci0: at device 31.6 (no driver attached) acpi_lid0: on acpi0 acpi_acad0: on acpi0 acpi_cmbat0: on acpi0 atkbdc0: port 0x64,0x60 irq 1 on acpi0 atkbd0: flags 0x1 irq 1 on atkbdc0 kbd0 at atkbd0 fdc0: port 0x3f7,0x3f0-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 psm0: irq 12 on atkbdc0 psm0: model Generic PS/2 mouse, device ID 0 acpi_ec0: port 0x66,0x62 on acpi0 orm0: