LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu
User Name
Password
Ubuntu This forum is for the discussion of Ubuntu Linux.

Notices

Reply
 
LinkBack Search this Thread
Old 08-08-2009, 03:01 AM   #16
NeddySeagoon
Gentoo support team
 
Registered: May 2009
Location: 56N 3W
Distribution: Gentoo
Posts: 178

Rep: Reputation: 40

Bratmon,

So far, so good, are you dual booting with Windows, or moving the speakers between systems?
The speakers must be plugged into the light green coloured jack socket.
 
Old 08-10-2009, 04:56 PM   #17
Bratmon
Member
 
Registered: Jul 2009
Location: 75.126.162.205:80
Distribution: ubuntu 10.04 / Arch
Posts: 294
Blog Entries: 3

Original Poster
Rep: Reputation: 49
Yes, this is a dual boot system.
 
Old 08-19-2009, 03:40 PM   #18
Bratmon
Member
 
Registered: Jul 2009
Location: 75.126.162.205:80
Distribution: ubuntu 10.04 / Arch
Posts: 294
Blog Entries: 3

Original Poster
Rep: Reputation: 49
Can anyone help me with this? Or at least move it into a better forum?
 
Old 08-30-2009, 07:14 PM   #19
GlennsPref
Senior Member
 
Registered: Apr 2004
Location: Brisbane, Australia
Distribution: Mageia1 KDE openbox
Posts: 2,859
Blog Entries: 33

Rep: Reputation: 142Reputation: 142
Hi, one thing I see that has not been mentioned yet,

The kernel module for pc-speaker (the beep!)

May not apply to a laptop, but with a desktop system I had to disable it to get my sound to work.

lsmod | grep pcspkr

Quote:
PC speaker enabled by default

you can disable it completely by creating a file /etc/modprobe.d/disable-pcspkr.conf with the following line:

blacklist pcspkr
reboot the kernel. and test.

There is also a script from alsa you could use to test your system.
http://www.alsa-project.org/alsa-info.sh

HTH, Glenn
 
Old 09-02-2009, 07:49 PM   #20
Bratmon
Member
 
Registered: Jul 2009
Location: 75.126.162.205:80
Distribution: ubuntu 10.04 / Arch
Posts: 294
Blog Entries: 3

Original Poster
Rep: Reputation: 49
Quote:
Originally Posted by GlennsPref View Post
Hi, one thing I see that has not been mentioned yet,

The kernel module for pc-speaker (the beep!)

May not apply to a laptop, but with a desktop system I had to disable it to get my sound to work.

lsmod | grep pcspkr


reboot the kernel. and test.
That didn't work either. The beep stopped, but there still was no sound.

EDIT: That script is buggy. If used without an Internet connection, it deletes itself. I had to lug my computer all the way downstairs.

Last edited by Bratmon; 09-07-2009 at 07:16 AM.
 
Old 09-07-2009, 07:19 AM   #21
Bratmon
Member
 
Registered: Jul 2009
Location: 75.126.162.205:80
Distribution: ubuntu 10.04 / Arch
Posts: 294
Blog Entries: 3

Original Poster
Rep: Reputation: 49
Ok, I ran it. The output is here.
 
Old 09-07-2009, 07:08 PM   #22
GlennsPref
Senior Member
 
Registered: Apr 2004
Location: Brisbane, Australia
Distribution: Mageia1 KDE openbox
Posts: 2,859
Blog Entries: 33

Rep: Reputation: 142Reputation: 142
sorry, I didn't know it would do that.

type alsa-info --help for some command line options, like no upload, no-check.
Code:
glenn@GamesBox:~$ sh /home/glenn/bin/alsa-info.sh --help                         (08-09 10:05)
alsa-info.sh version 0.4.58

