Re: [Cooker] alsa problems

2003-11-09 Thread Oden Eriksson
söndagen den 9 november 2003 04.44 skrev J.P. Pasnak:
 J.P. Pasnak said:
  J.P. Pasnak said:
  Oden Eriksson said:
  lördagen den 8 november 2003 21.18 skrev Oden Eriksson:
  lördagen den 8 november 2003 20.50 skrev J.P. Pasnak:
   Oden Eriksson said:
Hi.
   
I have a MSI KT4V motherboard, but the sound is terrible. I'm
 
  having
 
distortion all the time and getting a weird scramble at given
intervals.
   
I also have a C-Port in this machine, but are using the built in
Realtek chip
for simple playback.
   
If I use the default:
   
above snd-via82xx snd-pcm-oss
alias sound-slot-1 snd-via82xx
alias sound-slot-0 snd-ice1712
above snd-ice1712 snd-pcm-oss
   
..., the sound is awful. But if I use only:
  
   I had the same problem.   Setting 'options snd-via82xx index=0
   dxs_support=2' has cleared some of it up.   I found reference to it
 
  here:
   http://www.mail-archive.com/[EMAIL PROTECTED]/msg08188
  .html
 
  Thank you, thank you, thank you.
 
  That fixed it.
 
  But I'm getting this (from boot.log):
 
  Nov  8 21:28:45 localhosthost alsactl: /usr/sbin/alsactl:
  set_control:805:
  warning: name mismatch (Input Source Se
  lect/IEC958 Output Switch) for control #53
  Nov  8 21:28:45 localhost alsactl: /usr/sbin/alsactl: set_control:807:
  warning: index mismatch (1/0) for contr
  ol #53
  Nov  8 21:28:45 localhost alsactl: /usr/sbin/alsactl: set_control:892:
  bad
  control.53.value type
  Nov  8 21:28:45 localhost sound: Loading mixer settings failed
 
  I'm getting the same thing, but the control # is different.  I've been
  searching around in '/usr/share/alsa/', but haven't found anything
 
  yet...
 
  Well, I was looking in the wrong area.   controls seem to be set via
  '/etc/asound.state'.
 
  I'm going to tinker with this and see what happens :)

 It would appear that checking the settings via 'alsamixer' and then saving
 the config with '/usr/sbin/alsactl store' stores the configuration in the
 proper format, and the errors are gone.

It looks like that's done both in the alsa and sound initscripts, well the 
functions are there, maybe it just won't work, or done the wrong way.

Strangely I have never seen this error before...





[Cooker] alsa problems

2003-11-08 Thread Oden Eriksson
Hi.

I have a MSI KT4V motherboard, but the sound is terrible. I'm having 
distortion all the time and getting a weird scramble at given intervals.

I also have a C-Port in this machine, but are using the built in Realtek chip 
for simple playback.

If I use the default:

above snd-via82xx snd-pcm-oss
alias sound-slot-1 snd-via82xx
alias sound-slot-0 snd-ice1712
above snd-ice1712 snd-pcm-oss

..., the sound is awful. But if I use only:

alias sound via82cxxx_audio

..., the sound is ok. But there seem to be no way of mixing alsa and core 
kernel modules in Mandrake?

If I use:

alias sound via82cxxx_audio
alias sound-slot-0 snd-ice1712
above snd-ice1712 snd-pcm-oss

..., only the ice1712 drivers are loaded.


Is this only me having this problem or is it me not doing it right?

Oh, this is MDK9.2 with the latest update kernel.

Cheers.




Re: [Cooker] alsa problems

2003-11-08 Thread J.P. Pasnak

Oden Eriksson said:

 Hi.

 I have a MSI KT4V motherboard, but the sound is terrible. I'm having
 distortion all the time and getting a weird scramble at given intervals.

 I also have a C-Port in this machine, but are using the built in Realtek
 chip
 for simple playback.

 If I use the default:

 above snd-via82xx snd-pcm-oss
 alias sound-slot-1 snd-via82xx
 alias sound-slot-0 snd-ice1712
 above snd-ice1712 snd-pcm-oss

 ..., the sound is awful. But if I use only:



I had the same problem.   Setting 'options snd-via82xx index=0
dxs_support=2' has cleared some of it up.   I found reference to it here:

http://www.mail-archive.com/[EMAIL PROTECTED]/msg08188.html

-- 
Live fast, die young,
You're sucking up my bandwidth.

J.P. Pasnak, CD
CCNA
http://www.warpedsystems.sk.ca



