Page 84 of 124 FirstFirst ... 3474828384858694 ... LastLast
Results 831 to 840 of 1236

Thread: ALSA Upgrade Script

  1. #831
    Join Date
    Mar 2009
    Location
    /dev/zero
    Beans
    38
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: ALSA Upgrade Script

    Quote Originally Posted by c-shadow View Post
    And what says cat /proc/asound/modules? It should be snd_hda_intel probably, does alsamixer see all the channells, are they probably muted,...?
    Also there is a list of supported cards on alsa drivers homepage:
    http://www.alsa-project.org/main/index.php/Matrix:Main
    See if you can find your card.
    Post here if any changes.
    Good luck.
    Nothing positive, sadly.

    I installed backports, aplay -l now returns:
    Code:
     0 [SB             ]: HDA-Intel - HDA ATI SB
                          HDA ATI SB at 0xfbdf4000 irq 16
     1 [HDMI           ]: HDA-Intel - HDA ATI HDMI
                          HDA ATI HDMI at 0xfbeec000 irq 28
     2 [U0xd8c0x0c     ]: USB-Audio - USB Device 0xd8c:0x0c
                          USB Device 0xd8c:0x0c at usb-0000:00:12.1-2, full speed
    The USB one may actually be what I'm trying to get working. (Paralyzed from the neck down, so can't check behind my tower to see what the connector I'm using... I'll find out and edit it in later. EDIT: yep, it's USB. *sigh*)

    sudo find after backports showed:
    Code:
    /lib/modules/2.6.32-22-generic/kernel/sound/core/snd-hwdep.ko
    ...but no sound.

    Uninstall backports, reboot, sudo find showed:

    Code:
    /lib/modules/2.6.32-22-generic/kernel/sound/core/snd-hwdep.ko
    /lib/modules/2.6.32-22-generic/updates/alsa/snd-hwdep.ko
    alsamixer shows everything unmuted.

    A few hard boots later (fglrx doesn't like switch user and log out, apparently), alsaconf shows 1.0.23 and sudo find shows:

    Code:
    /lib/modules/2.6.32-22-generic/kernel/sound/core/snd-hwdep.ko
    /lib/modules/2.6.32-22-generic/updates/alsa/snd-hwdep.ko
    /lib/modules/2.6.32-22-generic.backup/kernel/sound/acore/snd-hwdep.ko
    /lib/modules/2.6.32-22-generic.backup/kernel/sound/core/snd-hwdep.ko
    /lib/modules/2.6.32-22-generic.backup/updates/alsa/acore/snd-hwdep.ko
    The order of /proc/asound/cards seems to change with each restart. USB went from 0 to 1 to 2. (I tried sudo modprobe with snd-usb-audio and snd-hda-intel with no success, which may have affected the ordering.)

    If sound works from a LiveCD of Mint (haven't checked yet), would it be easy to switch over?
    Last edited by Steven Edwards; May 28th, 2010 at 04:35 PM.

  2. #832
    Join Date
    Jan 2007
    Beans
    73
    Distro
    Xubuntu 12.04 Precise Pangolin

    Re: ALSA Upgrade Script

    Quote Originally Posted by Steven Edwards View Post
    If sound works from a LiveCD of Mint (haven't checked yet), would it be easy to switch over?
    It should be. But depends if you want to keep your existing home or other data and general partitioning and existence of other OSes. I gave up upgrading ubuntu a few versions ago, made separate home partition, every install is clean, only old /home gets mounted.

    EDIT:
    USB - you can always find out which modules are loaded with: lsmod | grep snd
    Last edited by c-shadow; May 28th, 2010 at 04:49 PM.

  3. #833
    Join Date
    Mar 2009
    Location
    /dev/zero
    Beans
    38
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: ALSA Upgrade Script

    Quote Originally Posted by c-shadow View Post
    It should be. But depends if you want to keep your existing home or other data and general partitioning and existence of other OSes. I gave up upgrading ubuntu a few versions ago, made separate home partition, every install is clean, only old /home gets mounted.
    I do have home on a separate partition. Wouldn't you lose your installed apps after a clean install, though?

    EDIT:
    USB - you can always find out which modules are loaded with: lsmod | grep snd
    Code:
    steven@Rand:~$ lsmod | grep snd
    snd_hda_codec_atihdmi     2399  1 
    snd_usb_audio          75954  2 
    snd_hda_codec_via      50753  1 
    snd_usb_lib            16130  1 snd_usb_audio
    snd_hda_intel          20288  4 
    snd_hda_codec          79300  3 snd_hda_codec_atihdmi,snd_hda_codec_via,snd_hda_intel
    snd_hwdep               5668  2 snd_usb_audio,snd_hda_codec
    snd_seq_dummy           1498  0 
    snd_pcm_oss            34571  0 
    snd_mixer_oss          13929  1 snd_pcm_oss
    snd_seq_oss            27626  0 
    snd_pcm                71265  5 snd_usb_audio,snd_hda_intel,snd_hda_codec,snd_pcm_oss
    snd_seq_midi            4621  0 
    snd_page_alloc          7140  2 snd_hda_intel,snd_pcm
    snd_rawmidi            19141  2 snd_usb_lib,snd_seq_midi
    snd_seq_midi_event      6003  2 snd_seq_oss,snd_seq_midi
    snd_seq                48106  6 snd_seq_dummy,snd_seq_oss,snd_seq_midi,snd_seq_midi_event
    snd_timer              18720  2 snd_pcm,snd_seq
    snd_seq_device          6052  5 snd_seq_dummy,snd_seq_oss,snd_seq_midi,snd_rawmidi,snd_seq
    snd                    55939  27 snd_usb_audio,snd_hda_codec_via,snd_usb_lib,snd_hda_intel,snd_hda_codec,snd_hwdep,snd_seq_dummy,snd_pcm_oss,snd_mixer_oss,snd_seq_oss,snd_pcm,snd_seq_midi,snd_rawmidi,snd_seq,snd_timer,snd_seq_device
    soundcore               6620  1 snd
    
    ---
    
    lspci -v (audio and usb data)
    
    
    00:12.0 USB Controller: ATI Technologies Inc SB700/SB800 USB OHCI0 Controller (prog-if 10)
    	Subsystem: ASUSTeK Computer Inc. Device 82ef
    	Flags: bus master, 66MHz, medium devsel, latency 64, IRQ 16
    	Memory at fbdfe000 (32-bit, non-prefetchable) [size=4K]
    	Kernel driver in use: ohci_hcd
    
    00:12.1 USB Controller: ATI Technologies Inc SB700 USB OHCI1 Controller (prog-if 10)
    	Subsystem: ASUSTeK Computer Inc. Device 82ef
    	Flags: bus master, 66MHz, medium devsel, latency 64, IRQ 16
    	Memory at fbdfd000 (32-bit, non-prefetchable) [size=4K]
    	Kernel driver in use: ohci_hcd
    
    00:12.2 USB Controller: ATI Technologies Inc SB700/SB800 USB EHCI Controller (prog-if 20)
    	Subsystem: ASUSTeK Computer Inc. Device 82ef
    	Flags: bus master, 66MHz, medium devsel, latency 64, IRQ 17
    	Memory at fbdff000 (32-bit, non-prefetchable) [size=256]
    	Capabilities: <access denied>
    	Kernel driver in use: ehci_hcd
    
    00:13.0 USB Controller: ATI Technologies Inc SB700/SB800 USB OHCI0 Controller (prog-if 10)
    	Subsystem: ASUSTeK Computer Inc. Device 82ef
    	Flags: bus master, 66MHz, medium devsel, latency 64, IRQ 18
    	Memory at fbdfc000 (32-bit, non-prefetchable) [size=4K]
    	Kernel driver in use: ohci_hcd
    
    00:13.1 USB Controller: ATI Technologies Inc SB700 USB OHCI1 Controller (prog-if 10)
    	Subsystem: ASUSTeK Computer Inc. Device 82ef
    	Flags: bus master, 66MHz, medium devsel, latency 64, IRQ 18
    	Memory at fbdfb000 (32-bit, non-prefetchable) [size=4K]
    	Kernel driver in use: ohci_hcd
    
    00:13.2 USB Controller: ATI Technologies Inc SB700/SB800 USB EHCI Controller (prog-if 20)
    	Subsystem: ASUSTeK Computer Inc. Device 82ef
    	Flags: bus master, 66MHz, medium devsel, latency 64, IRQ 19
    	Memory at fbdfa800 (32-bit, non-prefetchable) [size=256]
    	Capabilities: <access denied>
    	Kernel driver in use: ehci_hcd
    
    00:14.2 Audio device: ATI Technologies Inc SBx00 Azalia (Intel HDA)
    	Subsystem: ASUSTeK Computer Inc. Device 82ea
    	Flags: bus master, slow devsel, latency 64, IRQ 16
    	Memory at fbdf4000 (64-bit, non-prefetchable) [size=16K]
    	Capabilities: <access denied>
    	Kernel driver in use: HDA Intel
    	Kernel modules: snd-hda-intel
    
    00:14.5 USB Controller: ATI Technologies Inc SB700/SB800 USB OHCI2 Controller (prog-if 10)
    	Subsystem: ASUSTeK Computer Inc. Device 82ef
    	Flags: bus master, 66MHz, medium devsel, latency 64, IRQ 18
    	Memory at fbdf9000 (32-bit, non-prefetchable) [size=4K]
    	Kernel driver in use: ohci_hcd
    
    01:00.1 Audio device: ATI Technologies Inc RV620 Audio device [Radeon HD 34xx Series]
    	Subsystem: Hightech Information System Ltd. Device aa28
    	Flags: bus master, fast devsel, latency 0, IRQ 28
    	Memory at fbeec000 (64-bit, non-prefetchable) [size=16K]
    	Capabilities: <access denied>
    	Kernel driver in use: HDA Intel
    	Kernel modules: snd-hda-intel

  4. #834
    Join Date
    Jan 2007
    Beans
    73
    Distro
    Xubuntu 12.04 Precise Pangolin

    Re: ALSA Upgrade Script

    Quote Originally Posted by Steven Edwards View Post
    I do have home on a separate partition. Wouldn't you lose your installed apps after a clean install, though?
    Yes. But there is a way to save a list of installed apps from synaptic, and install them all after in new system.
    http://ubuntuforums.org/showthread.php?t=1057608

    Code:
    steven@Rand:~$ lsmod | grep snd
    snd_hda_codec_atihdmi     2399  1 
    snd_usb_audio          75954  2 
    snd_hda_codec_via      50753  1 
    snd_usb_lib            16130  1 snd_usb_audio
    snd_hda_intel          20288  4 
    snd_hda_codec          79300  3 snd_hda_codec_atihdmi,snd_hda_codec_via,snd_hda_intel
    snd_hwdep               5668  2 snd_usb_audio,snd_hda_codec
    snd_seq_dummy           1498  0 
    snd_pcm_oss            34571  0 
    snd_mixer_oss          13929  1 snd_pcm_oss
    snd_seq_oss            27626  0 
    snd_pcm                71265  5 snd_usb_audio,snd_hda_intel,snd_hda_codec,snd_pcm_oss
    snd_seq_midi            4621  0 
    snd_page_alloc          7140  2 snd_hda_intel,snd_pcm
    snd_rawmidi            19141  2 snd_usb_lib,snd_seq_midi
    snd_seq_midi_event      6003  2 snd_seq_oss,snd_seq_midi
    snd_seq                48106  6 snd_seq_dummy,snd_seq_oss,snd_seq_midi,snd_seq_midi_event
    snd_timer              18720  2 snd_pcm,snd_seq
    snd_seq_device          6052  5 snd_seq_dummy,snd_seq_oss,snd_seq_midi,snd_rawmidi,snd_seq
    snd                    55939  27 snd_usb_audio,snd_hda_codec_via,snd_usb_lib,snd_hda_intel,snd_hda_codec,snd_hwdep,snd_seq_dummy,snd_pcm_oss,snd_mixer_oss,snd_seq_oss,snd_pcm,snd_seq_midi,snd_rawmidi,snd_seq,snd_timer,snd_seq_device
    soundcore               6620  1 snd
    
    ---
    
    lspci -v (audio and usb data)
    
    
    00:12.0 USB Controller: ATI Technologies Inc SB700/SB800 USB OHCI0 Controller (prog-if 10)
    	Subsystem: ASUSTeK Computer Inc. Device 82ef
    	Flags: bus master, 66MHz, medium devsel, latency 64, IRQ 16
    	Memory at fbdfe000 (32-bit, non-prefetchable) [size=4K]
    	Kernel driver in use: ohci_hcd
    
    00:12.1 USB Controller: ATI Technologies Inc SB700 USB OHCI1 Controller (prog-if 10)
    	Subsystem: ASUSTeK Computer Inc. Device 82ef
    	Flags: bus master, 66MHz, medium devsel, latency 64, IRQ 16
    	Memory at fbdfd000 (32-bit, non-prefetchable) [size=4K]
    	Kernel driver in use: ohci_hcd
    
    00:12.2 USB Controller: ATI Technologies Inc SB700/SB800 USB EHCI Controller (prog-if 20)
    	Subsystem: ASUSTeK Computer Inc. Device 82ef
    	Flags: bus master, 66MHz, medium devsel, latency 64, IRQ 17
    	Memory at fbdff000 (32-bit, non-prefetchable) [size=256]
    	Capabilities: <access denied>
    	Kernel driver in use: ehci_hcd
    
    00:13.0 USB Controller: ATI Technologies Inc SB700/SB800 USB OHCI0 Controller (prog-if 10)
    	Subsystem: ASUSTeK Computer Inc. Device 82ef
    	Flags: bus master, 66MHz, medium devsel, latency 64, IRQ 18
    	Memory at fbdfc000 (32-bit, non-prefetchable) [size=4K]
    	Kernel driver in use: ohci_hcd
    
    00:13.1 USB Controller: ATI Technologies Inc SB700 USB OHCI1 Controller (prog-if 10)
    	Subsystem: ASUSTeK Computer Inc. Device 82ef
    	Flags: bus master, 66MHz, medium devsel, latency 64, IRQ 18
    	Memory at fbdfb000 (32-bit, non-prefetchable) [size=4K]
    	Kernel driver in use: ohci_hcd
    
    00:13.2 USB Controller: ATI Technologies Inc SB700/SB800 USB EHCI Controller (prog-if 20)
    	Subsystem: ASUSTeK Computer Inc. Device 82ef
    	Flags: bus master, 66MHz, medium devsel, latency 64, IRQ 19
    	Memory at fbdfa800 (32-bit, non-prefetchable) [size=256]
    	Capabilities: <access denied>
    	Kernel driver in use: ehci_hcd
    
    00:14.2 Audio device: ATI Technologies Inc SBx00 Azalia (Intel HDA)
    	Subsystem: ASUSTeK Computer Inc. Device 82ea
    	Flags: bus master, slow devsel, latency 64, IRQ 16
    	Memory at fbdf4000 (64-bit, non-prefetchable) [size=16K]
    	Capabilities: <access denied>
    	Kernel driver in use: HDA Intel
    	Kernel modules: snd-hda-intel
    
    00:14.5 USB Controller: ATI Technologies Inc SB700/SB800 USB OHCI2 Controller (prog-if 10)
    	Subsystem: ASUSTeK Computer Inc. Device 82ef
    	Flags: bus master, 66MHz, medium devsel, latency 64, IRQ 18
    	Memory at fbdf9000 (32-bit, non-prefetchable) [size=4K]
    	Kernel driver in use: ohci_hcd
    
    01:00.1 Audio device: ATI Technologies Inc RV620 Audio device [Radeon HD 34xx Series]
    	Subsystem: Hightech Information System Ltd. Device aa28
    	Flags: bus master, fast devsel, latency 0, IRQ 28
    	Memory at fbeec000 (64-bit, non-prefetchable) [size=16K]
    	Capabilities: <access denied>
    	Kernel driver in use: HDA Intel
    	Kernel modules: snd-hda-intel
    You have 2 cards: one pci (snd-hda-intel, probably onboard) and the other uses snd_usb_audio module, that would be usb. There is also some HDMI sound output but i really wouldn't mess with that. All modules are loaded.
    Maybe it is just a matter of picking the right one for output, are the speakers connected to the right card?
    Try this thread: http://ubuntuforums.org/showthread.php?t=205449 and maybe post there about the multiple cards.
    If you don't need both cards, you can always blacklist one of the modules to stop it loading at boot.

  5. #835
    Join Date
    Mar 2009
    Location
    /dev/zero
    Beans
    38
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: ALSA Upgrade Script

    Quote Originally Posted by c-shadow View Post
    Yes. But there is a way to save a list of installed apps from synaptic, and install them all after in new system.
    http://ubuntuforums.org/showthread.php?t=1057608
    Awesome, thanks.

    You have 2 cards: one pci (snd-hda-intel, probably onboard) and the other uses snd_usb_audio module, that would be usb. There is also some HDMI sound output but i really wouldn't mess with that. All modules are loaded.
    Maybe it is just a matter of picking the right one for output, are the speakers connected to the right card?
    They were prior to the upgrade.


    Try this thread: http://ubuntuforums.org/showthread.php?t=205449 and maybe post there about the multiple cards.
    If you don't need both cards, you can always blacklist one of the modules to stop it loading at boot.
    Will do, thanks. I'm downloading Mint's LiveCD right now [while running from Ubuntu 10.04's Live CD, where sound fails] to see if sound works on it.

    I moved the /lib/modules directory again, started fresh, built ALSA from scratch, now GDM won't come up--I get a fresh list of snd-usb-audio errors every 60 seconds or so. Oops? ;D

  6. #836
    Join Date
    Jan 2007
    Beans
    73
    Distro
    Xubuntu 12.04 Precise Pangolin

    Re: ALSA Upgrade Script

    Quote Originally Posted by Steven Edwards View Post
    Awesome, thanks.

    They were prior to the upgrade.


    Will do, thanks. I'm downloading Mint's LiveCD right now [while running from Ubuntu 10.04's Live CD, where sound fails] to see if sound works on it.

    I moved the /lib/modules directory again, started fresh, built ALSA from scratch, now GDM won't come up--I get a fresh list of snd-usb-audio errors every 60 seconds or so. Oops? ;D
    Nice
    Reinstall drivers for graphic card. They were probably under
    /lib/modules/2.6.32-22-generic/updates/dkms/
    But i'm not sure since i don't use ATI cards. Nvidia driver builds its modules there.
    In fact you could just move the /lib/modules/2.6.32-22-generic/kernel directory and reinstall kernel
    Maybe it would be wise not to move the dirs around so much?

  7. #837
    Join Date
    Mar 2009
    Location
    /dev/zero
    Beans
    38
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: ALSA Upgrade Script

    Quote Originally Posted by c-shadow View Post
    Nice
    Reinstall drivers for graphic card. They were probably under
    /lib/modules/2.6.32-22-generic/updates/dkms/
    But i'm not sure since i don't use ATI cards. Nvidia driver builds its modules there.
    In fact you could just move the /lib/modules/2.6.32-22-generic/kernel directory and reinstall kernel
    Maybe it would be wise not to move the dirs around so much?
    So, Mint's ALSA doesn't work for me from the live CD either. Bah.

    I'll google mounting LVM2 partitions from the live CD, chroot to it, then reinstall linux-image-2.6.32-22-generic. Hopefully that'll let me boot into my main install so I can work on ALSA some more. Joy?

  8. #838
    Join Date
    Jan 2007
    Beans
    73
    Distro
    Xubuntu 12.04 Precise Pangolin

    Re: ALSA Upgrade Script

    Quote Originally Posted by Steven Edwards View Post
    So, Mint's ALSA doesn't work for me from the live CD either. Bah.

    I'll google mounting LVM2 partitions from the live CD, chroot to it, then reinstall linux-image-2.6.32-22-generic. Hopefully that'll let me boot into my main install so I can work on ALSA some more. Joy?
    Boot some of the older kernels (2.6.31 or 2.6.28) and then reinstall kernel 2.6.32 and fglrx. Or first move back some of dirs (and fglrx with it) inside /lib/modules/2.6.32-22-generic/ and reboot.
    I think that you are learning more about repairing broken system than fixing sound

  9. #839
    Join Date
    Mar 2009
    Location
    /dev/zero
    Beans
    38
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: ALSA Upgrade Script

    Quote Originally Posted by c-shadow View Post
    Boot some of the older kernels (2.6.31 or 2.6.28) and then reinstall kernel 2.6.32 and fglrx. Or first move back some of dirs (and fglrx with it) inside /lib/modules/2.6.32-22-generic/ and reboot.
    Being a dummy, I deleted the .backup dirs thinking I had the hang of it. *sigh*

    I would boot into 2.6.28 [the only other one in lilo.conf], but gdm hangs after showing the user list. I press enter and nothing happens.

    Is there a key I can press during boot to go to the shell instead of GDM/Gnome?

    I think that you are learning more about repairing broken system than fixing sound
    As long as I'm learning. [smiley]

  10. #840
    Join Date
    Jan 2007
    Beans
    73
    Distro
    Xubuntu 12.04 Precise Pangolin

    Re: ALSA Upgrade Script

    Quote Originally Posted by Steven Edwards View Post
    Being a dummy, I deleted the .backup dirs thinking I had the hang of it. *sigh*

    I would boot into 2.6.28 [the only other one in lilo.conf], but gdm hangs after showing the user list. I press enter and nothing happens.

    Is there a key I can press during boot to go to the shell instead of GDM/Gnome?
    CTRL-ALT-F1 (or F2...F6) should bring up a text terminal on GDM screen.
    There should also be an option in bootloader (at least in grub which is default for ubuntu) to boot "recovery mode".

Page 84 of 124 FirstFirst ... 3474828384858694 ... LastLast

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •