Re: [expert] Re: Sound Is Impossible

2002-08-11 Thread Daryl Johnson

On Sunday 11 August 2002 17:46, you wrote:
[...]

> Are you running the /usr/bin/artswrapper suid-root?  I'm sure there are

yup   -rwsr-xr-x   root  root  ...

> many who would frown heavily on doing this, but I run it suid (mode 4755),
> and have had much better sound quality as a result.  If you use msec, 

Not an issue as I'm not using it at present

Thanks for the response

regards

Daryl

-- 
Appendix:
A portion of a book, for which nobody yet has discovered any use.



Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com



Re: [expert] Re: Sound Is Impossible

2002-08-11 Thread Chuck Shirley

On Sunday 11 August 2002 12:34, Daryl Johnson wrote:
>On Sunday 14 July 2002 02:48, you wrote:
>
>An addendum to my sound card problems of 6 weeks ago.
>
>I have sound using OSS but not ALSA, it's not uncommon to get sound server 
>error messages when I forget and try and use a KDE sound app.  Clearly artsd 
>is missing the boat somewhere.
>
>As a rare occasion today I logged into a KDE screen as root (I know, I know 
>but I had my reasons) and blow me down, the chord played on boot and sign 
>off.  I also used some KDE apps and got sound interaction.
>
>Clearly a permission problem somewhere but would anyone care to suggest where?

Are you running the /usr/bin/artswrapper suid-root?  I'm sure there are many
who would frown heavily on doing this, but I run it suid (mode 4755), and have
had much better sound quality as a result.  If you use msec, you will have to
put an entry for the change in /etc/security/msec/perm.local:

# /etc/security/msec/perm.local
# Local file permission settings to override msec.
# [file][uid.gid]   [perms]
#
/usr/bin/artswrapperroot.root   4755

the artswrapper is what launches the artsd sound-server at kde startup,
and allows artsd to get (near) real-time-scheduling priority.

-Chuck

-- 
 +-% He's a real  UNIX Man $-+-+
  \  Sitting in his UNIX LAN  \  Charles A. Shirley \
   \ Making all his UNIX plans \   cashirley (at) comcast (dot) net  \
+--# For  nobody @--+-+





Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com



Re: [expert] Re: Sound Is Impossible

2002-08-11 Thread Daryl Johnson

On Sunday 14 July 2002 02:48, you wrote:

An addendum to my sound card problems of 6 weeks ago.

I have sound using OSS but not ALSA, it's not uncommon to get sound server 
error messages when I forget and try and use a KDE sound app.  Clearly artsd 
is missing the boat somewhere.

As a rare occasion today I logged into a KDE screen as root (I know, I know 
but I had my reasons) and blow me down, the chord played on boot and sign 
off.  I also used some KDE apps and got sound interaction.

Clearly a permission problem somewhere but would anyone care to suggest where?

regards

Daryl

-- 
James Joyce -- an essentially private man who wished his total
indifference to public notice to be universally recognized.
-- Tom Stoppard



Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com



Re: [expert] Re: Sound Is Impossible

2002-07-13 Thread Larry Sword

civileme wrote:
> Larry Sword wrote:
> 

>>> plus an illegal CDROM request
>>>
>>> sr0: CDROM (ioctl) reports ILLEGAL REQUEST.
>>> sr0: CDROM (ioctl) reports ILLEGAL REQUEST.
>>
>>
>>
>> Maybe you don't have a cdron in the drive?
>>


>>
> Nope--doesn't matter if he has a CDROM in the drive  or not.  The 
> message is from sr, which means that he has a CDRW most likely and the 
> /dev/cdrom isn't pointing there.
> 
> as root
> 
> ln -fs /dev/scd0 /dev/cdrom
> 
> should improve playing audio CDs
> 
> Civileme
> 

Right you are.. I must have been thinking of when one clicks on the 
CDROM icon and having no disk in the drive you get a "Failure to Open" 
message or something to that effect.

Larry





Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com



Re: [expert] Re: Sound Is Impossible

