Re: Audio CD problems..

2006-06-10 Thread Digby Tarvin
On Fri, Jun 09, 2006 at 09:43:04PM -0700, Christopher Nelson wrote:
 On Fri, Jun 09, 2006 at 07:55:01PM +0100, Digby Tarvin wrote:
   snip about DAE 
  That seems to explain my playout problems. The remaining issue, which
  seems to be unrelated, is my inability to rip...
 
 have you tried using 'abcde'?  it seems more fault-tolerant than
 KAudioCreator was on my system.  it also may give you more info on the
 problem?  (haven't had a problem ripping w/ it, so I don't know it's
 error output)

No, I wasn't aware of it. But I have tried it now, and it does
indeed seem to work a whole lot better than the KDE one.

I guess my Laptop just doesn't like these KDE tools

It would be nice to get to the bottom of why the default ripper
doesn't work some time, but at least I have something that works.

Thanks for the suggestion. 

Regards,
DigbyT
-- 
Digby R. S. Tarvin  digbyt(at)digbyt.com
http://www.digbyt.com


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Audio CD problems..

2006-06-09 Thread Digby Tarvin
I am experiencing a strange problem accessing audio CD's on Fujitsu
P7120 running Etch using the internal CD/DVD drive. Kernel is 2.6.15.

I just tried playing an audio CD, which I wasn't expecting to have
trouble with because I know my audio is working (I have been playing
WAV files using xmms and movies using totem from the HDD just fine,
and the CD seems ok as I can mount data CDs and DVDs with the CD/DVD drive.

However if I attempt to play an audio CD using KsCD, it displays the
track name and duration correctly and the counter counts up plausibly,
but no audio is produced, even with all faders fully up.

If I attempt to rip a track using kaudiocreator it performs its
freedb.com lookup successfully and displays the tracks, but the
rip failes. Using KDE or GNOME I get an error box stating:
The file or folder /Wav/Track 01.wav does not exist
regardless of the encoder setting or default temp directory.

If I run it under fvwm, I see the same error box, and in the xterm
window see the messages:
[EMAIL PROTECTED]:~$ kaudiocreator
kbuildsycoca running...
Launched ok, pid = 7431
Checking /dev/cdrom for cdrom...
Testing /dev/cdrom for cooked ioctl() interface
/dev/scd0 is not a cooked ioctl CDROM.
Testing /dev/cdrom for SCSI interface
generic device: /dev/sg0
ioctl device: /dev/scd0

Found an accessible SCSI CDROM drive.
Looking at revision of the SG interface in use...
SG interface version 3.5.33; OK.

CDROM model sensed sensed: MATSHITA DVD-RAM UJ-832S 1.01 
kio (KIOConnection): ERROR: Header read failed, errno=104
kio (KIOConnection): ERROR: Header has invalid size (-1)

I have tried an external USB CD/DVD, but KsCD produces the same result,
which seems to indicate that it isn't a drive specific problem.

One last clue, when I am attempting to rip a track, I see messages
such as the following in /var/log/messages:
sg_write: data in/out 56/56 bytes for SCSI command 0x12--guessing data in;
   program kio_audiocd not setting count and/or reply_len properly
sg_write: data in/out 26/26 bytes for SCSI command 0x5a--guessing data in;
   program kio_audiocd not setting count and/or reply_len properly
sg_write: data in/out 12/12 bytes for SCSI command 0x43--guessing data in;
   program kio_audiocd not setting count and/or reply_len properly
sg_write: data in/out 12/12 bytes for SCSI command 0x43--guessing data in;
   program kio_audiocd not setting count and/or reply_len properly
sg_write: data in/out 12/12 bytes for SCSI command 0x43--guessing data in;
   program kio_audiocd not setting count and/or reply_len properly
sg_write: data in/out 12/12 bytes for SCSI command 0x43--guessing data in;
   program kio_audiocd not setting count and/or reply_len properly
sg_write: data in/out 12/12 bytes for SCSI command 0x43--guessing data in;
   program kio_audiocd not setting count and/or reply_len properly
sg_write: data in/out 12/12 bytes for SCSI command 0x43--guessing data in;
   program kio_audiocd not setting count and/or reply_len properly
sg_write: data in/out 12/12 bytes for SCSI command 0x43--guessing data in;
   program kio_audiocd not setting count and/or reply_len properly
sg_write: data in/out 12/12 bytes for SCSI command 0x43--guessing data in;
   program kio_audiocd not setting count and/or reply_len properly

Anyone have any idea what might be going on here?

Regards,
DigbyT
-- 
Digby R. S. Tarvin  digbyt(at)digbyt.com
http://www.digbyt.com


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Audio CD problems..

2006-06-09 Thread Nyizsnyik Ferenc
On Fri, 2006-06-09 at 15:49 +0100, Digby Tarvin wrote:
 I am experiencing a strange problem accessing audio CD's on Fujitsu
 P7120 running Etch using the internal CD/DVD drive. Kernel is 2.6.15.
 
 I just tried playing an audio CD, which I wasn't expecting to have
 trouble with because I know my audio is working (I have been playing
 WAV files using xmms and movies using totem from the HDD just fine,
 and the CD seems ok as I can mount data CDs and DVDs with the CD/DVD drive.
 
 However if I attempt to play an audio CD using KsCD, it displays the
 track name and duration correctly and the counter counts up plausibly,
 but no audio is produced, even with all faders fully up.
 
 If I attempt to rip a track using kaudiocreator it performs its
 freedb.com lookup successfully and displays the tracks, but the
 rip failes. Using KDE or GNOME I get an error box stating:
   The file or folder /Wav/Track 01.wav does not exist
 regardless of the encoder setting or default temp directory.
 
 If I run it under fvwm, I see the same error box, and in the xterm
 window see the messages:
   [EMAIL PROTECTED]:~$ kaudiocreator
   kbuildsycoca running...
   Launched ok, pid = 7431
   Checking /dev/cdrom for cdrom...
   Testing /dev/cdrom for cooked ioctl() interface
   /dev/scd0 is not a cooked ioctl CDROM.
   Testing /dev/cdrom for SCSI interface
   generic device: /dev/sg0
   ioctl device: /dev/scd0
   
   Found an accessible SCSI CDROM drive.
   Looking at revision of the SG interface in use...
   SG interface version 3.5.33; OK.
   
   CDROM model sensed sensed: MATSHITA DVD-RAM UJ-832S 1.01 
   kio (KIOConnection): ERROR: Header read failed, errno=104
   kio (KIOConnection): ERROR: Header has invalid size (-1)
 
 I have tried an external USB CD/DVD, but KsCD produces the same result,
 which seems to indicate that it isn't a drive specific problem.
 
 One last clue, when I am attempting to rip a track, I see messages
 such as the following in /var/log/messages:
 sg_write: data in/out 56/56 bytes for SCSI command 0x12--guessing data in;
program kio_audiocd not setting count and/or reply_len properly
 sg_write: data in/out 26/26 bytes for SCSI command 0x5a--guessing data in;
program kio_audiocd not setting count and/or reply_len properly
 sg_write: data in/out 12/12 bytes for SCSI command 0x43--guessing data in;
program kio_audiocd not setting count and/or reply_len properly
 sg_write: data in/out 12/12 bytes for SCSI command 0x43--guessing data in;
program kio_audiocd not setting count and/or reply_len properly
 sg_write: data in/out 12/12 bytes for SCSI command 0x43--guessing data in;
program kio_audiocd not setting count and/or reply_len properly
 sg_write: data in/out 12/12 bytes for SCSI command 0x43--guessing data in;
program kio_audiocd not setting count and/or reply_len properly
 sg_write: data in/out 12/12 bytes for SCSI command 0x43--guessing data in;
program kio_audiocd not setting count and/or reply_len properly
 sg_write: data in/out 12/12 bytes for SCSI command 0x43--guessing data in;
program kio_audiocd not setting count and/or reply_len properly
 sg_write: data in/out 12/12 bytes for SCSI command 0x43--guessing data in;
program kio_audiocd not setting count and/or reply_len properly
 sg_write: data in/out 12/12 bytes for SCSI command 0x43--guessing data in;
program kio_audiocd not setting count and/or reply_len properly
 
 Anyone have any idea what might be going on here?
 
 Regards,
 DigbyT
 -- 
 Digby R. S. Tarvin  
 digbyt(at)digbyt.com
 http://www.digbyt.com
 
 

Are you able to play it in Totem? On my system Totem is the only player
that plays audio CDs. Haven't bothered to fix the others - maybe one
day.
If Totem also doesn't play, I have no more ideas.

-- 
Szia:
Nyizsa.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Audio CD problems..

2006-06-09 Thread Digby Tarvin
On Fri, Jun 09, 2006 at 06:26:38PM +0300, Nyizsnyik Ferenc wrote:
 
 Are you able to play it in Totem? On my system Totem is the only player
 that plays audio CDs. Haven't bothered to fix the others - maybe one
 day.
 If Totem also doesn't play, I have no more ideas.
 
Hi Nyizsnyik,

Yes, you  are right - Totem does appear to play CD's just fine.
(although it does seem to be lacking freedb support for nameing tracks)

Is this a known problem with Debian Etch then?

Have you found anything that can rip successfully?

I hadn't tried totem before because I had already discovered that it couldn't
play movies from DVD.

I can see and mount DVDs OK:
[EMAIL PROTECTED]:~$ mount /media/cdrom0
mount: block device /dev/scd0 is write-protected, mounting read-only
[EMAIL PROTECTED]:~$ ls /media/cdrom0
audio_ts  video_ts
[EMAIL PROTECTED]:~$ df /media/cdrom0
Filesystem   1K-blocks  Used Available Use% Mounted on
/dev/scd0  2877072   2877072 0 100% /media/cdrom0

But there seems to be a problem with encryption if I try to play.
The messages in the terminal window include:
libdvdnav: Encrypted DVD support unavailable.
and there is a popup box says
The source seems encrypted, and can't be read. Are you
trying to play an encrypted DVD without libdvdcss?

The mentioned lib does not seem to be in the standard libraries - anyone
know if this will fix the problem, and where I can find it if so?

For what it is worth, I tried booting Ubuntu Dapper and the CD player/ripper
seemed to work flawlessly (although I still seem to be missing a pluggin
for playing DVDs from totem)...

Regards,
DigbyT
-- 
Digby R. S. Tarvin  digbyt(at)digbyt.com
http://www.digbyt.com


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Audio CD problems..

2006-06-09 Thread Andrew Sackville-West
On Fri, Jun 09, 2006 at 05:05:47PM +0100, Digby Tarvin wrote:
 
 Yes, you  are right - Totem does appear to play CD's just fine.
 (although it does seem to be lacking freedb support for nameing tracks)

my first guess is that the other players are trying to play with a
different sound system than totem. for example, maybe they are trying
to play through alsa when you have esd running or some similar
conflict. but that's only a guess.
 
 But there seems to be a problem with encryption if I try to play.
 The messages in the terminal window include:
   libdvdnav: Encrypted DVD support unavailable.
 and there is a popup box says
   The source seems encrypted, and can't be read. Are you
   trying to play an encrypted DVD without libdvdcss?
 
 The mentioned lib does not seem to be in the standard libraries - anyone
 know if this will fix the problem, and where I can find it if so?

add

deb ftp://ftp.nerim.net/debian-marillat/ [sarge|etch|sid] main

to your sources.list to get libdvdcss from Marillat's repository. This
will allow you to decrypt dvd's. Provided of course that you are not
in a DMCA affect country :)

A


signature.asc
Description: Digital signature


Re: Audio CD problems..

2006-06-09 Thread Nyizsnyik Ferenc
On Fri, 2006-06-09 at 17:05 +0100, Digby Tarvin wrote:
 On Fri, Jun 09, 2006 at 06:26:38PM +0300, Nyizsnyik Ferenc wrote:
  
  Are you able to play it in Totem? On my system Totem is the only player
  that plays audio CDs. Haven't bothered to fix the others - maybe one
  day.
  If Totem also doesn't play, I have no more ideas.
  
 Hi Nyizsnyik,
 
 Yes, you  are right - Totem does appear to play CD's just fine.
 (although it does seem to be lacking freedb support for nameing tracks)
 
 Is this a known problem with Debian Etch then?
 
 Have you found anything that can rip successfully?
 
 I hadn't tried totem before because I had already discovered that it couldn't
 play movies from DVD.
 
 I can see and mount DVDs OK:
   [EMAIL PROTECTED]:~$ mount /media/cdrom0
   mount: block device /dev/scd0 is write-protected, mounting read-only
   [EMAIL PROTECTED]:~$ ls /media/cdrom0
   audio_ts  video_ts
   [EMAIL PROTECTED]:~$ df /media/cdrom0
   Filesystem   1K-blocks  Used Available Use% Mounted on
   /dev/scd0  2877072   2877072 0 100% /media/cdrom0
 
 But there seems to be a problem with encryption if I try to play.
 The messages in the terminal window include:
   libdvdnav: Encrypted DVD support unavailable.
 and there is a popup box says
   The source seems encrypted, and can't be read. Are you
   trying to play an encrypted DVD without libdvdcss?
 
 The mentioned lib does not seem to be in the standard libraries - anyone
 know if this will fix the problem, and where I can find it if so?
 
 For what it is worth, I tried booting Ubuntu Dapper and the CD player/ripper
 seemed to work flawlessly (although I still seem to be missing a pluggin
 for playing DVDs from totem)...
 
 Regards,
 DigbyT
 -- 
 Digby R. S. Tarvin  
 digbyt(at)digbyt.com
 http://www.digbyt.com
 
 

libdvdcss is part of the libdvdread3 package. I confess I have never
tried to watch a DVD on Debian. (I prefer the big screen and 5.1
sound...)
I use Sarge anyway, so it seems to be a common problem both in Sarge and
in Etch.

-- 
Szia:
Nyizsa.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Audio CD problems..

2006-06-09 Thread Digby Tarvin
On Fri, Jun 09, 2006 at 09:45:38AM -0700, Andrew Sackville-West wrote:
 On Fri, Jun 09, 2006 at 05:05:47PM +0100, Digby Tarvin wrote:
  
  Yes, you  are right - Totem does appear to play CD's just fine.
  (although it does seem to be lacking freedb support for nameing tracks)
 
 my first guess is that the other players are trying to play with a
 different sound system than totem. for example, maybe they are trying
 to play through alsa when you have esd running or some similar
 conflict. but that's only a guess.

I've tried with both KDE and fvwm, where the latter should normally be
free of any sound daemons.

  But there seems to be a problem with encryption if I try to play.
  The messages in the terminal window include:
  libdvdnav: Encrypted DVD support unavailable.
  and there is a popup box says
  The source seems encrypted, and can't be read. Are you
  trying to play an encrypted DVD without libdvdcss?
  
  The mentioned lib does not seem to be in the standard libraries - anyone
  know if this will fix the problem, and where I can find it if so?
 
 add
 
 deb ftp://ftp.nerim.net/debian-marillat/ [sarge|etch|sid] main
 
 to your sources.list to get libdvdcss from Marillat's repository. This
 will allow you to decrypt dvd's.

Yep, that seemed to do the trick - thanks!

One minor glitch that still remains with the DVD playout is that totem
fails with an assertion error if I don't manually mount the media first:

(totem:7453): GLib-CRITICAL **: g_str_has_prefix: assertion `str != NULL' failed

I would normally classify any assert failure as a program fault rather than
usage error.

The error box contains the text:
Failed to find mountpoint for device /dev/scd0 in /etc/fstab
but I have:
fujitsu:/etc/apt# grep scd0 /etc/fstab
/dev/scd0   /media/cdrom0   udf,iso9660 user,noauto 0   0

which lets me do the mount as a mortal user quite happily..


 Provided of course that you are not in a DMCA affect country :)

Don't get me started on that..  :-/

soapbox
I live in a country that participated in the Neuremburg trials, which
as far as I can see means that I am not only allowed, but obliged on
pain of death to disobey any laws passed by the current regime which I
consider immoral and unjust.

If DMCA were addopted by my government and the effect is to make it illegal
to play DVDs which I have legally purchased, I would considder that immoral,
and hence would have no choice but to install the software.

Not to mention the abomination that is DVD regional coding, for which I
believe the recording industry should be prosecuted and made to forfiet
all copyright claims to material so encoded as a punishment for their
restrictive trade practices
/soapbox

Regards,
DigbyT
-- 
Digby R. S. Tarvin  digbyt(at)digbyt.com
http://www.digbyt.com


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Audio CD problems..

2006-06-09 Thread Andrew Sackville-West
On Fri, Jun 09, 2006 at 06:41:43PM +0100, Digby Tarvin wrote:
 On Fri, Jun 09, 2006 at 09:45:38AM -0700, Andrew Sackville-West wrote:
  On Fri, Jun 09, 2006 at 05:05:47PM +0100, Digby Tarvin wrote:
   
   Yes, you  are right - Totem does appear to play CD's just fine.
   (although it does seem to be lacking freedb support for nameing tracks)
  
  my first guess is that the other players are trying to play with a
  different sound system than totem. for example, maybe they are trying
  to play through alsa when you have esd running or some similar
  conflict. but that's only a guess.
 
 I've tried with both KDE and fvwm, where the latter should normally be
 free of any sound daemons.

well, are you using a mix of alsa and oss maybe? maybe some mixing
problem? just shooting in the dark as I've lost the original point
here. :-P

oh, and how are you getting into fvwm? if its through *dm then I bet
you are running a sound daemon... if through startx, then probably
not.

.02

A


signature.asc
Description: Digital signature


Re: Audio CD problems..

2006-06-09 Thread Evgeni Golov
On Fri, 09 Jun 2006 17:20:16 +0200 Digby Tarvin [EMAIL PROTECTED] wrote:

 However if I attempt to play an audio CD using KsCD, it displays the
 track name and duration correctly and the counter counts up plausibly,
 but no audio is produced, even with all faders fully up.

Try Digital-Aufdio-Extraction (DAE).
In xmms you have to open the preferences dialog, and configure
libcdaudio.so, there is a switch between analog and digital extraction.

That helped on my Sony Vaio R505R/GK.

HTH
Evgeni

-- 
   ^^^| Evgeni -SargentD- Golov ([EMAIL PROTECTED])
 d(O_o)b  | PGP-Key-ID: 0xAC15B50C
  -|-   | WWW: http://www.die-welt.net   ICQ: 54116744
   / \| IRC: #sod @ irc.german-freakz.net



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Audio CD problems..

2006-06-09 Thread Digby Tarvin
On Fri, Jun 09, 2006 at 07:38:37PM +0200, Evgeni Golov wrote:
 On Fri, 09 Jun 2006 17:20:16 +0200 Digby Tarvin [EMAIL PROTECTED] wrote:
 
  However if I attempt to play an audio CD using KsCD, it displays the
  track name and duration correctly and the counter counts up plausibly,
  but no audio is produced, even with all faders fully up.
 
 Try Digital-Aufdio-Extraction (DAE).
 In xmms you have to open the preferences dialog, and configure
 libcdaudio.so, there is a switch between analog and digital extraction.
 
 That helped on my Sony Vaio R505R/GK.
 
Thanks Evgeni,

The xmms tip produced an interesting clue about my playback problems.

Selecting Digital audio extraction resulting in successful playout,
but switching back to Analog got me back to plausible looking silence

Looks to me suspiciously like some apps defaulting to  analogue playout
function which exists in the drive, but is not wired through to the audio
hardware in this laptop...

I managed to get KDE's KsCD to work as well by switching to digital playout,
but it was frustratingly difficult because the 'configure' dialogue box
was a non-resizeable window that was to big for my 1280x768 LCD display,
meaning that the 'OK' button was unreachable. I ended up having to
change the configuration using a fvwm session, using the virtual windows.
Ironic that I couldn't setup a KDE app using KDE :-/

That seems to explain my playout problems. The remaining issue, which
seems to be unrelated, is my inability to rip...

Where is DAE to be found? I didn't find anything in apt?

Regards,
DigbyT
-- 
Digby R. S. Tarvin  digbyt(at)digbyt.com
http://www.digbyt.com


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Audio CD problems..

2006-06-09 Thread Digby Tarvin
On Fri, Jun 09, 2006 at 10:59:41AM -0700, Andrew Sackville-West wrote:
 On Fri, Jun 09, 2006 at 06:41:43PM +0100, Digby Tarvin wrote:
  On Fri, Jun 09, 2006 at 09:45:38AM -0700, Andrew Sackville-West wrote:
   On Fri, Jun 09, 2006 at 05:05:47PM +0100, Digby Tarvin wrote:

Yes, you  are right - Totem does appear to play CD's just fine.
(although it does seem to be lacking freedb support for nameing tracks)
   
   my first guess is that the other players are trying to play with a
   different sound system than totem. for example, maybe they are trying
   to play through alsa when you have esd running or some similar
   conflict. but that's only a guess.
  
  I've tried with both KDE and fvwm, where the latter should normally be
  free of any sound daemons.
 
 well, are you using a mix of alsa and oss maybe? maybe some mixing
 problem? just shooting in the dark as I've lost the original point
 here. :-P
 
 oh, and how are you getting into fvwm? if its through *dm then I bet
 you are running a sound daemon... if through startx, then probably
 not.
 
 .02

It is being started by a display manager (gdm currently), but generally
fvwm doesn't try to mess with sound itself, and ps doesn't show anything
having been added to the default environment.

In any case, it seems that the problem was that some apps were unexpectedly
defaulting to analog playout, and that doesn't seem to be wired up on my
laptop.

Regards,
DigbyT
-- 
Digby R. S. Tarvin  digbyt(at)digbyt.com
http://www.digbyt.com


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Audio CD problems..

2006-06-09 Thread Christopher Nelson
On Fri, Jun 09, 2006 at 07:55:01PM +0100, Digby Tarvin wrote:
  snip about DAE 
 That seems to explain my playout problems. The remaining issue, which
 seems to be unrelated, is my inability to rip...

have you tried using 'abcde'?  it seems more fault-tolerant than
KAudioCreator was on my system.  it also may give you more info on the
problem?  (haven't had a problem ripping w/ it, so I don't know it's
error output)

-- 
Christopher Nelson -- [EMAIL PROTECTED]
---
The Beatles:
Paul McCartney's old back-up band.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Audio CD Problems with Potato

2001-07-18 Thread Bob Nielsen
On Tue, Jul 17, 2001 at 06:41:16PM -0700, Mark Wagnon wrote:
 
 Yeah I read that. That was before I realized I could take a look at
 the /etc/group file to see what groups I belonged to (and I'm sure
 there's a more refined method for that too ;^) ), so I wasn't really
 sure what groups I was a member of, and omitting one by mistake didn't
 sound too appealing.

man groups



Re: Audio CD Problems with Potato

2001-07-17 Thread Mark Wagnon
On 07/16/01 21:12:16 -0400, Andy Saxena wrote:

 The easiest way I know is to manually edit the file /etc/group.

Hmmm. I didn't think of that! ;-) Okay, will do.

Thanks!
-- 
Mark Wagnon [EMAIL PROTECTED]



Re: Audio CD Problems with Potato

2001-07-17 Thread Vineet Kumar
excerpted from usermod(8):

   -G group,[...]
  A  list  of  supplementary groups which the user is
  also a member of.  Each group is separated from the
  next  by  a  comma, with no intervening whitespace.
  The groups are subject to the same restrictions  as
  the group given with the -g option.  If the user is
  currently a member of a group which is not  listed,
  the user will be removed from the group

Vineet

* Mark Wagnon ([EMAIL PROTECTED]) [010715 22:56]:
 On 07/16/01 07:20:47 +0200, Joost Kooij wrote:
  
  Better is: add your user to the cdrom group and chmod the device to that
  group instead of disk.  
 
 Thanks for the heads up. I know how to add a user to a group, but how
 does one remove a user from a group? I'm looking at the man page for
 usermod right now, and not really feeling too confident that it's
 going to do what I want. I don't want to remove myself from other
 groups, especially my default group.
 
 Can you (or anyone else) give me a hint?
 
 Thanks again!
 -- 
 Mark Wagnon [EMAIL PROTECTED]
 
 
 -- 
 To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
 with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
 


pgp4mLdD8Bd1z.pgp
Description: PGP signature


Re: Audio CD Problems with Potato

2001-07-17 Thread Robin Gerard

 On Sun, Jul 15, 2001 at 10:47:24PM -0700, Mark Wagnon wrote:
  On 07/16/01 07:20:47 +0200, Joost Kooij wrote:
   
   Better is: add your user to the cdrom group and chmod the device to that
   group instead of disk.  
  
  Thanks for the heads up. I know how to add a user to a group, but how
  does one remove a user from a group? I'm looking at the man page for
  usermod right now, and not really feeling too confident that it's
  going to do what I want. I don't want to remove myself from other
  groups, especially my default group.
 
 Have a look at the attached mail that I send you.
 HTH  

-- 
Gerard
From robi  Mon Jun 18 22:33:14 2001
Return-Path: [EMAIL PROTECTED]
Delivered-To: [EMAIL PROTECTED]
Received: from pop.free.fr
by localhost with POP3 (fetchmail-5.3.3)
for [EMAIL PROTECTED] (single-drop); Mon, 18 Jun 2001 22:33:14 + 
(GMT)
Received: (qmail 16449 invoked from network); 17 Jun 2001 23:50:37 -
Received: from murphy.debian.org (216.234.231.6)
  by mrelay2-2.free.fr with SMTP; 17 Jun 2001 23:50:37 -
Received: (qmail 23773 invoked by uid 38); 17 Jun 2001 23:50:11 -
X-Envelope-Sender: [EMAIL PROTECTED]
Received: (qmail 23722 invoked from network); 17 Jun 2001 23:50:09 -
Received: from studsv07.studserv.uni-stuttgart.de (129.69.21.37)
  by murphy.debian.org with SMTP; 17 Jun 2001 23:50:09 -
Received: from c5lx [129.69.192.25] by studsv07.studserv.uni-stuttgart.de with 
ESMTP
  (SMTPD32-6.06) id A22E3262004A; Mon, 18 Jun 2001 01:50:06 +0200
Received: from tma by c5lx with local (Exim 3.12 #1 (Debian))
id 15BmKH-5y-00
for debian-user@lists.debian.org; Mon, 18 Jun 2001 01:51:29 +0200
Date: Mon, 18 Jun 2001 01:51:29 +0200
To: debian-user@lists.debian.org
Subject: Re: XMMS: root can / user can not listen Audio CDs
Message-ID: [EMAIL PROTECTED]
References: [EMAIL PROTECTED] [EMAIL PROTECTED] [EMAIL PROTECTED] [EMAIL 
PROTECTED]
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
User-Agent: Mutt/1.2.5i
In-Reply-To: [EMAIL PROTECTED]; from [EMAIL PROTECTED] on Sun, Jun 17, 2001 
at 06:39:07PM -0400
From: Thomas Martin [EMAIL PROTECTED]
Resent-Message-ID: [EMAIL PROTECTED]
Resent-From: debian-user@lists.debian.org
X-Mailing-List: debian-user@lists.debian.org archive/latest/153582
X-Loop: debian-user@lists.debian.org
Precedence: list
Resent-Sender: [EMAIL PROTECTED]
Status: RO
X-Status: A
Content-Length: 1395
Lines: 40

On Sun, Jun 17, 2001 at 06:39:07PM -0400, David Z Maze wrote:
 Thomas Martin [EMAIL PROTECTED] writes:
 TM Adding user to group DISK solved my problem.
 
 You almost definitely don't want to add users to group disk, since
 that gives them read/write access to raw devices for all of your disks 
 (meaning that they can directly read the bits off the hard disk,
 meaning that they can effectively ignore filesystem permissions).
 Better to change the group owner of your cdrom device to 'cdrom' with
 chgrp, and then add users to group 'cdrom'.
 
 -- 
 David Maze [EMAIL PROTECTED]  http://people.debian.org/~dmaze/
 
O.k. Gerard -- glad to help also a bit:
I removed user tma from group disk by

   gpasswd -d tma disk 
   
and I changed the owner of my cdrom-drive /hdc 
(until now  owner being disk) by

   chgrp -c cdrom /dev/hdc
   
to cdrom (adding -c for getting informed what happens)


User tma has been a member of group cdrom before so after these changes
XMMS now may be enjoyed by tma too without letting him destroy important data.

Thanks also to you David for your valuable advice.

This was my first time on this list and I am impressed by speed and quality of
answers.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




Re: Audio CD Problems with Potato

2001-07-17 Thread Mark Wagnon
On 07/17/01 13:55:01 -0700, Vineet Kumar wrote:
 excerpted from usermod(8):

excerpt snipped

Yeah I read that. That was before I realized I could take a look at
the /etc/group file to see what groups I belonged to (and I'm sure
there's a more refined method for that too ;^) ), so I wasn't really
sure what groups I was a member of, and omitting one by mistake didn't
sound too appealing.

Thanks!
-- 
Mark Wagnon [EMAIL PROTECTED]



Re: Audio CD Problems with Potato

2001-07-17 Thread Mark Wagnon
On 07/18/01 01:00:19 +, Robin Gerard wrote:
  
  Have a look at the attached mail that I send you.
  HTH  

That was really nice. I've saved that message for future reference. It
worked like a charm and I'm in business and my system is safer for it
too.

Thanks!

-- 
Mark Wagnon [EMAIL PROTECTED]



Re: Audio CD Problems with Potato

2001-07-16 Thread Ari Pollak
Perhaps the problem is that you are trying to access an IDE device
(/dev/hdc or whatever your CD-ROM drive is) as a normal user that is not
part of the disk group? Try adding yourself to disk, and see if that
helps.

On Sun, Jul 15, 2001 at 08:47:32PM -0700, Mark Wagnon wrote:
 Hi all,
 
 I'm having some trouble getting audio CDs to play as an unpriviledged
 user. I am able to do so as root though, so it looks to me like a
 permission problem. I am able to send various audio files to /dev/dsp
 and /dev/audio as root. I have sound working in Ximian GNOME as a
 normal user. I added my normal user account to the audio group,
 thinking that this would solve the problem, but it didn't seem to. I
 have changed permissions on a couple of the audio device files, but I
 still seem to be having some trouble. changing the file access
 permissions for /dev/mixer to 666 allowed me to start gmix (I was not
 able to before). I'm just a little leary of changing all the files'
 permissions, which was the primary reason for adding myself to the
 audio group.

-- 
   ___   ___ 
  / _ | / _ \   Ari Pollak - [EMAIL PROTECTED] - www.aripollak.com
 / __ |/ ___/  
/_/ |_/_/ Sorry... my mind has a few bad sectors.



Re: Audio CD Problems with Potato

2001-07-16 Thread Mark Wagnon
On 07/16/01 00:18:38 -0400, Ari Pollak wrote:
 Perhaps the problem is that you are trying to access an IDE device
 (/dev/hdc or whatever your CD-ROM drive is) as a normal user that is not
 part of the disk group? Try adding yourself to disk, and see if that
 helps.

I saw that the device I was trying to access belonged to the disk group.
I didn't add myself because I wasn't sure about it from a security
standpoint. Also, I didn't know if there was a different approach.

I just added myself and logged in again. I'm now able to play my audio
CDs.

Thanks for the help!
-- 
Mark Wagnon [EMAIL PROTECTED]



Re: Audio CD Problems with Potato

2001-07-16 Thread Joost Kooij
On Sun, Jul 15, 2001 at 10:01:16PM -0700, Mark Wagnon wrote:
 On 07/16/01 00:18:38 -0400, Ari Pollak wrote:
  Perhaps the problem is that you are trying to access an IDE device
  (/dev/hdc or whatever your CD-ROM drive is) as a normal user that is not
  part of the disk group? Try adding yourself to disk, and see if that
  helps.
 
 I saw that the device I was trying to access belonged to the disk group.
 I didn't add myself because I wasn't sure about it from a security
 standpoint. Also, I didn't know if there was a different approach.

It is not good, from a security standpoint.

Better is: add your user to the cdrom group and chmod the device to that
group instead of disk.  

 I just added myself and logged in again. I'm now able to play my audio
 CDs.

Cheers,


Joost



Re: Audio CD Problems with Potato

2001-07-16 Thread Mark Wagnon
On 07/16/01 07:20:47 +0200, Joost Kooij wrote:
 
 Better is: add your user to the cdrom group and chmod the device to that
 group instead of disk.  

Thanks for the heads up. I know how to add a user to a group, but how
does one remove a user from a group? I'm looking at the man page for
usermod right now, and not really feeling too confident that it's
going to do what I want. I don't want to remove myself from other
groups, especially my default group.

Can you (or anyone else) give me a hint?

Thanks again!
-- 
Mark Wagnon [EMAIL PROTECTED]



Re: Audio CD Problems with Potato

2001-07-16 Thread Andy Saxena
On Monday July 16 2001 01:47, Mark Wagnon wrote:
 On 07/16/01 07:20:47 +0200, Joost Kooij wrote:
  Better is: add your user to the cdrom group and chmod the device to that
  group instead of disk.

 Thanks for the heads up. I know how to add a user to a group, but how
 does one remove a user from a group? I'm looking at the man page for
 usermod right now, and not really feeling too confident that it's
 going to do what I want. I don't want to remove myself from other
 groups, especially my default group.

 Can you (or anyone else) give me a hint?

 Thanks again!

The easiest way I know is to manually edit the file /etc/group.

-Andy



Audio CD Problems with Potato

2001-07-15 Thread Mark Wagnon
Hi all,

I'm having some trouble getting audio CDs to play as an unpriviledged
user. I am able to do so as root though, so it looks to me like a
permission problem. I am able to send various audio files to /dev/dsp
and /dev/audio as root. I have sound working in Ximian GNOME as a
normal user. I added my normal user account to the audio group,
thinking that this would solve the problem, but it didn't seem to. I
have changed permissions on a couple of the audio device files, but I
still seem to be having some trouble. changing the file access
permissions for /dev/mixer to 666 allowed me to start gmix (I was not
able to before). I'm just a little leary of changing all the files'
permissions, which was the primary reason for adding myself to the
audio group.

Here are some listing for [all|some|???] my audioi-related files.

mordor:/dev# ls -l /dev/mixer*
crw-rw-rw-1 root audio 14,   0 Nov 30  2000 /dev/mixer
crw-rw1 root audio 14,  16 Nov 30  2000 /dev/mixer1
crw-rw1 root audio 14,  32 Nov 30  2000 /dev/mixer2
crw-rw1 root audio 14,  48 Nov 30  2000 /dev/mixer3
mordor:/dev# ls -l /dev/midi*
crw-rw1 root audio 35,   0 Nov 30  2000 /dev/midi0
crw-rw1 root audio 14,   2 Nov 30  2000 /dev/midi00
crw-rw1 root audio 14,  18 Nov 30  2000 /dev/midi01
crw-rw1 root audio 14,  34 Nov 30  2000 /dev/midi02
crw-rw1 root audio 14,  50 Nov 30  2000 /dev/midi03
crw-rw1 root audio 35,   1 Nov 30  2000 /dev/midi1
crw-rw1 root audio 35,   2 Nov 30  2000 /dev/midi2
crw-rw1 root audio 35,   3 Nov 30  2000 /dev/midi3
mordor:/dev# ls -l /dev/audio*
crw-rw1 root audio 14,   4 Nov 30  2000 /dev/audio
crw-rw1 root audio 14,  20 Nov 30  2000 /dev/audio1
crw-rw1 root audio 14,  36 Nov 30  2000 /dev/audio2
crw-rw1 root audio 14,  52 Nov 30  2000 /dev/audio3
crw-rw1 root audio 14,   7 Nov 30  2000 /dev/audioctl
mordor:/dev# ls -l /dev/dsp*  
crw-rw1 root audio 14,   3 Nov 30  2000 /dev/dsp
crw-rw1 root audio 14,  19 Nov 30  2000 /dev/dsp1
crw-rw1 root audio 14,  35 Nov 30  2000 /dev/dsp2
crw-rw1 root audio 14,  51 Nov 30  2000 /dev/dsp3

All this is on a self-rolled 2.2.19pre17 kernel.

Any clues? Thanks in advance!
-- 
Mark Wagnon [EMAIL PROTECTED]



audio cd problems

2000-08-27 Thread Vik
I can't play audio cd's in potato - audio or cd progs complain that saying
they cannot access the cdrom device, and if I just hit the 'play' button
on the cd-drive itself, the output doesn't go thru the soundcard - The
only way I can listen is to get the audio cable and put in the the jack on
the front of the cd player. 

I am using the ALSA drivers that came with potato. Could it be a problem
with this? Or maybe cdrom automounting? Everything worked OK under
Redhat6.1

ciao

vik

[EMAIL PROTECTED]
http://www.progsoc.org/~vik
PGP: http://www.progsoc.org/~vik/pgp.txt

There is only one difference between a madman and me. I am not mad.

Salvador Dali



Re: audio cd problems

2000-08-27 Thread John L . Fjellstad
On Sun, Aug 27, 2000 at 06:15:56PM +1100, Vik wrote:
 I can't play audio cd's in potato - audio or cd progs complain that saying
 they cannot access the cdrom device, and if I just hit the 'play' button

Make sure you belong to the group that owns the cdrom device, usually
audio or cdrom.  

-- 
John__
email: [EMAIL PROTECTED]   Quis custodiet ipsos custodes
icq: thales @ 17755648



Re: audio cd problems

2000-08-27 Thread Daniel E. Baumann
On Sun, 27 Aug 2000, Vik wrote:
 I can't play audio cd's in potato - audio or cd progs complain that saying
 they cannot access the cdrom device, and if I just hit the 'play' button
 on the cd-drive itself, the output doesn't go thru the soundcard - The
 only way I can listen is to get the audio cable and put in the the jack on
 the front of the cd player. 
 
 I am using the ALSA drivers that came with potato. Could it be a problem
 with this? Or maybe cdrom automounting? Everything worked OK under
 Redhat6.1
 
 ciao
 
 vik
 
 [EMAIL PROTECTED]
 http://www.progsoc.org/~vik
 PGP: http://www.progsoc.org/~vik/pgp.txt
 
 There is only one difference between a madman and me. I am not mad.
 
 Salvador Dali
 
 
 -- 
 Unsubscribe?  mail -s unsubscribe [EMAIL PROTECTED]  /dev/null

You probably have all the channels muted. When you first install ALSA the
channels are muted by default and you have to turn the sound up using a mixer
program. If you are running KDE you can use kmix, if GNOME use gmix, if
nothing cool then use alsamixer (console based). 

Also after you unmute and turn up the sound you shoud do (as root) 'alsactl
store' which will write the settings to /etc/alsa.conf.

I am using ALSA on my laptop, but I did not use the debs I compiled the
latest version myself.

Dan 
--
Daniel E. Baumann
E-mail: [EMAIL PROTECTED] (preferred)
[EMAIL PROTECTED]
[EMAIL PROTECTED]
[EMAIL PROTECTED] (caution: dynamic DNS 


service, may bounce)

Web location:   http://www.msoe.edu/~baumannd
http://www.linuxfreak.com/~baumannd

Life would be so much easier if we could just look at the source code. 

  -- Dave Olson
---



Re: audio cd problems

2000-08-27 Thread Daniel E. Baumann
On Sun, 27 Aug 2000, Daniel E. Baumann wrote:
 On Sun, 27 Aug 2000, Vik wrote:
  I can't play audio cd's in potato - audio or cd progs complain that saying
  they cannot access the cdrom device, and if I just hit the 'play' button
  on the cd-drive itself, the output doesn't go thru the soundcard - The
  only way I can listen is to get the audio cable and put in the the jack on
  the front of the cd player. 
  
  I am using the ALSA drivers that came with potato. Could it be a problem
  with this? Or maybe cdrom automounting? Everything worked OK under
  Redhat6.1
  
  ciao
  
  vik
  
  [EMAIL PROTECTED]
  http://www.progsoc.org/~vik
  PGP: http://www.progsoc.org/~vik/pgp.txt
  
  There is only one difference between a madman and me. I am not mad.
  
  Salvador Dali
  
  
  -- 
  Unsubscribe?  mail -s unsubscribe [EMAIL PROTECTED]  /dev/null
 
 You probably have all the channels muted. When you first install ALSA the
 channels are muted by default and you have to turn the sound up using a mixer
 program. If you are running KDE you can use kmix, if GNOME use gmix, if
 nothing cool then use alsamixer (console based). 
 
 Also after you unmute and turn up the sound you shoud do (as root) 'alsactl
 store' which will write the settings to /etc/alsa.conf.
 
 I am using ALSA on my laptop, but I did not use the debs I compiled the
 latest version myself.
 
 Dan 
 --
 Daniel E. Baumann
 E-mail: [EMAIL PROTECTED] (preferred)
 [EMAIL PROTECTED]
 [EMAIL PROTECTED]
 [EMAIL PROTECTED] (caution: dynamic DNS 
   
   
   service, may bounce)
 
 Web location: http://www.msoe.edu/~baumannd
 http://www.linuxfreak.com/~baumannd
 
 Life would be so much easier if we could just look at the source code. 
 
   -- Dave Olson
 ---
 
 
 -- 
 Unsubscribe?  mail -s unsubscribe [EMAIL PROTECTED]  /dev/null

Oh yeah. You should also check the premissions on /dev/cdrom (which usually
points to the real device).

Dan
--
Daniel E. Baumann
E-mail: [EMAIL PROTECTED] (preferred)
[EMAIL PROTECTED]
[EMAIL PROTECTED]
[EMAIL PROTECTED] (caution: dynamic DNS 


service, may bounce)

Web location:   http://www.msoe.edu/~baumannd
http://www.linuxfreak.com/~baumannd

Life would be so much easier if we could just look at the source code. 

  -- Dave Olson
---



audio cd problems

1999-06-27 Thread Pierfrancesco Caci

I was trying to make a copy of an audio cd, tried with both cdrdao and
xcdroast and all I got is only the left channel. 
Data CDs are ok on the same cd writer (Yamaha 4416S), also I made an
audio cd a couple month ago and it was ok. 

Is there a way to tell if the writer has failed or if it's a software
problem?

Pf

-- 

---
 Pierfrancesco Caci  | mailto:[EMAIL PROTECTED] - http://gusp.infogroup.it
   ik5pvx| http://www.geocities.com/SoHo/Lofts/8999
  Firenze - Italia   | Office for the Complication of Otherwise Simple Affairs 
 Linux penny 2.2.10 #1 Tue Jun 15 21:03:12 CEST 1999 i586 unknown