Re: Convert Windows driver via ndisgen

2010-04-29 Thread Paul B Mahol
On Thu, Apr 29, 2010 at 12:13 PM, Jerry  wrote:
> On Thu, 29 Apr 2010 11:36:35 +
> Paul  articulated:
>
>> On Thu, Apr 29, 2010 at 11:00 AM, Jerry 
>> wrote:
>> > Apparently, FreeBSD does not have a driver for a Linksys WUSB600N
>> > network adapter. I was thinking of using the ndisgen utility to
>> > create a driver via the WinXP version. I have three questions.
>> >
>> > 1) The WinXP driver was for an x386 machine. I have a
>> > FreeBSD-8/amd64 PC. From man NDIS(4):
>> >
>> > "Note that this means the ndis driver is only useful on x86
>> > machines."
>> >
>> > Am I therefore to assume that even if I do convert the Windows
>> > Driver to FreeBSD form, it will not work?
>>
>> You can not use 32bit driver on 64bit OS, NDISulator will panic (I
>> have patch for that if anybody is interested in comitting it).
>
> OK, suppose I get the 64bit Windows driver. Could I convert that to one
> FreeBSD could use?
Yes, but note that NDISulator have problems on amd64 with some drivers.
>
> Why can't you submit the patch yourself?
http://gitorious.org/NDISulator

>> >
>> > 2) If I do successfully extract the driver, is there any way that I
>> > can have it compiled directly into the kernel as opposed to having
>> > it loaded via kldload?
>>
>> It is possible but not practical.
>
> Why? It would seem like a natural extension of the entire process.
___
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: Convert Windows driver via ndisgen

2010-04-29 Thread Warren Block

On Thu, 29 Apr 2010, Jerry wrote:


Apparently, FreeBSD does not have a driver for a Linksys WUSB600N
network adapter.


If it has an RT2870 chipset, there's been some work:
http://forums.freebsd.org/showthread.php?t=7010

-Warren Block * Rapid City, South Dakota USA
___
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: Convert Windows driver via ndisgen

2010-04-29 Thread Jerry
On Thu, 29 Apr 2010 11:36:35 +
Paul  articulated:

> On Thu, Apr 29, 2010 at 11:00 AM, Jerry 
> wrote:
> > Apparently, FreeBSD does not have a driver for a Linksys WUSB600N
> > network adapter. I was thinking of using the ndisgen utility to
> > create a driver via the WinXP version. I have three questions.
> >
> > 1) The WinXP driver was for an x386 machine. I have a
> > FreeBSD-8/amd64 PC. From man NDIS(4):
> >
> > "Note that this means the ndis driver is only useful on x86
> > machines."
> >
> > Am I therefore to assume that even if I do convert the Windows
> > Driver to FreeBSD form, it will not work?
> 
> You can not use 32bit driver on 64bit OS, NDISulator will panic (I
> have patch for that if anybody is interested in comitting it).

OK, suppose I get the 64bit Windows driver. Could I convert that to one
FreeBSD could use?

Why can't you submit the patch yourself?

> >
> > 2) If I do successfully extract the driver, is there any way that I
> > can have it compiled directly into the kernel as opposed to having
> > it loaded via kldload?
> 
> It is possible but not practical.

Why? It would seem like a natural extension of the entire process.

-- 
Jerry
freebsd.u...@seibercom.net

Disclaimer: off-list followups get on-list replies or get ignored.
Please do not ignore the Reply-To header.
__

How wonderful opera would be if there were no singers.
___
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: Convert Windows driver via ndisgen

2010-04-29 Thread Paul B Mahol
On Thu, Apr 29, 2010 at 11:00 AM, Jerry  wrote:
> Apparently, FreeBSD does not have a driver for a Linksys WUSB600N
> network adapter. I was thinking of using the ndisgen utility to create
> a driver via the WinXP version. I have three questions.
>
> 1) The WinXP driver was for an x386 machine. I have a FreeBSD-8/amd64
> PC. From man NDIS(4):
>
> "Note that this means the ndis driver is only useful on x86 machines."
>
> Am I therefore to assume that even if I do convert the Windows Driver
> to FreeBSD form, it will not work?

You can not use 32bit driver on 64bit OS, NDISulator will panic (I
have patch for that if anybody is interested in comitting it).
>
> 2) If I do successfully extract the driver, is there any way that I can
> have it compiled directly into the kernel as opposed to having it
> loaded via kldload?

It is possible but not practical.

> 3) Is there any list that I could contact to request a driver for this
> device. Since I have the device, I would be happy to work with someone
> who actually knows how to write a drive since I don't posess those
> skills.
___
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"


Convert Windows driver via ndisgen

2010-04-29 Thread Jerry
Apparently, FreeBSD does not have a driver for a Linksys WUSB600N
network adapter. I was thinking of using the ndisgen utility to create
a driver via the WinXP version. I have three questions.

1) The WinXP driver was for an x386 machine. I have a FreeBSD-8/amd64
PC. From man NDIS(4):

"Note that this means the ndis driver is only useful on x86 machines."

Am I therefore to assume that even if I do convert the Windows Driver
to FreeBSD form, it will not work?

2) If I do successfully extract the driver, is there any way that I can
have it compiled directly into the kernel as opposed to having it
loaded via kldload?

3) Is there any list that I could contact to request a driver for this
device. Since I have the device, I would be happy to work with someone
who actually knows how to write a drive since I don't posess those
skills.

-- 
Jerry
freebsd.u...@seibercom.net

Disclaimer: off-list followups get on-list replies or get ignored.
Please do not ignore the Reply-To header.
__

___
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"