Re: [Cooker] alsa problems

2003-11-08 Thread Oden Eriksson
lördagen den 8 november 2003 20.50 skrev J.P. Pasnak:
 Oden Eriksson said:
  Hi.
 
  I have a MSI KT4V motherboard, but the sound is terrible. I'm having
  distortion all the time and getting a weird scramble at given intervals.
 
  I also have a C-Port in this machine, but are using the built in Realtek
  chip
  for simple playback.
 
  If I use the default:
 
  above snd-via82xx snd-pcm-oss
  alias sound-slot-1 snd-via82xx
  alias sound-slot-0 snd-ice1712
  above snd-ice1712 snd-pcm-oss
 
  ..., the sound is awful. But if I use only:

 I had the same problem.   Setting 'options snd-via82xx index=0
 dxs_support=2' has cleared some of it up.   I found reference to it here:

 http://www.mail-archive.com/[EMAIL PROTECTED]/msg08188.html

Thank you, thank you, thank you.

That fixed it.





Re: [Cooker] alsa problems

2003-11-08 Thread Oden Eriksson
lördagen den 8 november 2003 21.18 skrev Oden Eriksson:
 lördagen den 8 november 2003 20.50 skrev J.P. Pasnak:
  Oden Eriksson said:
   Hi.
  
   I have a MSI KT4V motherboard, but the sound is terrible. I'm having
   distortion all the time and getting a weird scramble at given
   intervals.
  
   I also have a C-Port in this machine, but are using the built in
   Realtek chip
   for simple playback.
  
   If I use the default:
  
   above snd-via82xx snd-pcm-oss
   alias sound-slot-1 snd-via82xx
   alias sound-slot-0 snd-ice1712
   above snd-ice1712 snd-pcm-oss
  
   ..., the sound is awful. But if I use only:
 
  I had the same problem.   Setting 'options snd-via82xx index=0
  dxs_support=2' has cleared some of it up.   I found reference to it here:
 
  http://www.mail-archive.com/[EMAIL PROTECTED]/msg08188.html

 Thank you, thank you, thank you.

 That fixed it.

But I'm getting this (from boot.log):

Nov  8 21:28:45 localhosthost alsactl: /usr/sbin/alsactl: set_control:805: 
warning: name mismatch (Input Source Se
lect/IEC958 Output Switch) for control #53
Nov  8 21:28:45 localhost alsactl: /usr/sbin/alsactl: set_control:807: 
warning: index mismatch (1/0) for contr
ol #53
Nov  8 21:28:45 localhost alsactl: /usr/sbin/alsactl: set_control:892: bad 
control.53.value type
Nov  8 21:28:45 localhost sound: Loading mixer settings failed






Re: [Cooker] alsa problems

2003-11-08 Thread J.P. Pasnak

Oden Eriksson said:

 lördagen den 8 november 2003 21.18 skrev Oden Eriksson:
 lördagen den 8 november 2003 20.50 skrev J.P. Pasnak:
  Oden Eriksson said:
   Hi.
  
   I have a MSI KT4V motherboard, but the sound is terrible. I'm having
   distortion all the time and getting a weird scramble at given
   intervals.
  
   I also have a C-Port in this machine, but are using the built in
   Realtek chip
   for simple playback.
  
   If I use the default:
  
   above snd-via82xx snd-pcm-oss
   alias sound-slot-1 snd-via82xx
   alias sound-slot-0 snd-ice1712
   above snd-ice1712 snd-pcm-oss
  
   ..., the sound is awful. But if I use only:
 
  I had the same problem.   Setting 'options snd-via82xx index=0
  dxs_support=2' has cleared some of it up.   I found reference to it
 here:
 
  http://www.mail-archive.com/[EMAIL PROTECTED]/msg08188.html

 Thank you, thank you, thank you.

 That fixed it.

 But I'm getting this (from boot.log):

 Nov  8 21:28:45 localhosthost alsactl: /usr/sbin/alsactl: set_control:805:
 warning: name mismatch (Input Source Se
 lect/IEC958 Output Switch) for control #53
 Nov  8 21:28:45 localhost alsactl: /usr/sbin/alsactl: set_control:807:
 warning: index mismatch (1/0) for contr
 ol #53
 Nov  8 21:28:45 localhost alsactl: /usr/sbin/alsactl: set_control:892: bad
 control.53.value type
 Nov  8 21:28:45 localhost sound: Loading mixer settings failed


