<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="ca">
	<id>http://wiki.joanillo.org/index.php?action=history&amp;feed=atom&amp;title=HP_Pavilion_g_series._Preparaci%C3%B3_per_a_audio</id>
	<title>HP Pavilion g series. Preparació per a audio - Historial de revisió</title>
	<link rel="self" type="application/atom+xml" href="http://wiki.joanillo.org/index.php?action=history&amp;feed=atom&amp;title=HP_Pavilion_g_series._Preparaci%C3%B3_per_a_audio"/>
	<link rel="alternate" type="text/html" href="http://wiki.joanillo.org/index.php?title=HP_Pavilion_g_series._Preparaci%C3%B3_per_a_audio&amp;action=history"/>
	<updated>2026-08-30T11:40:45Z</updated>
	<subtitle>Historial de revisió per a aquesta pàgina del wiki</subtitle>
	<generator>MediaWiki 1.34.2</generator>
	<entry>
		<id>http://wiki.joanillo.org/index.php?title=HP_Pavilion_g_series._Preparaci%C3%B3_per_a_audio&amp;diff=249612&amp;oldid=prev</id>
		<title>Joan: /* Effect plugins and virtual instruments */</title>
		<link rel="alternate" type="text/html" href="http://wiki.joanillo.org/index.php?title=HP_Pavilion_g_series._Preparaci%C3%B3_per_a_audio&amp;diff=249612&amp;oldid=prev"/>
		<updated>2012-07-04T16:16:50Z</updated>

		<summary type="html">&lt;p&gt;&lt;span dir=&quot;auto&quot;&gt;&lt;span class=&quot;autocomment&quot;&gt;Effect plugins and virtual instruments&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;Pàgina nova&lt;/b&gt;&lt;/p&gt;&lt;div&gt;=Instal.lació Ubuntu 12.04=&lt;br /&gt;
*[[Portàtil_HP_Pavilion_g_series_(institut)]]&lt;br /&gt;
&lt;br /&gt;
=Preparació per a audio=&lt;br /&gt;
*https://help.ubuntu.com/community/UbuntuStudioPreparation&lt;br /&gt;
==The basics==&lt;br /&gt;
First of all, you have of course to install Ubuntu. Choose your desktop environment for performance, use, personnal preference, etc... (Unity, Gnome Classic, Gnome Shell, Xfce...)&lt;br /&gt;
&lt;br /&gt;
The recommanded desktop for multimedia production is now Xfce, so starting with installing Xubuntu should be the good choise. However, if you already have installed a standard Ubuntu, you may want to add Xfce with Ubuntu branding, but not all Xubuntu extra stuff.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ sudo apt-get install ubuntustudio-desktop&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Son 252MB, instal.la l'escriptori xfce.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ sudo apt-get install vlc ubuntu-restricted-extras ubuntustudio-menu&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
VLC is a multimedia player able to read, write and stream all kind of multimedia files ; ubuntu-restricted-extras will install all multimedia codecs you may need ; ubuntustudio-menu is usefull for Gnome Classic and Xfce menus.&lt;br /&gt;
==Unofficial Backports==&lt;br /&gt;
===Medibuntu===&lt;br /&gt;
The Medibuntu project packages &amp;quot;non-free&amp;quot; applications. You will find codecs, complete version of application like mplayer, and the libdvdcss library to read encrypted DVDs in Ubuntu.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ sudo -E wget --output-document=/etc/apt/sources.list.d/medibuntu.list http://www.medibuntu.org/sources.list.d/$(lsb_release -cs).list &amp;amp;&amp;amp; sudo apt-get --quiet update &amp;amp;&amp;amp; sudo apt-get --yes --quiet --allow-unauthenticated install medibuntu-keyring&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
===Real Time kernel===&lt;br /&gt;
De moment no l'instal.lo a no ser que la baixa latència que ofereix de per si el kernel no fos suficient.&lt;br /&gt;
===Wine===&lt;br /&gt;
De moment no&lt;br /&gt;
===Update system===&lt;br /&gt;
With all that, you will have almost all codecs, libraries, application, etc... available and updated for GNU/Linux in Ubuntu. So, think to update with apt-get or Synaptic !!!&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ sudo apt-get --quiet update &amp;amp;&amp;amp; sudo apt-get --yes --quiet upgrade&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
==Hardware==&lt;br /&gt;
If your card is said to be supported, you may need some additional alsa packages. Install the Medibuntu repository (see &amp;quot;Unofficial Backports&amp;quot; section).&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ sudo apt-get install alsa-firmware-loaders alsa-tools alsa-tools-gui alsa-firmware&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
En aquest moment connecto la Edirol UA-25EX. I ja es pot utilitzar tant la interfície de so interna com l'externa (USB):&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ aplay -l&lt;br /&gt;
**** List of PLAYBACK Hardware Devices ****&lt;br /&gt;
card 0: PCH [HDA Intel PCH], device 0: STAC92xx Analog [STAC92xx Analog]&lt;br /&gt;
  Subdevices: 1/1&lt;br /&gt;
  Subdevice #0: subdevice #0&lt;br /&gt;
card 0: PCH [HDA Intel PCH], device 3: HDMI 0 [HDMI 0]&lt;br /&gt;
  Subdevices: 1/1&lt;br /&gt;
  Subdevice #0: subdevice #0&lt;br /&gt;
card 1: UA25EX [UA-25EX], device 0: USB Audio [USB Audio]&lt;br /&gt;
  Subdevices: 0/1&lt;br /&gt;
  Subdevice #0: subdevice #0&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
I obtinc més informació amb '''aplay -L''' (majúscula):&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ aplay -L&lt;br /&gt;
default&lt;br /&gt;
    Playback/recording through the PulseAudio sound server&lt;br /&gt;
sysdefault:CARD=PCH&lt;br /&gt;
    HDA Intel PCH, STAC92xx Analog&lt;br /&gt;
    Default Audio Device&lt;br /&gt;
front:CARD=PCH,DEV=0&lt;br /&gt;
    HDA Intel PCH, STAC92xx Analog&lt;br /&gt;
    Front speakers&lt;br /&gt;
