<html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"></head><body>With the LPSS & SCC in ACPI mode I don't see any UARTs reported by Linux. Is there a way to tell Linux these ports exist so I can use them with a program like minicom to communicate with a BT device?<div><br></div><div>If I change to PCI mode, lspci reports that two LPI01 HSUART devices exist but I can't seem to figure out how to use them for serial communication.</div><div><br></div><div>We are running Centos 7 and I've tried the 3.10 kernel Centos comes with and the El repo 4.5 kernel. Though the 4.5 kernel locks up on startup if I use PCI mode.</div><br><br>-------- Original message --------<br>From: "Wei, David" <david.wei@intel.com> <br>Date: 05/04/2016 9:39 PM (GMT-05:00) <br>To: MinnowBoard Development and Community Discussion <elinux-minnowboard@lists.elinux.org> <br>Subject: Re: [MinnowBoard] Minnowboard Turbot PCI UART <br><br>All SCC and LPSS devices, including HS UART are switched into ACPI mode by BIOS before handing off to OS. <br>You could switch SCC and LPSS devices back to PCI mode by BIOS setting "Device Manager -> System Setup -> South Cluster Configuration -> LPSS and SCC Configuration". But this is not recommended. <br><br>The HSUART ACPI objects are : <br><br>//<br>// LPIO1 HS-UART #1<br>//<br>Device(URT1)<br>{<br> Name (_ADR, 0)<br> Name (_HID, "80860F0A")<br> Name (_CID, "80860F0A")<br> Name (_DDN, "Intel(R) HS-UART Controller #1 - 80860F0A")<br> Name (_UID, 1)<br> Name(_DEP, Package(0x1)<br> {<br> PEPD<br> })<br> Name (RBUF, ResourceTemplate ()<br> {<br> Memory32Fixed (ReadWrite, 0x00000000, 0x00001000, BAR0)<br> Interrupt (ResourceConsumer, Level, ActiveLow, Exclusive, , , ) {39} // HS-UART #1 IRQ<br><br> FixedDMA(0x2, 0x2, Width32Bit, )<br> FixedDMA(0x3, 0x3, Width32Bit, )<br> })<br> Method (_HRV, 0x0, NotSerialized)<br> {<br> Return (SOCS)<br> }<br> Method (_CRS, 0x0, NotSerialized)<br> {<br> CreateDwordField(^RBUF, ^BAR0._BAS, B0BA)<br> CreateDwordField(^RBUF, ^BAR0._LEN, B0LN)<br> Store(U10A, B0BA)<br> Store(U10L, B0LN)<br> Return (RBUF)<br> }<br> ...<br><br>}// Device (URT1)<br><br>//<br>// LPIO1 HS-UART #2<br>//<br>Device(URT2)<br>{<br> Name (_ADR, 0)<br> Name (_HID, "80860F0A")<br> Name (_CID, "80860F0A")<br> Name (_DDN, "Intel(R) HS-UART Controller #2 - 80860F0C")<br> Name (_UID, 2)<br><br> Name(_DEP, Package(0x1)<br> {<br> PEPD<br> })<br><br> Name (RBUF, ResourceTemplate ()<br> {<br> Memory32Fixed (ReadWrite, 0x00000000, 0x00001000, BAR0)<br> Interrupt (ResourceConsumer, Level, ActiveLow, Exclusive, , , ) {40} // HS-UART #2 IRQ<br><br> FixedDMA(0x4, 0x4, Width32Bit, )<br> FixedDMA(0x5, 0x5, Width32Bit, )<br> })<br><br> Method (_HRV, 0x0, NotSerialized)<br> {<br> Return (SOCS)<br> }<br><br> Method (_CRS, 0x0, NotSerialized)<br> {<br> CreateDwordField(^RBUF, ^BAR0._BAS, B0BA)<br> CreateDwordField(^RBUF, ^BAR0._LEN, B0LN)<br> Store(U20A, B0BA)<br> Store(U20L, B0LN)<br> Return (RBUF)<br> }<br>.....<br>}// Device (URT2)<br> <br><br>Thanks,<br>David <br><br>Intel SSG BIOS<br><br>-----Original Message-----<br>From: elinux-MinnowBoard [mailto:elinux-minnowboard-bounces@lists.elinux.org] On Behalf Of Anders, David<br>Sent: Thursday, May 05, 2016 4:32 AM<br>To: MinnowBoard Development and Community Discussion <elinux-minnowboard@lists.elinux.org><br>Subject: Re: [MinnowBoard] Minnowboard Turbot PCI UART<br><br>Greetings,<br><br>You'll need to make sure that the pin muxing for the uarts on the LSE are set properly in the UEFI setings, and you'll need to make sure you use a recent kernel with the uart driver enabled... there are two UARTS on the LSE to choose from, so make sure understand which one you plan to use and make that one is enabled...<br><br>Dave<br><br><br>-----Original Message-----<br>From: elinux-MinnowBoard [mailto:elinux-minnowboard-bounces@lists.elinux.org] On Behalf Of Sullivan, California L<br>Sent: Wednesday, May 4, 2016 3:28 PM<br>To: MinnowBoard Development and Community Discussion <elinux-minnowboard@lists.elinux.org><br>Subject: Re: [MinnowBoard] Minnowboard Turbot PCI UART<br><br>Hi there.<br><br>I haven't used the HSUARTs, so I can't help much there, but I know ttyS0 probably won't work for what you're trying to do. That's the debug UART (6 pin connector next to the SATA connector) and is limited to a 115200 baud.<br><br>I believe ttyS2 is the HSUART connected to pins 6/8/10/12 on the LSE, but again I haven't used it so I can't be too much help.<br><br>---<br>Cal<br><br>On 05/04/2016 12:32 PM, the_drethon_tolar wrote:<br>Hi, I'm new here so let me know if I do anything wrong.<br><br>I'm trying to use a Minnowboard Turbot for controlling a Bluetooth module via UART. We are trying to use the PCI UART1 but we aren't seeing the TX pins send any data.<br><br>I've tried various settings in the BIOS to enable the serial port. Regardless, on startup Linux always just shows ttyS0 as an enabled serial port. Using minicom or just echoing to /dev/ttyS0 does not TX any data (we have an oscope on pin 6).<br><br>lspci shows an HSUART controller with no I/O memory and so far I haven't found a way to enable this device, if that is what I should do.<br><br>Can someone point me in the right direction, or drag me back to the path?<br><br>Thanks!<br><br>_______________________________________________<br>elinux-MinnowBoard mailing list<br>elinux-MinnowBoard@lists.elinux.org<br>http://lists.elinux.org/mailman/listinfo/elinux-minnowboard<br>_______________________________________________<br>elinux-MinnowBoard mailing list<br>elinux-MinnowBoard@lists.elinux.org<br>http://lists.elinux.org/mailman/listinfo/elinux-minnowboard<br>_______________________________________________<br>elinux-MinnowBoard mailing list<br>elinux-MinnowBoard@lists.elinux.org<br>http://lists.elinux.org/mailman/listinfo/elinux-minnowboard<br></body></html>