Re: [gentoo-user] help installing Gentoo on Asus Transformer T101HA

2017-12-29 Thread Stefano Crocco
On venerdì 29 dicembre 2017 03:40:46 CET Daniel Frey wrote:
> On 12/28/17 12:36, Stefano Crocco wrote:
> > Hello to everyone,
> > I'm trying to install Gentoo on an Asus Transformer T101HA and there are
> > some issues I'd need help with.
> > 
> > First of all, I must say that many things worked fairly easily. I
> > performed
> > the installation from a SysrescueCD USB stick where almost everything,
> > including WiFi and touchscreen, worked out of the box (aside from having
> > to
> > find out how to rotate the screen, both in X and in framebuffer).
> > 
> > After installing everything (of course, compiling all packages on my
> > desktop machine), there are still some things which don't work. One is
> > the touch screen but, given that it worked using the SysrescueCD stick,
> > I'm not worried too much about it (besides, I'm not planning to use it
> > much).
> > 
> > The most troublesome issues, right now, are the sound card and the SD card
> > reader. Both of them simply don't seem to exist: they didn't work with the
> > SysrescueCD stick, I can't find any mention of either of them in the
> > output of dmesg, lspci and lsusb and Google gave pratically no answer.
> > I'm starting to think neither of them is supported with Linux but I
> > haven't been able to find any definitive information about this. I tried
> > activating all kernel options I could find which seemed vaguely related
> > to them, but to no effect.
> > 
> > Unfortunately, I haven't been able even to find out the exact models of
> > the
> > cards. All I know is that (according to Windows 10) the sound card is an
> > Intel SSt Audio Device (WDM), while the codec is a Realtek I2S Audio
> > Codec. I have no information at all on the SD card reader. The
> > motherboard, according to lshw, is a T101HA by AUSTeK.
> > 
> > I attach my last version of the kernel config (using gentoo-sources-4.14.9
> > which, I just found out, now seems to be masked).
> > 
> > I'd be glad for any hint about these issues. I spent all of this afternoon
> > trying to solve them and I can't really think what else I could try.
> > 
> > Thanks in advance
> > 
> > Stefano
> 
> Hmm, after googling it seems some of those Transformer models are not
> linux friendly. There are reports of no driver for the SD card reader
> and models earlier than yours needed firmware to use the sound card.
> 
> You might be able to use hints from:
> 
> https://wiki.debian.org/InstallingDebianOn/Asus/T100TA
> 
> to get the sound working, even though the model is older than yours.
> 
> Dan

Thanks for the answer.
Unfortunately, the hints on the page you linked didn't work. The firmware on 
that page is already included in linux-firmware (unless I'm missing something, 
of course). I tried compiling it in the kernel, but with no result. I believe 
the problem is something other than missing firmware, because I see no messages 
about failures to load firmware in dmes. 

I just noticed there are some audio-related messages in dmesg which I hadn't 
noticed before:

[drm] HDaudio controller not detected, using LPE audio instead
cht-bsw-rt5645: ASoC: CODEC DAI snd-soc-dummy-dai not registered
cht-bsw-rt5645: snd_soc_register_card failed -517

I don't know whether they're significant or they're spurious messages caused by 
my including every possible sound card drivers in the kernel.

I fear you're right about this Transformer not being linux friendly: I just 
found out that it doesn't recognize the power button, either. 

I think right now I need a break from this machine: I've alread spent about 
three days working on it and I have other things to do. I'll try to rebuild a 
kernel from scratch in a few days; in the meanwhile I'll use it as it is.

Thanks again

Stefano





Re: [gentoo-user] help installing Gentoo on Asus Transformer T101HA

2017-12-28 Thread Daniel Frey

On 12/28/17 12:36, Stefano Crocco wrote:

Hello to everyone,
I'm trying to install Gentoo on an Asus Transformer T101HA and there are some
issues I'd need help with.

First of all, I must say that many things worked fairly easily. I performed
the installation from a SysrescueCD USB stick where almost everything,
including WiFi and touchscreen, worked out of the box (aside from having to
find out how to rotate the screen, both in X and in framebuffer).