Available options:
        --with-aplay (includes the output of aplay -l)
        --with-amixer (includes the output of amixer)
        --with-alsactl (includes the output of alsactl)
        --with-configs (includes the output of ~/.asoundrc and
            /etc/asound.conf if they exist)
        --with-devices (shows the device nodes in /dev/snd/)
        --with-dmesg (shows the ALSA/HDA kernel messages)

        --output FILE (specify the file to output for no-upload mode)
        --update (check server for script updates)
        --upload (upload contents to remote server)
        --no-upload (do not upload contents to remote server)
        --pastebin (use http://pastebin.ca) as remote server
            instead www.alsa-project.org
        --stdout (print alsa information to standard output
            instead of a file)
        --about (show some information about the script)
        --debug (will run the script as normal, but will not
             delete /tmp/alsa-info.PU4hCKCDGU/alsa-info.txt)
I personally, don't know how to debug with this script, but some of the info I do know.

Generally the script is used by alsa-wiki-forums to debug alsa and sound probs.

I would google the laptop-sound-noise (brand name) it's a common problem.

I don't have a laptop.

regards Glenn
 
Old 09-07-2009, 09:33 PM   #23
GlennsPref
Senior Member
 
Registered: Apr 2004
Location: Brisbane, Australia
Distribution: Mageia1 KDE openbox
Posts: 2,859
Blog Entries: 33

Rep: Reputation: 142Reputation: 142
Seeing your alsa-info output,

Quote:
!!Modprobe options (Sound related)
!!--------------------------------

snd-atiixp-modem: index=-2
snd-intel8x0m: index=-2
snd-via82xx-modem: index=-2
snd-usb-audio: index=-2
snd-usb-us122l: index=-2
snd-usb-usx2y: index=-2
snd-usb-caiaq: index=-2
snd-cmipci: mpu_port=0x330 fm_port=0x388
snd-pcsp: index=-2
do you have usb audio?
Code:
snd-usb-audio: index=-2
snd-usb-us122l: index=-2
snd-usb-usx2y: index=-2
snd-usb-caiaq: index=-2
also, they all have the same index.

You can change this, but mandriva system files may be different to ubuntu.

/etc/modprobe.conf (notice the sound-slot- & index numbers?)
Code:
install scsi_hostadapter /sbin/modprobe ahci; /sbin/modprobe ata_piix; /sbin/modprobe pata_amd; /sbin/modprobe usb_storage; /bin/true
install usb-interface /sbin/modprobe ehci_hcd; /sbin/modprobe ohci_hcd; /bin/true
options usb_storage delay_use=10 swi_tru_install=1
install ide-controller /sbin/modprobe ide_generic; /bin/true
#snd_usb_audio
remove snd_usb_audio /sbin/modprobe --first-time -r --ignore-remove snd_usb_audio
install snd_usb_audio /sbin/modprobe --first-time --ignore-install snd_usb_audio
options snd_usb_audio enable=1 index=0 id=UA25EX
alias sound-slot-0 snd_usb_audio
#snd_hda_intel
remove snd_hda_intel /sbin/modprobe --first-time -r --ignore-remove snd_hda_intel
install snd_hda_intel /sbin/modprobe --first-time --ignore-install snd_hda_intel
options snd_hda_intel index=1 id=ALC883
alias sound-slot-1 snd_hda_intel
corresponding files....

/etc/modprobe.d/snd-usb-audio
Code:
install snd-usb-audio test -f /var/lock/subsys/alsa && /sbin/modprobe --first-time --ignore-install snd-usb-audio
/etc/modprobe.d/blacklist-mdv
Code:
# blacklisted modules for PCI coldplug
# see also /etc/modprobe.d/blacklist-compat

blacklist rivatv

# For some bridges both intel-agp and i82875p_edac are loaded. If i82875p_edac
# is loaded first it will grab the device. Then intel-agp doesn't work.
# Therefore we disable automatic loading of 82875p_edac. (Bug 213840)
# https://bugzilla.novell.com/show_bug.cgi?id=213840
blacklist i82875p_edac

# do not use "Boot Protocol" drivers, we prefer usbhid
# and they cause problems when loaded together with usbhid (#37726, #40861)
blacklist usbkbd
blacklist usbmouse
blacklist pcspkr
Then you still have the usb-audio references to deal with.

try booting with no usb gadgets connected and see what lsmod gives you then.

Otherwise you may add them to the blacklist too.

Regards Glenn
 
Old 09-07-2009, 09:48 PM   #24
GlennsPref
Senior Member
 
Registered: Apr 2004
Location: Brisbane, Australia
Distribution: Mageia1 KDE openbox
Posts: 2,859
Blog Entries: 33

Rep: Reputation: 142Reputation: 142
ok, index=-2 is....
Quote:
# Prevent abnormal drivers from grabbing index 0
ref. http://www.mail-archive.com/alsa-use.../msg25379.html

indexing the sound chip references....

http://www.nabble.com/-Cooker--alsa-...d15244585.html
 
Old 10-11-2009, 10:44 AM   #25
Bratmon
Member
 
Registered: Jul 2009
Location: 75.126.162.205:80
Distribution: ubuntu 10.04 / Arch
Posts: 294
Blog Entries: 3

Original Poster
Rep: Reputation: 49
Quote:
Originally Posted by GlennsPref View Post
Seeing your alsa-info output,



do you have usb audio?
Code:
snd-usb-audio: index=-2
snd-usb-us122l: index=-2
snd-usb-usx2y: index=-2
snd-usb-caiaq: index=-2
also, they all have the same index.

You can change this, but mandriva system files may be different to ubuntu.

/etc/modprobe.conf (notice the sound-slot- & index numbers?)
Code:
install scsi_hostadapter /sbin/modprobe ahci; /sbin/modprobe ata_piix; /sbin/modprobe pata_amd; /sbin/modprobe usb_storage; /bin/true
install usb-interface /sbin/modprobe ehci_hcd; /sbin/modprobe ohci_hcd; /bin/true
options usb_storage delay_use=10 swi_tru_install=1
install ide-controller /sbin/modprobe ide_generic; /bin/true
#snd_usb_audio
remove snd_usb_audio /sbin/modprobe --first-time -r --ignore-remove snd_usb_audio
install snd_usb_audio /sbin/modprobe --first-time --ignore-install snd_usb_audio
options snd_usb_audio enable=1 index=0 id=UA25EX
alias sound-slot-0 snd_usb_audio
#snd_hda_intel
remove snd_hda_intel /sbin/modprobe --first-time -r --ignore-remove snd_hda_intel
install snd_hda_intel /sbin/modprobe --first-time --ignore-install snd_hda_intel
options snd_hda_intel index=1 id=ALC883
alias sound-slot-1 snd_hda_intel
corresponding files....

/etc/modprobe.d/snd-usb-audio
Code:
install snd-usb-audio test -f /var/lock/subsys/alsa && /sbin/modprobe --first-time --ignore-install snd-usb-audio
When I tried these, I couldn't get sound through the gui, but the command line beep started coming through my speakers. Also on ctrl+alt+F1, the system tells me:

Warning! All config files need .conf /etc/modprobe.d/snd-usb-audio, it will be ignored in a future release.

Warning: Depreciated config file /etc/modprobe.conf all config files belong in /etc/modprobe.d
Quote:
/etc/modprobe.d/blacklist-mdv
Code:
# blacklisted modules for PCI coldplug
# see also /etc/modprobe.d/blacklist-compat

blacklist rivatv

# For some bridges both intel-agp and i82875p_edac are loaded. If i82875p_edac
# is loaded first it will grab the device. Then intel-agp doesn't work.
# Therefore we disable automatic loading of 82875p_edac. (Bug 213840)
# https://bugzilla.novell.com/show_bug.cgi?id=213840
blacklist i82875p_edac

# do not use "Boot Protocol" drivers, we prefer usbhid
# and they cause problems when loaded together with usbhid (#37726, #40861)
blacklist usbkbd
blacklist usbmouse
blacklist pcspkr
When I tried this, my system was completely silent. I will delete this file now.
Quote:
Then you still have the usb-audio references to deal with.

try booting with no usb gadgets connected and see what lsmod gives you then.

Otherwise you may add them to the blacklist too.

Regards Glenn
 
Old 10-23-2009, 03:55 PM   #26
Bratmon
Member
 
Registered: Jul 2009
Location: 75.126.162.205:80
Distribution: ubuntu 10.04 / Arch
Posts: 294
Blog Entries: 3

Original Poster
Rep: Reputation: 49
Update: I fixed the bad files.

Edit: I don't really think this belongs in "Ubuntu".
 
Old 10-31-2009, 02:19 PM   #27
Bratmon
Member
 
Registered: Jul 2009
Location: 75.126.162.205:80
Distribution: ubuntu 10.04 / Arch
Posts: 294
Blog Entries: 3

Original Poster
Rep: Reputation: 49
EDIT: It's working! After a little bit more fiddling, and an upgrade to Karmic, it's working fine now!

Last edited by Bratmon; 11-02-2009 at 04:49 PM.
 
Old 10-31-2009, 05:25 PM   #28
GlennsPref
Senior Member
 
Registered: Apr 2004
Location: Brisbane, Australia
Distribution: Mageia1 KDE openbox
Posts: 2,859
Blog Entries: 33

Rep: Reputation: 142Reputation: 142
That's excellent news, Bratmon.

I've been watching, but had nothing to offer.

And yes it is a Ubuntu thing, but also GNU/Linux and the sound servers/mixers.

The warnings you got, were not errors, but notification that changes are coming.

Cheers, all the best...

Regards Glenn
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Sound card recognized but no sound on SoundMAX Integrated Digital Audio xzallion Fedora 46 12-13-2006 10:18 PM
Awful sound quality with integrated sound on VIA KM266 Wild Devil Linux - Hardware 1 06-13-2006 02:01 PM
Sound Driver for Dell Integrated Audio Chipset? mrchaos Linux - Newbie 11 03-15-2005 11:58 PM
No sound with ADI AD1980 integrated sound card Comptalk Red Hat 2 02-07-2005 05:08 AM
P4X400 hack for support c0rderr0y Linux - Hardware 0 02-19-2004 04:33 PM


All times are GMT -5. The time now is 02:20 PM.

Main Menu
 
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration