History log of /openbmc/obmc-ikvm/create_usbhid.sh (Results 1 – 8 of 8)
Revision Date Author Comments
# a6c8f5d7 26-Jul-2023 Mohammed Javith Akthar M <mohammedjavitham@ami.com>

create_usbhid.sh: update english product string

Current product string value for english locale is configured as
"virtual_input". Updated string value to "Virtual Keyboard and Mouse"
for better read

create_usbhid.sh: update english product string

Current product string value for english locale is configured as
"virtual_input". Updated string value to "Virtual Keyboard and Mouse"
for better readability.

Tested:

1. Verified using AST2600EVB + Ubuntu server 20.04 as BMC host os

2. Launch KVM and execute following command inside host
> sudo evtest /dev/input/event3 | head

3. Observe the "Input device name" field in the command output

Before changes:

Input driver version is 1.0.1
Input device ID: bus 0x3 vendor 0x1d6b product 0x104 version 0x101
Input device name: "OpenBMC virtual_input"
Supported events:
Event type 0 (EV_SYN)
Event type 1 (EV_KEY)
Event code 1 (KEY_ESC)
Event code 2 (KEY_1)
Event code 3 (KEY_2)
Event code 4 (KEY_3)

After changes:

Input driver version is 1.0.1
Input device ID: bus 0x3 vendor 0x1d6b product 0x104 version 0x101
Input device name: "OpenBMC Virtual Keyboard and Mouse"
Supported events:
Event type 0 (EV_SYN)
Event type 1 (EV_KEY)
Event code 1 (KEY_ESC)
Event code 2 (KEY_1)
Event code 3 (KEY_2)
Event code 4 (KEY_3)

Change-Id: If1ea31fb5d7d2d1bac021e05272d7ba2f0f65130
Signed-off-by: Mohammed Javith Akthar M <mohammedjavitham@ami.com>

show more ...


# 67a9bd4b 04-Dec-2022 Patrick Williams <patrick@stwcx.xyz>

create_usbhid.sh: fix shellcheck warnings

Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
Change-Id: I77a763381c9029d13549f0f1f9ea63407158cb76


# c85668db 02-May-2022 Jae Hyun Yoo <quic_jaehyoo@quicinc.com>

Fix shellcheck warnings

Fix shellcheck warnings in create_usbhid.sh script.

Tested: HID gadget was connected/disconnected properly even with the
fixed script.

Signed-off-by: Jae Hyun Yoo <quic_jae

Fix shellcheck warnings

Fix shellcheck warnings in create_usbhid.sh script.

Tested: HID gadget was connected/disconnected properly even with the
fixed script.

Signed-off-by: Jae Hyun Yoo <quic_jaehyoo@quicinc.com>
Change-Id: I78ae45db2f50ef400d72dd92895e67c50d01753e

show more ...


# 3fa0bfba 23-Dec-2021 Tejas Patil <tejaspp@ami.com>

Add Mouse Wheel Scroll Events

This commit add support for mouse wheel scroll events in KVM.
It supports for mouse scroll up/down buttons, by which user can use
mouse wheel functionality.

Testing:
T

Add Mouse Wheel Scroll Events

This commit add support for mouse wheel scroll events in KVM.
It supports for mouse scroll up/down buttons, by which user can use
mouse wheel functionality.

Testing:
Tested mouse wheel functionality.
Verified mouse wheel scroll up/down functions.

Signed-off-by: Tejas Patil <tejaspp@ami.com>
Change-Id: I7f53f0f203a81b55f2377982571e8f415ed99df2

show more ...


# 3b201f69 11-Jan-2022 Neal Liu <neal_liu@aspeedtech.com>

Fix HID gadget device remote wakeup issue

Enable Bit(6): Self-powered & Bit(5): Remote Wakeup
to allow host users to decide whether HID gadget device
can wakeup host or not.
Host Controller would se

Fix HID gadget device remote wakeup issue

Enable Bit(6): Self-powered & Bit(5): Remote Wakeup
to allow host users to decide whether HID gadget device
can wakeup host or not.
Host Controller would set REMOTE_WAKEUP feature before
suspend, and the devices acked accordingly.

Tested: Host can be waked up by HID device when KVM client
is connected.

Signed-off-by: Neal Liu <neal_liu@aspeedtech.com>
Change-Id: Iddbc456a970226ebd1f419cc6ee4ac7dc8ab989f

show more ...


# c11257d8 23-Jul-2020 Jae Hyun Yoo <jae.hyun.yoo@intel.com>

Connect HID gadget device dynamically

Connecting HID gadget device statically from the beginning of this
service causes an issue on WHLK test. To prevent the issue, this
commit changes the HID gadge

Connect HID gadget device dynamically

Connecting HID gadget device statically from the beginning of this
service causes an issue on WHLK test. To prevent the issue, this
commit changes the HID gadget device handling as dynamic so that
the HID gadget device can be connected when this service has at
least one KVM client.

Tested: /dev/hidg0 and /dev/hidg1 created only when at least one
KVM client is connected.

Change-Id: I5f6596b9e4e297fb6b507000499fc041460659f7
Signed-off-by: Jae Hyun Yoo <jae.hyun.yoo@intel.com>

show more ...


# 7dfac9ff 15-Jan-2019 Jae Hyun Yoo <jae.hyun.yoo@linux.intel.com>

Fix HID issues

Mixed type HID report descriptor in the current trunk doesn't work
well so this patch fixes the HID creation logic to make it use
composite configuration which has separated keyboard

Fix HID issues

Mixed type HID report descriptor in the current trunk doesn't work
well so this patch fixes the HID creation logic to make it use
composite configuration which has separated keyboard and mouse
HID descriptor using a single USB port.

ikvm service also should be changed using below setting after
applying this patch:
ExecStart=/usr/bin/env obmc-ikvm -v /dev/video0 -k /dev/hidg0 -p /dev/hidg1

Change-Id: I9b2975f4fdade2c6030def829951d02b24bea562
Signed-off-by: Jae Hyun Yoo <jae.hyun.yoo@linux.intel.com>

show more ...


# b9c253dc 11-Dec-2018 Eddie James <eajames@linux.ibm.com>

Add installed bash script to create a USB gadget device

This device acts like a USB mouse and keyboard to the host processor to
allow input from the remote user

Change-Id: I932cb6aebb9a0b5e27a35afc

Add installed bash script to create a USB gadget device

This device acts like a USB mouse and keyboard to the host processor to
allow input from the remote user

Change-Id: I932cb6aebb9a0b5e27a35afc6d7f6a4ad989f417
Signed-off-by: Eddie James <eajames@linux.ibm.com>

show more ...