Bug#407690: [Pkg-alsa-devel] Bug#407690: kernel 2.6.19.2 incompatibel with debian libasound2-dev

Elimar Riesebieter riesebie at lxtec.de
Mon Jan 22 16:36:25 UTC 2007


On Mon, 22 Jan 2007 the mental interface of
Mikael Magnusson told:

> Steve Langasek wrote:
> >On Mon, Jan 22, 2007 at 07:39:03AM +0100, Markus Schulz wrote:
> >>>doesn't sound 'grave' to me; if anything, it sounds like a bug in
> >>>2.6.19 for changing interfaces in ways that break userspace.
> >>yes, exactly this. Should this be reported anywhere?
> >Preferably, upstream to the kernel maintainers responsible for the breakage.

> According to alsa-devel the problem has been "Fixed and committed to HG tree".

> http://article.gmane.org/gmane.linux.alsa.devel/43900

Markus, could you please test the according patch:

--- a/include/sound/emu10k1.h Wed Jan 17 15:19:52 2007 +0100
+++ b/include/sound/emu10k1.h Fri Jan 19 18:36:48 2007 +0100
@@ -280,6 +280,7 @@ typedef struct {
   unsigned int min;    /* minimum range */
   unsigned int max;    /* maximum range */
   unsigned int translation;  /* translation type (EMU10K1_GPR_TRANSLATION*) */
+  unsigned int *tlv;
 } emu10k1_fx8010_control_gpr_t;
 
 typedef struct {
@@ -338,6 +339,7 @@ typedef struct {
 #define SNDRV_EMU10K1_IOCTL_TRAM_PEEK _IOWR('H', 0x22, emu10k1_fx8010_tram_t)
 #define SNDRV_EMU10K1_IOCTL_PCM_POKE  _IOW ('H', 0x30, emu10k1_fx8010_pcm_t)
 #define SNDRV_EMU10K1_IOCTL_PCM_PEEK  _IOWR('H', 0x31, emu10k1_fx8010_pcm_t)
+#define SNDRV_EMU10K1_IOCTL_PVERSION  _IOR ('H', 0x40, int)
 #define SNDRV_EMU10K1_IOCTL_STOP   _IO  ('H', 0x80)
 #define SNDRV_EMU10K1_IOCTL_CONTINUE  _IO  ('H', 0x81)
 #define SNDRV_EMU10K1_IOCTL_ZERO_TRAM_COUNTER _IO ('H', 0x82)


-- 
  It's a good thing we don't get all 
  the government we pay for.




More information about the Pkg-alsa-devel mailing list