Re: New thread, broadcom 802-11 related

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Monday 17 April 2006 07:08, Claude Jones wrote:
>On Mon April 17 2006 12:18 am, Gene Heskett wrote:
>> Next?  Surely there is a way to extract it and get the driver and
>> .inf file that ndiswrapper wants as an argument?
>
>Didn't you mention that you had Windows on that machine? If so, use
> the .inf file and driver from Windows

Yes, I've mounted that (another story over a beer sometime) and copied that whole dir over to /lib/firmware.  But ndiswrapper refuses to copy the file.  /usr/sbin/ndiswrapper is a script, with a slightly perlish flavor, and I've modified it a wee bit for testing purposes as follows:

    loadinf($inf);
    initStrings();
    parseVersion();
added line: copy("gene", "$confdir/$driver_name/$driver_name.test");
added line: print "copying $inf to $confdir/$driver_name/$driver_name.inf\n";
    copy("$inf", "$confdir/$driver_name/$driver_name.inf") or
      die "couldn't copy $inf";
    processPCIFuzz();

The added line works, I'd touched a file named gene in the /lib/firmware 
dir, and it is indeed copied to /etc/ndiswrapper/bcmw15 as bcmw15.test.

Here is a run of the modified script:
[root@diablo firmware]# ndiswrapper -i bcmw15.inf
Installing bcmw15
copying bcmw15.inf to /etc/ndiswrapper/bcmw15/bcmw15.inf
couldn't copy bcmw15.inf at /usr/sbin/ndiswrapper line 141.
[root@diablo firmware]# ls -l /etc/ndiswrapper/bcmw15
total 4
-rw-r--r-- 1 root root 0 Apr 17 21:00 bcmw15.test

So my zero length file was indeed copied and given a new name in
the process.  But the real bcmw15.inf is nearly 700k of binary.

More screwing around, pulling hair, yadday yadday.
cp from the shell reports it cannot stat bcmw15.inf if I try to
copy it, tried several times. I used mc to copy it to "gene".
ndiswrapper, with my mods above, copied it to bcmw15.test without
a hiccup.  I'm going to toss it to the author of ndiswrapper.

And I have a headache, my year old, almost $400 lawn mower spit 
parts out of the safety kill mechanism yesterday, and the shop
is trying to weasle out of doing warranty service on it, so I've
spent today digging like a rat terrier finding the bill of sale to
prove its still inside the 2 year warranty.  And I did find that
puppy, scanned it and blew it up to letter size to put a stop to
the BS on that subject.  It looks like a major teardown, 6.5hp
OHV Kawi engine.  Something in the valve gear I think.

>--
>Claude Jones
>Bluemont, VA, USA

-- 
Cheers, Gene
People having trouble with vz bouncing email to me should add the word
'online' between the 'verizon', and the dot which bypasses vz's
stupid bounce rules.  I do use spamassassin too. :-)
Yahoo.com and AOL/TW attorneys please note, additions to the above
message by Gene Heskett are:
Copyright 2006 by Maurice Eugene Heskett, all rights reserved.


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux