OESF Portal | OESF Forum | OESF Wiki | LinuxPDA | #planetgemini chat on matrix.org | #gemini-pda chat on Freenode | #zaurus and #alarmz chat on Freenode | ELSI (coming soon) | Ibiblio

IPB

Welcome Guest ( Log In | Register )

> No audio under Kali 2019.1, Audio not working...
Geeber
post Apr 21 2019, 02:50 AM
Post #1





Group: Members
Posts: 18
Joined: 12-April 19
From: UK
Member No.: 846,013



Greetings

I have enjoyed using Kali for the Gemini PDA, however audio does not work at all.
I am assuming audio under Debian works since I haven't heard any complaints about it.
I can confirm that audio works when using Android.

I can tell you some possibly useful information about this.

(My audio is not muted in pavucontrol just in case anyone thought I hadn't checked.)

1. Another user has confirmed that under Kali their audio does not work.
2. Audio does play but will not move from the first null output. Even when changed to droid sink primary.
3 My Hostname as well as sinks, sources and so on show up in pasystray when right clicked.
4. When attempting to load module-droid-card through pactl the error "connection failed, connection terminated" appears. (My pulseaudio now closes when this happens due to my messing around with it, but beforehand it used to just give an error.)
5. If attempting to load ALSA mixer a permission denied error is given even when all users are in the audio group and even as root user.
6. Occasionally when an Application that produces sound is launched from terminal. You can see a few errors when attempting to connect to AlSA mixer such as connection refused permission denied.
7. I did actually manage to get audio working correctly but the process was long, awkward and after reboot it stopped working again.

Here is how I got audio to work briefly.
This process is highly not recommended as editing dependencies in the dpkg status file could seriously mess up your software and generally you aren't supposed to edit this file.

I added the gemian think globally repo to my Kali install. Then proceeded to uninstall the Kali version of pulseaudio and installed the version from the gemian repo. to do this required downgrading or ignoring libpulse0 which mean I had to go into my /var/lib/dpkg/status file. (made a backup beforehand.) and deleted every dependency on libpulse0.
(I restored them afterwards by searching through the file and adding the deleted dependency from my backup.) Then I installed the gemian version of I think libpulse0 along with pulseaudio and pulseaudio-module-droid.

Now if I put my ear right up to the speakers when the PDA was shutting down I could hear static coming from the speakers. No luck with audio working sadly. Pulseaudio didn't show any sinks or sources.

So finally I decided to uninstall the gemian pulse audio and reinstall Kali pulseaudio. While also restoring all of the libpulse0 dependencies back to their orignal state. After I launched an application that supported sound and like magic audio was working. I don't even know if the right sounds were being played but it was definitely playing sounds.

Then after a reboot audio was gone forever and was back to not working at all.

After some googling I do have a guess that the version of pulseaudio from the gemian repo creates some necessary snd device files. But its configuration didn't work and after reinstalling the version from Kali, the correct snd files were found and therefore the audio worked correctly. I know these are created on system boot. So when a reboot was done. It would explain why there was no audio as I do think that the configuration of pulseaudio on kali seems to be correct.

I lack the experience or know-how to fix a problem of this complexity. Apologies for the long post.

Hope someone can provide some help or at the very least this can be documented as a problem.
Go to the top of the page
 
+Quote Post
 
Start new topic
Replies
Geeber
post May 6 2019, 01:11 AM
Post #2





Group: Members
Posts: 18
Joined: 12-April 19
From: UK
Member No.: 846,013



Afterwards I would comment out the repo again obviously.
Go to the top of the page
 
+Quote Post

Posts in this topic


Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



RSS Lo-Fi Version Time is now: 16th September 2019 - 07:02 PM