LinHES Forums
http://forums.linhes.org/

Upgrading alsa to 1.0.14 on R5E27
http://forums.linhes.org/viewtopic.php?f=6&t=16840
Page 1 of 1

Author:  BJefferys [ Wed Oct 03, 2007 11:23 am ]
Post subject:  Upgrading alsa to 1.0.14 on R5E27

Would someone point me in the right direction to upgrade alsa in R5E27. I have followed the wiki, but the driver remains at 1.0.13.

Brian

Author:  cecil [ Wed Oct 03, 2007 2:02 pm ]
Post subject: 

Not being in front of a Linux box and working it out in my head...

Edit /etc/apt/sources.list
change stable to unstable
Code:
apt-get update
apt-get install alsa-source alsa-base alsa-oss
cd /usr/src
tar xjvf alsa.tar.bz2
cd linux
make-kpg modules_image
dpkg -i ../alsa*.deb
Enjoy...

Author:  BJefferys [ Wed Oct 03, 2007 2:56 pm ]
Post subject:  Thank you

That did it.

Brian

Author:  Kirk [ Tue Oct 16, 2007 12:50 am ]
Post subject: 

Howdy,

I'm getting a make error after running make-kpkg modules_image from within the /usr/src/linux directory as root, so the .deb's never get created. Here's a snip where it's running into trouble.

Code:
...
make[1]: Entering directory `/usr/src/modules/alsa-driver'
/usr/bin/make -f debian/rules binary-modules
make[2]: Entering directory `/usr/src/modules/alsa-driver'
/usr/bin/make  compile
make[3]: Entering directory `/usr/src/modules/alsa-driver'
/usr/bin/make dep
make[4]: Entering directory `/usr/src/modules/alsa-driver'
make[5]: Entering directory `/usr/src/modules/alsa-driver/acore'
make[6]: Entering directory `/usr/src/modules/alsa-driver/acore/ioctl32'
....
....
make[5]: Leaving directory `/usr/src/modules/alsa-driver/pcmcia'
make[5]: Entering directory `/usr/src/modules/alsa-driver/misc'
make[5]: Leaving directory `/usr/src/modules/alsa-driver/misc'
make[4]: Leaving directory `/usr/src/modules/alsa-driver'
/usr/bin/make -C /usr/src/linux SUBDIRS=/usr/src/modules/alsa-driver O=/usr/src/linux CPP="gcc-4.1 -E" CC="gcc-4.1" modules
make[4]: Entering directory `/usr/src/linux-headers-2.6.18-chw-13'
  CC [M]  /usr/src/modules/alsa-driver/i2c/other/tea575x-tuner.o
In file included from /usr/src/modules/alsa-driver/i2c/other/tea575x-tuner.c:29:
/usr/src/modules/alsa-driver/include/sound/tea575x-tuner.h:25:28: error: linux/videodev.h: No such file or directory
In file included from /usr/src/modules/alsa-driver/i2c/other/tea575x-tuner.c:29:
/usr/src/modules/alsa-driver/include/sound/tea575x-tuner.h:37: error: field 'vd' has incomplete type
...
...
make[8]: *** [/usr/src/modules/alsa-driver/i2c/other/tea575x-tuner.o] Error 1
make[7]: *** [/usr/src/modules/alsa-driver/i2c/other] Error 2
make[6]: *** [/usr/src/modules/alsa-driver/i2c] Error 2
make[5]: *** [_module_/usr/src/modules/alsa-driver] Error 2
make[4]: *** [modules] Error 2
make[4]: Leaving directory `/usr/src/linux-headers-2.6.18-chw-13'
make[3]: *** [compile] Error 2
make[3]: Leaving directory `/usr/src/modules/alsa-driver'
make[2]: *** [build-stamp] Error 2
make[2]: Leaving directory `/usr/src/modules/alsa-driver'
make[1]: *** [kdist_image] Error 2
make[1]: Leaving directory `/usr/src/modules/alsa-driver'
Module /usr/src/modules/alsa-driver failed.
Hit return to Continue

Code:
# locate videodev.h
/usr/src/linux-headers-2.6.18-chw-13/include/linux/videodev.h


Any ideas on this one?

Regards,
Kirk.

Author:  Kirk [ Tue Oct 16, 2007 3:55 pm ]
Post subject: 

My problem was that I didn't have the DVB headers. As

Code:
videodev.h -> /root/v4l-dvb-1387dc197077/linux/include/linux/videodev.h

showed me, along with this thread on how to get them. Then follow the steps above.

Author:  BJefferys [ Sun Oct 21, 2007 8:02 pm ]
Post subject: 

I am having a different problem after a rebuild.

Code:
root@mythtv:/usr/src# apt-get install alsa-source alsa-base alsa-oss
Reading package lists... Done
Building dependency tree... Done
You might want to run `apt-get -f install' to correct these:
The following packages have unmet dependencies:
  alsa-oss: Depends: libasound2 (> 1.0.14) but 1.0.13-2 is to be installed
  libc6-dev: Depends: libc6 (= 2.5-7) but 2.6.1-6 is to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).


