On Wednesday 20 December 2006 21:25, Hans Petter Selasky wrote:

> Could you have tried installing the my new USB system:
>
> svn --username anonsvn --password anonsvn \
> checkout svn://svn.turbocat.net/i4b
> #
> # The following commands will
> # install the driver on FreeBSD:
> #
> cd i4b/trunk/i4b/FreeBSD.usb
> make S=../src package
> make install
>
> #
> # After that you build a new kernel.
> #
>
> # PS: you need to install /usr/ports/devel/subversion
> # for the svn command to work
>
> --HPS


Ok, I did this. Plus: USB devices now work: I've tested it with usb/com, usb
cardreader and usb flash drive things. Minus: I still had to disable "device
ehci" to avoid hanging on shutdown. Without ehci driver everything still
works fine (at least two-hour experience says this).

Here's my configuration, first with ehci driver:

dmesg:

Copyright (c) 1992-2006 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 6.1-RELEASE-p11 #0: Thu Dec 21 10:32:11 MSK 2006
root@paul-book.rtelekom.net:/usr/src/sys/i386/compile/PAULBOOK
acpi_alloc_wakeup_handler: can't alloc wake memory
Timecounter "i8254" frequency 1193182 Hz quality 0
CPU: AMD Turion(tm) 64 X2 Mobile Technology TL-50 (1596.01-MHz 686-class CPU)
Origin = "AuthenticAMD" Id = 0x40f82 Stepping = 2

Features=0x178bfbff
Features2=0x2001
AMD Features=0xea500800
AMD Features2=0x1f,,CR8>
Cores per package: 2
real memory = 468254720 (446 MB)
avail memory = 451379200 (430 MB)
ACPI APIC Table:
FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs
cpu0 (BSP): APIC ID: 0
cpu1 (AP): APIC ID: 1
MADT: Forcing active-low polarity and level trigger for SCI
ioapic0 irqs 0-23 on motherboard
kbd1 at kbdmux0
acpi0: on motherboard
acpi0: Power Button (fixed)
acpi_ec0: port 0x62,0x66 on acpi0
Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000
acpi_timer0: <32-bit timer at 3.579545MHz> port 0x8008-0x800b on acpi0
cpu0: on acpi0
powernow0: on cpu0
cpu1: on acpi0
powernow1: on cpu1
acpi_lid0: on acpi0
acpi_button0: on acpi0
acpi_button1: on acpi0
pcib0: port 0xcf8-0xcff on acpi0
pci0: on pcib0
pcib1: at device 1.0 on pci0
pci1: on pcib1
acpi_video0: port 0x9000-0x90ff mem
0xd4000000-0xd7ffffff,0xd0100000-0xd010ffff irq 17 at device 5.0 on pci1
pcib2: at device 4.0 on pci0
pci2: on pcib2
pcib3: at device 5.0 on pci0
pci4: on pcib3
pci0: at device 19.0 (no driver attached)
pci0: at device 19.1 (no driver attached)
pci0: at device 19.2 (no driver attached)
pci0: at device 20.0 (no driver attached)
atapci0: port
0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0x8410-0x841f irq 16 at device 20.1 on
pci0
ata0: on atapci0
ata1: on atapci0
pci0: at device 20.2 (no driver attached)
isab0: at device 20.3 on pci0
isa0: on isab0
pcib4: at device 20.4 on pci0
pci6: on pcib4
pci6: at device 1.0 (no driver attached)
pci6: at device 2.0 (no driver attached)
pci6: at device 4.0 (no driver attached)
pci6: at device 4.1 (no driver attached)
pci6: at device 4.2 (no driver attached)
pci6: at device 4.3 (no driver attached)
pci6: at device 4.4 (no driver attached)
acpi_tz0: on acpi0
atkbdc0: port 0x60,0x64 irq 1 on acpi0
atkbd0: 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
battery0: on acpi0
acpi_acad0: on acpi0
pmtimer0 on isa0
orm0: at iomem 0xc0000-0xcefff 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
Timecounters tick every 1.000 msec
ad0: 95396MB at ata0-master UDMA100
acd0: DVDR at ata0-slave UDMA33
pass0 at ata0 bus 0 target 1 lun 0
pass0: Removable CD-ROM SCSI-0 device
pass0: 33.000MB/s transfers
SMP: AP CPU #1 Launched!
Trying to mount root from ufs:/dev/ad0s4a
rl0: port 0xa000-0xa0ff mem 0xd0210000-0xd02100ff
irq 21 at device 1.0 on pci6
miibus0: on rl0
rlphy0: on miibus0
rlphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
rl0: Ethernet address: 00:16:d4:18:87:8b
ohci0: mem 0xd0004000-0xd0004fff irq 19 at
device 19.0 on pci0
usb0: usb0: on ohci0
ohci1: mem 0xd0005000-0xd0005fff irq 19 at
device 19.1 on pci0
usb1: usb1: on ohci1
ehci0: mem 0xd0006000-0xd0006fff irq 19 at
device 19.2 on pci0
usb2: EHCI version 1.0
usb2: on ehci0
usb0: USB revision 1.0
rl0: link state changed to UP
uhub0: (0x1002) OHCI root hub, class 9/0, rev 1.00/1.00, addr 127
uhub0: 4 ports with 4 removable, self powered
usb1: USB revision 1.0
uhub1: (0x1002) OHCI root hub, class 9/0, rev 1.00/1.00, addr 127
uhub1: 4 ports with 4 removable, self powered
usb2: USB revision 2.0
uhub2: (0x1002) EHCI root hub, class 9/0, rev 2.00/1.00, addr 127
uhub2: 8 ports with 8 removable, self powered
usbd_fill_iface_data: invalid wMaxPacketSize, addr=126!
usbd_fill_iface_data: invalid wMaxPacketSize, addr=126!
usbd_fill_iface_data: invalid wMaxPacketSize, addr=126!
usbd_fill_iface_data: invalid wMaxPacketSize, addr=126!

