Alsa Cannot find USB interface

Optimize your system for ultimate performance.

Moderators: MattKingUSA, khz

retnev
Established Member
Posts: 157
Joined: Sat Mar 25, 2017 2:13 am
Has thanked: 4 times
Been thanked: 3 times

Re: Alsa Cannot find USB interface

Post by retnev »

This is what I get
$ grep PATH /opt/Mixbus32C-7.2.0/bin/mixbus32c7
# LD_LIBRARY_PATH needs to be set here so that epa can swap between the original and the bundled version
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH
export PATH="/usr/local/bin:/opt/bin:$PATH"
export LD_LIBRARY_PATH=$INSTALL_DIR/lib${LD_LIBRARY_PATH:+:$LD_LIBRARY_PATH}
User avatar
sunrat
Established Member
Posts: 915
Joined: Wed Jul 22, 2020 2:08 pm
Has thanked: 151 times
Been thanked: 242 times

Re: Alsa Cannot find USB interface

Post by sunrat »

retnev wrote: Sun Jan 23, 2022 11:42 am But again ... somehow my /sbin and /usr/sbin paths were removed from PATH Env var in both root and user accounts.
placed a patch .bashrc of every account to restore the path.
export PATH=/usr/sbin:/sbin:$PATH
/usr/sbin and /sbin are not in user PATH by default. How are you elevating privileges? Just using su by itself will not change from user's environment, one must do

Code: Select all

su -
to switch to root environment.
User avatar
sunrat
Established Member
Posts: 915
Joined: Wed Jul 22, 2020 2:08 pm
Has thanked: 151 times
Been thanked: 242 times

Re: Alsa Cannot find USB interface

Post by sunrat »

folderol wrote: Sun Jan 23, 2022 12:35 pm Sounds like mixbus is wanting to add itself to PATH, but instead of doing it properly it's replacing the current list instead of adding to it.
Mixbus installs to /opt with a symlink in /usr/local/bin. I can't imagine it would mess with PATH or for what purpose.
retnev
Established Member
Posts: 157
Joined: Sat Mar 25, 2017 2:13 am
Has thanked: 4 times
Been thanked: 3 times

Re: Alsa Cannot find USB interface

Post by retnev »

sunrat wrote: Mon Jan 24, 2022 1:22 am
/usr/sbin and /sbin are not in user PATH by default. How are you elevating privileges? Just using su by itself will not change from user's environment, one must do

Code: Select all

su -
to switch to root environment.

After 25 Years in Unix and then Linux I sure know how to become the root user.
User avatar
Loki Harfagr
Established Member
Posts: 268
Joined: Thu Aug 02, 2018 1:28 pm
Has thanked: 151 times
Been thanked: 53 times

Re: Alsa Cannot find USB interface

Post by Loki Harfagr »

retnev wrote: Wed Jan 26, 2022 7:42 am
sunrat wrote: Mon Jan 24, 2022 1:22 am
/usr/sbin and /sbin are not in user PATH by default. How are you elevating privileges? Just using su by itself will not change from user's environment, one must do

Code: Select all

su -
to switch to root environment.

After 25 Years in Unix and then Linux I sure know how to become the root user.
This is good news, thus you'll be capable to use two console/terminal windows and check this intricate test:

in first console/terminal:

Code: Select all

echo "${PATH}" > /tmp/_pathB4CallingStuff
*THEN and only then*, in the other console/terminal:

Code: Select all

/opt/Mixbus32C-7.2.0/bin/mixbus32c7
*WHEN* Mixbus has fully loaded and *WHILE* still running, go to first console and there, action:

Code: Select all

echo "${PATH}" > /tmp/_pathWhileStuff
Then, stop Mixbus and *WHEN* Mixbus has fully stopped and exited, go to first console and complete the test:

Code: Select all

echo "${PATH}" > /tmp/_pathAftCallingStuff
And using the serious forensic tool 'cat' you then will be able to have a clue at *when* to search the most suspect sources for remaining questions *where* and *when*, which answers to will give you the ability to repair or alert on the original bug (the *who* and *why* should probably remain ignored):

Code: Select all

cat /tmp/_path*Stuff
Post Reply