S3c2440 UDA1341 audio card driver and madplay player transplantation,
1. Configure the UDA1341 driver for the Sound CardBecause mini3.0 kernel has the mini2440 initialization file, so directly go to the/arch/arm/mach-s3c2440/mach-mini2440.c to view the changes to get
--- mach-smdk2440_o.c 2015-04-24 11:39:20.492017397 +0800 +++ mach-smdk2440.c 2015-04-24 12:26
The audio card driver loading method, which may be helpful to new users-general Linux technology-Linux technology and application information, is described below. (1) install alsa-driver:
Remove the previous dependency before installation.
Tar zxvf alsa-driver-1.0.9b_26_evoc.tar.gz
Grep-r? N 'southbridge chip './*
Cd a
firstThe main device that provides BCLK and Lrck clocks.1, in the left alignment mode, the MSB can be in the bclk of the first rising edge of the following LRCLK transition.2. In right-justified mode, the LSB can transition before the last rising edge of the BCLK LRCLK.3. In i2s mode, the MSB can transition from the second rising edge of the BCLK following the lrclk of a transition.4, some sound cards also support the DSP format, the format is not pa
I used the uda1341 audio chip in the Development Board, followed by the standard IIS bus. in Linux, the support for IIS and uda1341 has been improved, we only need to set the corresponding IIS pin as the pin of the schematic design of our development board.
1. The configuration of the makemenuconfig sound card is as follows:
Device Drivers
2. Configure the Sound Card
/*This article is prepared by Mo Gray Ash, reproduced please indicate the source.mo Ash Gray mailbox: [email protected]*/1. Vulnerability descriptionThe audio driver ACDB provides an IOCTL system interface for the application layer to invoke, however, it does not do a valid bounds check when processing the passed in parameters. Applications can achieve the purpose of elevation of privilege by/dev/msm_acdb d
/6133229.aspx.
Ii. By default, the GCC and G ++ compilers are not installed on fedora. Therefore, as a coder, the first thing to do is install GCC, G ++:
Yum install GCC gcc-C ++
Iii. decoder Installation
Audio decoder:
Yum install gstreamer *
Video Decoder:
Yum install FFMPEG-libs gstreamer-FFMPEG libmatrosca xvidcore libdvdread libdvdna v lsdvd
Extended totem playback DVD:
Yum install totem-xine totem-gstreamer xine-Lib-extras-freeworld
4. Instal
Linux audio device driver-Linux general technology-Linux programming and kernel information. For more information, see the following section. # Include
# Include
# Include
# Include
# Include
# Include
# Include
# Include
# Define BUF_LENGTH 2000
# Define CHANNELS 0/* 0 -- single channel;
I reinstalled my computer yesterday and found that the sound card could not be installed.Driver genieTested. The model isIntel 82801db ich4-ac'97 Audio Controller [A-1]
As a result, more than a dozen drivers of this model cannot be installed, and other software is used for testing.
C-media cmi9738 @ intel 82801db ich4-AC '97 Audio Controller [A-1] PCI
The drivers of Intel and realtak have been test
After the upgrade of the sound card suddenly can not use, find a lot of methods, and finally reinstall ALSA Drive solution. Back up for later use. You can refer to the compile alsa-utils here when there are errors, to install Xmlot, with the new profit search installation can be
1157 sudo gedit/etc/modprobe.d/alsa-base.conf
1160 CD alsa/alsa-driver-1.0.23/
1161 ls
1162./configure--with-cards=hda-intel
1163 make
1164 sudo make
1165 sudo make install
dai_dev_list;};
Snd_soc_card contains snd_card, which can be understood as an encapsulation of the audio card driver.
2. soc pcm
[Cpp] struct snd_soc_pcm_runtime {Struct device dev; // The device file.Struct snd_soc_card * card; // soc sound card deviceStruct snd_soc_dai_link * dai_link; // dai linkUnsigned int complete: 1;Unsigned int dev_registered: 1;/* Trans
different devices. For the former, see alsacontrol of android2.2. CPP, which will be mentioned in later chapters. I prefer the implementation of asound. conf, which is highly flexible. I just need to change asound. conf with different codec .]
Iii. Audio paths code implementation
After knowing how to configure the sound path, return to the driver code implementation. The
Statement: the content of this blog is composedHttp://blog.csdn.net/droidphoneOriginal, reprinted please indicate the source, thank you! 1. struct snd_card
1.1. What is snd_card?
Snd_card is a top-level structure of the entire ALSA audio driver. The software logical structure of the Sound Card begins with this structure. Almost all audio-related logical device
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.