]> git.ipfire.org Git - thirdparty/util-linux.git/log
thirdparty/util-linux.git
10 years agoadd python module
Johannes Berg [Thu, 8 Jan 2015 10:12:05 +0000 (11:12 +0100)] 
add python module

10 years agouse uapi rfkill.h
Johannes Berg [Thu, 8 Jan 2015 08:02:42 +0000 (09:02 +0100)] 
use uapi rfkill.h

12 years agoversion 0.5
Johannes Berg [Fri, 3 May 2013 11:24:22 +0000 (13:24 +0200)] 
version 0.5

now with nfc support

12 years agofix compiler warning
Johannes Berg [Fri, 3 May 2013 11:22:45 +0000 (13:22 +0200)] 
fix compiler warning

12 years agoAdd NFC support
Samuel Ortiz [Fri, 3 May 2013 09:57:50 +0000 (11:57 +0200)] 
Add NFC support

rfkill.h is synced with the kernel header, man page is updated and
RFKILL_TYPE_NFC is mapped to "nfc".

15 years agoversion 0.4
Johannes Berg [Sat, 6 Feb 2010 14:33:26 +0000 (15:33 +0100)] 
version 0.4

15 years agoAdd rfkill type "fm" to the man page.
Darren Salt [Mon, 25 Jan 2010 22:33:31 +0000 (22:33 +0000)] 
Add rfkill type "fm" to the man page.

15 years agoHelp text: output rfkill type names from an array instead of a static string.
Darren Salt [Mon, 25 Jan 2010 22:33:30 +0000 (22:33 +0000)] 
Help text: output rfkill type names from an array instead of a static string.

15 years agoTweak version handling to allow vendor-specific suffixes without patching.
Darren Salt [Mon, 25 Jan 2010 22:57:02 +0000 (22:57 +0000)] 
Tweak version handling to allow vendor-specific suffixes without patching.

This overrides the "git describe" suffix for when the packaging is in git.

15 years agochange manpage for new rfkill list behaviour
Johannes Berg [Sat, 23 Jan 2010 12:52:01 +0000 (13:52 +0100)] 
change manpage for new rfkill list behaviour

15 years agoAdd filtering to "rfkill list".
Darren Salt [Fri, 22 Jan 2010 23:35:30 +0000 (23:35 +0000)] 
Add filtering to "rfkill list".

15 years agoRefactor rfkill index/type lookup: move it below rfkill_block.
Darren Salt [Fri, 22 Jan 2010 23:35:29 +0000 (23:35 +0000)] 
Refactor rfkill index/type lookup: move it below rfkill_block.

15 years agoReturn error codes instead of exiting.
Darren Salt [Fri, 22 Jan 2010 23:35:28 +0000 (23:35 +0000)] 
Return error codes instead of exiting.

15 years agoConstification.
Darren Salt [Fri, 22 Jan 2010 23:35:27 +0000 (23:35 +0000)] 
Constification.

15 years agoRearrange the help text for block & unblock.
Darren Salt [Fri, 22 Jan 2010 23:35:26 +0000 (23:35 +0000)] 
Rearrange the help text for block & unblock.

15 years agoAdd "wlan" and "ultrawideband" as aliases for "wifi" and "uwb".
Darren Salt [Fri, 22 Jan 2010 23:35:25 +0000 (23:35 +0000)] 
Add "wlan" and "ultrawideband" as aliases for "wifi" and "uwb".

I tend to think "wlan" rather than "wifi"; also, it fits in nicely with "wwan".
Also, these aliases are what the kernel uses.

15 years agoupdate rfkill.h from kernel 2.6.33
Tomas Winkler [Tue, 19 Jan 2010 07:05:21 +0000 (09:05 +0200)] 
update rfkill.h from kernel 2.6.33

1. add FM radio type
2. update rfkill_type docs

Signed-off-by: Tomas Winkler <tomas.winkler@intel.com>
16 years agoMove the man page to section 8
Darren Salt [Fri, 4 Dec 2009 17:04:39 +0000 (17:04 +0000)] 
Move the man page to section 8

16 years agoprint time instead of useless text
Johannes Berg [Thu, 3 Dec 2009 13:28:03 +0000 (14:28 +0100)] 
print time instead of useless text

16 years agoflush output after events
Johannes Berg [Thu, 29 Oct 2009 12:57:27 +0000 (13:57 +0100)] 
flush output after events

suggested by Martin Dubuc who wants to log it to file

16 years agodefault install to $(PREFIX)/sbin
John W. Linville [Tue, 29 Sep 2009 17:41:37 +0000 (13:41 -0400)] 
default install to $(PREFIX)/sbin

The rfkill utility isn't generally useful to normal users, so move it to
/sbin with other system management executables.

Signed-off-by: John W. Linville <linville@tuxdriver.com>
16 years agoversion 0.3
Johannes Berg [Wed, 2 Sep 2009 20:15:00 +0000 (22:15 +0200)] 
version 0.3

license clarifications

16 years agoresync rfkill.h with kernel
Johannes Berg [Wed, 2 Sep 2009 20:13:09 +0000 (22:13 +0200)] 
resync rfkill.h with kernel

The kernel rfkill.h got a new license thanks to all
people involved with it -- we can now sync with it
and clean up the little license mess here. The
upstream (kernel) commit was:

