ALSA / aRTS Permissions Issues

Issues Related to Hardware (Sound, Video, Printers, Scanners, Webcams, Touchpads, Keyboards, Sensors, Drives, GRUB, etc.)

Moderator: Moderators

Postby Raqua » Wed Aug 01, 2007 9:37

timpalpant wrote:I basically gave up because it makes no sense whatsoever. I tried re-merging all related packages several times, as well as using your config settings (pretty much the default, I think). I have no clue why the permissions are wrong.

To fix it I just added a manual chmod/chown statement to the end of the local.start init script, which solves the symptoms, even if we don't know why there's a problem.

Thanks for your ideas and help, I'm just gonna let this one go.


Can you please post these script as I tried it myself and I did not succeed.
It is still strange that no one run into this ... :?
I want my sound in Sabayon back at least.
User avatar
Raqua
Growing Hen
 
Posts: 175
Joined: Sun Apr 22, 2007 10:17

Postby fede » Thu Aug 02, 2007 16:33

Hi all
i've the same problem (sabayon business), with the same solution:

chmod 777 /dev/snd/*
chmod 777 /dev/sound/*

after doing this the audio works, but i'ts not good as it was when i used debian.

the volume is really low and there is some noise.

bye, ff
fede
Baby Hen
 
Posts: 18
Joined: Tue Jul 24, 2007 7:57
Location: Milano, Italy

Postby sbmurof » Thu Aug 02, 2007 22:41

I had similar problem when I was using some other linux distro...
I think it had something to do with udev also.
If I remember correctly, the problem was caused because udev
service was started TWICE. (I think the distro let me start udev,
but I don't see any udev related stuff in /etc/init.d.)
I have used sabayon less than a week, so I don't know this is
the problem or not. I thought I would let it out there just in case.
sbmurof
Baby Hen
 
Posts: 1
Joined: Thu Aug 02, 2007 22:32

Postby Raqua » Mon Aug 06, 2007 11:35

fede wrote:Hi all
i've the same problem (sabayon business), with the same solution:

chmod 777 /dev/snd/*
chmod 777 /dev/sound/*

after doing this the audio works, but i'ts not good as it was when i used debian.

the volume is really low and there is some noise.

bye, ff


That is strange. I tried to do

chgrp audio /dev/snd/*
chgrp audio /dev/sound/*

and this did not worked .. :?

The solution you posted works ..
User avatar
Raqua
Growing Hen
 
Posts: 175
Joined: Sun Apr 22, 2007 10:17

Postby fede » Thu Aug 09, 2007 9:40

I think that the "chmod 777" solution it is for use OSS system (that's why the audio was not good???)
Now i'm able to use ALSA system and the soud is really good.

Unfortunly i'm able only to setup ALSA system after boot, with a bash script and after the error
Code: Select all
Sound server informational message:
Error while initializing the sound driver:
device: default can't be opened for playback (No such device)
The sound server will continue, using the null output device.


This is what i do:

1 - check that ALSA system is selected in kcontrol -> sound and multimedia -> sound system

2 - look for my audio card (ALC861). if i don't know i can look here
Code: Select all
cat /proc/asound/card0/codec#0


3 - Look for the module options in the kernel doc
Code: Select all
less /usr/src/linux/Documentation/sound/alsa/ALSA-Configuration.txt

That's my module: Module snd-hda-intel
It can have these options:
Code: Select all
[..]
      ALC861/660
          3stack        3-jack
          3stack-dig    3-jack with SPDIF I/O
          6stack-dig    6-jack with SPDIF I/O
          3stack-660    3-jack (for ALC660)
          uniwill-m31   Uniwill M31 laptop
          toshiba       Toshiba laptop support
          asus          Asus laptop support
          asus-laptop   ASUS F2/F3 laptops
          auto          auto-config reading BIOS (default)
[...]


4 - stop the sound system
Code: Select all
/etc/init.d/alsasound stop

i's remove the module too.

5 - check the module is removed with an lsmod

6 - start the module with the right option.(try every options; my laptop is a toshiba, but the toshiba option doesn't work)
Code: Select all
modprobe snd-hda-intel model=3stack


7 - start the sound system
Code: Select all
/etc/init.d/alsasound start


this process works good for me.
i hope it should help

bye bye,
ff
fede
Baby Hen
 
Posts: 18
Joined: Tue Jul 24, 2007 7:57
Location: Milano, Italy

Previous

Return to Hardware

Who is online

Users browsing this forum: No registered users and 1 guest

cron