element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • About Us
  • Community Hub
    Community Hub
    • What's New on element14
    • Feedback and Support
    • Benefits of Membership
    • Personal Blogs
    • Members Area
    • Achievement Levels
  • Learn
    Learn
    • Ask an Expert
    • eBooks
    • element14 presents
    • Learning Center
    • Tech Spotlight
    • STEM Academy
    • Webinars, Training and Events
    • Learning Groups
  • Technologies
    Technologies
    • 3D Printing
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • Technology Groups
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents Projects
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • Project Groups
  • Products
    Products
    • Arduino
    • Avnet Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • Store
    Store
    • Visit Your Store
    • Choose another store...
      • Europe
      •  Austria (German)
      •  Belgium (Dutch, French)
      •  Bulgaria (Bulgarian)
      •  Czech Republic (Czech)
      •  Denmark (Danish)
      •  Estonia (Estonian)
      •  Finland (Finnish)
      •  France (French)
      •  Germany (German)
      •  Hungary (Hungarian)
      •  Ireland
      •  Israel
      •  Italy (Italian)
      •  Latvia (Latvian)
      •  
      •  Lithuania (Lithuanian)
      •  Netherlands (Dutch)
      •  Norway (Norwegian)
      •  Poland (Polish)
      •  Portugal (Portuguese)
      •  Romania (Romanian)
      •  Russia (Russian)
      •  Slovakia (Slovak)
      •  Slovenia (Slovenian)
      •  Spain (Spanish)
      •  Sweden (Swedish)
      •  Switzerland(German, French)
      •  Turkey (Turkish)
      •  United Kingdom
      • Asia Pacific
      •  Australia
      •  China
      •  Hong Kong
      •  India
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      • Americas
      •  Brazil (Portuguese)
      •  Canada
      •  Mexico (Spanish)
      •  United States
      Can't find the country/region you're looking for? Visit our export site or find a local distributor.
  • Translate
  • Profile
  • Settings
Raspberry Pi
  • Products
  • More
Raspberry Pi
Raspberry Pi Forum Is it just me, or do you end up installing raspbian over and over again on a complex project?
  • Blog
  • Forum
  • Documents
  • Quiz
  • Events
  • Polls
  • Files
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join Raspberry Pi to participate - click to join for free!
Featured Articles
Announcing Pi
Technical Specifications
Raspberry Pi FAQs
Win a Pi
Raspberry Pi Wishlist
Actions
  • Share
  • More
  • Cancel
Forum Thread Details
  • Replies 19 replies
  • Subscribers 669 subscribers
  • Views 2193 views
  • Users 0 members are here
  • raspberry_pi
Related

Is it just me, or do you end up installing raspbian over and over again on a complex project?

easyejl
easyejl over 5 years ago

I don't even think this project is all that complex. A raspberry pi 3b+ with a Waveshare WM8960 sound card, a generic 16 channel servo card, running google assistant with hotword recognition, running servos to move a puppet (and have the mouth move more or less in time with the speech).

 

I keep running into audio issues, where installing one thing or another ends up messing up the asound or pulseaudio config and then I lose output to the speakers. I got that card to simplify things as it has a tiny onboard amp and speakers, as well as built in microphone. But i'm now up to having reinstalled raspbian at least 8 or 10 times trying to get all the components to work together. I know I could scrap that card for this, add a usb microphone, and powered speakers but I don't have a usb mic handy, and I wanted this to all fit inside a moose head puppet. If I need another power supply on top of the pi + servo board (to drive the speakers) it seems like its gone a little too far image

  • Sign in to reply
  • Cancel
Parents
  • easyejl
    easyejl over 5 years ago

    For everyone's laughs, i'll share this weekend. I installed fresh buster on the pi, set up samba, set up a windows share. Got sound recording with usb mic + playback via headphone jack + powered speakers, and used rsync to back it up. Installed pulse audio, configured it, backed it up. Then I installed only the deprecated google assistant and got it working fairly easily. so I used rsync to back it up again. Installed the drivers for my sound card hat, only had to play around a little bit to get it all working, backed it up.

     

    So I guess the plan with taking intermediate backups had me being just cautious enough with everything else that it all more or less worked the first time. I spent more time waiting on rsync than actually installing or modifying configs image

    • Cancel
    • Vote Up +3 Vote Down
    • Sign in to reply
    • Cancel
  • colporteur
    colporteur over 5 years ago in reply to easyejl

    Glad to hear you had some success.

     

    Sometime between when you did your first install (not working) and now (working) some repository may have changed. This can be frustrating unless you develop the understanding things changing for the better is not such a bad thing:)

    • Cancel
    • Vote Up +2 Vote Down
    • Sign in to reply
    • Cancel
  • easyejl
    easyejl over 5 years ago in reply to colporteur

    most of these were older, the google samples I had to go backwards through tags on their github to find the one I wanted. I think maybe my subconscious got a better understanding of asound.conf and how pulseaudio works.

     

    Also this time around I realized that if you have the google assistant running and exit out "poorly" (still not sure the exact scenario) it locks/kills the pipe to output to that sound device. Starting it again does not fix that. So I imagine that may have been what happened to me in the past, when I thought it wasn't working.

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • Cancel
  • clem57
    clem57 over 5 years ago in reply to easyejl

    Yes a good showing of poorly written software given out as "examples". But people will take and reuse in discriminatory in production and wonder why not working as they imagined. Such is the state of software in the wild. I think easyejl found out with Google!

    • Cancel
    • Vote Up +2 Vote Down
    • Sign in to reply
    • Cancel
  • easyejl
    easyejl over 5 years ago in reply to clem57

    I've seen it so many times over the years, but somehow I think it gets worse as we go. The more open source software there is, the more libraries people use for small sections of them (like with typescript using Moment just for formatting the date for screen) and things end up with enormous dependency grids. Not everything stays self contained, so you end up with accidentally breaking one piece by installing something else. At work we've just gone through a pain in the neck over a new release failing to build at first, then failing to have everything work correctly primarily because a reference was added to an outside service that cause a chain of dependency updates.

     

    ok part of it also is the way our build/release process is for that particular product image

    • Cancel
    • Vote Up +2 Vote Down
    • Sign in to reply
    • Cancel
Reply
  • easyejl
    easyejl over 5 years ago in reply to clem57

    I've seen it so many times over the years, but somehow I think it gets worse as we go. The more open source software there is, the more libraries people use for small sections of them (like with typescript using Moment just for formatting the date for screen) and things end up with enormous dependency grids. Not everything stays self contained, so you end up with accidentally breaking one piece by installing something else. At work we've just gone through a pain in the neck over a new release failing to build at first, then failing to have everything work correctly primarily because a reference was added to an outside service that cause a chain of dependency updates.

     

    ok part of it also is the way our build/release process is for that particular product image

    • Cancel
    • Vote Up +2 Vote Down
    • Sign in to reply
    • Cancel
Children
No Data
element14 Community

element14 is the first online community specifically for engineers. Connect with your peers and get expert answers to your questions.

  • Members
  • Learn
  • Technologies
  • Challenges & Projects
  • Products
  • Store
  • About Us
  • Feedback & Support
  • FAQs
  • Terms of Use
  • Privacy Policy
  • Legal and Copyright Notices
  • Sitemap
  • Cookies

An Avnet Company © 2025 Premier Farnell Limited. All Rights Reserved.

Premier Farnell Ltd, registered in England and Wales (no 00876412), registered office: Farnell House, Forge Lane, Leeds LS12 2NE.

ICP 备案号 10220084.

Follow element14

  • X
  • Facebook
  • linkedin
  • YouTube