Any help you can provide cecil?

Brian

Author:  BJefferys [ Sun Oct 21, 2007 8:08 pm ]
Post subject: 

Here is the output of apt-get -f install.

Code:
root@mythtv:/usr/src# apt-get -f install
Reading package lists... Done
Building dependency tree... Done
Correcting dependencies... Done
The following extra packages will be installed:
  binutils cpp-4.1 g++-4.1 gcc-4.1 gcc-4.1-base libc6-dev libstdc++6-4.1-dev
Suggested packages:
  binutils-doc gcc-4.1-locales g++-4.1-multilib gcc-4.1-doc gcc-4.1-multilib
  glibc-doc manpages-dev libstdc++6-4.1-doc
Recommended packages:
  libmudflap0-dev
The following packages will be REMOVED:
  libssp0
The following packages will be upgraded:
  binutils cpp-4.1 g++-4.1 gcc-4.1 gcc-4.1-base libc6-dev libstdc++6-4.1-dev
7 upgraded, 0 newly installed, 1 to remove and 727 not upgraded.
2 not fully installed or removed.
Need to get 12.7MB of archives.
After unpacking 2671kB disk space will be freed.
Do you want to continue [Y/n]? y
Get:1 http://ftp.debian.org unstable/main binutils 2.18-1 [2670kB]
Get:2 http://ftp.debian.org unstable/main libc6-dev 2.6.1-6 [3331kB]
Get:3 http://ftp.debian.org unstable/main libstdc++6-4.1-dev 4.1.2-17 [1124kB]
Get:4 http://ftp.debian.org unstable/main g++-4.1 4.1.2-17 [2598kB]
Get:5 http://ftp.debian.org unstable/main gcc-4.1 4.1.2-17 [416kB]
Get:6 http://ftp.debian.org unstable/main cpp-4.1 4.1.2-17 [2317kB]
Get:7 http://ftp.debian.org unstable/main gcc-4.1-base 4.1.2-17 [206kB]
Fetched 12.7MB in 16s (791kB/s)
(Reading database ... 90671 files and directories currently installed.)
Preparing to replace binutils 2.17-3 (using .../binutils_2.18-1_i386.deb) ...
Unpacking replacement binutils ...
dpkg: error processing /var/cache/apt/archives/binutils_2.18-1_i386.deb (--unpack):
 trying to overwrite `/usr/bin/nm', which is also in package libxine1
dpkg-deb: subprocess paste killed by signal (Broken pipe)
dpkg: regarding .../libc6-dev_2.6.1-6_i386.deb containing libc6-dev:
 libc6-dev conflicts with binutils (<< 2.17cvs20070426-1)
  binutils (version 2.17-3) is installed.
dpkg: error processing /var/cache/apt/archives/libc6-dev_2.6.1-6_i386.deb (--unpack):
 conflicting packages - not installing libc6-dev
Errors were encountered while processing:
 /var/cache/apt/archives/binutils_2.18-1_i386.deb
 /var/cache/apt/archives/libc6-dev_2.6.1-6_i386.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)


Brian

Author:  mark60050 [ Fri Jun 19, 2009 10:10 pm ]
Post subject: 

Anyone know how to build new alsa with ARCH Linux? I have been googling away, but just can't figure it out?

Page 1 of 1 All times are UTC - 6 hours
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/