[Title] Changed ps2keyboard device name to support external usb keyboard
authordon.hong <don.hong@samsung.com>
Fri, 19 Aug 2011 09:17:07 +0000 (18:17 +0900)
committerdon.hong <don.hong@samsung.com>
Fri, 19 Aug 2011 09:17:07 +0000 (18:17 +0900)
[Type] Feature
[Module] device driver/AT keyboard
[Priority]
[CQ#]
[Redmine#]
[Problem]
[Cause]
[Solution]
[TestCase]

drivers/input/keyboard/atkbd.c
ramfs/init

index 099c88c14827ba9b807fcf1798fc101e2ab9942d..fb7a12ed12cf39ca272061e653b85fc13ea58c03 100644 (file)
@@ -1054,7 +1054,8 @@ static void atkbd_set_device_attrs(struct atkbd *atkbd)
                         "AT Set 2 Extra keyboard");
        else
                snprintf(atkbd->name, sizeof(atkbd->name),
-                        "AT %s Set %d keyboard",
+//                      "AT %s Set %d keyboard",
+                        "AT %s Set %d HardKeys", // by dhhong to support Hardkey via udev
                         atkbd->translated ? "Translated" : "Raw", atkbd->set);
 
        snprintf(atkbd->phys, sizeof(atkbd->phys),
index 299d04f0222ede0cd117a5a591f7e6107f7e9759..2263e41163ad85e9ca4a967966db4941a1c2bc55 100644 (file)
@@ -100,7 +100,8 @@ echo "create device filesystem"
 /bin/mknod /new_root/dev/input/event3 c 13 67
 /bin/mknod /new_root/dev/input/event4 c 13 68
 (cd /new_root/dev/input && /bin/ln -s event1 touchscreen0)
-(cd /new_root/dev && /bin/ln -s input/event2 smotion)
+(cd /new_root/dev/input && /bin/ln -s event2 keyboard0)
+(cd /new_root/dev && /bin/ln -s input/event3 smotion)
 
 /bin/mknod /new_root/dev/mixer c 14 0
 /bin/mknod /new_root/dev/sequencer c 14 1