Re: xhci problem on UEFI boot MacBookPro 11,3

2014-10-08 Thread Hans Petter Selasky
FYI This issue was fixed by: https://svnweb.freebsd.org/changeset/base/272589 --HPS ___ freebsd-usb@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-usb To unsubscribe, send any mail to freebsd-usb-unsubscr...@freebsd.org

Re: xhci problem on UEFI boot MacBookPro 11,3

2014-10-03 Thread Hans Petter Selasky
On 10/03/14 05:55, Huang Wen Hui wrote: 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

Re: xhci problem on UEFI boot MacBookPro 11,3

2014-10-03 Thread 黄文辉@Gmail
But xhci should works under freebsd,like Linux without this trick. If you want to debug this further, ping me , I will be free after 2 hours;) Huang Wen Hui 在 2014年10月3日,14:15,Hans Petter Selasky h...@selasky.org 写道: On 10/03/14 05:55, Huang Wen Hui wrote: I found that how to connect EHCI

Re: xhci problem on UEFI boot MacBookPro 11,3

2014-10-02 Thread Huang Wen Hui
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

Re: xhci problem on UEFI boot MacBookPro 11,3

2014-10-01 Thread Hans Petter Selasky
On 09/30/14 16:12, Huang Wen Hui wrote: http://sw.gddsn.org.cn/freebsd/hps-bios-message.txt http://sw.gddsn.org.cn/freebsd/hps-uefi-message.txt Hi, Can you try the attached patch again, and send verbose dmesg including xhci debug on? --HPS ___

Re: xhci problem on UEFI boot MacBookPro 11,3

2014-10-01 Thread Huang Wen Hui
verbose dmesg with patch, hw.usb.xhci.debug=16 and hw.usb.xhci.use_polling=1 http://sw.gddsn.org.cn/freebsd/hps-bios-message2.txt http://sw.gddsn.org.cn/freebsd/hps-bios-message.txt http://sw.gddsn.org.cn/freebsd/hps-uefi-message2.txt http://sw.gddsn.org.cn/freebsd/hps-uefi-message.txt

Re: xhci problem on UEFI boot MacBookPro 11,3

2014-10-01 Thread Hans Petter Selasky
On 10/01/14 09:24, Huang Wen Hui wrote: verbose dmesg with patch, hw.usb.xhci.debug=16 and hw.usb.xhci.use_polling=1 http://sw.gddsn.org.cn/freebsd/hps-bios-message2.txt http://sw.gddsn.org.cn/freebsd/hps-uefi-message2.txt Hi, Can you join #bsdusb on EF-net? BTW: Why are the time-stamps so

Re: xhci problem on UEFI boot MacBookPro 11,3

2014-09-30 Thread Huang Wen Hui
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

Re: xhci problem on UEFI boot MacBookPro 11,3

2014-09-30 Thread Hans Petter Selasky
Hi, Can you get output from pciconf -lv from the non-working MBP, in both UEFI and BIOS mode? --HPS ___ freebsd-usb@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-usb To unsubscribe, send any mail to

Re: xhci problem on UEFI boot MacBookPro 11,3

2014-09-30 Thread Huang Wen Hui
Exactly same: http://sw.gddsn.org.cn/freebsd/non-working-mac-bios-pciconf.txt http://sw.gddsn.org.cn/freebsd/non-working-mac-uefi-pciconf.txt and working-mac: http://sw.gddsn.org.cn/freebsd/working-mac-bios-pciconf.txt http://sw.gddsn.org.cn/freebsd/working-mac-uefi-pciconf.txt 2014-09-30 19:23

Re: xhci problem on UEFI boot MacBookPro 11,3

2014-09-30 Thread Hans Petter Selasky
On 09/30/14 14:25, Huang Wen Hui wrote: Exactly same: http://sw.gddsn.org.cn/freebsd/non-working-mac-bios-pciconf.txt http://sw.gddsn.org.cn/freebsd/non-working-mac-uefi-pciconf.txt and working-mac: http://sw.gddsn.org.cn/freebsd/working-mac-bios-pciconf.txt

