Alsa-Devel Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Peter Toye <alsa@ptoye.com>
To: Nigel Henry <cave.dnb2m97pp@aliceadsl.fr>
Cc: alsa-user@lists.sourceforge.net, alsa-devel@alsa-project.org
Subject: Re: Newbie question - cannot get sound to work in Ubuntu
Date: Fri, 7 Mar 2008 21:59:53 +0000	[thread overview]
Message-ID: <1067293091.20080307215953@ptoye.com> (raw)
In-Reply-To: <200803071615.11398.cave.dnb2m97pp@aliceadsl.fr>

Friday, March 7, 2008, 3:15:11 PM, you wrote:

> On Wednesday 05 March 2008 23:48, Peter Toye wrote:
>> Nigel,
>>
>> Thanks. My comments are below.
>>
>> Best regards,
>>
>> Peter
>> mailto:alsa@ptoye.com
>> www.ptoye.com
>>
>> -------------------------
>>
>> Tuesday, March 4, 2008, 6:43:43 PM, you wrote:
>> > Hi Peter. I've spent most of the afternoon (as I have nothing better to
>> > do) googling your problem, and there are a few things you can try. First
>> > though, do you have a live cd of Gutsy Gibbon, or Knoppix that you can
>> > bootup with, and see if you have the sounds working?
>>
>> That's very kind of you to take so much time.
>>
>> I booted up from a live Gutsy Gibbon CD (the one I used to create my
>> system) and it's quite interesting. Typing "alsamixer" in a terminal
>> session brings up the mixer OK! But with a seriously confusing set of
>> controls, only some of which seem to have much connection with the sound
>> card. And the "line in" column in the "capture" view doesn't have a fader
>> associated, which seems a bit odd. Maybe there's something I don't
>> understand here.
>>
>> And I can use the GNOME utilities to record and play back. Didn't have time
>> to try the command-line versions. Won't have time until Friday at the
>> earliest.
>>
>> > Now moving on to my googling stuff.

>> lspci -v output:
>> 00:0b.0 Multimedia audio controller: Creative Labs SB Live! EMU10k1 (rev
>> 07) Subsystem: Creative Labs CT4830 SBLive! Value
>>         Flags: bus master, medium devsel, latency 64, IRQ 10
>>         I/O ports at d400 [size=32]
>>         Capabilities: [dc] Power Management version 1
>>
>> 00:0b.1 Input device controller: Creative Labs SB Live! Game Port (rev 07)
>>         Subsystem: Creative Labs Gameport Joystick
>>         Flags: bus master, medium devsel, latency 64
>>         I/O ports at dc00 [size=8]
>>         Capabilities: [dc] Power Management version 1

>> > Alsamixer when opened shows the default card (card0), but have a look at
>> > the manpages for alsamixer. I now open these in a webbrowser as
>> > man:alsamixer. To start alsamixer for other cards you have the -c option.
>> > For example, alsamixer -c0  brings up the default cards mixer settings.
>> > alsamixer -c1 brings up the mixer settings for card 1, and so on.
>>
>> If I type alsamixer -c0 the mixer comes up with the same options as the CD
>> boot (see above). I thought that -c0 was the default, but it doesn't seem
>> to be.

> Hi Peter. It's getting a bit surreal now, as typing alsamixer, is ( under 
> normal circumstances)  the same as typing alsamixer -c0. For the sake of 
> those on the alsa-devel list I've put the error you get when just typing 
> alsamixer as user below.
> Typing "alsamixer" in a terminal window gives:
> "alsamixer: function snd_ctl_open failed for default: No such device"
> Whereas typing alsamixer -c0 opens alsamixer.

> At least you have access to the mixer settings now, although you say that some 
> of the controls appear to be a bit bizarre.
Well, I'll start examining them in details when there's time. One problem
is that there doesn't seem to be room on the screen for all the controls!

> Would you download this script from:
> http://hg.alsa-project.org/alsa/raw-file/tip/alsa-info.sh
Have done (on my email machine and transferred via a USB stick).

> There are a bunch of options now available for the script, so after making it 
> executable, run it as user as below.
> ./alsa-info.sh --with-amixer --with-alsactl --with-configs

> The script will trawl out a bunch of stuff about your sounds, and upload it to 
> pastebin. Just post back the link to the pastebin site when you reply.
Aaahh. This is more complex. As I said, it's not connected to the Internet
- I'll have to steal my router back. And I doubt if this can happen before
tomorrow at the earliest, and more likely Monday.

> Not sure about an easy Alsa guide.
I found this http://www.sabi.co.uk/Notes/linuxSoundALSA.html and have been
looking at it. One thing interested me: it says that there should be a
directory: /proc/asound/dev/
 the directory containing device files.  device files are created
 dynamically; in the case without devfs, this directory is usually
 linked to /dev/snd/

I don't have this directory. But trying to create it by

cd /proc
sudo chmod u+w asound
cd asound
sudo ln -s /dev/snd dev

results in
ln: creating symbolic link `dev' to `/dev/snd': No such file or directory

I'm a bit rusty on Unix commands, but /dev/snd is definitely there. So I
can't work out why I can't construct the link. Even if it's needed. Not
that this has anything to do with ALSA of course.

> All the best.

> Nigel.


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/

      reply	other threads:[~2008-03-07 21:59 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <909985268.20080229192431@ptoye.com>
     [not found] ` <200803041943.43308.cave.dnb2m97pp@aliceadsl.fr>
     [not found]   ` <275732031.20080305224831@ptoye.com>
2008-03-07 15:15     ` [Alsa-user] Newbie question - cannot get sound to work in Ubuntu Nigel Henry
2008-03-07 21:59       ` Peter Toye [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1067293091.20080307215953@ptoye.com \
    --to=alsa@ptoye.com \
    --cc=alsa-devel@alsa-project.org \
    --cc=alsa-user@lists.sourceforge.net \
    --cc=cave.dnb2m97pp@aliceadsl.fr \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox