Page 1 of 1

[FIXED] OSS4 Won't Detect Hardware on Lenovo IdeaPad Y510P?

Posted: Tue Aug 19, 2014 3:20 pm
by Xylemon
So I'm a bit of a noob to Slackware and OSS4, and this installation of OSS4 was my first. I made a tiny mistake and I'm not sure whether it's OSS4 not detecting my hardware or just completely my fault (which would be great because I could use OSS after I find out what I did wrong). Here's what happened:

The installation script I got from Slackbuilds.org tells you to blacklist any ALSA modules. While I did get the list of ALSA modules I did not blacklist till a few reboots later. My blacklist file under /etc/modprobe.d/ currently looks like:

Code: Select all

blacklist snd_hda_codec_realtek
blacklist snd_hda_codec_hdmi
blacklist snd_hda_intel
blacklist snd_hda_codec
blacklist snd_hwdep
blacklist snd_pcm_open_noupdate
blacklist snd_pcm_hw_open
blacklist _snd_pcm_hw_open
blacklist snd_func_concat
blacklist _snd_config_evaluate
blacklist snd_config_expand
blacklist snd_seq_dummy
blacklist snd_seq_midi
blacklist snd_rawmidi
blacklist snd_seq_midi_event
blacklist snd_config_expand
blacklist snd_pcm_open_noupdate
blacklist parse_card
blacklist _snd_config_evaluate
blacklist snd_func_card_driver
blacklist snd_func_concat
blacklist _snd_config_evaluate
blacklist snd_func_refer
blacklist snd_config_expand
blacklist snd_pcm_open_noupdate
blacklist snd_seq
blacklist snd_seq_device
blacklist snd_ac97_codec
blacklist snd_ac97_bus
blacklist snd_pcm
blacklist snd_timer
blacklist snd
blacklist soundcore
blacklist snd_page_alloc


(I've added a few things to make sure any possible ALSA module is blacklisted)

Yet, after making the blacklist, and rebuilding and reinstalling OSS4, I still have no sound! OSSTest just tells me:

Code: Select all

Sound subsystem and version: OSS 4.2 (b 2009/201408180156) (0x00040100)
Platform: Linux/x86_64 3.10.17 #2 SMP Wed Oct 23 16:34:38 CDT 2013


NOTICE! You don't have any audio devices available.
        It looks like your audio hardware was not recognized
        by OSS.
          
        If you have installed OSS just a moment ago then it may be necessary to.
        to rebot the system before trying to use the device(s).


rc.alsa is not executable and OSS does start up fine, so is it something I messed up or is OSS just not liking my hardware?

Extra info:
Lenovo IdeaPad Y510P
"lspci | grep -i audio" spits out:

Code: Select all

00:03.0 Audio device: Intel Corporation Haswell HD Audio Controller (rev 06)
00:1b.0 Audio device: Intel Corporation Lynx Point High Definition Audio Controller (rev 04)

Slackware 14.1 Linux 64-Bit

Any help would be greatly appreciated!

Re: OSS4 Won't Detect Hardware on Lenovo IdeaPad Y510P?

Posted: Thu Aug 21, 2014 4:37 am
by Xylemon
Update:

For whatever reason OSS4 works via USB (no input sadly) but I am able to get output. I would still like to get OSS4 working via jack plugs though.

Re: OSS4 Won't Detect Hardware on Lenovo IdeaPad Y510P?

Posted: Thu Aug 21, 2014 12:52 pm
by cladisch
Your hardware is newer than the latest OSS version.

If you know what you're doing, you could add the ID of your HDA controller (0x8c20 or 0x8c21) to oss_hdaudio.c.

Re: OSS4 Won't Detect Hardware on Lenovo IdeaPad Y510P?

Posted: Thu Aug 21, 2014 4:11 pm
by Xylemon
cladisch wrote:Your hardware is newer than the latest OSS version.

If you know what you're doing, you could add the ID of your HDA controller (0x8c20 or 0x8c21) to oss_hdaudio.c.


Thanks for the reply, how would you go about adding this to the oss_hdaudio.c file? I'm assuming you're talking about the one under "/kernel/drv/oss_hdaudio" in the source yes?

Edit:

I've tried editing oss_hdaudio.c adding support but no luck so far, not sure if I've added support incorrectly.

[Fixed] Re: OSS4 Won't Detect Hardware on Lenovo IdeaPad Y51

Posted: Sat Aug 23, 2014 5:06 am
by Xylemon
I've been sorting this out with the developers, and they've been adding support so I'll leave mark this as fixed.