We have upgraded the community system as part of the upgrade a password reset is required for all users before login in.

Editing/Updating the 'distfeeds.conf' file through Terminal.



  • Just beware that vi is at the center of 'evil'.



  • Okay, my misunderstanding. Thanks for clarifying.

    The project I'm trying to accomplish is the old Bluetooth Speaker from the first project book, so I can pair that with a Sharc DSP board, so I can practice sending an audio signal, while modifying it at the same time. At the moment, the next step, where the 'udevd' was coming from, is creating a pulseaudio daemon that will run in the background until called upon.

    I'd have to imagine that the command line would have other commands/ways of doing this without the need for creating custom scripts for reference. I'll take a look back at the library, just in case.



  • @William Scott:
    To me, vi, git, shell etc. are testing grounds. If I can not get those right.. I can never get my programming right..:)



  • @tjoseph1 I'm with you, hence the sarcastic humor. Keep hammering at it and you'll get it! When you need help, we're here for you, then before you know it, you're one of us telling someone about O2+ power requirements or vi is at the center of 'evil'. Dig?

    take care!!
    Bill



  • @William Scott:
    <<
    --before you know it, you're one of us telling someone about O2+ power requirements or vi..
    <<
    Was there any mistake ? Can you please explain ?



  • @tjoseph1 No mistakes I'm aware of or opinionated about. Really seems to me there have been a number of problems on the forum recently that seem to smell like power supply problems. Keep on keepin' on!

    --Bill



  • @William Scott:
    <<
    ..there have been a number of problems on the forum recently that seem to smell like power supply problems
    <<
    I too saw the recommendations to check the power.

    A powered USB hub with a stable external PS would be ideal.

    The moment a USB drive is connected to the dock, power draw goes to 18mA-20mA from the usual 10mA-13mA, in my observation.

    Thanks..



  • @tjoseph1 Good work!

    --Bill



  • @William Scott :
    <<
    Good work!
    <<
    I guess that is for missing one zero each, in everyplace ..! šŸ™‚



  • @tjoseph1 Be careful not to assume just because you use a USB hub with an external power supply that you can power an Omega2 on each USB port. We tested a number these devices about a year ago (you can search for my post on here), most cannot power more than 2 or 3 devices at once. One that I am using on my desk right now can run 4 at the same time but I have to boot each device sequentially since the power requirement when starting wifi will make each of them hang if booted at the same time. I have another that has 12 ports, powered on 2 separate circuits, I can run 3 Omega on the thing, no matter which ports I have them connected. If I power another Omega2, all of the devices will hang when the 4th device starts wifi. Sometimes they will recover but in most cases they do not and need to be rebooted.



  • @crispyoz :
    Very informative.. thanks, I will keep the advise in mind..

    The plan is to have custom PCB, with 4 devices (6xGPIO, 2xUART, SPI and I2C - all are 3v3 compatible) plus Li-Ion charger/booster with cutoff & 3v3 regulator. The total draw is 400mA+ for the devices, which is now fed from another 3v3 regulator connected to the same USB hub where with Omega2 dock is connected.

    Based on the experience you shared, a mechanism to delay-start the devices "may be a must..!", I guess?
    Thanks..



  • @tjoseph1 I'm a software engineer so maybe one of the electronics gurus will pipe up on the best method. To my uneducated mind, it seems that all the hubs we tested didn't have enough juice to power each unit at peak consumption, which in my experience is when the wifi system comes up. I'm not sure what good any of the USB hubs with 10 and 12 ports actually are, if you plugged in multiple phones to charge them it'd take a month of Sundays.



  • @crispyoz :
    I am sorry, that I didn't mention "Powered USB Hub".. Only data goes to
    the computer. The supply to end devices is derived from an external PSU, connected to hub's power socket. I am using a 3A PS to feed power.

    If none of the hubs didn't have enough juice, that is scary. Have you happen to notice the peak consumption at the time of WiFi initialization by any chance?



  • @tjoseph1 I've not used an Omega2+ for a while, I am mainly using Omega2S+ on my custom board however Onion recommend 5v 2A, I am generally reading a maximum of 5v 2.1A

    But I did understand you were referring to USB hub with an external power supply, my experiences I referred to above were with USB hubs using external power supplies, the Omega is using the USB hub for both power and data.



  • @crispyoz :
    I would think we need a scope to see the ripples in the DC when the Wifi starts. That might be helpful to decide the corrective capactane for the custom board, I have in mind.

    Some powered USB hubs offer auto-chageover, ie, use PS power if one is present, use computer's USB power otherwise. I have returned a hub since the "auto" doesn't work, as expected.

    I have opened my crurrent hub and cut the two PS wires coming from the computer.

    The experience you shared is an eye opener..
    Thank you..



  • @tjoseph1 I'm anxiously awaiting your design šŸ™‚



  • @crispyoz :
    It is not me, my friend is into h/w design. He is running an IoT startup, does the h/w implementation side, including board design and product manufacturing, but not into programming. He is not familiar with Omega platform,well, so far.
    Btw, it's my job to program this.
    So, you know, I am concerned about both his as well my steps in this process.



  • @tjoseph1 I wish you and your colleague luck on this journey, it can be frustrating but if you have the attitude that every failure is an opportunity to learn, success is just around the corner. Share your knowledge and experience with the Omega community so we can all push each other forward.



  • @crispyoz :

    Thank you very much...!!
    The first thing is to get the stable power setup. Would try powering multiple Omegas from a single PS with the scope connected to DC. More than happy to share the experience.



  • @crispyoz :

    I tried with 3 omegas booting at the same time from an external PS feeding power to a powered USB hub. Only Omegas plus Docks (with their switches in ON position); nothing else. The "data" section of the hub is connected to a Linux workstation.

    All units were configured as STA, getting IP from a remote AP. (They all are APs themselves too, with IP 192.168.3.1)

    I would pull the USB power-cable from the PS (the PS is always hot) and then insert is back. The other end of the cable is connected to the hub. Once the cable is inserted, all three would start booting. It takes a few seconds for ttyUSB0/1/2 to appear in the Linux system and their outputs to minicom.

    I did not notice any unit hanging.. Other than, sometimes one or two units would fail to acquire the IP address from the AP, may be because of the near simultaneous request?. Reconfigured the Omegas to acquire IP from different APs.

    No problems.. Also, used a lesser capacity PS (Apple A1400, rated 5V/1A).
    Still no problems..

    The USB power was about 5.12V under no load and 5.02V-4.99V under load.

    Pls see the video here:
    https://drive.google.com/file/d/1nrGuAQSY1XoJC86iTrtRMzCxPhrsQop3/view?usp=sharing (This is taken with the 1A PS)

    Appreciate any pointer to something that I missed..

    Thanks..



Looks like your connection to Community was lost, please wait while we try to reconnect.