John Stumbles wrote:
> Torbjörn Svensson wrote:
>> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
>> John Stumbles wrote:
>> | but at the point the error occurs the code is trying to parse an `ls
>> | -l` not an `lspci` (though Pontius' inference that I don't have lspci
>> | installed on my machine is correct (ndiswrapper 0.8 for Ralink 2500 on
>> | Mdk 10.0)
>> What's the error then?
> same as that I quoted from the original poster:
>>> On Wed, 2004-06-16 at 11:26, JÃ¤hne,_Marcel wrote:
>>>> If i install a driver by ndiswrapper -i <driver> it seems all is
>>>> ok. But if i type the command "ndiswrapper -l" to see if the
>>>> driver was installed, it brings following error :
>>>> Can"t use string ("") as an ARRAY ref while "strict refs" in
>>>> use at /usr/sbin/ndiswrapper line 324, <LS2> line 1.
> My point was that Pontus Fuchs' explanation that the error was an
> indirect result of 'lspci' not being on the system doesn't seem to tally
> with the actual code which is processing the output of an 'ls' not an
> 'lspci' at the time the error occurs.
OK, I understand now (I think :-)
sub getPresentCards uses lspci to populate the array @cards of hashrefs
of vendor codes etc, so when lspci isn't present this structure isn't
filled, resulting in the error.
>> | Another slightly peripheral Q: what is lspci and can/should (and
>> where | can) I get it for my system?
>> It's a kerneltool to list all your pci-hardware. You can get it from
>> your mdk mirror, that package is called 'pciutils' IIRC.
yup, on install disk 1 when I asked rpmdrake
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .