Skip to content

Commit

Permalink
Configuration file for Dell G15 5515
Browse files Browse the repository at this point in the history
  • Loading branch information
rsm-gh committed Oct 2, 2021
1 parent 2131e93 commit 08b545b
Show file tree
Hide file tree
Showing 3 changed files with 303 additions and 3 deletions.
203 changes: 203 additions & 0 deletions usr/share/AKBL/computers/DellG15_5515.ini
Original file line number Diff line number Diff line change
@@ -0,0 +1,203 @@
#
# Copyright (C) 2014-2021 the AKBL project.
#
# This configuration file is free ; you can redistribute it and/or modify
# it under the terms of the GNU General Public License 3 as published by
# the Free Software Foundation.
#
# This configuration file is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software Foundation,
# Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
#


#*********************************************************************************************************************
# #
# The configuration file allows to easily add and modify regions. The template for it is the following: #
# #
# #
# [REGION <UNIQUE_REGION_NAME>] #
# ID= <UNIQUE REGION ID> #
# DESCRIPTION= <DESCRIPTION> #
# BLOCK= <INTEGER> #
# SUPPORTED_COMMANDS= <INTEGER> #
# CAN_BLINK= <BOOLEAN> #
# CAN_MORPH= <BOOLEAN> #
# CAN_LIGHT <BOOLEAN> #
# #
# -> The <UNIQUE_REGION_NAME> is only used for parsing the configuration file. Any unique name can be added. #
# #
# -> ID is the field used by the software to order the regions in the interface. The only two id's that should #
# not be changed are PB and PBE. New Id's can be created. #
# #
# -> I do not advice to modify the COMMON section. #
# #
# ~ Since AKBL is a communitary project any improvement should be reported ~ #
# to: https://github.com/rsm-gh/akbl/issues #
# #
#********************************************************************************************************************#


[COMMON]

NAME = DellG15_5515

DEFAULT_MODE = fixed
DEFAULT_SPEED = 255

VENDOR_ID = 6268
PRODUCT_ID = 1360

SUPPORTED_COMMANDS = 15
DATA_LENGTH = 9
START_BYTE = 2
FILL_BYTE = 0
STATE_BUSY = 17
STATE_READY = 16
STATE_UNKNOWN_COMMAND = 18

COMMAND_END_STORAGE = 0
COMMAND_SET_MORPH_COLOR = 1
COMMAND_SET_BLINK_COLOR = 2
COMMAND_SET_COLOR = 3
COMMAND_LOOP_BLOCK_END = 4
COMMAND_TRANSMIT_EXECUTE = 5
COMMAND_GET_STATUS = 6
COMMAND_RESET = 7
COMMAND_SAVE_NEXT = 8
COMMAND_SAVE = 9
COMMAND_BATTERY_STATE = 15
COMMAND_SET_SPEED = 14

RESET_TOUCH_CONTROLS = 1
RESET_SLEEP_LIGHTS_ON = 2
RESET_ALL_LIGHTS_OFF = 3
RESET_ALL_LIGHTS_ON = 4

BLOCK_LOAD_ON_BOOT = 1
BLOCK_STANDBY = 2
BLOCK_AC_POWER = 5
BLOCK_CHARGING = 6
BLOCK_BATT_SLEEPING = 7
BLOCK_BAT_POWER = 8
BLOCK_BATT_CRITICAL = 9

REGION_ALL_BUT_POWER = 1023999

[REGION RIGHT_KEYBOARD]
ID=RK
DESCRIPTION=Keyboard: Right
BLOCK=8
SUPPORTED_COMMANDS=15
CAN_BLINK=True
CAN_MORPH=True
CAN_LIGHT=True

[REGION RIGHT_CENTER_KEYBOARD]
ID=RCK
DESCRIPTION=Keyboard: Right-Center
BLOCK=4
SUPPORTED_COMMANDS=15
CAN_BLINK=True
CAN_MORPH=True
CAN_LIGHT=True

[REGION RIGHT_SPEAKER]
ID=RS
DESCRIPTION=Speaker: Right
BLOCK=64
SUPPORTED_COMMANDS=15
CAN_BLINK=True
CAN_MORPH=True
CAN_LIGHT=True

[REGION LEFT_KEYBOARD]
ID=LK
DESCRIPTION=Keyboard: Left
BLOCK=1
SUPPORTED_COMMANDS=15
CAN_BLINK=True
CAN_MORPH=True
CAN_LIGHT=True

[REGION LEFT_CENTER_KEYBOARD]
ID=LCK
DESCRIPTION=Keyboard: Left-Center
BLOCK=2
SUPPORTED_COMMANDS=15
CAN_BLINK=True
CAN_MORPH=True
CAN_LIGHT=True

[REGION LEFT_SPEAKER]
ID=LS
DESCRIPTION=Speaker: Left
BLOCK=32
SUPPORTED_COMMANDS=15
CAN_BLINK=True
CAN_MORPH=True
CAN_LIGHT=True