2002-07-13 Thread civileme

Larry Sword wrote:

>
>
> Daryl Johnson wrote:
>
>> OK  things move on - with a degree of embarrassment  :o/
>>
>> Following on from some of Larry Swords comments  I ran the card down 
>> to the European web site (makes sense, I bought the card in 
>> Scotland).  I had the opportunity here to d/l a manual.  Query, if 
>> there is a manual available why wasn't it in the box?  Maybe it was 
>> but on the windows disk.  Hmmm
>>
>> Anyway, d/l the manual and have a glance through.
>>
>> Well, that's certainly a better set-up diagram than the leaflet - 
>> let's see if everything is as per... well, the cd line is to the 
>> right place tick one.  The line in is Oh sh&t, check back with 
>> the leaflet... degree of confusion, check with the manual, none at 
>> all.  Replace line out one socket up.
>>
>> Run Control Centre and sound card configuration and a LOUID american 
>> voice tells me that my card is configured!  A quick run of a cd and 
>> it plays.  Oh Joy.
>>
>> Further check shows that /etc/modules.conf is as per:
>>
>> alias usb-interface usb-uhci
>>
>> # ALSA native device support
>> options snd snd_major = 116 snd_cards_limit = 1
>>
>> #OSS/Free setup
>>
>> probeall scsi_hostadapter advansys
>> alias eth0 3c59x
>> alias sound-slot-0 es1371
>
>
> I would recommend, as root, make a backup of your /etc/modules.conf 
> file. Then edit /etc/modules.conf and remove these lines:
> (as you are no longer using the ALSA drivers.
>
> # ALSA native device support
> options snd snd_major = 116 snd_cards_limit = 1
>
> The ONLY entry for your sound card needsis:
>
> alias sound-slot-0 es1371
>
> Run depmod -a.
>
> Then reboot.
>
>
>>
>> Certainly seems a bit less elaborate than before.
>>
>> OK another test, shutdown and reboot.
>>
>> Dmesg now shows:
>>
>> es1371: version v0.30 time 01:49:49 Mar 15 2002
>> es1371: found chip, vendor id 0x1274 device id 0x5880 revision 0x02
>> es1371: found es1371 rev 2 at io 0xcc00 irq 11
>> es1371: features: joystick 0x0
>> ac97_codec: AC97 Audio codec, id: 0x8384:0x7608 (SigmaTel STAC9708)
>>
>> plus an illegal CDROM request
>>
>> sr0: CDROM (ioctl) reports ILLEGAL REQUEST.
>> sr0: CDROM (ioctl) reports ILLEGAL REQUEST.
>
>
> Maybe you don't have a cdron in the drive?
>
>
>
>
>
>> Furthermore there is no swelling chord when the KDE screen opens and 
>> there is an error message:
>>
>> Sound server fatal error:
>> cpu overload, aborting
>>
>> It seems that artsd is failing to connect somewhere.  A further test 
>> shows that noatun refuses to run HOWEVER calling up KDE Sound Server, 
>> restarting the server appears to work and noatun can now run (though 
>> I have to kill artsd to get Real video running again  (sheesh)
>>
>> Sooo, thanks for all the help and comments so far and u, 
>> where might I go from here?
>>
>> regards
>>
>> Daryl
>>
>>
>>
>>
>> 
>>
>> Want to buy your Pack or Services from MandrakeSoft? Go to 
>> http://www.mandrakestore.com
>
>
>
>
>
>
>
>Want to buy your Pack or Services from MandrakeSoft? 
>Go to http://www.mandrakestore.com
>
Nope--doesn't matter if he has a CDROM in the drive  or not.  The 
message is from sr, which means that he has a CDRW most likely and the 
/dev/cdrom isn't pointing there.

as root

ln -fs /dev/scd0 /dev/cdrom

should improve playing audio CDs

Civileme






Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com



Re: [expert] Re: Sound Is Impossible

2002-07-13 Thread Larry Sword



Daryl Johnson wrote:
> OK  things move on - with a degree of embarrassment  :o/
> 
> Following on from some of Larry Swords comments  I ran the card down to the 
> European web site (makes sense, I bought the card in Scotland).  I had the 
> opportunity here to d/l a manual.  Query, if there is a manual available why 
> wasn't it in the box?  Maybe it was but on the windows disk.  Hmmm
> 
> Anyway, d/l the manual and have a glance through.
> 
> Well, that's certainly a better set-up diagram than the leaflet - let's see 
> if everything is as per... well, the cd line is to the right place tick one.  
> The line in is Oh sh&t, check back with the leaflet... degree of 
> confusion, check with the manual, none at all.  Replace line out one socket 
> up.
> 
> Run Control Centre and sound card configuration and a LOUID american voice 
> tells me that my card is configured!  A quick run of a cd and it plays.  Oh 
> Joy.
> 
> Further check shows that /etc/modules.conf is as per:
> 
> alias usb-interface usb-uhci
> 
> # ALSA native device support
> options snd snd_major = 116 snd_cards_limit = 1
> 
> #OSS/Free setup
> 
> probeall scsi_hostadapter advansys
> alias eth0 3c59x
> alias sound-slot-0 es1371

I would recommend, as root, make a backup of your /etc/modules.conf 
file. Then edit /etc/modules.conf and remove these lines:
(as you are no longer using the ALSA drivers.

# ALSA native device support
options snd snd_major = 116 snd_cards_limit = 1

The ONLY entry for your sound card needsis:

alias sound-slot-0 es1371

Run depmod -a.

Then reboot.


> 
> Certainly seems a bit less elaborate than before.
> 
> OK another test, shutdown and reboot.
> 
> Dmesg now shows:
> 
> es1371: version v0.30 time 01:49:49 Mar 15 2002
> es1371: found chip, vendor id 0x1274 device id 0x5880 revision 0x02
> es1371: found es1371 rev 2 at io 0xcc00 irq 11
> es1371: features: joystick 0x0
> ac97_codec: AC97 Audio codec, id: 0x8384:0x7608 (SigmaTel STAC9708)
> 
> plus an illegal CDROM request
> 
> sr0: CDROM (ioctl) reports ILLEGAL REQUEST.
> sr0: CDROM (ioctl) reports ILLEGAL REQUEST.

Maybe you don't have a cdron in the drive?





> Furthermore there is no swelling chord when the KDE screen opens and there is 
> an error message:
> 
> Sound server fatal error:
> cpu overload, aborting
> 
> It seems that artsd is failing to connect somewhere.  A further test shows 
> that noatun refuses to run HOWEVER calling up KDE Sound Server, restarting 
> the server appears to work and noatun can now run (though I have to kill 
> artsd to get Real video running again  (sheesh)
> 
> Sooo, thanks for all the help and comments so far and u, where 
> might I go from here?
> 
> regards
> 
> Daryl
> 
> 
> 
> 
> 
> 
> Want to buy your Pack or Services from MandrakeSoft? 
> Go to http://www.mandrakestore.com





Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com



[expert] Re: Sound Is Impossible

2002-07-13 Thread Daryl Johnson

OK  things move on - with a degree of embarrassment  :o/

Following on from some of Larry Swords comments  I ran the card down to the 
European web site (makes sense, I bought the card in Scotland).  I had the 
opportunity here to d/l a manual.  Query, if there is a manual available why 
wasn't it in the box?  Maybe it was but on the windows disk.  Hmmm

Anyway, d/l the manual and have a glance through.

Well, that's certainly a better set-up diagram than the leaflet - let's see 
if everything is as per... well, the cd line is to the right place tick one.  
The line in is Oh sh&t, check back with the leaflet... degree of 
confusion, check with the manual, none at all.  Replace line out one socket 
up.

Run Control Centre and sound card configuration and a LOUID american voice 
tells me that my card is configured!  A quick run of a cd and it plays.  Oh 
Joy.

Further check shows that /etc/modules.conf is as per:

alias usb-interface usb-uhci

# ALSA native device support
options snd snd_major = 116 snd_cards_limit = 1

#OSS/Free setup

probeall scsi_hostadapter advansys
alias eth0 3c59x
alias sound-slot-0 es1371

Certainly seems a bit less elaborate than before.

OK another test, shutdown and reboot.

Dmesg now shows:

es1371: version v0.30 time 01:49:49 Mar 15 2002
es1371: found chip, vendor id 0x1274 device id 0x5880 revision 0x02
es1371: found es1371 rev 2 at io 0xcc00 irq 11
es1371: features: joystick 0x0
ac97_codec: AC97 Audio codec, id: 0x8384:0x7608 (SigmaTel STAC9708)

plus an illegal CDROM request

sr0: CDROM (ioctl) reports ILLEGAL REQUEST.
sr0: CDROM (ioctl) reports ILLEGAL REQUEST.

Furthermore there is no swelling chord when the KDE screen opens and there is 
an error message:

Sound server fatal error:
cpu overload, aborting

It seems that artsd is failing to connect somewhere.  A further test shows 
that noatun refuses to run HOWEVER calling up KDE Sound Server, restarting 
the server appears to work and noatun can now run (though I have to kill 
artsd to get Real video running again  (sheesh)

Sooo, thanks for all the help and comments so far and u, where 
might I go from here?

regards

Daryl


-- 
"Pascal is Pascal is Pascal is dog meat."
-- M. Devine and P. Larson, Computer Science 340



Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com



[expert] Re: Sound Is Impossible

2002-07-13 Thread Daryl Johnson

OK  things move on - with a degree of embarrassment  :o/

Following on from some of Larry Swords comments  I ran the card down to the 
European web site (makes sense, I bought the card in Scotland).  I had the 
opportunity here to d/l a manual.  Query, if there is a manual available why 
wasn't it in the box?  Maybe it was but on the windows disk.  Hmmm

Anyway, d/l the manual and have a glance through.

Well, that's certainly a better set-up diagram than the leaflet - let's see 
if everything is as per... well, the cd line is to the right place tick one.  
The line in is Oh sh&t, check back with the leaflet... degree of 
confusion, check with the manual, none at all.  Replace line out one socket 
up.

Run Control Centre and sound card configuration and a LOUID american voice 
tells me that my card is configured!  A quick run of a cd and it plays.  Oh 
Joy.

Further check shows that /etc/modules.conf is as per:

alias usb-interface usb-uhci

# ALSA native device support
options snd snd_major = 116 snd_cards_limit = 1

#OSS/Free setup

probeall scsi_hostadapter advansys
alias eth0 3c59x
alias sound-slot-0 es1371

Certainly seems a bit less elaborate than before.

OK another test, shutdown and reboot.

Dmesg now shows:

es1371: version v0.30 time 01:49:49 Mar 15 2002
es1371: found chip, vendor id 0x1274 device id 0x5880 revision 0x02
es1371: found es1371 rev 2 at io 0xcc00 irq 11
es1371: features: joystick 0x0
ac97_codec: AC97 Audio codec, id: 0x8384:0x7608 (SigmaTel STAC9708)

plus an illegal CDROM request

sr0: CDROM (ioctl) reports ILLEGAL REQUEST.
sr0: CDROM (ioctl) reports ILLEGAL REQUEST.

Furthermore there is no swelling chord when the KDE screen opens and there is 
an error message:

Sound server fatal error:
cpu overload, aborting

It seems that artsd is failing to connect somewhere.  A further test shows 
that noatun refuses to run HOWEVER calling up KDE Sound Server, restarting 
the server appears to work and noatun can now run (though I have to kill 
artsd to get Real video running again  (sheesh)

Sooo, thanks for all the help and comments so far and u, where 
might I go from here?

regards

Daryl


-- 
"Pascal is Pascal is Pascal is dog meat."
-- M. Devine and P. Larson, Computer Science 340



Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com