![]() |
Nokia N900 + Ethernet (via USB-RJ45 adapter)
I search but not find this (maybe don't look well), anyway.
Here the video. Nokia N900 + Ethernet (via USB-RJ45 adapter) Grettings. |
Re: Nokia N900 + Ethernet (via USB-RJ45 adapter)
This looks handy, almost like having a Fluke of my very own
|
Re: Nokia N900 + Ethernet (via USB-RJ45 adapter)
looks just simply amazing!
|
Re: Nokia N900 + Ethernet (via USB-RJ45 adapter)
Quote:
|
Re: Nokia N900 + Ethernet (via USB-RJ45 adapter)
Do you have course? if you have it,could you give me or write down on the website.
|
Re: Nokia N900 + Ethernet (via USB-RJ45 adapter)
Excuse me for bumping this but does the kernel include the necessary drivers for USB-RJ45 adapters or do I need to compile my own driver?
|
Re: Nokia N900 + Ethernet (via USB-RJ45 adapter)
Depends on the make/model of the USB Ethernet adapter. Some (like the Belkin Gigabit I have) have the necessary drivers already in the kernel, some don't. I'm not sure of a 'compatibility list' anywhere, unfortunately.
http://talk.maemo.org/showthread.php...941#post883941 |
Re: Nokia N900 + Ethernet (via USB-RJ45 adapter)
Report to work ok .
I tried myself but some settings must be done manually ( @ dhcp ) . http://www.gmb.nl/default.aspx?op=pr...2=item&id=5027 this have ASIX chipset and driver is included in powerkernel46 |
Re: Nokia N900 + Ethernet (via USB-RJ45 adapter)
Just one more ok! report :)
Working out-of-the-box http://www.edimax.com/en/support_det...id=5&pl2_id=26 Thank you all for making this possible. I know some of you were working hard...no point in naming you all, list would be too big. Don't know what else to say other than RESPECT! |
Re: Nokia N900 + Ethernet (via USB-RJ45 adapter)
I had a problem with USB NIC before.
I have created wiki: http://wiki.maemo.org/N900_Hardware_...tibile_devices Please submit your USB NIC status there. |
Re: Nokia N900 + Ethernet (via USB-RJ45 adapter)
I'll tell you something other than that is really cool... loading of webpages is much faster using USB ethernet...
|
Re: Nokia N900 + Ethernet (via USB-RJ45 adapter)
Quote:
|
Re: Nokia N900 + Ethernet (via USB-RJ45 adapter)
In case someone is interested, here is a post listing some ASIX chipset USB adapter:
http://www.wodejukebox.org/viewtopic...=2633&start=90 Cheers, |
Re: Nokia N900 + Ethernet (via USB-RJ45 adapter)
I tested my alink usb-eth adapter heres what i get, could this work?
Code:
Nokia-N900:~# dmesg | grep usb Code:
Nokia-N900:~# udhcpc |
Re: Nokia N900 + Ethernet (via USB-RJ45 adapter)
Quote:
|
Re: Nokia N900 + Ethernet (via USB-RJ45 adapter)
I got this one:
http://trendnet.com/products/proddet...=280_TU2-ET100 It works "out of the box" (note my N900 setup in my signature, though). However: a) on one network, I got the same "bogus packet" messages with udhcpc. b) on another network, it works fine at first, but it seems that after a while the web browsers (microb and Opera) "forget" that they are connected, and never download the requested page; ping and wget from XTerminal still work. Also, turning on the online accounts in My Availability causes the N900 to connect to the default network (3G); this is even before the web browser problem sets in. c) power consumption: the dongle runs pretty warm (though it can still be held) and will drain a full N900 battery in roughly an hour. The declared consumption is 178 mA. |
Re: Nokia N900 + Ethernet (via USB-RJ45 adapter)
|
Re: Nokia N900 + Ethernet (via USB-RJ45 adapter)
I tried to get this working a few years ago, the need has past though though it would be nice to have the capacity when faced with a school or corporate network.
Post your how-to for N900 on the wiki page so others can try to replicate your success. |
Re: Nokia N900 + Ethernet (via USB-RJ45 adapter)
Ok, issue a) will hopefully be resolved with the new device. Note it has the same chipset as Trendnet's.
Issue b) was caused by the local network not having a DHCP server, so who knows where I was getting the DHCP packets from, and what was in them. I tried on a third LAN then, and it worked, except again I had issues a) and b). Issue c) remains elusive. It seems here that Maemo applications dislike usb ethernet, so I am thinking of installing a dummy network as suggested there. Indeed, it seems like that would completely convince Maemo that I am connected to a network. Never done that, though. Tips, please? @biketool, yeah, I don't really need need it, but there is a coolness/nerdiness factor involved. Also, once you do need it, it will be too late to try to make it work. Quote:
|
Re: Nokia N900 + Ethernet (via USB-RJ45 adapter)
Update: I've received the Plugable USB 2.0 to Ethernet adapter. Note it has the same AX88772 chipset as the Trendnet adapter I had sent back.
The good news is that my N900 was able to recognize it and connect to the LAN. Also good is that it does not feel as hot as the Trendnet; note the Plugable has a larger plastic case. Unfortunately, the battery again drains in an hour, even if the N900 is left alone. I am considering several options: a) when not in use, disconnect the adapter from USB mode. However, this does not solve the problem of being unable to use the LAN for an hour at a time. b) the chipset has a suspend mode. However, I do not know how to utilize it. c) get a powered USB hub. Since we are connecting to the wall (RJ45) anyway, there is sure to be a wall socket nearby. Also, this has the additional advantage of powering other USB devices (mouse, keyboard). I'm not sure if it would allow for charging of the N900 as well ("USB host mode with charging" in USB mode). The disadvantage is that it's more cost and bulk. Also good is that I got it to work so that Maemo applications (such as the web browser, HAM, online accounts) now believe they are connected and no longer try to connect to 3G. I installed a dummy/null network (here is the link again). Note that I installed the null (not dummy) network, because only the lib for the dummy is in the repository. Also, the Dummy Network did not show after installing the lib (and rebooting), so I had to use the gconftool command line. The connection manager now shows a Dummy Network. I can connect to Dummy Network before or after connecting to the LAN (with udchpc), as long as it's before any Maemo applications are run. |
Re: Nokia N900 + Ethernet (via USB-RJ45 adapter)
Just a thought, I remember having a great 10baseT low power CF ethernet card good for several hours at least for my Linux Zaurus PDA. Since we cant really expect much more than 10Mb/S from our N900s maybe there is a lower power 10baseT USB NIC?
|
Re: Nokia N900 + Ethernet (via USB-RJ45 adapter)
Quote:
Looking around the web, I don't see any reviews mentioning power consumption being a problem, or evaluating it in any depth. So we still don't know what exactly is causing the drain; since that's the case, it's more difficult to begin to solve it. But yeah, one way to see if it's really the adapter that's to blame is to try a different adapter. Note that's what I did with Plugable vs. Trendent. But ordering and returning can only be done so many times. Ok, I'll see if I can try a third device, this time an older one. |
Re: Nokia N900 + Ethernet (via USB-RJ45 adapter)
RasberryPi owners are surely conscious of power consumption, that might produce some leads.
|
Re: Nokia N900 + Ethernet (via USB-RJ45 adapter)
Quote:
Note that consumption/drain data is relatively sketchy. It either works with a powered USB hub or it doesn't. E.g. they list my former Trendnet TU2-ET100 as working out of the box, but don't say for how long. |
Re: Nokia N900 + Ethernet (via USB-RJ45 adapter)
@chill
Perhaps you could obtain power from the ethernet cable via a POE device, e.g. this one on Amazon |
Re: Nokia N900 + Ethernet (via USB-RJ45 adapter)
Quote:
But let's think about PoE as an idea. Power would come from the Ethernet (PoE) for the N900 (note that USB-Ethernet adapters cannot be powered, or none that I know can). The N900 would then simultaneously power the USB-Ethernet adapter. The problem is, how do you make it so that both the USB-Ethernet adapter and the power cable (coming from the PoE) are plugged into the N900? |
Re: Nokia N900 + Ethernet (via USB-RJ45 adapter)
One possible solution would be to use the POE device to power a hub, to which both the ethernet adaptor and the N900 would be connected.
|
Re: Nokia N900 + Ethernet (via USB-RJ45 adapter)
I see. That's correct, but then you are looking at buying and maintaining three devices: PoE, USBEthernet adapter and USB hub. Given that the area where the N900 is deployed can be expected to have a wall socket (unlike where PoE is intended), this is probably not the best solution. A powered USB hub and USBEthernet adapter seems more reasonable.
|
Re: Nokia N900 + Ethernet (via USB-RJ45 adapter)
So if we're looking to reduce the number of devices to just one, we want a USB-Eth adapter that is externally powered. There aren't that many of them out there. There are a few brands carrying this one but the reviews complain about the quality of the plastic. Also, there is this one. Compatibility should be ok, because it is based on the Asix AX88760 chip, which Asix's web site says uses the same driver as the AX88772 (which the N900 with power kernel recognizes, as shown by my usage of the Trendnet and Plugable adapters). However, Syba says it will 1) only operate when the external power is on and 2) it will not charge the host (N900). Ideally we'd have 1) and 2) but I guess we can live without.
An alternative would be to get a powered USB hub and use it with the existing USBEth adapter. This way we'd get 1) and 2) in exchange for operating two devices. |
Re: Nokia N900 + Ethernet (via USB-RJ45 adapter)
if you want to determine what is causing massive power drainage while using usb-rj45 adapter, you may want to perform the same tests that I suggested in other thread:
http://talk.maemo.org/showpost.php?p...6&postcount=35 + do powertop tests. We should know if it's really the adapter draining too much power, or just device's CPU is active all the time + gods know whatsnot (or both). Although, from my experience, hostmoding anything - be it just keyboard or mouse - result in device drawing much more current than it "should" (i.e. we're able to give only 200 mA to device connected to USB, so if your full ~1200 mAh battery drains in one hour when using ethernet adapter, it means that adapter itself could eat as much as 200 mAh, and device is eating rest of 1000 mAh on it's own). Well, our hostmode implementation isn't a "reference one" - damn you Nokia for carrying about some stupid certification, and pulling out official hostmode support on the last moment. As a result, the fact that we have hostmode at all - even with it's speed limited by unknown reasons to under what's our WiFi offers, constant high-speed problems, and such - it's a miracle. /Estel |
Re: Nokia N900 + Ethernet (via USB-RJ45 adapter)
I found some usblan adapters with 120mA posted from RPI guys who had some problem with a kernel bug. So I dont know if they will work.
|
Re: Nokia N900 + Ethernet (via USB-RJ45 adapter)
The blue USB-eth one from that link with 120ma/h has a thread somewhere on TMO, I had one, the driver is not in KP.
|
Re: Nokia N900 + Ethernet (via USB-RJ45 adapter)
I never ever got that d*mn blue (but all colors available) DM9601 thing to work ... :mad:
|
Re: Nokia N900 + Ethernet (via USB-RJ45 adapter)
Once, I've asked Pali to include that driver (IIRC, it works, when compiled as a module). For some reason, Pali wasn't interested, until someone can work in a brain-dead patch for KP that would include it. He said that having it work as a loadable module is one thing, and having it released with KP is another, and would require much work.
Scratch it if I'm writing nonsense, I don't know anything about how integrating module in kernel works from theoretical point of view. /Estel |
Re: Nokia N900 + Ethernet (via USB-RJ45 adapter)
Quote:
So if it's indeed a miracle and it looks like nothing can be done to improve the situation consumption-wise, then I should proceed with the external power idea. To clarify, my plan is to power the USBEth adapter with a USB hub, or get the Syba adapter+hub thing, and put the N900 in "host with charging" mode. The N900 thus won't be putting out (big) current, so the battery won't drain. Additionally, I'd like to charge the N900 while I'm powering the USBEth adapter, but it's hard to tell if any given USB hub will charge the host that's attached to it. The Syba device will not, according to Syba. |
Re: Nokia N900 + Ethernet (via USB-RJ45 adapter)
Syba will not on it own, but everything - no matter if it want it or not - will charge N900 at the time of hostmoding, if you use USB Y-cable. Thanks to it, you connect +5V charging device (aka any_usb_charger) in parallel (with first USB device from N900 side, in this case, a network adapter or hub) to N900, and it is it.
This way, you can charger N900 while using any USB peripherial, even without hub, as long as N900 is able to give enough current to, at least, enumerate that device - because, you need to enumerate first and then, ONLY then, attach external power to Y-cable. Other way, enumeration will fail (no hardware risk, just no working connection). All things that require more than 200mA current to even enumerate (some external hard drives, for example) require powered hub, as those may have power attached before enumerating client. Hub is required too - obviously - if you want to use more than one device at the same time. I've got my small, ultra-lightweight powered hub for something like 2USD (charger not included, but hacking it to charge from any other 5V power source is a piece of cake), so it's rather feasible to just use one, and carry it alongside N900. /Estel |
Re: Nokia N900 + Ethernet (via USB-RJ45 adapter)
Quote:
But let me get this straight. You recommend using a Y-splitter USB cable and any_charger_cable to power the peripherals and, simultaneously, the N900. However, you are not using a Y-splitter yourself - you use a powered hub to charge the peripherals, which implies that the N900 is not simultaneously charged. Correct? Also, will the N900 be charged - no matter if it want it or not - even if the selected mode is not USB host+charging? Also, what do you mean by "it's rather feasible to just use one"? |
Re: Nokia N900 + Ethernet (via USB-RJ45 adapter)
Quote:
then, on the other end, I may have either device itself, or a powered or un-powered hub. In all those cases, I can charge N900 simultaneously, by plugging the "3th end" of Y-cable into power source, and selecting hostmode+charging. Hoever, this way you can't use peripherals, that require more than 200 mA current to even enumerate - because you may connect "3th end" of Y-cable (and select hostmode_charging) only after device got successfully connected, already. No device will enumerate, if +5V from external source is present already, you may connect it only AFTER you have device connected and visible by system (as stated in hostmode "manual"). For such cases (devices that draw more than 200 mA to even enumerate properly), USB hub is a must. It doesn't have anything to do with using Y-cable, you still need one for charging devices. BTW, powered USB hubs should *never* charge host device that they're connected to - if they do (I saw some that do), it is implementation fault. They shouldn't put current "upstream". Now, if your passive (non-powered) hub (or active one, which doesn't have charger connected, so act as a passive at the moment) follows specification strictly, it *won't* give more than 100 mA to connected peripherals. It is because passive hub is powered by other usb host (normally, up to 500 mA), so it reserver 100 mA for itself, and gives 100 mA for every of fours possible clients. Now, most hubs are internally manufactured to allow connecting of 4 peripherals, no matter, how many ports they have in reality. 7-port hubs have seven ports not incidentally - they're two hubs connected in series, internally. There are many passive hubs, that doesn't follow specifications strictly - and they will give every peripherals as much current as they need even in passive mode, as far as they got enough power from "upstream". Normally, they're worse choice (as they will flop if, for example, you connected them to PC, and 4x 500mA-requiring USB hard disks). Hoever, for N900, they're better, as they allow you to have the same functionality as powered hub, just by using Y-cable, as described earlier. In case you don't have such hub, you must use "officially" powered one. There are some, that act as powered when connected to charger, and as passive, otherwise. They're most flexible ones, and I would recommend those. Quote:
Quote:
That is why I've said it is feasible - as in practical, convenient, and not expensive - to carry a small hub with your N900 all the time, when you expect needing to do hostmode. /Estel // Edit To make thins easier to understand, here is the idea schematic: Code:
_________ |
Re: Nokia N900 + Ethernet (via USB-RJ45 adapter)
Good info again, thanks. I have a few small questions, if you don't mind, esp. after reading the threads about h-e-n and the likes:
Quote:
Not to doubt you, but could you point to the "manual"? I guess you mean no device will enumerate if external +5V is presented to the N900 while you're trying to enumerate. Quote:
Quote:
Quote:
So, bottom line, if you want to charge the N900 and be able to use >200mA peripherals, so you need a y-cable and a powered hub. Yes? Thanks esp. for the schematic. I personally will buy a y-cable because they are $2-5 only; even videos about making them recommend not doing it on your own unless you can't wait for the order to arrive. EDIT: To test my understanding of the matter, let me pose the following solution to the >200mA peripherals problem: You connect a y-cable to the N900. You connect a passive non-compliant hub to one of the branches. You start hostmode and enumerate the hub. Then you connect a charger to the other branch. Then you connect a >200mA peripheral to the hub. Logic: the charger gives >200mA to the peripheral via the y-cable and the non-compliant hub. The hub has already been enumerated so there is no more enumerating to be be done on the N900, which means there is no problem with the external +5V preventing enumerating. The hub enumerates the peripheral. The peripheral will enumerate and operate because it has sufficient current. Yes? No? |
Re: Nokia N900 + Ethernet (via USB-RJ45 adapter)
Quote:
Quote:
Quote:
Quote:
Quote:
Now, compliant hub in passive mode would allow client devices to get only 100 mA, so devices wanting more current wouldn't work, but hub itself wouldn't "die" due to low power (and, in case it have some devices connected, that require less than 100 mA - like mouse, keyboard, etc - they would still continue to work). But, it's all not entirely related to hostmoding on N900. I meant that - in funny twist - those non-compliant hubs are better for N900, as they try to give peripherals connected to them as much current as needed, and can draw those power from N900's side (which can be already "augmented" with power from 3th branch of Y-cable) - which mean that those passive hubs act entirely like active hubs, for all intents and purposes. But, to not complicate things, you can safely assume, that you need powered (aka active) hub, for everything that require more than 200 mA, for N900 hostmoding. Quote:
Of course, it doesn't hurt if you want to carry two power sources (one for charging N900, one for powering active hub). It is just less convenient, IMO. Quote:
a) I wanted to have it less bulky than ones sold b) I had all required parts and I'm cheap bastard, so paying few bucks wasn't required c) doing it myself, I was, at least, sure that it's properly shielded - N900's high-speed hostmode is picky enough, I wasn't in need for risk of any additional interferences. Quote:
Quote:
/Estel |
All times are GMT. The time now is 20:00. |
vBulletin® Version 3.8.8