PDA

Bekijk de volledige versie : WL500g with 2 usb ports



speresh
07-09-2004, 04:11
Hi,

Looking at the FCC photos around USB jack and how it is connected to CPU of WL500G I see that it is identical to my Belkin F5D7230-4, thou on my router none of the components are placed on the PCB.
I was hoping that somebody with hardware skills could measure the resistor values of those four resistors next to the USB jack and post them here. I'm attaching a schema of the USB circuit of Belkin router.
Appreciate any help with adding USB to my router.

Thank you,

Sergiy

Oleg
07-09-2004, 08:31
Check the image. So,
R733, R734 should be 15 Ohms - they're R53&R54 on the ASUS board and coming from USB connector also they're attached in series with L16, L17 (but you can omit them as seems),

R723, R724 are pull-downs 15K - they're R54 and R53

C731 (CE2) - 330 uF, and there is also C73 100nF in parallel.

Also +5V comes via 0.75A fuse (F2).
Also, there is should pull-up register for USB_CNTRL line - R57, rated with 10K (this is very important, otherwise BCM4702 as seems will not use USB port).

Oleg
07-09-2004, 08:34
Another picture for second (unused) USB port - will help you to locate parts on your board
R97, R99 - 15K - pull-downs for USB2_N & USB2_P
R178 (not installed) should be 10K - pull-down to disable port (USB_CNTRL) - this should pulled-up to enable it.

Please make a hi-res image of your board.

speresh
08-09-2004, 20:01
Thank you Oleg,

This is even more then I was hoping for since I didn't even realize that a pull-up resistor has to be placed on the board in order to enable USB functionality. It seems that on Belkin it is R725. Can you confirm that these two lines that connect to pins B6 and C9 (thou I might be off a pin or two) are indeed USB lines? (Everything so far points to they are, but I thought I'd double check).
As for the second USB port, it would be nice to pull out this one as well, but that would be another project. I see some unpolulated pads on the board around the CPU, these are for resistors: R34, R37, R653, R654, R655, R659 - but it is hard to say where they connected to it.

Thanks again,
Sergiy

speresh
08-09-2004, 20:20
just thought I'd add some more info: the R725 seemed to be wired to the B8, and right next to it is a pull-down R889, which is connected to B7 - I wonder if this one has anything to do with USB?

Oleg
08-09-2004, 21:09
Belkin uses BCM4712, I've no idea of it pinout. BCM4702 uses pins P20,21,22 for usb1 and N20,21,22 for usb2.
You will probably need to check the reverse side of PCB.
There should be pull-downs for the USB2, but who knows. ;-)

gwl
23-10-2005, 20:39
Running "dmesg" on a wl500g, right after booting, shows this:
[...]
usb.c: registered new driver usbdevfs
usb.c: registered new driver hub
usb-ohci.c: USB OHCI at membase 0xb8004000, IRQ 2
usb-ohci.c: usb-00:04.0, PCI device 14e4:4715
usb.c: new USB bus registered, assigned bus number 1
hub.c: USB hub found
hub.c: 2 ports detected
[...]

so... does anyone know if the "2 ports detected" are _actually_ avaliable in the hardware... and if yes, is it possible to add second usb port to a wl500g?

thanks,
:rolleyes:

zerocrash
23-10-2005, 23:29
Hi,

If i'm right - there's a HOWTO-guide on this subject at the forum - somewhere...

Searching......... found 1 result...

http://wl500g.info/showthread.php?t=1779

I know that this guide is done at the 500g(X)-router - but if it's the same inside - it shouldn't be a problem - correct my anyone, if i'm wrong!

Otherwise, enjoy! :)

gwl
24-10-2005, 01:44
the wl500g and the wl500gx are different.... :)
the wl500gx has a custom USB chip that can handle usb2.0...

look at this picture...
http://wl500g.info/attachment.php?attachmentid=339&d=1109265320

in here the usb connectors link to a Via chip... that only exists in this version...

NOW, the problem is:
Can it be done on a WL500G? (which claims to have 2 usb ports!)

wtzm
24-10-2005, 06:51
I _guess_ that the second port can be used, but I'm not quite sure if the method works. (Haven't had time to try it.)
On my rev. 2.4 wl-500g there is a 15k resistor package (RN28) which seems to provide the necessary pull down to GND for the two USB Ports (each one has two differential signals - USB_N and USB_P, of course). Maybe it's enough to connect an USB socket to the two solder points (and +5V & GND of course).
605
Note: USB1 means USB - Port1 and USB2 means USB - Port 2.

gwl
24-10-2005, 15:35
humm.. .that's very interesting.. :)
if it works, then it means that we can connect a usb memory _inside_ the router, and boost the internal storage... all noiseless and low power...
And still get an external free usb port... for a REAL harddisk...

I'll look into it when I get some time! ;)

thanks for your reply!

roque69
24-10-2005, 17:51
Hi.



And still get an external free usb port... for a REAL harddisk...


In my case, it will be a port for a second harddisk :p .

Hope that you have the time very soon ;) .

Miguel

gwl
24-10-2005, 23:08
UPDATE (Dec1,2005): The correct solution is on the bottom of this page


FIRST: DON'T TRY THIS!!! IT's INCOMPLETE AND UNTESTED !!!!!!

I believe that there are 2 usb ports on the BCM4702.
The second USB port exists, but is linked to earth via some resistors. (15K)
So, these are the necessary connections to mess with:
USB_P2; USB_N2; USB_CTRL2

First thing: I bet the components for the second port aren't on board.. :p
(maybe only the pull-down resistors).

Here's what needs to be modified for the (2nd usb port):
1st) usb_c2 connects to +5v through a 10k(15k?) resistor...
Connect a +5v source (with a couple capacitors) to a 0.75amp fuse and that to pin 1 of the new usb plug . Pin 4 connects to gnd.

So, Which pin is USB_CTRL2 ?!? Where is it?!? is it internal? is it already connected to +5v?

2nd, USB_P2 and USB_N2 can't be connected direclly into a usb plug...
they need to be pull down to gnd with 15k resistor(?), and then the signals must go through some sort of RLC circuit... so, we need an impedance (which L value?!?), a capacitor (?) and a resistor (most likelly 15k also).

this was a mistake:...
[3rd... USB_P2 also needs some sort of an external clock generator... (12Mhz?, 24Mhz?)
(USB_P1 has one.. but I don't think that we can borrow this signal into USB_P2... :) )]

any ideas?

best regards.
:rolleyes:

ps: maybe this post should be moved into the "Custom Development"...

Styno
25-10-2005, 08:28
ps: maybe this post should be moved into the "Custom Development"...Good idea....done ;-)

wtzm
25-10-2005, 20:17
Just an amandment to gwl's post: In my opinion there is no clock generator needed/involved in any way; this seems to be a misinterpretation. Pull downs should be already provided via RN28.
Most probably ASUS didn't implement any kind of filtering for the USB-port on the back of our router, so why should we bother to do this for the second one?
A 15 Ohm series resistance is implemented via RN2 on my board, there are even two unused resistors available.

gwl
25-10-2005, 22:23
Just an amandment to gwl's post: In my opinion there is no clock generator needed/involved in any way; this seems to be a misinterpretation. Pull downs should be already provided via RN28.
Most probably ASUS didn't implement any kind of filtering for the USB-port on the back of our router, so why should we bother to do this for the second one?
A 15 Ohm series resistance is implemented via RN2 on my board, there are even two unused resistors available.

yes, it was my mistake.. there's no need for a clock generator at this point.
I still think that a RLC circuit is needed... :)
we need to filter the signal... the router is a very noisy environement...

gwl
25-10-2005, 22:33
[deleted by poster]

Technik
29-11-2005, 01:06
I _guess_ that the second port can be used, but I'm not quite sure if the method works. (Haven't had time to try it.)
On my rev. 2.4 wl-500g there is a 15k resistor package (RN28) which seems to provide the necessary pull down to GND for the two USB Ports (each one has two differential signals - USB_N and USB_P, of course). Maybe it's enough to connect an USB socket to the two solder points (and +5V & GND of course).
605
Note: USB1 means USB - Port1 and USB2 means USB - Port 2.
wtzm, could you please correct the image a bit?
I believe that USB2 pins should be interchanged ==>


----- ____
USB1_N --I I--|GND \_
USB1_P --I I--| ---
USB2_P --I I--| /
USB2_N --I I--|_/
-----
RN28

