You are not logged in.
Pages: 1
Hello,
Sorry if my questions are totaly silly. I am starting with Archlinux, I managed to install most of the OS.
Now there is fex days I am browsing the archlinux site / forum / wiki plus google to find an answer to my problem.
But I am stuck, I can not hear a sound (through headphones or speaker).
I installed alsamixer, actived the different channels, tried to modify the /etc/asound.conf file but I am not lucky so far.
I also tried to run the script "su -c 'python2 hda-analyzer.py' " but I get the following :
Using temporary directory: /dev/shm/hda-analyzer
You may remove this directory when finished or if you like to
download the most recent copy of hda-analyzer tool.
Downloading file hda_analyzer.py
Downloading file hda_guilib.py
Downloading file hda_codec.py
Downloading file hda_proc.py
Downloading file hda_graph.py
Downloading file hda_mixer.py
Downloaded all files, executing hda_analyzer.py
No HDA codecs were found or insufficient priviledges for
/dev/snd/controlC* and /dev/snd/hwdepC*D* device files.
You may also check, if you compiled HDA driver with HWDEP
interface as well or close all application using HWDEP.
Try run this program as root user.
Could you please help in with diagnostic ?
Cheers !
Last edited by huggymo (2016-02-07 20:36:14)
Offline
This is a good place to start:
Advanced Linux Sound Architecture/Troubleshooting
Edit: Did miss the second line in your post. Sorry.
Last edited by olegabrielz (2016-02-01 23:42:05)
Be aware of my Newbie Powers
Offline
huggymo,
First, welcome to Arch Linux.
Next, you really need to tell us a lot more about your system.
We, for example, have no idea what sound card/chip set you are using. Post the output of lspci -nn
We don't know if your system is using (or trying to use) HDMI, Analog, serial audio. I'm guessing you want Analog. Post the output of aplay -lL (that is a lower case l folled by an upper case L)
Are you using pulseaudio ?
How are you trying to generate audio?
Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
The shortest way to ruin a country is to give power to demagogues.— Dionysius of Halicarnassus
---
How to Ask Questions the Smart Way
Offline
Hello Ewaller,
Thanks a lot for your reply.
Here are the sound card info :
lspci -nn
00:00.0 Host bridge [0600]: Intel Corporation 82855PM Processor to I/O Controller [8086:3340] (rev 03)
00:01.0 PCI bridge [0604]: Intel Corporation 82855PM Processor to AGP Controller [8086:3341] (rev 03)
00:1d.0 USB controller [0c03]: Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) USB UHCI Controller #1 [8086:24c2] (rev 01)
00:1d.1 USB controller [0c03]: Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) USB UHCI Controller #2 [8086:24c4] (rev 01)
00:1d.2 USB controller [0c03]: Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) USB UHCI Controller #3 [8086:24c7] (rev 01)
00:1d.7 USB controller [0c03]: Intel Corporation 82801DB/DBM (ICH4/ICH4-M) USB2 EHCI Controller [8086:24cd] (rev 01)
00:1e.0 PCI bridge [0604]: Intel Corporation 82801 Mobile PCI Bridge [8086:2448] (rev 81)
00:1f.0 ISA bridge [0601]: Intel Corporation 82801DBM (ICH4-M) LPC Interface Bridge [8086:24cc] (rev 01)
00:1f.1 IDE interface [0101]: Intel Corporation 82801DBM (ICH4-M) IDE Controller [8086:24ca] (rev 01)
00:1f.3 SMBus [0c05]: Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) SMBus Controller [8086:24c3] (rev 01)
00:1f.5 Multimedia audio controller [0401]: Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) AC'97 Audio Controller [8086:24c5] (rev 01)
00:1f.6 Modem [0703]: Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) AC'97 Modem Controller [8086:24c6] (rev 01)
01:00.0 VGA compatible controller [0300]: Advanced Micro Devices, Inc. [AMD/ATI] RV350/M10 / RV360/M11 [Mobility Radeon 9600 (PRO) / 9700] [1002:4e50]
02:00.0 CardBus bridge [0607]: Texas Instruments PCI4520 PC card Cardbus Controller [104c:ac46] (rev 01)
02:00.1 CardBus bridge [0607]: Texas Instruments PCI4520 PC card Cardbus Controller [104c:ac46] (rev 01)
02:01.0 Ethernet controller [0200]: Intel Corporation 82540EP Gigabit Ethernet Controller (Mobile) [8086:101e] (rev 03)
02:02.0 Ethernet controller [0200]: Qualcomm Atheros AR5212 802.11abg NIC [168c:1014] (rev 01)And the info on the audio system :
aplay -lL
null
Discard all samples (playback) or generate zero samples (capture)
pulse
PulseAudio Sound Server
sysdefault:CARD=I82801DBICH4
Intel 82801DB-ICH4, Intel 82801DB-ICH4
Default Audio Device
front:CARD=I82801DBICH4,DEV=0
Intel 82801DB-ICH4, Intel 82801DB-ICH4
Front speakers
surround21:CARD=I82801DBICH4,DEV=0
Intel 82801DB-ICH4, Intel 82801DB-ICH4
2.1 Surround output to Front and Subwoofer speakers
surround40:CARD=I82801DBICH4,DEV=0
Intel 82801DB-ICH4, Intel 82801DB-ICH4
4.0 Surround output to Front and Rear speakers
surround41:CARD=I82801DBICH4,DEV=0
Intel 82801DB-ICH4, Intel 82801DB-ICH4
4.1 Surround output to Front, Rear and Subwoofer speakers
surround50:CARD=I82801DBICH4,DEV=0
Intel 82801DB-ICH4, Intel 82801DB-ICH4
5.0 Surround output to Front, Center and Rear speakers
surround51:CARD=I82801DBICH4,DEV=0
Intel 82801DB-ICH4, Intel 82801DB-ICH4
5.1 Surround output to Front, Center, Rear and Subwoofer speakers
iec958:CARD=I82801DBICH4,DEV=0
Intel 82801DB-ICH4, Intel 82801DB-ICH4 - IEC958
IEC958 (S/PDIF) Digital Audio Output
**** List of PLAYBACK Hardware Devices ****
card 0: I82801DBICH4 [Intel 82801DB-ICH4], device 0: Intel ICH [Intel 82801DB-ICH4]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: I82801DBICH4 [Intel 82801DB-ICH4], device 4: Intel ICH - IEC958 [Intel 82801DB-ICH4 - IEC958]
Subdevices: 1/1
Subdevice #0: subdevice #0I think pulseaudio is installed.
Here are the info I see in alsamixer :
by default
AlsaMixer v1.1.0 ───────────────────────────────────────────────────────────────────┐
│ Carte: PulseAudio F1: Aide │
│ Puce: PulseAudio F2: Informations Système │
│ Vue: F3:[Lecture] F4: Capture F5: Tout F6: Choisir la carte son │
│ Contrôle: Master Esc: Quitter │or when I change the sound card
Carte: Intel 82801DB-ICH4 F1: Aide │
│ Puce: Analog Devices AD1981B F2: Informations Système │
│ Vue: F3:[Lecture] F4: Capture F5: Tout F6: Choisir la carte son │
│ Contrôle: Master [gain dB: 0,00, 0,00] Esc: Quitter │
│ To test the sound I either launch youtube or try to read a mp3 file with VLC. I sort of hear a really really faint sound with VLC so I tried to modify the gain in the /etc/asound.conf file :
# Use PulseAudio by default
pcm.!default {
type pulse
fallback "sysdefault"
hint {
show on
description "Default ALSA Output (currently PulseAudio Sound Server)"
}
}
ctl.!default {
type pulse
fallback "sysdefault"
}
pcm.!default {
type plug
slave.pcm "softvol"
}
pcm.softvol {
type softvol
slave {
pcm "dmix"
}
control {
name "Pre-Amp"
card 0
}
min_dB -5.0
max_dB 120.0
resolution 6
}
# vim:set ft=alsaconf:
)Last edited by huggymo (2016-02-03 18:47:36)
Offline
@huggymo
Edit your post and use code tags for the output.
Offline
Done. I'll read to directive. Cheers.
Offline
If you intend to use pulseaudio, remove everything in your /etc/asound.conf after the ctl.!default (the ones with pulse in them have to remain), reboot, then post
pacmd list-cards
pacmd list-sinks
pacmd list-sink-inputs #While trying to play something in VLC or similar
sudo fuser -v /dev/snd/*Also make sure that alsa-plugins are installed.
Last edited by V1del (2016-02-03 19:22:05)
Offline
Hello,
Thanks a lot for reading my questions and for your time. Here are the info.
I think alsa-plugins are installed.
yaourt alsa-plugins
1 extra/alsa-plugins 1.1.0-1 [installed]
Extra alsa pluginsI modified my /etc/asound.conf file as follows :
Use PulseAudio by default
pcm.!default {
type pulse
fallback "sysdefault"
hint {
show on
description "Default ALSA Output (currently PulseAudio Sound Server)"
}
}
ctl.!default {
type pulse
fallback "sysdefault"
}And here are the output of the pacmd + fuser commands
pacmd list-cards
1 card(s) available.
index: 0
name: <alsa_card.pci-0000_00_1f.5>
driver: <module-alsa-card.c>
owner module: 6
properties:
alsa.card = "0"
alsa.card_name = "Intel 82801DB-ICH4"
alsa.long_card_name = "Intel 82801DB-ICH4 with AD1981B at irq 11"
alsa.driver_name = "snd_intel8x0"
device.bus_path = "pci-0000:00:1f.5"
sysfs.path = "/devices/pci0000:00/0000:00:1f.5/sound/card0"
device.bus = "pci"
device.vendor.id = "8086"
device.vendor.name = "Intel Corporation"
device.product.id = "24c5"
device.product.name = "82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) AC'97 Audio Controller (ThinkPad T4x Series)"
device.form_factor = "internal"
device.string = "0"
device.description = "Built-in Audio"
module-udev-detect.discovered = "1"
device.icon_name = "audio-card-pci"
profiles:
input:analog-stereo: Analog Stereo Input (priority 60, available: unknown)
output:analog-stereo: Analog Stereo Output (priority 6000, available: unknown)
output:analog-stereo+input:analog-stereo: Analog Stereo Duplex (priority 6060, available: unknown)
off: Off (priority 0, available: unknown)
active profile: <output:analog-stereo+input:analog-stereo>
sinks:
alsa_output.pci-0000_00_1f.5.analog-stereo/#0: Built-in Audio Analog Stereo
sources:
alsa_output.pci-0000_00_1f.5.analog-stereo.monitor/#0: Monitor of Built-in Audio Analog Stereo
alsa_input.pci-0000_00_1f.5.analog-stereo/#1: Built-in Audio Analog Stereo
ports:
analog-input-mic;input-microphone-1: Microphone / Microphone 1 (priority 8720, latency offset 0 usec, available: unknown)
properties:
device.icon_name = "audio-input-microphone"
analog-input-mic;input-microphone-2: Microphone / Microphone 2 (priority 8719, latency offset 0 usec, available: unknown)
properties:
device.icon_name = "audio-input-microphone"
analog-input-linein: Line In (priority 8100, latency offset 0 usec, available: unknown)
properties:
analog-input-aux: Analog Input (priority 8000, latency offset 0 usec, available: unknown)
properties:
analog-input-video: Video (priority 7000, latency offset 0 usec, available: unknown)
properties:
analog-output-headphones;output-amplifier-on: Headphones / Amplifier (priority 9010, latency offset 0 usec, available: unknown)
properties:
device.icon_name = "audio-headphones"
analog-output-headphones;output-amplifier-off: Headphones / No Amplifier (priority 9000, latency offset 0 usec, available: unknown)
properties:
device.icon_name = "audio-headphones"pacmd list-sinks
1 sink(s) available.
* index: 0
name: <alsa_output.pci-0000_00_1f.5.analog-stereo>
driver: <module-alsa-card.c>
flags: HARDWARE HW_MUTE_CTRL HW_VOLUME_CTRL DECIBEL_VOLUME LATENCY DYNAMIC_LATENCY
state: RUNNING
suspend cause:
priority: 9959
volume: front-left: 65536 / 100% / 0.00 dB, front-right: 65536 / 100% / 0.00 dB
balance 0.00
base volume: 41350 / 63% / -12.00 dB
volume steps: 65537
muted: no
current latency: 39.75 ms
max request: 6 KiB
max rewind: 64 KiB
monitor source: 0
sample spec: s16le 2ch 44100Hz
channel map: front-left,front-right
Stereo
used by: 1
linked by: 1
configured latency: 40.00 ms; range is 0.50 .. 371.52 ms
card: 0 <alsa_card.pci-0000_00_1f.5>
module: 6
properties:
alsa.resolution_bits = "16"
device.api = "alsa"
device.class = "sound"
alsa.class = "generic"
alsa.subclass = "generic-mix"
alsa.name = "Intel 82801DB-ICH4"
alsa.id = "Intel ICH"
alsa.subdevice = "0"
alsa.subdevice_name = "subdevice #0"
alsa.device = "0"
alsa.card = "0"
alsa.card_name = "Intel 82801DB-ICH4"
alsa.long_card_name = "Intel 82801DB-ICH4 with AD1981B at irq 11"
alsa.driver_name = "snd_intel8x0"
device.bus_path = "pci-0000:00:1f.5"
sysfs.path = "/devices/pci0000:00/0000:00:1f.5/sound/card0"
device.bus = "pci"
device.vendor.id = "8086"
device.vendor.name = "Intel Corporation"
device.product.id = "24c5"
device.product.name = "82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) AC'97 Audio Controller (ThinkPad T4x Series)"
device.form_factor = "internal"
device.string = "front:0"
device.buffering.buffer_size = "65536"
device.buffering.fragment_size = "65536"
device.access_mode = "mmap+timer"
device.profile.name = "analog-stereo"
device.profile.description = "Analog Stereo"
device.description = "Built-in Audio Analog Stereo"
alsa.mixer_name = "Analog Devices AD1981B"
alsa.components = "AC97a:41445374"
module-udev-detect.discovered = "1"
device.icon_name = "audio-card-pci"
ports:
analog-output-headphones;output-amplifier-on: Headphones / Amplifier (priority 9010, latency offset 0 usec, available: unknown)
properties:
device.icon_name = "audio-headphones"
analog-output-headphones;output-amplifier-off: Headphones / No Amplifier (priority 9000, latency offset 0 usec, available: unknown)
properties:
device.icon_name = "audio-headphones"
active port: <analog-output-headphones;output-amplifier-on>pacmd list-sink-inputs #While trying to play something in VLC or similar (which I did putting VLC in 'loop' mode)
1 sink input(s) available.
index: 15
driver: <protocol-native.c>
flags: START_CORKED FIX_RATE
state: RUNNING
sink: 0 <alsa_output.pci-0000_00_1f.5.analog-stereo>
volume: front-left: 81920 / 125% / 5.81 dB, front-right: 81920 / 125% / 5.81 dB
balance 0.00
muted: no
current latency: 375.35 ms
requested latency: 40.00 ms
sample spec: float32le 2ch 44100Hz
channel map: front-left,front-right
Stereo
resample method: copy
module: 8
client: 9 <VLC media player>
properties:
media.role = "video"
media.name = "audio stream"
application.name = "VLC media player"
native-protocol.peer = "UNIX socket client"
native-protocol.version = "30"
application.id = "org.VideoLAN.VLC"
application.version = "2.2.1"
application.icon_name = "vlc"
application.language = "fr_FR.UTF-8"
application.process.id = "1326"
application.process.user = "hdesaint"
application.process.host = "pc-huggymo"
application.process.binary = "vlc"
window.x11.display = ":0"
application.process.machine_id = "6e23bd8796cb43529b3345beec4b69d8"
application.process.session_id = "c1"
module-stream-restore.id = "sink-input-by-media-role:video"sudo fuser -v /dev/snd/*
UTIL. PID ACCÈS COMMANDE
/dev/snd/controlC0: hdesaint 475 F.... pulseaudio
/dev/snd/pcmC0D0p: hdesaint 475 F...m pulseaudioLast edited by huggymo (2016-02-06 14:33:43)
Offline
I note that you are using Pulse Audio. I suggest you install and run pavucontrol. It will provide a GUI that gives you a pretty good look at how things are configured, and will dynamically show what programs are producing sound, and should show the audio level meters for those sources. It will also show all of the output available output devices, let you see the audio levels on them. I have found and fixed more than one problem with this tool.
Also, You may want to fire up alsamixer and recheck that all the levels are up and nothing is muted. You will have to select the sound card of your also device using the program's interface as it generally defaults to PulseAudio.
Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
The shortest way to ruin a country is to give power to demagogues.— Dionysius of Halicarnassus
---
How to Ask Questions the Smart Way
Offline
Hello,
I installed pavucontrol and launched it. I can see the sound level 'moving' while playing a mp3. I changed the sound card with alsamixer, althougth as you mentionned I need to be it everytime I launch it, as it defaults to PulseAudio. Is there a way to set it to my sound card by default ?
For the moment, there is no sound yet.
Offline
The T42 seems to be similar to the T43 in the audio area, so it might be the buttons:
https://bbs.archlinux.org/viewtopic.php?id=191257
http://www.thinkwiki.org/wiki/AD1981B
Offline
Spot on - Smashing ! Thanks a lot Pigiron !
Your explanations are cristal clear. I read the thinkwiki article earlier on but missed the important line about the 'hardware button', I did not grasped what it was about at this time.
Thanks also to everybody that took time to help me. I mark this thread as solved.
Offline
Pages: 1