Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Could not find ROG Aura Core keyboard. #78

Open
donkikhot opened this issue Jul 27, 2021 · 13 comments
Open

Could not find ROG Aura Core keyboard. #78

donkikhot opened this issue Jul 27, 2021 · 13 comments
Assignees

Comments

@donkikhot
Copy link

Pleas add support ROG Zephyrus M16

@JoshDreamland
Copy link
Contributor

This isn't something we can do alone without purchasing a Zephyrus M16 and configuring it. If you are willing to try plugging in your device ID to this array (you can obtain it using lsusb), you should be able to test out the application for your keyboard. If it works, please send a pull request to add it permanently so others with your model can use it, too.

@donkikhot
Copy link
Author

donkikhot commented Jul 27, 2021

The given id already exists in your array.
Bus 003 Device 004: ID 0b05: 19b6 ASUSTek Computer, Inc. N-KEY Device
How can I help more?

@JoshDreamland
Copy link
Contributor

Should be supported, then. Are you running the rogauracore tool as root?

@donkikhot
Copy link
Author

Yes...
sudo rogauracore initialize_keyboard
[sudo] пароль для don:
Could not find ROG Aura Core keyboard.

@MIBbrandon
Copy link

I have the same problem on the Zephyrus G15:
Bus 001 Device 002: ID 0b05:19b6 ASUSTek Computer, Inc. N-KEY Device

@wroberts
Copy link
Owner

@MIBbrandon @donkikhot can you run sudo rogauracore -v red please?

@MIBbrandon
Copy link

args:
color1 0 128 0
color2 0 0 0
color3 0 0 248
color4 173 160 139
single_static
constructed 1 messages:
message 0: 5d b3 00 00 ff 00 00 00 00 00 00 00 00 00 00 00 00
Initialising libusb
Initialised libusb.
Found 7 USB devices.
Checking device 1d6b:0003, address 1
Checking device 27c6:521d, address 2
Checking device 1d6b:0002, address 1
Checking device 1d6b:0003, address 1
Checking device 13d3:3563, address 3
Checking device 0b05:19b6, address 2
Checking device 1d6b:0002, address 1
Could not find ROG Aura Core keyboard.

@donkikhot
Copy link
Author

donkikhot commented Jul 30, 2021

@JoshDreamland @wroberts
sudo rogauracore -v red
args:
color1 72 176 16
color2 41 252 127
color3 0 0 248
color4 253 83 97
single_static
constructed 1 messages:
message 0: 5d b3 00 00 ff 00 00 00 00 00 00 00 00 00 00 00 00
Initialising libusb
Initialised libusb.
Found 8 USB devices.
Checking device 1d6b:0003, address 1
Checking device 27c6:521d, address 3
Checking device 13d3:5458, address 2
Checking device 13d3:3563, address 5
Checking device 0b05:19b6, address 4
Checking device 1d6b:0002, address 1
Checking device 1d6b:0003, address 1
Checking device 1d6b:0002, address 1
Could not find ROG Aura Core keyboard

@donkikhot
Copy link
Author

donkikhot commented Jul 31, 2021

Hi
Works well on Fedora 3.4.

LSB Version: :core-4.1-amd64:core-4.1-noarch
Distributor ID: Fedora
Description: Fedora release 34 (Thirty Four)

sudo rogauracore -v red
args:
color1 0 0 0
color2 0 0 0
color3 0 0 0
color4 0 0 0
single_static
constructed 1 messages:
message 0: 5d b3 00 00 ff 00 00 00 00 00 00 00 00 00 00 00 00
Initialising libusb
Initialised libusb.
Found 8 USB devices.
Checking device 1d6b:0003, address 1
Checking device 27c6:521d, address 3
Checking device 13d3:5458, address 2
Checking device 13d3:3563, address 5
Checking device 0b05:19b6, address 4
Found ROG Aura Core keyboard.
Opened USB device.
Auto detach kernel mode set.
Got configuration descriptor.
Found 3 interfaces on the USB device.
Claimed interface 0.
Successfully sent all messages.
Sent SET message.
Sent APPLY message.
Release: 34
Codename: ThirtyFour

kernel: 5.13.5-200.fc34.x86_64

@JoshDreamland
Copy link
Contributor

JoshDreamland commented Aug 2, 2021

Were you running an outdated version on your previous OS, somehow...? Like, from a package manager?

@donkikhot
Copy link
Author

donkikhot commented Aug 2, 2021

No, before that I used ubuntu with a 5.13 kernel, installed as

sudo apt install libusb-1.0-0 libusb-1.0-0-dev VERSION=1.4 curl -LOs https://github.com/wroberts/rogauracore/releases/download/$VERSION/rogauracore-$VERSION.tar.gz tar xf rogauracore-$VERSION.tar.gz cd rogauracore-$VERSION/ ./configure make sudo make install

Version both there and there 1.4

Installed on Fedora like this
autoreconf -i ./configure make

At the moment everything is working

@wroberts
Copy link
Owner

