Good to hear that you have got one working at least. This seems to be quite a lottery, even if the adapters appear to be supported in the firmware packages.
For voltage measurement I was using TP1 and TP2 on the Pi board itself, although for ease of access I have fitted my "Slice Of Pi" GPIO board which gives good access to the Gnd, 3v3 and 5v0 points.
Ah, cool that you have that board. I remember seeing it when looking at the eLinux wiki. I did bring a DMM today, couple different USB power adapters including a 2.1A, different micro USB cables, and different keyboards. Hoping to rule out power issues for the smsc kernel errors with RTL8187 adapters attached.
BTW, I've found WikiDevi very useful in tracking down different revisions of a given adapter for example:
I gave another shot at cross compiling last night. There is additional instructions on http://elinux.org/Rpi_kernel_compilation now as to how to create the kernel image for the boot partition. Today, I'm going to copy that new kernel image and the new /lib/modules to my Debian 2012-04-13 SD card and try to boot. Also, the driver I'm after right now is r8712u which also required my to add CONFIG_STAGING (iirc) to 'y' in kernel config.
If I can get over the hump of getting a kernel and modules I've compiled to work, then I think the drivers issue will be much less.
Good stuff with the kernel compilation, presuambly that will give the missing kernel headers...
I have started fresh now.
New debian image, clean power supply and my hub appears to have died... oh well it was cheap anyway.
Good news is... i have managed to get Wi-Fi workign properly now! Woo Hoo!
I am using the ZyXEL NWD2105 and using the drivers from: $ sudo aptitude -t squeeze-backports install firmware-realtek
I then installed wicd.
Popped into LXDE to configure wicd with my WPA PSK and set to default, then chose "Connect" and it worked!
Unplugged the Ethernet cable, rebooted and away it goes. Superb.
It does take a few seconds after a reboot before it picks up the wifi network but still, that's fine with me.
I did notice a couple of glitches on my keyboard now. This could be interference as it is a Logitech k400 2.4GHz wireless jobby, but according to the specs, the NWD2105 can take 300mA while transmitting and 160mA receiving, so it is probably close to the limit on the polyfuses. What I really need now is a powered hub...
That's great to hear! I'm tempted to pick one up. Could you paste the USB ID from lsusb?
Interesting notes on the current consumption during RX and TX. I'm still trying to fully understand the power situation on the Pi. Looking back at PeteL's Q & A (http://www.raspberrypi.org/archives/837), he stated "The fuses kick in hard around 280mA and fold back and limit to 140mA." So I'm wondering what happens if a WiFi adapter tries to try 300mA.
BTW, I finally got my own kernel to boot and got the r8712u driver loaded Here's instructions I followed: http://www.element14.com/community/docs/DOC-44948/l/compiling-linux-kernel-staging-driver-modules
That's great news on the compilation, well done. I will have to see if I can follow the instructions myself now.
As for the ZyXEL WiFi, from a power perspective, it really does need to be run from a powered hub and I think. The Pi feels like it is really straining to keep things running. I added a basic 4 port non-powered hub just to see if I could put some distance between the WiFi and my Logitech receiver and the extra power taken by the non-powered hub, tipped it over the edge.
The output from lsusb for the ZyXEL NWD2105 is:
Bus 001 Device 004: ID 0586:341e ZyXEL Communications Corp.
Here is where I got mine from:
It is not as small as the Edimax EW7811Un, but at least it is working without compiling the drivers.
That's a nice find - pretty cheap on Amazon, too. Looks like this is it's entry on WikiDevi: http://wikidevi.com/wiki/ZyXEL_NWD2105. You should add to the eLinux wiki page: http://elinux.org/RPi_VerifiedPeripherals#USB_WiFi_Adapters
Interesting to hear your feedback on powered hub. I'm still trying to figure if the RTL8187 adapter problem is power or driver related. But at least got two working ones now with the r8712u driver
BTW, on that document I created, I attached the kernel image and /lib/modules zip archive which you should be able to use if the driver you need is in the raspberrypi github v3.1.9+ kernel source.
I have downloaded the source but havn't had time to do any digging around with it yet.
I bought a new powered hub to replace the one that went pop. I got a small 4-port Belkin hub. It came with a 2.5 Amp PSU but I am not using that. I have my own supply which I am using with a Y lead and that seems to give me a consistent 5v on the Pi, whereas using the Belkin PSU with the Pi power coming from the hub seemed to dip down to 4.8v again.
Another discovery I have made which could be quite important, is that I cannot get the ZyXEL adapter to work when running through an external hub. It is recognised by lsusb, but dmesg throws up all sorts of DEBUG errors and hangs the system. As soon as I put it in one of the Pi USB ports, it works a treat.
This seems to work fine now though, because the Belkin Hub is running everything else fine, and no stability issues so far.
I might re-visit the Edimax adapter with it plugged directly into the Pi.
Have you noticed anything like this? Do your WiFi adapters work when plugged into an external hub?
I believe the two I have working so far (with r8712u driver) do work from the external hub... but my memory is a little clouded by my ongoing attempts with other adapters. I'll test to see tomorrow. Interesting to hear about your setup - offloading everything else to the hub.
FYI - user ajtag looks to have gotten rtl8192cu working:
I think that is what you need for your other adapter, right?
Well, thanks for asking that question about the hub! So I noticed that Asus N10, Asus N13 and IOGear GWU625 all worked ok from the hub but only if the keyboard was plugged into the Pi directly and not the hub. When keyboard was in hub, too, I would get smsc95xx register error in kernel log. Rather odd I thought, and my TP1/TP2 voltage is stable at 5.15V throughout.
So I happened to check what would happen with no keyboard and just SSH. Well, low and behold, my RTL8187-based Trendnet TEW-424UB started working! There were only the same model Levono kb (04b3:301b IBM Corp. SK-8815 Keyboard) in the office, but I did have an old PS/2 keyboard with a PS/2 to USB converter (09ae:0002 Tripplite R0.74 USB to PS2 adapter). The RTL8187 driver kept working with that kb plugged in. Goodness gracious - not sure why I waited so long to try another keyboard!
Thanks for the heads-up on the 8192cu. Looks like he has included the drivers he compiled too. I will give them a try when I get a chance, but looking at some other stuff at present.
Looks like the new debian image on the .org website now includes the kernel headers, so in theory I should be able to compile my own now too.
So much to try and do and so little spare time...
Interesting about your results with the hub and keyboards. I am not sure what the pattern is, but it suggests that there is still plenty of trail and error.
You're right about trial and error! I had been testing with Debian from the console via wicd-curses. I finally & launched LXDE today and attached a mouse to discover my IOGear GWU625 wifi adapter (r8712u driver) stopped working and smsc95xx register read/write errors started occurring. I've tried two different wired USB mice and different permutations of connections, via powered hub and also direct. Regardless, wifi adapter fails when all 3 (kb, mouse, wifi) are connected.
For LXDE in Debian, you were using ZyXEL plugged in directly with keyboard & mouse connected to unpowered hub, right?
I didn't have any joy when using my WiFi with an unpowered hub at all. Not even when the ZyXEL was direct into the Pi and the keyboard was into the hub.
What I have working is my ZyXEL direct into the Pi and the keyboard and mouse into a (now Belkin) powered hub with my custom power supply and Y lead. I made a Y lead so the Pi power and hub come on and go off together, but the Pi power is not drawn through the hub. This seems to keep the voltage more stable when the WiFi has cranked up the power.
I have been trying to get my WLAN adapter working on the Pi and it would seem I need to compile the drivers.
From what I can tell though, the kernel headers are not installed.
I have tried
$ sudo apt-get install linux-headers-$(uname -r)
but I just get
E: Unable to locate package linux-headers-3.1.9
E: Couldn't find any package by regex 'linux-headers-3.1.9'
I guess this version is unique to the Pi and what I need is probably in here somewhere:
But as a linux noob, I have no idea what I need, or what to do with it?
I think there are already others with the same problem and I guess there will be many more soon.
Could anyone provide a "Noddy" guide on this?