ndiswrapper shows hardware, but iwconfig shows no device
Linux - HardwareThis forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
The chipset above is from lspci, thats the card im attempting to get working now. I have installed the drivers with ndiswrapper and here is some output from ndiswrapper:
[root@localhost Desktop]# cat /etc/modprobe.conf
alias eth0 via-rhine
alias snd-card-0 snd-via82xx
options snd-card-0 index=0
install snd-via82xx /sbin/modprobe --ignore-install snd-via82xx && /usr/sbin/alsactl restore >/dev/null 2>&1 || :
remove snd-via82xx { /usr/sbin/alsactl store >/dev/null 2>&1 || : ; }; /sbin/modprobe -r --ignore-remove snd-via82xx
alias usb-controller ehci-hcd
alias usb-controller1 uhci-hcd
alias wlan0 ndiswrapper
[root@localhost Desktop]# iwconfig
lo no wireless extensions.
eth0 no wireless extensions.
sit0 no wireless extensions.
[root@localhost Desktop]#
---end copy---
Here is some of my kernel messages about ndiswrapper:
---start copy---
ndiswrapper version 1.11 loaded (preempt=no,smp=no)
ndiswrapper: driver bcmwl5 (Broadcom,12/22/2004, 3.100.46.0) loaded
ACPI: PCI interrupt 0000:00:0e.0[A]: no GSI
PCI: Unable to reserve mem region #1:2000@10004000 for device 0000:00:0e.0
ndiswrapper (start_pdo:314): couldn't request PCI regions: fffffff0
ndiswrapper: probe of 0000:00:0e.0 failed with error -22
---end copy---
Anyone have any ideas? In all honesty, i think it should be working, but it is not showing up and the problem seems to be with the way ndiswrapper is interfacing with the intergrated wireless device? Let me know!
Distribution: elive,sidux,xp,pclinuxos super gamer, mandriva 2007
Posts: 417
Rep:
This from ndiswrapper faq "If you get probe of XXXX:YY.ZZ.A failed with error -22, you may have IRQ problems or it might be a USB driver problem. If you have problems with IRQ assignment the kernel couldn't assign IRQ for the wireless card, you can find out which IRQ ndiswrapper is trying to use and release that IRQ find out which other device is using it with cat /proc/interrupts. You may want to use ACPI and configure BIOS to assign IRQs using ACPI. If it's a USB driver problem there are known issues with high speed USB and ndiswrapper, module under 2.6 is called ehci_hcd, try modprobe --remove ehci_hcd and then reload the ndiswrapper module, that's worked for some people.
This from ndiswrapper faq "If you get probe of XXXX:YY.ZZ.A failed with error -22, you may have IRQ problems or it might be a USB driver problem. If you have problems with IRQ assignment the kernel couldn't assign IRQ for the wireless card, you can find out which IRQ ndiswrapper is trying to use and release that IRQ find out which other device is using it with cat /proc/interrupts. You may want to use ACPI and configure BIOS to assign IRQs using ACPI. If it's a USB driver problem there are known issues with high speed USB and ndiswrapper, module under 2.6 is called ehci_hcd, try modprobe --remove ehci_hcd and then reload the ndiswrapper module, that's worked for some people.
Thanks for that, i tried removing the ehci_hcd and just about every other hardware module that is loaded on the system that isn't system critical. For some reason, ndiswrapper *was* attempting to call out to irq0. To fix that issue, i gave the boot-time options:
pci=biosirq acpi=noirq
Now i get:
No IrQ known for interrupt pin A of device 0000:00:0e.o.
unable to reserve mem region #1:2000@10004000 for device 0000:00:0e.0
couldn't request PCI regions: fffffff0
probe of 0000:00:0e.0 failed with error -22
--------------------------------------
Some more information that may help trouble shoot is that:
The bios does not let me change the way IRQ's are handed out. Disabling anyhardware does not help in this situation. I tried the boot time options pci=biosira and acpi=noirq both togther and seperate to no avail.
At the present im searching the mailing list archives for ndiswrapper as well as their wiki. I can not seem to find a way to tell ndiswrapper not to try for irq0.
If you have any help, again it will be gracefully accecpted.
Basicly, the CentOS4.2 precompiled kernel had some bugs in it, when it comes to the gateway MX3225 model laptop. What i wound up doing is installing the vanilla kernel from kernel.org. After that, everything worked, 3d accelleration, cardbus/pcmcia, hardware sound button, the works.
I can't tell exactly what went wrong w/ the kernel, if anyone needs it or is interested i can post the diff --side-by-side of the kernel config files, but i don't want to waste time with it at the moment.
In regards to the bios question, gateway gives you a VERY limited bios, i couldn't disable the cdrom, harddrive(both IDE channels). The most i could do was disable the modem/wired lan/change the shared video mem. I hate gateway. But the laptop was the right price and i got everything working.
I am having an issue w/ fluxbox, if i can't figure that out later today, ill post on that. Thanks for pointing me in the right direction to make this work.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.