After installing everything (of course, compiling all packages on my desktop
machine), there are still some things which don't work. One is the touch
screen but, given that it worked using the SysrescueCD stick, I'm not worried
too much about it (besides, I'm not planning to use it much).

The most troublesome issues, right now, are the sound card and the SD card
reader. Both of them simply don't seem to exist: they didn't work with the
SysrescueCD stick, I can't find any mention of either of them in the output of
dmesg, lspci and lsusb and Google gave pratically no answer. I'm starting to
think neither of them is supported with Linux but I haven't been able to find
any definitive information about this. I tried activating all kernel options I
could find which seemed vaguely related to them, but to no effect.

Unfortunately, I haven't been able even to find out the exact models of the
cards. All I know is that (according to Windows 10) the sound card is an Intel
SSt Audio Device (WDM), while the codec is a Realtek I2S Audio Codec. I have
no information at all on the SD card reader. The motherboard, according to
lshw, is a T101HA by AUSTeK.

I attach my last version of the kernel config (using gentoo-sources-4.14.9
which, I just found out, now seems to be masked).

I'd be glad for any hint about these issues. I spent all of this afternoon
trying to solve them and I can't really think what else I could try.

Thanks in advance

Stefano



Hmm, after googling it seems some of those Transformer models are not 
linux friendly. There are reports of no driver for the SD card reader 
and models earlier than yours needed firmware to use the sound card.


You might be able to use hints from:

https://wiki.debian.org/InstallingDebianOn/Asus/T100TA

to get the sound working, even though the model is older than yours.

Dan



[gentoo-user] help installing Gentoo on Asus Transformer T101HA

2017-12-28 Thread Stefano Crocco
Hello to everyone,
I'm trying to install Gentoo on an Asus Transformer T101HA and there are some 
issues I'd need help with.

First of all, I must say that many things worked fairly easily. I performed 
the installation from a SysrescueCD USB stick where almost everything, 
including WiFi and touchscreen, worked out of the box (aside from having to 
find out how to rotate the screen, both in X and in framebuffer). 

After installing everything (of course, compiling all packages on my desktop 
machine), there are still some things which don't work. One is the touch 
screen but, given that it worked using the SysrescueCD stick, I'm not worried 
too much about it (besides, I'm not planning to use it much).

The most troublesome issues, right now, are the sound card and the SD card 
reader. Both of them simply don't seem to exist: they didn't work with the 
SysrescueCD stick, I can't find any mention of either of them in the output of 
dmesg, lspci and lsusb and Google gave pratically no answer. I'm starting to 
think neither of them is supported with Linux but I haven't been able to find 
any definitive information about this. I tried activating all kernel options I 
could find which seemed vaguely related to them, but to no effect.

Unfortunately, I haven't been able even to find out the exact models of the 
cards. All I know is that (according to Windows 10) the sound card is an Intel 
SSt Audio Device (WDM), while the codec is a Realtek I2S Audio Codec. I have 
no information at all on the SD card reader. The motherboard, according to 
lshw, is a T101HA by AUSTeK.

I attach my last version of the kernel config (using gentoo-sources-4.14.9 
which, I just found out, now seems to be masked).

I'd be glad for any hint about these issues. I spent all of this afternoon 
trying to solve them and I can't really think what else I could try.

Thanks in advance

Stefano#
# Automatically generated file; DO NOT EDIT.
# Linux/x86 4.14.9-gentoo Kernel Configuration
#

#
# Gentoo Linux
#
CONFIG_GENTOO_LINUX=y
CONFIG_GENTOO_LINUX_UDEV=y
CONFIG_GENTOO_LINUX_PORTAGE=y

#
# Support for init systems, system and service managers
#
CONFIG_GENTOO_LINUX_INIT_SCRIPT=y
# CONFIG_GENTOO_LINUX_INIT_SYSTEMD is not set
CONFIG_64BIT=y
CONFIG_X86_64=y
CONFIG_X86=y
CONFIG_INSTRUCTION_DECODER=y
CONFIG_OUTPUT_FORMAT="elf64-x86-64"
CONFIG_ARCH_DEFCONFIG="arch/x86/configs/x86_64_defconfig"
CONFIG_LOCKDEP_SUPPORT=y
CONFIG_STACKTRACE_SUPPORT=y
CONFIG_MMU=y
CONFIG_ARCH_MMAP_RND_BITS_MIN=28
CONFIG_ARCH_MMAP_RND_BITS_MAX=32
CONFIG_ARCH_MMAP_RND_COMPAT_BITS_MIN=8
CONFIG_ARCH_MMAP_RND_COMPAT_BITS_MAX=16
CONFIG_NEED_DMA_MAP_STATE=y
CONFIG_NEED_SG_DMA_LENGTH=y
CONFIG_GENERIC_ISA_DMA=y
CONFIG_GENERIC_BUG=y
CONFIG_GENERIC_BUG_RELATIVE_POINTERS=y
CONFIG_GENERIC_HWEIGHT=y
CONFIG_ARCH_MAY_HAVE_PC_FDC=y
CONFIG_RWSEM_XCHGADD_ALGORITHM=y
CONFIG_GENERIC_CALIBRATE_DELAY=y
CONFIG_ARCH_HAS_CPU_RELAX=y
CONFIG_ARCH_HAS_CACHE_LINE_SIZE=y
CONFIG_HAVE_SETUP_PER_CPU_AREA=y
CONFIG_NEED_PER_CPU_EMBED_FIRST_CHUNK=y
CONFIG_NEED_PER_CPU_PAGE_FIRST_CHUNK=y
CONFIG_ARCH_HIBERNATION_POSSIBLE=y
CONFIG_ARCH_SUSPEND_POSSIBLE=y
CONFIG_ARCH_WANT_HUGE_PMD_SHARE=y
CONFIG_ARCH_WANT_GENERAL_HUGETLB=y
CONFIG_ZONE_DMA32=y
CONFIG_AUDIT_ARCH=y
CONFIG_ARCH_SUPPORTS_OPTIMIZED_INLINING=y
CONFIG_ARCH_SUPPORTS_DEBUG_PAGEALLOC=y
CONFIG_X86_64_SMP=y
CONFIG_ARCH_SUPPORTS_UPROBES=y
CONFIG_FIX_EARLYCON_MEM=y
CONFIG_PGTABLE_LEVELS=4
CONFIG_DEFCONFIG_LIST="/lib/modules/$UNAME_RELEASE/.config"
CONFIG_IRQ_WORK=y
CONFIG_BUILDTIME_EXTABLE_SORT=y
CONFIG_THREAD_INFO_IN_TASK=y

#
# General setup
#
CONFIG_INIT_ENV_ARG_LIMIT=32
CONFIG_CROSS_COMPILE=""
# CONFIG_COMPILE_TEST is not set
CONFIG_LOCALVERSION=""
# CONFIG_LOCALVERSION_AUTO is not set
CONFIG_HAVE_KERNEL_GZIP=y
CONFIG_HAVE_KERNEL_BZIP2=y
CONFIG_HAVE_KERNEL_LZMA=y
CONFIG_HAVE_KERNEL_XZ=y
CONFIG_HAVE_KERNEL_LZO=y
CONFIG_HAVE_KERNEL_LZ4=y
CONFIG_KERNEL_GZIP=y
# CONFIG_KERNEL_BZIP2 is not set
# CONFIG_KERNEL_LZMA is not set
# CONFIG_KERNEL_XZ is not set
# CONFIG_KERNEL_LZO is not set
# CONFIG_KERNEL_LZ4 is not set
CONFIG_DEFAULT_HOSTNAME="(none)"
CONFIG_SWAP=y
CONFIG_SYSVIPC=y
CONFIG_SYSVIPC_SYSCTL=y
CONFIG_POSIX_MQUEUE=y
CONFIG_POSIX_MQUEUE_SYSCTL=y
CONFIG_CROSS_MEMORY_ATTACH=y
CONFIG_FHANDLE=y
CONFIG_USELIB=y
CONFIG_AUDIT=y
CONFIG_HAVE_ARCH_AUDITSYSCALL=y
CONFIG_AUDITSYSCALL=y
CONFIG_AUDIT_WATCH=y
CONFIG_AUDIT_TREE=y

#
# IRQ subsystem
#
CONFIG_GENERIC_IRQ_PROBE=y
CONFIG_GENERIC_IRQ_SHOW=y
CONFIG_GENERIC_IRQ_EFFECTIVE_AFF_MASK=y
CONFIG_GENERIC_PENDING_IRQ=y
CONFIG_GENERIC_IRQ_MIGRATION=y
CONFIG_IRQ_DOMAIN=y
CONFIG_IRQ_DOMAIN_HIERARCHY=y
CONFIG_GENERIC_MSI_IRQ=y
CONFIG_GENERIC_MSI_IRQ_DOMAIN=y
# CONFIG_IRQ_DOMAIN_DEBUG is not set
CONFIG_IRQ_FORCED_THREADING=y
CONFIG_SPARSE_IRQ=y
# CONFIG_GENERIC_IRQ_DEBUGFS is not set
CONFIG_CLOCKSOURCE_WATCHDOG=y
CONFIG_ARCH_CLOCKSOURCE_DATA=y
CONFIG_CLOCKSOURCE_VALIDATE_LAST_CYCLE=y
CONFIG_GENERIC_TIME_VSYSCALL=y
CONFIG_GENERIC_CLOCKEVENTS=y
CONFIG_GENERIC_CLOCKEVENTS_BROADCAST=y
CONFIG_GENERIC_CLOCKEVENTS_MIN_ADJUST=y