[Title] change pci vendor-id & wacom tablet off
authorgiwoong.kim <giwoong.kim@samsung.com>
Thu, 16 Feb 2012 07:34:44 +0000 (16:34 +0900)
committergiwoong.kim <giwoong.kim@samsung.com>
Thu, 16 Feb 2012 07:34:44 +0000 (16:34 +0900)
[Type] feature
[Module] emulator
[Priority]
[Jira#]
[Redmine#]
[Problem]
[Cause]
[Solution]
[TestCase]

Change-Id: I5bdfb86ba90c00d8deda25365fa9683cf94f9aa0

arch/x86/configs/i386_emul_defconfig [changed mode: 0644->0755]
drivers/maru/Makefile
drivers/maru/maru_codec.c
drivers/maru/maru_touchscreen.c [changed mode: 0644->0755]
include/linux/pci_ids.h

old mode 100644 (file)
new mode 100755 (executable)
index 9f0d6c5..4f8cbab
@@ -1145,7 +1145,7 @@ CONFIG_INPUT_TABLET=y
 # CONFIG_TABLET_USB_AIPTEK is not set
 # CONFIG_TABLET_USB_GTCO is not set
 # CONFIG_TABLET_USB_KBTAB is not set
-CONFIG_TABLET_USB_WACOM=y
+# CONFIG_TABLET_USB_WACOM is not set
 CONFIG_INPUT_TOUCHSCREEN=y
 # CONFIG_TOUCHSCREEN_AD7879_I2C is not set
 # CONFIG_TOUCHSCREEN_AD7879 is not set
index a8da6ca1a1fe1c8f1f47e85b3dfdeb44e1ab9f1c..da9d0b95faa2ab82c6b148fe6906627d1399673c 100755 (executable)
@@ -1,4 +1,4 @@
-obj-$(CONFIG_MARU_LCD) += MARU_lcd.o
-obj-$(CONFIG_MARU_CODEC) += MARU_codec.o
-obj-$(CONFIG_MARU_TOUCHSCREEN) += MARU_touchscreen.o
+obj-$(CONFIG_MARU_LCD) += maru_lcd.o
+obj-$(CONFIG_MARU_CODEC) += maru_codec.o
+obj-$(CONFIG_MARU_TOUCHSCREEN) += maru_touchscreen.o
 
index 182317176c3829a5f5ede05abe58288af6824bdc..53e4abd527aafa003073cf409f18d02bee21ac15 100644 (file)
@@ -97,7 +97,7 @@ typedef struct _svcodec_dev {
 
 static struct pci_device_id svcodec_pci_table[] __devinitdata = {
        {
-       .vendor         = PCI_VENDOR_ID_SAMSUNG,
+       .vendor         = PCI_VENDOR_ID_SCORE,
        .device         = PCI_DEVICE_ID_VIRTUAL_CODEC,
        .subvendor      = PCI_ANY_ID,
        .subdevice      = PCI_ANY_ID,
old mode 100644 (file)
new mode 100755 (executable)
index d3a4eed..302496d
@@ -1,5 +1,5 @@
 /*
- * Virtual USB Touchscreen device driver
+ * Maru Virtual USB Touchscreen device driver
  * Based on drivers/input/tablet/wacom_sys.c:
  *
  * Copyright (c) 2011 Samsung Electronics Co., Ltd. All rights reserved.
@@ -39,7 +39,6 @@ MODULE_AUTHOR("s-core");
 MODULE_DESCRIPTION("Emulator Touchscreen driver for x86");
 
 /* touchscreen device features */
-#define USB_VENDOR_ID_SAMSUNG 0x0419
 #define EMUL_TOUCHSCREEN_PACKET_LEN 7
 #define TOUCHSCREEN_RESOLUTION_X 5040
 #define TOUCHSCREEN_RESOLUTION_Y 3780
@@ -182,7 +181,7 @@ static int emul_touchscreen_probe(struct usb_interface *intf, const struct usb_d
     usb_make_path(usb_ts->usbdev, usb_ts->phys, sizeof(usb_ts->phys));
     strlcat(usb_ts->phys, "/input0", sizeof(usb_ts->phys));
 
-    usb_ts->emuldev->name = "Tizen Touchscreen";
+    usb_ts->emuldev->name = "Maru Touchscreen";
     usb_to_input_id(usb_ts->usbdev, &usb_ts->emuldev->id);
 
     usb_ts->emuldev->dev.parent = &intf->dev;
@@ -271,14 +270,14 @@ static int emul_touchscreen_resume(struct usb_interface *intf)
 }
 
 static struct usb_device_id emul_usb_touchscreen_table[] = {
-    { USB_DEVICE(USB_VENDOR_ID_SAMSUNG, 0x00) },
+    { USB_DEVICE(0x056a, 0x00) },
     { } /* Terminating entry */
 };
 
 MODULE_DEVICE_TABLE(usb, emul_usb_touchscreen_table);
 
 static struct usb_driver emul_touchscreen_driver = {
-    .name                 = "usb_emul_touchscreen",
+    .name                 = "usb-emul-touchscreen",
     .id_table             = emul_usb_touchscreen_table,
     .probe                = emul_touchscreen_probe,
     .disconnect           = emul_touchscreen_disconnect,
index e1cc8337653f21da06fc9766cc29ee7f3894457a..4ee9c205031794d10ca87d460c1cfe97bbd6ebd2 100644 (file)
 #define PCI_VENDOR_ID_CHELSIO          0x1425
 
 #define PCI_VENDOR_ID_SAMSUNG                  0x144d
+
+#define PCI_VENDOR_ID_SCORE                    0x1480
 #define PCI_DEVICE_ID_VIRTUAL_CAMERA   0x1018
 #define PCI_DEVICE_ID_VIRTUAL_CODEC            0x101C