In addition two 15 ohm serial resistors should be used. Then you can enjoy using the second USB port... :)

....
usb.c: registered new driver usbdevfs
usb.c: registered new driver hub
usb-ohci.c: USB OHCI at membase 0xb8004000, IRQ 2
usb-ohci.c: usb-00:04.0, PCI device 14e4:4715
usb.c: new USB bus registered, assigned bus number 1
hub.c: USB hub found
hub.c: 2 ports detected
hub.c: new USB device 00:04.0-1, assigned address 2
hub.c: USB hub found
hub.c: 4 ports detected
lp0: using parport0 (polling).
usb.c: registered new driver usblp
printer.c: v0.13: USB Printer Device Class driver
Linux video capture interface: v1.00
hub.c: new USB device 00:04.0-2, assigned address 3
usb.c: USB device 3 (vend/prod 0xd7d/0x100) is not claimed by any active driver.
SCSI subsystem driver Revision: 1.00
Initializing USB Mass Storage driver...
usb.c: registered new driver usb-storage
scsi0 : SCSI emulation for USB Mass Storage devices
Vendor: Model: USB DISK Rev: 4.08
Type: Direct-Access ANSI SCSI revision: 02
Attached scsi removable disk sda at scsi0, channel 0, id 0, lun 0
SCSI device sda: 243712 512-byte hdwr sectors (125 MB)
sda: Write Protect is on
Partition check:
/dev/scsi/host0/bus0/target0/lun0: p1 p2
WARNING: USB Mass Storage data integrity not assured
USB Mass Storage device found at 3
USB Mass Storage support registered.
[admin@(none) root]$

wtzm
29-11-2005, 11:29
Gratulations, Technik!
I will try this and come back later with my results.

wtzm
29-11-2005, 15:21
Well, it just works.
I relied on the series resistance of bad solder joints, so the 15 Ohm Resistors weren't necessary *g*. (BTW: I assume these are just there as a safeguard measure in case somebody connects a defective device)
My dmesg looks quite similar:
usb.c: registered new driver usbdevfs
usb.c: registered new driver hub
PCI: Setting latency timer of device 00:04.0 to 64
usb-ohci.c: USB OHCI at membase 0xb8004000, IRQ 2
usb-ohci.c: usb-00:04.0, PCI device 14e4:4715
usb.c: new USB bus registered, assigned bus number 1
hub.c: USB hub found
hub.c: 2 ports detected
usb.c: registered new driver speedtch
hub.c: new USB device 00:04.0-1, assigned address 2
hub.c: new USB device 00:04.0-2, assigned address 3
hub.c: USB hub found
hub.c: 4 ports detected
hub.c: new USB device 00:04.0-2.3, assigned address 4
usb.c: USB device 4 (vend/prod 0x1019/0xc55) is not claimed by any active driver.
SCSI subsystem driver Revision: 1.00
Initializing USB Mass Storage driver...
usb.c: registered new driver usb-storage
scsi0 : SCSI emulation for USB Mass Storage devices
Vendor: IC Model: USB Storage-CFC Rev: 301b
Type: Direct-Access ANSI SCSI revision: 02
WARNING: USB Mass Storage data integrity not assured
USB Mass Storage device found at 4
USB Mass Storage support registered.

I used the opportunity to measure the total current consumption in this configuration (speedtouch usb + bus powered hub + cardreader; wireless disabled): ~1.3A.
The maximum current consumption during startup, without any USB devices, all ethernet ports disconnected: 780mA and 715mA after startup (idle). The same configuration with one of the LAN ports connected: 835mA and 770mA.

The only thing missing at the moment is a way to (physically) mount another USB connector at the case; Maybe on the front, just above (left) of the PWR Led?

gwl
30-11-2005, 23:56
nice post Technik!

I've been so busy that I haven't has the time to check this out...
I remembered to check the forum today, and was glad to find that someone has a solution. :)

[Technik], please confirm that this is the correct shematic:


___ ____
o-|N1 |--|GND \_
USB2 R1 o-|P1 |--| __
pin3 --/\/\/--|P2 |--| /
pin2 --/\/\/--|N2 |--|__/
R2 ---
RN28
pin 1 -- +5v
pin 4 -- gnd)


