Bug 104062 - gkrellmwireless2 plugin fails to recognise ath0 wireless
Summary: gkrellmwireless2 plugin fails to recognise ath0 wireless
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: Pav Lucistnik
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-10-06 14:40 UTC by Lars Hecking
Modified: 2006-10-08 23:20 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Lars Hecking 2006-10-06 14:40:18 UTC
I have installed

gkrellm-2.2.9_1     A GTK based system monitor
gkrellmwireless-2.0.2_5 GKrellM wireless plugin

When enabling the wireless plugin in gkrellm2, it only shows stats for the
builtin wi0 interface, which is physically switched off. It does not show,
or even have a tab for, the plugged-in atheros based wireless PCMCIA card
I'm using. After adding ath0 manually to ~/.gkrellm2/user_config and restarting
gkrellm, the config entries for ath0 are now available, but gkrellm itself
still shows only wi0 stats (wi0 and ath0 are enabled in the configuration).

It looks like gkrellm2 fails to recognise the card as wireless - it
shows up under Builtins/Net just fine.

This works fine under Gentoo Linux on the same laptop (minor revs of the
software involved are different, e.g. 2.0.3 vs 2.0.2).

Fix: 

No known workaround.
How-To-Repeat: 
Install gkrellm2 and gkrellmwireless2.
Enable wireless plugin.
Insert Atheros based wireless card into PCMCIA slot.
Watch how gkrellm2 does not show wireless stats for ath0.
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2006-10-06 14:53:29 UTC
State Changed
From-To: open->feedback

Awaiting maintainers feedback
Comment 2 KT Sin 2006-10-06 16:09:32 UTC
hi lars,

afaik, gkrellmwireless2, even with 2.0.3 doesn't support wireless
devices other than wi.

however, hajimu umemoto-san made a patch some time ago to include
support for newer wireless cards under freebsd.

please try the patch below and see if it works for you.

http://www.imasy.or.jp/~ume/FreeBSD/gkrellmwireless2-scan.diff

-- 
kit
Comment 3 Lars Hecking 2006-10-06 20:31:51 UTC
 Hi Kit,

KT Sin writes:
> hi lars,
> 
> afaik, gkrellmwireless2, even with 2.0.3 doesn't support wireless
> devices other than wi.
 
 That is interesting, because it works on Gentoo (gkrellm 2.2.5,
 gkrellmwireless2 2.0.3) with ath0, and seemingly without patches.
 It must depend on some more fundamental differences beetween the
 OSes.

 I actually tried 2.0.3 on FreeBSD, but the problem is the same.

> however, hajimu umemoto-san made a patch some time ago to include
> support for newer wireless cards under freebsd.
> 
> please try the patch below and see if it works for you.

 It does, and thank you very much! :)

 -l
Comment 4 Hajimu UMEMOTO freebsd_committer freebsd_triage 2006-10-07 07:33:08 UTC
Hi,

>>>>> On Fri, 6 Oct 2006 20:31:51 +0100 (IST)
>>>>> Lars Hecking <lhecking@users.sourceforge.net> said:

> afaik, gkrellmwireless2, even with 2.0.3 doesn't support wireless
> devices other than wi.
 
lhecking>  That is interesting, because it works on Gentoo (gkrellm 2.2.5,
lhecking>  gkrellmwireless2 2.0.3) with ath0, and seemingly without patches.
lhecking>  It must depend on some more fundamental differences beetween the
lhecking>  OSes.

The FreeBSD's API around here is quite different from Linux one.

lhecking>  I actually tried 2.0.3 on FreeBSD, but the problem is the same.

> however, hajimu umemoto-san made a patch some time ago to include
> support for newer wireless cards under freebsd.
> 
> please try the patch below and see if it works for you.

lhecking>  It does, and thank you very much! :)

It should be applied cleanly to 2.0.3 as well.

I sent the author of gkrellmwireless2 it once before, but I got no
response from him.  I'll resend it later.
It might better to include it in gkrellmwireless2 port.

Sincerely,

--
Hajimu UMEMOTO @ Internet Mutual Aid Society Yokohama, Japan
ume@mahoroba.org  ume@{,jp.}FreeBSD.org
http://www.imasy.org/~ume/
Comment 5 Pav Lucistnik freebsd_committer freebsd_triage 2006-10-07 15:50:52 UTC
Dear maintainer, do you want me to include the ume's patch in the port?

-- 
Pav Lucistnik <pav@oook.cz>
              <pav@FreeBSD.org>

It's now using GIFs instead of JPEGs. This is similar to replacing
triangular wheels with round ones.
Comment 6 Pav Lucistnik freebsd_committer freebsd_triage 2006-10-07 15:50:56 UTC
Responsible Changed
From-To: freebsd-ports-bugs->pav

Get involved
Comment 7 KT Sin 2006-10-08 04:41:58 UTC
Good idea! I have no objection.

kit :)

On Sat, Oct 07, 2006 at 04:50:52PM +0200, Pav Lucistnik wrote:
> Dear maintainer, do you want me to include the ume's patch in the port?
> 
> -- 
> Pav Lucistnik <pav@oook.cz>
>               <pav@FreeBSD.org>
> 
> It's now using GIFs instead of JPEGs. This is similar to replacing
> triangular wheels with round ones.
Comment 8 dfilter service freebsd_committer freebsd_triage 2006-10-08 14:09:57 UTC
pav         2006-10-08 13:09:49 UTC

  FreeBSD ports repository

  Modified files:
    net/gkrellmwireless2 Makefile 
  Added files:
    net/gkrellmwireless2/files patch-ume-scan.diff 
  Log:
  - Add patch by Hajimu UMEMOTO to support all wireless cards under FreeBSD,
    not just wi0
  
  PR:             ports/104062
  Approved by:    KT Sin <ktsin@acm.org> (maintainer)
  Obtained from:  http://www.imasy.or.jp/~ume/FreeBSD/gkrellmwireless2-scan.diff
  
  Revision  Changes    Path
  1.7       +1 -1      ports/net/gkrellmwireless2/Makefile
  1.1       +137 -0    ports/net/gkrellmwireless2/files/patch-ume-scan.diff (new)
_______________________________________________
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
Comment 9 Pav Lucistnik freebsd_committer freebsd_triage 2006-10-08 14:10:23 UTC
State Changed
From-To: feedback->closed

Solved
Comment 10 Shaun Amott freebsd_committer freebsd_triage 2006-10-08 23:15:01 UTC
On Fri, Oct 06, 2006 at 02:36:30PM +0100, Lars Hecking wrote:
>=20
> When enabling the wireless plugin in gkrellm2, it only shows stats for the
> builtin wi0 interface, which is physically switched off. It does not show,
> or even have a tab for, the plugged-in atheros based wireless PCMCIA card
> I'm using. After adding ath0 manually to ~/.gkrellm2/user_config and rest=
arting
> gkrellm, the config entries for ath0 are now available, but gkrellm itself
> still shows only wi0 stats (wi0 and ath0 are enabled in the configuration=
).
>=20
> It looks like gkrellm2 fails to recognise the card as wireless - it
> shows up under Builtins/Net just fine.
>=20
> This works fine under Gentoo Linux on the same laptop (minor revs of the
> software involved are different, e.g. 2.0.3 vs 2.0.2).
>=20

Unfortunately, gkrellmwireless[2] does not support ath(4) cards under
FreeBSD.

--=20
Shaun Amott // PGP: 0x6B387A9A
"A foolish consistency is the hobgoblin
of little minds." - Ralph Waldo Emerson