Re: hid-sensor-hub and autoloading of HID sensor modules

2 messages, 2 authors, 2012-12-11 · open the first message on its own page

Re: hid-sensor-hub and autoloading of HID sensor modules

From: Alexander Holler <hidden>
Date: 2012-12-11 18:34:17

Am 10.12.2012 22:53, schrieb Alexander Holler:
Am 10.12.2012 22:40, schrieb Pandruvada, Srinivas:
quoted
I mean if your patch is merged, when new kernel is synced in the product line, we can't depend on auto loading of hid-sensor-hub. So we need to do something similar as you suggested.
Those patches aren't meant for your product line (mor for 3.8). But
hid-sensor-hub currently (as in 3.7-rc) doesn't load the necessary
modules at all, only hid-sensor-hub is currently loaded automatically,
not the other modules. That is at least what I've experienced here.
As I'm not sure if I could describe clearly what I meant to say, I try
it again: ;)

The problem that the necessary modules will not be loaded automatically
already exists in kernel 3.7. This is indepent of my proposed patches to
get rid of the vendor and device IDs and load hid-sensor-hub
automatically for all USB HID sensor hubs.

With or without my proposed patches, only hid-sensor-hub is loaded
automatically, but not the other drivers like hid-sensor-accel-3d,
hid-sensor-als, hid-sensor-gyro-3d or hid-sensor-magn-3d (if the are
build as modules).

Regards,

Alexander

RE: hid-sensor-hub and autoloading of HID sensor modules

From: Pandruvada, Srinivas <hidden>
Date: 2012-12-11 18:40:06

Yes, only hid-sensor-hub is loaded automatically currently. IIO sensor driver needs to be loaded by modprobe or insmod. 

Thanks,
Srinivas

-----Original Message-----
From: Alexander Holler [mailto:holler@ahsoftware.de] 
Sent: Tuesday, December 11, 2012 10:34 AM
To: Pandruvada, Srinivas
Cc: linux-iio@vger.kernel.org; linux-input@vger.kernel.org; matteo.dameno@st.com
Subject: Re: hid-sensor-hub and autoloading of HID sensor modules

Am 10.12.2012 22:53, schrieb Alexander Holler:
Am 10.12.2012 22:40, schrieb Pandruvada, Srinivas:
quoted
I mean if your patch is merged, when new kernel is synced in the product line, we can't depend on auto loading of hid-sensor-hub. So we need to do something similar as you suggested.
Those patches aren't meant for your product line (mor for 3.8). But 
hid-sensor-hub currently (as in 3.7-rc) doesn't load the necessary 
modules at all, only hid-sensor-hub is currently loaded automatically, 
not the other modules. That is at least what I've experienced here.
As I'm not sure if I could describe clearly what I meant to say, I try it again: ;)

The problem that the necessary modules will not be loaded automatically already exists in kernel 3.7. This is indepent of my proposed patches to get rid of the vendor and device IDs and load hid-sensor-hub automatically for all USB HID sensor hubs.

With or without my proposed patches, only hid-sensor-hub is loaded automatically, but not the other drivers like hid-sensor-accel-3d, hid-sensor-als, hid-sensor-gyro-3d or hid-sensor-magn-3d (if the are build as modules).

Regards,

Alexander
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help