1 2 Previous Next 28 Replies Latest reply: Apr 25, 2012 2:07 AM by Drew Fustini Go to original post RSS
  • 15. Re: Installing Kernel Headers on the Pi?
    GizmoB73

    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.

     

    Cheers

     

    Gary

  • 16. Re: Installing Kernel Headers on the Pi?
    Drew Fustini

    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:

     

    http://www.wikidevi.com/wiki/TRENDnet_TEW-424UB_v1

     

    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.

  • 17. Re: Installing Kernel Headers on the Pi?
    GizmoB73

    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...

  • 18. Re: Installing Kernel Headers on the Pi?
    Drew Fustini

    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.

     

    Thanks,

    Drew

  • 19. Re: Installing Kernel Headers on the Pi?
    Drew Fustini

    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

  • 20. Re: Installing Kernel Headers on the Pi?
    GizmoB73

    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:

     

    http://www.ebuyer.com/237221-zyxel-nwd2105-wireless-n150-micro-usb-adapter-91-005-353001b

     

    It is not as small as the Edimax EW7811Un, but at least it is working without compiling the drivers.

     

    Cheers

     

    Gary

  • 21. Re: Installing Kernel Headers on the Pi?
    Drew Fustini

    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.

  • 22. Re: Installing Kernel Headers on the Pi?
    GizmoB73

    Thanks Drew,

     

    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?

  • 23. Re: Installing Kernel Headers on the Pi?
    Drew Fustini

    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:

     

    http://www.raspberrypi.org/forum/troubleshooting/trying-to-get-an-rtl8188cus-wireless-usb-nic-working

     

    I think that is what you need for your other adapter, right?

  • 24. Re: Installing Kernel Headers on the Pi?
    Drew Fustini

    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 B015-000B015-000 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!

  • 25. Re: Installing Kernel Headers on the Pi?
    GizmoB73

    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.

  • 26. Re: Installing Kernel Headers on the Pi?
    Drew Fustini

    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?

  • 27. Re: Installing Kernel Headers on the Pi?
    GizmoB73

    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.

  • 28. Re: Installing Kernel Headers on the Pi?
    Drew Fustini

    Thanks for elaborating.  It's helpful to know that configuration is wokring.

1 2 Previous Next