LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Laptop and Netbook
User Name
Password
Linux - Laptop and Netbook Having a problem installing or configuring Linux on your laptop? Need help running Linux on your netbook? This forum is for you. This forum is for any topics relating to Linux and either traditional laptops or netbooks (such as the Asus EEE PC, Everex CloudBook or MSI Wind).

Notices


Reply
  Search this Thread
Old 06-16-2023, 08:59 AM   #31
Mark7
Member
 
Registered: Feb 2006
Location: Leicester
Distribution: xUbuntu 20.04 currently
Posts: 274

Original Poster
Rep: Reputation: 44

Quote:
Originally Posted by GlennsPref View Post
Leave that there... "-2 is never use"

Reboot, and
Code:
lsmod | grep snd-hda-intel
is the module loaded in the list?
When I changed the dashes to underscores I got the following

Quote:
lsmod | grep snd_hda_intel
snd_hda_intel 61440 1
snd_intel_dspcfg 36864 1 snd_hda_intel
snd_hda_codec 204800 2 snd_hda_codec_hdmi,snd_hda_intel
snd_hda_core 139264 3 snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec
snd_pcm 192512 4 snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec,snd_hda_core
snd 135168 14 snd_seq,snd_seq_device,snd_hda_codec_hdmi,snd_hwdep,snd_hda_intel,snd_hda_codec,snd_timer,snd_pcm,sn d_rawmidi
 
Old 06-16-2023, 09:14 AM   #32
Mark7
Member
 
Registered: Feb 2006
Location: Leicester
Distribution: xUbuntu 20.04 currently
Posts: 274

Original Poster
Rep: Reputation: 44
I honestly don't think snd-hda-intel is even in the kernel. Else why would modprobing and grepping it keep coming up blank?

The alternative is that someone changed the name without telling anyone.
 
Old 06-17-2023, 12:12 AM   #33
GlennsPref
Senior Member
 
Registered: Apr 2004
Location: Brisbane, Australia
Distribution: Devuan
Posts: 3,660
Blog Entries: 33

Rep: Reputation: 283Reputation: 283Reputation: 283
The dashes and underscores are interchangeable as used in module names... It's the find program that needs provoking.

snd_hda_intel is loaded so, maybe the hdmi is the module for your laptop... ?

snd_hda_codec_hdmi... try that name in stead in /etc/modules... and try again.

I wish I knew a better way of trouble shooting audio on Linux.

Anyway, the line reads like this, the dominant module and then the dependants are listed.

like this...
snd_hda_codec 204800 2 snd_hda_codec_hdmi,snd_hda_intel

I haven't got much else.

I'll tell you this, Arch and Gentoo have really good HOW-TO-... pages.
 
Old 06-17-2023, 12:47 AM   #34
GlennsPref
Senior Member
 
Registered: Apr 2004
Location: Brisbane, Australia
Distribution: Devuan
Posts: 3,660
Blog Entries: 33

Rep: Reputation: 283Reputation: 283Reputation: 283
HDMI, of course is a video connector that also has provision for audio. Laptop screens use this... a lot.

Have a read of this and see if it helps...

Advanced Linux Sound Architecture (ALSA)
https://alsa-project.org/wiki/Main_Page

see how you go.
 
Old 06-17-2023, 02:43 AM   #35
Mark7
Member
 
Registered: Feb 2006
Location: Leicester
Distribution: xUbuntu 20.04 currently
Posts: 274

Original Poster
Rep: Reputation: 44
The crazy thing is that the analog stereo audio did use to work on Linux. I know this because until an update I can't remember I was using a pair of Philips headphones plugged straight into my laptop's headphones/line out jack, which was running Ubuntu something or other. I've had this particular computer (the aforementioned laptop) for at least four years now and have been using it with exclusively Ubuntu Linux for most of that time. When I got it it did have Windows 10 installed but surely Linux couldn't access the Windows hardware drivers. Could it?
 
Old 06-17-2023, 02:44 AM   #36
Mark7
Member
 
Registered: Feb 2006
Location: Leicester
Distribution: xUbuntu 20.04 currently
Posts: 274

Original Poster
Rep: Reputation: 44
My laptop screen has no built in speakers. So hdmi is useless to me.
 
Old 06-17-2023, 03:43 AM   #37
Mark7
Member
 
Registered: Feb 2006
Location: Leicester
Distribution: xUbuntu 20.04 currently
Posts: 274

Original Poster
Rep: Reputation: 44
I'm trying to install the Intel8x0 module from https://alsa-project.org/wiki/Matrix:Module-intel8x0 but I keep running into the following issue

Quote:
cp /downloads/alsa-* .
cp: cannot stat '/downloads/alsa-*': No such file or directory
Even if I include the name of the module I still get the same result

Last edited by Mark7; 06-17-2023 at 03:45 AM.
 
Old 06-17-2023, 03:45 AM   #38
Mark7
Member
 
Registered: Feb 2006
Location: Leicester
Distribution: xUbuntu 20.04 currently
Posts: 274

Original Poster
Rep: Reputation: 44
And now I see that the page was last updated 12 years ago
 
Old 06-17-2023, 03:50 AM   #39
Mark7
Member
 
Registered: Feb 2006
Location: Leicester
Distribution: xUbuntu 20.04 currently
Posts: 274