I'm getting the same thing, but the control # is different.  I've been
searching around in '/usr/share/alsa/', but haven't found anything yet...


-- 
Live fast, die young,
You're sucking up my bandwidth.

J.P. Pasnak, CD
CCNA
http://www.warpedsystems.sk.ca



Re: [Cooker] alsa problems

2003-11-08 Thread J.P. Pasnak

J.P. Pasnak said:


 Oden Eriksson said:

 lördagen den 8 november 2003 21.18 skrev Oden Eriksson:
 lördagen den 8 november 2003 20.50 skrev J.P. Pasnak:
  Oden Eriksson said:
   Hi.
  
   I have a MSI KT4V motherboard, but the sound is terrible. I'm
 having
   distortion all the time and getting a weird scramble at given
   intervals.
  
   I also have a C-Port in this machine, but are using the built in
   Realtek chip
   for simple playback.
  
   If I use the default:
  
   above snd-via82xx snd-pcm-oss
   alias sound-slot-1 snd-via82xx
   alias sound-slot-0 snd-ice1712
   above snd-ice1712 snd-pcm-oss
  
   ..., the sound is awful. But if I use only:
 
  I had the same problem.   Setting 'options snd-via82xx index=0
  dxs_support=2' has cleared some of it up.   I found reference to it
 here:
 
  http://www.mail-archive.com/[EMAIL PROTECTED]/msg08188.html

 Thank you, thank you, thank you.

 That fixed it.

 But I'm getting this (from boot.log):

 Nov  8 21:28:45 localhosthost alsactl: /usr/sbin/alsactl:
 set_control:805:
 warning: name mismatch (Input Source Se
 lect/IEC958 Output Switch) for control #53
 Nov  8 21:28:45 localhost alsactl: /usr/sbin/alsactl: set_control:807:
 warning: index mismatch (1/0) for contr
 ol #53
 Nov  8 21:28:45 localhost alsactl: /usr/sbin/alsactl: set_control:892:
 bad
 control.53.value type
 Nov  8 21:28:45 localhost sound: Loading mixer settings failed


 I'm getting the same thing, but the control # is different.  I've been
 searching around in '/usr/share/alsa/', but haven't found anything yet...

Well, I was looking in the wrong area.   controls seem to be set via
'/etc/asound.state'.

I'm going to tinker with this and see what happens :)

-- 
Live fast, die young,
You're sucking up my bandwidth.

J.P. Pasnak, CD
CCNA
http://www.warpedsystems.sk.ca



Re: [Cooker] alsa problems

2003-11-08 Thread J.P. Pasnak

J.P. Pasnak said:


 J.P. Pasnak said:


 Oden Eriksson said:

 lördagen den 8 november 2003 21.18 skrev Oden Eriksson:
 lördagen den 8 november 2003 20.50 skrev J.P. Pasnak:
  Oden Eriksson said:
   Hi.
  
   I have a MSI KT4V motherboard, but the sound is terrible. I'm
 having
   distortion all the time and getting a weird scramble at given
   intervals.
  
   I also have a C-Port in this machine, but are using the built in
   Realtek chip
   for simple playback.
  
   If I use the default:
  
   above snd-via82xx snd-pcm-oss
   alias sound-slot-1 snd-via82xx
   alias sound-slot-0 snd-ice1712
   above snd-ice1712 snd-pcm-oss
  
   ..., the sound is awful. But if I use only:
 
  I had the same problem.   Setting 'options snd-via82xx index=0
  dxs_support=2' has cleared some of it up.   I found reference to it
 here:
 
  http://www.mail-archive.com/[EMAIL PROTECTED]/msg08188.html

 Thank you, thank you, thank you.

 That fixed it.

 But I'm getting this (from boot.log):

 Nov  8 21:28:45 localhosthost alsactl: /usr/sbin/alsactl:
 set_control:805:
 warning: name mismatch (Input Source Se
 lect/IEC958 Output Switch) for control #53
 Nov  8 21:28:45 localhost alsactl: /usr/sbin/alsactl: set_control:807:
 warning: index mismatch (1/0) for contr
 ol #53
 Nov  8 21:28:45 localhost alsactl: /usr/sbin/alsactl: set_control:892:
 bad
 control.53.value type
 Nov  8 21:28:45 localhost sound: Loading mixer settings failed


 I'm getting the same thing, but the control # is different.  I've been
 searching around in '/usr/share/alsa/', but haven't found anything
 yet...

 Well, I was looking in the wrong area.   controls seem to be set via
 '/etc/asound.state'.

 I'm going to tinker with this and see what happens :)


