Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

jp6: enable kernel HID_SENSOR to support USB HID #186

Merged
merged 2 commits into from
Mar 6, 2024

Conversation

dmipx
Copy link
Contributor

@dmipx dmipx commented Mar 5, 2024

Tracked-by: [RSDSO-19608] [D457] [JP6] enable IIO-HID in kernel

IIO-HID is disabled by default for jetson jetpack 6.0
JetPack 4.6.1:

administrator@rsjetson20:~$ gzip -d < /proc/config.gz | grep HIDRAW
CONFIG_HIDRAW=y
administrator@rsjetson20:~$ gzip -d < /proc/config.gz | grep HID_SENSOR
CONFIG_HID_SENSOR_HUB=m
CONFIG_HID_SENSOR_CUSTOM_SENSOR=m
CONFIG_HID_SENSOR_ACCEL_3D=m
CONFIG_HID_SENSOR_IIO_COMMON=m
CONFIG_HID_SENSOR_IIO_TRIGGER=m
CONFIG_HID_SENSOR_GYRO_3D=m

Jetpack 6.0:

root@ubuntu:/home/nvidia# gzip -d < /proc/config.gz | grep HIDRAW
CONFIG_HIDRAW is not set
root@ubuntu:/home/nvidia# gzip -d < /proc/config.gz | grep HID_SENSOR
CONFIG_HID_SENSOR_HUB is not set

Issue:

[ 3772.623042] hid-generic 0003:8086:0B5C.0004: device has no listeners, quitting

rs-enumerate-devices does not detect cameras with imu - d455, d435i

Tracked-by: [RSDSO-19608] [D457] [JP6] enable IIO-HID in kernel

Signed-off-by: Dmitry Perchanov <dmitry.perchanov@intel.com>
@@ -0,0 +1,48 @@
From 8abf5719599328104b1eb0c6cbc5f9526f106adc Mon Sep 17 00:00:00 2001
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

How is this integrated into our build script?
Currently as I understand it's not?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

if [ -d ${KERNEL_DIR}/${JETPACK_VERSION} ]; then

Signed-off-by: Dmitry Perchanov <dmitry.perchanov@intel.com>
@Nir-Az Nir-Az merged commit d2ad0fd into IntelRealSense:dev Mar 6, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants