LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 06-04-2019, 03:03 PM   #1
Quakeboy02
Senior Member
 
Registered: Nov 2006
Distribution: Debian Linux 11 (Bullseye)
Posts: 3,407

Rep: Reputation: 141Reputation: 141
ASUS VC66-C sound stopped


I bought a VC66-C. Nice little box. All I did was move my disk to it and everything worked, except for the wifi. OK, I'll deal with that later and just plug a USB dongle in. So, I did an upgrade and a reboot, and then the sound died. We're 19 years into the 21st century and sound still dies? le sigh

So, does anyone have a recommended path to take for this to get the sound back? Sound Preferences says that the Built-In Audio Is Disabled. I don't have a clue how to proceed from here. It's certainly not disabled in the BIOS. Everything I find online is related to ALSA and none of it works. Please help.

UPDATE:
I have it working now. The quick solution is below. No .asoundrc is needed, and no files are needed in /etc/modprobe.d. Just make the change below and it works.

Code:
1. Open /etc/default/grub
2. Add: GRUB_CMDLINE_LINUX="i915.alpha_support=1"
3. Run sudo update-grub to make the change effective
4. Reboot

Last edited by Quakeboy02; 06-13-2019 at 01:47 PM.
 
Old 06-05-2019, 01:06 PM   #2
Quakeboy02
Senior Member
 
Registered: Nov 2006
Distribution: Debian Linux 11 (Bullseye)
Posts: 3,407

Original Poster
Rep: Reputation: 141Reputation: 141
Some more info. Note where I've highlighted in red "Active Profile: off". That has to be related to the problem. What do I actually do about it to enable the profile? Or is that just a symptom and not the problem?

ADDED: OK, I just noticed what that means. All the devices are set to "available: no". So, is that a hardware problem, a software setting, or something else/somewhere else.

Output of pactl list
Code:
Module #0
	Name: module-device-restore
	Argument: 
	Usage counter: n/a
	Properties:
		module.author = "Lennart Poettering"
		module.description = "Automatically restore the volume/mute state of devices"
		module.version = "10.0"

Module #1
	Name: module-stream-restore
	Argument: 
	Usage counter: n/a
	Properties:
		module.author = "Lennart Poettering"
		module.description = "Automatically restore the volume/mute/device state of streams"
		module.version = "10.0"

Module #2
	Name: module-card-restore
	Argument: 
	Usage counter: n/a
	Properties:
		module.author = "Lennart Poettering"
		module.description = "Automatically restore profile of cards"
		module.version = "10.0"

Module #3
	Name: module-augment-properties
	Argument: 
	Usage counter: n/a
	Properties:
		module.author = "Lennart Poettering"
		module.description = "Augment the property sets of streams with additional static information"
		module.version = "10.0"

Module #4
	Name: module-switch-on-port-available
	Argument: 
	Usage counter: n/a
	Properties:
		

Module #5
	Name: module-udev-detect
	Argument: 
	Usage counter: n/a
	Properties:
		module.author = "Lennart Poettering"
		module.description = "Detect available audio hardware and load matching drivers"
		module.version = "10.0"

Module #6
	Name: module-alsa-card
	Argument: device_id="0" name="pci-0000_00_1f.3" card_name="alsa_card.pci-0000_00_1f.3" namereg_fail=false tsched=yes fixed_latency_range=no ignore_dB=no deferred_volume=yes use_ucm=yes card_properties="module-udev-detect.discovered=1"
	Usage counter: 0
	Properties:
		module.author = "Lennart Poettering"
		module.description = "ALSA Card"
		module.version = "10.0"

Module #7
	Name: module-bluetooth-policy
	Argument: 
	Usage counter: n/a
	Properties:
		module.author = "Frédéric Dalleau, Pali Rohár"
		module.description = "Policy module to make using bluetooth devices out-of-the-box easier"
		module.version = "10.0"

Module #8
	Name: module-bluetooth-discover
	Argument: 
	Usage counter: n/a
	Properties:
		module.author = "João Paulo Rechi Vita"
		module.description = "Detect available Bluetooth daemon and load the corresponding discovery module"
		module.version = "10.0"

Module #9
	Name: module-bluez5-discover
	Argument: 
	Usage counter: n/a
	Properties:
		module.author = "João Paulo Rechi Vita"
		module.description = "Detect available BlueZ 5 Bluetooth audio devices and load BlueZ 5 Bluetooth audio drivers"
		module.version = "10.0"

Module #10
	Name: module-esound-protocol-unix
	Argument: 
	Usage counter: n/a
	Properties:
		module.author = "Lennart Poettering"
		module.description = "ESOUND protocol (UNIX sockets)"
		module.version = "10.0"

Module #11
	Name: module-native-protocol-unix
	Argument: 
	Usage counter: n/a
	Properties:
		module.author = "Lennart Poettering"
		module.description = "Native protocol (UNIX sockets)"
		module.version = "10.0"

Module #12
	Name: module-gconf
	Argument: 
	Usage counter: n/a
	Properties:
		module.author = "Lennart Poettering"
		module.description = "GConf Adapter"
		module.version = "10.0"

Module #13
	Name: module-zeroconf-discover
	Argument: 
	Usage counter: n/a
	Properties:
		module.author = "Lennart Poettering"
		module.description = "mDNS/DNS-SD Service Discovery"
		module.version = "10.0"

Module #14
	Name: module-default-device-restore
	Argument: 
	Usage counter: n/a
	Properties:
		module.author = "Lennart Poettering"
		module.description = "Automatically restore the default sink and source"
		module.version = "10.0"

Module #15
	Name: module-rescue-streams
	Argument: 
	Usage counter: n/a
	Properties:
		module.author = "Lennart Poettering"
		module.description = "When a sink/source is removed, try to move its streams to the default sink/source"
		module.version = "10.0"

Module #16
	Name: module-always-sink
	Argument: 
	Usage counter: n/a
	Properties:
		module.author = "Colin Guthrie"
		module.description = "Always keeps at least one sink loaded even if it's a null one"
		module.version = "10.0"

Module #17
	Name: module-intended-roles
	Argument: 
	Usage counter: n/a
	Properties:
		module.author = "Lennart Poettering"
		module.description = "Automatically set device of streams based on intended roles of devices"
		module.version = "10.0"

Module #18
	Name: module-suspend-on-idle
	Argument: 
	Usage counter: n/a
	Properties:
		module.author = "Lennart Poettering"
		module.description = "When a sink/source is idle for too long, suspend it"
		module.version = "10.0"

Module #19
	Name: module-console-kit
	Argument: 
	Usage counter: n/a
	Properties:
		module.author = "Lennart Poettering"
		module.description = "Create a client for each ConsoleKit session of this user"
		module.version = "10.0"

Module #20
	Name: module-systemd-login
	Argument: 
	Usage counter: n/a
	Properties:
		module.author = "Lennart Poettering"
		module.description = "Create a client for each login session of this user"
		module.version = "10.0"

Module #21
	Name: module-position-event-sounds
	Argument: 
	Usage counter: n/a
	Properties:
		module.author = "Lennart Poettering"
		module.description = "Position event sounds between L and R depending on the position on screen of the widget triggering them."
		module.version = "10.0"

Module #22
	Name: module-role-cork
	Argument: 
	Usage counter: n/a
	Properties:
		module.author = "Lennart Poettering"
		module.description = "Mute & cork streams with certain roles while others exist"
		module.version = "10.0"

Module #23
	Name: module-filter-heuristics
	Argument: 
	Usage counter: n/a
	Properties:
		module.author = "Colin Guthrie"
		module.description = "Detect when various filters are desirable"
		module.version = "10.0"

Module #24
	Name: module-filter-apply
	Argument: 
	Usage counter: n/a
	Properties:
		module.author = "Colin Guthrie"
		module.description = "Load filter sinks automatically when needed"
		module.version = "10.0"

Module #25
	Name: module-x11-publish
	Argument: display=:1
	Usage counter: n/a
	Properties:
		module.author = "Lennart Poettering"
		module.description = "X11 credential publisher"
		module.version = "10.0"

Module #26
	Name: module-x11-cork-request
	Argument: display=:1
	Usage counter: n/a
	Properties:
		module.author = "Lennart Poettering"
		module.description = "Synthesize X11 media key events when cork/uncork is requested"
		module.version = "10.0"

Module #27
	Name: module-x11-xsmp
	Argument: display=:1 session_manager=local/svSecondChance:@/tmp/.ICE-unix/1355,unix/svSecondChance:/tmp/.ICE-unix/1355
	Usage counter: n/a
	Properties:
		module.author = "Lennart Poettering"
		module.description = "X11 session management"
		module.version = "10.0"

Module #28
	Name: module-null-sink
	Argument: sink_name=auto_null sink_properties='device.description="Dummy Output"'
	Usage counter: 0
	Properties:
		module.author = "Lennart Poettering"
		module.description = "Clocked NULL sink"
		module.version = "10.0"

Sink #1
	State: SUSPENDED
	Name: auto_null
	Description: Dummy Output
	Driver: module-null-sink.c
	Sample Specification: s16le 2ch 44100Hz
	Channel Map: front-left,front-right
	Owner Module: 28
	Mute: no
	Volume: front-left: 65536 / 100% / 0.00 dB,   front-right: 65536 / 100% / 0.00 dB
	        balance 0.00
	Base Volume: 65536 / 100% / 0.00 dB
	Monitor Source: auto_null.monitor
	Latency: 0 usec, configured 0 usec
	Flags: DECIBEL_VOLUME LATENCY 
	Properties:
		device.description = "Dummy Output"
		device.class = "abstract"
		device.icon_name = "audio-card"
	Formats:
		pcm

Source #2
	State: SUSPENDED
	Name: auto_null.monitor
	Description: Monitor of Dummy Output
	Driver: module-null-sink.c
	Sample Specification: s16le 2ch 44100Hz
	Channel Map: front-left,front-right
	Owner Module: 28
	Mute: no
	Volume: front-left: 65536 / 100% / 0.00 dB,   front-right: 65536 / 100% / 0.00 dB
	        balance 0.00
	Base Volume: 65536 / 100% / 0.00 dB
	Monitor of Sink: auto_null
	Latency: 0 usec, configured 0 usec
	Flags: DECIBEL_VOLUME LATENCY 
	Properties:
		device.description = "Monitor of Dummy Output"
		device.class = "monitor"
		device.icon_name = "audio-input-microphone"
	Formats:
		pcm

Client #0
	Driver: module-systemd-login.c
	Owner Module: 20
	Properties:
		application.name = "Login Session 4"
		systemd-login.session = "4"

Client #1
	Driver: protocol-native.c
	Owner Module: 11
	Properties:
		application.name = "mate-settings-daemon"
		native-protocol.peer = "UNIX socket client"
		native-protocol.version = "32"
		application.process.id = "1486"
		application.process.user = "bob"
		application.process.host = "svSecondChance"
		application.process.binary = "mate-settings-daemon"
		application.language = "en_US.UTF-8"
		window.x11.display = ":1"
		application.process.machine_id = "df938b00375c46cd96212a9cd4f40c8f"
		application.process.session_id = "4"

Client #3
	Driver: protocol-native.c
	Owner Module: 11
	Properties:
		application.name = "MATE Volume Control Applet"
		native-protocol.peer = "UNIX socket client"
		native-protocol.version = "32"
		application.id = "org.mate.VolumeControlApplet"
		application.icon_name = "multimedia-volume-control"
		application.version = "1.16.0"
		application.process.id = "1529"
		application.process.user = "bob"
		application.process.host = "svSecondChance"
		application.process.binary = "mate-volume-control-applet"
		application.language = "en_US.UTF-8"
		window.x11.display = ":1"
		application.process.machine_id = "df938b00375c46cd96212a9cd4f40c8f"
		application.process.session_id = "4"

