Bug 54511 - patch: net/wmwave: more portable data gathering
Summary: patch: net/wmwave: more portable data gathering
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-ports-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-07-15 20:10 UTC by hendrik
Modified: 2003-08-30 07:55 UTC (History)
1 user (show)

See Also:


Attachments
wmwave-patched-diff.patch (2.76 KB, patch)
2003-07-15 20:10 UTC, hendrik
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description hendrik 2003-07-15 20:10:14 UTC
wmwave works on Prism cards but not on Lucent ones (minipci and PCMCIA tested)
since wireq.wi_val is empty.
I've patched it to use a more portable way for data acquisition known
from gkrellm and other tools.
I've tested this with my Lucent mini PCI card and a PCMCIA Prism card.
Please DO TEST this before commiting.

The attached file is a diff between the file after 'make patch' has been
executed (and already patches by the port!).
A complete diff against the distribution source can be found here:
http://www.raisdorf.net/files/FreeBSD/wmwave-diff.patch

diff against already patch file:
http://www.raisdorf.net/files/FreeBSD/wmwave-patched-diff.patch

Additionally I renamed the three values to more common names.

How-To-Repeat: Try to use wmwave with an Orinoco based card.
Comment 1 Oliver Lehmann 2003-08-02 14:48:53 UTC
Followups:
	ports/54523
Comment 2 Edwin Groothuis freebsd_committer freebsd_triage 2003-08-30 07:55:21 UTC
State Changed
From-To: open->closed

Commited, thanks!