Original Poster
Rep: Reputation: 44
https://bugzilla.stage.redhat.com/sh....cgi?id=506075
 
Old 06-17-2023, 04:26 AM   #40
Mark7
Member
 
Registered: Feb 2006
Location: Leicester
Distribution: xUbuntu 20.04 currently
Posts: 274

Original Poster
Rep: Reputation: 44
A quick search found snd-hda-intel.ko and snd-intel8x0.ko in /usr/lib/modules/6.2.0-20-generic/kernel/sound/pci/ and /usr/lib/modules/6/2/0-20-generic/kernel/sound/pci/hda. So they're definitely there but for some reason neither pulseaudio nor pipewire are communicating with them.

Also in 6.2.0.23

Last edited by Mark7; 06-17-2023 at 12:33 PM.
 
Old 06-18-2023, 07:07 AM   #41
Mark7
Member
 
Registered: Feb 2006
Location: Leicester
Distribution: xUbuntu 20.04 currently
Posts: 274

Original Poster
Rep: Reputation: 44
Update.

Guessing that this has you all stumped I decided to try a few things. First I purged pulseaudio from the system, rebooted and ran qjackctl with the hw:PCH option. No luck. Then I purged pipewire and did the same again. Still no luck. Next I purged Alsa, rebooted and, well obviously qjackctl wasn't going to start now. So I reinstalled pipewire and alsa along with the pipewire alsa plugin and some OSS stuff and now qjackctl connects to hw:PCH but I'm still not getting an analog option in the mixer plugin for Xfce4 panel and there's still no signal being passed to the onboard speakers or the phones/line out jack.

But at least qjackctl knows I have a soundcard. So that's a start.
 
Old 06-18-2023, 11:47 AM   #42
Mark7
Member
 
Registered: Feb 2006
Location: Leicester
Distribution: xUbuntu 20.04 currently
Posts: 274

Original Poster
Rep: Reputation: 44
aplay -L results

Quote:
null
Discard all samples (playback) or generate zero samples (capture)
lavrate
Rate Converter Plugin Using Libav/FFmpeg Library
samplerate
Rate Converter Plugin Using Samplerate Library
speexrate
Rate Converter Plugin Using Speex Resampler
bluealsa
Bluetooth Audio Hub
jack
JACK Audio Connection Kit
oss
Open Sound System
pipewire
PipeWire Sound Server
pulse
PulseAudio Sound Server
speex
Plugin using Speex DSP (resample, agc, denoise, echo, dereverb)
upmix
Plugin for channel upmix (4,6,8)
vdownmix
Plugin for channel downmix (stereo) with a simple spacialization
default
Default ALSA Output (currently PipeWire Media Server)
hw:CARD=PCH,DEV=3
HDA Intel PCH, HDMI 0
Direct hardware device without any conversions
plughw:CARD=PCH,DEV=3
HDA Intel PCH, HDMI 0
Hardware device with all software conversions
hdmi:CARD=PCH,DEV=0
HDA Intel PCH, HDMI 0
HDMI Audio Output
dmix:CARD=PCH,DEV=3
HDA Intel PCH, HDMI 0
Direct sample mixing device
usbstream:CARD=PCH
HDA Intel PCH
USB Stream Output
 
Old 06-19-2023, 07:15 PM   #43
GlennsPref
Senior Member
 
Registered: Apr 2004
Location: Brisbane, Australia
Distribution: Devuan
Posts: 3,660
Blog Entries: 33

Rep: Reputation: 283Reputation: 283Reputation: 283
I am using wireplumber to govern what was left of pulseaudio, but there is still one or two pulse packages installed...

pipewire-pulse

it's certainly a strange situation. is there a bios//firmware update for any of it, the hardware?
 
Old 06-20-2023, 12:58 AM   #44
Mark7
Member
 
Registered: Feb 2006
Location: Leicester
Distribution: xUbuntu 20.04 currently
Posts: 274

Original Poster
Rep: Reputation: 44
I'm not aware of any. Maybe one of the developers knows?

I also still have some pulse libraries installed. But only because I need them for certain apps
 
Old 06-21-2023, 05:23 AM   #45
Mark7
Member
 
Registered: Feb 2006
Location: Leicester
Distribution: xUbuntu 20.04 currently
Posts: 274

Original Poster
Rep: Reputation: 44
Hmm

Quote:
cat /proc/asound/card0/codec* | grep Codec
Codec: Intel CougarPoint HDMI
That isn't what I want.
 
  


Reply



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



Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: OpenForum Europe Challenges Governments to Walk the Open Format Walk LXer Syndicated Linux News 0 09-15-2014 03:41 PM
I can't install OS Elementary Luna on my Hard drive, I need a walk through. pennblogh Linux - Newbie 2 04-28-2014 07:59 AM
Cron Scheduling isn't working for me, can someone walk me through this? gohmifune Linux - Software 5 08-16-2007 08:12 PM
Can someone walk me through this? can't load mysql.so dave4545 Linux - Newbie 3 03-26-2005 03:16 PM
complete Newbie to suse, need installation walk through titbread Linux - Distributions 6 01-16-2004 10:33 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Laptop and Netbook

All times are GMT -5. The time now is 05:17 PM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration