can not configure sound hp omnibook 900 notebook
after installing (any distro) the sound does not function.
seems that the soundcard is not recognized.
I would like to get as much as possible from this old computer and the sound is the function is left for a 100 per cent performance.
I have xubuntu in an HP OmniBook 900, PII processor.
Thanks for your help
Jorge Leguisamo
Sweden
Question information
- Language:
- English Edit question
- Status:
- Expired
- For:
- Ubuntu Edit question
- Assignee:
- No assignee Edit question
- Last query:
- Last reply:
Revision history for this message
|
#1 |
Can you paste here the output of this command:
lspci -vnn
Revision history for this message
|
#2 |
jorge@XL5:~$ lspci -vnn
00:00.0 Host bridge [0600]: Intel Corporation 440BX/ZX/DX - 82443BX/ZX/DX Host bridge [8086:7190] (rev 03)
Flags: bus master, medium devsel, latency 64
Memory at 24000000 (32-bit, prefetchable) [size=64M]
00:01.0 PCI bridge [0604]: Intel Corporation 440BX/ZX/DX - 82443BX/ZX/DX AGP bridge [8086:7191] (rev 03) (prog-if 00 [Normal decode])
Flags: bus master, 66MHz, medium devsel, latency 128
Bus: primary=00, secondary=01, subordinate=01, sec-latency=64
Memory behind bridge: fe700000-fecfffff
00:04.0 CardBus bridge [0607]: Texas Instruments PCI1225 [104c:ac1c] (rev 01)
Subsystem: Hewlett-Packard Company Unknown device [103c:0008]
Flags: bus master, medium devsel, latency 168, IRQ 10
Memory at 20000000 (32-bit, non-prefetchable) [size=4K]
Bus: primary=00, secondary=02, subordinate=05, sec-latency=176
Memory window 0: 10000000-13fff000 (prefetchable)
Memory window 1: 14000000-17fff000
I/O window 0: 00001000-000010ff
I/O window 1: 00001400-000014ff
16-bit legacy interface ports at 0001
00:04.1 CardBus bridge [0607]: Texas Instruments PCI1225 [104c:ac1c] (rev 01)
Subsystem: Hewlett-Packard Company Unknown device [103c:0008]
Flags: bus master, medium devsel, latency 168, IRQ 10
Memory at 20001000 (32-bit, non-prefetchable) [size=4K]
Bus: primary=00, secondary=06, subordinate=09, sec-latency=176
Memory window 0: 18000000-1bfff000 (prefetchable)
Memory window 1: 1c000000-1ffff000
I/O window 0: 00001800-000018ff
I/O window 1: 00001c00-00001cff
16-bit legacy interface ports at 0001
00:07.0 Bridge [0680]: Intel Corporation 82371AB/EB/MB PIIX4 ISA [8086:7110] (rev 02)
Flags: bus master, medium devsel, latency 0
00:07.1 IDE interface [0101]: Intel Corporation 82371AB/EB/MB PIIX4 IDE [8086:7111] (rev 01) (prog-if 80 [Master])
Flags: bus master, medium devsel, latency 64
[virtual] Memory at 000001f0 (32-bit, non-prefetchable) [disabled] [size=8]
[virtual] Memory at 000003f0 (type 3, non-prefetchable) [disabled] [size=1]
[virtual] Memory at 00000170 (32-bit, non-prefetchable) [disabled] [size=8]
[virtual] Memory at 00000370 (type 3, non-prefetchable) [disabled] [size=1]
I/O ports at fcf0 [size=16]
00:07.2 USB Controller [0c03]: Intel Corporation 82371AB/EB/MB PIIX4 USB [8086:7112] (rev 01) (prog-if 00 [UHCI])
Flags: bus master, medium devsel, latency 64, IRQ 10
I/O ports at fcc0 [size=32]
00:07.3 Bridge [0680]: Intel Corporation 82371AB/EB/MB PIIX4 ACPI [8086:7113] (rev 02)
Flags: medium devsel, IRQ 9
01:00.0 VGA compatible controller [0300]: Neomagic Corporation NM2200 [MagicGraph 256AV] [10c8:0005] (rev 20) (prog-if 00 [VGA])
Subsystem: Hewlett-Packard Company Unknown device [103c:0008]
Flags: bus master, fast Back2Back, medium devsel, latency 128, IRQ 9
Memory at fd000000 (32-bit, prefetchable) [size=16M]
Memory at fe800000 (32-bit, non-prefetchable) [size=4M]
Memory at fec00000 (32-bit, non-prefetchable) [size=1M]
01:00.1 Multimedia audio controller [0401]: Neomagic Corporation NM2200 [MagicMedia 256AV Audio] [10c8:8005] (rev 20)
Subsystem: Hewlett-Packard Company MagicMedia 256AV Audio Device on Voyager III [103c:0008]
Flags: fast Back2Back, medium devsel, IRQ 10
Memory at fe000000 (32-bit, prefetchable) [size=4M]
Memory at fe700000 (32-bit, non-prefetchable) [size=1M]
02:00.0 Network controller [0280]: RaLink RT2500 802.11g Cardbus/mini-PCI [1814:0201] (rev 01)
Subsystem: Belkin F5D7000 Wireless G Desktop Network Card [1799:700a]
Flags: bus master, slow devsel, latency 64, IRQ 10
Memory at 14000000 (32-bit, non-prefetchable) [size=8K]
jorge@XL5:~$
jorge@XL5:~$
Revision history for this message
|
#3 |
Your soundcard is recognised by the kernel and it is a model supported by alsa.
Lets see what the problem might be; run the first sript on this page and paste here the resulting URL (must be connected to inet):
Revision history for this message
|
#4 |
hello and thaks for your help! I am rather new in linux.
I downloaded and executed the file and I obtained this:
#!/bin/bash
SCRIPT_
CHANGELOG="http://
#######
#Copyright (C) 2007 Free Software Foundation.
#This program is free software; you can redistribute it and/or modify
#it under the terms of the GNU General Public License as published by
#the Free Software Foundation; either version 2 of the License, or
#(at your option) any later version.
#This program is distributed in the hope that it will be useful,
#but WITHOUT ANY WARRANTY; without even the implied warranty of
#MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
#GNU General Public License for more details.
#You should have received a copy of the GNU General Public License
#along with this program; if not, write to the Free Software
#Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
#######
#The script was written for 2 main reasons:
# 1. Remove the need for the devs/helpers to ask several questions before we can easily help the user.
# 2. Allow newer/inexperienced ALSA users to give us all the info we need to help them.
#Change the PATH variable, so we can run lspci (needed for some distros)
PATH=$PATH:
BGTITLE="ALSA-Info v $SCRIPT_VERSION"
PASTEBINKEY=
#Define some simple functions
update() {
wget -O /tmp/alsa-info.sh http://
REMOTE_
if [ "$REMOTE_VERSION" != "$SCRIPT_VERSION" ]; then
if [[ -n $DIALOG ]]
then
dialog --yesno "Newer version of ALSA-Info has been found\n\nDo you wish to install it?" 0 0
DIALOG_
if [[ $DIALOG_EXIT_CODE = 0 ]]
then
cp /tmp/alsa-info.sh $0
echo "ALSA-Info script has been updated to v $REMOTE_VERSION"
echo "To view the ChangeLog, please visit $CHANGELOG"
echo "Please re-run the script"
exit
fi
else
cp /tmp/alsa-info.sh $0
echo "Newer version detected: $REMOTE_VERSION"
echo "To view the ChangeLog, please visit $CHANGELOG"
echo "ALSA-Info script has been updated. Please re-run it."
exit
fi
fi
rm /tmp/alsa-info.sh 2>/dev/null
}
cleanup() {
rm -r $TEMPDIR 2>/dev/null
}
withaplay() {
echo "!!Aplay output" >> $FILE
echo "!!------------" >> $FILE
echo "" >> $FILE
aplay -l >> $FILE
echo "" >> $FILE
echo "" >> $FILE
}
withlsmod() {
echo "!!All Loaded Modules" >> $FILE
echo "!!----
echo "" >> $FILE
lsmod |awk {'print $1'} >> $FILE
echo "" >> $FILE
echo "" >> $FILE
}
withamixer() {
echo "!!Amixer output" >> $FILE
echo "!!-------------" >> $FILE
echo "" >> $FILE
for i in `seq 0 $LAST_CARD`;do
CARD_NAME=`grep "^ $i" /tmp/alsainfo/
echo "!!-------Mixer controls for card $i $CARD_NAME]" >> $FILE
echo "" >>$FILE
amixer -c$i>> $FILE
echo "" >> $FILE
done
echo "" >> $FILE
}
withdevices() {
echo "!!ALSA Device nodes" >> $FILE
echo "!!----
echo "" >> $FILE
ls -la /dev/snd/* >> $FILE
echo "" >> $FILE
echo "" >> $FILE
}
withconfigs() {
if [[ -e $HOME/.asoundrc ]] || [[ -e /etc/asound.conf ]] || [[ -e $HOME/.
then
echo "!!ALSA configuration files" >> $FILE
echo "!!----
echo "" >> $FILE
#Check for ~/.asoundrc
if [[ -e $HOME/.asoundrc ]]
then
cat $HOME/.asoundrc >> $FILE
fi
#Check for .asoundrc.
if [[ -e $HOME/.
then
echo "!!asoundconf-
echo "" >> $FILE
cat $HOME/.
echo "" >> $FILE
echo "" >> $FILE
fi
#Check for /etc/asound.conf
if [[ -e /etc/asound.conf ]]
then
cat /etc/asound.conf >> $FILE
fi
fi
}
#Run checks to make sure the programs we need are installed.
LSPCI=$(which lspci 2>/dev/null| sed 's|^[^/]*||' 2>/dev/null);
TPUT=$(which tput 2>/dev/null| sed 's|^[^/]*||' 2>/dev/null);
DIALOG=$(which dialog 2>/dev/null | sed 's|^[^/]*||' 2>/dev/null);
#Script header output.
if [[ -n "$DIALOG" ]]
then
dialog --backtitle "$BGTITLE" --title "ALSA-Info script v $SCRIPT_VERSION" --yesno "\nThis script will collect information about your ALSA installation and sound related hardware, to help diagnose your problem\n\nDo you want to run this script?" 0 0
DIALOG_EXIT_CODE=$?
if [ $DIALOG_EXIT_CODE != 0 ]; then
echo "Thank you for using the ALSA-Info Script"
exit 0;
fi
else
echo "ALSA Information Script v $SCRIPT_VERSION"
echo "------
echo ""
echo "This script will collect information about your ALSA installation and sound related hardware, to help diagnose your problem."
echo ""
if [[ -n "$TPUT" ]]; then
tput bold
echo "By default, the collected information will be AUTOMATICALLY uploaded to a pastebin site."
echo "If you do not wish for this to occur, run the script with the --no-upload argument"
tput sgr0
else
echo "By default, the collected information will be AUTOMATICALLY uploaded to a pastebin site."
echo "If you do not wish for this to occur, run the script with the --no-upload argument"
fi
echo ""
echo -n "Do you want to run this script? [y/n] : "
read -e CONFIRM
if [ $CONFIRM != "y" ]; then
echo ""
echo "Thank you for using the ALSA-Info Script"
exit 0;
fi
fi
if [[ -z "$LSPCI" ]]
then
echo "This script requires lspci. Please install it, and re-run this script."
exit 0
fi
#Set the output file
TEMPDIR=
FILE="/
#Create the temporary work dir.
mkdir $TEMPDIR 2>/dev/null
#Fetch the info and store in temp files/variables
DISTRO=`grep -ihs "buntu\
KERNEL_
KERNEL_
KERNEL_
KERNEL_OS=`uname -o`
[[ `uname -v |grep SMP` ]] && KERNEL_SMP="Yes" || KERNEL_SMP="No"
ALSA_DRIVER_
ALSA_LIB_
ALSA_UTILS_
VENDOR_ID=`lspci -vn |grep 040[1-3] | awk -F':' '{print $3}'|awk {'print substr($0, 2);}' >/tmp/alsainfo/
DEVICE_ID=`lspci -vn |grep 040[1-3] | awk -F':' '{print $4}'|awk {'print $1'} >/tmp/alsainfo/
NUM_CARDS=`wc -l /tmp/alsainfo/
LAST_CARD=$(( $NUM_CARDS - 1 ))
cat /proc/asound/
cat /proc/asound/cards >/tmp/alsainfo/
lspci |grep -i "multi\
#Check for HDA-Intel cards codec#0
cat /proc/asound/
#Fetch the info, and put it in $FILE in a nice readable format.
echo "name=$
echo "!!####
echo "!!ALSA Information Script v $SCRIPT_VERSION" >> $FILE
echo "!!####
echo "" >> $FILE
echo "!!Script ran on: `date`" >> $FILE
echo "" >> $FILE
echo "" >> $FILE
echo "!!Linux Distribution" >> $FILE
echo "!!----
echo "" >> $FILE
echo $DISTRO >> $FILE
echo "" >> $FILE
echo "" >> $FILE
echo "!!Kernel Information" >> $FILE
echo "!!----
echo "" >> $FILE
echo "Kernel release: $KERNEL_VERSION" >> $FILE
echo "Operating System: $KERNEL_OS" >> $FILE
echo "Architecture: $KERNEL_MACHINE" >> $FILE
echo "Processor: $KERNEL_PROCESSOR" >> $FILE
echo "SMP Enabled: $KERNEL_SMP" >> $FILE
echo "" >> $FILE
echo "" >> $FILE
echo "!!ALSA Version" >> $FILE
echo "!!------------" >> $FILE
echo "" >> $FILE
echo "Driver version: $ALSA_DRIVER_
echo "Library version: $ALSA_LIB_VERSION" >> $FILE
echo "Utilities version: $ALSA_UTILS_
echo "" >> $FILE
echo "" >> $FILE
echo "!!Loaded ALSA modules" >> $FILE
echo "!!----
echo "" >> $FILE
cat /tmp/alsainfo/
echo "" >> $FILE
echo "" >> $FILE
echo "!!Soundcards recognised by ALSA" >> $FILE
echo "!!----
echo "" >> $FILE
cat /tmp/alsainfo/
echo "" >> $FILE
echo "" >> $FILE
echo "!!PCI Soundcards installed in the system" >> $FILE
echo "!!----
echo "" >> $FILE
cat /tmp/alsainfo/
echo "" >> $FILE
echo "" >> $FILE
echo "!!Advanced information - PCI Vendor/
echo "!!----
echo "" >> $FILE
lspci -vvn |grep -A1 040[1-3] >> $FILE
echo "" >> $FILE
echo "" >> $FILE
if [ -e "/tmp/alsainfo/
then
echo "!!HDA-Intel Codec information" >> $FILE
echo "!!----
echo "" >> $FILE
cat /tmp/alsainfo/
echo "" >> $FILE
echo "" >> $FILE
fi
#If no command line options are specified, then run as though --with-all was specified
if [[ -z "$1" ]]
then
update
withdevices
withconfigs
withaplay
withamixer
withlsmod
#Workaround, while we sort out pastebin location, since pastebin.ca blocked us.
#NOUPLOAD="1"
fi
#loop through command line arguments, until none are left.
if [[ -n "$1" ]]
then
until [ -z "$1" ]
do
case "$1" in
--update)
update
exit
;;
--no-upload)
NOUPLOAD="1"
KEEP_FILES="yes"
withdevices
withconfigs
withaplay
withamixer
withlsmod
;;
--debug)
echo "Debugging enabled. $FILE and $TEMPDIR will not be deleted"
KEEP_FILES="yes"
echo ""
withdevices
withconfigs
withaplay
withamixer
withlsmod
;;
--with-all)
withdevices
withconfigs
withaplay
withamixer
withlsmod
;;
--with-aplay)
withaplay
;;
--with-amixer)
withamixer
;;
--with-devices)
withdevices
;;
--with-configs)
if [[ -e $HOME/.asoundrc ]] || [[ -e /etc/asound.conf ]]
then
echo "!!ALSA configuration files" >> $FILE
echo "!!----
echo "" >> $FILE
#Check for ~/.asoundrc
if [[ -e $HOME/.asoundrc ]]
then
echo "!!User specific config file ($HOME/.asoundrc)" >> $FILE
echo "" >> $FILE
cat $HOME/.asoundrc >> $FILE
echo "" >> $FILE
echo "" >> $FILE
fi
#Check for /etc/asound.conf
if [[ -e /etc/asound.conf ]]
then
echo "!!System wide config file (/etc/asound.conf)" >> $FILE
echo "" >> $FILE
cat /etc/asound.conf >> $FILE
echo "" >> $FILE
echo "" >> $FILE
fi
fi
;;
--about)
echo "Written/Tested by the following users of #alsa on irc.freenode.net:"
echo ""
echo " wishie - Script author and developer / Testing"
echo " crimsun - Various script ideas / Testing"
echo " gnubien - Various script ideas / Testing"
echo " GrueMaster - HDA Intel specific items / Testing"
echo " olegfink - Script update function"
cleanup
exit 0
;;
*)
echo ""
echo "Available options:"
echo " --with-aplay (includes the output of aplay -l)"
echo " --with-amixer (includes the output of amixer)"
echo " --with-configs (includes the output of ~/.asoundrc and /etc/asound.conf if they exist)"
echo " --with-devices (shows the device nodes in /dev/snd/)"
echo ""
echo " --update (check server for script updates)"
echo " --about (show some information about the script)"
echo " --debug (will run the script as normal, but will not delete $FILE)"
cleanup
exit 0
;;
esac
shift 1
done
fi
#Test that wget is installed, and supports --post-file. Upload $FILE if it does, and prompt user to upload file if it doesnt.
if
WGET=$(which wget 2>/dev/null| sed 's|^[^/]*||' 2>/dev/null); [[ -n "${WGET}" ]] && [[ -x "${WGET}" ]] && [[ `wget --help |grep post-file` ]]
then
if [[ -n "$DIALOG" ]]
then
if [[ -z $NOUPLOAD ]]; then
wget -O - --tries=5 --timeout=60 --post-
{ for i in 10 20 30 40 50 60 70 80 90; do
echo $i
sleep 0.2
done
echo; } |dialog --backtitle "$BGTITLE" --guage "Uploading information to www.pastebin.ca ..." 6 70 0
fi
else
if [[ -z $NOUPLOAD ]]; then
echo -n "Uploading information to www.pastebin.ca ... "
wget -O - --tries=5 --timeout=60 --post-
fi
fi
#Progess spinner for wget transfer.
if [[ -z "$DIALOG" ]]
then
i=1
sp="/-\|"
echo -n ' '
while pgrep wget &>/dev/null
do
echo -en "\b${sp:
done
fi
#See if tput is available, and use it if it is.
if [[ -z $NOUPLOAD ]]; then
if [[ -n "$TPUT" ]]
then
FINAL_URL=`tput setaf 1; grep "SUCCESS:" /tmp/alsainfo/
else
FINAL_URL=`grep "SUCCESS:" /tmp/alsainfo/
fi
fi
#Output the URL of the uploaded file.
if [[ -z $DIALOG ]]
then
echo -e "\b Done!"
echo ""
if [[ -n $NOUPLOAD ]]; then
echo "You requested that your information was NOT automatically uploaded to the pastebin"
echo ""
echo "Your ALSA information can be seen by looking in $FILE"
echo ""
else
echo "Your ALSA information is located at $FINAL_URL"
echo "Please inform the person helping you."
echo ""
fi
fi
if [[ -n $DIALOG ]]
then
if [[ -n $NOUPLOAD ]]; then
dialog --backtitle "$BGTITLE" --title "Information collected" --msgbox "You requested that your information was NOT automatically uploaded to the pastebin\n\nYour ALSA information can be seen by looking in $FILE" 10 100
else
dialog --backtitle "$BGTITLE" --title "Information uploaded" --yesno "Would you like to see the uploaded information?" 5 100
DIALOG_
if [ $DIALOG_EXIT_CODE = 0 ]; then
grep -v "alsa-info.txt" /tmp/alsa-info.txt >/tmp/alsainfo/
dialog --backtitle "$BGTITLE" --textbox /tmp/alsainfo/
fi
fi
clear
if [[ -z $NOUPLOAD ]]; then
echo "Your ALSA information is located at $FINAL_URL"
echo "Please inform the person helping you."
echo ""
fi
fi
#We posted the file to pastebin.ca , so we dont need it anymore. delete it.
if [ -z $KEEP_FILES ]
then
rm $FILE
fi
#We couldnt find a suitable wget, so tell the user to upload manually.
else
if [[ -z $DIALOG ]]
then
echo ""
echo "Could not automatically upload output to http://
echo "Possible reasons are:"
echo " 1. Couldnt find 'wget' in your PATH"
echo " 2. Your version of wget is less than 1.8.2"
echo ""
echo "Please manually upload $FILE to http://
echo ""
fi
if [[ -n $DIALOG ]]
then
dialog --backtitle "$BGTITLE" --msgbox "Could not automatically upload output to http://
fi
fi
#Clean up the temp files
if [ -z $KEEP_FILES ]
then
cleanup
fi
Revision history for this message
|
#5 |
Hmmmmm, I think you need some directions :)
I assume you have downloaded the script to your Desktop (if not let me know).
Open a terminal (no idea how to do that in xubuntu, check your menu and accessories/system tools if you have them).
Once open, give this command:
bash Desktop/
Follow the on-screen instructions.
Revision history for this message
|
#6 |
jorge@XL5:~$ bash Desktop/
ALSA Information Script v 0.4.28
-------
This script will collect information about your ALSA installation and sound
related hardware, to help diagnose your problem.
By default, the collected information will be AUTOMATICALLY uploaded to a
pastebin site.
If you do not wish for this to occur, run the script with the --no-upload
argument
Do you want to run this script? [y/n] : y
aplay: device_list:222: no soundcards found...
Invalid card number.
Uploading information to www.pastebin.ca ... Done!
Your ALSA information is located at http://
Please inform the person helping you.
2007/6/11, Cesare Tirabassi <email address hidden>:
>
> Your question #7958 on Ubuntu changed:
> https:/
>
> Status: Open => Answered
>
> Cesare Tirabassi proposed the following answer:
> Hmmmmm, I think you need some directions :)
>
> I assume you have downloaded the script to your Desktop (if not let me
> know).
> Open a terminal (no idea how to do that in xubuntu, check your menu and
> accessories/system tools if you have them).
> Once open, give this command:
>
> bash Desktop/
>
> Follow the on-screen instructions.
>
> _______
> If this answers your question, please go to the following page to let us
> know that it is solved:
> https:/
>
> If you still need help, you can reply to this email or go to the
> following page to enter your feedback:
> https:/
>
--
DVM QVOD NOS IVNGIT NOS IVNGAT NIHIL IMPOSSIBILIS ERIT
Revision history for this message
|
#7 |
Not very encouraging:
http://
https:/
https:/
https:/
https:/
https:/
https:/
Revision history for this message
|
#8 |
Thanks anyway!
best wishes
Jorge
2007/6/11, Cesare Tirabassi <email address hidden>:
>
> Your question #7958 on Ubuntu changed:
> https:/
>
> Linked to bug: #47706
> https:/
> "snd_nm256 module in dapper broken. Does not include oss sound module
> nm256_audio"
>
--
DVM QVOD NOS IVNGIT NOS IVNGAT NIHIL IMPOSSIBILIS ERIT
Revision history for this message
|
#9 |
This question was expired because it remained in the 'Open' state without activity for the last 15 days.