Input: remove obsolete cm109 USB phone driver
Subsystems (4)
Dmitry Torokhov
maintainercover Input: remove obsolete cm109 USB phone driver
This short series removes the obsolete cm109 driver for mid-2000s USB VoIP/Skype handsets based on the C-Media CM109 USB audio and HID controller (0x0d8c:0x000e) and drops its module selection from ppc6xx_defconfig.
The driver was written in 2007-2008 (modeled after yealink) to poll a 4x4 phone keypad matrix and toggle a buzzer wired to the chip's GPIO pins across four phone models (Komunikate KIP1000, Genius G-talk, Allied-Telesis Corega USBPH01, and ATCom AU-100), relying on a module parameter (phone=...) to choose the keymap. The mid-2000s userspace VoIP/Skype bridge ecosystem for these handsets is long defunct, and the driver has seen no new hardware support since 2008 while continuing to attract syzbot crashes in its custom URB state machine.
Furthermore, because 0x0d8c:0x000e is the generic default C-Media CM109 VID:PID and was added to hid_ignore_list[] so cm109 could claim the USB interface, cm109 actively interferes with non-phone CM109 devices still in use today: amateur radio interfaces (Direwolf, AllStarLink, SVXLink, UniPager, Hamlib) have to blacklist cm109 so usbhid can expose /dev/hidraw* and so opening the input device does not pulse the GPIO pins and key the radio transmitter's PTT line, while standard USB headsets with 0x0d8c:0x000e can bind to usbhid directly via the chip's standard HID Consumer Page volume and mute descriptors once the hid_ignore_list[] entry is dropped.
Thanks.
Dmitry Torokhov (2):
powerpc/configs: drop CONFIG_INPUT_CM109 from ppc6xx_defconfig
Input: cm109 - remove driver
arch/powerpc/configs/ppc6xx_defconfig | 1 - drivers/hid/hid-ids.h | 1 - drivers/hid/hid-quirks.c | 1 - drivers/input/misc/Kconfig | 12 - drivers/input/misc/Makefile | 1 - drivers/input/misc/cm109.c | 940 -------------------------- 6 files changed, 956 deletions(-) delete mode 100644 drivers/input/misc/cm109.c
Signature · 1 line
2.56.0.567.gdb80ae8cd5-goog
Dmitry Torokhov
maintainerPATCH 1/2 powerpc/configs: drop CONFIG_INPUT_CM109 from ppc6xx_defconfig
The cm109 driver is obsolete and being removed. Drop its module selection from ppc6xx_defconfig.
--- arch/powerpc/configs/ppc6xx_defconfig | 1 - 1 file changed, 1 deletion(-)
arch/powerpc/configs/ppc6xx_defconfig +0 -1
@@ -537,7 +537,6 @@ CONFIG_INPUT_PCSPKR=m CONFIG_INPUT_ATI_REMOTE2=m CONFIG_INPUT_KEYSPAN_REMOTE=m CONFIG_INPUT_POWERMATE=m -CONFIG_INPUT_CM109=m CONFIG_INPUT_UINPUT=m CONFIG_SERIO_RAW=m CONFIG_GAMEPORT_NS558=m
Signature · 1 line
2.56.0.567.gdb80ae8cd5-goog
Re: [PATCH 1/2] powerpc/configs: drop CONFIG_INPUT_CM109 from ppc6xx_defconfig
Le 12/11/2026 à 01:16, Dmitry Torokhov a écrit :
Quoted 4 lines
The cm109 driver is obsolete and being removed. Drop its module selection from
ppc6xx_defconfig.Signed-off-by Dmitry Torokhov <[email protected]>
Quoted 16 lines
--- arch/powerpc/configs/ppc6xx_defconfig | 1 - 1 file changed, 1 deletion(-)arch/powerpc/configs/ppc6xx_defconfig +0
-1@@ -537,7 +537,6 @@ CONFIG_INPUT_PCSPKR=m CONFIG_INPUT_ATI_REMOTE2=m CONFIG_INPUT_KEYSPAN_REMOTE=m CONFIG_INPUT_POWERMATE=m -CONFIG_INPUT_CM109=m CONFIG_INPUT_UINPUT=m CONFIG_SERIO_RAW=m CONFIG_GAMEPORT_NS558=m
Dmitry Torokhov
maintainerPATCH 2/2 Input: cm109 - remove driver
In reply to Dmitry TorokhovThe cm109 driver was written in 2007-2008 (modeled after yealink) for four mid-2000s USB VoIP/Skype handsets (Komunikate KIP1000, Genius G-talk, Allied-Telesis Corega USBPH01, and ATCom AU-100) built around the C-Media CM109 USB audio and HID controller (0x0d8c:0x000e). Audio was handled by snd-usb-audio, while cm109 polled a 4x4 phone keypad matrix and drove a buzzer wired to the chip's GPIO pins via vendor HID reports, relying on a module parameter (phone=...) to select the phone keymap.
The mid-2000s userspace VoIP/Skype bridge ecosystem for these handsets is long defunct, the driver has had no new hardware support since 2008 (and has had broken keycodesize = sizeof(unsigned char) for KEY_NUMERIC_* keycodes > 255), while its custom URB state machine continues to generate syzbot crashes.
Furthermore, because 0x0d8c:0x000e is the generic C-Media CM109 VID:PID and was added to hid_ignore_list[] so cm109 could claim the USB interface, cm109 actively interferes with non-phone CM109 hardware still in use today. Amateur radio interfaces (Direwolf, AllStarLink, SVXLink, UniPager, Hamlib) must blacklist cm109 so usbhid can expose /dev/hidraw* and to prevent cm109 from pulsing the GPIO pins (which keys the radio transmitter's PTT line) when the input device is opened. Standard USB headsets with 0x0d8c:0x000e can use usbhid directly via the chip's standard HID Consumer Page volume and mute descriptors once the hid_ignore_list[] entry is removed. Remove the driver, its Kconfig and Makefile entries, and the HID ignore-list entry.
--- drivers/hid/hid-ids.h | 1 - drivers/hid/hid-quirks.c | 1 - drivers/input/misc/Kconfig | 12 - drivers/input/misc/Makefile | 1 - drivers/input/misc/cm109.c | 940 ------------------------------------ 5 files changed, 955 deletions(-) delete mode 100644 drivers/input/misc/cm109.c
drivers/hid/hid-ids.h +0 -1
@@ -355,7 +355,6 @@#define USB_DEVICE_ID_NITROKEY_U2F 0x4287#define USB_VENDOR_ID_CMEDIA 0x0d8c -#define USB_DEVICE_ID_CM109 0x000e#define USB_DEVICE_ID_CMEDIA_HS100B 0x0014#define USB_DEVICE_ID_CM6533 0x0022
drivers/hid/hid-quirks.c +0 -1
@@ -846,7 +846,6 @@ static const struct hid_device_id hid_ignore_list[] = { { HID_USB_DEVICE(USB_VENDOR_ID_CIDC, 0x0103) }, { HID_USB_DEVICE(USB_VENDOR_ID_CYGNAL, USB_DEVICE_ID_CYGNAL_RADIO_SI470X) }, { HID_USB_DEVICE(USB_VENDOR_ID_CYGNAL, USB_DEVICE_ID_CYGNAL_RADIO_SI4713) }, - { HID_USB_DEVICE(USB_VENDOR_ID_CMEDIA, USB_DEVICE_ID_CM109) }, { HID_USB_DEVICE(USB_VENDOR_ID_CYPRESS, USB_DEVICE_ID_CYPRESS_HIDCOM) }, { HID_USB_DEVICE(USB_VENDOR_ID_CYPRESS, USB_DEVICE_ID_CYPRESS_ULTRAMOUSE) }, { HID_USB_DEVICE(USB_VENDOR_ID_DEALEXTREAME, USB_DEVICE_ID_DEALEXTREAME_RADIO_SI4701) },
drivers/input/misc/Kconfig +0 -12
@@ -469,18 +469,6 @@ config INPUT_POWERMATE To compile this driver as a module, choose M here: the module will be called powermate. -config INPUT_CM109 - tristate "C-Media CM109 USB I/O Controller" - depends on USB_ARCH_HAS_HCD - select USB - help - Say Y here if you want to enable keyboard and buzzer functions of the - C-Media CM109 usb phones. The audio part is enabled by the generic - usb sound driver, so you might want to enable that as well. - - To compile this driver as a module, choose M here: the module will be - called cm109. - config INPUT_REGULATOR_HAPTIC tristate "Regulator haptics support" depends on REGULATOR
drivers/input/misc/Makefile +0 -1
@@ -26,7 +26,6 @@ obj-$(CONFIG_INPUT_ATMEL_CAPTOUCH) += atmel_captouch.o obj-$(CONFIG_INPUT_AW86927) += aw86927.o obj-$(CONFIG_INPUT_BBNSM_PWRKEY) += nxp-bbnsm-pwrkey.o obj-$(CONFIG_INPUT_BMA150) += bma150.o -obj-$(CONFIG_INPUT_CM109) += cm109.o obj-$(CONFIG_INPUT_CMA3000) += cma3000_d0x.o obj-$(CONFIG_INPUT_CMA3000_I2C) += cma3000_d0x_i2c.o obj-$(CONFIG_INPUT_COBALT_BTNS) += cobalt_btns.o
drivers/input/misc/cm109.c deleted +0 -940
940 lines not on this page · raw message
Signature · 1 line
2.56.0.567.gdb80ae8cd5-goog
Dmitry Torokhov
maintainerQuoted 25 lines · Dmitry Torokhov
This short series removes the obsolete cm109 driver for mid-2000s USB VoIP/Skype handsets based on the C-Media CM109 USB audio and HID controller (0x0d8c:0x000e) and drops its module selection from
ppc6xx_defconfig.The driver was written in 2007-2008 (modeled after yealink) to poll a 4x4 phone keypad matrix and toggle a buzzer wired to the chip's GPIO pins across four phone models (Komunikate KIP1000, Genius G-talk, Allied-Telesis Corega USBPH01, and ATCom AU-100), relying on a module parameter (phone=...) to choose the keymap. The mid-2000s userspace VoIP/Skype bridge ecosystem for these handsets is long defunct, and the driver has seen no new hardware support since 2008 while continuing to attract syzbot crashes in its custom URB state machine.
Furthermore, because 0x0d8c:0x000e is the generic default C-Media CM109 VID:PID and was added to hid_ignore_list[] so cm109 could claim the USB interface, cm109 actively interferes with non-phone CM109 devices still in use today: amateur radio interfaces (Direwolf, AllStarLink, SVXLink, UniPager, Hamlib) have to blacklist cm109 so usbhid can expose
/dev/hidraw*and so opening the input device does not pulse the GPIO pins and key the radio transmitter's PTT line, while standard USB headsets with 0x0d8c:0x000e can bind to usbhid directly via the chip's standard HID Consumer Page volume and mute descriptors once the hid_ignore_list[] entry is dropped.
Quoted 5 lines
Thanks.
Dmitry Torokhov (2):
powerpc/configs: dropCONFIG_INPUT_CM109fromppc6xx_defconfig
Input: cm109 - remove driver
Applied the lot.
Signature · 1 line
Dmitry