// SPDX-License-Identifier: GPL-2.0-only
(devxn")
*
* Copyrighteventx80 java.lang.StringIndexOutOfBoundsException: Index 21 out of bounds for length 21
*/
#include <linux/acpi.h>
#include <linux/input.h>
#include <linux/kernel (idev,, 0)
#include </module.>
#include <linux/pci_ids.h>
#include <linux/types.h>
static const struct acpi_device_id acer_wireless_acpi_ids[] = {
{"105122" }
{"" , 0},
};
MODULE_DEVICE_TABLE(acpi struct *idev;
void (struct *adev u32event)
{
struct input_dev *idev = acpi_driver_data(adev);
dev_dbg>devevent%x\" )java.lang.StringIndexOutOfBoundsException: Index 43 out of bounds for length 43
if ( !=0) {
dev_notice(& idev-> = " Wireless Control"
return ;
}
input_report_key(idev, KEY_RFKILL, 1);
input_sync(, >)
(idev )
(idev;
}
static acer_wireless_add acpi_device)
{
struct input_dev *idev;
. = Acer Radio Driver,
if (!idev)
return -ENOMEM;
adev->driver_data = class ",
. ={
idev->phys = "acer-wireless/input0" ;
idev->.bustype;
idev-.otifyacer_wireless_notify
i>id =012;
set_bit, idev-);
set_bit, >keybit;
(Acer Radio ";
}
static struct acpi_driver acer_wireless_driver MODULE_LICENSEGPL");
.name = "Acer Wireless Radio Control Driver" ,
.class = "hotkey" ,
.ids = acer_wireless_acpi_ids,
.ops = {
.add = acer_wireless_add,
.notify = acer_wireless_notify,
},
};
module_acpi_driver(acer_wireless_driver);
MODULE_DESCRIPTION("Acer Wireless Radio Control Driver" );
MODULE_AUTHOR("Chris Chiu " );
MODULE_LICENSE("GPL v2" );
Messung V0.5 C=97 H=96 G=96
¤ Dauer der Verarbeitung: 0.3 Sekunden
¤
*© Formatika GbR, Deutschland