Mailing List os2-wireless_users@2rosenthals.com Archived Message #6625

From: "Thomas Dennis" <os2-wireless_users@2rosenthals.com> Full Headers
Undecoded message
Subject: Re: [OS2Wireless] GenMac driver
Date: Wed, 24 Feb 2010 13:43:40 +0100
To: OS/2 Wireless Users Mailing List <os2-wireless_users@2rosenthals.com>

Thomas Dennis wrote:
Lewis G Rosenthal wrote:
On 02/23/10 07:35 pm, Thomas Dennis thus wrote :
Lewis G Rosenthal wrote:
Sorry for the delay; turning out to be a busy day...

On 02/22/10 12:47 pm, Thomas Dennis thus wrote :
Lewis G Rosenthal wrote:
Hi, Thomas...

Thomas Dennis wrote:
Lewis G Rosenthal wrote:


On 02/21/10 03:32 am, Thomas Dennis thus wrote :
Hi All:
I must have done something right because I now get the
GenMac Sign-on message.  But there is a small detail that
I haven't been able to correct.
And that's a green blinking notice that:
"No valid hardware found for (WRND32$)"
<snip>
What is this section in the PROTOCOL.ini [W8086x4224_NIF]
designed for. It looks like it would be something for an Intel chip.
I have no such entry in my PROTOCOL.ini.
Nor should you. Indeed, that is the entry for *my* Intel chip. Yours will be something like [W168Cx001C_NIF] for an Atheros AR5008, for example.
Is that due to the fact that the Chip Set in the D-Link
card is from Atheros?
Yes. The 168C is the manufacturer code, and the 001C is the model code. Put them together (168C:001C) and you have a PCI ID string. Each PCI device has a (hopefully) unique ID string.
<snip>
Because our cards are different. These refer to the filenames of the Windows driver files located in the wrapper directory.
From where do these two entries originate?
If my understanding is correct than these two files should
be in x:\IBMCOM\MACS but these files aren't there.
No. Only the GenMAC nif and GENM32W.OS2 driver will be there. The wrapper files stay under the GenMAC tree.

Your wrapper nif is also incorrect. Under the FILE section, it should read:

[FILE]
Name = GENM32W.OS2
Path = IBMCOM\MACS

<snip>
Or are these two from Windows?
Yes. You need to put them in your wrapper directory.
<snip>
 
The Windows drivers for the D-Link/AR5008 card are
"ar5416.sys" and "net5416.inf".
So I see. You still have an error in your PROTOCOL.INI file:

[W168CX001C]

  DriverName = WRND32$
  VENDOR = 0x168C
  DEVICE = 0x001C
  NDIS_SYS = "ar5416.sys"
  NDIS_INF = "net5416.nif"
  SSID = "ANY"
  DEBUGLEVEL = "NONE"
  OPTIONS = "UNSUPPORTED"

The section name should correspond to what's up at the top, so it should be:

[W168CX001C_NIF]

This is why you should probably have put the files in place and let MPTS edit the file for you. No matter; it should be right when you make this change (unless someone else on the list has picked up on something I missed?)...

The nif looks fine.
Question.
Where should I put these files so the program can
find them?

I thought I covered this in my presentation, but perhaps I didn't create a slide for it... Anyway, follow along:

To answer your previous question (and then this one, by extension), somewhere on your drive, you have a "genmac" directory. This is either under the root of your boot drive or under \ecs\system. Starting from there, you should have a directory tree (what I referred to earlier as the "GenMAC tree") which looks like this:

