From: don.hong Date: Fri, 19 Aug 2011 09:17:07 +0000 (+0900) Subject: [Title] Changed ps2keyboard device name to support external usb keyboard X-Git-Tag: 2.2.1_release^2~182^2~43^2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=3267b8390d531134f0908781c04cc7aa4c265b5d;p=sdk%2Femulator%2Femulator-kernel.git [Title] Changed ps2keyboard device name to support external usb keyboard [Type] Feature [Module] device driver/AT keyboard [Priority] [CQ#] [Redmine#] [Problem] [Cause] [Solution] [TestCase] --- diff --git a/drivers/input/keyboard/atkbd.c b/drivers/input/keyboard/atkbd.c index 099c88c14827..fb7a12ed12cf 100644 --- a/drivers/input/keyboard/atkbd.c +++ b/drivers/input/keyboard/atkbd.c @@ -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), diff --git a/ramfs/init b/ramfs/init index 299d04f0222e..2263e41163ad 100644 --- a/ramfs/init +++ b/ramfs/init @@ -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