You are not logged in.
You're welcome. I've not used windows for months on my T100HAN. I find it very stable (hours of use every day) and battery performance is alright.
I doubt the mic work with those alsa state files that pavan has provided. Maybe you will be more lucky with the UCM files than I've been, and get things working that way.
I am going on 5 hours right now and still over 50%, that's pretty good for me. The first thing I did when I got this this is installed Linux over Windows. So I have been on in since the beginning of october. I bought this guy to replace a Acer Switch 10 that I fried messing with.. thus my reluctance to fry this one. The downside was this had much newer hardware then my Switch 10 (which was BayTrail) and though the sound didn't work on the Switch the Graphics did and the touchscreen. Now I am pretty much at a trade off with this guy with video working, the sound works on the t100HA but not the touchscreen. So I am happy I am no longer at a loss when it comes to functionality as I was a bit worried this may of ended up being a bust purchase. I like the hardware though, just not the support for it thus far. It is nice however to see Intel employees pitching in, even if Intel doesn't seem to be 100% intentionally behind support in Linux for this hardware.
I tried all the input switches and volume but to no avail with the hp state file. I thought there might be more that has to be involved with getting the mic to work. Hopefully we see something soon.. Thanks again.
Offline
Hi all,
I'm using theses patches with Kali (and maybe arch soon).
Sound on speakers, i915, touchscreen and touchpad work. But there's no backlight control. With light, i can change backlight value (but not real backlight).
Do i need the DSTD fix anymore or is it resolved?
Thanks for your work.
Offline
Hi all,
I'm using theses patches with Kali (and maybe arch soon).
Sound on speakers, i915, touchscreen and touchpad work. But there's no backlight control. With light, i can change backlight value (but not real backlight).
You have to blacklist i915 and manually modprobe it later. At least I have to do that to get backlight settings to work.
Do i need the DSTD fix anymore or is it resolved?
Thanks for your work.
You need the DSDT fix if you want wifi and the sdcard reader. My kernel bug report was rejected as "bios bug, won't fix."
Offline
Hi all,
Sound on speakers, i915, touchscreen and touchpad work. But there's no backlight control. With light, i can change backlight value (but not real backlight).
Do you have the t100ha? If so and you have the touchscreen working I would be interested to know what driver/firmware it's running and if you took any extra steps for that to happen.. thanks
Offline
Yes, it's the T100HA. For the touchscreen, it not really useable as it always click i use it only for selecting some text. I've just followed this topic.
@gmelchett: i've got "[drm:pwm_setup_backlight [i915]] *ERROR* Failed to own the pwm chip" when i manually load i915. And no backlight (with light and xbacklight).
I'll try to see if there are difference from our config files (mine is a 4.8 from kali updated to 4.10-rc1 with your patches).
Bluetooth work and the sdcard reader too.
Thanks very much for all this work.
Offline
arcangeli wrote:Hi all,
Sound on speakers, i915, touchscreen and touchpad work. But there's no backlight control. With light, i can change backlight value (but not real backlight).Do you have the t100ha? If so and you have the touchscreen working I would be interested to know what driver/firmware it's running and if you took any extra steps for that to happen.. thanks
The touchscreen is working as it should. (Posted xorg settings for it yesterday or so) You just have to install something that understands gestures.
Offline
Yes, it's the T100HA. For the touchscreen, it not really useable as it always click i use it only for selecting some text. I've just followed this topic.
@gmelchett: i've got "[drm:pwm_setup_backlight [i915]] *ERROR* Failed to own the pwm chip" when i manually load i915. And no backlight (with light and xbacklight).
I'll try to see if there are difference from our config files (mine is a 4.8 from kali updated to 4.10-rc1 with your patches).
Bluetooth work and the sdcard reader too.
Thanks very much for all this work.
I have a weak memory that I've had this error myself. Something that had to be compiled not as a module. CONFIG_PINCTRL_CHERRYVIEW=y maybe?
might be CRYSTAL_COVE-something.
Offline
I've got CONFIG_PINCTRL_CHERRYVIEW=y and CONFIG_GPIO_CRYSTAL_COVE=y.
I'm in the process of compiling with your config...
Offline
I've managed to break out the touchpad multitouch hack into a separate driver. Now it is just the easy parts left - I guess. Hopefully in a few days I'll have a proper driver ready, with working suspend/resume.
Happy new year guys!
Offline
Happy new year.
I've made a new config for my kernel. Now backlight work perfectly.
Great work man. Thanks.
Offline
New version of my patch stack. The multitouch hack is now replaced with a proper driver, asustouch. It should work on T100TA as well, but I have not tested.
http://lithops.se/patches-on-4.10rc2.tar.bz2
Please test the driver, and tell me the results! I will probably do some minor cosmetic changes before sending it to mainline kernel for review, so
any feedback on the patch is welcome.
On the bad side, suspend/resume is still not working properly - lots of error messages on resume, but ob stickle is removed. And yes, the touchpad works after resume. (Last time I tested at least :-)
Offline
Not played with suspend/resume for now.
But i need to manually load asustouch module BEFORE starting x. If not, i can't use the touchpad until i reboot (don't work if i quit x, load asustouch and restart x).
Not a big deal as i do not run any dm. But for those that use dm, you need to load it at boot.
The touchpad work as before, with a tap for click but without two finger scrolling. I'll try to see if i can configure x for multitouch use. That was automatic with previous patch set.
Offline
Will creating a udev rule maybe load the driver before Xorg?
Offline
Not played with suspend/resume for now.
But i need to manually load asustouch module BEFORE starting x. If not, i can't use the touchpad until i reboot (don't work if i quit x, load asustouch and restart x).
Thanks for testing! Did you run depmod after installing the newly built modules? For me, asustouch loads automatically.
Not a big deal as i do not run any dm. But for those that use dm, you need to load it at boot.
The touchpad work as before, with a tap for click but without two finger scrolling.
Multitouch is the sole purpose of this driver :-) Without it, you get hid-generic, which is single touch.
I'll try to see if i can configure x for multitouch use. That was automatic with previous patch set.
Sounds like something went wrong with your build. But here is my xorg conf for the touchpad:
--
Section "InputClass"
Identifier "touchpad"
Driver "libinput"
MatchIsTouchpad "on"
Option "NaturalScrolling" "1"
Option "ScrollMethod" "twofinger"
Option "HorizontalScrolling" "1"
Option "SendEventsMode" "disabled-on-external-mouse"
Option "Tapping" "1"
Option "TappingButtonMap" "lrm"
Option "TappingDrag" "1"
Option "TappingDragLock" "0"
Option "DisableWhileTyping" "1"
EndSection
--
Offline
Will creating a udev rule maybe load the driver before Xorg?
No such changes should be needed. The driver uses the input framework, and everything should work as before.
Offline
Regarding sound, the audio heard with lot of noise in the asound.state-hp for headphones is most likely analog overhearing in the analog electronics since the state file mixes in input audio into the headphone audio. Without having the datasheet (didn't find the one for rt5640 either) I guess the setup looks like this:
music -> audio digital [unknown path]--> audio analog out ->[off by default] speaker
mic [off] -> analog audio in -> analog MIX with headphone
audio digital [another path] -> headphone analog -> headphone out.
(If it makes any sense :-)
Offline
Found someones misc wiki that finally explained the basic usecase of the undocumented alsaucm.
alsaucm -c chtrt5645 reset
alsaucm -c chtrt5645 set _verb HiFi set _disdev Headphones
alsaucm -c chtrt5645 set _verb HiFi set _disdev Speaker
alsaucm -c chtrt5645 set _verb HiFi set _enadev Headphones
for headphones. Just noise in headphones, while Speakers work.
Offline
Powertop suggests the following settings in order to optimize for power:
--
echo '0' > /proc/sys/kernel/nmi_watchdog
echo '1500' > /proc/sys/vm/dirty_writeback_centisecs
echo 'auto' > /sys/bus/pci/devices/0000:00:14.0/power/control
echo 'auto' > /sys/bus/pci/devices/0000:00:00.0/power/control
echo 'auto' > /sys/bus/pci/devices/0000:00:03.0/power/control
echo 'auto' > /sys/bus/pci/devices/0000:00:1a.0/power/control
echo 'auto' > /sys/bus/pci/devices/0000:00:0b.0/power/control
echo 'auto' > /sys/bus/pci/devices/0000:00:02.0/power/control
echo 'auto' > /sys/bus/pci/devices/0000:00:0a.0/power/control
echo 'auto' > /sys/bus/pci/devices/0000:00:1f.0/power/control
--
Suspend/resume apparently leaves something off (touchscreen - something else?) and that saves ~0.3 W. With backlight at 10, I get a power consumption of about ~1.7W, when doing some programming. That means over 15h in emacs without charging :-)
Web browsing is somewhere around 3W. Turning off the screen brings it down to 1W.
It will be very interesting to see the power figures once the different sleep states start to work. (See: /sys/kernel/debug/pmc_atom/sleep_state)
Offline
Tried your patches with rc3. suspend work but wifi does'nt work after resume. wlan0 is here but can't be configured (tried with networkmanager and wpa_supplicant_gui).
Is there some progress?
Offline
Thanks. My parental leave is now over and I'm back at work, so now I have currently not much time to try things out.
I removed "suspend on lid close" from systemd, added a keyboard shortcut to activate a screensaver that turns off the screen, instead of using normal suspend. Since the computer consumes around 1W (= battery last up to 30 h) with the screen off, for the time beeing it's an ok "suspend-substitute".
But wlan has been working fine for me after suspend/resume, but I got loads of sdhci errors. But I've not had the computer suspended for that long time. Just been trying it out.
Offline
Hello,
I've recently got a T100HA and installed Arch on it. I tried compiling Linux 4.10rc1 with
gmelchett's patchset and config, hacking it into the linux-git PKGBUILD. It fails to build
for me at ` LD fs/built-in.o`. Could someone give me a hint on how to get up to
speed, or has a makepkg-able tar.gz at hand? That'd be awesome!
Cheers,
Cake
Offline
Hello,
I've recently got a T100HA and installed Arch on it. I tried compiling Linux 4.10rc1 with
gmelchett's patchset and config, hacking it into the linux-git PKGBUILD. It fails to build
for me at ` LD fs/built-in.o`. Could someone give me a hint on how to get up to
speed, or has a makepkg-able tar.gz at hand? That'd be awesome!Cheers,
Cake
I'm not using any PKGBUILD. I do:
make O=`pwd`/build # mkdir build first time and put .config there
make modules_install # I build usually on another machine, using INSTALL_MOD_PATH, and scp a them in a tarball
cp build/arch/x86/boot/bzImage /boot/bzImage-something
cd /lib/modules
depmod -a <4.10...something>
mkinitcpio -k /boot/bzImage-something -c /etc/mkinitcpio.conf -g /boot/initramfs-4.10-something
cd /boot/loader/entries
add a new entry.
Offline
I've noticed that like one time of 10-20, hid-generic takes the touchpad ahead of my hid-asus-touchpad driver. I'll be looking into it.
Offline
I managed to persuade the wifi to work :-). I installed linux 4.10 rc4 from AUR with package linux-mainline (but this is probably not required, I did it because it fixes the black screen problem with GPU acceleration). Then I installed linux-firmware-git from AUR which contains /usr/lib/firmware/brcm/brcmfmac43340-sdio.bin which is the driver for the Broadcom 43241b1, then I followed these instructions https://wiki.debian.org/InstallingDebia … 100TA#WiFi which basically boil down to run
cp /sys/firmware/efi/efivars/nvram-74b00bd9-805a-4d61-b51f-43268123d113 /lib/firmware/brcm/brcm/brcmfmac43340-sdio.txt
to copy the nvram file to the right location in firmware folder. Then I ran
modprobe -r brcmfmac && modprobe brcmfmac
and wlan0 magically appeared in ip link
P.S. just make sure you haven't installed broadcom-wl or broadcom-wl-dkms from the AUR because they blacklist module brcmfmac, in that case just remove them
Last edited by oggio88 (2017-01-20 23:13:21)
Offline
Great, things are starting to work for me too.
Summing it up so others having trouble can get a head start:
Works: Wifi, Sound (Speakers only), GPU Accel, Touchscreen, Touchpad
Doesn't: Headphones sound, Bluetooth, Backlight adjustment, also Suspend breaks Wifi and Touchscreen
Kernel: Linux 4.10rc4 `linux-mainline` AUR package with latest patches by gmelchett (Patches apply just fine)
TL;DR:
For XOrg: Add kernel parameters `video=LVDS-1:d fbcon=rotate:3` (fbcon may not be needed), save snippet below at /etc/X11/xorg.conf.d/10-t100ha.conf
For sound: Save https://github.com/p-an/T100HA-DSDT/blo … .state-spk to `/var/lib/alsa/asound.state`. Maybe requires `alsa-firmware`.
For wifi: `cp /sys/firmware/efi/efivars/nvram-74b00bd9-805a-4d61-b51f-43268123d113 /usr/lib/firmware/brcm/brcmfmac43340-sdio.txt`, install `linux-firmware-git` from AUR (Maybe the non-git version would work too?). The file contains garbage bytes at the start, which I just removed. No idea if this is required.
# File pieces scavenged from this thread, thanks to the original posters whose links I can't find right now :)
Section "Device"
Identifier "Intel Graphics"
Driver "intel"
EndSection
Section "Screen"
Identifier "Default Screen"
Monitor "Main LCD"
DefaultDepth 24
SubSection "Display"
Depth 24
Modes "800x1280"
EndSubSection
EndSection
Section "InputClass"
Identifier "touchpad"
Driver "libinput"
MatchIsTouchpad "on"
Option "NaturalScrolling" "1"
Option "ScrollMethod" "twofinger"
Option "HorizontalScrolling" "1"
Option "SendEventsMode" "disabled-on-external-mouse"
Option "Tapping" "1"
Option "TappingButtonMap" "lrm"
Option "TappingDrag" "1"
Option "TappingDragLock" "0"
Option "DisableWhileTyping" "1"
EndSection
Section "InputClass"
Identifier "touchscreen"
Driver "libinput"
##Option "Device" "/dev/input/event11"
MatchIsTouchScreen "True"
Option "NaturalScrolling" "1"
Option "ScrollMethod" "twofinger"
Option "HorizontalScrolling" "1"
Option "RotationAngle" "270.0"
Option "Tapping" "1"
Option "TappingButtonMap" "lrm"
Option "TappingDrag" "1"
Option "TappingDragLock" "0"
Option "DisableWhileTyping" "0"
EndSection
# Rotate touchscreen
Section "InputClass"
Identifier "touchscreen"
Driver "libinput"
MatchIsTouchscreen "on"
Option "TransformationMatrix" "0 -1 1 1 0 0 0 0 1"
EndSection
Last edited by UsedCake (2017-01-21 22:30:54)
Offline