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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxxx] 
Sent: Tuesday, December 11, 2012 10:34 AM
To: Pandruvada, Srinivas
Cc: linux-iio@xxxxxxxxxxxxxxx; linux-input@xxxxxxxxxxxxxxx; matteo.dameno@xxxxxx
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:
>> 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
--
To unsubscribe from this list: send the line "unsubscribe linux-iio" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Input]     [Linux Kernel]     [Linux SCSI]     [X.org]

  Powered by Linux