Use Audiojack instead of HDMI audio
#41
(07-16-2016, 07:20 PM)pfeerick Wrote:
(07-16-2016, 03:12 PM)jwouellette Wrote:
(07-15-2016, 06:31 PM)jwouellette Wrote: Well, I'm a NOOB and having difficulty. I've tried the earlier commands and gotten nowhere. In mPlayer, VLC and system sound settings, I do see the added analog audiocodec Analog Stereo (1 Output / 2 Inputs, Analog Stereo Output + Analog Mono Input), in the Output tab of Sound Preferences (Ubuntu MATE) but no matter what I select... bubkiss, nada, zippo. Maybe I've got it all horked up... I dunno.

I'm using a Baven BZ650 BT speaker plugged directly into the headphone jack. 

Any more ideas? I do appreciate the expertise and patience of the gurus. Sometimes things are just tougher to grok for the rest of us....
i updated to the latest kernel and boot.
ran the fix_anything script.
i can see the analog audiocodec (1 output, 1 input) and it detects headphones in the Sound Preferences, but still nothing coming out of the speaker. Even tried my miniamp and studio monitors...nada.
...


Ok, so you've got the latest kernel and uboot. Did you try the commands I used in this thread? They were the commands I needed to get audio working on my debian image. Essentially what you are doing is installing the required audio packages, making sure the required drivers are enabled, fixing up the audio mixer, ensuring the current user actually has audio access privileges, and rebooting to get everything up and running. 


Code:
sudo apt-get install alsa-base alsa-utils
sudo apt-get install pulseaudio

sudo su

cat <<EOF >/etc/modules-load.d/pine64-audiojack.conf
sunxi_codec
sunxi_i2s
sunxi_sndcodec
EOF

exit

wget https://raw.githubusercontent.com/longsleep/build-pine64-image/master/blobs/asound.state

sudo mv asound.state /var/lib/alsa/asound.state

sudo usermod -a -G audio username

sudo reboot now

I tried these earlier, but just for giggles, decided to just run the commands again:
  • after the install alsa command, a response that the newest versions were already installed
  • after the install pulseaudio command, a response that the newest versions were already installed
  • after the EOF... nothing
  • after wget... file retrieved
  • after mv & usermod.... nothing
rebooted and ....
now, the analog audiocodec is missing. Back to just the sndhdmi... gee, thanks for the help.... Angry
--
regards,
J. Ouellette
    A64-DB-2G-RevB (2016-03-21)
    +WiFi/BT +IR
    Android Lollipop
    Ubuntu/Xenial 16.04LTS/3.10.102-2-pine64-longsleep (64GB)
    Debian 8.5 (jessie)/MATE 1.8.1/3.10.102-2-pine64-longsleep (64GB)


Messages In This Thread
Use Audiojack instead of HDMI audio - by pictus - 04-27-2016, 12:45 PM
RE: Use Audiojack instead of HDMI audio - by Luke - 04-29-2016, 07:13 PM
RE: Use Audiojack instead of HDMI audio - by jwouellette - 07-18-2016, 04:47 PM
lenny, help with audio jack - by rahlquist - 04-28-2016, 11:35 AM
RE: lenny, help with audio jack - by baryluk - 04-28-2016, 04:21 PM
RE: lenny, help with audio jack - by rahlquist - 04-28-2016, 09:27 PM
RE: lenny, help with audio jack - by tllim - 04-28-2016, 04:41 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  +LTS/SOPINE Audio Jack Pinout Little_Johnny 0 3,297 12-29-2019, 08:44 AM
Last Post: Little_Johnny
  Pine64 (analog) Audio Jack Output w/ Kernel 4.19 ecolezen 0 3,401 01-24-2019, 07:00 AM
Last Post: ecolezen
  PINE64 STEREO AUDIO DAC POT jtgiroux 0 3,484 01-12-2019, 04:56 PM
Last Post: jtgiroux
  Sound quality from audio jack devanl 0 3,578 10-11-2017, 10:39 PM
Last Post: devanl
  Audio Extractor Ralck 1 4,935 05-25-2017, 12:25 PM
Last Post: dkryder
  Using the pine64 with AVR - HDMI pass-through Moshe.Vazan 4 6,880 01-02-2017, 02:58 PM
Last Post: Moshe.Vazan
  HDMI touch screen not detected Radio 2 5,060 09-29-2016, 06:42 AM
Last Post: Luke

Forum Jump:


Users browsing this thread: 3 Guest(s)