@MIBbrandon any updates on your end?

@wroberts wroberts self-assigned this Aug 16, 2021
@tsukikage
Copy link

Having this same problem with my ASUS TUF Gaming A15 FA507NU on Ubuntu 24.04 LTS.

(base) tsukikage@tachikoma:~$ sudo apt install libusb-1.0-0 libusb-1.0-0-dev
[sudo] password for tsukikage:
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
libusb-1.0-0 is already the newest version (2:1.0.27-1).
libusb-1.0-0 set to manually installed.
The following NEW packages will be installed:
libusb-1.0-0-dev libusb-1.0-doc
0 upgraded, 2 newly installed, 0 to remove and 4 not upgraded.
Need to get 277 kB of archives.
After this operation, 2,134 kB of additional disk space will be used.
Get:1 http://us.archive.ubuntu.com/ubuntu noble/main amd64 libusb-1.0-0-dev amd64 2:1.0.27-1 [77.7 kB]
Get:2 http://us.archive.ubuntu.com/ubuntu noble/main amd64 libusb-1.0-doc all 2:1.0.27-1 [199 kB]
Fetched 277 kB in 2s (169 kB/s)
Selecting previously unselected package libusb-1.0-0-dev:amd64.
(Reading database ... 175554 files and directories currently installed.)
Preparing to unpack .../libusb-1.0-0-dev_2%3a1.0.27-1_amd64.deb ...
Unpacking libusb-1.0-0-dev:amd64 (2:1.0.27-1) ...
Selecting previously unselected package libusb-1.0-doc.
Preparing to unpack .../libusb-1.0-doc_2%3a1.0.27-1_all.deb ...
Unpacking libusb-1.0-doc (2:1.0.27-1) ...
Setting up libusb-1.0-doc (2:1.0.27-1) ...
Setting up libusb-1.0-0-dev:amd64 (2:1.0.27-1) ...

(base) tsukikage@tachikoma:~$ git clone https://github.com/wroberts/rogauracore.git
Cloning into 'rogauracore'...
remote: Enumerating objects: 271, done.
remote: Counting objects: 100% (61/61), done.
remote: Compressing objects: 100% (27/27), done.
remote: Total 271 (delta 46), reused 38 (delta 33), pack-reused 210 (from 1)
Receiving objects: 100% (271/271), 57.41 KiB | 286.00 KiB/s, done.
Resolving deltas: 100% (133/133), done.

(base) tsukikage@tachikoma:~$ cd rogauracore

(base) tsukikage@tachikoma:~/rogauracore$ sudo apt install build-essential
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
build-essential is already the newest version (12.10ubuntu1).
build-essential set to manually installed.
0 upgraded, 0 newly installed, 0 to remove and 4 not upgraded.

(base) tsukikage@tachikoma:~/rogauracore$ sudo apt install autoconf
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following additional packages will be installed:
automake autotools-dev m4
Suggested packages:
autoconf-archive gnu-standards autoconf-doc libtool gettext m4-doc
The following NEW packages will be installed:
autoconf automake autotools-dev m4
0 upgraded, 4 newly installed, 0 to remove and 4 not upgraded.
Need to get 1,186 kB of archives.
After this operation, 4,463 kB of additional disk space will be used.
Do you want to continue? [Y/n] y
Get:1 http://us.archive.ubuntu.com/ubuntu noble/main amd64 m4 amd64 1.4.19-4build1 [244 kB]
Get:2 http://us.archive.ubuntu.com/ubuntu noble/main amd64 autoconf all 2.71-3 [339 kB]
Get:3 http://us.archive.ubuntu.com/ubuntu noble/main amd64 autotools-dev all 20220109.1 [44.9 kB]
Get:4 http://us.archive.ubuntu.com/ubuntu noble/main amd64 automake all 1:1.16.5-1.3ubuntu1 [558 kB]
Fetched 1,186 kB in 1s (1,276 kB/s)
Selecting previously unselected package m4.
(Reading database ... 175655 files and directories currently installed.)
Preparing to unpack .../m4_1.4.19-4build1_amd64.deb ...
Unpacking m4 (1.4.19-4build1) ...
Selecting previously unselected package autoconf.
Preparing to unpack .../autoconf_2.71-3_all.deb ...
Unpacking autoconf (2.71-3) ...
Selecting previously unselected package autotools-dev.
Preparing to unpack .../autotools-dev_20220109.1_all.deb ...
Unpacking autotools-dev (20220109.1) ...
Selecting previously unselected package automake.
Preparing to unpack .../automake_1%3a1.16.5-1.3ubuntu1_all.deb ...
Unpacking automake (1:1.16.5-1.3ubuntu1) ...
Setting up m4 (1.4.19-4build1) ...
Setting up autotools-dev (20220109.1) ...
Setting up autoconf (2.71-3) ...
Setting up automake (1:1.16.5-1.3ubuntu1) ...
update-alternatives: using /usr/bin/automake-1.16 to provide /usr/bin/automake (
automake) in auto mode
Processing triggers for install-info (7.1-3build2) ...
Processing triggers for man-db (2.12.0-4build2) ...