surround40:CARD=PCH,DEV=0&lt;br /&gt;
    HDA Intel PCH, STAC92xx Analog&lt;br /&gt;
    4.0 Surround output to Front and Rear speakers&lt;br /&gt;
surround41:CARD=PCH,DEV=0&lt;br /&gt;
    HDA Intel PCH, STAC92xx Analog&lt;br /&gt;
    4.1 Surround output to Front, Rear and Subwoofer speakers&lt;br /&gt;
surround50:CARD=PCH,DEV=0&lt;br /&gt;
    HDA Intel PCH, STAC92xx Analog&lt;br /&gt;
    5.0 Surround output to Front, Center and Rear speakers&lt;br /&gt;
surround51:CARD=PCH,DEV=0&lt;br /&gt;
    HDA Intel PCH, STAC92xx Analog&lt;br /&gt;
    5.1 Surround output to Front, Center, Rear and Subwoofer speakers&lt;br /&gt;
surround71:CARD=PCH,DEV=0&lt;br /&gt;
    HDA Intel PCH, STAC92xx Analog&lt;br /&gt;
    7.1 Surround output to Front, Center, Side, Rear and Woofer speakers&lt;br /&gt;
hdmi:CARD=PCH,DEV=0&lt;br /&gt;
    HDA Intel PCH, HDMI 0&lt;br /&gt;
    HDMI Audio Output&lt;br /&gt;
dmix:CARD=PCH,DEV=0&lt;br /&gt;
    HDA Intel PCH, STAC92xx Analog&lt;br /&gt;
    Direct sample mixing device&lt;br /&gt;
dmix:CARD=PCH,DEV=3&lt;br /&gt;
    HDA Intel PCH, HDMI 0&lt;br /&gt;
    Direct sample mixing device&lt;br /&gt;
dsnoop:CARD=PCH,DEV=0&lt;br /&gt;
    HDA Intel PCH, STAC92xx Analog&lt;br /&gt;
    Direct sample snooping device&lt;br /&gt;
dsnoop:CARD=PCH,DEV=3&lt;br /&gt;
    HDA Intel PCH, HDMI 0&lt;br /&gt;
    Direct sample snooping device&lt;br /&gt;
hw:CARD=PCH,DEV=0&lt;br /&gt;
    HDA Intel PCH, STAC92xx Analog&lt;br /&gt;
    Direct hardware device without any conversions&lt;br /&gt;
hw:CARD=PCH,DEV=3&lt;br /&gt;
    HDA Intel PCH, HDMI 0&lt;br /&gt;
    Direct hardware device without any conversions&lt;br /&gt;
plughw:CARD=PCH,DEV=0&lt;br /&gt;
    HDA Intel PCH, STAC92xx Analog&lt;br /&gt;
    Hardware device with all software conversions&lt;br /&gt;
plughw:CARD=PCH,DEV=3&lt;br /&gt;
    HDA Intel PCH, HDMI 0&lt;br /&gt;
    Hardware device with all software conversions&lt;br /&gt;
sysdefault:CARD=UA25EX&lt;br /&gt;
    UA-25EX, USB Audio&lt;br /&gt;
    Default Audio Device&lt;br /&gt;
front:CARD=UA25EX,DEV=0&lt;br /&gt;
    UA-25EX, USB Audio&lt;br /&gt;
    Front speakers&lt;br /&gt;
surround40:CARD=UA25EX,DEV=0&lt;br /&gt;
    UA-25EX, USB Audio&lt;br /&gt;
    4.0 Surround output to Front and Rear speakers&lt;br /&gt;
surround41:CARD=UA25EX,DEV=0&lt;br /&gt;
    UA-25EX, USB Audio&lt;br /&gt;
    4.1 Surround output to Front, Rear and Subwoofer speakers&lt;br /&gt;
surround50:CARD=UA25EX,DEV=0&lt;br /&gt;
    UA-25EX, USB Audio&lt;br /&gt;
    5.0 Surround output to Front, Center and Rear speakers&lt;br /&gt;
surround51:CARD=UA25EX,DEV=0&lt;br /&gt;
    UA-25EX, USB Audio&lt;br /&gt;
    5.1 Surround output to Front, Center, Rear and Subwoofer speakers&lt;br /&gt;
surround71:CARD=UA25EX,DEV=0&lt;br /&gt;
    UA-25EX, USB Audio&lt;br /&gt;
    7.1 Surround output to Front, Center, Side, Rear and Woofer speakers&lt;br /&gt;
iec958:CARD=UA25EX,DEV=0&lt;br /&gt;
    UA-25EX, USB Audio&lt;br /&gt;
    IEC958 (S/PDIF) Digital Audio Output&lt;br /&gt;
dmix:CARD=UA25EX,DEV=0&lt;br /&gt;
    UA-25EX, USB Audio&lt;br /&gt;
    Direct sample mixing device&lt;br /&gt;
dsnoop:CARD=UA25EX,DEV=0&lt;br /&gt;
    UA-25EX, USB Audio&lt;br /&gt;
    Direct sample snooping device&lt;br /&gt;
hw:CARD=UA25EX,DEV=0&lt;br /&gt;
    UA-25EX, USB Audio&lt;br /&gt;
    Direct hardware device without any conversions&lt;br /&gt;
plughw:CARD=UA25EX,DEV=0&lt;br /&gt;
    UA-25EX, USB Audio&lt;br /&gt;
    Hardware device with all software conversions&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ lspci | grep Audio&lt;br /&gt;
00:1b.0 Audio device: Intel Corporation 6 Series/C200 Series Chipset Family High Definition Audio Controller (rev 05)&lt;br /&gt;
&lt;br /&gt;
$ lsusb&lt;br /&gt;
...&lt;br /&gt;
Bus 002 Device 004: ID 0582:00e6 Roland Corp. EDIROL UA-25EX (Advanced mode)&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Fixem-nos amb el controlador USB, que és diferent del que tinc en el Dell Studio 17:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ lspci&lt;br /&gt;
...&lt;br /&gt;
00:1d.0 USB controller: Intel Corporation 6 Series/C200 Series Chipset Family USB Enhanced Host Controller #1 (rev 05)&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ cat /proc/asound/cards&lt;br /&gt;
 0 [PCH            ]: HDA-Intel - HDA Intel PCH&lt;br /&gt;
                      HDA Intel PCH at 0xc2600000 irq 44&lt;br /&gt;
 1 [UA25EX         ]: USB-Audio - UA-25EX&lt;br /&gt;
                      EDIROL UA-25EX at usb-0000:00:1d.0-1.1, full speed&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ cat /proc/interrupts | grep usb&lt;br /&gt;
 16:      60654          0          0          0   IO-APIC-fasteoi   ehci_hcd:usb1, 0000:01:00.0&lt;br /&gt;
 21:       5170          0          0          0   IO-APIC-fasteoi   ehci_hcd:usb2&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
===speaker-test===&lt;br /&gt;
Sona per la targeta interna, que és la default:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ speaker-test&lt;br /&gt;
&lt;br /&gt;
speaker-test 1.0.25&lt;br /&gt;
&lt;br /&gt;
Playback device is default&lt;br /&gt;
Stream parameters are 48000Hz, S16_LE, 1 channels&lt;br /&gt;
Using 16 octaves of pink noise&lt;br /&gt;
Rate set to 48000Hz (requested 48000Hz)&lt;br /&gt;
Buffer size range from 192 to 2097152&lt;br /&gt;
Period size range from 64 to 699051&lt;br /&gt;
Using max buffer size 2097152&lt;br /&gt;
Periods = 4&lt;br /&gt;
was set period_size = 524288&lt;br /&gt;
was set buffer_size = 2097152&lt;br /&gt;
 0 - Front Left&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Ara testegem explícitament la interfície interna. Primer es testeja el canal esquerre i després el dret.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ speaker-test -Dhw:0 -c 2&lt;br /&gt;
&lt;br /&gt;
speaker-test 1.0.25&lt;br /&gt;
&lt;br /&gt;
Playback device is hw:0&lt;br /&gt;
Stream parameters are 48000Hz, S16_LE, 2 channels&lt;br /&gt;
Using 16 octaves of pink noise&lt;br /&gt;
Rate set to 48000Hz (requested 48000Hz)&lt;br /&gt;
Buffer size range from 64 to 16384&lt;br /&gt;
Period size range from 32 to 8192&lt;br /&gt;
Using max buffer size 16384&lt;br /&gt;
Periods = 4&lt;br /&gt;
was set period_size = 4096&lt;br /&gt;
was set buffer_size = 16384&lt;br /&gt;
 0 - Front Left&lt;br /&gt;
 1 - Front Right&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
o millor:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ speaker-test -Dhw:0 -c 2 -twav&lt;br /&gt;
$ speaker-test -Dplughw:0 -c 2 -twav&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
i provem la Edirol UA25-EX:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ speaker-test -c2 -D plughw:UA25EX -twav&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===arecord, aplay===&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ ls /usr/share/sounds/alsa/&lt;br /&gt;
Front_Center.wav  Front_Right.wav  Rear_Center.wav  Rear_Right.wav  Side_Right.wav&lt;br /&gt;
Front_Left.wav    Noise.wav        Rear_Left.wav    Side_Left.wav&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ aplay -D plughw:0 /usr/share/sounds/alsa/Front_Center.wav&lt;br /&gt;
&lt;br /&gt;
$ aplay -D plughw:UA25EX /usr/share/sounds/alsa/Front_Center.wav&lt;br /&gt;
Playing WAVE '/usr/share/sounds/alsa/Front_Center.wav' : Signed 16 bit Little Endian, Rate 48000 Hz, Mono&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ arecord -v -r 44100 -f cd -t wav -D plughw:UA25EX foobar.wav&lt;br /&gt;
$ aplay -v -D plughw:UA25EX foobar.wav&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
I també puc gravar i reproduir a 48000, però no pas a 96000 perquè sembla ser (com vaig detectar fa mesos) que tinc la interfície espatllada.&lt;br /&gt;
==Audio==&lt;br /&gt;
===Real-Time Support===&lt;br /&gt;
De moment configuraré el sistema per a suport real-time, però no instal.laré cap kernel RT o de baixa latència fins que no es demostri imprescindible.&lt;br /&gt;
&lt;br /&gt;
Configurar l'accés real-time per al grup ''audio'':&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ sudo usermod -a -G audio joan&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Fitxer /etc/security/limits.d/audio.conf. No cal editar-lo perquè ja ho farà la post-instal.lació del JACK (que encara no ho he fet)&lt;br /&gt;
&lt;br /&gt;
'''Real time (-rt) and Low latency (-lowlatency) kernels''': de moment no els instal.lo.&lt;br /&gt;
===Servidor JACK-jackd===&lt;br /&gt;
En instal.lar el paquet qjackctl també s'instal.la al mateix temps jackd i jackd2 (i d'altres)&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ sudo apt-get install qjackctl&lt;br /&gt;
S'està llegint la llista de paquets… Fet 0%&lt;br /&gt;
S'està construint l'arbre de dependències       &lt;br /&gt;
S'està llegint la informació de l'estat… Fet%&lt;br /&gt;
Els paquets següents s'han instaŀlat automàticament i ja no són necessaris:&lt;br /&gt;
  fonts-droid ttf-droid&lt;br /&gt;
Empreu «apt-get autoremove» per a suprimir-los.&lt;br /&gt;
S'instaŀlaran els següents paquets extres:&lt;br /&gt;
  jackd jackd2 jackd2-firewire libconfig++8 libffado2 libxml++2.6-2&lt;br /&gt;
Paquets suggerits:&lt;br /&gt;
  jack-tools meterbridge&lt;br /&gt;
S'instaŀlaran els paquets NOUS següents:&lt;br /&gt;
  jackd jackd2 jackd2-firewire libconfig++8 libffado2 libxml++2.6-2 qjackctl&lt;br /&gt;
