• 1 Vote(s) - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Xubuntu/Lubuntu 18.04 -- Z83-II/W/F -- both Audios +WiFi/BT
#1
EDIT--- newest custom .iso's, posted May 27, 2018
--------------------------------------------------------------------
Hi all -- below are Download links for my 3rd & final version custom .iso's for our KODLIX brand Z83-II, Z83-W, & Z83-F devices, to enable both HDMI audio and Audio-out/ Headphone Jack. As Hu (forum Admin) already had all hardware working on Ubuntu "Bionic" except HDMI Audio, these .iso's should provide that last bit. These .iso's are based on 18.04 LTS "Release" versions -- I don't believe these are the "best" that could be done for these Z83 devices -- but they are the best I can do, and will be the last versions I post.

These *may* also work on other Z8350 Atom MiniPC boxes -- BeeLink, Bquel, Ace, WinPro, etc -- that use the same or similar main board and hardware
     --- x5 Z8350 Atom cpu
     --- AmPak AP6255 WiFi/BT (Broadcom BCM43455 radio chip)
     --- bytcr-rt5651 Audio for "Built-in" jack

All hardware including both Audio outputs can now be tested from "Live" USB boot, so you can try these out, without harming your device or your current OS installed on your internal eMMC -- boot the USB and check --- if things don't work, don't Install. That simple . . . 

============================================================================================================

Customizing these .iso's depends on Linuxium & his "isorespin" process and tools -- but I did add in additional edits and scripts to enable our HDMI Audio and bytcr-rt5651 Audio, and make both available to PulseAudio Server

SO BRIEFLY --- The parts of these .iso's that work perfectly (WiFi, UCM files, etc) are to Linuxium's credit
           --- The parts that may show odd glitches (HDMI & Headphone Audio) are due to my edits, & MY fault

NOTE -- for running Ubuntu & variants on Intel Atom devices, most of us would be no where, without Linuxium's work, research, tools, and info --- 
Please do visit his site -- http://www.linuxiumcomau.blogspot.com -- and consider helping to support his work.  There is a Yellow Button on right-hand side of his pages, & I do believe he would appreciate even modest amounts, to help with his Server & ISP costs, etc. 
============================================================================================================

ALSO -- if you download an .iso here, you are likely not visiting -- http://www.ubuntu.com/download -- and Canonical misses the opportunity to ask for your support. I did contribute for myself when Downloading the 18.04 "flavors" that I customized for our Z83 devices (as I did with Linuxium) -- but I can't possibly cover for everyone. First, how many would that be -- 2, or 200 ?? I have no idea . . . 

So Please Do visit above "Get Ubuntu" site, and consider that $5, $10, or $20 for an entire Operating System is a bargain --- if we want to see better support for our Hardware, and want to free ourselves of the Activation-robbing beast Micro Soft, then we need to help support Canonical & people like Linuxium, that make it possible.

In my opinion, for Open-Source it isn't about how Much any one person contributes to the Developers & organizations, as how Many of us are willing to step up with something. Small amounts add up, if enough of us contribute . . . 
============================================================================================================
DOWNLOAD links ---

NOTE -- if you have installed one of my earlier versions & have gotten both Audio outputs enabled and working, there is no need to re-install one of these newer .iso's. The edits to PulseAudio files are the same, only the Install & Troubleshoot process has been improved & shortened.

ALSO -- all these .iso's have Grub2 bootloader spun-in & are bootable as-is. Just write the .iso image to a USB stick . . .
I like Etcher ( http://www.etcher.io ) -- it's free, Open-Source, & available for Linux/ Windows/ Mac OS 

Get custom Lubuntu 18.04 for Z83-II/ W/ F here >>  https://drive.google.com/open?id=1PvrhhO...V-c5ZCV4FY
md5sum >>>> 1e3482c955f59fe95f251e7a43de1035  ./Z83_linuxium-lubuntu-18.04-desktop-amd64.iso

Get custom Xubuntu 18.04 for Z83-II/ W/ F here >>  https://drive.google.com/open?id=1v8jzja...3Q20cdGrjx
md5sum >>>> a4c162a3f6d5d3af30e8c3c14de8e4b5  ./Z83_linuxium-xubuntu-18.04-desktop-amd64.iso

============================================================================================================

FEATURES of both .iso's above - -

        1. 4345r6nvram.txt included & renamed to /lib/firmware/brcm/  -- WiFi/BT up & scanning at "Live" boot
        2. UCM Audio files spun in, via proven method -- these will work, at "Live" boot
        3. edits to PulseAudio configs -- a single script "fix_my_headphone.sh" enables Both Audios
        4. all Hardware working (though Audio may have small oddities/ glitches)
============================================================================================================

ISSUES of both .iso's above -- only glitches are related to the attempt at Both Audios . . .

*** VGA-out is Untested -- (my model, Z83-II, doesn't have it) -- but I made no edits to VGA- or Display- related things, so if VGA 
is working in normal *buntu distros, it will work on these 

      1. No auto-switch on Headphone plug/ unplug -- you DO have to manually switch 
          output on "Playback" tab of Volume Control

      2. Cannot seem to set HDMI Audio as "default" output --
         Headphones are usually active at Re-boot or Log-in, and you won't know unless
         you have something plugged in to both -- and Volume levels may not restore, 
         coming back at 100% --- for now, just open Volume Control, check & change "Playback" device & 
         Volume level there--  (Could use Help with "default" & "restore,"  if anyone can . . .)

*** (I do now have some additional edits to set HDMI as default Audio -- see "Post #2" in my
Ubuntu / Budgie / Mate thread -- http://www.minisforum.com/showthread.php?tid=204 ---
steps are the same for all 5 .iso's --- PJ)

      3. "Speaker" icon in Notification Panel gets out of sync -- it may show wrong
          device as active, or show Muted while sound is actually playing. Just click 
          it and fiddle buttons/ sliders -- it will catch up (could use Help . . .)

      4. Very slight "clipping" when switching ouputs, sometimes -- and if Audio is from
          a Video source, there's a milli-second stagger in it also

      5. Headphones audio is weak, even at full volume. Might be improved by adjusting levels
          in "alsamixer" -- Google it, maybe with "bytcr-rt5651 alsamixer settings" 
          --or just set some "over-amplify" on Output tab of Volume Control

       6. Various unspecified "Other" -- these are still "Testing-phase" .iso's,
           but all issues relate to Audio, and my edits there -- all else will be fine.

==========================================================================================================

Install Guide ----

*** Important -- we want to test both Audio outputs, so connect your Z83 device to an HDMI TV or Monitor with
working internal speakers, also plug in some Headphones, and leave both connected throughout 

1. Boot your prepped USB stick from [F7] menu, & at Grub menu select "Try without Installing"
   (top option) only -- do not Install from Grub menu

1a. Optional -- connect WiFi & check any Hardware you care to. "LiveBoot" session will see our 
    internal eMMC as an "SD Card" which means the external SD Card slot is unavailable "Live" --
    but it will be seen and working, Installed

1b. Optional -- test Audio.  [CTRL]+[ALT]+[T] to open Terminal, then type & Enter --- 
    
                       fix_my_headphones.sh

    Next open your Volume Control -- both Audios will be listed now, so launch some Audio
    playback (browser/ YouTube is easiest) and check both
-----------------------

2. If "Live" tests satisfy, Install from Desktop launcher -- first close all other Apps

** Optional but Recommended -- before Installing, open File Manager -- in Left sidebar, 
right-click the "30 GB Volume" (or "60 GB" for 64 GB models) -- if "Unmount" is an option
on pop-up menu, click it, to Unmount the internal eMMC. If "Mount" is listed, the eMMC is not 
currently Mounted, so just click out of the pop-up to close. Then close File Manager and launch 
the Install icon on the Desktop.

2a. If prompted for "Normal" or "Minimal" Install, you can try either -- I've only tested "Normal"
    but the Minimal *should* include all the PulseAudio components we need for both Audios

    On same panel, you can select "Download Updates" and "3rd  party Software," or not -- either works.

2b. Only Select "Erase Disk and Install" -- this is only way I've tested. Let the Installer manage
    Partitioning -- it will come back with mmcblk0p1 as "ESP" and mmcblk0p2 as "ext4" -- just "Continue"

2c. Follow prompts & enter your Info, through to "Restart Now" . . . 
--------------------------

3. 1st Installed boot -- re-connect WiFi, and when "Software Updater" pops up 
   (if you selected "Updates" at Install), leave it minimized or in background for now.

3a. Open a Terminal (from Menu or [CTRL]+[ALT]+[T]), and again type and Enter --

                     fix_my_headphones.sh

** NOTE -- when we did this "Live" it applied to the "Live" session only -- this time the
script operates on our Installed system, and it will hold Audio across re-boots -- You will
not need to run this at every boot.  However, do not delete this script from /usr/local/bin/ --
if anything -- an App lockup/hang, Power failure, Kernel or PulseAudio Update -- temporarily 
disrupts our Audio, running this script again *should* bring it back.

3b. Open Volume Control, launch Browser/ YouTube or some other Audio, and test both outputs
   
3c. Open "Software Updater" now, and go ahead with installing updates -- then test Audio again

3d. Re-boot, and test both Audios one more time --- DONE !!

===============================================================================

I do hope some of you will try these .iso's -- and if so, please do post your results/ comments/ etc in this thread -- PJ
  Reply
#2
(05-12-2018, 07:07 PM)PrairieJohn Wrote: Hi all -- Below are my 2nd attempt at enabling both HDMI audio and Headphone jack audio, for our KODLIX brand z8350 boxes -- tested more thoroughly now on my Z83-II, but I believe Will Also work on Z83-W and Z83-F.  You can test and find out at "Live" boot stage -- only Install to internal eMMC if everything works, so these .iso's will not harm your current set-up, if Audio does NOT work for you

I am posting Xubuntu & Lubuntu here, both are edited from 18.04 "Release" versions now (my earlier attempts were still on "Beta2") --- I do also have a process and edited .iso's to get Both Audios for Ubuntu-Mate, Ubuntu-Budgie, and Ubuntu Desktop, these 3 are also from 18.04 "Release" versions. I hope to post these soon, but the different Volume Control in "System Settings/ Sound" of these 3 Ubuntu- * flavors take different steps from Xubuntu/ Lubuntu -- I am still writing those up
----------------------------------------------------------------------------------------------------------------------------------------
PLEASE NOTICE -- If you saw my earlier "Beta2" .iso's thread, you know I took down those links.  I did then receive a 2nd email from Linuxium, that I had mis-understood him --- I had also posted links to those .iso's in "Comments" at his website, and he took down THOSE links, because he has a "No outside links" policy for HIS website (he would be flooded, and couldn't possibly check everything) --- but he let me know, it is OK to post .iso's I created (using his "isorespin" process & his tools) on THIS Forum, so long as that does not violate policies of THIS Forum  ---  

AND NOTE --  I did obviously use Linuxium's "isorespin.sh" to create the edited .iso's  -- but I created edited configuration files, scripts, settings, etc, to try and enable both Audio outputs, which I then fed through Linuxium's "isorespin" process and tools  --- there is a very old phrase in computing, "Garbage In = Garbage Out" 

If these .iso's do not work well for you, it is NOT DUE TO the Tools or Process  -- the edits and hacks I fed into those Tools  just are not right.

SO BRIEFLY -- the parts of these .iso's that work well (WiFi/BT, UCM files, etc) are to Linuxium's credit --- 
                      -- the parts not working or "glitchy" (HDMI & Headphone Audio, etc) are my edits, and MY fault ---
---------------------------------------------------------------------------------------------------------------------------------------------
And now finally --- here are the DOWNLOAD LINKS ---
(both these .iso's have Grub2 bootloader spun-in -- just write the image to your USB stick.
Etcher ( http://www.etcher.io ) has worked well for me, & available for Linux/ Windows/ Mac)

Get custom Lubuntu 18.04 "Release" for Z83-[x] here >> https://drive.google.com/open?id=1Orh1wV...PspJe-8SKS
md5sum >>>>   3c435aa4b99788a70957f2f36ce25c05  ./linuxium-lubuntu-18.04-desktop-amd64.iso

Get custom Xubuntu 18.04 "Release" for Z83-[x] here >> https://drive.google.com/open?id=1_04KAz...i0fgBeHW8l
md5sum >>>>   fa05caefc940c8b0b9599a033478f828  ./linuxium-xubuntu-18.04-desktop-amd64.iso

See video of Install / Troubleshoot audio steps on YouTube >> https://youtu.be/vHcVx8YKovA
(This is the Xubuntu .iso, steps for Lubuntu are same, just different Desktop  
-- above link is "part 1" video, links to rest in "Comments" there)
---------------------------------------------------------------------------------------------------------------------------------------------

FEATURES of both .iso's above - -

        1. 4345r6nvram.txt included & renamed to /lib/firmware/brcm/  -- WiFi/BT up & scanning at "Live" boot
        2. UCM Audio files spun in, via proven method -- these will work, at "Live" boot
        3. edits to /etc/pulse/default.pa WILL show both Audio outputs in Volume Control -- but may take Troubleshooting at "Live" boot

*** Hu (our Admin here) already had ALL of our hardware working, except HDMI Audio -- Hopefully these .iso's get us close to solving that last bit ---- and Again, Thank You, Hu !! 
---------------------------------------------------------------------------------------------------------------------------------------
ISSUES of both .iso's above -- only glitches are related to the attempt at Both Audios . . .

*** VGA-out is Untested -- (my model, Z83-II, doesn't have it) -- but I made no edits to VGA- or Display- related things, so if VGA 
is working in normal *buntu distros, it will work on these 

      1. No auto-switch on Headphone plug/ unplug -- you DO have to manually switch 
          output on "Playback" tab of Volume Control

      2. Cannot seem to set a stable "default" output or restore Volume levels --
          Which Audio is active at Re-boot or Log-in may change, and you won't know unless
          you have something plugged in to both -- and Volume may come back as "Muted" or
          100% --- for now, just open Volume Control, check & change "Playback" device & 
          Volume level there--  (Could use Help with "default" & "restore,"  if anyone can . . .)

      3. "Speaker" icon in Notification Panel gets out of sync -- it may show wrong
          device as active, or show Muted while sound is actually playing. Just click 
          it and fiddle buttons/ sliders -- it will catch up (could use Help . . .)

      4. Very slight "clipping" when switching ouputs, sometimes -- and if Audio is from
          a Video source, there's a momentary stagger in it also

      5. HDMI audio may be over-amplified & harsh-sounding -- Headphones audio is weak,
          even at full volume. Might be improved by adjusting levels in "alsamixer" -- Google it, 
          maybe with "bytcr-rt5651 alsamixer settings"

       6. Various and sundry unspecified "Other" -- these are still "Testing-phase" .iso's,
           but all issues relate to Audio, and my edits there -- all else will be fine, on either 
           the Lubuntu or Xubuntu.
-------------------------------------------------------------------------------------------------------------------------
Installation Instructions (short version)

Hook up your Z83 device to an HDMI TV/ Monitor with working internal speakers,
and also plug in Headphones now -- leave both connected throughout,
as we need to Test both Audio outputs "Live" . . . 

     1. Boot your USB key from [F7]-menu, & at Grub menu, "Live" boot (top option)-- 
         Do NOT "Install" from Grub menu !!

     2. Connect WiFi, open Volume Control, and launch some Audio (Browser/YouTube is easiest) . . .

     3. Test Both Audios on "Playback" tab of Volume Control

     3a. Both Audios working/ can switch between -- SUPER !! Jump to "Install," step #4

     3b. HDMI works/ Headphones not --- jump to "TROUBLESHOOT AUDIO . ." in Long-version (post #2 below)

     3c. Neither Audio works -- double-check all Volume sliders /Mute toggles . . .
           Still nothing ?? Verify your HDMI display HAS built-in speakers, and
           they ARE enabled -- check Volume Level/ Mute on your TV/ Display also

IF you do NOT at least have HDMI audio, then STOP, & Shutdown --- you must have slightly different hardware
---------------------------------------------------------------------------------------

     4. Once you have both Audio ouputs working, launch "Install . ." icon on Desktop

     4a. "Normal Installation" (if prompted) -- can "Download Updates" & "3rd-party software," or not -- either way works

     4b. ONLY use "Erase disk and Install . ." option -- Do NOT check "Encrypt . ." or "LVM . ."  (both untested)

     4c. At re-start, jump down to "At 1st INSTALLED BOOT . ." in post #2 below

     5.  Finalize Audio settings as shown "At 1st INSTALLED BOOT . ." post #2
=================================================================================

Do NOT Install either of these .iso's to Internal eMMC, UNTIL you have Both Audios working in "Live" boot -- 
If you cannot get Both Audio ouputs with Troubleshooting them "Live" on these .iso's, it won't be possible Installed either.

Installation Instructions (very LONG version)

--these boil down to 3 steps -- "Live" Boot & test, especially Audio -- Troubleshoot, then Install -- Re-boot & Finalize Audio --

(If anyone would like to Copy this guide and edit it, both to clarify and shorten -- PLEASE do so !! And PM your version to me, I will update here)
================================================
IMPORTANT -- we will need to test and troubleshoot both Audio outputs during the "Live" boot and Install -- hook up your Z83 device to HDMI TV/Monitor with internal speakers, also plug in some Headphones, and leave both connected throughout . . .

"Live" Boot and Test ----

1. Plug in your USB key & boot it from [F7]-menu at power-up -- at the Grub menu, select "Try [Lubuntu | Xubuntu] without installing"
(We will Install from "Live" session AFTER enabling Audio . . . )

"Live" boot takes awhile & may black-screen a few minutes -- when Desktop comes up, connect to WiFi, then test what hardware you care to (BT, ethernet, etc.) SD Card slot is not available from "Live" session, but will work installed. The "30 GB SD Card" (Xubu) or "30 GB Volume" (Lubu) on Desktop is the internal Storage eMMC (these are obviously larger, for 4 GB/64 GB model).

2. Test Audio -- from Speaker icon in Notifications panel, open "Audio Mixer" (Xubuntu) or "Sound Settings" (Lubuntu) -- in both cases, this is PulseAudio Volume Control (still default Sound panel on both these *buntu flavors)

(NOTE-- may want to Resize, so you can see all tabs of Volume Control -- [ALT]+[SpaceBar] for Window options)

2a. These .iso's include edits to /etc/pulse/default.pa -- both HDMI (as "Atom/Celeron/Pentium . . .") and Headphone jack (as "Built-in Audio . . ") will show on "Output" tab of Volume Control, --- Lubuntu *may* show 3 outputs --
  "Atom/Celeron . . ." at top, this is manually-loaded as "device=plughw:0,2" & works
  "Built-in Audio (Headphone + Speaker). . " this is udev-detected correctly, but *may* not be enabled yet
  "Atom/Celeron . . " entry again, this is udev-detected "ghost" as "device=hw:0,0" & NULL

On Lubuntu, just ignore the bottom "Atom/Celeron . . ", if it shows-- we will clear that extra entry later

2b. Start some Audio playing -- YouTube (or similar site) in Browser is likely easiest. You can try files from USB or NAS staorage, but "Live" session may not have proper codecs for your media

Now on "Playback" tab of Volume Control, test the (top) "Atom/Celeron/Pentium . . " -- it is manually loaded and will work for HDMI -- check all 3 Volume sliders & Mute buttons ("Playback" tab/ "Output" tab /Notifier Panel "Speaker" icon)

Next try the "Built-in Audio . . " -- here also, check Sliders & Mutes for it --this may or may NOT output to Headphones at this point --- 

IF you DO have Audio output on both the HDMI ("Atom/Celeron . .") option and Headphone ("Built-in Audio . .") option, and can click back and forth between them, you COULD skip on to "Install . . " section -- OR -- you can also follow steps in "Troubleshoot . . " to break and then re-enable Headphone audio 

IF you do NOT have Audio on the Headphones, follow all steps in "Troubleshoot . . " to get it  
---------------------------------------------------------------------------------------------------------
TROUBLESHOOT AUDIO ---


This will be Headphone ("Built-in Audio . .") fixes -- the HDMI ("Atom/Celeron . .") is manually-loaded & will always be working (if not, check all Mute buttons & Volume sliders again -- and don't forget to check Volume & Mute on your TV or Monitor itself ;-)

Hu tested my earlier Lubuntu Beta2 .iso, and helped me understand what *may* happen with the bytcr-rt5651 "Built-in Audio . ." card -- in some cases, the settings that PulseAudio shows for this Audio in Volume Control are NOT the current state of the card. Why this happens, I don't know -- but it does happen, sometimes.

Fortunately, we found a process to "sync-up" or "force-refresh" PulseAudio's info on the Headphone card with the actual settings the card is on ---

3. With Audio playing in Browser, select "Built-in Audio . . ." on the "Playback" tab of Volume Control panel 

3a. Click to "Output" tab, and under "Built-in Audio . . " click the port to "Speaker," then back to "Headphones"
NOTE -- if you had no Audio on Headphones, this does nothing -- if you did have Headphone Audio, this breaks it -- Don't worry, we will re-enable . . .

3b. Still on "Output" tab, click the Speaker icon to the right of the Volume Slider  -- once to "Mute" (gray) then again to "Un-Mute"
NOTE -- this does nothing immediately, but *may* set the status of "Built-in Audio . . " card to "Un-Mute" going forward (ie, the "default" state of Mute/Un-Mute). I am not sure this "Mute" step is really necessary, but it doesn't hurt anything . . .

3c. Go to "Configuration" tab of Volume Control -- click from "Play HiFi Quality Music" to "Off"
(NOTE -- Audio will now fall back to HDMI output)

3d. Click back from "Off" to "Play HiFi Quality Music" ---
(NOTE -- Now Audio WILL play on Headphones -- if you had it before step 3a, this brings it back -- if you had no Headphone Audio, this enables it)

** MOST IMPORTANTLY -- this entire "Troubleshoot . ." process sets Controls of the "Built-in Audio . ." through re-booting after Install. If it is working now, it will work Installed also.

3e. Final troubleshooting step !! With Audio still playing, go back to "Playback" tab of Volume Control -- confirm you can now switch between (top) "Atom/Celeron . ." and "Built-in Audio . . . " and do have both HDMI and Headphones working ... 

--- NOW we are ready to "Install" from the Desktop shortcut !!
----------------------------------------------------------------------------------------------
INSTALLING -- 

(I am only listing options & settings I have tested on my Z83-II while installing -- other options *may* work, I do not know)

(OPTION -- Format) -- if Installing these .iso's over a prior Linux or Ubuntu-based installation on your Z83-[x], you might consider formatting your "/" root partition (most likely mmcblk0p2) -- in "Live" session, both .iso's include GParted in the Main Menu, just look for it -- Open it & select your "/" Partition of the "Disk" graphic bar, then right-click it, select "Format" option and "ext4" on the pop-out panel -- click the Green Checkmark on toolbar to "Apply" --- 
Again, this is your option -- the "Erase disk . ." option in Installer should do this anyway

(OPTION -- Unmount) -- "Live" session will show your internal eMMC on the Desktop, as "30 GB SD Card" (Xubuntu) or "30 GB Volume" (Lubuntu) --these obviously will be larger if you have a 4GB/64GB model. Oddly, the Lubuntu .iso auto-mounts the internal eMMC in "Live" mode, but Xubuntu does not (unless you click to Open it). You can check in either .iso by opening the File Manager, and right-clicking the "30 GB . ." in the left sidebar -- if "Mount" shows as an option, eMMC is not mounted, so just close File Manager. If right-click shows "Unmount," go ahead and click that -- then close File Manager.
Again, this is your option -- the Installer should reliably Unmount the eMMC, but this step eliminates one possible error

-------------------------------------------------------------------------------------------------------------
4. Close all Apps, including Volume Control, then Launch the "Install" shortcut on the Desktop, and follow to check "Normal Installation" for Lubuntu (Xubuntu doesn't have a "Normal/ Minimal" option) -- at this step, you can check "Download Updates" and "3rd-party Software" or not -- if selected though, we will leave the "Software Updater" at the 1st Installed boot until AFTER testing & finalizing Audio. 

4a. ONLY select "Erase disk and just install . . ." (if you did Format your System partition, this will be only option) --- below this, DO NOT check either "Encrypt . . ." or "LVM . . . " (both un-tested)

4b. follow the prompts through to re-start . . . 
--------------------------------------------------------------------------------------------------------------
At 1st INSTALLED BOOT --- Finalize Audio

-- re-connect to WiFi, and when "Software Updater" pops up, either Minimize it or click "Remind me later" -- we will install these, just not yet.

NEXT --- 

5. Open Volume Control panel again, verify both (or on Lubuntu, possibly 3) Audio devices are still listed on "Output" tab -- 
click to "Playback" tab and again launch some Audio in a Browser -- verify you can switch between the (top) "Atom/Celeron . . ." HDMI and the "Built-in . . " Headphones options on "Playback" tab -- but DO NOT switch any other settings on other tabs this time
---------------------------------------------------------------------------
NOTE -- This process to detect both cards & troubleshoot uses a hacked-up file at "/etc/pulse/default.pa" -- but going forward, the edits that worked for detection could -- and likely would -- cause Audio stability problems. 

The Good News is that once we have enabled and set-up the "Built-in Audio . . " for Headphones, those settings stay, and PulseAudio now can manage this card. Now we can convert both Audio cards to manual-load, with these two lines (HDMI first/ Headphone second line) -- 

load-module module-alsa-sink device=plughw:0,2
load-module module-alsa-sink device=hw:1,0

You do not need to edit "/etc/pulse/default.pa" yourself  --- a pre-edited "stable" version and a script to move it are included in these Xubuntu/ Lubuntu .iso's, at /usr/local/bin/
-----------------------------------------------------------------------------

6. Once you have verified both Audios, close the Browser (and any other applications that may have audio playing, if you tested others), but leave Volume Control open and visible, at the "Output" tab. Next open a Terminal -- /usr/local/bin/ is already in our default PATH, so just type and [ENTER] the name of the bash-script ---

              last_z83_audio.sh

which will prompt for sudo password, then moves "last_default.pa" from /usr/local/bin/ to overwrite "/etc/pulse/default.pa" with our final, stable edits

7. Watch for both Audio devices to come back up in Volume Control, but do not test them yet. Notice there is no longer a "Headphones / Speaker" option below "Built-in Audio . . ." and the "Configuration" tab shows "No cards available for configuration" -- we are now bypassing the Conrol settings of both Audio cards. Now you can launch some audio and test both cards again . . . 
---------------------------------------------------
**NOTE -- there should be more steps, for example to *reliably* set one Audio output as "default," and also fix the Nofication Panel "Speaker" plug-in, so it updates & stays in sync with actual Volume / Device info -- I have not finalized all this yet, and could use Help, if anyone has ideas or time to work on that --  for now, step #8 below is it . . . 
---------------------------------------------------
8a. From the Desktop, open your Home folder -- on the File Manager "View" menu, click "Show Hidden" -- several folders appear, we will open ".config" and then open the "pulse" folder inside it. Double-click the {....}-default-source file, and verify it is blank -- if not, Select All, Delete, then Save & Exit. 

8b. Now double-click to open the {....}-default-sink file --this is a SINGLE line, and must be EITHER ---

for HDMI, line is >>>                      alsa_output.plughw_0_2

OR for Headphone >>>                 alsa_ouput.hw_1_0

If anything else is listed in {....}-default-sink, edit this file to ONE of the proper "alsa_ouput.{ . . } lines given above, then Save & Exit

8c. Now in this same folder ( /home/{USER-NAME}/.config/pulse/ ) there is a "cookie" -- drag it out to your Desktop for now, or just to Trash -- this rids us of old settings, and PulseAudio will generate a new, current "cookie" when needed 

That's it (at last !!!) --- close everything except Volume Control, launch some Audio again, and re-test both Audio outputs, 
now on our final edits -- 
open the "Software Updater" we put aside before, and Install Updates now  --- 
re-boot, then test both Audio outputs one last time . . . . 

DONE !!!
------------------------------------------------------------------------------------------

If you try either of these .iso's, please do post your results to this thread --- but PLEASE do use the Blue "New Reply" button at lower Right-hand side . . . . . . .

These Instructions are LONG enough, we don't need to go on re-posting them "Quoted"   Rolleyes 

Thanks, Hu --- Thank You, everyone . . . .          -- PrairieJohn Rolleyes
Oh, thank you PrairieJohn for your hard work and hard work.

grateful to have you.

Thank you for helping more people. They will thank you very much.

I have put your article on top for more people to see.


Best regards,
Hu
Urgent issues or questions about mini pcs, please contact us by support@minisforum.com, we will try the best to get back within 24 hours.  Cool Cool
  Reply
#3
Post #3 -- added May 29, 2018

To Set HDMI Audio as default ---

Rather than re-post everything again in this thread, just follow "Post #2" in my thread for Ubuntu-Desktop / Budgie / and Mate --

http://www.minisforum.com/showthread.php?tid=204

The steps are the same, for Lubuntu & Xubuntu as well . . . . .             -- PJ
  Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)