Re: xHCI not working on ASUS F555 laptop

2016-01-08 Thread Chris Bannister
On Thu, Jan 07, 2016 at 10:07:50AM -0600, Jonathan A. Kollasch wrote:
> On Fri, Jan 08, 2016 at 03:20:31AM +1300, Chris Bannister wrote:
> > On Thu, Jan 07, 2016 at 06:08:24AM -0500, Gary Duzan wrote:
> > > 
> > >xhci is commented-out in the GENERIC kernel, even on -current:
> > > 
> > > # xhci* at pci? dev ? function ?# eXtensible Host Controller
> > > # xhci is at best experimental
> > > # usb*  at xhci?
> > > 
> > > If you want to try it, uncomment these or try an ALL kernel.
> > 
> > What is an ALL kernel, and where are the docs about it? (Google is
> > unhelpful here.) :)
> 
> Uh, ALL kernels aren't even expected to boot.

OK ... but what is it? Is it described in the guide?

-- 
"If you're not careful, the newspapers will have you hating the people
who are being oppressed, and loving the people who are doing the 
oppressing." --- Malcolm X


Re: xHCI not working on ASUS F555 laptop

2016-01-08 Thread Chris Bannister
On Fri, Jan 08, 2016 at 11:18:04AM -0500, g...@duzan.org wrote:
> 
>I don't know about the guide, but see src/sys/arch/${arch}/conf/ALL.
> 
> # $NetBSD: ALL,v 1.33 2015/11/10 13:01:41 tnn Exp $
> # From NetBSD: GENERIC,v 1.787 2006/10/01 18:37:54 bouyer Exp
> #
> # ALL machine description file
> #
> # This machine description includes all devices and options and it is
> # used to compile-test the source and does not necessarily produce a
> # bootable or useful kernel.
> 
>Presumably it is there to allow test compiling of everything,
> regardless of whether it is stable enough for GENERIC.

Thanks. 

-- 
"If you're not careful, the newspapers will have you hating the people
who are being oppressed, and loving the people who are doing the 
oppressing." --- Malcolm X


Re: xHCI not working on ASUS F555 laptop

2016-01-07 Thread gary
=> On Jan 7, 2016, at 5:08, Gary Duzan  wrote:
=>>
=>> In Message <47820a2c8eb.b1d4...@mail.owl.de>,
=>>   Frank Wille wrote:
=>>
=>> =>Hi,
=>> =>
=>> =>I was given an Asus F555L laptop for installing NetBSD. It came with
=>> FreeDOS
=>> =>preinstalled and looked like it could be a nice NetBSD laptop. The
=>> intel
=>> =>graphics and HD audio are working great.
=>> =>
=>> =>WLAN (AR9485) does not work, but I expected nothing else.
=>> =>
=>> =>A serious problem though, is the lack of USB. The intel xHCI USB
=>> device is
=>> =>not recognized by a generic 7.0 kernel. Here is the complete dmesg:
=>> =>
=>> => [...]
=>>
=>>   xhci is commented-out in the GENERIC kernel, even on -current:
=>>
=>> # xhci* at pci? dev ? function ?# eXtensible Host Controller
=>># xhci is at best experimental
=>> # usb*  at xhci?
=>>
=>> If you want to try it, uncomment these or try an ALL kernel.
=>
=> Is the problem a complete lack of USB, or just lack of xHCI? I'd expect
=> ehci to work with a GENERIC kernel and provide USB 2.0 support.

   Good question. According to
https://www.asus.com/Notebooks/X555LA/specifications/ , this machine
has two USB 3.0 ports and one USB 2.0 port. Does the USB 2.0 port work?

   Not having full USB 3.0 support is IMHO a serious black mark against
NetBSD on modern hardware. Is anyone actively working on it? Are there
particular known obstacles? I could perhaps spend some time on it
myself if pointed in the right direction.

 Gary Duzan






Re: xHCI not working on ASUS F555 laptop

2016-01-07 Thread Dave Huang

On 1/7/2016 4:17, Frank Wille wrote:

The complete list of PCI devices on this board:

000:00:0: Intel Core 4G (mobile) Host Bridge, DRAM (host bridge, revision
0x0b)
000:02:0: Intel HD Graphics (GT2) (VGA display, revision 0x0b)
000:03:0: Intel Core 4G (mobile) Mini HD audio (mixed mode multimedia,
revision 0x0b)
000:04:0: Intel product 0x0a03 (miscellaneous DASP, revision 0x0b)
000:20:0: Intel Core 4G (mobile) USB xHCI (USB serial bus, xHCI, revision
0x04)
000:22:0: Intel Core 4G (mobile) MEI (miscellaneous communications, revision
0x04)
000:27:0: Intel Core 4G (mobile) HD Audio (mixed mode multimedia, revision
0x04)
000:28:0: Intel Core 4G (mobile) PCIE (PCI bridge, revision 0xe4)
000:28:2: Intel Core 4G (mobile) PCIE (PCI bridge, revision 0xe4)
000:28:3: Intel Core 4G (mobile) PCIE (PCI bridge, revision 0xe4)
000:31:0: Intel Core 4G (mobile) LPC (ISA bridge, revision 0x04)
000:31:2: Intel Core 4G (mobile) SATA Controller (AHCI) (SATA mass storage,
AHCI 1.0, revision 0x04)
000:31:3: Intel Core 4G (mobile) SMBus (SMBus serial bus, revision 0x04)
000:31:6: Intel Core 4G (mobile) Thermal (miscellaneous DASP, revision 0x04)
002:00:0: Realtek Semiconductor 8168/8111 10/100/1000 Ethernet (ethernet
network, revision 0x10)
003:00:0: Atheros Communications AR9485 Wireless LAN (miscellaneous network,
revision 0x01)


Any idea to make USB work? Standard speed USB would already be sufficient.



Hmm, no EHCI device at all? Maybe experiment with the various USB 
settings in the BIOS to see if you can get an EHCI device to show up.


(Of course, you can also try a kernel with the xhci driver, but as the 
comment says, it's still experimental)