(base) tsukikage@tachikoma:~/rogauracore$ autoreconf -i
configure.ac:54: warning: The macro `AC_HEADER_STDC' is obsolete.
configure.ac:54: You should run autoupdate.
./lib/autoconf/headers.m4:704: AC_HEADER_STDC is expanded from...
configure.ac:54: the top level
configure.ac:12: installing 'config/compile'
configure.ac:8: installing 'config/install-sh'
configure.ac:8: installing 'config/missing'
Makefile.am: installing 'config/depcomp'

(base) tsukikage@tachikoma:~/rogauracore$ ./configure
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a race-free mkdir -p... /usr/bin/mkdir -p
checking for gawk... no
checking for mawk... mawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether the compiler supports GNU C... yes
checking whether gcc accepts -g... yes
checking for gcc option to enable C11 features... none needed
checking whether gcc understands -c and -o together... yes
checking whether make supports the include directive... yes (GNU style)
checking dependency style of gcc... gcc3
configure: Could not detect udev rules directory, using default
Using udev rules directory: /lib/udev
checking for udevadm... /usr/bin/udevadm
checking for udevinfo... false
checking for library containing libusb_init... -lusb-1.0
checking for stdio.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for strings.h... yes
checking for sys/stat.h... yes
checking for sys/types.h... yes
checking for unistd.h... yes
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for libusb-1.0/libusb.h... yes
checking for errno.h... yes
checking for stdint.h... (cached) yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking for strings.h... (cached) yes
checking for unistd.h... (cached) yes
checking for uint16_t... yes
checking for uint32_t... yes
checking for uint8_t... yes
checking for memset... yes
checking for strtol... yes
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating config.h
config.status: executing depfiles commands
udev dir:

(base) tsukikage@tachikoma:~/rogauracore$ make
make all-am
make[1]: Entering directory '/home/tsukikage/rogauracore'
depbase=echo src/rogauracore.o | sed 's|[^/]*$|.deps/&|;s|\.o$||';
gcc -DHAVE_CONFIG_H -I. -g -O2 -MT src/rogauracore.o -MD -MP -MF $depbase.Tpo -c -o src/rogauracore.o src/rogauracore.c &&
mv -f $depbase.Tpo $depbase.Po
gcc -g -O2 -o rogauracore src/rogauracore.o -lusb-1.0
make[1]: Leaving directory '/home/tsukikage/rogauracore'

(base) tsukikage@tachikoma:~/rogauracore$ sudo make install
make[1]: Entering directory '/home/tsukikage/rogauracore'
/usr/bin/mkdir -p '/usr/local/bin'
/usr/bin/install -c rogauracore '/usr/local/bin'
/usr/bin/mkdir -p '/lib/udev/rules.d'
/usr/bin/install -c -m 644 data/90-rogauracore.rules '/lib/udev/rules.d'
make[1]: Leaving directory '/home/tsukikage/rogauracore'

(base) tsukikage@tachikoma:~/rogauracore$ cd ../

anaconda3 Documents foma-py Pictures PycharmProjects snap Videos
Desktop Downloads Music Public rogauracore Templates

(base) tsukikage@tachikoma:~$ rogauracore single_static cyan
Could not interpret color parameter value cyan
Please give this value as a six-character hex string like ff0000.

(base) tsukikage@tachikoma:~$ rogauracore --help
rogauracore: invalid option -- '-'
rogauracore 1.6 - RGB keyboard control for Asus ROG laptops
(c) 2019 Will Roberts

Usage:
rogauracore COMMAND ARGUMENTS

COMMAND should be one of:
single_static
single_breathing
single_colorcycle
multi_static
multi_breathing
rainbow_cycle
red
green
blue
yellow
gold
cyan
magenta
white
black
rainbow
brightness
initialize_keyboard

(base) tsukikage@tachikoma:~$ rogauracore cyan
Could not find ROG Aura Core keyboard.

(base) tsukikage@tachikoma:~$ rogauracore single_static
rogauracore 1.6 - RGB keyboard control for Asus ROG laptops
(c) 2019 Will Roberts

Usage:
rogauracore COMMAND ARGUMENTS

COMMAND should be one of:
single_static
single_breathing
single_colorcycle
multi_static
multi_breathing
rainbow_cycle
red
green
blue
yellow
gold
cyan
magenta
white
black
rainbow
brightness
initialize_keyboard

Function single_static takes 1 color(s):
rogauracore single_static COLOR1

COLOR argument(s) should be given as hex values like ff0000
SPEED argument should be given as an integer: 1, 2, or 3

(base) tsukikage@tachikoma:~$ rogauracore initialize_keyboard
Could not find ROG Aura Core keyboard.

(base) tsukikage@tachikoma:~$ sudo rogauracore initialize_keyboard
Could not find ROG Aura Core keyboard.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants