Difference between pages "News:New Media Mix-ins" and "Test"

(Difference between pages)
 
 
Line 1: Line 1:
{{News
+
{{#widget:YouTube16x9|playlist=PL2YVrx9jFJOewYI7f15FahwLOZlFCRqjZ|autoplay=1}}
|Summary=Funtoo Linux now has new media mix-ins. Learn about them and how to use them.
+
 
|News Format=Extended
+
{{#ask: [[Category:News]] [[Publication Status::Published]]
|News Category=General
+
|
|Author=Drobbins
+
| order=descending
|Publication Status=Published
+
| sort=Publication Date
|Publication Date=2015/01/11
+
| format=feed
 +
| page=full
 +
| title=Funtoo Linux News
 +
| description=Latest Funtoo Linux news
 +
|type=atom
 +
| limit=20
 
}}
 
}}
Hello everyone,
 
  
Funtoo Linux has amazing support for all different kinds of audio, video and graphics formats, as well as media devices that can be enabled via USE flags -- but let's face it  -- with all this flexibility has come a certain amount of complexity in enabling all the USE flags you need for a particular application. I've tried to address this by [[Funtoo Profiles|enhancing the profile system]] to include flavors and mix-ins, and creating a {{c|media}} mix-in that enables stuff that a lot of people will want, which is auto-enabled in the {{c|desktop}} and {{c|workstation}} profile. But I always knew that this, while an improvement, was not the final word on media support in Funtoo Linux, and that we needed to do more work here.
+
{{#get_web_data:url=http://build.funtoo.org/index.xml|format=xml|use xpath|data=builds=/subarches/subarch[@name='amd64-bulldozer']/@builds}}
 +
;Builds: {{#external_value:builds}}
  
Recently, thanks to assistance from [[User:Mgorny|Michał Górny]], we have been able to implement my design for second-generation media support to Funtoo Linux! Here's how it works. Rather than have a single mix-in called "media", we now have finer-grained categories, and the existing {{c|media}} mix-in has been upgraded to pull in a subset of these categories. Let's look at all the new mix-ins:
+
asdflk asdlfk asdlf alsdf lasd flasd flasd flasd flasd flasd flasd flas dflasd flasdl flasdf lasdfl alsdf lasdf lasdflafsd la sdf
 +
<div style="align: center;">
 +
[[{{#show: Organization:Brownrice Internet| ?Logo|link=none}}|350px|class=img-orglogo|link=Organization:Brownrice Internet]]<br/>
 +
[[Organization:Brownrice Internet|Learn about Funtoo-friendly organization: Brownrice Internet]]</div>
 +
asdflk asdlfk asdlf alsdf lasd flasd flasd flasd flasd flasd flasd flas dflasd flasdl flasdf lasdfl alsdf lasdf lasdflafsd la sdf
 +
{{fullurl:News:The Many Builds of Funtoo Linux}}
 +
{{#widget:AddThis}}
  
=== Media Device Mix-ins ===
+
I like the {{f|/etc/make.conf}} file, which can also be referred to as {{f|/etc/portage/make.conf}}. It is a groovy file. Another cool file is {{f|/etc/fstab}}.
  
Media device mix-ins have been created to support media devices, including external and portable devices, and associated low-level hardware support and hardware-focused codecs. Media devices have been categorized into audio and video categories, and consumer and professional categories. "Consumer" devices are those devices that regular desktop users might typically use, while "professional" devices are those that professionals, hobbyists or enthusiasts would typically use. Here are the new mix-ins for media devices:
+
=== make.conf mentions ===
  
{{TableStart}}
+
{{#ask: [[Mentions file::make.conf]]
<tr><th class="active">Mix-in</th><th class="active">Description</th></tr>
+
| format=category
<tr><td>{{c|mediadevice-base}}</td><td>Common, universally-supported media devices, like IEEE-1394 (Firewire), CDDA, CDIO. Other mediadevice mix-ins have this as a parent.</td></tr>
+
}}
<tr><td>{{c|mediadevice-audio-consumer}}</td><td>Consumer audio devices, such as personal portable media players (iOS, iPod, etc.)</td></tr>
+
<tr><td>{{c|mediadevice-audio-pro}}</td><td>Pro audio support, such as JACK.</td></tr>
+
<tr><td>{{c|mediadevice-video-consumer}}</td><td>Consumer video support, such as DVD, Blu Ray, V4L</td></tr>
+
<tr><td>{{c|mediadevice-video-pro}}</td><td>Pro video support, such as dv, dc1394.</td></tr>
+
{{TableEnd}}
+
  
=== Media Format Mix-ins ===
+
{{console|body=
 
+
# ##i##bluetoothctl
Media format mix-ins have been created to support media formats for reading, writing, encoding and decoding images, audio and video. They have been organized into a "common" collection, for popular formats, and an "extra" collection, which is intended to include "everything else". Let's look at the new mix-ins:
+
[##g##NEW##!g##] Controller 00:02:72:C9:62:65 antec [default]
 
+
##bl##[bluetooth]##!bl###power on
{{TableStart}}
+
Changing power on succeeded
<tr><th class="active">Mix-in</th><th class="active">Description</th></tr>
+
##bl##[bluetooth]##!bl### ##i##agent on
<tr><td>{{c|mediaformat-video-common}}</td><td>Common (ie. popular) video formats.</td></tr>
+
Agent registered
<tr><td>{{c|mediaformat-video-extra}}</td><td>More esoteric video formats.</td></tr>
+
##bl##[bluetooth]##!bl### ##i##scan on
<tr><td>{{c|mediaformat-audio-common}}</td><td>Common (ie. popular) audio formats.</td></tr>
+
Discovery started
<tr><td>{{c|mediaformat-audio-extra}}</td><td>More esoteric audio formats.</td></tr>
+
##bl##[bluetooth]##!bl### ##i##devices
<tr><td>{{c|mediaformat-gfx-common}}</td><td>Common (ie. popular) graphics formats.</td></tr>
+
Device 00:1F:20:3D:1E:75 Logitech K760
<tr><td>{{c|mediaformat-gfx-extra}}</td><td>More esoteric graphics formats.</td></tr>
+
##bl##[bluetooth]##!bl### ##i##pair 00:1F:20:3D:1E:75
{{TableEnd}}
+
Attempting to pair with 00:1F:20:3D:1E:75
 
+
[##y##CHG##!y##] Device 00:1F:20:3D:1E:75 Connected: yes
=== How to Use Them ===
+
##r##[agent]##!r## Passkey: 454358
 
+
##r##[agent]##!r## Passkey: ##i##4##!i##54358
Our existing {{c|media}} mix-in still exists, and is still pulled in by the {{c|desktop}} and {{c|workstation}} flavors automatically. It now includes the following parent mix-ins:
+
##r##[agent]##!r## Passkey: ##i##45##!i##4358
 
+
##r##[agent]##!r## Passkey: ##i##454##!i##358
* {{c|mediadevice-audio-consumer}}
+
##r##[agent]##!r## Passkey: ##i##4543##!i##58
* {{c|mediadevice-video-consumer}}
+
##r##[agent]##!r## Passkey: ##i##45435##!i##8
* {{c|mediaformat-audio-common}}
+
##r##[agent]##!r## Passkey: ##i##454358##!i##
* {{c|mediaformat-gfx-common}}
+
[##y##CHG##!y##] Device 00:1F:20:3D:1E:75 Paired: yes
* {{c|mediaformat-video-common}}
+
Pairing successful
 
+
[##y##CHG##!y##] Device 00:1F:20:3D:1E:75 Connected: no
In addition, there is a new {{c|media-pro}} mix-in which needs to be enabled manually, which pulls in the following mix-ins:
+
##bl##[bluetooth]##!bl### ##i##connect 00:1F:20:3D:1E:75
 
+
Attempting to connect to 00:1F:20:3D:1E:75
* {{c|mediadevice-audio-pro}}
+
[##y##CHG##!y##] Device 00:1F:20:3D:1E:75 Connected: yes
* {{c|mediadevice-video-pro}}
+
Connection successful
 
+
##bl##[bluetooth]##!bl### ##i##quit
So typically, you would enable the {{c|desktop}} or {{c|workstation}} flavor, and if you need professional hardware support, you'd also enable the {{c|media-pro}} mix-in. If you needed any additional media formats support, you could enable one or more of the {{c|mediaformat-*-extra}} mix-ins to add the formats you needed. Of course, it's possible to enable only the specific mix-ins you need, and also complement these mix-ins with specific USE variable settings you might require.
+
[##r##DEL##!r##] Controller 00:02:72:C9:62:65 antec [default]
 
+
#
If you're new to Funtoo Profiles, see the [[Funtoo Profiles]] pages for more information on how they work.
+
}}
 
+
=== Conclusion ===
+
 
+
Going forward, these mix-ins can be maintained to include new USE flags that are created, providing an easy way for people to enable the features they need without looking through long lists of USE variables. I hope you like the new system!
+
{{NewsFooter}}
+

Revision as of 01:46, February 17, 2015

{{#ask: Publication Status::Published | | order=descending | sort=Publication Date | format=feed | page=full | title=Funtoo Linux News | description=Latest Funtoo Linux news |type=atom | limit=20 }}


Builds
1,2,3,4,5,6

asdflk asdlfk asdlf alsdf lasd flasd flasd flasd flasd flasd flasd flas dflasd flasdl flasdf lasdfl alsdf lasdf lasdflafsd la sdf

[[{{#show: Organization:Brownrice Internet| ?Logo|link=none}}|350px|class=img-orglogo|link=Organization:Brownrice Internet]]

Learn about Funtoo-friendly organization: Brownrice Internet

asdflk asdlfk asdlf alsdf lasd flasd flasd flasd flasd flasd flasd flas dflasd flasdl flasdf lasdfl alsdf lasdf lasdflafsd la sdf http://www.funtoo.org/News:The_Many_Builds_of_Funtoo_Linux

I like the /etc/make.conf file, which can also be referred to as /etc/portage/make.conf. It is a groovy file. Another cool file is /etc/fstab.

make.conf mentions

{{#ask: Mentions file::make.conf | format=category }}

# bluetoothctl 
[NEW] Controller 00:02:72:C9:62:65 antec [default]
[bluetooth]#power on
Changing power on succeeded
[bluetooth]# agent on
Agent registered
[bluetooth]# scan on
Discovery started
[bluetooth]# devices
Device 00:1F:20:3D:1E:75 Logitech K760
[bluetooth]# pair 00:1F:20:3D:1E:75
Attempting to pair with 00:1F:20:3D:1E:75
[CHG] Device 00:1F:20:3D:1E:75 Connected: yes
[agent] Passkey: 454358
[agent] Passkey: 454358
[agent] Passkey: 454358
[agent] Passkey: 454358
[agent] Passkey: 454358
[agent] Passkey: 454358
[agent] Passkey: 454358
[CHG] Device 00:1F:20:3D:1E:75 Paired: yes
Pairing successful
[CHG] Device 00:1F:20:3D:1E:75 Connected: no
[bluetooth]# connect 00:1F:20:3D:1E:75
Attempting to connect to 00:1F:20:3D:1E:75
[CHG] Device 00:1F:20:3D:1E:75 Connected: yes
Connection successful
[bluetooth]# quit
[DEL] Controller 00:02:72:C9:62:65 antec [default]
#