Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 78780 - alsa echo-mia driver says echoaudio.c:41: get_firmware(): Firmware not available (-2)
Summary: alsa echo-mia driver says echoaudio.c:41: get_firmware(): Firmware not availa...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High major (vote)
Assignee: Jeremy Huddleston (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-01-19 23:47 UTC by Evan Langlois
Modified: 2005-04-22 04:15 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Evan Langlois 2005-01-19 23:47:38 UTC
I used to manually patch alsa with the echoaudio patches for my echo mia sound card.  I've heard for awhile that alsa was going to include the driver in the next release, and sure enough, its included!  But it won't recognize the card.

lain ~ # dmesg | grep ALSA
ALSA /var/tmp/portage/alsa-driver-1.0.8/work/alsa-driver-1.0.8/pci/echoaudio/echoaudio.c:41: get_firmware(): Firmware not available (-2)

Flags & Version:
[ebuild   R   ] media-sound/alsa-driver-1.0.8  -debug -doc +oss 0 kB

LSPCI output:0000:00:08.0 Multimedia controller: Motorola: Unknown device 3410 (rev 01)
        Subsystem: Echo Digital Audio Corporation: Unknown device 0080
        Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-
        Status: Cap- 66Mhz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
        Latency: 192, cache line size 08
        Interrupt: pin A routed to IRQ 11
        Region 0: Memory at da000000 (32-bit, non-prefetchable)



Reproducible: Always
Steps to Reproduce:




Portage 2.0.51-r13 (default-linux/x86/2004.3, gcc-3.4.3,
glibc-2.3.4.20041102-r0, 2.6.10-gentoo-r2 i686)
=================================================================
System uname: 2.6.10-gentoo-r2 i686 AMD Athlon(tm) Processor
Gentoo Base System version 1.6.8
Python:              dev-lang/python-2.3.4 [2.3.4 (#1, Oct 24 2004, 04:58:11)]
ccache version 2.3 [enabled]
dev-lang/python:     2.3.4
sys-devel/autoconf:  2.59-r6, 2.13
sys-devel/automake:  1.8.5-r2, 1.5, 1.4_p6, 1.6.3, 1.7.9, 1.9.4
sys-devel/binutils:  2.15.92.0.2-r2
sys-devel/libtool:   1.5.10-r2
virtual/os-headers:  2.6.8.1-r2
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-O2 -march=athlon -fomit-frame-pointer -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.3/env
/usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3/share/config
/usr/lib/X11/xkb /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=athlon -fomit-frame-pointer -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms"
GENTOO_MIRRORS="http://distfiles.gentoo.org
http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
LDFLAGS="-Wl,-O1"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 16bit 3dnow 3dnowex 3ds X a52 aac acpi acpi4linux adns aim aliaschain
alsa amd apache2 apm artworkextra asm asterisk async atm audiofile avi
bash-completion bdf beepmp berkdb bindist bitmap-fonts blender-game bluetooth
bmp bonobo bootsplash bzip2 bzlib c++ cacheemu cairo calendar cap caps cddb
cdparanoia cdr cdrom cgi chipcard chroot clamav cle266 clearpasswd cnamefix
codecs cracklib crypt css curl curlwrappers dba dbx dedicated devfs26 devmap dga
dhcp dict dillo dio directfb distcache divx4linux djbfft dlloader dmx dnd dnsdb
droproot dv dvb dvd dvdread dxr3 edl eds emoticon encode erandom escreen esd
ethereal etwin evms2 evo exif ext-png ext-zlib extensions extlib f77 fam fastcgi
fax fb fbcon fbdev festival ffmpeg fftw flac flash flatfile flexresp flood
fluidsynth fmod foomaticdb foreign-package foreign-sysvinit fortran fpx freetds
freetts freetype frlargefiles ftp gb gcj gd gd-external gdbm ggi gif gimp
gimp-print gimpprint gkrellm glgd glitz gmail gmp gmthigh gmtsuppl gmttria
gnokii gnome gnomedb gnuplot gnustep gnutls gphoto2 gpm gps gs gsl gsm gstreamer
gtk gtk2 guile hal howl hub icu idea imap imlib imlib2 inetd inifile innodb ipv6
irda irmc isdn ithreads jabber jack jack-tmpfs java javacomm javascript jbig
joystick jp2 jpeg junit kde ladcca ladspa latex layout-osx-like lcd lcms ldap
lesstif libcaca libclamav libdsk libg++ libgda libsamplerate libwww lids lirc
live lm_sensors ltsp lufsusermount lzo lzw lzw-tiff mad maildir maildrop
mailwrapper makecheck maps matroska matrox mbox mbrola mcve mdb memlimit
messages mew mhash mikmod mime mimencode ming mixer mjpeg mmap mmx mmx2 mng
modcache modchat monkey motif mozaccess mozilla moznoirc moznomail mozsvg
mozxmlterm mp3 mpeg mpeg4 mpi mplayer msn multicall multipleip music mysql
nagios-dns nagios-ntp nagios-ping nagios-ssh nas ncurses network neural nntp
no-old-linux no_wxgtk1 notlsbeforeauth nptl ntlm oav objc offensive oggvorbis
opengl openssh operanom2 opie oss pam parse-clocks passfile pcap pcntl pcre pdf
pdfkit pdflib perl pg-hier pg-intdatetime pg-vacuumdelay physfs pic pie playlist
plotutils png pnp portaudio posix postgres postgresql povray ppds prelude pri
print private procmail pthreads pwdb python qemu-fast qt quicktime quotas quotes
readline real remote resperl rogue roundrobin rrdtool rtc samba scanner sdk sdl
semanticfix sendfile serial session sftplogging shaper sheep silverxp simplexml
skey slang slp smartcard smime sms smtp sndfile snmp snortsam sockets socks5
softmmu sounds sox spamassassin speedo speex spell sqlite src ssl streamzap svg
svga tcpd tga thumbnail tidy tiff timidity transcode truetype truetype-fonts
trusted type1 type1-fonts underscores uptimed v4l v4l2 vdesktop vhosts videos
vidix virus-scan vnc wavelan webmin-minimal wifi wildlsearch winbind wma123 wmf
wolk-bootsplash wolk-supermount wxwindows xanim xatrix xattr xchatdccserver
xforms xim xine xinerama xml2 xmms xosd xpm xprint xrandr xscreensaver xv xvid
xvmc yahoo yaz yp yv12 zaptel zlib zvbi"
Unset:  PORTDIR_OVERLAY
Comment 1 Evan Langlois 2005-01-31 10:03:38 UTC
BTW, I got this fixed.  You'll need to version bump everything to the latest 1.0.8 (firmware too) as right now only the drivers are at 1.0.8, but the firmware and other stuff isn't.

Second, the kernel hotplug loader wants firmware in /lib/firmware/ and alsa uses something like /usr/lib/hotplug/firmware, so I copied the contents of one into the other and symlinked them so they'd be the same directory.   We need to figure out which place hotplug should look and patch accordingly to have 1 directory.

Evidently, building the driver with the firmware run-time-loaded, instead of being built-in, is the default now (was set in configure before and defaulted to being built-in), so if hotplug can find the firmware file, things will magically work.

So, now it works (for me), but I'm leaving it as NEW since it requires some hackery that should be fixed upstream.
Comment 2 Jeremy Huddleston (RETIRED) gentoo-dev 2005-04-21 01:42:21 UTC
Greg, can you comment on where we should put firmware for hotplug?  Right now, it's installing by default in /usr/lib/hotplug/firmware, but hotplug seems to be looking in /lib/firmware
Comment 3 Greg Kroah-Hartman (RETIRED) gentoo-dev 2005-04-21 23:05:45 UTC
/lib/firmware is the proper place for this.
Comment 4 Jeremy Huddleston (RETIRED) gentoo-dev 2005-04-22 04:15:42 UTC
ok, this has been fixed to install to the correct location.