Linux Fedora 35 audio not working on GemiBook CWI528 - audio

I have a Chuwi GemiBook 13.3 Mod CWI528 with Fedora 35.
All it is working fine, except audio. I have read on some forum that it's an issue on some GemiBook versions related to the chip used for audio sound-card. But those posts are also a couple of years old.
How can I find the audio chip version installed on my laptop and how can i determine if it is not yet supported by kernel ?
All helps are appreciated.
Thanks in advance.
gp

Related

ov5642 not working in 30fps

We have a customized i.MX6Q Board based on sabrelite reference board.
We have the following configuration:
Linux : 3.10.53
Gstreamer 1.0 latest i.MX6 Plugins
We connected OV5642 Camera over CSI Interface..Used the following command to display the camera output on the screen.
gst-launch-1.0 imxv4l2videosrc device=/dev/video0 imx-capture-mode=4 fps-n=15 ! imxipuvideosink
It works, but initially, it takes time to settle for few seconds, there is genlock issue
But when I modify the fps to 30, I get distorted output.. What do you think is wrong here.. Any help is appreciated...
Could be related to imxv4l2videosrc. Obviously you also guessed it since you also posted the same question on GitHub. Setting the environment variable GST_DEBUG=3 could give you more information. 3 means FIXME, so you would see if this is a problem some developer is already aware of. See Running GStreamer Applications for more information on GST_DEBUG.

Fedora arm - Orange Pi plus 2e

I have Orange Pi Plus 2e.
I want to install Fedora 24 on it.
So from
https://arm.fedoraproject.org/
I download "Fedora minimal"
https://download.fed...-1.2-sda.raw.xz
Next I unpack it:
xz -d Fedora-Minimal-armhfp-24-1.2-sda.raw.xz
and write to micro sdhc card:
dd if=Fedora-Minimal-armhfp-24-1.2-sda.raw of=/dev/my_micro_sdhc_card
(I write it to card, not to partition on card).
I have new partitions on this card like:
boot
/
swap
I put my card to Orange and turn it on, but it does not load Fedora.
Does anyone know how to do it, has any experience, can share some knowledge, links with me ?
Fedora offers a script to write the disk image as well as board specific U-Boot and dtb. You can find more information here - https://fedoraproject.org/wiki/Architectures/ARM/F24/Installation#Fedora_Arm_Installer . Be sure to use the latest version in updates-testing (fedora-arm-installer-1.99.12-1.fc24).
We would appreciate feedback or any issues you encounter, you can visit us in #fedora-arm on Freenode or send to our mailing list - https://admin.fedoraproject.org/mailman/listinfo/arm
Paul

ADS1256 and Raspberry Pi

My aim is to get my Raspberry Pi 2 connected to an adc ( which will have 8 channels and resolution should be higher than 16 bits or 16 bit )
And according to analog values from load-cells. I am going to make a weighing indicator. with 4 channels.
I have selected Texas Instruments ads1256 chip to do it.
It is 24 bit delta sigma adc.
First I have made PCB With 2 ads1256.
Simply did not work. Spidev results are random or all result is all FF in hex.
I realised , i need some kernel driver for it.
I am new to unix/linux raspbian by the way.
I thought , it 's true. It's like trying to communicate through rs232 over a converter that windows driver doesn't exist.
But there is no kernel driver for this. I asked Texas, they answered like we don't have, good day, i am closing this.
Then i found and i bought this product from china !
http://www.waveshare.com/high-precision-ad-da-board.htm
It seemed fine to me. After one week, the card came to me.
There is an example code after all. I was going to connect this on my raspberry and run the example code and get the adc values.
I did everything on thier instructions.
But turns out it doesn't work.
http://i57.tinypic.com/2efupgh.jpg
So Please show me the path :D what to do now.
It is strange but this solved as below ;
in manufacturer website , there are instructions list. 2 libraries. bcm2835 and wiringPi , i have installed bcm first. ( i did not follow top to bottom ) first i installed bcm2835 then wiringPi. Then it worked.
still don't know how.
sudo apt-get install rpi-update
sudo apt-get update
sudo apt-get upgrade
sudo raspi-config
( enable spi and device tree )
install bcm2835
install wiringPi
then it works

Which version of linux has support for Dolby Advanced Audio v2?

