Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 3 Oct 2014 11:55:02 +0800
From:      Huang Wen Hui <huanghwh@gmail.com>
To:        Hans Petter Selasky <hps@selasky.org>
Cc:        "freebsd-usb@freebsd.org" <freebsd-usb@freebsd.org>
Subject:   Re: xhci problem on UEFI boot MacBookPro 11,3
Message-ID:  <CAB8uncZ=9Hi04YKX4VDX0zzOGQPhV61rurwKmHXdz2FouWw5wA@mail.gmail.com>
In-Reply-To: <CAB8uncb6ycJeYaMairr7XnhQBKNtYgYovH2vYNgB_xEGb8BGhw@mail.gmail.com>
References:  <CAB8uncZeUjdJAsDcxT81Yx2wHd8EB3QEzortSXsL8R5iuSKJRA@mail.gmail.com> <CAB8uncYd24GkgK8Dsd51BAhoMjKFoAeS3AQ0a0=1mZjeprjHUw@mail.gmail.com> <541FBD6F.2080507@selasky.org> <CAB8uncb%2BHtjDXJG7gS1QGz8ayR%2BwoaO-UWFbwTVXHrCXnQoa2A@mail.gmail.com> <541FDDF0.90502@selasky.org> <CAB8uncZaESbHiDJfYjybTg7mfhq0MG66%2BUqshxqDFVTej6rkeA@mail.gmail.com> <CAB8uncYrf=zP=ithL=dCci4opir4U0AWGCWM3JU38EscPdp3Og@mail.gmail.com> <542662BE.5050908@selasky.org> <CAB8uncYuMvc1hXxJib_bDs%2BAOrYhCfVkaV8O5VtgjFjJo_T2mA@mail.gmail.com> <542701FA.2000408@selasky.org> <5427029B.3060502@selasky.org> <CAB8uncajuWXGc6Lb3AmHC6qdnefXmYF4_8h4VPwzNaM595Dy%2Bg@mail.gmail.com> <5427AC46.3040707@selasky.org> <CAB8uncYZpZ5%2BgAw5FmXTJ8CH5KBpDqaYHqB00b=FEQVXONd4-g@mail.gmail.com> <CAB8uncb6ycJeYaMairr7XnhQBKNtYgYovH2vYNgB_xEGb8BGhw@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
I found that how to connect EHCI controller, use "bless" command in MacOSX
with --legacy option:
1. open MacOSX terminal, mkdir /Volumes/EFI
2. mount -t msdos /dev/disk0s1 /Volumes/EFI
3. bless --setBoot --mount /Volumes/EFI --legacy
4. reboot MacOSX, press "option" key, you can feel firmware start a little
slow than without --legacy. I think firmware do some extra things:(
5. select both UEFI and BIOS boot FreeBSD, system can connect EHCI and XHCI
controller.
6. I think BootCamp assistant also add --legacy option.

Cheers,
Huang Wen Hui

2014-09-30 18:19 GMT+08:00 Huang Wen Hui <huanghwh@gmail.com>:

> Hi,
> I got the exactly same MBP 2013 11,3 from my colleague, also same time to
> buy it.
> USB driver works on this in UEFI mode. Both xhci and ehci found in this
> mac, and these
> dmesg only show in this mac:
>
> acpi_ec0: <Embedded Controller: GPE 0x17, ECDT> port 0x62,0x66 on acpi0
> ACPI Error: No handler for Region [CMS0] (0xfffff80008948e00) [SystemCMOS]
> (20130823/evregion-178)
> ACPI Error: Region SystemCMOS (ID=5) has no handler (20130823/exfldio-320)
> ACPI Error: Method parse/execution failed [\134RUSB] (Node
> 0xfffff8000895db80), AE_NOT_EXIST (20130823/psparse-553)
> ACPI Error: Method parse/execution failed [\134_SB_._INI] (Node
> 0xfffff8000895e000), AE_NOT_EXIST (20130823/psparse-553)
> acpi0: Power Button (fixed)
> ...
> xhci0: <Intel Lynx Point USB 3.0 controller> mem 0xc1e00000-0xc1e0ffff at
> device 20.0 on pci0
> xhci0: 32 byte context size.
> xhci0: Port routing mask set to 0xffffffff
> usbus0 on xhci0
> pci0: <simple comms> at device 22.0 (no driver attached)
> ehci0: <Intel Lynx Point USB 2.0 controller USB-B> mem
> 0xc1e19400-0xc1e197ff at device 26.0 on pci0
> usbus1: EHCI version 1.0
> usbus1 on ehci0
> ...
> ehci1: <Intel Lynx Point USB 2.0 controller USB-A> mem
> 0xc1e19000-0xc1e193ff at device 29.0 on pci0
> usbus2: EHCI version 1.0
> usbus2 on ehci1
> isab0: <PCI-ISA bridge> at device 31.0 on pci0
> isa0: <ISA bus> on isab0
> ...
> usbus0: 5.0Gbps Super Speed USB v3.0
> usbus1: 480Mbps High Speed USB v2.0
> usbus2: 480Mbps High Speed USB v2.0
> ugen0.1: <0x8086> at usbus0
> uhub0: <0x8086 XHCI root HUB, class 9/0, rev 3.00/1.00, addr 1> on usbus0
> ugen1.1: <Intel> at usbus1
> uhub1: <Intel EHCI root HUB, class 9/0, rev 2.00/1.00, addr 1> on usbus1
> ugen2.1: <Intel> at usbus2
> uhub2: <Intel EHCI root HUB, class 9/0, rev 2.00/1.00, addr 1> on usbus2
> ...
> Timecounter "TSC-low" frequency 1297021897 Hz quality 1000
> Root mount waiting for: usbus2 usbus1 usbus0
> uhub1: 2 ports with 2 removable, self powered
> uhub0: 21 ports with 21 removable, self powered
> uhub2: 2 ports with 2 removable, self powered
> Root mount waiting for: usbus2 usbus1 usbus0
> xhci0: Port routing mask set to 0x00000000
> usb_alloc_device: device init 2 failed (USB_ERR_IOERROR, ignored)
> ugen0.2: <Unknown> at usbus0 (disconnected)
> uhub_reattach_port: could not allocate new device
> ugen1.2: <vendor 0x8087> at usbus1
> uhub3: <vendor 0x8087 product 0x8008, class 9/0, rev 2.00/0.05, addr 2> on
> usbus1
> ugen2.2: <vendor 0x8087> at usbus2
> uhub4: <vendor 0x8087 product 0x8000, class 9/0, rev 2.00/0.05, addr 2> on
> usbus2
> uhub3: 6 ports with 6 removable, self powered
> Root mount waiting for: usbus2 usbus1 usbus0
> xhci0: Port routing mask set to 0x00000000
> usb_alloc_device: device init 2 failed (USB_ERR_IOERROR, ignored)
> ugen0.2: <Unknown> at usbus0 (disconnected)
> uhub_reattach_port: could not allocate new device
> uhub4: 8 ports with 8 removable, self powered
> ugen1.3: <Generic> at usbus1
> umass0: <Generic Mass Storage, class 0/0, rev 2.00/1.12, addr 3> on usbus1
> umass0:  SCSI over Bulk-Only; quirks = 0x4101
> umass0:1:0:-1: Attached to scbus1
> da0 at umass-sim0 bus 0 scbus1 target 0 lun 0
> da0: <Generic Flash Disk 8.07> Removable Direct Access SCSI-4 device
> da0: Serial Number E0629276
> da0: 40.000MB/s transfers
> da0: 3870MB (7925760 512 byte sectors: 255H 63S/T 493C)
> da0: quirks=0x2<NO_6_BYTE>
> ugen1.4: <Apple Inc.> at usbus1
> uhub5: <Apple Inc. BRCM20702 Hub, class 9/0, rev 2.00/1.00, addr 4> on
> usbus1
> Root mount waiting for: usbus1
> uhub5: 3 ports with 0 removable, self powered
> ugen1.5: <vendor 0x05ac> at usbus1
> ukbd0: <vendor 0x05ac product 0x820a, class 0/0, rev 2.00/1.00, addr 5> on
> usbus1
> kbd1 at ukbd0
> Root mount waiting for: usbus1
> ugen1.6: <vendor 0x05ac> at usbus1
> ugen1.7: <Apple Inc.> at usbus1
> Root mount waiting for: usbus1
> ugen1.8: <Apple Inc.> at usbus1
> ukbd1: <Apple Internal Keyboard> on usbus1
> Root mount waiting for: usbus1
> kbd2 at ukbd1
>
> Full dmesg is http://sw.gddsn.org.cn/freebsd/uefi-ehci-dmesg.txt
>
>
>
>
> 2014-09-28 15:35 GMT+08:00 Huang Wen Hui <huanghwh@gmail.com>:
>
>> I found some similar problem of Linux:
>> https://bugzilla.kernel.org/show_bug.cgi?id=52591
>> https://lkml.org/lkml/2013/3/9/134
>>
>>
>> 2014-09-28 14:35 GMT+08:00 Hans Petter Selasky <hps@selasky.org>:
>>
>>> On 09/28/14 06:26, Huang Wen Hui wrote:
>>>
>>>> No lucky. dmesg aslo no change, I could not found "Skipped".
>>>>
>>>> Cheers,
>>>> Huang Wen Hui
>>>>
>>>
>>> Did you try searching if Linux users had such a problem already?
>>>
>>> --HPS
>>>
>>>
>>
>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAB8uncZ=9Hi04YKX4VDX0zzOGQPhV61rurwKmHXdz2FouWw5wA>