0 actualitzats, 7 nous a instaŀlar, 0 a suprimir i 0 no actualitzats.&lt;br /&gt;
S'ha d'obtenir 2641 kB d'arxius.&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
The QjackCtl application will automatically suspend PulseAudio.&lt;br /&gt;
&lt;br /&gt;
Arrenco el JACK en mode duplex tant en la targeta interna com a la Edirol UA25EX, amb una latència de 10.7ms (256/48000/2). Deixo el QJackCtl com a llançadera a la barra de dalt.&lt;br /&gt;
&lt;br /&gt;
(Després d'instal.lar el JACK, tancar i tornar a obrir la sessió).&lt;br /&gt;
===Pulseaudio i JACK===&lt;br /&gt;
Thanks to packagers, there is now a very easy way to get PulseAudio and Jack working together. First of all, install the package pulseaudio-module-jack&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ sudo apt-get install pulseaudio-module-jack&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
It should work without any other tweak.&lt;br /&gt;
&lt;br /&gt;
You should see virtual &amp;quot;Jack Sink&amp;quot; outputs and inputs in Audio preferences, and &amp;quot;PulseAudio&amp;quot; Sink (outputs) and Source (inputs) in jack (use Qjackctl or Patchage).&lt;br /&gt;
&lt;br /&gt;
To have PulseAudio applications sound (Totem, Rythmbox, Firefox, etc...) with your jackd sound card, just connect PulseAudio JACK Sink to the sound card outputs with Patchage. Then in PulseAudio preferences, choose &amp;quot;Jack Sink&amp;quot; as output. That's it.&lt;br /&gt;
===Aplicacions d'audio===&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ sudo apt-get install audacity&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Grabo un track en el Audacity amb el micro (a través de JACK, amb la Edirol UA25EX)&lt;br /&gt;
&lt;br /&gt;
Sintetitzador: Yoshimi is at the moment the best integrated and midi controlled modular synthesizer for Linux. It is a fork of the well reknowed ZynAddSubFX. &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ sudo apt-get install yoshimi$ yoshimi -a -J -K&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Per fer una prova ràpida per provar '''yoshimi''' he d'insal.lar el vkeybd.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ yoshimi -a -J -K&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
i connecto el vkeybd al yoshimi (pestanya ALSA) i ja puc tocar. He arrencat el JACK amb la tarja interna i amb la Edirol sense problemes.&lt;br /&gt;
&lt;br /&gt;
També he instal.lat el '''zynaddsubfx'''.&lt;br /&gt;
===Seqüenciació MIDI===&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ sudo apt-get install seq24&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
===Fluidsynth===&lt;br /&gt;
*http://sourceforge.net/apps/trac/fluidsynth/&lt;br /&gt;
*http://sourceforge.net/apps/trac/fluidsynth/wiki/Download&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ sudo apt-get install subversion&lt;br /&gt;
$ sudo apt-get install build-essential&lt;br /&gt;
$ sudo apt-get install automake libtool&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Descarreguem el codi font:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ svn co https://fluidsynth.svn.sourceforge.net/svnroot/fluidsynth/trunk/fluidsynth&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ ./autogen.sh -&amp;gt; es genera configure&lt;br /&gt;
$ ./configure&lt;br /&gt;
...&lt;br /&gt;
checking pkg-config is at least version 0.9.0... yes&lt;br /&gt;
checking for GLIB... no&lt;br /&gt;
configure: error: Package requirements (glib-2.0 &amp;gt;= 2.6.5 gthread-2.0 &amp;gt;= 2.6.5) were not met:&lt;br /&gt;
&lt;br /&gt;
No package 'glib-2.0' found&lt;br /&gt;
No package 'gthread-2.0' found&lt;br /&gt;
&lt;br /&gt;
Consider adjusting the PKG_CONFIG_PATH environment variable if you&lt;br /&gt;
installed software in a non-standard prefix.&lt;br /&gt;
&lt;br /&gt;
Alternatively, you may set the environment variables GLIB_CFLAGS&lt;br /&gt;
and GLIB_LIBS to avoid the need to call pkg-config.&lt;br /&gt;
See the pkg-config man page for more details.&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Em diu les coses que em falten.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ sudo apt-get install glib-2.0-dev&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ ./configure&lt;br /&gt;
...&lt;br /&gt;
***************************************************************&lt;br /&gt;
The autotools build system is deprecated and might be removed  &lt;br /&gt;
in a future version. Please use the CMake build system instead.&lt;br /&gt;
***************************************************************&lt;br /&gt;
Summary:&lt;br /&gt;
libsndfile:            no (raw audio file rendering only)&lt;br /&gt;
D-Bus:                 no&lt;br /&gt;
PulseAudio:            no&lt;br /&gt;
JACK:                  no&lt;br /&gt;
ALSA:                  no&lt;br /&gt;
PortAudio:             no&lt;br /&gt;
OSS:                   yes&lt;br /&gt;
MidiShare:             no&lt;br /&gt;
CoreAudio:             no&lt;br /&gt;
CoreMIDI:              no&lt;br /&gt;
LADSPA support:        no&lt;br /&gt;
LASH support:          no&lt;br /&gt;
LADCCA support:        no&lt;br /&gt;
OS/2 DART support:     no&lt;br /&gt;
Audio to file driver:  yes&lt;br /&gt;
Readline:              no&lt;br /&gt;
Profiling:             no&lt;br /&gt;
Debug:                 no&lt;br /&gt;
Trap on FPE (debug):   no&lt;br /&gt;
Check FPE (debug):     no&lt;br /&gt;
***************************************************************&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Però vull que algunes d'aquestes opcions sí que estiguin presents per defecte. Per exemple, libsndfile, JACK:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ sudo apt-get install libsndfile-dev&lt;br /&gt;
$ sudo apt-get install libjack-dev&lt;br /&gt;
$ sudo apt-get install libasound2-dev&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
***************************************************************&lt;br /&gt;
The autotools build system is deprecated and might be removed  &lt;br /&gt;
in a future version. Please use the CMake build system instead.&lt;br /&gt;
***************************************************************&lt;br /&gt;
Summary:&lt;br /&gt;
libsndfile:            yes (with ogg vorbis support)&lt;br /&gt;
D-Bus:                 no&lt;br /&gt;
PulseAudio:            no&lt;br /&gt;
JACK:                  yes&lt;br /&gt;
ALSA:                  no&lt;br /&gt;
PortAudio:             no&lt;br /&gt;
OSS:                   yes&lt;br /&gt;
MidiShare:             no&lt;br /&gt;
CoreAudio:             no&lt;br /&gt;
CoreMIDI:              no&lt;br /&gt;
LADSPA support:        no&lt;br /&gt;
LASH support:          no&lt;br /&gt;
LADCCA support:        no&lt;br /&gt;
OS/2 DART support:     no&lt;br /&gt;
Audio to file driver:  yes&lt;br /&gt;
Readline:              no&lt;br /&gt;
Profiling:             no&lt;br /&gt;
Debug:                 no&lt;br /&gt;
Trap on FPE (debug):   no&lt;br /&gt;
Check FPE (debug):     no&lt;br /&gt;
***************************************************************&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
I ara ja he aconseguit com a mínim el suport per a ALSA, JACK i libsndfile.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ make&lt;br /&gt;
$ sudo make install&lt;br /&gt;
&lt;br /&gt;
$ whereis fluidsynth&lt;br /&gt;
fluidsynth: /usr/local/bin/fluidsynth&lt;br /&gt;
&lt;br /&gt;
$ /usr/local/bin/fluidsynth&lt;br /&gt;
FluidSynth version 1.1.5&lt;br /&gt;
Copyright (C) 2000-2011 Peter Hanappe and others.&lt;br /&gt;
Distributed under the LGPL license.&lt;br /&gt;
SoundFont(R) is a registered trademark of E-mu Systems, Inc.&lt;br /&gt;
&lt;br /&gt;
jackd 0.121.2&lt;br /&gt;
Copyright 2001-2009 Paul Davis, Stephane Letz, Jack O'Quinn, Torben Hohn and others.&lt;br /&gt;
jackd comes with ABSOLUTELY NO WARRANTY&lt;br /&gt;
This is free software, and you are welcome to redistribute it&lt;br /&gt;
under certain conditions; see the file COPYING for details&lt;br /&gt;
&lt;br /&gt;
JACK compiled with System V SHM support.&lt;br /&gt;
loading driver ..&lt;br /&gt;
apparent rate = 48000&lt;br /&gt;
creating alsa driver ... hw:1|hw:1|256|2|48000|0|0|nomon|swmeter|-|32bit&lt;br /&gt;
control device hw:1&lt;br /&gt;
configuring for 48000Hz, period = 256 frames (5.3 ms), buffer = 2 periods&lt;br /&gt;
ALSA: final selected sample format for capture: 24bit little-endian&lt;br /&gt;
ALSA: use 2 periods for capture&lt;br /&gt;
ALSA: final selected sample format for playback: 24bit little-endian&lt;br /&gt;
ALSA: use 2 periods for playback&lt;br /&gt;
fluidsynth: Jack sample rate mismatch, adjusting. (synth.sample-rate=44100, jackd=48000)&lt;br /&gt;
Type 'help' for help topics.&lt;br /&gt;
&lt;br /&gt;
&amp;gt; &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Ara ja puc arrencar un soundfont i vkeybd a través del jack, i fer sonar alguna cosa:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ fluidsynth -a jack ~/soundfonts/Unison.sf2 &lt;br /&gt;
FluidSynth version 1.1.5&lt;br /&gt;
Copyright (C) 2000-2011 Peter Hanappe and others.&lt;br /&gt;
Distributed under the LGPL license.&lt;br /&gt;
SoundFont(R) is a registered trademark of E-mu Systems, Inc.&lt;br /&gt;
&lt;br /&gt;
fluidsynth: warning: Ignoring sample *KPianoB5: can't use ROM samples&lt;br /&gt;
fluidsynth: Jack sample rate mismatch, adjusting. (synth.sample-rate=44100, jackd=48000)&lt;br /&gt;
Type 'help' for help topics.&lt;br /&gt;
&lt;br /&gt;
&amp;gt; &lt;br /&gt;
&amp;gt; inst 1&lt;br /&gt;
000-000 ACOUSTIC GRAND PIANO&lt;br /&gt;
000-001 BRITE GRAND PIANO&lt;br /&gt;
000-002 ELECTRIC GRAND PNO&lt;br /&gt;
000-003 HONKY TONK&lt;br /&gt;
000-004 E.PIANO 1 (Rhodes)&lt;br /&gt;
000-005 E.PIANO 2&lt;br /&gt;
...&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
===Effect plugins and virtual instruments===&lt;br /&gt;
The main framework for audio plugins in Linux is called Ladspa. There is an update of this framework called LV2 (for Ladspa V2). You can install only one, or both versions of the plugins, depending which version is supported by the applications you are using.&lt;br /&gt;
&lt;br /&gt;
For audio processing, ladspa:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get install blop caps cmt fil-plugins rev-plugins swh-plugins tap-plugins&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
For audio processing, LV2:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get install invada-studio-plugins-lv2 lv2fil mda-lv2 swh-lv2&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
For synthesizers, ladspa:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get install blepvco mcp-plugins omins&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
For synthesizers, LV2:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get install so-synth-lv2&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
The lists may not be complete, because available packages change often.&lt;br /&gt;
&lt;br /&gt;
Some vendors are starting to offer LV2 version of great audio processing effects. One of them is Linux DSP. More information available at http://www.linuxdsp.co.uk/&lt;br /&gt;
===AKAI EWI USB===&lt;br /&gt;
Funciona correctament amb JACK i fluidsynth.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ fluidsynth -s -v -a jack -m alsa_seq -l -g 5 ~/soundfonts/Unison.sf2&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Amb la configuració que tinc del EWI USB, si vull un so de piano pel canal 15 (el EWI el tinc configurat per defecte pel canal 15) he de fer:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&amp;gt; prog 15 68&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Wacom Intuos2===&lt;br /&gt;
Anem a veure com s'instal.la i es configura la Wacom a Ubuntu 12.04. Segueixo [[GIMP_i_tauleta_gràfica_Wacom&lt;br /&gt;
&lt;br /&gt;
D'entrada, veig que xsetwacom està per defecte instal.lat.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ xsetwacom&lt;br /&gt;
&lt;br /&gt;
$ X -version&lt;br /&gt;
&lt;br /&gt;
X.Org X Server 1.11.3&lt;br /&gt;
Release Date: 2011-12-16&lt;br /&gt;
X Protocol Version 11, Revision 0&lt;br /&gt;
Build Operating System: Linux 2.6.24-31-server i686 Ubuntu&lt;br /&gt;
Current Operating System: Linux PROFE06 3.2.0-26-generic-pae #41-Ubuntu SMP Thu Jun 14 16:45:14 UTC 2012 i686&lt;br /&gt;
Kernel command line: BOOT_IMAGE=/boot/vmlinuz-3.2.0-26-generic-pae root=UUID=5fe3f9c3-da6c-4379-b8c8-9254df1bc6bc ro quiet splash vt.handoff=7&lt;br /&gt;
Build Date: 07 May 2012  11:39:37PM&lt;br /&gt;
xorg-server 2:1.11.4-0ubuntu10.2 (For technical support please see http://www.ubuntu.com/support) &lt;br /&gt;
Current version of pixman: 0.24.4&lt;br /&gt;
	Before reporting problems, check http://wiki.x.org&lt;br /&gt;
	to make sure that you have the latest version.&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Connect la '''Wacom Intuos2 12x12''' i miro a veure si la detecta:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ cat var/log/Xorg.0.log&lt;br /&gt;
...&lt;br /&gt;
[  2712.581] (II) config/udev: Adding input device Wacom Intuos2 12x12 (/dev/input/event14)&lt;br /&gt;
[  2712.581] (**) Wacom Intuos2 12x12: Applying InputClass &amp;quot;evdev tablet catchall&amp;quot;&lt;br /&gt;
[  2712.581] (**) Wacom Intuos2 12x12: Applying InputClass &amp;quot;Wacom class&amp;quot;&lt;br /&gt;
[  2712.581] (II) LoadModule: &amp;quot;wacom&amp;quot;&lt;br /&gt;
[  2712.581] (II) Loading /usr/lib/xorg/modules/input/wacom_drv.so&lt;br /&gt;
[  2712.610] (II) Module wacom: vendor=&amp;quot;X.Org Foundation&amp;quot;&lt;br /&gt;
[  2712.610] 	compiled for 1.11.3, module version = 0.14.0&lt;br /&gt;
[  2712.610] 	Module class: X.Org XInput Driver&lt;br /&gt;
[  2712.610] 	ABI class: X.Org XInput driver, version 16.0&lt;br /&gt;
[  2712.610] (II) Using input driver 'wacom' for 'Wacom Intuos2 12x12'&lt;br /&gt;
[  2712.610] (II) Loading /usr/lib/xorg/modules/input/wacom_drv.so&lt;br /&gt;
[  2712.610] (**) Wacom Intuos2 12x12: always reports core events&lt;br /&gt;
[  2712.610] (**) Option &amp;quot;Device&amp;quot; &amp;quot;/dev/input/event14&amp;quot;&lt;br /&gt;
[  2712.610] (II) Wacom Intuos2 12x12: type not specified, assuming 'stylus'.&lt;br /&gt;
[  2712.610] (II) Wacom Intuos2 12x12: other types will be automatically added.&lt;br /&gt;
[  2712.611] (--) Wacom Intuos2 12x12 stylus: using pressure threshold of 27 for button 1&lt;br /&gt;
[  2712.611] (--) Wacom Intuos2 12x12 stylus: Wacom USB Intuos2 tablet maxX=30480 maxY=31680 maxZ=1023 resX=100000 resY=100000  tilt=enabled&lt;br /&gt;
[  2712.611] (II) Wacom Intuos2 12x12 stylus: hotplugging dependent devices.&lt;br /&gt;
[  2712.611] (EE) Wacom Intuos2 12x12 stylus: Invalid type 'touch' for this device.&lt;br /&gt;
[  2712.611] (EE) Wacom Intuos2 12x12 stylus: Invalid type 'pad' for this device.&lt;br /&gt;
[  2712.611] (II) Wacom Intuos2 12x12 stylus: hotplugging completed.&lt;br /&gt;
[  2712.716] (**) Option &amp;quot;config_info&amp;quot; &amp;quot;udev:/sys/devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.1/2-1.1:1.0/input/input14/event14&amp;quot;&lt;br /&gt;
[  2712.716] (II) XINPUT: Adding extended input device &amp;quot;Wacom Intuos2 12x12 stylus&amp;quot; (type: STYLUS, id 16)&lt;br /&gt;
[  2712.717] (**) Wacom Intuos2 12x12 stylus: (accel) keeping acceleration scheme 1&lt;br /&gt;
[  2712.717] (**) Wacom Intuos2 12x12 stylus: (accel) acceleration profile 0&lt;br /&gt;
[  2712.717] (**) Wacom Intuos2 12x12 stylus: (accel) acceleration factor: 2.000&lt;br /&gt;
[  2712.717] (**) Wacom Intuos2 12x12 stylus: (accel) acceleration threshold: 4&lt;br /&gt;
[  2712.717] (**) Wacom Intuos2 12x12 eraser: Applying InputClass &amp;quot;evdev tablet catchall&amp;quot;&lt;br /&gt;
[  2712.717] (**) Wacom Intuos2 12x12 eraser: Applying InputClass &amp;quot;Wacom class&amp;quot;&lt;br /&gt;
[  2712.717] (II) Using input driver 'wacom' for 'Wacom Intuos2 12x12 eraser'&lt;br /&gt;
[  2712.717] (II) Loading /usr/lib/xorg/modules/input/wacom_drv.so&lt;br /&gt;
[  2712.718] (**) Wacom Intuos2 12x12 eraser: always reports core events&lt;br /&gt;
[  2712.718] (**) Option &amp;quot;Device&amp;quot; &amp;quot;/dev/input/event14&amp;quot;&lt;br /&gt;
[  2712.718] (**) Option &amp;quot;Type&amp;quot; &amp;quot;eraser&amp;quot;&lt;br /&gt;
[  2712.718] (--) Wacom Intuos2 12x12 eraser: Wacom USB Intuos2 tablet maxX=30480 maxY=31680 maxZ=1023 resX=100000 resY=100000  tilt=enabled&lt;br /&gt;
[  2712.718] (**) Option &amp;quot;config_info&amp;quot; &amp;quot;udev:/sys/devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.1/2-1.1:1.0/input/input14/event14&amp;quot;&lt;br /&gt;
[  2712.718] (II) XINPUT: Adding extended input device &amp;quot;Wacom Intuos2 12x12 eraser&amp;quot; (type: ERASER, id 17)&lt;br /&gt;
[  2712.719] (**) Wacom Intuos2 12x12 eraser: (accel) keeping acceleration scheme 1&lt;br /&gt;
[  2712.719] (**) Wacom Intuos2 12x12 eraser: (accel) acceleration profile 0&lt;br /&gt;
[  2712.719] (**) Wacom Intuos2 12x12 eraser: (accel) acceleration factor: 2.000&lt;br /&gt;
[  2712.719] (**) Wacom Intuos2 12x12 eraser: (accel) acceleration threshold: 4&lt;br /&gt;
[  2712.719] (**) Wacom Intuos2 12x12 cursor: Applying InputClass &amp;quot;evdev tablet catchall&amp;quot;&lt;br /&gt;
[  2712.719] (**) Wacom Intuos2 12x12 cursor: Applying InputClass &amp;quot;Wacom class&amp;quot;&lt;br /&gt;
[  2712.720] (II) Using input driver 'wacom' for 'Wacom Intuos2 12x12 cursor'&lt;br /&gt;
[  2712.720] (II) Loading /usr/lib/xorg/modules/input/wacom_drv.so&lt;br /&gt;
[  2712.720] (**) Wacom Intuos2 12x12 cursor: always reports core events&lt;br /&gt;
[  2712.720] (**) Option &amp;quot;Device&amp;quot; &amp;quot;/dev/input/event14&amp;quot;&lt;br /&gt;
[  2712.720] (**) Option &amp;quot;Type&amp;quot; &amp;quot;cursor&amp;quot;&lt;br /&gt;
[  2712.720] (--) Wacom Intuos2 12x12 cursor: Wacom USB Intuos2 tablet maxX=30480 maxY=31680 maxZ=1023 resX=100000 resY=100000  tilt=enabled&lt;br /&gt;
[  2712.720] (**) Option &amp;quot;config_info&amp;quot; &amp;quot;udev:/sys/devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.1/2-1.1:1.0/input/input14/event14&amp;quot;&lt;br /&gt;
[  2712.720] (II) XINPUT: Adding extended input device &amp;quot;Wacom Intuos2 12x12 cursor&amp;quot; (type: CURSOR, id 18)&lt;br /&gt;
[  2712.721] (**) Wacom Intuos2 12x12 cursor: (accel) keeping acceleration scheme 1&lt;br /&gt;
[  2712.721] (**) Wacom Intuos2 12x12 cursor: (accel) acceleration profile 0&lt;br /&gt;
[  2712.721] (**) Wacom Intuos2 12x12 cursor: (accel) acceleration factor: 2.000&lt;br /&gt;
[  2712.721] (**) Wacom Intuos2 12x12 cursor: (accel) acceleration threshold: 4&lt;br /&gt;
[  2712.722] (II) config/udev: Adding input device Wacom Intuos2 12x12 (/dev/input/mouse2)&lt;br /&gt;
[  2712.722] (II) No input driver specified, ignoring this device.&lt;br /&gt;
[  2712.722] (II) This device may have been added with another device file.&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
detecta els tres dispositius (stylus, eraser, cursor), però tanmateix com es veu en les dues últimes línies no funciona.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ xinput list&lt;br /&gt;
⎡ Virtual core pointer                    	id=2	[master pointer  (3)]&lt;br /&gt;
⎜   ↳ Virtual core XTEST pointer              	id=4	[slave  pointer  (2)]&lt;br /&gt;
⎜   ↳ Microsoft Microsoft® Nano Transceiver v2.0	id=10	[slave  pointer  (2)]&lt;br /&gt;
⎜   ↳ Microsoft Microsoft® Nano Transceiver v2.0	id=11	[slave  pointer  (2)]&lt;br /&gt;
⎜   ↳ SynPS/2 Synaptics TouchPad              	id=14	[slave  pointer  (2)]&lt;br /&gt;
⎜   ↳ Wacom Intuos2 12x12 stylus              	id=16	[slave  pointer  (2)]&lt;br /&gt;
⎜   ↳ Wacom Intuos2 12x12 eraser              	id=17	[slave  pointer  (2)]&lt;br /&gt;
⎜   ↳ Wacom Intuos2 12x12 cursor              	id=18	[slave  pointer  (2)]&lt;br /&gt;
...&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
i puc veure informació més detallada sobre els tres dispositius, per exemple el ''stylus'':&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ xinput list-props &amp;quot;Wacom Intuos2 12x12 stylus&amp;quot;&lt;br /&gt;
Device 'Wacom Intuos2 12x12 stylus':&lt;br /&gt;
	Device Enabled (132):	1&lt;br /&gt;
	Coordinate Transformation Matrix (134):	1.000000, 0.000000, 0.000000, 0.000000, 1.000000, 0.000000, 0.000000, 0.000000, 1.000000&lt;br /&gt;
	Device Accel Profile (262):	0&lt;br /&gt;
	Device Accel Constant Deceleration (263):	1.000000&lt;br /&gt;
	Device Accel Adaptive Deceleration (264):	1.000000&lt;br /&gt;
	Device Accel Velocity Scaling (265):	10.000000&lt;br /&gt;
	Device Node (252):	&amp;quot;/dev/input/event14&amp;quot;&lt;br /&gt;
	Wacom Tablet Area (715):	0, 0, 30480, 31680&lt;br /&gt;
	Wacom Rotation (716):	0&lt;br /&gt;
	Wacom Pressurecurve (717):	0, 0, 100, 100&lt;br /&gt;
	Wacom Serial IDs (718):	68, 0, 2, 0, 0&lt;br /&gt;
	Wacom Serial ID binding (719):	0&lt;br /&gt;
	Wacom Pressure Threshold (720):	27&lt;br /&gt;
	Wacom Sample and Suppress (721):	2, 4&lt;br /&gt;
	Wacom Enable Touch (722):	0&lt;br /&gt;
	Wacom Hover Click (723):	1&lt;br /&gt;
	Wacom Enable Touch Gesture (724):	0&lt;br /&gt;
	Wacom Touch Gesture Parameters (725):	0, 0, 250&lt;br /&gt;
	Wacom Tool Type (726):	&amp;quot;STYLUS&amp;quot; (587)&lt;br /&gt;
	Wacom Button Actions (727):	&amp;quot;None&amp;quot; (0), &amp;quot;None&amp;quot; (0), &amp;quot;None&amp;quot; (0), &amp;quot;None&amp;quot; (0), &amp;quot;None&amp;quot; (0), &amp;quot;None&amp;quot; (0), &amp;quot;None&amp;quot; (0), &amp;quot;None&amp;quot; (0), &amp;quot;None&amp;quot; (0)&lt;br /&gt;
	Device Product ID (251):	1386, 68&lt;br /&gt;
	Wacom Debug Levels (728):	0, 0&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
però fixem-nos que no surt l'entrada ''Wacom Screen Area''.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ modinfo -n wacom&lt;br /&gt;
/lib/modules/3.2.0-26-generic-pae/kernel/drivers/input/tablet/wacom.ko&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ lsusb | grep Wacom&lt;br /&gt;
Bus 002 Device 006: ID 056a:0044 Wacom Co., Ltd Intuos2 12x12&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ lsmod | grep wacom&lt;br /&gt;
wacom                  47231  0&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
The lsmod shows the Wacom usb kernel driver is autoloading.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ xsetwacom --list&lt;br /&gt;
Wacom Intuos2 12x12 stylus      	id: 12	type: STYLUS    &lt;br /&gt;
Wacom Intuos2 12x12 eraser      	id: 17	type: ERASER    &lt;br /&gt;
Wacom Intuos2 12x12 cursor      	id: 18	type: CURSOR&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Segueixo:&lt;br /&gt;
*http://ubuntuforums.org/showthread.php?t=1780154&lt;br /&gt;
I. Prepare your system to build the kernel module and install Xorg's xf86-input-wacom-0.11.x tar&lt;br /&gt;
&lt;br /&gt;
De http://sourceforge.net/projects/linuxwacom/files/latest/download em descarrego '''xf86-input-wacom-0.15.0.tar.bz2'''.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ sudo apt-get update&lt;br /&gt;
$ sudo apt-get upgrade&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
II. Build the serial kernel module/driver and the patched inputattach&lt;br /&gt;
&lt;br /&gt;
For the 3.2 kernel (Precise) and protocol 4 (wacom_serial.ko) tablets you need to edit the wacom_serial.c source code in the wacom_serial folder after you unpack it. This is necessary to prevent placing your tablet on the recently added tsc40.ko kernel module which now claims 0x3d as its serio protocol. For wacom_serial5 (Intuos and Intuos2) you can ignore all of this unless you also use a protocol IV tablet.&lt;br /&gt;
&lt;br /&gt;
Per tant, la meva és una '''Intuos2''' que utilitza el '''wacom_serial5''', i per tant no cal que faci el patch.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
a) Download and compile the protocol 5 wacom_serial5.ko (Intuos and Intuos2 tablets) - by roaldfre &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ sudo apt-get install git-core&lt;br /&gt;
$ git clone https://github.com/RoaldFre/wacom_serial5.git&lt;br /&gt;
$ cd wacom_serial5&lt;br /&gt;
$ make all -&amp;gt; es crea el fitxer wacom_serial5.ko&lt;br /&gt;
$ sudo cp wacom_serial5.ko /lib/modules/`uname -r`/kernel/drivers/input/tablet&lt;br /&gt;
$ sudo depmod -a&lt;br /&gt;
$ cd ..&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
b) Download and compile inputattach for the Intuos (protocol 5) tablets&lt;br /&gt;
&lt;br /&gt;
*http://sourceforge.net/projects/linuxconsole/files/linuxconsoletools-1.4.3.tar.bz2/download&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ sudo apt-get install libsdl1.2-dev&lt;br /&gt;
$ cd linuxconsoletools-1.4.3&lt;br /&gt;
&lt;br /&gt;
(if you have an Intuos tablet)&lt;br /&gt;
$ patch -p1 &amp;lt; ~/Baixades/wacom_serial5/inputattach.patch&lt;br /&gt;
patching file inputattach.patch&lt;br /&gt;
patching file utils/inputattach.c&lt;br /&gt;
Hunk #1 succeeded at 553 (offset 94 lines).&lt;br /&gt;
Hunk #2 succeeded at 705 (offset 106 lines).&lt;br /&gt;
patching file utils/serio-ids.h&lt;br /&gt;
&lt;br /&gt;
$ make&lt;br /&gt;
$ cd ..&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Però:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ sudo inputattach --wacom_v /dev/ttyS0&lt;br /&gt;
inputattach: device initialization failed&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===To Do===&lt;br /&gt;
Instal.lar Ardour, lilypond, LADSPA, LV2, VST, EWI USB, Wacom.&lt;/div&gt;</summary>
		<author><name>Joan</name></author>
		
	</entry>
</feed>