(R1=R2=15ohm)


(usb pinout: http://www.interfacebus.com/Design_Connector_USB.html#b )

Also, did you use external 15ohm resistors, or did you "reuse" the free RN2 15 Ohm resistances on the board?
where did you get the +5v from? (which part of the pcb?)
I guess a capacitor next to the +5v input of pin1 would be a nice addon, don't you think?

regards,
:rolleyes:

wtzm
01-12-2005, 07:53
You can get power from the pins labeled CE2 (this capacitor is at least on my pcb not populated) next to the onboard USB connector.

Technik
02-12-2005, 00:49
nice post Technik!

I've been so busy that I haven't has the time to check this out...
I remembered to check the forum today, and was glad to find that someone has a solution. :)

[Technik], please confirm that this is the correct shematic:


___ ____
o-|N1 |--|GND \_
USB2 R1 o-|P1 |--| __
pin3 --/\/\/--|P2 |--| /
pin2 --/\/\/--|N2 |--|__/
R2 ---
RN28
pin 1 -- +5v
pin 4 -- gnd)


(R1=R2=15ohm)


(usb pinout: http://www.interfacebus.com/Design_Connector_USB.html#b )

Also, did you use external 15ohm resistors, or did you "reuse" the free RN2 15 Ohm resistances on the board?
where did you get the +5v from? (which part of the pcb?)
I guess a capacitor next to the +5v input of pin1 would be a nice addon, don't you think?

regards,
:rolleyes:
Thanks! :)
I can confirm that your schematic diagram is OK.
As soldering on small onboard SMD parts is a bit difficult, I prefer using external resistors.
I am getting 5V from the input connector as marked, not directly but through additional reversible 0.7A fuse (PolySwitch).
In case you need a high power for external HDD, I would use some additional serial coils on both 5V and GND (taken from the power input connector) and ~1.2A fuse.

roque69
07-12-2005, 11:04
Hi.

I've been out for some time and only today I've had the time to check this fantastic discover :D .

As I have two USB disk's and with a USB hub I can't put them to work as I want this is the perfect soluction for my case but unfortunately I'm not a expert in electronics so, can someone post some more detailed info about this, with photos and all that so that I can also put a second USB port on my router?

Thanks,
Miguel

Technik
14-12-2005, 02:16
Hi.

I've been out for some time and only today I've had the time to check this fantastic discover :D .

As I have two USB disk's and with a USB hub I can't put them to work as I want this is the perfect soluction for my case but unfortunately I'm not a expert in electronics so, can someone post some more detailed info about this, with photos and all that so that I can also put a second USB port on my router?

Thanks,
Miguel
Please don't try to do it if the info above is not sufficient for you. Onboard parts that you need to solder on are quite small and without some experiences you may permanently damage the router. Also warranty is void as soon as you remove the warranty label covering one screw...

roque69
14-12-2005, 19:43
Please don't try to do it if the info above is not sufficient for you. Onboard parts that you need to solder on are quite small and without some experiences you may permanently damage the router. Also warranty is void as soon as you remove the warranty label covering one screw...

Thanks for the advice.

In fact I don't understand the info posted here :( maybe if it was in portuguese ;)... Now the solder and warranty are not a problem as I have a friend with solder experience and warranty was gone long time ago.

Miguel

Technik
15-12-2005, 01:40
OK then... So this is a (perhaps) more clear "how to".
Router board version needs to be 2.xx as older boards have a different layout.
Good luck!:)

roque69
15-12-2005, 16:33
OK then... So this is a (perhaps) more clear "how to".
Router board version needs to be 2.xx as older boards have a different layout.
Good luck!:)

Thanks for the answer. Yes this is a more clear "how to" ;) .

Just one last question. In the resistors you mention 15 Ohm, the fuse of 1 amp but what about the coil (ferrite slug) resistance :confused: ?

Thanks,
Miguel

Technik
15-12-2005, 19:56
Thanks for the answer. Yes this is a more clear "how to" ;) .

Just one last question. In the resistors you mention 15 Ohm, the fuse of 1 amp but what about the coil (ferrite slug) resistance :confused: ?

Thanks,
Miguel
You can use almost any coil type, it's not a critical part - the reason is to eliminate interference. D.C. resistance of the coil should be max. 0.1 Ohm.

