Tiny Core Linux

Tiny Core Base => TCB Q&A Forum => Topic started by: enoch on July 24, 2013, 06:55:14 AM

Title: OSS or Alsa doesn't recognize my audio HW, HP PavillionG7 Laptop
Post by: enoch on July 24, 2013, 06:55:14 AM
Usually the sound in one of the easiest things to get working, however on this laptop
its a challenge, the sound is SRS Premium with Altec Lansing speakers. Any help is much
appreciated.
Title: Re: OSS or Alsa doesn't recognize my audio HW, HP PavillionG7 Laptop
Post by: saionbus on July 24, 2013, 09:36:07 PM
install the alsa-dev extension
Title: Re: OSS or Alsa doesn't recognize my audio HW, HP PavillionG7 Laptop
Post by: enoch on July 24, 2013, 10:01:30 PM
I tried the Alsa files, just won't see the audio, there is something unique about this laptop.
Title: Re: OSS or Alsa doesn't recognize my audio HW, HP PavillionG7 Laptop
Post by: coreplayer2 on July 25, 2013, 12:06:32 AM
Perhaps post the results of LSPCI  then maybe someone who has the same audio chipset can help


Sent from my iPad using Tapatalk HD
Title: Re: OSS or Alsa doesn't recognize my audio HW, HP PavillionG7 Laptop
Post by: Juanito on July 26, 2013, 06:02:43 AM
Did you follow the instructions in the alsa extension info file?

What happens when you try the following:
Code: [Select]
$ sudo /usr/local/etc/init.d/alsasound start
Title: Re: OSS or Alsa doesn't recognize my audio HW, HP PavillionG7 Laptop
Post by: enoch on July 26, 2013, 10:04:01 PM
I get rmmod cant unload statements

then Starting sound driver : snd-hda-intel

ossinfo yields All tests completed OK
Title: Re: OSS or Alsa doesn't recognize my audio HW, HP PavillionG7 Laptop
Post by: Juanito on July 26, 2013, 10:28:40 PM
You need to use either alsa or oss, but not both.

If you get "then Starting sound driver : snd-hda-intel" after the "..alsasound start" command, it looks like your sound hardware will work.

I suggest you reboot,  load only the alsa extensions and try again.
Title: Re: OSS or Alsa doesn't recognize my audio HW, HP PavillionG7 Laptop
Post by: enoch on July 27, 2013, 12:18:08 AM
I loaded all the Alsa extensions, rebooted, shes still a mute
Title: Re: OSS or Alsa doesn't recognize my audio HW, HP PavillionG7 Laptop
Post by: Juanito on July 27, 2013, 12:22:25 AM
I'm assuming you meant:

1. reboot
2. load alsa extensions
3. sudo /usr/local/etc/init.d/alsasound start
4. check alsamixer to see that sound is not muted

..and still no joy?

I had problems with the sound on a macmini with intel hardware and got things working with hda analyzer (search the forums for this).

The good news is that the macmini sound works without hacking with tc-5.x...
Title: Re: OSS or Alsa doesn't recognize my audio HW, HP PavillionG7 Laptop
Post by: enoch on July 27, 2013, 08:53:47 AM
yes those are the last steps implemented

when I launch xmms, it shows a song playing, then click on the play button yields thus
Your soundcard is not con figured properly
You have the correct plugin selected
No other program is blocking the soundcard
Title: Re: OSS or Alsa doesn't recognize my audio HW, HP PavillionG7 Laptop
Post by: gerald_clark on July 27, 2013, 09:00:37 AM
Did you configure xmmx?
Title: Re: OSS or Alsa doesn't recognize my audio HW, HP PavillionG7 Laptop
Post by: enoch on July 27, 2013, 09:33:31 AM
just did, got rid of the errors, everything looks good song appears to be playing
just can't hear it volume is up in alsamixer
Title: Re: OSS or Alsa doesn't recognize my audio HW, HP PavillionG7 Laptop
Post by: bmarkus on July 27, 2013, 09:59:21 AM
Do you hear sound with speaker-test?
Title: Re: OSS or Alsa doesn't recognize my audio HW, HP PavillionG7 Laptop
Post by: enoch on July 27, 2013, 11:28:47 AM
No sound here is the result

tc@box:~$ speaker-test

speaker-test 1.0.24.2

Playback device is default
Stream parameters are 48000Hz, S16_LE, 1 channels
Using 16 octaves of pink noise
ALSA lib pcm_dmix.c:1018:(snd_pcm_dmix_open) unable to open slave
Playback open error: -2,No such file or directory
Title: Re: OSS or Alsa doesn't recognize my audio HW, HP PavillionG7 Laptop
Post by: bmarkus on July 27, 2013, 11:34:17 AM
While no sound with speaker-test playing with xmmx and etc. are just time wasting.
Title: Re: OSS or Alsa doesn't recognize my audio HW, HP PavillionG7 Laptop
Post by: Juanito on July 27, 2013, 11:47:35 AM
How about:
Code: [Select]
$ speaker-test -c2 -t wav -l1
Title: Re: OSS or Alsa doesn't recognize my audio HW, HP PavillionG7 Laptop
Post by: Rich on July 27, 2013, 12:10:31 PM
Hi enoch
Quote
Playback open error: -2,No such file or directory
I think that means you are trying to play through  card2  and it does not exist or can't be found.
Googling   ALSA lib pcm_dmix.c:1018:(snd_pcm_dmix_open) unable to open slave
turned up:
http://forums.gentoo.org/viewtopic-t-864015-start-0.html
See which cards are listed in  /proc/asound  and try setting up a  .asoundrc  in your home directory. Then restart alsa.
Title: Re: OSS or Alsa doesn't recognize my audio HW, HP PavillionG7 Laptop
Post by: enoch on July 27, 2013, 05:41:03 PM
Thank You I agree