Re: sound/CD player question
On Sun, Aug 22, 2004 at 07:47:26PM -0400, mike wrote: > I got it to work. The non-privileged user had to be added to the disk > group. Thanks for your help. (Probably) Bad idea. $ ls -l /dev/hda brw-rw1 root disk 3, 0 Mar 14 2002 /dev/hda Your unprivledged user can now extract sensitive info from the drive (even root.root 600 stuff like /etc/shadow), and change anything (like say, your password). You can keep this if you trust yourself to never make a typo... I'd suggest adding the user to group CDROM, and (assuming /dev/hdc is your CD): chgrp cdrom /dev/hdc -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: sound/CD player question
I got it to work. The non-privileged user had to be added to the disk group. Thanks for your help. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: Re: sound/CD player question
On Sun, 2004-08-22 at 19:19, mike wrote: > Now root can play CDs, not the normal user, inspite of being in the > cdrom group. Time to show I learnt something on this list already! :) Did you log out and log in again as that user? Apparently changes to a user's groups only take affect the next time that user logs in. HTH Bram -- # Mertens Bram "M8ram" <[EMAIL PROTECTED]> Linux User #349737 # # SuSE Linux 8.2 (i586) kernel 2.4.20-4GB i686 512MB RAM # # 8:08pm up 15 days 9:58, 6 users, load average: 0.24, 0.21, 0.19 # -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: Re: sound/CD player question
Now root can play CDs, not the normal user, inspite of being in the cdrom group. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: sound/CD player question
On Sun, Aug 22, 2004 at 01:32:12PM +, Curt wrote: > On 2004-08-22, mike <[EMAIL PROTECTED]> wrote: > > > I got XMMS playing radio. However I cannot play CDs as normal user, and > > as root it shows the countdown of the seconds, but I get not sound > > output. > > What could it be? > > It could be that your normal user is not in the cdrom group and that the cd > channel is muted. It could also be that your CD drive is not connected to your sound card with an audio cable. Since Windows uses the IDE interface to play CDs rather than the audio cable most new PCs don't have one (I presume the manufacturer must save a couple of pennies per box by this or something ;-)). To get around this with XMMS go into preferences then the configuration for the input plugin "CD Audio Player [libcdaudio.so]" and set "Play mode" to "Digital audio extraction" rather than analog. Hope that helped. :-) -- Nicholas Lativy http://homepage.ntlworld.com/lativy signature.asc Description: Digital signature
Re: sound/CD player question
Hello Curt (<[EMAIL PROTECTED]>) wrote: > On 2004-08-22, mike <[EMAIL PROTECTED]> wrote: > >> I am running Sarge with the 2.6 kernel (that one that came with the >> installer) >> I got XMMS playing radio. However I cannot play CDs as normal user, >> and as root it shows the countdown of the seconds, but I get not >> sound output. >> What could it be? > > It could be that your normal user is not in the cdrom group and that > the cd channel is muted. Kernel 2.6 also does not need IDE SCSI emulation for writing CDs anymore, so you normally use the IDE device files. However they belong to the disk group, and you have to change the device file for your cdrom to group cdrom. And don't forget that you need a cable from your CD-ROM drive to the sound card, or you need to use the cdread plugin. best regards Andreas Janssen -- Andreas Janssen <[EMAIL PROTECTED]> PGP-Key-ID: 0xDC801674 ICQ #17079270 Registered Linux User #267976 http://www.andreas-janssen.de/debian-tipps.html -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: sound/CD player question
On 2004-08-22, mike <[EMAIL PROTECTED]> wrote: > I am running Sarge with the 2.6 kernel (that one that came with the > installer) > I got XMMS playing radio. However I cannot play CDs as normal user, and > as root it shows the countdown of the seconds, but I get not sound > output. > What could it be? It could be that your normal user is not in the cdrom group and that the cd channel is muted. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
sound/CD player question
I am running Sarge with the 2.6 kernel (that one that came with the installer) I got XMMS playing radio. However I cannot play CDs as normal user, and as root it shows the countdown of the seconds, but I get not sound output. What could it be? -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: CD player question
On Thu, Sep 09, 1999 at 12:25:39PM +0200, Michael Meskes wrote: > On Thu, Sep 09, 1999 at 12:32:18PM -0500, David Cureton wrote: > > Generally CD roms play audio cd's in the following way. > > That's the way I expected. My problem is that I a) saw them add the cable > and b) it works under M$ Windows. > Another thought: maybe you have something sitting on the sound device (like esd) and preventing any sound output? There is an option for esd, which makes it free the device if its not used for a certain time. -Lex pgpTE2tmMviDl.pgp Description: PGP signature
Re: CD player question
On Thu, Sep 09, 1999 at 12:32:18PM -0500, David Cureton wrote: > Generally CD roms play audio cd's in the following way. That's the way I expected. My problem is that I a) saw them add the cable and b) it works under M$ Windows. Michael -- Michael Meskes | Go SF 49ers! Th.-Heuss-Str. 61, D-41812 Erkelenz| Go Rhein Fire! Tel.: (+49) 2431/72651 | Use Debian GNU/Linux! Email: Michael@Fam-Meskes.De | Use PostgreSQL!
Re: CD player question
Hi Micheal, Generally CD roms play audio cd's in the following way. The CD-ROM reads the disk at 1x speed and converts the data to a audio signal via the internal DAC. The audio output of your CD-ROM should be connected to your sound card via a wire seperate from the power cable and the IDE or SCSI cable. The soundcard used this audio signal as just another analog audio source and feeds it into the audio mixer just before the speaker outputs. The soundcard does NOT do any manipulation of the audio signal in the digital domain. (Basic soundcard here) Therefore your soundcard and CDROM may be doing as they should but are missing the audio connection between them. You may have to puchase such a wire and install it. You can verify you CDROM is working correctly by pluging in headphones to the jack on the front of the unit. Using the software of choice command your CD-ROM to play an audio the CD. If you hear music you CD-ROM is OK. Look at the connection or the soundcard. Cheer David > > Could anyone please explain to me how the CD players put out the music? > > It seems I'm having a problem with the sound card on one of my systems. I > have one with a isapnp Sounblaster that works fine. For instance I can use > play to play wav files, splay for MP3s, saytime tells me how late it is and > xfreecd as well as gtcd play the CD. The only thing that doens't seem to > work is emusic. But I didn't try more than just hitting PLAY on emusic so > there is a lot of room for missing configuration on my part. > > My other system using an es1370 chip set PCI card that is (wherever > possible) identically configured. I have no problem playing WAVs and MP3 > with play resp. splay. But that's about it. None of the CD players gives me > any output. But I also get no error message at all. And saytime produces > some static in the speaker. Now saytime uses /dev/audio while play/splay use > /dev/dsp, so this may explain thsi difference. but why doesn't /dev/audio > work? And why do all the CD players not say a word? > > As a last note on teh PCI system all works well when using M$. Good sound > from the CD. > > Michael > > P.S.: Please CC me on replies. > -- > Michael Meskes | Go SF 49ers! > Th.-Heuss-Str. 61, D-41812 Erkelenz| Go Rhein Fire! > Tel.: (+49) 2431/72651 | Use Debian GNU/Linux! > Email: Michael@Fam-Meskes.De | Use PostgreSQL! > > > -- > Unsubscribe? mail -s unsubscribe [EMAIL PROTECTED] < /dev/null > >
Re: CD player question
On Wed, Sep 08, 1999 at 05:33:09PM +0200, Lex Chive wrote: > There is a catch with the es1370 driver in the kernel: it does not support the > /dev/dsp interface the way the other drivers do (eg you cant use 'cat > myfile.au >/dev/dsp' to produce sound). If saytime try to use something like I see. That may very well be the reason why saytime doesn't work. In fact this is a minor problem. Saytime is a nice toy to impress someone knowing nothing about computers but other than that, I don't use it much. > that that might be the problem. I had the with ICQJava before I switched to > the ALSA drivers (and before I switched to gnomeicu). Thus you might want to > try the alsa drivers. Thanks. > As for your CD sound problem... afaik you dont even need the sound driver to > get sound from our cd, if you plugged the cd audio cable correctly (but I > suppose windoze players use this to make sound too, so the cable is probably > not the problem). No clue on whats happening there. Did you make sure you That's exactly what I thought. In fact I did see them plug the cable in. > correctly specified the device to use? It starts working with the CD. I can switch tracks etc. I just do not get any music. > I hope you can get things working :) Thanks. Michael P.S.: Please CC me on replies. -- Michael Meskes | Go SF 49ers! Th.-Heuss-Str. 61, D-41812 Erkelenz| Go Rhein Fire! Tel.: (+49) 2431/72651 | Use Debian GNU/Linux! Email: Michael@Fam-Meskes.De | Use PostgreSQL!
Re: CD player question
On Wed, Sep 08, 1999 at 02:46:25PM +0200, Michael Meskes wrote: > > My other system using an es1370 chip set PCI card that is (wherever > possible) identically configured. I have no problem playing WAVs and MP3 > with play resp. splay. But that's about it. None of the CD players gives me > any output. But I also get no error message at all. And saytime produces > some static in the speaker. Now saytime uses /dev/audio while play/splay use > /dev/dsp, so this may explain thsi difference. but why doesn't /dev/audio > work? And why do all the CD players not say a word? > There is a catch with the es1370 driver in the kernel: it does not support the /dev/dsp interface the way the other drivers do (eg you cant use 'cat myfile.au >/dev/dsp' to produce sound). If saytime try to use something like that that might be the problem. I had the with ICQJava before I switched to the ALSA drivers (and before I switched to gnomeicu). Thus you might want to try the alsa drivers. As for your CD sound problem... afaik you dont even need the sound driver to get sound from our cd, if you plugged the cd audio cable correctly (but I suppose windoze players use this to make sound too, so the cable is probably not the problem). No clue on whats happening there. Did you make sure you correctly specified the device to use? I hope you can get things working :) -Lex pgpEXMpeSEd0m.pgp Description: PGP signature
CD player question
Could anyone please explain to me how the CD players put out the music? It seems I'm having a problem with the sound card on one of my systems. I have one with a isapnp Sounblaster that works fine. For instance I can use play to play wav files, splay for MP3s, saytime tells me how late it is and xfreecd as well as gtcd play the CD. The only thing that doens't seem to work is emusic. But I didn't try more than just hitting PLAY on emusic so there is a lot of room for missing configuration on my part. My other system using an es1370 chip set PCI card that is (wherever possible) identically configured. I have no problem playing WAVs and MP3 with play resp. splay. But that's about it. None of the CD players gives me any output. But I also get no error message at all. And saytime produces some static in the speaker. Now saytime uses /dev/audio while play/splay use /dev/dsp, so this may explain thsi difference. but why doesn't /dev/audio work? And why do all the CD players not say a word? As a last note on teh PCI system all works well when using M$. Good sound from the CD. Michael P.S.: Please CC me on replies. -- Michael Meskes | Go SF 49ers! Th.-Heuss-Str. 61, D-41812 Erkelenz| Go Rhein Fire! Tel.: (+49) 2431/72651 | Use Debian GNU/Linux! Email: Michael@Fam-Meskes.De | Use PostgreSQL!