Re: [Alsa-user] alsamixer: function snd_mixer_load failed: Inappropriate ioctl for device
Salatiel Filho wrote: On 12/13/07, Clemens Ladisch [EMAIL PROTECTED] wrote: Salatiel Filho wrote: I am having a big trouble to make sound work on my ARM machine. alsamixer: function snd_mixer_load failed: Inappropriate ioctl for device Make sure that the kernel and the userspace tools are compiled with exactly the same architecture and other options that can affect structure sizes. They are. I compiled both. The size of the respective parameter structures is encoded in the IOCTL numbers. Since it is the snd_mixer_load() function that failed, earlier ioctl calls succeeded, so it's very likely that the reason that SNDRV_CTL_IOCTL_ELEM_READ is unknown is that the size of struct snd_ctl_elem_value is different. Please put a printf(struct size: %u\n, sizeof(struct snd_ctl_elem_value)); (or printk) into both alsamixer and some kernel code (for example, snd_ctl_ioctl() in core/control.c). Regards, Clemens - SF.Net email is sponsored by: Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace ___ Alsa-user mailing list Alsa-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/alsa-user
Re: [Alsa-user] alsamixer: function snd_mixer_load failed: Inappropriate ioctl for device
Salatiel Filho wrote: I am having a big trouble to make sound work on my ARM machine. alsamixer: function snd_mixer_load failed: Inappropriate ioctl for device Make sure that the kernel and the userspace tools are compiled with exactly the same architecture and other options that can affect structure sizes. HTH Clemens - SF.Net email is sponsored by: Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace ___ Alsa-user mailing list Alsa-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/alsa-user
Re: [Alsa-user] alsamixer: function snd_mixer_load failed: Inappropriate ioctl for device
On 12/13/07, Clemens Ladisch [EMAIL PROTECTED] wrote: Salatiel Filho wrote: I am having a big trouble to make sound work on my ARM machine. alsamixer: function snd_mixer_load failed: Inappropriate ioctl for device Make sure that the kernel and the userspace tools are compiled with exactly the same architecture and other options that can affect structure sizes. HTH Clemens They are. I compiled both. -- []'s Salatiel O maior prazer do inteligente é bancar o idiota diante de um idiota que banca o inteligente. - SF.Net email is sponsored by: Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace ___ Alsa-user mailing list Alsa-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/alsa-user
[Alsa-user] alsamixer: function snd_mixer_load failed: Inappropriate ioctl for device
I am having a big trouble to make sound work on my ARM machine. I am running debian 4. # uname -a Linux LS-GL7D6 2.6.16.57-arm2 #7 Wed Dec 12 18:14:51 BRT 2007 armv5tejl GNU/Linux Modules load successfully # lsmod Module Size Used by snd_pcm_oss47680 0 snd_mixer_oss 15040 1 snd_pcm_oss snd_usb_audio 79904 0 snd_pcm75877 2 snd_pcm_oss,snd_usb_audio snd_timer 20164 1 snd_pcm snd_page_alloc 8264 1 snd_pcm snd_usb_lib15808 1 snd_usb_audio snd_rawmidi21376 1 snd_usb_lib snd_seq_device 7116 1 snd_rawmidi snd_hwdep 7460 1 snd_usb_audio snd54368 9 snd_pcm_oss,snd_mixer_oss,snd_usb_audio,snd_pcm,snd_timer,snd_usb_lib,snd_rawmidi,snd_seq_device,snd_hwdep soundcore 7684 1 snd nfs 102044 0 lockd 61780 1 nfs sunrpc142808 3 nfs,lockd dm_mod 48176 0 usbhid 38628 0 # cat /proc/asound/cards 0 [default]: USB-Audio - C-Media USB Headphone Set C-Media USB Headphone Set at usb-ehci_platform.4523-1, full speed # cat /proc/asound/version Advanced Linux Sound Architecture Driver Version 1.0.15. Compiled on Dec 12 2007 for kernel 2.6.16.57-arm2. but everytime i try to use alsamixer i get: # alsamixer alsamixer: function snd_mixer_load failed: Inappropriate ioctl for device I have updated to alsa 1.0.15 to see if it helps , but the problem still persists. any help? The same card works ok on my x86 machine using . So the problem is not the card but something else. -- []'s Salatiel O maior prazer do inteligente é bancar o idiota diante de um idiota que banca o inteligente. - SF.Net email is sponsored by: Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace ___ Alsa-user mailing list Alsa-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/alsa-user