* Re: [gentoo-user] ALSA + CMI8738 card set up
2006-02-13 8:59 [gentoo-user] ALSA + CMI8738 card set up Rohit Sharma
@ 2006-02-12 16:03 ` Holly Bostick
2006-02-13 17:31 ` Rohit Sharma
2006-02-13 20:23 ` [gentoo-user] ALSA + CMI8738 card set up Rohit Sharma
0 siblings, 2 replies; 8+ messages in thread
From: Holly Bostick @ 2006-02-12 16:03 UTC (permalink / raw
To: gentoo-user
Rohit Sharma schreef:
> Hi list,
>
> This is about my struggle to make my Trust 514DX soundcard work with
> Linux.
Well, I don't have this specific card, but I do have a Typhoon Acustic
6, which is the same chipset:
00:0e.0 Multimedia audio controller: C-Media Electronics Inc CM8738 (rev 10)
and it works fine, so I'll do my best to help.
> This is expected to be supported in Linux [alsa-project.org] and I
> have read other testimonials on the net.
Yes, this chipset is supported for a long time now (it's very common,
and by no means new).
> I admit that I have never had to manually set anything alsa/oss as
> all my previous soundcards worked very easily with default settings
> of the modules.
Well the most likely problem is that your settings are incorrect in the
kernel, rather than anywhere else. The kernel settings are the
foundation; if they're right, everything will "Just Work", if they're
wrong, nothing will work. That's just the long and the short of it,
pretty much. But we'll get to that shortly.
> Alsa is started as a service on my comp. I thought it may just be
> that a newer-than-in-kernel code may help. The error that I have,
> from say Mplayer, is as follows.
>
> ............. Checking audio filter chain for 48000Hz/2ch/s16le ->
> 48000Hz/2ch/s16le... AF_pre: 48000Hz/2ch/s16le [AO OSS] audio_setup:
> Can't open audio device /dev/dsp: No such file or directory
> alsa-init: 1 soundcard found, using: default ALSA lib
> pcm_dmix.c:819:(snd_pcm_dmix_open) unable to open slave alsa-init:
> playback open error: No such file or directory ............
Just for comparison:
mplayer Battlestar\ Galactica\ 01x02-xvid.avi
MPlayer 1.0pre7try2-3.4.5 (C) 2000-2005 MPlayer Team
CPU: Advanced Micro Devices Athlon MP/XP Thoroughbred (Family: 6,
Stepping: 1)
Detected cache-line size is 64 bytes
CPUflags: MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 1 SSE2: 0
Gecompileerd voor x86 CPU met de volgende uitbreidingen: MMX MMX2 3DNow
3DNowEx SSE
85 audio & 196 video codecs
Bezig met het afspelen van Battlestar Galactica 01x02-xvid.avi
Cache fill: 16.80% (1409024 bytes) AVI bestandsformaat gedetecteerd!
VIDEO: [XVID] 640x352 16bpp 25.000 fps 1031.8 kbps (126.0 kbyte/s)
Clip info:
Software: Nandub v1.0rc2
==========================================================================
Bezig met het openen van de audio decoder: [mp3lib] MPEG layer-2, layer-3
mpg123: Can't rewind stream by 291 bits!
AUDIO: 48000 Hz, 2 ch, s16le, 112.0 kbit/7.29% (ratio: 14000->192000)
Selected audio codec: [mp3] afm:mp3lib (mp3lib MPEG layer-2, layer-3)
==========================================================================
vo: X11 running at 1280x1024 with depth 24 and 32 bpp (":0.0" => local
display)
It seems there is no Xvideo support for your video card available.
Run 'xvinfo' to verify its Xv support and read DOCS/HTML/en/video.html#xv!
See 'mplayer -vo help' for other (non-xv) video out drivers. Try -vo x11
==========================================================================
Bezig met het openen van de video decoder: [ffmpeg] FFmpeg's libavcodec
codec family
Selected video codec: [ffodivx] vfm:ffmpeg (FFmpeg MPEG-4)
==========================================================================
Checking audio filter chain for 48000Hz/2ch/s16le -> 48000Hz/2ch/s16le...
AF_pre: 48000Hz/2ch/s16le
==>AO: [oss] 48000Hz 2ch s16le (2 bps)
Building audio filter chain for 48000Hz/2ch/s16le -> 48000Hz/2ch/s16le...
Start afspelen...
VDec: vo config aanvraag - 640 x 352 (csp voorkeur: Planar YV12)
VDec: using Planar YV12 as output csp (no 0)
Film-Aspect is 1.82:1 - voorscalering naar het correcte film-aspect.
VO: [x11] 640x352 => 640x352 Planar YV12
SwScaler: using unscaled Planar YV12 -> BGRA special converter
[mpeg4 @ 0x860ed30]frame skip 8t: 0.000 1/ 1 ??% ??% ??,?% 0 0 9%
[mpeg4 @ 0x860ed30]frame skip 8t: 0.004 2/ 2 ??% ??% ??,?% 1 0 99%
No bind found for key MOUSE_BTN0 0.9% 6 0 91%
A: 9.4 V: 9.4 A-V: -0.000 ct: 0.029 235/235 23% 15% 0.9% 6 0 89%
Bezig met afsluiten... (Stop)
Just so that you know that it does work when your sound modules are
properly configured.
Your problem is here:
> [AO OSS] audio_setup: Can't open audio device /dev/dsp: No such file
> or directory
You have apparently not enabled OSS audio emulation in alsa (kernel)
driver, and this is what creates the /dev/dsp device (or rather the
sound sequencer device; /dev/dsp is a symlink to /dev/sound/dsp
la /dev/dsp
lrwxrwxrwx 1 root root 9 feb 9 01:27 /dev/dsp -> sound/dsp
which is the actual sequencer device).
>
> At the same moment, other config details and system's state are as
> below.
>
> rohit@Force ~ $ lsmod | grep snd snd_cmipci 20484 0
> snd_opl3_lib 6688 1 snd_cmipci snd_hwdep 6116 1
> snd_opl3_lib snd_mpu401_uart 4416 1 snd_cmipci snd_rawmidi 15620
> 1 snd_mpu401_uart
You seem to be missing a lot of modules; compare:
lsmod | grep snd
snd_seq_midi 6176 0
snd_opl3_synth 12292 0
snd_seq_instr 6656 1 snd_opl3_synth
snd_seq_midi_emul 5504 1 snd_opl3_synth
snd_ainstr_fm 2176 1 snd_opl3_synth
snd_pcm_oss 41760 0
snd_mixer_oss 14208 3 snd_pcm_oss
snd_seq_oss 26880 0
snd_seq_midi_event 5632 2 snd_seq_midi,snd_seq_oss
snd_seq 42256 8
snd_seq_midi,snd_opl3_synth,snd_seq_instr,snd_seq_midi_emul,snd_seq_oss,snd_seq_midi_event
snd_cmipci 27552 2
snd_pcm 69128 2 snd_pcm_oss,snd_cmipci
snd_page_alloc 7688 1 snd_pcm
snd_opl3_lib 8064 2 snd_opl3_synth,snd_cmipci
snd_timer 18564 3 snd_seq,snd_pcm,snd_opl3_lib
snd_hwdep 6560 1 snd_opl3_lib
snd_mpu401_uart 5504 1 snd_cmipci
snd_rawmidi 18336 2 snd_seq_midi,snd_mpu401_uart
snd_seq_device 6284 6
snd_seq_midi,snd_opl3_synth,snd_seq_oss,snd_seq,snd_opl3_lib,snd_rawmidi
snd 41316 13
snd_opl3_synth,snd_pcm_oss,snd_mixer_oss,snd_seq_oss,snd_seq,snd_cmipci,snd_pcm,snd_opl3_lib,snd_timer,snd_hwdep,snd_mpu401_uart,snd_rawmidi,snd_seq_device
You may have some of these compiled statically into the kernel, but in
my experience, alsasound doesn't like this. In my experience with both
the onboard VIA 8233 sound and this sound card which replaced it
(CM8738), everything that can be compiled as a module should be compiled
as a module; those things that cannot be compiled as a module are static
compiles which are autoloaded by the modules when they are loaded by the
alsasound daemon script.
>
> rohit@Force ~ $ uname -a Linux Force 2.6.8 #3 SMP Mon Jan 2 18:15:34
> GMT 2006 i686 AMD Athlon(TM) XP 2400+ AuthenticAMD GNU/Linux
My kernel is later than yours
uname -a
Linux mutable 2.6.15-gentoo #2 PREEMPT Sat Jan 7 02:43:44 CET 2006 i686
AMD Athlon(tm) XP 2200+ AuthenticAMD GNU/Linux
but this is not relevant, since this chipset is long supported by the
2.6 series kernels.
>
> rohit@Force /etc $ ls -la asound.state -rw-r--r-- 1 root root 7207
> Feb 12 11:07 asound.state
What would be more useful is the actual contents of this file, rather
than the fact of its existence, but that is also not relvant, since
these are the mixer settings, and we don't care about that atm (who
cares whether the mixer is muted or not when all the sound devices are
not present?).
>
> rohit@Force /etc $ ls -la /dev/dsp* ls: /dev/dsp*: No such file or
> directory
This is, again, a lack in your kernel config.
Here's mine:
grep SND /usr/src/linux/.config
CONFIG_SND=m
CONFIG_SND_AC97_CODEC=m
CONFIG_SND_AC97_BUS=m
CONFIG_SND_TIMER=m
CONFIG_SND_PCM=m
CONFIG_SND_HWDEP=m
CONFIG_SND_RAWMIDI=m
CONFIG_SND_SEQUENCER=m
# CONFIG_SND_SEQ_DUMMY is not set
CONFIG_SND_OSSEMUL=y
CONFIG_SND_MIXER_OSS=m
CONFIG_SND_PCM_OSS=m
CONFIG_SND_SEQUENCER_OSS=y
# CONFIG_SND_VERBOSE_PRINTK is not set
# CONFIG_SND_DEBUG is not set
CONFIG_SND_GENERIC_DRIVER=y
CONFIG_SND_MPU401_UART=m
CONFIG_SND_OPL3_LIB=m
# CONFIG_SND_DUMMY is not set
CONFIG_SND_VIRMIDI=m
# CONFIG_SND_MTPAV is not set
# CONFIG_SND_SERIAL_U16550 is not set
CONFIG_SND_MPU401=m
# CONFIG_SND_ALI5451 is not set
# CONFIG_SND_ATIIXP is not set
# CONFIG_SND_ATIIXP_MODEM is not set
# CONFIG_SND_AU8810 is not set
# CONFIG_SND_AU8820 is not set
# CONFIG_SND_AU8830 is not set
# CONFIG_SND_AZT3328 is not set
# CONFIG_SND_BT87X is not set
# CONFIG_SND_CS46XX is not set
# CONFIG_SND_CS4281 is not set
# CONFIG_SND_EMU10K1 is not set
# CONFIG_SND_EMU10K1X is not set
# CONFIG_SND_CA0106 is not set
# CONFIG_SND_KORG1212 is not set
# CONFIG_SND_MIXART is not set
# CONFIG_SND_NM256 is not set
# CONFIG_SND_RME32 is not set
# CONFIG_SND_RME96 is not set
# CONFIG_SND_RME9652 is not set
# CONFIG_SND_HDSP is not set
# CONFIG_SND_HDSPM is not set
# CONFIG_SND_TRIDENT is not set
# CONFIG_SND_YMFPCI is not set
# CONFIG_SND_AD1889 is not set
# CONFIG_SND_ALS4000 is not set
CONFIG_SND_CMIPCI=m
# CONFIG_SND_ENS1370 is not set
# CONFIG_SND_ENS1371 is not set
# CONFIG_SND_ES1938 is not set
# CONFIG_SND_ES1968 is not set
# CONFIG_SND_MAESTRO3 is not set
# CONFIG_SND_FM801 is not set
# CONFIG_SND_ICE1712 is not set
# CONFIG_SND_ICE1724 is not set
CONFIG_SND_INTEL8X0=m
# CONFIG_SND_INTEL8X0M is not set
# CONFIG_SND_SONICVIBES is not set
# CONFIG_SND_VIA82XX is not set
# CONFIG_SND_VIA82XX_MODEM is not set
# CONFIG_SND_VX222 is not set
# CONFIG_SND_HDA_INTEL is not set
# CONFIG_SND_USB_AUDIO is not set
# CONFIG_SND_USB_USX2Y is not set
Again, everything that can be a module, should be a module-- except for
basic sound support and OSS emulation. You do need OSS emulation, since
every program that produces sound does not necessarily use ALSA; as you see,
mPlayer is using OSS, which is in this case emulated by ALSA. That is
the meaning of "AO OSS" Many applications use OSS still, but since ALSA
now can emulate OSS, the old-fashioned programs use that emulation to
use ALSA. So you don't need to configure/install OSS directly in the
kernel, but you do need to enable OSS emulation in the ALSA kernel
config-- which you have apparently not done, or not done properly).
Now, I know the docs say that you don't have to modularize everything,
but in my experience with two sound cards, you actually do. alsasound
does not like statically-compiled drivers, except for the ones loaded by
the modules themselves (for example, SND_PCM_OSS -- a loadable module--
will itself load the statically compiled SND_SEQUENCER_OSS when it loads).
Secondarily, the docs say that you should put alsasound in the boot
runlevel, but 1) that doesn't make any sense, since you have no need
whatsoever for alsasound in the boot runlevel, and 2) many modules
aren't loaded until the default runlevel, so in my experience, alsasound
fails to initialize properly in the boot runlevel, since a great number
of its modules are not available at that time. Alsasound loads fine in
the default runlevel, and no modules need be set in modules.autoload.d.
However, some alsa packages do need to be installed, since the kernel
driver is only the driver, and not the libs, tools, utilities, or other
needed supplemental files:
eix alsa
* media-libs/alsa-lib
Available versions: 1.0.8 1.0.9 1.0.10 1.0.11_rc2 1.0.11_rc3
Installed: 1.0.11_rc3
Homepage: http://www.alsa-project.org/
Description: Advanced Linux Sound Architecture Library
* media-libs/alsa-oss
Available versions: 1.0.8-r1 1.0.9 1.0.10-r1 1.0.11_rc3
Installed: 1.0.11_rc3
Homepage: http://www.alsa-project.org/
Description: Advanced Linux Sound Architecture OSS
compatibility layer.
* media-plugins/alsa-jack
Available versions: 1.0.8 1.0.9 1.0.10_rc1 1.0.10
Installed: 1.0.10
Homepage: http://www.alsa-project.org/
Description: JACK pcm plugin. Allows native ALSA
applications to connect to the jackd. Works transparantly for both
capture and playback.
* media-plugins/gst-plugins-alsa
Available versions: 0.8.8 0.8.9 0.8.10 0.8.11 [M]0.10.0 [M]0.10.1
[M]0.10.2 [M]0.10.3
Installed: 0.8.11
Homepage:
http://gstreamer.freedesktop.org/modules/gst-plugins.html
Description: plugin for gstreamer
* media-plugins/xmms-alsa
Available versions: 1.2.10 1.2.10-r1 1.2.10-r2 1.2.10-r3
Installed: 1.2.10-r3
Homepage: http://www.xmms.org
Description: Xmms Plugin: xmms-alsa
* media-sound/alsa-driver
Available versions: [M]1.0.3 [M]1.0.10_rc3 [M]1.0.10 [M]1.0.10-r1
[M]1.0.10-r2 [M]1.0.11_rc2 [M]1.0.11_rc3
Installed: none
Homepage: http://www.alsa-project.org/
Description: Advanced Linux Sound Architecture kernel modules
* media-sound/alsa-firmware
Available versions: 1.0.8-r1 1.0.9 1.0.10 1.0.11_rc3
Installed: 1.0.11_rc3
Homepage: http://www.alsa-project.org/
Description: Advanced Linux Sound Architecture firmware
* media-sound/alsa-headers
Available versions: 1.0.8 1.0.9b 1.0.10_rc3 1.0.10 1.0.11_rc2
1.0.11_rc3
Installed: 1.0.11_rc3
Homepage: http://www.alsa-project.org/
Description: Header files for Advanced Linux Sound
Architecture kernel modules
* media-sound/alsa-patch-bay
Available versions: 1.0.0-r1 1.0.0-r2
Installed: none
Homepage: http://pkl.net/~node/alsa-patch-bay.html
Description: Graphical patch bay for the ALSA sequencer API.
* media-sound/alsa-tools
Available versions: 1.0.8-r1 1.0.10 1.0.11_rc2 1.0.11_rc3
Installed: 1.0.11_rc3
Homepage: http://www.alsa-project.org
Description: Advanced Linux Sound Architecture tools
* media-sound/alsa-utils
Available versions: 1.0.9a 1.0.10 1.0.11_rc2
Installed: 1.0.11_rc2
Homepage: http://www.alsa-project.org/
Description: Advanced Linux Sound Architecture Utils
(alsactl, alsamixer, etc.)
* media-sound/alsamixergui
Available versions: 0.9.0.1.2-r4
Installed: none
Homepage:
http://www.iua.upf.es/~mdeboer/projects/alsamixergui/
Description: AlsaMixerGui - a FLTK based amixer Frontend
* media-sound/alsaplayer
Available versions: 0.99.76 0.99.76-r1 0.99.76-r2
Installed: none
Homepage: http://www.alsaplayer.org/
Description: Media player primarily utilising ALSA
* media-sound/gnome-alsamixer
Available versions: 0.9.6
Installed: none
Homepage: http://www.paw.co.za/projects/gnome-alsamixer
Description: Gnome 2 based ALSA Mixer
* media-sound/bluetooth-alsa-cvs [2]
Available versions: 1.6
Installed: none
Homepage: http://bluetooth-alsa.sourceforge.net
Description: ALSA bluetooth headset driver [snd-bt-sco.ko].
You mostly need alsa-lib, alsa-oss, and of course alsa-utils. Alsa-tools
and alsa-headers are recommended. The rest are at your discretion.
Anyway, once you have the OSS compatibility layer set up in the kernel,
and alsa-oss installed (which probably will install at least alsa-libs
and possibly alsa-headers as well), you should hopefully see the
/dev/dsp device being created after a reboot.
If not, come on back and tell us where things failed, and we'll try again.
Hope this helps,
Holly
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 8+ messages in thread
* [gentoo-user] Changing of transcode use flags
2006-02-13 17:31 ` Rohit Sharma
@ 2006-02-12 18:24 ` Daniel Pielmeier
0 siblings, 0 replies; 8+ messages in thread
From: Daniel Pielmeier @ 2006-02-12 18:24 UTC (permalink / raw
To: gentoo-user
Hello,
after the last sync portage wants to reinstall transcode with new use flags.
These are the packages that I would merge, in order:
Calculating world dependencies
!!! Packages for the following atoms are either all
!!! masked or don't exist:
gnome-extra/medusa
...done!
[ebuild R ] media-video/transcode-0.6.14-r3 -3dnow +X -a52*
(-altivec) -dv* -dvdread* +encode -fame* +gtk +imagemagick +jpeg -lzo*
-mjpeg* +mmx +mpeg -network +ogg +quicktime +sdl +sse +sse2 -theora*
+truetype -v4l* +vorbis +xml2 +xvid 0 kB
Total size of downloads: 0 kB
According to the Gentoo use-flag-manual the settings in
/etc/portage/package.use overrides all other settings concerning
use-flags, so why does portage wants to remove "a52 dv dvdread fame lzo
mjpeg theora v4l" support. Though i have it in /etc/portage/package.use
#/etc/portage
#List of packet-specific USE-flags
media-video/transcode a52 avi dvdread divx4linux dv encode fame lzo mpeg
ogg quicktime subtitles vorbis xvid mjpeg quicktime sdl theora v4l mmx
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 8+ messages in thread
* [gentoo-user] Changing of transcode use flags
@ 2006-02-12 19:43 Daniel Pielmeier
0 siblings, 0 replies; 8+ messages in thread
From: Daniel Pielmeier @ 2006-02-12 19:43 UTC (permalink / raw
To: gentoo-user
Hello,
after the last sync portage wants to reinstall transcode with new use flags.
These are the packages that I would merge, in order:
Calculating world dependencies
!!! Packages for the following atoms are either all
!!! masked or don't exist:
gnome-extra/medusa
...done!
[ebuild R ] media-video/transcode-0.6.14-r3 -3dnow +X -a52*
(-altivec) -dv* -dvdread* +encode -fame* +gtk +imagemagick +jpeg -lzo*
-mjpeg* +mmx +mpeg -network +ogg +quicktime +sdl +sse +sse2 -theora*
+truetype -v4l* +vorbis +xml2 +xvid 0 kB
Total size of downloads: 0 kB
According to the Gentoo use-flag-manual the settings in
/etc/portage/package.use overrides all other settings concerning
use-flags, so why does portage wants to remove "a52 dv dvdread fame lzo
mjpeg theora v4l" support. Though i have it in /etc/portage/package.use
#/etc/portage
#List of packet-specific USE-flags
media-video/transcode a52 avi dvdread divx4linux dv encode fame lzo mpeg
ogg quicktime subtitles vorbis xvid mjpeg quicktime sdl theora v4l mmx
What could be the reason for this.
Thank you
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [gentoo-user] ALSA + CMI8738 card set up
2006-02-13 20:23 ` [gentoo-user] ALSA + CMI8738 card set up Rohit Sharma
@ 2006-02-12 21:26 ` Holly Bostick
0 siblings, 0 replies; 8+ messages in thread
From: Holly Bostick @ 2006-02-12 21:26 UTC (permalink / raw
To: gentoo-user
Rohit Sharma schreef:
> Quick questions - Holly.
>
> When I configure alsa support in my kernel and build modules using
> menuconfig and tell kernel to load modules automatically [or do
> manual loading using modules.autoload.d]
>
> 1. Do I still have to enable alsasound service using "rc-update add
> alsasound default" ?
Yes; the service does the important job of storing your mixer levels on
shutdown and restoring them on boot, as well as actually loading the
modules for use. The idea of a loadable module is that the module is
loaded when something needs it, rather than just loading because it is
available. This is why you have to, for example, compile the modules for
your / filesystem statically-- because they have to be already loaded
before you need them in the boot process (statically-compiled modules
are loaded in the very first "initializing kernel" instructions).
Loadable modules, on the other hand, are loaded when something asks for
them, like an initialization script (network initialization script to
'need' the network card drivers, X to need the fglrx drivers,
firestarter to need the various ip_filter modules, and so forth).
Otherwise, you'd have to modprobe the modules before attempting to start
the program that needed them to be already in operation before the
program could work (like the boot process, which has to read filesystems
on a drive and can't stop to load the modules for the filesystem-- which
modules, if compiled as loadable modules rather than statically, are
themselves on the filesystem that the boot process cannot read
because the modules aren't loaded-- before it can read the filesystem to
manage the files it needs on that filesystem in order to continue the
boot process). So you need something to need the sound modules to
load, or else they won't, and that's what alsasound does, too.
> 2. Is it a good idea to let the kernel automatically load modules or
> use /etc/modules.autoload.d/kernel-2.6 for it? [ Currently I am
> using the file instead of kernel [I disabled my onboard i8x0 card in
> BIOS to install this CMIPCI one and was skeptic that kernel would
> pick up the onboard one. I guess for a correctly configured host, it
> woudn't matter].
Well, if you want to do more work when it isn't necessary, you're free
to use modules.autoload.d to manage the modules, but you then have to
maintain that file. For no reason.
Alsasound contacts the kernel to load the modules just fine as long as
you've given it a correct range of modules to access.
As for your onboard sound, I was afraid of it loading as well when I
disabled it and added a new sound card, but the kernel is pretty smart,
and just ignored it, especially since I removed all reference to the
driver/modules in my ALSA configuration files, and stopped compiling
modules for it in the kernel. After all, the kernel can't load a module
that doesn't exist :-) .
If for some reason that doesn't work for you, you can add the onboard
sound modules to /etc/hotplug/blacklist, but that shouldn't be necessary.
Really, the kernel does know what it's doing rather well these days; you
can definitely give it the benefit of the doubt and trust it first,
assuming that it's going to do what it's supposed to, rather than
suspecting it of not being competent and assuming you have to manage it
doing its job.
>
> To say the least your response was encouraging. I am in the middle of
> an emerge after two months of disconnectivity....
Glad to hear it. Good luck with the next steps.
Holly
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 8+ messages in thread
* [gentoo-user] ALSA + CMI8738 card set up
@ 2006-02-13 8:59 Rohit Sharma
2006-02-12 16:03 ` Holly Bostick
0 siblings, 1 reply; 8+ messages in thread
From: Rohit Sharma @ 2006-02-13 8:59 UTC (permalink / raw
To: gentoo-user
Hi list,
This is about my struggle to make my Trust 514DX soundcard work with
Linux. This is expected to be supported in Linux [alsa-project.org] and
I have read other testimonials on the net.
To cut a long story short, the card worked in Windows. It gives
fantastic sound output with DVDs and other suitable audios but I'd
rather have it working on my Gentoo desktop where I have made everything
else work so far. I admit that I have never had to manually set
anything alsa/oss as all my previous soundcards worked very easily with
default settings of the modules. Also, I feel that if I posted
everything that I have done so far, the mail shall be really long. But
the following may help to understand the problem.
Alsa is started as a service on my comp. I thought it may just be that a
newer-than-in-kernel code may help. The error that I have, from say
Mplayer, is as follows.
.............
Checking audio filter chain for 48000Hz/2ch/s16le -> 48000Hz/2ch/s16le...
AF_pre: 48000Hz/2ch/s16le
[AO OSS] audio_setup: Can't open audio device /dev/dsp: No such file or
directory
alsa-init: 1 soundcard found, using: default
ALSA lib pcm_dmix.c:819:(snd_pcm_dmix_open) unable to open slave
alsa-init: playback open error: No such file or directory
............
1. Can you please help me understand why the /dev/dsp* aren't created
at all?
2. Can I expect to continue using aumix once the whole thing is set
up correctly? [I dont mind using alsamixer though]
Please reply.
Thank you,
Rohit
At the same moment, other config details and system's state are as below.
rohit@Force ~ $ lsmod | grep snd
snd_cmipci 20484 0
snd_opl3_lib 6688 1 snd_cmipci
snd_hwdep 6116 1 snd_opl3_lib
snd_mpu401_uart 4416 1 snd_cmipci
snd_rawmidi 15620 1 snd_mpu401_uart
rohit@Force ~ $ uname -a
Linux Force 2.6.8 #3 SMP Mon Jan 2 18:15:34 GMT 2006 i686 AMD Athlon(TM)
XP 2400+ AuthenticAMD GNU/Linux
rohit@Force /etc $ ls -la asound.state
-rw-r--r-- 1 root root 7207 Feb 12 11:07 asound.state
rohit@Force /etc $ ls -la /dev/dsp*
ls: /dev/dsp*: No such file or directory
rohit@Force /proc/asound $ ls -la CMI8738MC6
lrwxrwxrwx 1 root root 5 Feb 13 08:51 CMI8738MC6 -> card0
rohit@Force /proc/asound/card0 $ cat cmipci
C-Media PCI CMI8738-MC6 (model 55) at 0xc400, irq 16
00: 00 00 00 00
04: 50 00 00 00
08: 10 00 09 00
0c: 00 00 00 08
10: c0 00 00 00
14: 00 00 c0 00
18: 00 00 80 08
1c: fd ff ff ef
20: 10 40 f8 00
24: 01 3d ee 00
28: ff ff ff ff
2c: ff ff ff ff
30: 00 00 00 00
34: 00 00 00 00
38: 00 00 00 00
3c: 00 00 00 00
rohit@Force /proc/asound $ cat cards
0 [CMI8738MC6 ]: CMI8738-MC6 - C-Media PCI CMI8738-MC6
C-Media PCI CMI8738-MC6 (model 55) at 0xc400, irq 16
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [gentoo-user] ALSA + CMI8738 card set up
2006-02-12 16:03 ` Holly Bostick
@ 2006-02-13 17:31 ` Rohit Sharma
2006-02-12 18:24 ` [gentoo-user] Changing of transcode use flags Daniel Pielmeier
2006-02-13 20:23 ` [gentoo-user] ALSA + CMI8738 card set up Rohit Sharma
1 sibling, 1 reply; 8+ messages in thread
From: Rohit Sharma @ 2006-02-13 17:31 UTC (permalink / raw
To: gentoo-user
Holly Bostick wrote:
>and it works fine, so I'll do my best to help.
>
>
Yes you have. Million thanks for what can be best termed a good
technical write up about the theory of Alsa plus this card.
I shall try all that you have written and then get back - either at a
halt, or to thank you.
Regards,
Rohit
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 8+ messages in thread
* [gentoo-user] Changing of transcode use flags
@ 2006-02-13 18:34 Daniel Pielmeier
0 siblings, 0 replies; 8+ messages in thread
From: Daniel Pielmeier @ 2006-02-13 18:34 UTC (permalink / raw
To: gentoo-user
Hi,
does anyone have a clue?
Thank you.
Daniel Pielmeier schrieb:
>> Hello,
>>
>> after the last sync portage wants to reinstall transcode with new use
flags.
>>
>>
>> These are the packages that I would merge, in order:
>>
>> Calculating world dependencies
>> !!! Packages for the following atoms are either all
>> !!! masked or don't exist:
>> gnome-extra/medusa
>>
>> ...done!
>> [ebuild R ] media-video/transcode-0.6.14-r3 -3dnow +X -a52*
>> (-altivec) -dv* -dvdread* +encode -fame* +gtk +imagemagick +jpeg -lzo*
>> -mjpeg* +mmx +mpeg -network +ogg +quicktime +sdl +sse +sse2 -theora*
>> +truetype -v4l* +vorbis +xml2 +xvid 0 kB
>>
>> Total size of downloads: 0 kB
>>
>>
>> According to the Gentoo use-flag-manual the settings in
>> /etc/portage/package.use overrides all other settings concerning
>> use-flags, so why does portage wants to remove "a52 dv dvdread fame lzo
>> mjpeg theora v4l" support. Though i have it in /etc/portage/package.use
>>
>>
>> #/etc/portage
>> #List of packet-specific USE-flags
>>
>> media-video/transcode a52 avi dvdread divx4linux dv encode fame lzo mpeg
>> ogg quicktime subtitles vorbis xvid mjpeg quicktime sdl theora v4l mmx
>>
>> What could be the reason for this.
>>
>> Thank you
>>
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [gentoo-user] ALSA + CMI8738 card set up
2006-02-12 16:03 ` Holly Bostick
2006-02-13 17:31 ` Rohit Sharma
@ 2006-02-13 20:23 ` Rohit Sharma
2006-02-12 21:26 ` Holly Bostick
1 sibling, 1 reply; 8+ messages in thread
From: Rohit Sharma @ 2006-02-13 20:23 UTC (permalink / raw
To: gentoo-user
Quick questions - Holly.
When I configure alsa support in my kernel and build modules using
menuconfig and tell kernel to load modules automatically [or do manual
loading using modules.autoload.d]
1. Do I still have to enable alsasound service using "rc-update add
alsasound default" ?
2. Is it a good idea to let the kernel automatically load modules or
use /etc/modules.autoload.d/kernel-2.6 for it? [ Currently I am
using the file instead of kernel [I disabled my onboard i8x0 card
in BIOS to install this CMIPCI one and was skeptic that kernel
would pick up the onboard one. I guess for a correctly configured
host, it woudn't matter].
To say the least your response was encouraging. I am in the middle of an
emerge after two months of disconnectivity....
Thanks,
Rohit
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2006-02-13 18:44 UTC | newest]
Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-02-13 8:59 [gentoo-user] ALSA + CMI8738 card set up Rohit Sharma
2006-02-12 16:03 ` Holly Bostick
2006-02-13 17:31 ` Rohit Sharma
2006-02-12 18:24 ` [gentoo-user] Changing of transcode use flags Daniel Pielmeier
2006-02-13 20:23 ` [gentoo-user] ALSA + CMI8738 card set up Rohit Sharma
2006-02-12 21:26 ` Holly Bostick
-- strict thread matches above, loose matches on Subject: below --
2006-02-13 18:34 [gentoo-user] Changing of transcode use flags Daniel Pielmeier
2006-02-12 19:43 Daniel Pielmeier
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox