Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 215967

Summary: app-laptop/tp_smapi should install udev rule
Product: Gentoo Linux Reporter: Anton Bolshakov <anton.bugs>
Component: New packagesAssignee: Peter Weller (RETIRED) <welp>
Status: RESOLVED FIXED    
Severity: enhancement    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: It creates a second input device
install udev rule if hdaps flag is enabled.
tp_smapi with udev support
tp_smapi with udev support

Description Anton Bolshakov 2008-04-02 23:12:03 UTC
I've suggested earlier in the bug 208627 but somehow it got lost.
tp_smapi provide an additional functionality with this udev rule and I think it make sense to install udev rule if 'hdaps' flag is enabled. 

--- tp_smapi-0.37.ebuild        2008-03-31 16:38:03.000000000 +0800
+++ tp_smapi-0.37-r1.ebuild     2008-03-31 07:38:59.000000000 +0800
@@ -55,5 +55,11 @@
 src_install() {
        linux-mod_src_install

+       if use hdaps; then
+               #  udev rules
+               insinto /etc/udev/rules.d
+               newins ${FILESDIR}/51-hdaps.rules 51-hdaps.rules
+       fi
+
        dodoc CHANGES README
 }
Comment 1 Anton Bolshakov 2008-04-02 23:14:53 UTC
Created attachment 148151 [details]
It creates a second input device



A new version of the hdapsd userspace daemon, which uses the input device
interface instead of polling sysfs, is available separately. Using this reduces
the total interrupts per second generated by hdaps+hdapsd (on tickless kernels)
to 50, down from a value that fluctuates between 50 and 100. Set the
sampling_rate sysfs attribute to a lower value to further reduce interrupts,
at the expense of response latency.
Comment 2 Anton Bolshakov 2008-04-02 23:16:30 UTC
Created attachment 148152 [details]
install udev rule if hdaps flag is enabled.
Comment 3 Anton Bolshakov 2008-10-25 01:02:03 UTC
Created attachment 169774 [details]
tp_smapi with udev support

Peter, 

could you tell what's the reason it's still pending?
It's part of the package and will be installed only if "hdaps" flag is enabled.
Thank you
Comment 4 Anton Bolshakov 2009-01-07 08:17:29 UTC
Created attachment 177652 [details]
tp_smapi with udev support

An optional "UINPUT" module verification added
Comment 5 Anton Bolshakov 2009-03-02 01:52:29 UTC
Apparently, a new version of hdapsd comes with that udev rule, so we'll keep it there.
So, that bug will be solved with the bug #166166