Re: using leds on laptop

2010-02-02 Thread Paul B Mahol
On 2/1/10, Eitan Adler eitanadlerl...@gmail.com wrote:
 It is a Broadcom card and I need ndis to use it. I do not know if the light
 is attached to the wireless card though (it appears next to the power and
 charging lights)
 ndis0: Broadcom 802.11g Network Adapter mem 0xf470-0xf4703fff irq 18
 at device 0.0 on pci4
 bge0: Broadcom BCM5906 A2, ASIC rev. 0xc002 mem 0xf460-0xf460 irq
 17 at device 0.0 on pci7


I have working led (at least it works for me) with NDISulator code
from: http://www.gitorious.org/ndisulator
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: using leds on laptop

2010-02-01 Thread Polytropon
On Mon, 1 Feb 2010 20:22:22 +0200, Eitan Adler eitanadlerl...@gmail.com wrote:
 My laptop has a led for wireless - It has never been used since I
 installed freeBSD on this laptop. I was wondering if there was a way I could
 figure out a) if freeBSD detects it b) a way to use it for something

I'm not sure if FreeBSD will detect the pure LED, but as
you mentioned that it is labelled wireless, it is in
relation to the WLAN inside the laptop. Maybe there's a
device driver functionality that activates the LED when
the WLAN device is active?

But like with most modern inventions (such as jacks for
phones and speakers that are controlled by a driver, or
other nonsense), this issue will be so specific that
there's only a very specific driver for an arbitrary
version of Windows that utilizes hidden code inside
the laptop's secret circuits to switch the LED on. :-)

Do you use the laptop's WLAN, and does the LED correspond
to any state (like activated, connected, scanning etc.) of
the WLAN?

Anyway, I would predict that you won't find an easy way
to utilize this LED except you're writing a driver for it
with specifications the laptop's manufacturer will sell to
you if you put enough money onto the table. :-)

Otherwise, it's completely useless.

By the way, I have an older Toshiba laptop with a mechanical
switch for the WLAN component. It activates a LED regardless
of any OS-internal setting, maybe it's just switching the
WLAN component's power off an on, along with the LED. But
that's not modern - today's devices need a driver for that. :-)

As I said: Useless stuff.


-- 
Polytropon
Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: using leds on laptop

2010-02-01 Thread Eitan Adler
I'm not sure if FreeBSD will detect the pure LED, but as

 you mentioned that it is labelled wireless, it is in
 relation to the WLAN inside the laptop. Maybe there's a
 device driver functionality that activates the LED when
 the WLAN device is active?


Might be - but I don't have windows so I have no way of testing


 Do you use the laptop's WLAN, and does the LED correspond
 to any state (like activated, connected, scanning etc.) of
 the WLAN?

I do use WLAN but it does not correspond to any specific state. Nor does the
physical switch change anything


 Anyway, I would predict that you won't find an easy way
 to utilize this LED except you're writing a driver for it
 with specifications the laptop's manufacturer will sell to
 you if you put enough money onto the table. :-)

 It happens to be a Lenovo laptop. If I could get a copy of the
specification it would make a nice project for me - writing a driver -
*wonders*


 Otherwise, it's completely useless.
 --
 Polytropon
 Magdeburg, Germany
 Happy FreeBSD user since 4.0
 Andra moi ennepe, Mousa, ...

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: using leds on laptop

2010-02-01 Thread Brandon Gooch
On Mon, Feb 1, 2010 at 2:24 PM, Eitan Adler eitanadlerl...@gmail.com wrote:
 I'm not sure if FreeBSD will detect the pure LED, but as

 you mentioned that it is labelled wireless, it is in
 relation to the WLAN inside the laptop. Maybe there's a
 device driver functionality that activates the LED when
 the WLAN device is active?


 Might be - but I don't have windows so I have no way of testing


 Do you use the laptop's WLAN, and does the LED correspond
 to any state (like activated, connected, scanning etc.) of
 the WLAN?

 I do use WLAN but it does not correspond to any specific state. Nor does the
 physical switch change anything


 Anyway, I would predict that you won't find an easy way
 to utilize this LED except you're writing a driver for it
 with specifications the laptop's manufacturer will sell to
 you if you put enough money onto the table. :-)

  It happens to be a Lenovo laptop. If I could get a copy of the
 specification it would make a nice project for me - writing a driver -
 *wonders*


 Otherwise, it's completely useless.
 --
 Polytropon
 Magdeburg, Germany
 Happy FreeBSD user since 4.0
 Andra moi ennepe, Mousa, ...

 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


If it's and Intel card (iwi(4), ipw(4), iwn(4)), it's a matter of
knowing what command to send to the firmware.

What device do you have in the laptop?

Check the dmesg(8) output...

-Brandon
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: using leds on laptop

2010-02-01 Thread Eitan Adler
It is a Broadcom card and I need ndis to use it. I do not know if the light
is attached to the wireless card though (it appears next to the power and
charging lights)
ndis0: Broadcom 802.11g Network Adapter mem 0xf470-0xf4703fff irq 18
at device 0.0 on pci4
bge0: Broadcom BCM5906 A2, ASIC rev. 0xc002 mem 0xf460-0xf460 irq
17 at device 0.0 on pci7


On Mon, Feb 1, 2010 at 11:35 PM, Brandon Gooch
jamesbrandongo...@gmail.comwrote:

 On Mon, Feb 1, 2010 at 2:24 PM, Eitan Adler eitanadlerl...@gmail.com
 wrote:
  I'm not sure if FreeBSD will detect the pure LED, but as
 
  you mentioned that it is labelled wireless, it is in
  relation to the WLAN inside the laptop. Maybe there's a
  device driver functionality that activates the LED when
  the WLAN device is active?
 
 
  Might be - but I don't have windows so I have no way of testing
 
 
  Do you use the laptop's WLAN, and does the LED correspond
  to any state (like activated, connected, scanning etc.) of
  the WLAN?
 
  I do use WLAN but it does not correspond to any specific state. Nor does
 the
  physical switch change anything
 
 
  Anyway, I would predict that you won't find an easy way
  to utilize this LED except you're writing a driver for it
  with specifications the laptop's manufacturer will sell to
  you if you put enough money onto the table. :-)
 
   It happens to be a Lenovo laptop. If I could get a copy of the
  specification it would make a nice project for me - writing a driver -
  *wonders*
 
 
  Otherwise, it's completely useless.
  --
  Polytropon
  Magdeburg, Germany
  Happy FreeBSD user since 4.0
  Andra moi ennepe, Mousa, ...
 
  ___
  freebsd-questions@freebsd.org mailing list
  http://lists.freebsd.org/mailman/listinfo/freebsd-questions
  To unsubscribe, send any mail to 
 freebsd-questions-unsubscr...@freebsd.org
 

 If it's and Intel card (iwi(4), ipw(4), iwn(4)), it's a matter of
 knowing what command to send to the firmware.

 What device do you have in the laptop?

 Check the dmesg(8) output...

 -Brandon

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: using leds on laptop

2010-02-01 Thread Chad Perrin
On Mon, Feb 01, 2010 at 10:24:41PM +0200, Eitan Adler wrote:
 
  It happens to be a Lenovo laptop. If I could get a copy of the
 specification it would make a nice project for me - writing a driver -
 *wonders*

Which Lenovo laptop model is it?

-- 
Chad Perrin [ original content licensed OWL: http://owl.apotheon.org ]


pgpvvD4VDOa8l.pgp
Description: PGP signature