View previous topic :: View next topic |
Author |
Message |
Newprogger Tux's lil' helper
Joined: 07 Aug 2005 Posts: 102
|
Posted: Wed Aug 24, 2005 7:33 pm Post subject: CD-ROM & SOUND |
|
|
Hallo,
so, hab jetzt KDE zum laufen gebracht. Jetzt habe ich aber zwei Probleme:
1. Wie stellt man den Sound ein???
Also, beim Star von KDE hatte ich eine ALSA-Fehlermeldung. Ich weiß aber nicht mehr, wie die hieß.
2. CD-ROM mounten?!?
Wie mounte ich meine CD-Rom?? Ich habe zwar automatisches mounten installiert, aber ich weiß nicht, ob das auch was mit dem CD-Rom laufwerk zu tun. Ich habe schon ausprobiert, aber:
Code: |
# mount /dev/cdroms/cdrom0
mount: block device /dev/cdroms/cdrom0 is write-protected, mounting read-only
mount: /dev/cdroms/cdrom0: can't read superblock
|
und:
Code: |
# mount /mnt/cdrom
mount: block device /dev/cdroms/cdrom0 is write-protected, mounting read-only
mount: /dev/cdroms/cdrom0: can't read superblock
|
|
|
Back to top |
|
|
Martux Veteran
Joined: 04 Feb 2005 Posts: 1917
|
Posted: Wed Aug 24, 2005 7:57 pm Post subject: |
|
|
Code: |
# mount /dev/cdroms/cdrom0
mount: block device /dev/cdroms/cdrom0 is write-protected, mounting read-only
mount: /dev/cdroms/cdrom0: can't read superblock
# mount /mnt/cdrom
mount: block device /dev/cdroms/cdrom0 is write-protected, mounting read-only
mount: /dev/cdroms/cdrom0: can't read superblock
|
Mit der Kombination aus beidem gehts.
/dev/cdroms/cdrom0 ist ja das Gerät, /mnt/cdrom der beliebige Pfad, wohin das Gerät gemountet wird.
Idealerweise trägt man das gleich in die /etc/fstab ein, bei mir sieht das so aus:
Code: |
nano /etc/fstab
/dev/hdc /mnt/cdrom iso9660 auto,ro,users 0 0
|
(/dev/hdc bei Dir dementsprechend bei Dir /dev/cdroms/cdrom0)
Quote: |
Wie stellt man den Sound ein???
Also, beim Star von KDE hatte ich eine ALSA-Fehlermeldung. Ich weiß aber nicht mehr, wie die hieß.
|
Da solltest Du unbedingt das hier mal lesen:
https://forums.gentoo.org/viewtopic-t-103561.html?sid=cae044dd526cd580f31a24e3f9c6a0f0
Ohne Fehlermeldung können wir Dir nicht sagen obs der Kernel, ALSA oder sonstwas ist...
Hth, Marcus _________________ "Coincidence is God's way of remaining anonymous."
Albert Einstein
"The road to success is always under construction" |
|
Back to top |
|
|
Newprogger Tux's lil' helper
Joined: 07 Aug 2005 Posts: 102
|
Posted: Thu Aug 25, 2005 12:37 pm Post subject: |
|
|
1. Also meine /etc/fstab:
Code: |
# nano -w /etc/fstab
# This file is edited by fstab-sync - see 'man fstab-sync' for details
# /etc/fstab: static file system information.
# $Header: /home/cvsroot/gentoo-src/rc-scripts/etc/fstab,v 1.14 2003/10/13 20:03:38 azarah Exp$
#
# noatime turns off atimes for increased performance (atimes normally aren't
# needed; notail increases performance of ReiserFS (at the expense of storage
# efficiency). It's safe to drop the noatime options if you want and to
# switch between notail and tail freely.
# <fs> <mountpoint> <type> <opts> <dump/pass>
# NOTE: If your BOOT partition is ReiserFS, add the notail option to opts.
/dev/hda1 /boot ext2 defaults,noatime 1 2
/dev/hda3 / ext3 noatime 0 1
/dev/hda2 none swap sw 0 0
/dev/cdroms/cdrom0 /mnt/cdrom auto noauto,user 0 0
/dev/fd0 /mnt/floppy auto noauto,user 0 0
none /proc proc defaults 0 0
none /dev/shm tmpfs nodev,nosuid,noexec 0 0
# NOTE: The next line is critical for boot!
none /proc proc defaults 0 0
# glibc 2.2 and above expects tmpfs to be mounted at /dev/shm for
# POSIX shared memory (shm_open, shm_unlink).
# (tmpfs is a dynamically expandable/shrinkable ramdisk, and will
# use almost no memory if not populated with files)
# Adding the following line to /etc/fstab should take care of this:
none /dev/shm tmpfs defaults 0 0
/dev/hdc /media/cdrom auto user,exec,noauto,managed 0 0
|
Ist das richtig??? Und was muss ich noch machen ??? Und was ist eigentlich die Option -w von nano ???
2. Und die Fehlermeldung:
Code: |
Sound server informational message:
Error while initializing the sound driver:
device /dev/dsp can't be opened (No such device)
The sound server will continue, using the null output device.
|
|
|
Back to top |
|
|
SinoTech Advocate
Joined: 20 Mar 2004 Posts: 2579 Location: Neunkirchen / Saarland / Germany
|
Posted: Thu Aug 25, 2005 12:48 pm Post subject: |
|
|
1. Durch den "-w" switch bei nano, werden zu lange Zeilen nicht umgebrochen. Ohne den "-w" switch werden Zeilen, die über die Bildschrimbreite hinausgehen, auf mehrere Zeilen aufgeteilt.
2. Dein user muss ich in der Gruppe "audio" befinden um Sounds abspielen zu können.
3. Du kannst keine audio CD's mounten da diese keine Dateisystem beinhalten (Ich nehme an das hattest du probiert) . Mit Daten-CD's sollte es aber funktionieren.
Mfg
Sino |
|
Back to top |
|
|
Newprogger Tux's lil' helper
Joined: 07 Aug 2005 Posts: 102
|
Posted: Thu Aug 25, 2005 1:23 pm Post subject: |
|
|
Und wie kann man Audio Cds mounten?? Oder brauch man das gar nicht und kann sie so benutzen??? |
|
Back to top |
|
|
Newprogger Tux's lil' helper
Joined: 07 Aug 2005 Posts: 102
|
Posted: Thu Aug 25, 2005 1:40 pm Post subject: |
|
|
Also, mein Benutzer ist jetzt in der Gruppe audio. Aber es geht immer noch nicht. Die Meldung kommt immer noch und wenn ich amrok starte kommt unten eine kleine Meldung: GStreamer Error: Device /dev/dsp does not exist. Und bei xmms kommt wenn man ein Track startet: failed to open audio output: ALSA 1.2.10 output Plugin.
Wenn ich dann auf OSS umstelle: failed to open audio output: OSS Driver 1.2.10. Bei beiden (amaroK un XMMS) läuft das Stück aber ohne Fehlermeldung mit arts, nur das aus den Lautsprecher nichts kommt. |
|
Back to top |
|
|
Martux Veteran
Joined: 04 Feb 2005 Posts: 1917
|
Posted: Thu Aug 25, 2005 2:07 pm Post subject: |
|
|
Hast Du im Kernel das entsprechende Modul für die Soundkarte mit drin??
Welches das sein könnte, findest Du mit lspci raus, bei mir sieht das so aus:
Code: |
0000:00:0a.0 Multimedia audio controller: Ensoniq ES1371 [AudioPCI-97] (rev 06)
|
Das Modul heißt bei mir snd_ens1371. Das sollte man dann auch in die make.conf eintragen:
Code: |
ALSA_CARDS="snd-ens1371"
|
Wenn ALSA dann läuft, mußt Du noch den Masterkanal unmuten, geht mit amixer, amixergui oder kmix...
Viel Glück. _________________ "Coincidence is God's way of remaining anonymous."
Albert Einstein
"The road to success is always under construction" |
|
Back to top |
|
|
Newprogger Tux's lil' helper
Joined: 07 Aug 2005 Posts: 102
|
Posted: Thu Aug 25, 2005 2:25 pm Post subject: |
|
|
also bei mir ist die Ausgabe von lspci die gleiche. Was muss ich denn jetzt noch machen, ausser in die mak.conf eintragen?? Muss ich den Kernel neu compilieren?? Und wie genau geht das mit dem Masterkanal??
edit: also im kernel muss ich Ensoniq 1371 aktivieren, neu compilieren und dann ??? |
|
Back to top |
|
|
SinoTech Advocate
Joined: 20 Mar 2004 Posts: 2579 Location: Neunkirchen / Saarland / Germany
|
Posted: Thu Aug 25, 2005 2:37 pm Post subject: |
|
|
Newprogger wrote: | Und wie kann man Audio Cds mounten?? Oder brauch man das gar nicht und kann sie so benutzen??? |
Du brauchst Audio-Cd's nicht zu mounten um sie apsielen zu können. Nur ein entsprechendes Programm das die Daten raw auslesen kann.
Mfg
Sino
EDIT:
Das schonmal durchgelesen ?
Gentoo Linux ALSA Guide |
|
Back to top |
|
|
|