Re: USB ports not working on a mid-2012 MacBookAir5,1

2014-11-24 Thread Sevan / Venture37
On 10 November 2014 at 19:55, Sevan / Venture37  wrote:
> Then I remembered that my previous attempt of successfully installing
> OpenBSD on here involved a thunderbolt cinema display, the gigabit
> ethernet port on the display was detected as bge(4) and functioned.
> I no longer have access to a cinema display but do have a thunderbolt
> gigabit ethernet adapter which I hadn't tried yet.
> Worked a treat, I was able to boot the laptop from a USB flash drive &
> perform a network install via the bge(4) interface.
>
> the thunderbolt adapter is only detected if it's attached prior to
> booting the kernel, I guess this is because it crosses over several
> areas and is not seen as a detachable device?
> If you do disconnect it after booting, the system hard locks needing a
> power cycle.

BCM57782 chipset in a thunderbolt gigabit ethernet adapter
https://www.flickr.com/photos/osr/15473313617/


Sevan / Venture37



Re: USB ports not working on a mid-2012 MacBookAir5,1

2014-11-10 Thread Sevan / Venture37
Just to follow up, I apologised to Martin off list regarding the dmesg
photos. Reason for the photos was that this laptop only has 2x USB
ports & a thunderbolt port as expansion but unfortunately the USB
ports are not working hence resorting to photos.
Then I remembered that my previous attempt of successfully installing
OpenBSD on here involved a thunderbolt cinema display, the gigabit
ethernet port on the display was detected as bge(4) and functioned.
I no longer have access to a cinema display but do have a thunderbolt
gigabit ethernet adapter which I hadn't tried yet.
Worked a treat, I was able to boot the laptop from a USB flash drive &
perform a network install via the bge(4) interface.

the thunderbolt adapter is only detected if it's attached prior to
booting the kernel, I guess this is because it crosses over several
areas and is not seen as a detachable device?
If you do disconnect it after booting, the system hard locks needing a
power cycle.

sleep & resume works except in X where on resume the trackpad goes crazy.

