All of lore.kernel.org
 help / color / mirror / Atom feed
* OSS mapping for ALSA controls
@ 2004-04-07 14:08 Pavana Sharma
  2004-04-07 18:10 ` Takashi Iwai
  0 siblings, 1 reply; 6+ messages in thread
From: Pavana Sharma @ 2004-04-07 14:08 UTC (permalink / raw)
  To: alsa-devel

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

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: OSS mapping for ALSA controls
  2004-04-07 14:08 OSS mapping for ALSA controls Pavana Sharma
@ 2004-04-07 18:10 ` Takashi Iwai
  2004-04-08  5:29   ` Pavana Sharma
  0 siblings, 1 reply; 6+ messages in thread
From: Takashi Iwai @ 2004-04-07 18:10 UTC (permalink / raw)
  To: pavans; +Cc: alsa-devel

At Wed, 7 Apr 2004 19:38:18 +0530,
Pavana Sharma wrote:
> 
> 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

^ permalink raw reply	[flat|nested] 6+ messages in thread

* RE: OSS mapping for ALSA controls
  2004-04-07 18:10 ` Takashi Iwai
@ 2004-04-08  5:29   ` Pavana Sharma
  2004-04-08 17:07     ` Takashi Iwai
  0 siblings, 1 reply; 6+ messages in thread
From: Pavana Sharma @ 2004-04-08  5:29 UTC (permalink / raw)
  To: 'Takashi Iwai'; +Cc: alsa-devel

yes, I did this as root ..

-----Original Message-----
From: Takashi Iwai [mailto:tiwai@suse.de]
Sent: Wednesday, April 07, 2004 11:40 PM
To: pavans@india.ti.com
Cc: alsa-devel@lists.sourceforge.net
Subject: Re: [Alsa-devel] OSS mapping for ALSA controls


At Wed, 7 Apr 2004 19:38:18 +0530,
Pavana Sharma wrote:
> 
> 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

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: OSS mapping for ALSA controls
  2004-04-08  5:29   ` Pavana Sharma
@ 2004-04-08 17:07     ` Takashi Iwai
  2004-04-08 17:12       ` Jaroslav Kysela
  0 siblings, 1 reply; 6+ messages in thread
From: Takashi Iwai @ 2004-04-08 17:07 UTC (permalink / raw)
  To: pavans; +Cc: alsa-devel

At Thu, 8 Apr 2004 10:59:50 +0530,
Pavana Sharma wrote:
> 
> 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


> -----Original Message-----
> From: Takashi Iwai [mailto:tiwai@suse.de]
> Sent: Wednesday, April 07, 2004 11:40 PM
> To: pavans@india.ti.com
> Cc: alsa-devel@lists.sourceforge.net
> Subject: Re: [Alsa-devel] OSS mapping for ALSA controls
> 
> 
> At Wed, 7 Apr 2004 19:38:18 +0530,
> Pavana Sharma wrote:
> > 
> > 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
> _______________________________________________
> Alsa-devel mailing list
> Alsa-devel@lists.sourceforge.net
> 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

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: OSS mapping for ALSA controls
  2004-04-08 17:07     ` Takashi Iwai
@ 2004-04-08 17:12       ` Jaroslav Kysela
  2004-04-12  8:35         ` Pavana Sharma
  0 siblings, 1 reply; 6+ messages in thread
From: Jaroslav Kysela @ 2004-04-08 17:12 UTC (permalink / raw)
  To: Takashi Iwai; +Cc: pavans, alsa-devel

On Thu, 8 Apr 2004, Takashi Iwai wrote:

> At Thu, 8 Apr 2004 10:59:50 +0530,
> Pavana Sharma wrote:
> > 
> > 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 <perex@suse.cz>
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

^ permalink raw reply	[flat|nested] 6+ messages in thread

* RE: OSS mapping for ALSA controls
  2004-04-08 17:12       ` Jaroslav Kysela
@ 2004-04-12  8:35         ` Pavana Sharma
  0 siblings, 0 replies; 6+ messages in thread
From: Pavana Sharma @ 2004-04-12  8:35 UTC (permalink / raw)
  To: 'Jaroslav Kysela', 'Takashi Iwai'; +Cc: alsa-devel

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

Regards
Pavan S

-----Original Message-----
From: Jaroslav Kysela [mailto:perex@suse.cz]
Sent: Thursday, April 08, 2004 10:43 PM
To: Takashi Iwai
Cc: pavans@india.ti.com; alsa-devel@lists.sourceforge.net
Subject: Re: [Alsa-devel] OSS mapping for ALSA controls


On Thu, 8 Apr 2004, Takashi Iwai wrote:

> At Thu, 8 Apr 2004 10:59:50 +0530,
> Pavana Sharma wrote:
> > 
> > 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 <perex@suse.cz>
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

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2004-04-12  8:35 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-04-07 14:08 OSS mapping for ALSA controls Pavana Sharma
2004-04-07 18:10 ` Takashi Iwai
2004-04-08  5:29   ` Pavana Sharma
2004-04-08 17:07     ` Takashi Iwai
2004-04-08 17:12       ` Jaroslav Kysela
2004-04-12  8:35         ` Pavana Sharma

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.