commit 8bc11b491b6cad75e737f1d38bb4b261bd95b291
Author: Johannes Berg <johannes@sipsolutions.net>
Date:   Wed Aug 26 18:13:17 2009 +0200

    rfkill: relicense header file

    This header file is copied into userspace tools that
    need not be GPLv2 licensed, make that easier.

Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
Acked-by: Alan Jenkins <alan-jenkins@tuffmail.co.uk>
Acked-by: Henrique de Moraes Holschuh <hmh@hmh.eng.br>
Acked-by: Iñaky Pérez-González <inaky@linux.intel.com>
Acked-by: Ivo van Doorn <IvDoorn@gmail.com>
Acked-by: Jaswinder Singh Rajput <jaswinderrajput@gmail.com>
Acked-by: Michael Buesch <mb@bu3sch.de>
Acked-by: Tomas Winkler <tomas.winkler@intel.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
16 years agoremove copyright notice from file
Johannes Berg [Wed, 26 Aug 2009 17:51:32 +0000 (19:51 +0200)] 
remove copyright notice from file

should make it clear that COPYING is supposed
to govern the entire source distribution

16 years agoadd copyright notices
Johannes Berg [Wed, 26 Aug 2009 17:41:21 +0000 (19:41 +0200)] 
add copyright notices

16 years agoversion 0.2
Johannes Berg [Tue, 25 Aug 2009 09:53:19 +0000 (11:53 +0200)] 
version 0.2

16 years agosync with kernel, add GPS
Johannes Berg [Tue, 25 Aug 2009 09:52:29 +0000 (11:52 +0200)] 
sync with kernel, add GPS

The kernel added a GPS rfkill type, and also the
event size. Sync with the kernel's header file and
add support for GPS.

16 years agoadd manpage
Johannes Berg [Tue, 25 Aug 2009 09:49:10 +0000 (11:49 +0200)] 
add manpage

Taken from http://tartarus.org/~ds/pkg/rfkill_0.1-4-g9429740-1.diff.gz

Thanks Darren!

16 years agoremove iteration and let the kernel do it
Johannes Berg [Thu, 23 Jul 2009 17:11:21 +0000 (19:11 +0200)] 
remove iteration and let the kernel do it

16 years agoAdded support for block/unblock wireless types.
Tim Gardner [Thu, 23 Jul 2009 16:53:47 +0000 (10:53 -0600)] 
Added support for block/unblock wireless types.

block/unblock now accepts an index as well as a wireless type,
uncluding 'all'.

Signed-off-by: Tim Gardner <tim.gardner@canonical.com>
16 years agoAdded rfkill_block_all()
Tim Gardner [Thu, 23 Jul 2009 15:51:47 +0000 (09:51 -0600)] 
Added rfkill_block_all()

Utility function to block/unblock devices by type.

Signed-off-by: Tim Gardner <tim.gardner@canonical.com>
16 years agoAdded a utility function to acquire a list of events.
Tim Gardner [Thu, 23 Jul 2009 15:34:27 +0000 (09:34 -0600)] 
Added a utility function to acquire a list of events.

Construct a list of events for use by multiple functions,
such as block/unblock for specific rfkill types.

Signed-off-by: Tim Gardner <tim.gardner@canonical.com>
16 years agobump version to 0.1
Johannes Berg [Tue, 21 Jul 2009 11:34:48 +0000 (13:34 +0200)] 
bump version to 0.1

16 years agocheck event size for version 1
Johannes Berg [Sun, 5 Jul 2009 12:37:40 +0000 (14:37 +0200)] 
check event size for version 1

If we ever increase the event struct size, then we
will need to handle multiple event sizes, so let's
define the current event size and check for that
so we remember to fix it up when (if ever) we need
to change things.

16 years agouse right event size for read()
Johannes Berg [Sun, 5 Jul 2009 12:33:25 +0000 (14:33 +0200)] 
use right event size for read()

In order to be compatible with future size increases of
the kernel's rfkill structure, userspace should only
read as much as it expects -- the kernel will truncate
the event read if necessary, which is the way we plan
to have compatibility between different versions, should
they ever be necessary.

Thus, the userspace tool needs to use the exact event
size for a read().

If the userspace tool is ever compiled with a newer
kernel then it will need to be adjusted to work with
older kernels, however.

16 years agoopen device read-only for list and event operations
Marcel Holtmann [Fri, 5 Jun 2009 10:31:10 +0000 (12:31 +0200)] 
open device read-only for list and event operations

16 years agocomment out rfkill manpage install for now
Johannes Berg [Thu, 4 Jun 2009 18:50:18 +0000 (20:50 +0200)] 
comment out rfkill manpage install for now

16 years agoadd *~ to gitignore
Johannes Berg [Thu, 4 Jun 2009 18:36:58 +0000 (20:36 +0200)] 
add *~ to gitignore

16 years agoadd .gitignore
Johannes Berg [Thu, 4 Jun 2009 18:36:49 +0000 (20:36 +0200)] 
add .gitignore

16 years agoversion script "improvement"
Johannes Berg [Thu, 4 Jun 2009 18:33:21 +0000 (20:33 +0200)] 
version script "improvement"

16 years agoimplement basic rfkill functionality
Marcel Holtmann [Thu, 4 Jun 2009 18:28:39 +0000 (20:28 +0200)] 
implement basic rfkill functionality

16 years agoupdate to latest rfkill.h
Marcel Holtmann [Thu, 4 Jun 2009 18:28:37 +0000 (20:28 +0200)] 
update to latest rfkill.h

16 years agofix wrong rfkill_version type
Marcel Holtmann [Thu, 4 Jun 2009 18:28:38 +0000 (20:28 +0200)] 
fix wrong rfkill_version type

16 years agoinit rfkill basic code
Johannes Berg [Thu, 28 May 2009 09:39:20 +0000 (11:39 +0200)] 
init rfkill basic code