It would appear that checking the settings via 'alsamixer' and then saving
the config with '/usr/sbin/alsactl store' stores the configuration in the
proper format, and the errors are gone.

-- 
Live fast, die young,
You're sucking up my bandwidth.

J.P. Pasnak, CD
CCNA
http://www.warpedsystems.sk.ca



Re: [Cooker] alsa problems

2003-11-08 Thread J.P. Pasnak

J.P. Pasnak said:


 J.P. Pasnak said:


 Oden Eriksson said:

 lördagen den 8 november 2003 21.18 skrev Oden Eriksson:
 lördagen den 8 november 2003 20.50 skrev J.P. Pasnak:
  Oden Eriksson said:
   Hi.
  
   I have a MSI KT4V motherboard, but the sound is terrible. I'm
 having
   distortion all the time and getting a weird scramble at given
   intervals.
  
   I also have a C-Port in this machine, but are using the built in
   Realtek chip
   for simple playback.
  
   If I use the default:
  
   above snd-via82xx snd-pcm-oss
   alias sound-slot-1 snd-via82xx
   alias sound-slot-0 snd-ice1712
   above snd-ice1712 snd-pcm-oss
  
   ..., the sound is awful. But if I use only:
 
  I had the same problem.   Setting 'options snd-via82xx index=0
  dxs_support=2' has cleared some of it up.   I found reference to it
 here:
 
  http://www.mail-archive.com/[EMAIL PROTECTED]/msg08188.html

 Thank you, thank you, thank you.

 That fixed it.

 But I'm getting this (from boot.log):

 Nov  8 21:28:45 localhosthost alsactl: /usr/sbin/alsactl:
 set_control:805:
 warning: name mismatch (Input Source Se
 lect/IEC958 Output Switch) for control #53
 Nov  8 21:28:45 localhost alsactl: /usr/sbin/alsactl: set_control:807:
 warning: index mismatch (1/0) for contr
 ol #53
 Nov  8 21:28:45 localhost alsactl: /usr/sbin/alsactl: set_control:892:
 bad
 control.53.value type
 Nov  8 21:28:45 localhost sound: Loading mixer settings failed


 I'm getting the same thing, but the control # is different.  I've been
 searching around in '/usr/share/alsa/', but haven't found anything
 yet...

 Well, I was looking in the wrong area.   controls seem to be set via
 '/etc/asound.state'.

 I'm going to tinker with this and see what happens :)


It would appear that checking the settings via 'alsamixer' and then saving
the config with '/usr/sbin/alsactl store' stores the configuration in the
proper format, and the errors are gone.

-- 
Live fast, die young,
You're sucking up my bandwidth.

J.P. Pasnak, CD
CCNA
http://www.warpedsystems.sk.ca



Re: [Cooker] alsa problems

2002-04-19 Thread Todd Lyons