Client #6
	Driver: module-x11-xsmp.c
	Owner Module: 27
	Properties:
		application.name = "XSMP Session on mate-session-manager as 103fff3ca3e35bc613155975450326112400000013550038"
		xsmp.vendor = "mate-session-manager"
		xsmp.client.id = "103fff3ca3e35bc613155975450326112400000013550038"

Client #10
	Driver: protocol-native.c
	Owner Module: 11
	Properties:
		application.name = "pactl"
		native-protocol.peer = "UNIX socket client"
		native-protocol.version = "32"
		application.process.id = "6190"
		application.process.user = "bob"
		application.process.host = "svSecondChance"
		application.process.binary = "pactl"
		application.language = "en_US.UTF-8"
		window.x11.display = ":1"
		application.process.machine_id = "df938b00375c46cd96212a9cd4f40c8f"
		application.process.session_id = "4"

Card #0
	Name: alsa_card.pci-0000_00_1f.3
	Driver: module-alsa-card.c
	Owner Module: 6
	Properties:
		alsa.card = "0"
		alsa.card_name = "HDA Intel"
		alsa.long_card_name = "HDA Intel at 0xa1130000 irq 122"
		alsa.driver_name = "snd_hda_intel"
		device.bus_path = "pci-0000:00:1f.3"
		sysfs.path = "/devices/pci0000:00/0000:00:1f.3/sound/card0"
		device.bus = "pci"
		device.vendor.id = "8086"
		device.vendor.name = "Intel Corporation"
		device.product.id = "a348"
		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 (sinks: 0, sources: 1, priority: 60, available: no)
		output:analog-stereo: Analog Stereo Output (sinks: 1, sources: 0, priority: 6000, available: no)
		output:analog-stereo+input:analog-stereo: Analog Stereo Duplex (sinks: 1, sources: 1, priority: 6060, available: no)
		output:hdmi-stereo: Digital Stereo (HDMI) Output (sinks: 1, sources: 0, priority: 5400, available: no)
		output:hdmi-stereo+input:analog-stereo: Digital Stereo (HDMI) Output + Analog Stereo Input (sinks: 1, sources: 1, priority: 5460, available: no)
		output:hdmi-surround: Digital Surround 5.1 (HDMI) Output (sinks: 1, sources: 0, priority: 300, available: no)
		output:hdmi-surround+input:analog-stereo: Digital Surround 5.1 (HDMI) Output + Analog Stereo Input (sinks: 1, sources: 1, priority: 360, available: no)
		output:hdmi-surround71: Digital Surround 7.1 (HDMI) Output (sinks: 1, sources: 0, priority: 300, available: no)
		output:hdmi-surround71+input:analog-stereo: Digital Surround 7.1 (HDMI) Output + Analog Stereo Input (sinks: 1, sources: 1, priority: 360, available: no)
		off: Off (sinks: 0, sources: 0, priority: 0, available: yes)
	Active Profile: off
	Ports:
		analog-input-mic: Microphone (priority: 8700, latency offset: 0 usec, not available)
			Properties:
				device.icon_name = "audio-input-microphone"
			Part of profile(s): input:analog-stereo, output:analog-stereo+input:analog-stereo, output:hdmi-stereo+input:analog-stereo, output:hdmi-surround+input:analog-stereo, output:hdmi-surround71+input:analog-stereo
		analog-output-headphones: Headphones (priority: 9000, latency offset: 0 usec, not available)
			Properties:
				device.icon_name = "audio-headphones"
			Part of profile(s): output:analog-stereo, output:analog-stereo+input:analog-stereo
		hdmi-output-0: HDMI / DisplayPort (priority: 5900, latency offset: 0 usec, not available)
			Properties:
				device.icon_name = "video-display"
			Part of profile(s): output:hdmi-stereo, output:hdmi-stereo+input:analog-stereo, output:hdmi-surround, output:hdmi-surround+input:analog-stereo, output:hdmi-surround71, output:hdmi-surround71+input:analog-stereo

Last edited by Quakeboy02; 06-05-2019 at 01:09 PM.
 
Old 06-05-2019, 02:50 PM   #3
Quakeboy02
Senior Member
 
Registered: Nov 2006
Distribution: Debian Linux 11 (Bullseye)
Posts: 3,407

Original Poster
Rep: Reputation: 141Reputation: 141
More info: I've just hooked my laptop up to the TV with the same HDMI cable. The sound from the laptop to the TV is fine. So, the problem is somewhere in the sound setup in the Linux box.
 
Old 06-05-2019, 08:05 PM   #4
Quakeboy02
Senior Member
 
Registered: Nov 2006
Distribution: Debian Linux 11 (Bullseye)
Posts: 3,407

Original Poster
Rep: Reputation: 141Reputation: 141
The sound card is an ALC255
 
Old 06-06-2019, 09:59 AM   #5
Shadow_7
Senior Member
 
Registered: Feb 2003
Distribution: debian
Posts: 4,137
Blog Entries: 1

Rep: Reputation: 874Reputation: 874Reputation: 874Reputation: 874Reputation: 874Reputation: 874Reputation: 874
If you run pulse operations as root (sudo or otherwise) it might have changed the "users" permissions. You can chown to get the permissions back. Which used to be /run/user/$UID/pulse*. And some of that might be the version of pulse in question. In days of old it would create /.pulse* things and those would trump any $HOME/.pulse* things and block audio. Although things moved to $HOME/.config/* and such. A reinstallation should fix it... oi... Still kind of sad that twenty years later, most of our audio things are command line based. Even jackdbus (jack2) requires some CLI parameters before it awakes from the dead.

And then there's hardware quirks, like a 3.5mm plug being partially out. Or HDMI to a DVI adapter that lacks audio signal. It's not common for the soundcard to fail, unless other things failed too (lightning / PSU / ...). They can be disabled in the bios/uefi to "force" use of another device (cause windows is stupid). But computers are pretty stupid, they only do what you (or others) tell them to do. And they come with soo many audio devices now, modems, webcams, motherboards, video cards, bluetooth, ... It's probably just trying to use the default sound output, which is obviously your webcam (it has no output, well, most of them anyway).
 
Old 06-06-2019, 10:05 AM   #6
Shadow_7
Senior Member
 
Registered: Feb 2003
Distribution: debian
Posts: 4,137
Blog Entries: 1

Rep: Reputation: 874Reputation: 874Reputation: 874Reputation: 874Reputation: 874Reputation: 874Reputation: 874
Your pulse output is interesting:

Sink #1
State: SUSPENDED
Name: auto_null
Description: Dummy Output
Driver: module-null-sink.c
...

Source #2
State: SUSPENDED
Name: auto_null.monitor
Description: Monitor of Dummy Output
Driver: module-null-sink.c
...

Send any suspend commands to the device(s)? Not sure if it's NOT suspended when you try to use them. Also interesting that the actual hardware is NOT the SINK (output/speakers). But the SOURCE (input/microphone).

Last edited by Shadow_7; 06-06-2019 at 10:07 AM.
 
Old 06-06-2019, 10:52 AM   #7
Quakeboy02
Senior Member
 
Registered: Nov 2006
Distribution: Debian Linux 11 (Bullseye)
Posts: 3,407

Original Poster
Rep: Reputation: 141Reputation: 141
Quote:
Originally Posted by Shadow_7 View Post
If you run pulse operations as root (sudo or otherwise) it might have changed the "users" permissions. You can chown to get the permissions back. Which used to be /run/user/$UID/pulse*. And some of that might be the version of pulse in question. In days of old it would create /.pulse* things and those would trump any $HOME/.pulse* things and block audio. Although things moved to $HOME/.config/* and such. A reinstallation should fix it... oi... Still kind of sad that twenty years later, most of our audio things are command line based. Even jackdbus (jack2) requires some CLI parameters before it awakes from the dead.

And then there's hardware quirks, like a 3.5mm plug being partially out. Or HDMI to a DVI adapter that lacks audio signal. It's not common for the soundcard to fail, unless other things failed too (lightning / PSU / ...). They can be disabled in the bios/uefi to "force" use of another device (cause windows is stupid). But computers are pretty stupid, they only do what you (or others) tell them to do. And they come with soo many audio devices now, modems, webcams, motherboards, video cards, bluetooth, ... It's probably just trying to use the default sound output, which is obviously your webcam (it has no output, well, most of them anyway).
I'm hoping to avoid a reinstall. I'm on a boat with limited resources, and I've got a lot of data on the disk. But, I think I have a working Linux HD that I can install to see if that works. And this is a new purchase, so I've got the Windows disk that I can put back in to see if I've messed up the bios trying to get the thing to boot something besides Windows. (I can't believe the bios has the option for a windows os check on bootup!) So, I'll see if I can find that old Linux boot disk first. Hopefully it's still on the boat and not in storage. But, the sound worked just fine when I swapped in my Linux disks. Things get confusing when you're organizing stuff after a move to a new system, but I could swear that the sound died when I did an update/upgrade.

I'm a bit confused about your comment that my default sound output is my webcam. Was this a funny, or did you see something in the data I listed that points to a webcam that I don't have?

Last edited by Quakeboy02; 06-06-2019 at 10:53 AM.
 
Old 06-06-2019, 11:22 AM   #8
Shadow_7
Senior Member
 
Registered: Feb 2003
Distribution: debian
Posts: 4,137
Blog Entries: 1

Rep: Reputation: 874Reputation: 874Reputation: 874Reputation: 874Reputation: 874Reputation: 874Reputation: 874
It was a funny. We used to only have one soundcard (most of us anyway). Now we have at least 3 on most systems. Motherboard, Videocard, Webcam, ... Whatever one powers up first gets index 0 (default), and the webcam being the simpler one, tends to win a few times. Various ways to force indexing, even have a dummy soundcard (snd-aloop) to route audio to taste regardless of what hardware / sound daemon is in play.
 
Old 06-07-2019, 02:30 PM   #9
Quakeboy02
Senior Member
 
Registered: Nov 2006
Distribution: Debian Linux 11 (Bullseye)
Posts: 3,407

Original Poster
Rep: Reputation: 141Reputation: 141
OK, I've made some progress: I've gotten the headphones to work. So, I wonder if the HDMI cable just happened to go bad at a bad time?

I created /etc/modprobe.d/intel_snd.conf:
Code:
options snd-hda-intel single_cmd=1
options snd-hda-intel probe_mask=1
options snd-hda-intel model=basic

I also created /etc/modprobe.d/modesetting.conf:
Code:
options i915 modeset=1
Whether this one is needed or not, I don't know yet. But there was some sort of i915 error and the proverbial "some site" recommended doing this. I've got it bookmarked in case anyone just has to see it.

So, I guess the next step is getting a new HDMI cable and trying that. Also, I wonder if "model=basic" might be shutting off the HDMI now that the rest of it is working? So, I guess I'll try *that* next.
 
Old 06-07-2019, 03:38 PM   #10
Quakeboy02
Senior Member
 
Registered: Nov 2006
Distribution: Debian Linux 11 (Bullseye)
Posts: 3,407

Original Poster
Rep: Reputation: 141Reputation: 141
Sorry, this was a dupe post.
 
Old 06-07-2019, 05:06 PM   #11
Shadow_7
Senior Member
 
Registered: Feb 2003
Distribution: debian
Posts: 4,137
Blog Entries: 1

Rep: Reputation: 874Reputation: 874Reputation: 874Reputation: 874Reputation: 874Reputation: 874Reputation: 874
I've had an HDMI cable fail. Radio Shack brand and a while ago. Things were "much" better with a new cable. Although I haven't done much HDMI audio to date. I just know that it's not a default by default. Even though that might be a modern expectation.
 
Old 06-07-2019, 05:59 PM   #12
Quakeboy02
Senior Member
 
Registered: Nov 2006
Distribution: Debian Linux 11 (Bullseye)
Posts: 3,407

Original Poster
Rep: Reputation: 141Reputation: 141
Well, it was working. And then it didn't. I've looked through the BIOS and I can make it stop working altogether, but I can't make it work any better than it is right now, which is halfway. I've got the headphones enabled, more or less by accident, following instructions for fields I don't understand and can't find a current list of setting for. Maybe I'll run into something.

And I just put a new HDMI cable on and that didn't change anything. I can't even figure out how to boot with the old kernel. I thought it was just holding shift down during boot, but that doesn't get me to the grub screen.
 
Old 06-08-2019, 10:48 AM   #13
Shadow_7
Senior Member
 
Registered: Feb 2003
Distribution: debian
Posts: 4,137
Blog Entries: 1

Rep: Reputation: 874Reputation: 874Reputation: 874Reputation: 874Reputation: 874Reputation: 874Reputation: 874
$ amixer controls
$ amixer contents

Do you remember the fields names? ADC (analog to digital converter, normally for audio input / microphones). DAC (digital to analog converter, for speakers / output). MIC for microphone. PCM (pulse code modulation) for output / speakers. And a few for codecs / protocols for things like optical or digital audio like S/PDIF (sony/philips digital interface), or TOSLINK.
 
Old 06-08-2019, 11:02 AM   #14
Quakeboy02
Senior Member
 
Registered: Nov 2006
Distribution: Debian Linux 11 (Bullseye)
Posts: 3,407

Original Poster
Rep: Reputation: 141Reputation: 141
I've made some progress today. I have headphone sound. Plugging it in switches the sound sink. Unplugging it changes the sink back to the HDMI, which still has no sound. (grrrr)

My current /etc/modprobe.d/snd_hda_intel.conf (renamed from whatever I had it as for clarity). I commented everything except for "model=generic". That's what made the biggest improvement, as in the HDMI and headphones are now available and headphones switches the sink.
Code:
#options snd-hda-intel model=basic
#options snd-hda-intel model=auto
#options snd-hda-intel probe_mask=1

#options snd-hda-intel probe_mask=1
#options snd-hda-intel single_cmd=1
options snd-hda-intel model=generic
bob@svSecondChance:~$ sudo dmesg |grep snd
Code:
[    2.562056] snd_hda_codec_generic hdaudioC0D0: autoconfig for Generic: line_outs=1 (0x21/0x0/0x0/0x0/0x0) type:hp
[    2.562057] snd_hda_codec_generic hdaudioC0D0:    speaker_outs=0 (0x0/0x0/0x0/0x0/0x0)
[    2.562058] snd_hda_codec_generic hdaudioC0D0:    hp_outs=0 (0x0/0x0/0x0/0x0/0x0)
[    2.562059] snd_hda_codec_generic hdaudioC0D0:    mono: mono_out=0x0
[    2.562059] snd_hda_codec_generic hdaudioC0D0:    inputs:
[    2.562060] snd_hda_codec_generic hdaudioC0D0:      Mic=0x19
[    2.596059] snd_hda_codec_generic hdaudioC0D2: autoconfig for Generic: line_outs=0 (0x0/0x0/0x0/0x0/0x0) type:line
[    2.596060] snd_hda_codec_generic hdaudioC0D2:    speaker_outs=0 (0x0/0x0/0x0/0x0/0x0)
[    2.596061] snd_hda_codec_generic hdaudioC0D2:    hp_outs=0 (0x0/0x0/0x0/0x0/0x0)
[    2.596062] snd_hda_codec_generic hdaudioC0D2:    mono: mono_out=0x0
[    2.596063] snd_hda_codec_generic hdaudioC0D2:    dig-out=0x3/0x0
[    2.596063] snd_hda_codec_generic hdaudioC0D2:    inputs:
So, this seems to be telling me something, but I don't understand what. It looks like the hp has linei_outs and mic in active state but nothing else, and the line has dig-out and nothing else. The "line" is new. I think I need to fiddle with the other modprobe values a bit more to see what happens.

Is there a way to restart pulse to reload the modprobe values, or do I have to continue to reboot? Sorry, me<-clueless.
 
Old 06-08-2019, 11:23 AM   #15
Shadow_7
Senior Member
 
Registered: Feb 2003
Distribution: debian
Posts: 4,137
Blog Entries: 1

Rep: Reputation: 874Reputation: 874Reputation: 874Reputation: 874Reputation: 874Reputation: 874Reputation: 874
Put "autospawn = no" in /etc/pulse/client.conf and you can stop/start pulseaudio.

$ pulseaudio --kill

$ pulseaudio --start

$ sudo modinfo snd-hda-intel
Code:
filename:       /lib/modules/4.9.0-9-amd64/kernel/sound/pci/hda/snd-hda-intel.ko
description:    Intel HDA driver
license:        GPL
alias:          pci:v00001022d*sv*sd*bc04sc03i00*
...
alias:          pci:v00008086d00001C20sv*sd*bc*sc*i*
depends:        snd-hda-core,snd-hda-codec,snd-pcm,snd
retpoline:      Y
intree:         Y
vermagic:       4.9.0-9-amd64 SMP mod_unload modversions 
parm:           index:Index value for Intel HD audio interface. (array of int)
parm:           id:ID string for Intel HD audio interface. (array of charp)
parm:           enable:Enable Intel HD audio interface. (array of bool)
parm:           model:Use the given board model. (array of charp)
parm:           position_fix:DMA pointer read method.(-1 = system default, 0 = auto, 1 = LPIB, 2 = POSBUF, 3 = VIACOMBO, 4 = COMBO). (array of int)
parm:           bdl_pos_adj:BDL position adjustment offset. (array of int)
parm:           probe_mask:Bitmask to probe codecs (default = -1). (array of int)
parm:           probe_only:Only probing and no codec initialization. (array of int)
parm:           jackpoll_ms:Ms between polling for jack events (default = 0, using unsol events only) (array of int)
parm:           single_cmd:Use single command to communicate with codecs (for debugging only). (bool)
parm:           enable_msi:Enable Message Signaled Interrupt (MSI) (bint)
parm:           patch:Patch file for Intel HD audio interface. (array of charp)
parm:           beep_mode:Select HDA Beep registration mode (0=off, 1=on) (default=1). (array of bool)
parm:           power_save:Automatic power-saving timeout (in second, 0 = disable). (xint)
parm:           pm_blacklist:Enable power-management blacklist (bool)
parm:           power_save_controller:Reset controller in power save mode. (bool)
parm:           align_buffer_size:Force buffer and period sizes to be multiple of 128 bytes. (bint)
parm:           snoop:Enable/disable snooping (bint)
 
1 members found this post helpful.
  


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
(ASUS Xonar DX sound card) Only its Side output has sound. Akeke Linux - Hardware 3 04-13-2011 08:41 AM
asus p5b or asus p5b-e on f edora core 6? cizzi Linux - Software 0 01-31-2007 04:46 PM
Printer? How resume Jobs if Printer Stopped: jobs stopped? Reluctant Linux - General 0 06-03-2006 01:36 PM
No sound: Kubuntu 5.10, Asus A8N SLi Deluxe, onboard sound Lordandmaker Ubuntu 2 05-14-2006 12:51 PM
Does SuSe 8.0 support Asus A7V333 and Asus V7100 Magic GeForce 2? chansky Linux - Hardware 2 08-26-2002 01:57 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 10:09 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