[REGION MEDIA_BAR]
ID=MB
DESCRIPTION=Media Bar
BLOCK=7168
SUPPORTED_COMMANDS=15
CAN_BLINK=True
CAN_MORPH=True
CAN_LIGHT=True

[REGION TOUCH_PAD]
ID=TP
DESCRIPTION=Touch Pad
BLOCK=512
SUPPORTED_COMMANDS=15
CAN_BLINK=True
CAN_MORPH=True
CAN_LIGHT=True

[REGION ALIENWARE_HEAD]
ID=AH
DESCRIPTION=Alienware Head
BLOCK=128
SUPPORTED_COMMANDS=15
CAN_BLINK=True
CAN_MORPH=True
CAN_LIGHT=True

[REGION ALIENWARE_LOGO]
ID=AL
DESCRIPTION=Alienware Logo
BLOCK=256
SUPPORTED_COMMANDS=15
CAN_BLINK=True
CAN_MORPH=True
CAN_LIGHT=True

[REGION POWER_BUTON]
ID=PB
DESCRIPTION=Power Button
BLOCK=8192
SUPPORTED_COMMANDS=2
CAN_BLINK=False
CAN_MORPH=False
CAN_LIGHT=True

#[REGION POWER_BUTON_EYES]
#
# The power button eyes are deactivated because they also modify
# the lights of the left-center keyboard. They are kinda buggy.
#
# ID=PBE
# DESCRIPTION=Power Button Eyes
# BLOCK=16348
# SUPPORTED_COMMANDS=1
# CAN_BLINK=False
# CAN_MORPH=False
# CAN_LIGHT=True

96 changes: 96 additions & 0 deletions usr/share/doc/AKBL/BusData/Data/Dell G15 5515
Original file line number Diff line number Diff line change
@@ -0,0 +1,96 @@

***********************************************************
***************** Dell G15 5515 ***************
***********************************************************
#By: https://github.com/sirstabbybeard
#Issue: https://github.com/rsm-gh/akbl/issues/99

Device: ID 187c:0550 Alienware Corporation
Device Descriptor:
bLength 18
bDescriptorType 1
bcdUSB 2.10
bDeviceClass 0
bDeviceSubClass 0
bDeviceProtocol 0
bMaxPacketSize0 64
idVendor 0x187c Alienware Corporation
idProduct 0x0550
bcdDevice 2.00
iManufacturer 1 Alienware
iProduct 2 AW-ELC
iSerial 3 00.01
bNumConfigurations 1
Configuration Descriptor:
bLength 9
bDescriptorType 2
wTotalLength 0x0029
bNumInterfaces 1
bConfigurationValue 1
iConfiguration 0
bmAttributes 0xe0
Self Powered
Remote Wakeup
MaxPower 0mA
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 0
bAlternateSetting 0
bNumEndpoints 2
bInterfaceClass 3 Human Interface Device
bInterfaceSubClass 0
bInterfaceProtocol 0
iInterface 0
HID Device Descriptor:
bLength 9
bDescriptorType 33
bcdHID 1.11
bCountryCode 0 Not supported
bNumDescriptors 1
bDescriptorType 34 Report
wDescriptorLength 25
Report Descriptors:
** UNAVAILABLE **
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x81 EP 1 IN
bmAttributes 3
Transfer Type Interrupt
Synch Type None
Usage Type Data
wMaxPacketSize 0x0021 1x 33 bytes
bInterval 10
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x01 EP 1 OUT
bmAttributes 3
Transfer Type Interrupt
Synch Type None
Usage Type Data
wMaxPacketSize 0x0021 1x 33 bytes
bInterval 100
Binary Object Store Descriptor:
bLength 5
bDescriptorType 15
wTotalLength 0x0021
bNumDeviceCaps 1
Platform Device Capability:
bLength 28
bDescriptorType 16
bDevCapabilityType 5
bReserved 0
PlatformCapabilityUUID {d8dd60df-4589-4cc7-9cd2-659d9e648a9f}
CapabilityData[0] 0x00
CapabilityData[1] 0x00
CapabilityData[2] 0x03
CapabilityData[3] 0x06
CapabilityData[4] 0x48
CapabilityData[5] 0x00
CapabilityData[6] 0x01
CapabilityData[7] 0x00
can't get debug descriptor: Resource temporarily unavailable
Device Status: 0x0001
Self Powered
7 changes: 4 additions & 3 deletions usr/share/doc/AKBL/BusData/Sumary
Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,10 @@ Area51 R5 6268 1318
Alienware15 R3 6268 1328
Alienware17 R4 6268 1328

Dell G5 5500 6268 1360
Dell G5 5590 6268 1360
Dell G7 7590 6268 1360
Dell G5 5500 6268 1360
Dell G5 5590 6268 1360
Dell G7 7590 6268 1360
Dell G15 5515 6268 1360
Area51m 6268 1360
Area51 R5 6268 1360
Alienware M15 6268 1360
Expand Down

0 comments on commit 08b545b

Please sign in to comment.