USB wise, I have a verbatim usb 2 flash drive which works fine, my
other flash drives do not, (kernel reports: xhci0: NULL xfer pointer,
uhub0: device problem, disabling port 1
urtwn(4) interface is detected but doesn't appear to work.

OpenBSD 5.6-current (GENERIC.MP) #547: Mon Nov 10 08:50:13 MST 2014
dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP
RTC BIOS diagnostic error b1
real mem = 8475713536 (8083MB)
avail mem = 8246259712 (7864MB)
warning: no entropy supplied by boot loader
mpath0 at root
scsibus0 at mpath0: 256 targets
mainbus0 at root
bios0 at mainbus0: SMBIOS rev. 2.4 @ 0xe (54 entries)
bios0: vendor Apple Inc. version "MBA51.88Z.00EF.B02.1211271028" date 11/27/2012
bios0: Apple Inc. MacBookAir5,1
acpi0 at bios0: rev 2
acpi0: sleep states S0 S4 S5
acpi0: tables DSDT FACP HPET APIC SBST ECDT SSDT SSDT SSDT SSDT SSDT
SSDT SSDT SSDT SSDT SSDT DMAR MCFG
acpi0: wakeup devices P0P2(S4) PEG2(S4) EC__(S4) HDEF(S4) RP02(S4)
ARPT(S4) RP05(S4) EHC1(S4) EHC2(S4) XHC1(S4) ADP1(S4) LID0(S4)
acpitimer0 at acpi0: 3579545 Hz, 24 bits
acpihpet0 at acpi0: 14318179 Hz
acpimadt0 at acpi0 addr 0xfee0: PC-AT compat
cpu0 at mainbus0: apid 0 (boot processor)
cpu0: Intel(R) Core(TM) i7-3667U CPU @ 2.00GHz, 1895.95 MHz
cpu0: 
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,SMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,POPCNT,DEADLINE,AES,XSAVE,AVX,F16C,RDRAND,NXE,LONG,LAHF,PERF,ITSC,FSGSBASE,SMEP,ERMS
cpu0: 256KB 64b/line 8-way L2 cache
cpu0: smt 0, core 0, package 0
mtrr: Pentium Pro MTRR support, 10 var ranges, 88 fixed ranges
cpu0: apic clock running at 99MHz
cpu1 at mainbus0: apid 2 (application processor)
cpu1: Intel(R) Core(TM) i7-3667U CPU @ 2.00GHz, 1895.70 MHz
cpu1: 
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,SMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,POPCNT,DEADLINE,AES,XSAVE,AVX,F16C,RDRAND,NXE,LONG,LAHF,PERF,ITSC,FSGSBASE,SMEP,ERMS
cpu1: 256KB 64b/line 8-way L2 cache
cpu1: smt 0, core 1, package 0
cpu2 at mainbus0: apid 1 (application processor)
cpu2: Intel(R) Core(TM) i7-3667U CPU @ 2.00GHz, 1895.70 MHz
cpu2: 
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,SMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,POPCNT,DEADLINE,AES,XSAVE,AVX,F16C,RDRAND,NXE,LONG,LAHF,PERF,ITSC,FSGSBASE,SMEP,ERMS
cpu2: 256KB 64b/line 8-way L2 cache
cpu2: smt 1, core 0, package 0
cpu3 at mainbus0: apid 3 (application processor)
cpu3: Intel(R) Core(TM) i7-3667U CPU @ 2.00GHz, 1895.70 MHz
cpu3: 
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,SMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,POPCNT,DEADLINE,AES,XSAVE,AVX,F16C,RDRAND,NXE,LONG,LAHF,PERF,ITSC,FSGSBASE,SMEP,ERMS
cpu3: 256KB 64b/line 8-way L2 cache
cpu3: smt 1, core 1, package 0
ioapic0 at mainbus0: apid 2 pa 0xfec0, version 20, 24 pins
ioapic0: misconfigured as apic 0, remapped to apid 2
acpiec0 at acpi0
acpimcfg0 at acpi0 addr 0xe000, bus 0-153
acpiprt0 at acpi0: bus 0 (PCI0)
acpiprt1 at acpi0: bus -1 (P0P2)
acpiprt2 at acpi0: bus -1 (PEG2)
acpiprt3 at acpi0: bus 2 (RP02)
acpiprt4 at acpi0: bus 3 (RP05)
acpicpu0 at acpi0: C3, C1, PSS
acpicpu1 at acpi0: C3, C1, PSS
acpicpu2 at acpi0: C3, C1, PSS
acpicpu3 at acpi0: C3, C1, PSS
acpibat0 at acpi0: BAT0 model "3545797981023400290" type
3545797981528607052 oem "3545797981528673619"
acpiac0 at acpi0: AC unit online
acpibtn0 at acpi0: LID0
acpibtn1 at acpi0: PWRB
acpibtn2 at acpi0: SLPB
acpivideo0 at acpi0: IGPU
acpivout0 at acpivideo0: DD02
cpu0: Enhanced SpeedStep 1895 MHz: speeds: 2001, 200

Re: USB ports not working on a mid-2012 MacBookAir5,1

2014-11-10 Thread Martin Pieuchot
Hello Sevan,

On 10/11/14(Mon) 15:45, Sevan / Venture37 wrote:
> Now that xhci is enabled in -current I gave the snapshots a try again
> on my 11" mid-2012 MacBook Air. The system has USB3 ports but it seems
> that these are not detected & so it is left without any working ports.
> 
> snippets from dmesg
> http://imgur.com/9b1xZA9
> http://imgur.com/OKzAfGe
> 
> dmesg
> http://imgur.com/fugXWyT
> http://imgur.com/934GJhS
> http://imgur.com/M4P3xkO

Could you please post the dmesg inline in text next time?  Having to
search thru 6 pictures in a browser is not something I'm fan of :)

xhci(4) is not yet enabled in the RAMDISK* kernels, because I'd prefer
to squash some more bugs with people really tracking -current 8)

Either you've to install -current or come back in a few weeks, it'll 
be there.

Martin



USB ports not working on a mid-2012 MacBookAir5,1

2014-11-10 Thread Sevan / Venture37
Hi,
Now that xhci is enabled in -current I gave the snapshots a try again
on my 11" mid-2012 MacBook Air. The system has USB3 ports but it seems
that these are not detected & so it is left without any working ports.

snippets from dmesg
http://imgur.com/9b1xZA9
http://imgur.com/OKzAfGe

dmesg
http://imgur.com/fugXWyT
http://imgur.com/934GJhS
http://imgur.com/M4P3xkO

The usb devices section from the OS X system_profiler

USB:

USB 3.0 SuperSpeed Bus:

  Host Controller Location: Built-in USB
  Host Controller Driver: AppleUSBXHCI
  PCI Device ID: 0x1e31
  PCI Revision ID: 0x0004
  PCI Vendor ID: 0x8086
  Bus Number: 0x0a

USB 3.0 Hi-Speed Bus:

  Host Controller Location: Built-in USB
  Host Controller Driver: AppleUSBXHCI
  PCI Device ID: 0x1e31
  PCI Revision ID: 0x0004
  PCI Vendor ID: 0x8086
  Bus Number: 0x0a

USB Hi-Speed Bus:

  Host Controller Location: Built-in USB
  Host Controller Driver: AppleUSBEHCI
  PCI Device ID: 0x1e2d
  PCI Revision ID: 0x0004
  PCI Vendor ID: 0x8086
  Bus Number: 0x1a

Hub:

  Product ID: 0x0024
  Vendor ID: 0x8087  (Intel Corporation)
  Version:  0.00
  Speed: Up to 480 Mb/sec
  Location ID: 0x1a10 / 2
  Current Available (mA): 500
  Current Required (mA): 0

FaceTime HD Camera (Built-in):

  Product ID: 0x8510
  Vendor ID: 0x05ac  (Apple Inc.)
  Version: 80.25
  Serial Number:
  Speed: Up to 480 Mb/sec
  Manufacturer: Apple Inc.
  Location ID: 0x1a11 / 3
  Current Available (mA): 500
  Current Required (mA): 500

USB Hi-Speed Bus:

  Host Controller Location: Built-in USB
  Host Controller Driver: AppleUSBEHCI
  PCI Device ID: 0x1e26
  PCI Revision ID: 0x0004
  PCI Vendor ID: 0x8086
  Bus Number: 0x1d

Hub:

  Product ID: 0x0024
  Vendor ID: 0x8087  (Intel Corporation)
  Version:  0.00
  Speed: Up to 480 Mb/sec
  Location ID: 0x1d10 / 2
  Current Available (mA): 500
  Current Required (mA): 0

Hub:

  Product ID: 0x2512
  Vendor ID: 0x0424  (SMSC)
  Version:  b.b3
  Speed: Up to 480 Mb/sec
  Location ID: 0x1d18 / 3
  Current Available (mA): 500
  Current Required (mA): 2

Apple Internal Keyboard / Trackpad:

  Product ID: 0x024b
  Vendor ID: 0x05ac  (Apple Inc.)
  Version:  2.19
  Speed: Up to 12 Mb/sec
  Manufacturer: Apple Inc.
  Location ID: 0x1d182000 / 5
  Current Available (mA): 500
  Current Required (mA): 40

BRCM20702 Hub:

  Product ID: 0x4500
  Vendor ID: 0x0a5c  (Broadcom Corp.)
  Version:  1.00
  Speed: Up to 12 Mb/sec
  Manufacturer: Apple Inc.
  Location ID: 0x1d181000 / 4
  Current Available (mA): 500
  Current Required (mA): 94

Bluetooth USB Host Controller:

  Product ID: 0x821f
  Vendor ID: 0x05ac  (Apple Inc.)
  Version:  1.31
  Speed: Up to 12 Mb/sec
  Manufacturer: Apple Inc.
  Location ID: 0x1d181300 / 8
  Current Available (mA): 500
  Current Required (mA): 0


Sevan / Venture37