genmac\
   bin\
   driver\
      WRAPPER_168C_001C\ <- you need to create this (obviously without the trailing "\"!); this is the wrapper directory
   inf\
   nif\

Copy the Win32 driver & inf to the newly created genmac\driver\WRAPPER_168C_001C directory. Copy the nif you edited into the nif directory (and your \IBMCOM\PROTOCOL\MACS directory, if you like).

Your CONFIG.SYS should be ready to go, as GENM32W.OS2 will pick up the Win32 driver it is supposed to load from the entries in PROTOCOL.INI.

Remember that there is NO GUARANTY that this will work. I do not know of anyone who has tried the AR5008 chipset, so we're all anxiously awaiting news.

GL
Lewis:
When you have the time, check the two files for errors.  I think everything has been corrected and they are now
the way they should be.  But who knows.  I'm only human.
First, I'm assuming that you have confirmed via pci.exe that 0023 is indeed your device ID.

In the nif, the section:

[DEVICE]
Display = "0023"
Type = Hexadecimal
Range = 0-FFFF
Optional = UNSUPPORTED
Editable = NO
Default  = 0023
Help= "Device-ID of your NIC"

should read:

[DEVICE]
Display = "0023"
Type = Hexadecimal
Range = 0-FFFF
Optional = NO
Editable = NO
Default  = 0023
Help= "Device-ID of your NIC"

and the section:

[OPTIONS]
Display = "Wrapper Options"
Type = String
StrLength = 64
Default = "NONE"
Optional = YES
Editable = YES
Help= "You need to provide the OPTIONS."

should more properly read (unless you were to edit your PROTOCOL.INI manually):

[OPTIONS]
Display = "Wrapper Options"
Type = String
StrLength = 64
Default = "UNSUPPORTED"
Optional = YES
Editable = YES
Help= "You need to provide the OPTIONS."

PROTOCOL.INI looks like it makes sense.
I went looking for the MACS folder at \IBMCOM\PROTOCOL but it doesn't seem to be at that location.
It's at \IBMCOM\MACS.  Is this an error?

My error. The IBMCOM tree should look like this:

\IBMCOM\
   \DLL\
   \MACS\
   \PROTOCOL\

MAC drivers (network devices) and nifs go under MACS. Protocol drivers (TCP/IP, NetBIOS, ODI2NDI, etc.) and their related nifs go under PROTOCOL.

Lewis:
Yes, have confirmed in two places that that this D-Link card uses the
168C:0023 value.  By the PCI snooper and in the Win Registry.

We have come another step forward.
Under the GenMacs sign-on message when booting we now have the following:

Loaded for device : Unsupported DEVICE!!!  [168C:0023]  (WRND32$)

I think that means that the s/w is now able to use the W168Cx0023.nif and
the PROTOCOL.ini files and that they are probably as good as you are going
to get them.
The .ini and the .nif files both contain the date and the time which they
were last updated.
The Win .sys and .inf files are from Win2k.

Thomas
------------------------------------------------------------------------

=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
This message is sent to you because you are subscribed to
  the mailing list <os2-wireless_users@2rosenthals.com>.
To unsubscribe, E-mail to: <os2-wireless_users-off@2rosenthals.com>
To switch to the DIGEST mode, E-mail to <os2-wireless_users-digest@2rosenthals.com>
To switch to the INDEX mode, E-mail to <os2-wireless_users-index@2rosenthals.com>
Send administrative queries to  <os2-wireless_users-request@2rosenthals.com>
To subscribe (new addresses), E-mail to: <os2-wireless_users-on@2rosenthals.com> and reply to the confirmation email.
Web archives are publicly available at: http://lists.2rosenthals.com

This list is hosted by Rosenthal & Rosenthal, LLC
P.O. Box 281, Deer Park, NY 11729-0281. Non-
electronic communications related to content
contained in these messages should be directed
to the above address. (CAN-SPAM Act of 2003)

=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=

Lewis:
I'm sorry, but I copied the wrong .nif file. Here is the correct one.

Thomas
24 Feb 2010  12:48pm

[W168Cx0023]
Type = NDIS
Title =  "GenMac Wrapper Atheros Wlan CARDBUS [168C:0023]"
Version = 1.0
DriverName = WRND32$
Xports = NETBEUI, LANDD
CopyFile = GENM32M.MSG

[FILE]
Name = GENM32W.OS2
Path = IBMCOM\MACS

[VENDOR]
Display = "168C"
Type = Hexadecimal
Range = 0-FFFF
Optional = NO
Editable = NO
Default  = 168C
Help= "Vendor-ID of your NIC"

[DEVICE]
Display = "0023"
Type = Hexadecimal
Range = 0-FFFF
Optional = NO
Editable = NO
Default  = 0023
Help= "Device-ID of your NIC"

[NDIS_SYS]
Display = "Windows SYS-Filename"
Type = String
StrLength = 32
Default = "A3AB.SYS"
Optional = YES
Editable = YES
Help= "You should not modify this value."

[NDIS_INF]
Display = "Windows INF-Filename"
Type = String
StrLength = 32
Default = "NET5426.inf"
Optional = YES
Editable = YES
Help= "You should not modify this value."

[SSID]
Display = "Network Name (SSID)"
Type = String
StrLength = 32
Default = "WLAN"
Optional = YES
Editable = YES
Help= "You need to provide the Service Set ID of your Wireless LAN."

[DEBUGLEVEL]
Display = "Debuglevel"
Type = String
StrLength = 64
Default = "NONE"
Optional = YES
Editable = YES
Help= "You need to provide the DEBUGLEVELS."

[OPTIONS]
Display = "Wrapper Options"
Type = String
StrLength = 64
Default = "UNSUPPORTED"
Optional = YES
Editable = YES
Help= "You need to provide the OPTIONS."

Subscribe: Feed, Digest, Index.
Unsubscribe
Mail to ListMaster