View previous topic :: View next topic |
Author |
Message |
zacinfinite Tux's lil' helper
![Tux's lil' helper Tux's lil' helper](/images/ranks/rank_rect_1.gif)
Joined: 18 Apr 2011 Posts: 90
|
Posted: Mon Sep 26, 2011 6:33 pm Post subject: [SOLVED]I screwed my sound device settings in /dev/dsp. |
|
|
I was playing around and this is what i did:-
$echo asdf > /dev/dsp
But now i cannot hear youtube sounds or any other playback sounds on my pc.
Please Help
Last edited by zacinfinite on Tue Sep 27, 2011 2:19 am; edited 1 time in total |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
PaulBredbury Watchman
![Watchman Watchman](/images/ranks/rank-G-2-watchman.gif)
![](images/avatars/15669254994381f44a81f83.jpg)
Joined: 14 Jul 2005 Posts: 7310
|
Posted: Mon Sep 26, 2011 7:05 pm Post subject: |
|
|
Code: | modprobe -r snd-pcm-oss
modprobe snd-pcm-oss |
That should trigger udev to recreate /dev/dsp |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
zacinfinite Tux's lil' helper
![Tux's lil' helper Tux's lil' helper](/images/ranks/rank_rect_1.gif)
Joined: 18 Apr 2011 Posts: 90
|
Posted: Tue Sep 27, 2011 1:10 am Post subject: |
|
|
NOPS Dint work.
Im not sure but i guess i have redirected the input or output of /dev/dsp to other command or file rather than its default input and output.
VLC player also can't find the sound device. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
zacinfinite Tux's lil' helper
![Tux's lil' helper Tux's lil' helper](/images/ranks/rank_rect_1.gif)
Joined: 18 Apr 2011 Posts: 90
|
Posted: Tue Sep 27, 2011 2:19 am Post subject: |
|
|
I FIXED IT.
I had to set the permissions for group and add normal user to that group. Following files are needed to be set:-
/dev/dsp
/dev/audio
/dev/mixer |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|