Bug 50351
Summary: | hdaps driver emits udev event before full initialization is complete | ||
---|---|---|---|
Product: | Drivers | Reporter: | Stefan Jensen (sjensen) |
Component: | Platform_x86 | Assignee: | drivers_platform_x86 (drivers_platform_x86) |
Status: | NEW --- | ||
Severity: | low | CC: | alan, dmitry.torokhov, sargentd, zdzichu |
Priority: | P1 | ||
Hardware: | All | ||
OS: | Linux | ||
Kernel Version: | 3.6.6-1.fc17.i686.PAE | Subsystem: | |
Regression: | No | Bisected commit-id: |
Description
Stefan Jensen
2012-11-10 14:13:21 UTC
Hey Stefan, just stumbled over your report and have a few questions: - is this the in-kernel hdaps.ko? I wonder because I thought it does not have the event-interface, which tp_smapi has. - do you know if hdaps.ko was already loaded, or was it loaded by hdapsd? Hi again, I can reproduce this on my X61t, but not on my X201s with the tp_smapi hdaps driver. The in-kernel hdaps driver behaves fine on both machines. I reproduce it by calling sudo rmmod hdaps; sudo modprobe hdaps; cat /sys/devices/platform/hdaps/position Can you confirm, that this is a tp_smapi issue? We should move to the proper bug tracker then ;) Greets Oh, and the same applies to an old X40. Hi, thank you for looking into this. It seems, that it is indeed related to tp_smapi's hdaps.ko. I totally overlooked, that I'm not using the build in module. $modinfo hdaps filename: /lib/modules/3.11.6-202.fc17.i686.PAE/extra/tp_smapi/hdaps.ko license: GPL v2 description: IBM Hard Drive Active Protection System (HDAPS) driver author: Robert Love depends: thinkpad_ec vermagic: 3.11.6-202.fc17.i686.PAE SMP mod_unload 686 parm: invert:axis orientation code (uint) best regards Could you by any chance try pathing hdapsd with this patch and see if it behaves properly after it? https://github.com/evgeni/hdapsd/commit/2658f3510f1a38b6701e5a39d5e5e8c69bc8c77d On my X61t it results in the "busy" message about 3-4 times and works fine afterwards. |