Bug 16596 - Riptide sound cards do not work in 2.6.32
Riptide sound cards do not work in 2.6.32
Status: RESOLVED CODE_FIX
Product: Drivers
Classification: Unclassified
Component: Sound(ALSA)
All Linux
: P1 normal
Assigned To: Takashi Iwai
http://bugs.archlinux.org/task/19787
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2010-08-15 16:00 UTC by Gary James
Modified: 2010-08-16 06:22 UTC (History)
2 users (show)

See Also:
Kernel Version: 2.6.32
Tree: Mainline
Regression: No


Attachments
Fix detection of riptide firmware (727 bytes, patch)
2010-08-15 16:47 UTC, Takashi Iwai
Details | Diff

Description Gary James 2010-08-15 16:00:38 UTC
Description:
Riptide sound cards do not work in kernel 2.6.32, they did in 2.6.27. Please see outputs below. The /dev/snd devices are not crated


2.6.32
------

lsmod|grep '^snd' | column -t
snd_seq_dummy 1067 0
snd_riptide 16290 0
snd_seq_oss 24824 0
snd_seq_midi_event 4452 1 snd_seq_oss
snd_seq 41361 5 snd_seq_dummy,snd_seq_oss,snd_seq_midi_event
snd_ac97_codec 87815 1 snd_riptide
snd_pcm_oss 33090 0
snd_mixer_oss 13619 1 snd_pcm_oss
snd_pcm 57255 3 snd_riptide,snd_ac97_codec,snd_pcm_oss
snd_opl3_lib 7126 1 snd_riptide
snd_timer 15309 3 snd_seq,snd_pcm,snd_opl3_lib
snd_hwdep 4624 1 snd_opl3_lib
snd_page_alloc 5777 2 snd_riptide,snd_pcm
snd_mpu401_uart 4883 1 snd_riptide
snd_rawmidi 14863 1 snd_mpu401_uart
snd_seq_device 4317 5 snd_seq_dummy,snd_seq_oss,snd_seq,snd_opl3_lib,snd_rawmidi
snd 41122 13 snd_riptide,snd_seq_oss,snd_seq,snd_ac97_codec,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_opl3_lib,snd_timer,snd_hwdep,snd_mpu401_uart,snd_rawmidi,snd_seq_device

ls -l /dev/snd
total 0
crw-rw---- 1 root audio 116, 3 Jun 13 12:31 seq
crw-rw---- 1 root audio 116, 2 Jun 13 12:31 timer



and in 2.6.27
-------------

root@reddwarf ~ $ lsmod|grep '^snd' | column -t
snd_seq_dummy 4612 0
snd_seq_oss 31616 0
snd_seq_midi_event 8320 1 snd_seq_oss
snd_seq 49584 5 snd_seq_dummy,snd_seq_oss,snd_seq_midi_event
snd_pcm_oss 38528 0
snd_mixer_oss 16000 1 snd_pcm_oss
snd_riptide 23828 2
snd_ac97_codec 99108 1 snd_riptide
snd_pcm 69892 4 snd_pcm_oss,snd_riptide,snd_ac97_codec
snd_opl3_lib 11392 1 snd_riptide
snd_timer 21768 3 snd_seq,snd_pcm,snd_opl3_lib
snd_hwdep 8964 1 snd_opl3_lib
snd_page_alloc 9480 2 snd_riptide,snd_pcm
snd_mpu401_uart 8832 1 snd_riptide
snd_rawmidi 21632 1 snd_mpu401_uart
snd_seq_device 8332 5 snd_seq_dummy,snd_seq_oss,snd_seq,snd_opl3_lib,snd_rawmidi
snd 50980 16 snd_seq_oss,snd_seq,snd_pcm_oss,snd_mixer_oss,snd_riptide,snd_ac97_codec,snd_pcm,snd_opl3_lib,snd_timer,snd_hwdep,snd_mpu401_uart,snd_rawmidi,snd_seq_device

root@reddwarf ~ $ ls -l /dev/snd
total 0
drwxr-xr-x 2 root root 60 Jun 13 19:56 by-path
crw-rw---- 1 root audio 116, 7 Jun 13 19:56 controlC0
crw-rw---- 1 root audio 116, 3 Jun 13 19:56 hwC0D0
crw-rw---- 1 root audio 116, 4 Jun 13 19:56 midiC0D0
crw-rw---- 1 root audio 116, 6 Jun 13 19:56 pcmC0D0c
crw-rw---- 1 root audio 116, 5 Jun 13 19:57 pcmC0D0p
crw-rw---- 1 root audio 116, 8 Jun 13 19:56 seq
crw-rw---- 1 root audio 116, 2 Jun 13 19:56 timer

Steps to reproduce:

Upgrade from kernel 2.6.27to 2.6.32 and issue command ls -l /dev/snd to see if devices exist
Comment 1 Takashi Iwai 2010-08-15 16:47:15 UTC
Does the patch below help?
Comment 2 Takashi Iwai 2010-08-15 16:47:52 UTC
Created attachment 27452 [details]
Fix detection of riptide firmware
Comment 3 Gary James 2010-08-15 19:29:33 UTC
One patch and kernel recompile later.  Result.  Perfect

Thank you very much.  Output of /dev/snd

gary@reddwarf ~ $ uname -a
Linux reddwarf 2.6.32-lts #1 SMP Sun Aug 15 19:40:38 BST 2010 i686 Pentium III (Coppermine) GenuineIntel GNU/Linux
gary@reddwarf ~ $ ls -l /dev/snd
total 0
drwxr-xr-x 2 root root      60 Aug 15 20:05 by-path
crw-rw---- 1 root audio 116, 8 Aug 15 20:05 controlC0
crw-rw---- 1 root audio 116, 4 Aug 15 20:05 hwC0D0
crw-rw---- 1 root audio 116, 5 Aug 15 20:05 midiC0D0
crw-rw---- 1 root audio 116, 7 Aug 15 20:05 pcmC0D0c
crw-rw---- 1 root audio 116, 6 Aug 15 20:25 pcmC0D0p
crw-rw---- 1 root audio 116, 3 Aug 15 20:05 seq
crw-rw---- 1 root audio 116, 2 Aug 15 20:05 timer
gary@reddwarf ~ $
Comment 4 Takashi Iwai 2010-08-16 06:14:37 UTC
Thanks for testing.  I applied the patch now to sound git tree with Cc to stable kernel.

Note You need to log in before you can comment on or make changes to this bug.