I am using LENEVO G500 Laptop and my sound card has support for Dolby Advanced Audio v2 that works nicely in Windows OS (i.e. Windows 7, 8 and 8.1). However I have failed to enable Dolby sound effect in my Linux OS (have tried it with Linux Mint 17, Fedora 20).
Does anyone have an idea which linux version has support for this feature or how I can enable in a linux OS.
I would appreciate if you could direct me to the right direction.
Thanks.
I've googled out a very good advise on forums that helps me to achieve a Dolby like sound on my Kubuntu 19.04 with Lenovo g780.
Install PulseEffects https://github.com/wwmm/pulseeffects
(repos with deb files are here: https://github.com/wwmm/pulseeffects/wiki/Package-Repositories#debian--ubuntu)
Restart the user session or reboot after this, because PulseAudio will be upgraded, and it may cause problems if you don't restart.
Run PulseEffects and close it. It'll create all settings dirs on first launch. They required for next step.
Install PulseEffects-Presets from here: https://github.com/JackHack96/PulseEffects-Presets
(I've used the suggested script that automatically downloads them to PulseEffects import dirs, it will require flatpak that could be got from repos with sudo apt install flatpak)
Launch PulseEffects again. Select Convolver. Enable it. Click on wave button. You'll see a list of presets. Enable:
Dolby ATMOS ((128K MP3)) 1.Default.irs
Close the dialog and that's it. You can toggle Convolver in PulseEffects on and off while playng music to compare results. You may play with other presets as well.
For improving sound on a notebook or a tablet PulseEffects help pages come with a tuorial about how to achieve this.
App can be minimized to tray on GTK-enabled desktops with an additional application: https://github.com/boomshop/pulseffectstray
It's better enable autostart in app settings (it will copy it's desktop file to ~/.config/autostart with --gapplication-service command line. So next time start without GUI).
It is possible to get reasonably close to the Dolby Advanced Audio output on Linux.
TLDR:
Record the result of playing a -0dBFS impulse in Windows with all effects enabled. Save that as a wav file and use it as input to the PulseEffects Convolver.
Step-by-step:
Install Audacity in Windows.
Configure Audacity to use WASAPI
Select the loopback device as input
Select your laptop speakers as output, making sure all Dolby Advanced Audio effects are enabled.
Start recording
Play an impulse audio file (you might need to do this twice, Audacity often doesn't pick up the first impulse.
Zoom in and select the area around the recorded impulse (see screenshot below)
Export the selection as a WAV file and change the extension to irs
Import this irs file into the Convolver.
Some notes:
Audacity isn't required, presumably any software capable of recording from the output device will be fine.
To avoid any changes introduced by sample rate conversion, set the sample rate of the output and input devices in Windows to be the same.
When recording, in Step 5, Audacity would not record unless audio was playing. This is probably due to using WASAPI. Just start recording, play the impulse and if you don't see it in the recording output as a single spike, play it again.
The screenshot is quite heavily zoomed in so that you can see the area where there is data. When selecting what to export, try to make sure the selection is roughly centered around the central peak. It doesn't have to be perfect.
As a useful check to make sure what you are recording has been processed by Dolby Advanced Audio, you can disable all effects on the output device in Windows and record the impulse a second time. This should show up as a single peak sample and not the symmetric pattern.
After a bit of research I found this explanation that seems to have satisfied my query. It generally says ...
There isn't going to be an easy fix for this, unless Dolby releases a Linux driver or publishes more information on what exactly their software is doing (which is unlikely).
Haswell-ThinkPad-problems, linux-low-audio-quality
Beware that recently PulseEffects has changed it's name to EasyEffects, but PulseEffects-Presets hasn't updated it's config files to cover this change; Therefore this answer might not be applicable anymore.

Java ME AudioSamples do not work on Ubuntu

I'm using Ubuntu 11.04 and trying to import Sun Wireless Toolkit 2.5.2 audio sample project in NetBeans 6.9. On Windows this works, while on Ubuntu, when running the sample midlet code, it does not make any sound, even not playing a simple tone.
After player.start() nothing happens, checking player.getMediaTime() gets always 0, and finally attempt to stop = player.stop() will not return the call at all.
I've searched all over the place. This post seems to report an answer for a potentially similar problem when using FreeTTs:
FreeTTS no audio linux ubuntu - no errors
the suggested workaround involves modifying/replacing the player class in com.sun.speech.freetts.audio packages. I wonder how to find the corresponding class that causes the lock in my case.
Probably it's easier to drop Ubuntu and use Windows VM for development, but at least I'd like to try. Maybe there is a simple solution.
Updated: Any type of player plays well on my Ubuntu box. Also I tried to use different non-me code, such as JLayer or Jorbis based players, even Java sound API. All work. It's just somewhere in the Java ME style player where it breaks down.

Resources