Re: slightly OT hardware question

2016-05-27 Thread Swift Griggs
On Thu, 26 May 2016, William A. Mahaffey III wrote:
>> FYI, I use the TrendNET TU3-ETG v1.0R with NetBSD. This is a gigabit 
>> NIC with USB3 (though it uses USB2 in NetBSD). It works well and might 
>> give you some more options on smaller machines like that.

> H  That sounds promising. Pi-B+ ? Pi2/3 ? In service ? What are you 
> using it for ? The NIC shows up in
> ifconfig ? Inquiring minds wanna know ;-). Thanks & TIA 

I've only used the adapter on AMD64 and i386. I'm only assuming it works 
on ARM. Sorry, I should have stated that. Here is a bit more info just for 
fun:

% uname -a
NetBSD m83.parsec.com 7.0 NetBSD 7.0 (GENERIC.201509250726Z) i386

dmesg:
axen0 at uhub3 port 2
axen0: ASIX Elec. Corp. AX88179, rev 2.10/1.00, addr 8
axen0: AX88179
axen0: Ethernet address d8:eb:97:b3:ab:d9
rgephy0 at axen0 phy 3: RTL8169S/8110S/8211 1000BASE-T media interface, rev. 5
rgephy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT-FDX, auto

ifconfig:
axen0: flags=8802 mtu 1500
capabilities=3ff00
capabilities=3ff00
capabilities=3ff00
enabled=0
ec_capabilities=1
ec_enabled=0
address: d8:eb:97:b3:ab:d9
media: Ethernet autoselect (10baseT half-duplex)
status: no carrier


-Swift



Re: slightly OT hardware question

2016-05-27 Thread William A. Mahaffey III

On 05/27/16 01:35, Kimihiro Nonaka wrote:

2016-05-27 4:28 GMT+09:00 William A. Mahaffey III :


PC Engines apu2?

H  Looks good, slightly weird board size (a bit smaller than
mini-ITX), but I like AMD jaguars. Do you have any in service ? Thanks :-).

I've posted NetBSD/amd64 7.99.29 dmesg of apu2b4.
http://dmesgd.nycbug.org/index.cgi?do=view&id=2973

worked: serial console (com0), Intel I210 NIC (wm[0-2]), mSATA SSD
(wd0), USB 3.0 Host (xhci0)
not tested: SD card slot (sdhc0)

Regards,



*Swt* :-). What are you using it for, router ? Firewall ? Porting 
code ? Something else ? Thanks & TIA.



--

William A. Mahaffey III

 --

"The M1 Garand is without doubt the finest implement of war
 ever devised by man."
   -- Gen. George S. Patton Jr.



Re: athn(4) Not working with Atheros AR5B95-H

2016-05-27 Thread Michael van Elst
er.abhinav.upadh...@gmail.com (Abhinav Upadhyay) writes:

>On Tue, May 24, 2016 at 10:51 PM, Martin Husemann  wrote:
>> On Tue, May 24, 2016 at 10:25:53PM +0530, Abhinav Upadhyay wrote:
>>> athn0: radio is disabled by hardware switch
>>> athn0: unable to reset hardware; reset status 1

>I also have a toggle key on the laptop (with an LED to indicate
>whether the card is on or off) but it doesn't work once NetBSD boots
>(the LED remains in off state).

>How can I fix this or help in fixing it?


That's usually very hardware specific and usually exposed by
some ACPI objects.


-- 
-- 
Michael van Elst
Internet: mlel...@serpens.de
"A potential Snark may lurk in every tree."


Re: athn(4) Not working with Atheros AR5B95-H

2016-05-27 Thread Martin Husemann
On Fri, May 27, 2016 at 01:55:55PM +0530, Abhinav Upadhyay wrote:
> I also have a toggle key on the laptop (with an LED to indicate
> whether the card is on or off) but it doesn't work once NetBSD boots
> (the LED remains in off state).
> 
> How can I fix this or help in fixing it?

My key only works for on (default, may be configurable in the bios?)
to off transistions once. I guess the key should be handled via acpi,
but I never looked at details.

You can check the files in sys/dev/acpi how they handle vendor specific
buttons (thinkpad_acpi.c has some for example).

Martin


Re: athn(4) Not working with Atheros AR5B95-H

2016-05-27 Thread Abhinav Upadhyay
On Tue, May 24, 2016 at 10:51 PM, Martin Husemann  wrote:
> On Tue, May 24, 2016 at 10:25:53PM +0530, Abhinav Upadhyay wrote:
>> athn0: radio is disabled by hardware switch
>> athn0: unable to reset hardware; reset status 1
>>
>> Is this a driver issue?
>
> Probably - on my machine this is the reaction to pressing the wlan toggle,
> but default is "on", so at boot everything just works for me.

I also have a toggle key on the laptop (with an LED to indicate
whether the card is on or off) but it doesn't work once NetBSD boots
(the LED remains in off state).

How can I fix this or help in fixing it?

-
Abhinav