Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Kein Rechte auf /dev
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German)
View previous topic :: View next topic  
Author Message
Herodes4e
n00b
n00b


Joined: 28 Sep 2002
Posts: 10

PostPosted: Sun Feb 23, 2003 9:02 pm    Post subject: Kein Rechte auf /dev Reply with quote

Ich habe im Laufe meiner Alsa Einrichtung festgestellt, dass ich weder als user noch als root Dateien in mein /dev Verzeichnis schreiben kann.

Darüber hinaus können die Dateien /dev/dsp, /dev/mixer etc. nicht angelegt werden. Somit ist ein Betrieb meiner Soundkarte nicht möglich.

Das Verzeichnis /dev hat die permissions [root,root] drwxr-xr-x

Was kann ich machen damit ich und entsprechende Programme wieder Dateien im /dev Verzeichnis anlegen können?
Back to top
View user's profile Send private message
compu-tom
Guru
Guru


Joined: 09 Jan 2003
Posts: 415
Location: Berlin, Germany

PostPosted: Sun Feb 23, 2003 9:10 pm    Post subject: Reply with quote

Zeigt dir
Code:
mount|grep devfs
none on /dev type devfs (rw)
? Dann ist klar, dass du keine Dateien anlegen darfst. Es handelt sich nämlich um das dev-Filesystem (du hast das bei der Kernelkonfiguration damals so eingestellt). Dieses FS wird dynamisch vom Kernel verwaltet. Wenn ein Device nicht in /dev ist, so kennt der Kernel es nicht. Andersrum, wenn es vorhanden ist, gibt es auch Support im Kernel.

BTW: ich habe auch kein /dev/dsp, /dev/mixer etc. und Sound läuft prima. Die Sound-Devices liegen AFAIK unter /dev/sound und /dev/snd.
Back to top
View user's profile Send private message
Herodes4e
n00b
n00b


Joined: 28 Sep 2002
Posts: 10

PostPosted: Sun Feb 23, 2003 9:29 pm    Post subject: trotzdem kein Sound Reply with quote

Gut, das wäre geklärt;-) Danke für die schnelle Antwort!

Leider höre ich trotzdem keinen Sound. Merkwürdig ist, das ich mit alsamixer Problemlos den Sound regeln und mit Noatun mp3s abspielen kann. Ich höre aber nichts!

Meine etc/modules.de/alsa sieht so aus:

Code:

# Alsa 0.9.X kernel modules' configuration file.
# $Header: /home/cvsroot/gentoo-x86/media-sound/alsa-driver/files/alsa-modules.conf-rc,v 1.1 2002/12/21 06:31:52 agenkin Exp $

# ALSA portion
alias char-major-116 snd
# OSS/Free portion
alias char-major-14 soundcore

##
## IMPORTANT:
## You need to customise this section for your specific sound card(s)
## and then run `update-modules' command.
## Read alsa-driver's INSTALL file in /usr/share/doc for more info.
##
##  ALSA portion
alias snd-card-0 snd-via82xx
## alias snd-card-1 snd-ens1371
##  OSS/Free portion
## alias sound-slot-0 snd-card-0
## alias sound-slot-1 snd-card-1
##

# OSS/Free portion - card #1
alias sound-service-0-0 snd-mixer-oss
alias sound-service-0-1 snd-seq-oss
alias sound-service-0-3 snd-pcm-oss
alias sound-service-0-8 snd-seq-oss
alias sound-service-0-12 snd-pcm-oss
##  OSS/Free portion - card #2
## alias sound-service-1-0 snd-mixer-oss
## alias sound-service-1-3 snd-pcm-oss
## alias sound-service-1-12 snd-pcm-oss

alias /dev/mixer snd-mixer-oss
alias /dev/dsp snd-pcm-oss
alias /dev/midi snd-seq-oss

# Set this to the correct number of cards.
options snd snd_major=116 snd_cards_limit=1


Muss ich snd-mixer-oss anstatt auf /dev/mixer auf /dev/sound/mixer ausrichten?

Ich hab das schonmal versucht, klappte aber trptzdem nicht!
Back to top
View user's profile Send private message
compu-tom
Guru
Guru


Joined: 09 Jan 2003
Posts: 415
Location: Berlin, Germany

PostPosted: Sun Feb 23, 2003 9:38 pm    Post subject: Reply with quote

Du must den Sound "unmuten" (kann man das so auf deutsch nennen?), also entlautlosen ;-) Hast du das gemacht?

Dafür gibt es in den Gentoo-Docs eine Sound-Doku. Da steht auch das drin.
Back to top
View user's profile Send private message
mr_neutron
Tux's lil' helper
Tux's lil' helper


Joined: 05 Jan 2003
Posts: 124
Location: Germany

PostPosted: Sun Feb 23, 2003 9:41 pm    Post subject: Reply with quote

Bei mir läuft der Sound mit identischer /etc/modules.d/alsa. Ich kenne Noatun nicht, aber vielleicht ist es ein OSS-Kompatibilitätsproblem.
Kannst Du mit aplay eine .wav-Datei abspielen?
Code:
 aplay /opt/OpenOffice.org1.0.1/share/gallery/sounds/space.wav


Ansonsten check mal ob dein user in der gruppe audio ist und ob folgendes in der /etc/devfsd.conf steht
Code:

# ALSA/OSS stuff
# Comment/change these if you want to change the permissions on
# the audio devices
LOOKUP          snd          MODLOAD ACTION snd
LOOKUP          dsp          MODLOAD
LOOKUP          mixer        MODLOAD
LOOKUP          midi         MODLOAD
REGISTER        sound/.*     PERMISSIONS root.audio 660
REGISTER        snd/.*       PERMISSIONS root.audio 660


sonst fällt mir leider auch nichts ein...

[edit: gerade den vorherigen post gelesen] Oh ja, das "unmuten"! Vergisst man leicht, wenn man Alsa (nach Kernelupdate) zum 5ten mal installieren muß :wink:
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum