Oops, it didn't came through the list, perhaps because it was in HTML.
-------- Forwarded Message --------
From: Ralf Mardorf <ralf.mardorf@alice-dsl.net>
To: Robin Gareus <robin@gareus.org>
Cc: linux-audio-user@lists.linuxaudio.org
Subject: [hdspmixer solved - qjackctl unsolved] Kernel 2.6.39.1 - 2nd
trial ALSA packages [on-topic only]
Date: Wed, 08 Jun 2011 20:03:16 +0200
On Tue, 2011-06-07 at 21:54 +0200, Robin Gareus wrote:
> Here's a pragmatic way to make a .deb of libasound2 - alsa-lib-1.0.24.1
>
> cd /tmp/
> apt-get source libasound2
> sudo apt-get build-dep libasound2
> mv -vi alsa-lib-1.0.23/ alsa-lib-1.0.24.1
> curl ftp://ftp.alsa-project.org/pub/lib/alsa-lib-1.0.24.1.tar.bz2 \
> | tar xvj
> cd alsa-lib-1.0.24.1
> # edit debian/changelog -> alsa-lib (1.0.24.1-1) unstable; urgency=low
> # edit debian/rules -> remove line 15-18 (biarch builds)
> libtoolize --force --copy --automake
> aclocal
> autoreconf
> debuild -b -us -uc
> sudo dpkg -i ../*asound2*.deb
Log (+ a real time log, when bread-and-butter are important and the
following steps are done in passing, so even a little bit referring to
the off-topic thread 'time', in a context were milliseconds buried in
imperceptibility, this might be a useful information for those who will
do the same, no sarcasm)
It's not that time consuming, when there's nothing else to do, but
tedious when doing it in passing and a good reason that users have to do
such things from time to time, because packages maintainers doing it for
free, have a life beyond Linux too.
Issues are marked with
##################
### [!] ###
################## above the issue.
########################################################################
REMOVING ALL ALSA PACKAGES & KEEPING ALL DEPENDENCIES CONSISTENT
########################################################################
'All' ALSA and libasound packages, if there e.g. is a linux-sound-base,
I missed to completely remove it.
$ su
# synaptic
Commit Log for Wed Jun 8 11:56:31 2011
Completely removed the following packages:
alsa-tools
lib32asound2
lib32asound2-dev
libasound2-dev
libasound2-doc
# cd /usr/src
# mkdir alsa
# cd alsa
# equivs-control libasound2
# gedit libasound2
Section: misc
Priority: optional
Standards-Version: 3.6.2
Package: libasound2
Version: 1.0.24.1
Architecture: all
Description: libasound2 dummy package
# equivs-build libasound2
# rm libasound2
# mv libasound2_1.0.24.1_all.deb ..
# dpkg -i ../libasound2_1.0.24.1_all.deb
# ls -hAl
total 0
########################################################################
ALSA-DRIVER
########################################################################
# ntpdate ntp.favey.ch 8 Jun 12:40:37 offset -0.061248 sec
# apt-get source alsa-driver
# ls
alsa-driver-1.0.23+dfsg alsa-driver_1.0.23+dfsg-4.debian.tar.bz2
alsa-driver_1.0.23+dfsg-4.dsc alsa-driver_1.0.23+dfsg.orig.tar.bz2
# apt-get build-dep alsa-driver
# mv -vi alsa-driver-1.0.23+dfsg/ alsa-driver-1.0.24
# wget ftp://ftp.alsa-project.org/pub/driver/alsa-driver-1.0.24.tar.bz2
# tar xvjf alsa-driver-1.0.24.tar.bz2
# cd alsa-driver-1.0.24
# gedit debian/changelog
1st line was: alsa-driver (1.0.23+dfsg-4) unstable; urgency=low
edited to: alsa-driver (1.0.24) unstable; urgency=low
FWIW I didn't really add a correct changelog, but replaced the
first line only and will do this for the other changelogs too
# gedit debian/rules
unchanged
# libtoolize --force --copy --automake
# aclocal
##################
### [!] ###
##################
# autoreconf
[...]
autoheader: warning: missing template: [...]
autoreconf: /usr/bin/autoheader failed with exit status: 1
# debuild -b -us -uc
# ls ../*.deb -hAl
-rw-r--r-- 1 root root 308K Jun 8 13:55 ../alsa-base_1.0.24_all.deb
-rw-r--r-- 1 root root 4.1M Jun 8 13:55 ../alsa-source_1.0.24_all.deb
-rw-r--r-- 1 root root 30K Jun 8
13:55 ../linux-sound-base_1.0.24_all.deb
# cd ..
# dpkg -i alsa-base_1.0.24_all.deb linux-sound-base_1.0.24_all.deb
I checked that the packages are installed.
# mv alsa-base_1.0.24_all.deb ..
# mv alsa-source_1.0.24_all.deb ..
# mv linux-sound-base_1.0.24_all.deb ..
# rm -r *
# ls -hAl
total 0
########################################################################
ALSA-LIB
########################################################################
# date Wed Jun 8 14:29:35 CEST 2011
# apt-get source alsa-lib
# apt-get build-dep alsa-lib
# mv -vi alsa-lib-1.0.23/ alsa-lib-1.0.24.1
# wget ftp://ftp.alsa-project.org/pub/lib/alsa-lib-1.0.24.1.tar.bz2
# tar xvjf alsa-lib-1.0.24.1.tar.bz2
# cd alsa-lib-1.0.24.1
# gedit debian/changelog
1st line was: alsa-lib (1.0.23-4) unstable; urgency=low
edited to: alsa-lib (1.0.24.1) unstable; urgency=low
# gedit debian/rules
Removed:
biarch_map := i386=amd64 powerpc=ppc64 sparc=sparc64 s390=s390x
\
amd64=i386 ppc64=powerpc
biarch_cpu := $(strip $(patsubst $(DEB_BUILD_ARCH_CPU)=%, %, \
$(filter $(DEB_BUILD_ARCH_CPU)=%, $(biarch_map))))
# libtoolize --force --copy --automake
# aclocal
# autoreconf
# debuild -b -us -uc
# ls ../*.deb -hAl
-rw-r--r-- 1 root root 896 Jun 8
15:26 ../lib32asound2_1.0.24.1_amd64.deb
-rw-r--r-- 1 root root 894 Jun 8
15:26 ../lib32asound2-dev_1.0.24.1_amd64.deb
-rw-r--r-- 1 root root 439K Jun 8
15:26 ../libasound2_1.0.24.1_amd64.deb
-rw-r--r-- 1 root root 585K Jun 8
15:26 ../libasound2-dev_1.0.24.1_amd64.deb
-rw-r--r-- 1 root root 1.5M Jun 8
15:26 ../libasound2-doc_1.0.24.1_all.deb
# cd ..
# dpkg -i libasound2_1.0.24.1_amd64.deb
libasound2-dev_1.0.24.1_amd64.deb lib32asound2_1.0.24.1_amd64.deb
lib32asound2-dev_1.0.24.1_amd64.deb
I checked that the packages are installed.
# mv *deb ..
# rm -r *
# ls -hAl
total 0
########################################################################
ALSA-UTILS
########################################################################
# date Wed Jun 8 15:39:26 CEST 2011
# apt-get source alsa-utils
# apt-get build-dep alsa-utils
# mv -vi alsa-utils-1.0.23/ alsa-utils-1.0.24.2
# date Wed Jun 8 17:33:47 CEST 2011
# wget ftp://ftp.alsa-project.org/pub/utils/alsa-utils-1.0.24.2.tar.bz2
# tar xvjf alsa-utils-1.0.24.2.tar.bz2
# cd alsa-utils-1.0.24.2
# gedit debian/changelog
First line was: alsa-utils (1.0.23-5) unstable; urgency=low
Edited to: alsa-utils (1.0.24.2) unstable; urgency=low
# gedit debian/rules
unchanged
# libtoolize --force --copy --automake
# aclocal
##################
### [!] ###
##################
# autoreconf
alsactl/Makefile.am:58: `%'-style pattern rules are a GNU make extension
alsactl/Makefile.am:10: compiling `alsactl.c' with per-target flags
requires `AM_PROG_CC_C_O' in `configure.in'
alsaloop/Makefile.am:3: `CFLAGS' is a user variable, you should not
override it;
alsaloop/Makefile.am:3: use `AM_CFLAGS' instead.
# debuild -b -us -uc#
[...]
pcmjob.c:66:33: error: ‘PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP’
undeclared here (not in a function)
make[2]: *** [pcmjob.o] Error 1
make[2]: Leaving directory `/usr/src/alsa/alsa-utils-1.0.24.2/alsaloop'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/src/alsa/alsa-utils-1.0.24.2'
make: *** [build-stamp] Error 2
dpkg-buildpackage: error: debian/rules build gave error exit status 2
debuild: fatal error at line 1340:
dpkg-buildpackage -rfakeroot -D -us -uc -b failed
# ./configure
[...]
config.status: WARNING: 'alsaconf/po/Makefile.in' seems to
ignore the --datarootdir setting
[...]
# make
No warnings, no errors!
# checkinstall --install=no
Should I create a default set of package docs? [y]: n
0 - Maintainer: [ root@debian ]
1 - Summary: [ alsa-utils ]
2 - Name: [ alsa-utils ]
3 - Version: [ 1.0.24.2 ]
4 - Release: [ 1 ]
5 - License: [ GPL ]
6 - Group: [ checkinstall ]
7 - Architecture: [ amd64 ]
8 - Source location: [ alsa-utils-1.0.24.2 ]
9 - Alternate source location: [ ]
10 - Requires: [ ]
11 - Provides: [ alsa-utils ]
12 - Conflicts: [ ]
13 - Replaces: [ ]
# dpkg -i alsa-utils_1.0.24.2-1_amd64.deb
I checked that the package is installed.
# mv *deb ../..
# cd ..
# rm -r *
# ls -hAl
total 0
########################################################################
ALSA-TOOLS (hdspmixer)
########################################################################
# apt-get source alsa-tools
# apt-get build-dep alsa-tools
[...]
The following packages will be REMOVED:
gir1.0-freedesktop
[...]
The following NEW packages will be installed:
[...] gir1.2-freedesktop [...]
# mv -vi alsa-tools-1.0.23/ alsa-tools-1.0.24.1
# wget ftp://ftp.alsa-project.org/pub/tools/alsa-tools-1.0.24.1.tar.bz2
# tar xvjf alsa-tools-1.0.24.1.tar.bz2
# cd alsa-tools-1.0.24.1
# gedit debian/changelog
First line was: alsa-tools (1.0.23-5) unstable; urgency=low
Edited to: alsa-tools (1.0.24.1) unstable; urgency=low
# gedit debian/rules
unchanged
# libtoolize --force --copy --automake
##################
### [!] ###
##################
# aclocal
aclocal: `configure.ac' or `configure.in' is required
# autoreconf
autoreconf: `configure.ac' or `configure.in' is required
# ls
ac3dec debian envy24control hdspconf hdspmixer ld10k1
mixartloader qlo10k1 sb16_csp sscape_ctl usx2yloader
as10k1 echomixer gitcompile hdsploader hwmixvolume Makefile
pcxhrloader rmedigicontrol seq us428control vxloader
# cd hdspmixer
# ./configure
# checkinstall --install=no
Should I create a default set of package docs? [y]: n
0 - Maintainer: [ root@debian ]
1 - Summary: [ hdspmixer from alsa-tools 1.0.24.1 ]
2 - Name: [ hdspmixer ]
3 - Version: [ 1.6.0 ]
4 - Release: [ 1 ]
5 - License: [ GPL ]
6 - Group: [ checkinstall ]
7 - Architecture: [ amd64 ]
8 - Source location: [ hdspmixer ]
9 - Alternate source location: [ ]
10 - Requires: [ ]
11 - Provides: [ hdspmixer ]
12 - Conflicts: [ ]
13 - Replaces: [ ]
# dpkg -i hdspmixer_1.6.0-1_amd64.deb
# mv hdspmixer_1.6.0-1_amd64.deb ../..
# cd ..
# mv hdspmixer_1.6.0-1_amd64.deb ..
# rm -r *
# ls -hAl
total 0
########################################################################
mudita24 - ALSA GUI control tool for Envy24 (ice1712) soundcards
########################################################################
# date Wed Jun 8 19:22:18 CEST 2011
# wget http://nielsmayer.com/envy24control/mudita24-1.0.3.tar.gz
# tar xvzf mudita24-1.0.3.tar.gz
# cd mudita24-1.0.3
# ./configure
# checkinstall --install=no
Should I create a default set of package docs? [y]: n
0 - Maintainer: [ root@debian ]
1 - Summary: [ mudita24 ]
2 - Name: [ mudita24 ]
3 - Version: [ 1.0.3 ]
4 - Release: [ 1 ]
5 - License: [ GPL ]
6 - Group: [ checkinstall ]
7 - Architecture: [ amd64 ]
8 - Source location: [ mudita24-1.0.3 ]
9 - Alternate source location: [ ]
10 - Requires: [ ]
11 - Provides: [ mudita24 ]
12 - Conflicts: [ ]
13 - Replaces: [ ]
# dpkg -i mudita24_1.0.3-1_amd64.deb
I checked that the packages hdspmixer and mudita24 are
installed.
# mv mudita24_1.0.3-1_amd64.deb ../..
# cd ..
# rm -r *
# ls -hAl
total 0
########################################################################
ALSA-FIRMWARE
########################################################################
# apt-get source alsa-firmware-1.0.24.1
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to find a source package for alsa-firmware-1.0.24.1
The kernel's firmware should be good enough, so no download from
http://www.alsa-project.org/main/index.php/Main_Page .
# cd ..
# exit
$ jackd --sync -Xalsarawmidi -dalsa -r48000 -p1024
jackdmp 1.9.8
[...]
JackALSARawMidiDriver::Attach - input port registered
(name='system:midi_capture_1', alias='system:1-1 MIDI 1 1 in').
JackALSARawMidiDriver::Attach - input port registered
(name='system:midi_capture_2', alias='system:2-1 TerraTec EWX24/96 MIDI
1 in').
JackALSARawMidiDriver::Attach - input port registered
(name='system:midi_capture_3', alias='system:3-1 TerraTec EWX24/96 MIDI
1 in').
JackALSARawMidiDriver::Attach - output port registered
(name='system:midi_playback_1', alias='system:1-1 MIDI 1 1 out').
JackALSARawMidiDriver::Attach - output port registered
(name='system:midi_playback_2', alias='system:2-1 TerraTec EWX24/96 MIDI
1 out').
JackALSARawMidiDriver::Attach - output port registered
(name='system:midi_playback_3', alias='system:3-1 TerraTec EWX24/96 MIDI
1 out').
JackALSARawMidiDriver::Start - Starting 'alsarawmidi' driver.
JackALSARawMidiDriver::Start - starting ALSA thread ...
JackALSARawMidiDriver::Start - started ALSA thread.
$ hdspmixer
HDSPMixer 1.6 - Copyright (C) 2003 Thomas Charbonnel <thomas@undata.org>
This program comes with ABSOLUTELY NO WARRANTY
HDSPMixer is free software, see the file COPYING for details
Looking for RME cards :
Card 0 : RME AIO S/N 0x579bcc at 0xfdef0000, irq 18
RME AIO found !
Card 1 : TerraTec EWX24/96 at 0xbf00, irq 20
Card 2 : TerraTec EWX24/96 at 0xbb00, irq 21
1 RME cards card found.
Initializing default presets
:)
$ envy24control
using --- input_channels: 2
--- output_channels: 2
--- pcm_output_channels: 8
--- spdif in/out channels: 2
:)
^Cjack main caught signal 2
JackALSARawMidiDriver::Stop - stopping 'alsarawmidi' driver.
JackALSARawMidiDriver::Execute - ALSA thread exiting.
##################
### [!] ###
##################
$ qjackctl
19:55:04.103 Patchbay deactivated.
19:55:04.104 Statistics reset.
19:55:04.106 ALSA connection change.
Cannot connect to server socket err = No such file or directory
Cannot connect to server socket
jack server is not running or cannot be started
19:55:04.115 ALSA connection graph change.
19:55:10.728 JACK is starting...
19:55:10.729 /usr/bin/jackd -dalsa -r48000 -p1024 -n2 -D -Chw:1
-Phw:1
Cannot connect to server socket err = No such file or directory
Cannot connect to server socket
jack server is not running or cannot be started
19:55:10.780 Could not start JACK. Sorry.
First starting jackd and then launching qjackctl is ok.
I didn't test if the card and anything are really ok, but it seems to be
ok.
Thanks again :) and
Regards,
Ralf
-- Homepages from Oberhausen (Ruhrgebiet), culture I like to recommend http://www.cosmiclava.com/ in English http://www.achimjaroschek.com/ mixed, in English and in German _______________________________________________ Linux-audio-user mailing list Linux-audio-user@lists.linuxaudio.org http://lists.linuxaudio.org/listinfo/linux-audio-userReceived on Thu Jun 9 00:15:02 2011
This archive was generated by hypermail 2.1.8 : Thu Jun 09 2011 - 00:15:02 EEST