This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

6446 Master Volume Control

 I am trying to control master volume on 6446. But during the  IOCTL
   phase I am getting error -1. My Linux version is OE(Open Embedded -
   Angstrom)
   Do u have any idea?
   Thanks inadvance...
   B.R
   Tarkan
           int DeviceSound,vol=0;
           if ((DeviceSound = open("/dev/pcmC0D0c", O_RDWR)) == -1)
           {
                   printf("Failed to open /dev/pcmC0D0c\n");
                   return -1;
           }
           if (ioctl(DeviceSound, SOUND_MIXER_WRITE_VOLUME, &vol) == -1)
           {
                   printf("Failed to set DeviceSound for vol.\n");
                   close(DeviceSound);
                   return -1;