Borsenkow Andrej wrote on Thu, Apr 18, 2002 at 09:56:44AM +0400 :
  
   How about (for Clie):
   REGISTER  ^usb/dev/.* PERMISSIONS root.usb 0660
 Most of them already are in /etc/security/console.perms; add
 /dev/usb/dev/* - is it really correct? Or do you mean permissions should

No, typo on my part.  ^usb/tts/.* is what it should be.

 /etc/security/console.perms:
 
 usb=/dev/usb/dabusb* /dev/usb/dc2xx* /dev/usb/mdc800* /dev/usb/rio500
 /dev/usb
 /scanner* /dev/usb/ttyUSB* \
   /proc/usb/[0-9][0-9][0-9]/[0-9][0-9][0-9]
 ...
 console  0600 usb0660 root.usb
 
 exactly as you want it is it not? Add /dev/usb/what-ever to this list.

It seems so.  I was working with someone and he wanted it to be 0666, so
I had him add the REGISTER/PERMISSIONS entry above without understanding
the console.perms interaction fully.  Thank you.

Regards...  Todd
-- 
  Todd Lyons -- MandrakeSoft, Inc.   http://www.mandrakesoft.com/
UNIX was not designed to stop you from doing stupid things, because 
  that would also stop you from doing clever things. -- Doug Gwyn
   Cooker Version mandrake-release-8.3-0.2mdk Kernel 2.4.18-11mdk



msg62960/pgp0.pgp
Description: PGP signature


Re: [Cooker] alsa problems

2002-04-17 Thread Todd Lyons

Thierry Vignaud wrote on Tue, Apr 16, 2002 at 01:25:00PM +0200 :

  missing (from alsa INSTALL file):
  REGISTER ^sound/.* PERMISSIONS root.audio 660
  REGISTER ^snd/.* PERMISSIONS root.audio 660
 yes, we don't need them since we start sound on bootstrapping.

How about (for Clie):
REGISTER^usb/dev/.* PERMISSIONS root.usb 0660

Or can that be taken care of in another way?

Blue skies...   Todd
-- 
  Todd Lyons -- MandrakeSoft, Inc.   http://www.mandrakesoft.com/
UNIX was not designed to stop you from doing stupid things, because 
  that would also stop you from doing clever things. -- Doug Gwyn
   Cooker Version mandrake-release-8.3-0.2mdk Kernel 2.4.18-11mdk



msg62797/pgp0.pgp
Description: PGP signature


Re: [Cooker] alsa problems

2002-04-17 Thread Thierry Vignaud

Todd Lyons [EMAIL PROTECTED] writes:

 How about (for Clie):
 REGISTER  ^usb/dev/.* PERMISSIONS root.usb 0660

 Or can that be taken care of in another way?

it depends on what you need.
if you wants to give somes special rights to logged user (such as
ability to play sound and the like), you play with pam.
here, you probably want to play with /etc/devfsd.conf

-- 
il a ete brule au 28e degre (the naheulbeuk witch)
c curieux, gcc fonctionne (gwenole)





RE: [Cooker] alsa problems

2002-04-17 Thread Borsenkow Andrej

[Thierry, console.perms has duplicated entry for /dev/usb/rio500 - is it
really needed?]

 
 Todd Lyons [EMAIL PROTECTED] writes:
 
  How about (for Clie):
  REGISTER^usb/dev/.* PERMISSIONS root.usb 0660
 
  Or can that be taken care of in another way?
 

Most of them already are in /etc/security/console.perms; add
/dev/usb/dev/* - is it really correct? Or do you mean permissions should
not depend on logged in user? 

/etc/security/console.perms:

usb=/dev/usb/dabusb* /dev/usb/dc2xx* /dev/usb/mdc800* /dev/usb/rio500
/dev/usb
/scanner* /dev/usb/ttyUSB* \
  /proc/usb/[0-9][0-9][0-9]/[0-9][0-9][0-9]

...

console  0600 usb0660 root.usb

exactly as you want it is it not? Add /dev/usb/what-ever to this list.

-andrej




[Cooker] alsa problems

2002-04-16 Thread Guillaume Rousse

Switching from 0.5 to 0.9 brings some problems:

- modules names seems to have changed
snd-card-es1938 - snd-es1938

- current /etc/init.d/alsa script fails to recognise new syntax
i had to use /etc/init.d/alsasound (installed by alsa sources)

- automatic snd-*-oss modules loading wasn't available
i had to modprobe them manually

- alsa-related lines have been commented/deleted from /etc/devfsd.conf. Is 
this intentional ?
# ALSA stuff
#LOOKUP snd MODLOAD ACTION snd
missing (from alsa INSTALL file):
REGISTER ^sound/.* PERMISSIONS root.audio 660
REGISTER ^snd/.* PERMISSIONS root.audio 660
-- 
Guillaume Rousse [EMAIL PROTECTED]
GPG key http://lis.snv.jussieu.fr/~rousse/gpgkey.html




Re: [Cooker] alsa problems

2002-04-16 Thread Thierry Vignaud

Guillaume Rousse [EMAIL PROTECTED] writes:

 Switching from 0.5 to 0.9 brings some problems:

 - modules names seems to have changed
 snd-card-es1938 - snd-es1938

 - current /etc/init.d/alsa script fails to recognise new syntax
 i had to use /etc/init.d/alsasound (installed by alsa sources)

 - automatic snd-*-oss modules loading wasn't available
 i had to modprobe them manually

will be fixed in next initscripts release

 - alsa-related lines have been commented/deleted from /etc/devfsd.conf. Is 
 this intentional ?
 # ALSA stuff
 #LOOKUP   snd MODLOAD ACTION snd
 missing (from alsa INSTALL file):
 REGISTER ^sound/.* PERMISSIONS root.audio 660
 REGISTER ^snd/.* PERMISSIONS root.audio 660

yes, we don't need them since we start sound on bootstrapping.

-- 
il a ete brule au 28e degre (the naheulbeuk witch)