jimmy
15-12-2005, 23:17
hi guys,
this is very cool, but, why not just plug an USB hub to the existent port??
it works perfectly. :confused:

Technik
16-12-2005, 00:28
hi guys,
this is very cool, but, why not just plug an USB hub to the existent port??
it works perfectly. :confused:
You always have a choice. ;) Our choice is to break limits...:)
I have USB hub as well but I usually need only 2 USB ports. One port is dedicated to USB flash key in my case - now I can put it inside the router to have a very compact device. No external cable to hub, no extra power needed. Quite useful if you need some mobility like me.

roque69
16-12-2005, 12:00
hi guys,
this is very cool, but, why not just plug an USB hub to the existent port??
it works perfectly. :confused:

It works perfectly but the problem is when you add two disks and have one of them with some other tools for the WL500g (like webserver with PHP, FTP server and other add ons) and the WL500g one day recognizes the "tools" disk as first disk and everything is OK but the next day the "tools" disk is recognized as second USB disk and the WL500g doesn't mount as it should.

Miguel

gwl
16-12-2005, 15:24
You always have a choice. ;) Our choice is to break limits...:)
I have USB hub as well but I usually need only 2 USB ports. One port is dedicated to USB flash key in my case - now I can put it inside the router to have a very compact device. No external cable to hub, no extra power needed. Quite useful if you need some mobility like me.

same here.. :p
with this, you can, for example, install a 2.5''HD and a usb<->ide adapter _INSIDE_ the router... :) so... how cool is that !!!
the next time your friend tells you about his fantastic linksys wrt54g... ask him if he can do this.... LOL... :D

I'm glad that the fact I noticed the "2nd usb port" in the logs ended up in a real solution, and in the unveiling of a hidden surprise in the router....

:rolleyes:

mangodan
03-03-2006, 18:38
Has any body considered adding a USB2 host controller too there wl500g?

I would think all the required signal are exposed on the Mini PCI conector.

I'm used to soldering tiny legs on tiny surface mount ICs and have a very decent fine pointed soldering iron.. I think its well worth a shot!

I think i'll have to remove a USB host controller from one of the USB 2 PCI addin cards that can be had for only a few quid as a quick browse of Farnell , RS and the like wasn't to promising.

wtzm
03-03-2006, 19:00
Has any body considered adding a USB2 host controller too there wl500g?
I doubt that this would make much sense - even the Deluxe, which has a 200 MHz cpu, compared to 125 MHz on this unit, isn't able to transfer more than 2 or 3 MByte/s across the bus in typical situations (as Network Attached Storage e.g.).

js2002
16-05-2006, 09:17
OK then... So this is a (perhaps) more clear "how to".
Router board version needs to be 2.xx as older boards have a different layout.
Good luck!:)
Hi, I really like this idea.
But when I checked photos,
on the Board.jpg you can see BCM4702KBP (the same I have got as well),
on the Detail1.jpg you can see BCM4333KBP.
I do not have detailed BCM4702KBP description.
My question is - has anybody checked this modification with BCM4702KBP?
PCB seems to be the same as in the photos.

Thank you,

Jiri

martins
23-05-2006, 14:31
Hi,

i just wanted to confirm that i was able to successfully connect a USB memory stick to the internal USB port.

Thank you for the good work!

Note:
I had to change D+ and D- correspondig to the green labels B and C on the the screen shot here in this thread.

The black labels "P" and "N" on the other screen shot are correct.


Martin

vladoportos
28-01-2007, 16:18
Hi
this is great im gonna build in a small hdd :D

do i need all these resistors and coils when i put there usb IDE for hdd ?

also what are that unused pins on the left of the board, labeled JD1 ?

plapla
26-01-2010, 02:38
Dear Oleg, thank you in advance for posting BCM4702 usb pinout, its quite a beginnig for me to find out the same pins in a BCM4712.
I just want to ask you if you have any method in order to find them out, because its been a while since i have a wrt54g and until now no light about it.
If theres any special technique, please show me a way.
Thanks again.

Luciano

ElMatou
24-09-2010, 22:49
I can, confirm the tweak works greats, heaven without resistor (but will add them soon)

Thanks for the very valuable shared informations.

bye