asus-flow-x13-linux's People
Forkers
battajehub sub6 r0l1 catalinleordeanu nvllsvm robertwe unoffices kaukovforks kop3sh thecpcat romanyazvinsky vicentesuarez quotemeasus-flow-x13-linux's Issues
Speaker not working ubuntu 20.04 ROG flow x13
Is any onyone facing no sound problem on ASUS ROG flow x13 with ubuntu 20.04? Any solutions to no sound problem. Note: Sound with headphone and bluetooth speakers works perfectly. No sound without headphone ot bluetootth speakers. Available Alsamixer and pulseaudio hacks on the internet alreadty explored with no luck.
Cannot make the keyboard sleep fix work on Ubuntu 21.10
I have tried altering the script a bit
#!/bin/sh
# copy this file to /usr/lib/systemd/system-sleep/
# values from asusctl rog-aura/src/usb.rs
# note: using set or set+apply may make computer not resume from sleep
# using awake_off on sleep, awake_on on resume seams to work fines
LED_AWAKE_ON_SLEEP_OFF='\x5d\xbd\x01\xcf\x17\x0b\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00'
LED_AWAKE_OFF_SLEEP_OFF='\x5d\xbd\x01\xc3\x13\x09\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00'
HID=
for hr in /dev/hidraw*; do
n_key=$(/usr/bin/udevadm info -a "$hr" | grep ATTRS{product} | grep 'N-KEY' )
if [ -n "$n_key" ]; then
HID="$hr"
case $1 in
pre)
# sleep
echo "SLEEP $hr"
printf "%b" "${LED_AWAKE_OFF_SLEEP_OFF}" > "$hr"
;;
post)
# wake
echo "WAKE $hr"
printf "%b" "${LED_AWAKE_ON_SLEEP_OFF}" > "$hr"
;;
esac
fi
done
if [ -z "$HID" ]; then
echo "Couldn't find expected device"
exit 1
fi
echo "HID: $HID"
I then get the following:
root@rogx13:/home/kaspernj# sudo sh /usr/lib/systemd/system-sleep/asus-flow-x13-keyboard.sleep post
WAKE /dev/hidraw4
WAKE /dev/hidraw6
HID: /dev/hidraw6
So it does find the files and execute the command but nothing happens?
If I echo the command into the file pointers myself nothing happens either.
Mic Issue
Hi,
Sound working great with your patch but no microphone work.
Same im use Marshall headphone sound work but not microphone.
Best Regards
Internal speaker not working with ubuntu 20.04
I have updated my kernel to Linux 5.16.0-051600-generic, yet internal speaks don't work
Fingerprint sensor
I just checkehd lifprint supported devices and 04f3:0c6e is now supported, does it mean fingerprint is going to work now?
Install: Make error
Hi trying to run sudo sh install.sh
and got
Creating symlink /var/lib/dkms/asus-flow-x13/1.0/source ->
/usr/src/asus-flow-x13-1.0
DKMS: add completed.
Kernel preparation unnecessary for this kernel. Skipping...
applying patch sound.patch...patching file sound/pci/hda/patch_realtek.c
Hunk #1 succeeded at 8403 (offset 49 lines).
Building module:
cleaning build area...
make -j16 KERNELRELEASE=5.11.0-25-generic...(bad exit status: 2)
ERROR (dkms apport): binary package for asus-flow-x13: 1.0 not found
Error! Bad return status for module build on kernel: 5.11.0-25-generic (x86_64)
Consult /var/lib/dkms/asus-flow-x13/1.0/build/make.log for more information.
Please reboot
In /var/lib/dkms/asus-flow-x13/1.0/build/make.log
I found this
DKMS make.log for asus-flow-x13-1.0 for kernel 5.11.0-25-generic (x86_64)
Thu 12 Aug 14:48:58 +03 2021
make -C /lib/modules/5.11.0-25-generic/build M=/var/lib/dkms/asus-flow-x13/1.0/build modules
make[1]: Entering directory '/usr/src/linux-headers-5.11.0-25-generic'
CC [M] /var/lib/dkms/asus-flow-x13/1.0/build/sound/pci/hda/patch_realtek.o
LD [M] /var/lib/dkms/asus-flow-x13/1.0/build/snd-hda-codec-realtek.o
MODPOST /var/lib/dkms/asus-flow-x13/1.0/build/Module.symvers
ERROR: modpost: "snd_hda_jack_bind_keymap" [/var/lib/dkms/asus-flow-x13/1.0/build/snd-hda-codec-realtek.ko] undefined!
ERROR: modpost: "snd_hda_jack_set_button_state" [/var/lib/dkms/asus-flow-x13/1.0/build/snd-hda-codec-realtek.ko] undefined!
make[2]: *** [scripts/Makefile.modpost:124: /var/lib/dkms/asus-flow-x13/1.0/build/Module.symvers] Error 1
make[2]: *** Deleting file '/var/lib/dkms/asus-flow-x13/1.0/build/Module.symvers'
make[1]: *** [Makefile:1752: modules] Error 2
make[1]: Leaving directory '/usr/src/linux-headers-5.11.0-25-generic'
make: *** [Makefile:11: all] Error 2
Tablet mode
After a little research I found way to deactivate keyboard on tablet mode.
It is necessary to activate the device hid with the index 15 on the amd sensor fusion hub and I wrote little patch for this.
After it keyboard should automatically disabling when laptop lid flip out and wmi recieve key event wth 0xBD code witch mapped to KEY_PROG2.
But there remains the problem of detecting the current state of the laptop (tablet / laptop) for the correct installation of SW_TABLET_MODE. gist
Appreciation
All of these workarounds and little details documented here have made this little device work wonderfully with Linux and I simply wanted to say thank you for all of the work you put into this -- cheers!
Using X13 with XG-Mobile on Ubuntu
Hey,
no issue, more a question..
actually im using windows and want switch to ubuntu on my x13 with xg-mobile.
how does it perform with linux and egpu via xg-mobile and how can it be disconnected & hotplugged?
thanks
PSA: GV301QE BIOS 408 and 409 and Ubuntu booting issue
Not directly related to the fixes provided in this project, but of interest to anyone who uses it. I passively let Windows do an update and it upgraded my BIOS to 409. I came here looking for a fix, but it turned out to be nothing in the OS.
Both 409 and 408 didn't allow me to boot any (signed 3.13 or unsigned) kernel. 407 worked and I'm guessing that is what I had before. Some fine folks on the Internet saved 407:
https://www.reddit.com/r/FlowX13/comments/t98b7g/help_with_bios_rollback/
I have a GV301QE model and was able to downgrade from either 409 and 408 to 407. I used utility built into UEFI to flash the firmware.
Here's a link to version 407 since it's no longer available on Asus's site.
https://r.nullsum.net/asus_flow_gv301qe_bios_version_407.tar.gz
Directory nonexistent
Thank you for your work, almost everything works fine for me.
But I have one issue. While executing install.sh, I met an error.
./install.sh: 11: cannot create /sys/devices/pci0000:00/0000:00:01.1/0000:01:00.0/power/control: Directory nonexistent
kkms@kkms:/sys/devices/pci0000:00/0000:00:01.1$ ls
0000:00:01.1:pcie001 enable power
0000:00:01.1:pcie004 firmware_node power_state
0000:00:01.1:pcie010 iommu remove
ari_enabled iommu_group rescan
broken_parity_status irq reset
class link resource
config local_cpulist revision
consistent_dma_mask_bits local_cpus secondary_bus_number
current_link_speed max_link_speed subordinate_bus_number
current_link_width max_link_width subsystem
d3cold_allowed modalias subsystem_device
device msi_bus subsystem_vendor
dma_mask_bits msi_irqs uevent
driver numa_node vendor
driver_override pci_bus wakeup
Directory "0000:01:00.0" is not found on my system.
My system specifications are as follows:
Ubuntu 20.10
Linux 5.11.16-051116-generic #202104211235 SMP Wed Apr 21 12:39:24 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux
X13 flow 5800hs 1650max-q 16GB ram fhd 120hz
First, I'll check my nvidia settings. Sorry to bother you.
Upstream sound patch
Hi! Someone linked to your repo in my discord server regarding the sound patch. I was wondering if you had upstreamed it or you would like some help doing so?
We have a website also - https://asus-linux.org/. And your suspend issues may be fixed by patches 0013-0018 here
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. ๐๐๐
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.