Go Back   Home > Forums > >
Home Forums Rules Articles diyAudio Store Blogs Gallery Wiki Register Donations FAQ Calendar Search Today's Posts Mark Forums Read

PC Based Computer music servers, crossovers, and equalization

RaspberryPi..Separating shared Usb and Ethernet.
RaspberryPi..Separating shared Usb and Ethernet.
Please consider donating to help us continue to serve you.

Ads on/off / Custom Title / More PMs / More album space / Advanced printing & mass image saving
Reply
 
Thread Tools Search this Thread
Old 28th October 2017, 02:02 AM   #1
DRONE7 is offline DRONE7  New Zealand
diyAudio Member
 
Join Date: Aug 2008
Default RaspberryPi..Separating shared Usb and Ethernet.

Here is a simple way to separate the Usb and ethernet ports from the Pi's shared bus.
It costs $5, takes 10 minutes, involves no cutting or soldering, and is completely reversible.

I have tried it successfully using MoOde o/s but it should work with anything running Raspbian-Jessie or newer.

It should work for any Pi and any improvements would be most applicable to the earlier versions without wifi on-board. (as the wifi bus is separate from the usb bus anyway.)

These are the parts and setup for the alternate ethernet via gpio pins.
Super Cheap Ethernet for the Raspberry Pi: 5 Steps

Once that is up and working you can turn off the on-board ethernet port using these instructions..
Embedded Apocalypse: How to power off Raspberry Pi 3 USB or Ethernet ports


Although the gpio ethernet is limited in throughput it seems to work fine for the web interface and webradio streams.
File transfers and NAS use probably not so good ... but I don't have a NAS and use my Pi to listen to webradio and play files from local usb drives.

I would be interested in comments from anyone trying this or those with more linux knowledge than I who care to explain the pros and pifalls. (oops... should read 'pitfalls' but I kind of like 'pifalls' so leaving it )

Last edited by DRONE7; 29th October 2017 at 03:02 AM.
  Reply With Quote
Old 30th October 2017, 12:31 PM   #2
soundcheck is offline soundcheck  Germany
diyAudio Member
 
Join Date: Mar 2005
Location: DUS
It's 10MBit/s only.
  Reply With Quote
Old 30th October 2017, 05:58 PM   #3
DRONE7 is offline DRONE7  New Zealand
diyAudio Member
 
Join Date: Aug 2008
Quote:
Originally Posted by soundcheck View Post
It's 10MBit/s only.
That caveat was noted...

Quote:
Although the gpio ethernet is limited in throughput it seems to work fine for the web interface and webradio streams.
  Reply With Quote
Old 30th October 2017, 07:44 PM   #4
phofman is offline phofman  Czech Republic
diyAudio Member
 
Join Date: Apr 2005
Location: Pilsen
What is the CPU load of the process when running the GPIO ethernet at max achievable speed?
  Reply With Quote
Old 30th October 2017, 11:59 PM   #5
DRONE7 is offline DRONE7  New Zealand
diyAudio Member
 
Join Date: Aug 2008
ssh session, Pi playing webstream, and file transfer......

On a Pi-B. single core no overclocking.
Attached Images
File Type: png Screenshot from 2017-10-31 12-05-53.png (87.8 KB, 175 views)
File Type: png Screenshot from 2017-10-31 12-06-32.png (17.7 KB, 175 views)
File Type: png Screenshot from 2017-10-31 12-18-59.png (7.3 KB, 173 views)
  Reply With Quote
Old 31st October 2017, 06:45 AM   #6
phofman is offline phofman  Czech Republic
diyAudio Member
 
Join Date: Apr 2005
Location: Pilsen
Thanks a lot.
  Reply With Quote
Old 31st October 2017, 08:05 AM   #7
DRONE7 is offline DRONE7  New Zealand
diyAudio Member
 
Join Date: Aug 2008
I was getting dropouts in web-stream audio while the ethernet device was maxed out.

However, without doing file transfer at the same time then the web-stream , ssh , and web-interface have been very stable and usb playback is reliable...

For my use it is more than acceptable,,
  Reply With Quote
Old 31st October 2017, 08:11 AM   #8
phofman is offline phofman  Czech Republic
diyAudio Member
 
Join Date: Apr 2005
Location: Pilsen
Bit banging the GPIOs vs. proper DMA of a real network card/usb controller do make a difference.
  Reply With Quote
Old 31st October 2017, 08:44 AM   #9
DRONE7 is offline DRONE7  New Zealand
diyAudio Member
 
Join Date: Aug 2008
Yes, agreed.

Next experiment may be to use i2s for output to Dac, onboard ethernet for Nas, gpio ethernet device for web interface and webradio....and turn off the usb ports.....

"The infernal madness is only temporarily subdued by the blue smoke"

Last edited by DRONE7; 31st October 2017 at 08:46 AM.
  Reply With Quote
Old 31st October 2017, 09:21 AM   #10
phofman is offline phofman  Czech Republic
diyAudio Member
 
Join Date: Apr 2005
Location: Pilsen
The onboard ethernet on your RPi is not hooked to the internal USB hub?
  Reply With Quote

Reply


RaspberryPi..Separating shared Usb and Ethernet.Hide this!Advertise here!
Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
RaspberryPi HAT DAC for Headphone Amp Project? Tyandriel PC Based 0 12th October 2017 12:16 PM
separating varnished laminations lexx21 Parts 28 18th July 2017 10:11 PM
Audio over ethernet and PC Ethernet controller werfi Digital Source 11 7th August 2012 09:31 AM
Separating bonded glass mmerig Everything Else 14 19th March 2008 01:27 PM
separating PSU for preamp woodturner-fran Tubes / Valves 4 7th February 2008 10:28 PM


New To Site? Need Help?

All times are GMT. The time now is 08:50 AM.


Search Engine Optimisation provided by DragonByte SEO (Pro) - vBulletin Mods & Addons Copyright © 2018 DragonByte Technologies Ltd.
Resources saved on this page: MySQL 15.00%
vBulletin Optimisation provided by vB Optimise (Pro) - vBulletin Mods & Addons Copyright © 2018 DragonByte Technologies Ltd.
Copyright ©1999-2018 diyAudio
Wiki