~ubuntu-branches/ubuntu/maverick/devicekit-power/maverick

« back to all changes in this revision

Viewing changes to rules/95-devkit-power-battery-recall-toshiba.rules

  • Committer: Bazaar Package Importer
  • Author(s): Martin Pitt
  • Date: 2009-07-06 19:12:49 UTC
  • mfrom: (1.1.5 experimental)
  • Revision ID: james.westby@ubuntu.com-20090706191249-hr0a9c2ti5u0b5lc
Tags: 009-1
* New upstream release.   
* debian/control: Add myself to uploaders (discussed with Michael).
* debian/devicekit-power.install: Upstream installs udev rules into
  /lib/udev/rules.d now, update accordingly.
* Add 0001-Add-a-notify-flag-to-set_lid_is_closed.patch: Properly fix the
  silencing of the coldplug lid event, so that the first real lid event
  actually works. Thanks to Loïc Minier! (fd.o #22574)

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
##############################################################################################################
 
2
# Battery recall notices: Toshiba
 
3
#
 
4
# These are properties defining the behavior:
 
5
#  DKP_RECALL_NOTICE
 
6
#  DKP_RECALL_VENDOR
 
7
#  DKP_RECALL_URL
 
8
#
 
9
 
 
10
# only match power_supply devices
 
11
SUBSYSTEM!="power_supply", GOTO="dkp_battery_recall_toshiba_end"
 
12
 
 
13
# only match batteries
 
14
ATTR{type}!="Battery", GOTO="dkp_battery_recall_toshiba_end"
 
15
 
 
16
# only match correct manufacturer
 
17
ATTR{manufacturer}!="TOSHIBA", GOTO="dkp_battery_recall_toshiba_end"
 
18
 
 
19
ATTR{model_name}=="PA3465U, ENV{DKP_RECALL_NOTICE}="1"
 
20
ATTR{model_name}=="PA3399U, ENV{DKP_RECALL_NOTICE}="1"
 
21
ATTR{model_name}=="PA3400U, ENV{DKP_RECALL_NOTICE}="1"
 
22
ATTR{model_name}=="PA3465U, ENV{DKP_RECALL_NOTICE}="1"
 
23
ATTR{model_name}=="PA3399U, ENV{DKP_RECALL_NOTICE}="1"
 
24
ATTR{model_name}=="PA3400U, ENV{DKP_RECALL_NOTICE}="1"
 
25
 
 
26
ENV{DKP_RECALL_NOTICE}=="1", ENV{DKP_RECALL_VENDOR}="Toshiba", ENV{DKP_RECALL_URL}="http://bxinfo.toshiba.com/"
 
27
 
 
28
LABEL="dkp_battery_recall_toshiba_end"
 
29