Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 215967 - app-laptop/tp_smapi should install udev rule
Summary: app-laptop/tp_smapi should install udev rule
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Peter Weller (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-04-02 23:12 UTC by Anton Bolshakov
Modified: 2009-03-02 01:52 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
It creates a second input device (51-hdaps.rules,144 bytes, text/plain)
2008-04-02 23:14 UTC, Anton Bolshakov
Details
install udev rule if hdaps flag is enabled. (tp_smapi-0.37-r1.ebuild,1.44 KB, text/plain)
2008-04-02 23:16 UTC, Anton Bolshakov
Details
tp_smapi with udev support (tp_smapi-0.39-r1.ebuild,1.42 KB, text/plain)
2008-10-25 01:02 UTC, Anton Bolshakov
Details
tp_smapi with udev support (tp_smapi-0.39-r1.ebuild,1.56 KB, text/plain)
2009-01-07 08:17 UTC, Anton Bolshakov
Details

Note You need to log in before you can comment on or make changes to this bug.
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