Skip to contentSkip to conversation

OSS mapping for ALSA controls

DISCUSSION Pavana Sharma 3 participants 6 messages Apr 7, 2004 – Apr 12, 2004

lore
Share & tools
lore
#0 lore raw

Hi,

I am trying to map my ALSA driver (for ARM) controls with OSS default
controls.

I am using this method, to change/update assignment in /proc file. but I am not seeing any changes in my /proc/asound/card0/oss_mixer file. % echo 'VOLUME "Master Playback" 0' > /proc/asound/card0/oss_mixer Is this the write way to do it ? or do need to follow someother procedure
to map the alsa mixer ioctls with oss.
Thanks
Pavana S

-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click

#1 lore raw

At Wed, 7 Apr 2004 19:38:18 +0530,

Quoted 9 lines · Pavana Sharma

Hi,

I am trying to map my ALSA driver (for ARM) controls with OSS default
controls.

I am using this method, to change/update assignment in /proc file. but I am not seeing any changes in my /proc/asound/card0/oss_mixer file. % echo 'VOLUME "Master Playback" 0' > /proc/asound/card0/oss_mixer

it should be ok. did you do it as root?

Takashi

-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click

#2 lore raw

yes, I did this as root ..

-----Original Message-----
From: Takashi Iwai [mailto:[email protected]]
Sent: Wednesday, April 07, 2004 11:40 PM
To: [email protected]
Cc: [email protected]
Subject: Re: [Alsa-devel] OSS mapping for ALSA controls

At Wed, 7 Apr 2004 19:38:18 +0530,

Quoted 9 lines · Pavana Sharma

Hi,

I am trying to map my ALSA driver (for ARM) controls with OSS default
controls.

I am using this method, to change/update assignment in /proc file. but I am not seeing any changes in my /proc/asound/card0/oss_mixer file. % echo 'VOLUME "Master Playback" 0' > /proc/asound/card0/oss_mixer

it should be ok. did you do it as root?

Takashi

-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click

#3 lore raw

At Thu, 8 Apr 2004 10:59:50 +0530,

Quoted 2 lines · Pavana Sharma

yes, I did this as root ..

hmm, it works for me.

	# echo 'VOLUME "Line Playback" 0' > /proc/asound/card0/oss_mixer
	# cat /proc/asound/card0/oss_mixer  | grep VOLUME
	VOLUME "Line Playback" 0

Takashi

Quoted 27 lines

-----Original Message-----
From: Takashi Iwai [mailto:[email protected]]
Sent: Wednesday, April 07, 2004 11:40 PM
To: [email protected]
Cc: [email protected]
Subject: Re: [Alsa-devel] OSS mapping for ALSA controls

At Wed, 7 Apr 2004 19:38:18 +0530,

Quoted 9 lines · Pavana Sharma

Hi,

I am trying to map my ALSA driver (for ARM) controls with OSS default
controls.

I am using this method, to change/update assignment in /proc file. but I am not seeing any changes in my /proc/asound/card0/oss_mixer file. % echo 'VOLUME "Master Playback" 0' > /proc/asound/card0/oss_mixer

it should be ok. did you do it as root?

Takashi

Quoted 10 lines

-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
Alsa-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/alsa-devel

-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click

#4 lore raw
Quoted 10 lines · Takashi Iwai

At Thu, 8 Apr 2004 10:59:50 +0530,

Quoted 2 lines · Pavana Sharma

yes, I did this as root ..

hmm, it works for me.

	# echo 'VOLUME "Line Playback" 0' > /proc/asound/card0/oss_mixer
	# cat /proc/asound/card0/oss_mixer  | grep VOLUME
	VOLUME "Line Playback" 0

Shell problem? The embedded devices has stripped things.

Jaroslav

-----
Jaroslav Kysela <[email protected]>
Linux Kernel Sound Maintainer
ALSA Project, SuSE Labs

-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click

#5 lore raw

Shell supported by the target are ash , dash
Is this causing problem ..??

Regards
Pavan S

-----Original Message-----
From: Jaroslav Kysela [mailto:[email protected]]
Sent: Thursday, April 08, 2004 10:43 PM
To: Takashi Iwai
Cc: [email protected]; [email protected]
Subject: Re: [Alsa-devel] OSS mapping for ALSA controls

Quoted 10 lines · Takashi Iwai

At Thu, 8 Apr 2004 10:59:50 +0530,

Quoted 2 lines · Pavana Sharma

yes, I did this as root ..

hmm, it works for me.

	# echo 'VOLUME "Line Playback" 0' > /proc/asound/card0/oss_mixer
	# cat /proc/asound/card0/oss_mixer  | grep VOLUME
	VOLUME "Line Playback" 0

Shell problem? The embedded devices has stripped things.

Jaroslav

-----
Jaroslav Kysela <[email protected]>
Linux Kernel Sound Maintainer
ALSA Project, SuSE Labs

-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click