[alsa-devel] [PATCH] Add Yamaha KX49 (USB MIDI controller) to usbquirks.h

Richard Chan rspchan at starhub.net.sg
Wed Jul 9 15:23:59 CEST 2008


This patch is for the Yamaha USB MIDI controller KX49.
http://www.yamahasynth.com/products/kx/index.html
It has a 3-port MIDI interface and an HID interface (it has a tiny 
keyboard subset).

--------------dmesg----------------------------------------------------------------
usb 6-2: new full speed USB device using uhci_hcd and address 3
usb 6-2: configuration #1 chosen from 1 choice
input: YAMAHA Corporation YAMAHA KX as 
/devices/pci0000:00/0000:00:1d.1/usb6/6-2/6-2:1.1/input/input12
input,hidraw1: USB HID v1.00 Keyboard [YAMAHA Corporation YAMAHA KX] on 
usb-0000:00:1d.1-2
usb 6-2: New USB device found, idVendor=0499, idProduct=104e
usb 6-2: New USB device strings: Mfr=1, Product=2, SerialNumber=0
usb 6-2: Product: YAMAHA KX
usb 6-2: Manufacturer: YAMAHA Corporation
ALSA /home/richard/tmp/usb/usbmidi.c:1312: created 3 output and 3 input 
ports
usbcore: registered new interface driver snd-usb-audio
-------------end 
dmesg--------------------------------------------------------------


diff -u -r alsa-kernel/usb/usbquirks.h b/usb/usbquirks.h
--- alsa-kernel/usb/usbquirks.h    2008-07-08 21:35:42.000000000 +0800
+++ b/usb/usbquirks.h    2008-07-09 20:45:20.000000000 +0800
@@ -210,6 +210,7 @@
 YAMAHA_DEVICE(0x1043, NULL),
 YAMAHA_DEVICE(0x1044, NULL),
 YAMAHA_DEVICE(0x1045, NULL),
+YAMAHA_DEVICE(0x104E, "KX49"),
 YAMAHA_DEVICE(0x2000, "DGP-7"),
 YAMAHA_DEVICE(0x2001, "DGP-5"),
 YAMAHA_DEVICE(0x2002, NULL),

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: PATCH
Url: http://mailman.alsa-project.org/pipermail/alsa-devel/attachments/20080709/a214845e/attachment-0001.bat 
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: yamaha-lsusb.txt
Url: http://mailman.alsa-project.org/pipermail/alsa-devel/attachments/20080709/a214845e/attachment-0001.txt 


More information about the Alsa-devel mailing list