usbdevs:

addr 127: OHCI root hub, (0x1002)
addr 127: OHCI root hub, (0x1002)
addr 126: USB2.0 Camera, Acer Labs
addr 127: EHCI root hub, (0x1002)
addr 126: USB2.0 Camera, Acer Labs

Without ehci:

dmesg:

Copyright (c) 1992-2006 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 6.1-RELEASE-p11 #1: Thu Dec 21 11:57:24 MSK 2006
root@paul-book.rtelekom.net:/usr/src/sys/i386/compile/PAULBOOK
acpi_alloc_wakeup_handler: can't alloc wake memory
Timecounter "i8254" frequency 1193182 Hz quality 0
CPU: AMD Turion(tm) 64 X2 Mobile Technology TL-50 (1596.01-MHz 686-class CPU)
Origin = "AuthenticAMD" Id = 0x40f82 Stepping = 2

Features=0x178bfbff
Features2=0x2001
AMD Features=0xea500800
AMD Features2=0x1f,,CR8>
Cores per package: 2
real memory = 468254720 (446 MB)
avail memory = 451375104 (430 MB)
ACPI APIC Table:
FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs
cpu0 (BSP): APIC ID: 0
cpu1 (AP): APIC ID: 1
MADT: Forcing active-low polarity and level trigger for SCI
ioapic0 irqs 0-23 on motherboard
kbd1 at kbdmux0
acpi0: on motherboard
acpi0: Power Button (fixed)
acpi_ec0: port 0x62,0x66 on acpi0
Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000
acpi_timer0: <32-bit timer at 3.579545MHz> port 0x8008-0x800b on acpi0
cpu0: on acpi0
powernow0: on cpu0
cpu1: on acpi0
powernow1: on cpu1
acpi_lid0: on acpi0
acpi_button0: on acpi0
acpi_button1: on acpi0
pcib0: port 0xcf8-0xcff on acpi0
pci0: on pcib0
pcib1: at device 1.0 on pci0
pci1: on pcib1
acpi_video0: port 0x9000-0x90ff mem
0xd4000000-0xd7ffffff,0xd0100000-0xd010ffff irq 17 at device 5.0 on pci1
pcib2: at device 4.0 on pci0
pci2: on pcib2
pcib3: at device 5.0 on pci0
pci4: on pcib3
ohci0: mem 0xd0004000-0xd0004fff irq 19 at
device 19.0 on pci0
usb0: usb0: on ohci0
ohci1: mem 0xd0005000-0xd0005fff irq 19 at
device 19.1 on pci0
usb1: usb1: on ohci1
pci0: at device 19.2 (no driver attached)
pci0: at device 20.0 (no driver attached)
atapci0: port
0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0x8410-0x841f irq 16 at device 20.1 on
pci0
ata0: on atapci0
ata1: on atapci0
pci0: at device 20.2 (no driver attached)
isab0: at device 20.3 on pci0
isa0: on isab0
pcib4: at device 20.4 on pci0
pci6: on pcib4
pci6: at device 1.0 (no driver attached)
pci6: at device 2.0 (no driver attached)
pci6: at device 4.0 (no driver attached)
pci6: at device 4.1 (no driver attached)
pci6: at device 4.2 (no driver attached)
pci6: at device 4.3 (no driver attached)
pci6: at device 4.4 (no driver attached)
acpi_tz0: on acpi0
atkbdc0: port 0x60,0x64 irq 1 on acpi0
atkbd0: 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
battery0: on acpi0
acpi_acad0: on acpi0
pmtimer0 on isa0
orm0: at iomem 0xc0000-0xcefff 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
Timecounters tick every 1.000 msec
usb0: USB revision 1.0
uhub0: (0x1002) OHCI root hub, class 9/0, rev 1.00/1.00, addr 127
uhub0: 4 ports with 4 removable, self powered
usb1: USB revision 1.0
uhub1: (0x1002) OHCI root hub, class 9/0, rev 1.00/1.00, addr 127
uhub1: 4 ports with 4 removable, self powered
usbd_fill_iface_data: invalid wMaxPacketSize, addr=126!
usbd_fill_iface_data: invalid wMaxPacketSize, addr=126!
usbd_fill_iface_data: invalid wMaxPacketSize, addr=126!
usbd_fill_iface_data: invalid wMaxPacketSize, addr=126!
ad0: 95396MB at ata0-master UDMA100
acd0: DVDR at ata0-slave UDMA33
pass0 at ata0 bus 0 target 1 lun 0
pass0: Removable CD-ROM SCSI-0 device
pass0: 33.000MB/s transfers
SMP: AP CPU #1 Launched!
Trying to mount root from ufs:/dev/ad0s4a
rl0: port 0xa000-0xa0ff mem 0xd0210000-0xd02100ff
irq 21 at device 1.0 on pci6
miibus0: on rl0
rlphy0: on miibus0
rlphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
rl0: Ethernet address: 00:16:d4:18:87:8b
rl0: link state changed to UP

usbdevs:

addr 127: OHCI root hub, (0x1002)
addr 126: USB2.0 Camera, Acer Labs
addr 127: OHCI root hub, (0x1002)
addr 126: USB2.0 Camera, Acer Labs

--
Yours truly, WBR, Paul Argentoff.
Jabber: paul@jabber.rtelekom.ru
RIPE: PA1291-RIPE
_______________________________________________
freebsd-mobile@freebsd.org mailing list
http://lists.freebsd.org/mailman/lis...freebsd-mobile
To unsubscribe, send any mail to "freebsd-mobile-unsubscribe@freebsd.org"