Re: xhci problem on UEFI boot MacBookPro 11,3

2014-09-30 Thread Huang Wen Hui
Hi, Both bios and uefi are same as before. I never see EHCI controller from dmesg when I got this MBP:( Thanks, Huang Wen Hui 2014-09-30 20:50 GMT+08:00 Hans Petter Selasky h...@selasky.org: On 09/30/14 14:25, Huang Wen Hui wrote: Exactly same:

Re: xhci problem on UEFI boot MacBookPro 11,3

2014-09-30 Thread Hans Petter Selasky
On 09/30/14 15:10, Huang Wen Hui wrote: Hi, Both bios and uefi are same as before. I never see EHCI controller from dmesg when I got this MBP:( Thanks, Huang Wen Hui Can you try the attached patch for xhci.c ? --HPS ___ freebsd-usb@freebsd.org

Re: xhci problem on UEFI boot MacBookPro 11,3

2014-09-30 Thread Huang Wen Hui
I manually patch on STABLE, Both bios and uefi still are same as before:( 2014-09-30 21:23 GMT+08:00 Hans Petter Selasky h...@selasky.org: On 09/30/14 15:10, Huang Wen Hui wrote: Hi, Both bios and uefi are same as before. I never see EHCI controller from dmesg when I got this MBP:(

Re: xhci problem on UEFI boot MacBookPro 11,3

2014-09-30 Thread Hans Petter Selasky
On 09/30/14 15:50, Huang Wen Hui wrote: I manually patch on STABLE, Both bios and uefi still are same as before:( Hi, Can you get verbose dmesg with patch, hw.usb.xhci.debug=16 in /boot/loader.conf ? Also set: hw.usb.xhci.use_polling=1 in /boot/loader.conf Thank you! --HPS

Re: xhci problem on UEFI boot MacBookPro 11,3

2014-09-30 Thread Huang Wen Hui
http://sw.gddsn.org.cn/freebsd/hps-bios-message.txt http://sw.gddsn.org.cn/freebsd/hps-uefi-message.txt 2014-09-30 21:52 GMT+08:00 Hans Petter Selasky h...@selasky.org: On 09/30/14 15:50, Huang Wen Hui wrote: I manually patch on STABLE, Both bios and uefi still are same as before:( Hi,

Re: xhci problem on UEFI boot MacBookPro 11,3

2014-09-28 Thread Hans Petter Selasky
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 ___ freebsd-usb@freebsd.org mailing list

Re: xhci problem on UEFI boot MacBookPro 11,3

2014-09-28 Thread Huang Wen Hui
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 h...@selasky.org: On 09/28/14 06:26, Huang Wen Hui wrote: No lucky. dmesg aslo no change, I could not found Skipped.

Re: xhci problem on UEFI boot MacBookPro 11,3

2014-09-27 Thread Hans Petter Selasky
On 09/27/14 00:59, Huang Wen Hui wrote: Just for Ref, xhci works in UEFI mode of Fedora 20: http://sw.gddsn.org.cn/freebsd/linux-dmesg.txt http://sw.gddsn.org.cn/freebsd/linux-lspci.txt Hi, The Root ACPI descriptor has wrong address? FreeBSD UEFI: kernel: ACPI: RSDP 0xfe020 00024 (v02 APPLE

Re: xhci problem on UEFI boot MacBookPro 11,3

2014-09-27 Thread Huang Wen Hui
From dmesg, RSDP should like these: FreeBSD UEFI: kernel: ACPI: RSDP 0x7ad8e014 00024 (v02 APPLE ) FreeBSD BIOS: kernel: ACPI: RSDP 0xfe020 00024 (v02 APPLE ) Anyway I swapped order of efi_get_table(), I got the result: Sep 27 07:49:33 mbp kernel: ACPI: RSDP 0x7ad8e000 00014 (v00 APPLE ) Sep 27

Re: xhci problem on UEFI boot MacBookPro 11,3

2014-09-27 Thread Hans Petter Selasky
Hi, Can you try the attached patch? --HPS ___ freebsd-usb@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-usb To unsubscribe, send any mail to freebsd-usb-unsubscr...@freebsd.org

Re: xhci problem on UEFI boot MacBookPro 11,3

2014-09-27 Thread Huang Wen Hui
No lucky. dmesg aslo no change, I could not found Skipped. Cheers, Huang Wen Hui 2014-09-28 2:31 GMT+08:00 Hans Petter Selasky h...@selasky.org: On 09/27/14 20:29, Hans Petter Selasky wrote: Hi, Can you try the attached patch? --HPS === dev/pci/pci.c

Re: xhci problem on UEFI boot MacBookPro 11,3

2014-09-26 Thread Huang Wen Hui
Just for Ref, xhci works in UEFI mode of Fedora 20: http://sw.gddsn.org.cn/freebsd/linux-dmesg.txt http://sw.gddsn.org.cn/freebsd/linux-lspci.txt 2014-09-22 17:08 GMT+08:00 Huang Wen Hui huang...@gmail.com: xhci still not work, usbconfig list show: ugen0.1: XHCI root HUB 0x8086 at usbus0,

Re: xhci problem on UEFI boot MacBookPro 11,3

2014-09-22 Thread Hans Petter Selasky
On 09/22/14 07:42, Huang Wen Hui wrote: verbose log with hw.usb.xhci.debug=15 in BIOS mode: http://sw.gddsn.org.cn/freebsd/messages-bios.txt verbose log with hw.usb.xhci.debug=15 in UEFI mode: http://sw.gddsn.org.cn/freebsd/messages-uefi.txt Hi, It might look as if the XHCI is receiving no

Re: xhci problem on UEFI boot MacBookPro 11,3

2014-09-22 Thread Huang Wen Hui
Hi, For xhci, this is intpin=a, irq=255, no change. vmstat -i show almost same result: interrupt total rate irq9: acpi0 887 0 irq16: ahci0 119840 20 cpu0:timer 61017 10

Re: xhci problem on UEFI boot MacBookPro 11,3

2014-09-22 Thread Hans Petter Selasky
On 09/22/14 10:26, Huang Wen Hui wrote: Hi, For xhci, this is intpin=a, irq=255, no change. vmstat -i show almost same result: interrupt total rate irq9: acpi0 887 0 irq16: ahci0 119840 20 cpu0:timer

Re: xhci problem on UEFI boot MacBookPro 11,3

2014-09-22 Thread Huang Wen Hui
xhci still not work, usbconfig list show: ugen0.1: XHCI root HUB 0x8086 at usbus0, cfg=0 md=HOST spd=SUPER (5.0Gbps) pwr=SAVE (0mA) Detail log: http://sw.gddsn.org.cn/freebsd/messages-uefi-poll.txt 2014-09-22 16:29 GMT+08:00 Hans Petter Selasky h...@selasky.org: On 09/22/14 10:26, Huang Wen

Re: xhci problem on UEFI boot MacBookPro 11,3

2014-09-21 Thread Huang Wen Hui
verbose log with hw.usb.xhci.debug=15 in BIOS mode: http://sw.gddsn.org.cn/freebsd/messages-bios.txt verbose log with hw.usb.xhci.debug=15 in UEFI mode: http://sw.gddsn.org.cn/freebsd/messages-uefi.txt 2014-09-20 20:03 GMT+08:00 Huang Wen Hui huang...@gmail.com: I try to UEFI boot 10-STABLE on

xhci problem on UEFI boot MacBookPro 11,3

2014-09-20 Thread Huang Wen Hui
I try to UEFI boot 10-STABLE on MacBookPro 11,3, found that xhci does not work anymore, It works in BIOS boot. also try to set hw.usb.xhci.msi=0 and hw.usb.xhci.xhci_port_route=-1, no lucky. verbose boot log can be found at : http://sw.gddsn.org.cn/freebsd/uefi-messages.txt usbconfig list show: