I was wrong about the lsusb output it was my test application that could set the device and retrieve the data in 8 and 16KHz but not on the 2.4 machine.
The snd modules I've loaded on 2.6 are: snd_usb_audio 74817 0 snd_usb_lib 17217 1 snd_usb_audio snd_rawmidi 24897 1 snd_usb_lib snd_hwdep 9797 1 snd_usb_audio snd_intel8x0m 17357 0 snd_intel8x0 32605 1 snd_ac97_codec 91360 2 snd_intel8x0m,snd_intel8x0 snd_ac97_bus 2753 1 snd_ac97_codec snd_seq_dummy 4293 0 snd_seq_oss 32705 0 snd_seq_midi_event 8001 1 snd_seq_oss snd_seq 51633 5 snd_seq_dummy,snd_seq_oss,snd_seq_midi_event snd_seq_device 8781 4 snd_rawmidi,snd_seq_dummy,snd_seq_oss,snd_seq snd_pcm_oss 42849 0 snd_mixer_oss 16833 1 snd_pcm_oss snd_pcm 76485 5 snd_usb_audio,snd_intel8x0m,snd_intel8x0,snd_ac97_codec,snd_pcm_oss snd_timer 23237 2 snd_seq,snd_pcm snd 52933 15 snd_usb_audio,snd_rawmidi,snd_hwdep,snd_intel8x0m,snd_intel8x0,snd_ac97_codec,snd_seq_oss,snd_seq,snd_seq_device,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_timer soundcore 10145 1 snd snd_page_alloc 10569 3 snd_intel8x0m,snd_intel8x0,snd_pcm And I don't know if I'm using alsa or not. But the following works on 2.6 but not on 2.4: void SetParams(int fd) { int tmp; tmp=16; /* 16 bits by sample */ if (ioctl(fd, SNDCTL_DSP_SAMPLESIZE, &tmp)<0 || tmp!=16) { fprintf(stderr,"Error setting SNDCTL_DSP_SAMPLESIZE \n"); exit (-1); } tmp=0; /* Mono */ if ((ioctl(fd, SNDCTL_DSP_STEREO, &tmp)<0) || tmp!=0) { fprintf(stderr,"Error setting SNDCTL_DSP_STEREO\n"); exit (-1); } tmp=16000; /* Sample Rate */ if (ioctl(fd, SNDCTL_DSP_SPEED, &tmp)<0 || tmp!=16000) { fprintf(stderr,"Error setting SNDCTL_DSP_SPEED\n"); exit (-1); } } Even though the lsusb reports only 44100 and 48000 on 2.4 and 2.6. Niklas On Thu, 2006-11-02 at 18:05 +0100, Clemens Ladisch wrote: > Niklas Fondberg wrote: > > lsusb is reporting that the usb-audio device supports 8 and 16 KHz > > samplerates on the 2.6 kernel machine but not on the 2.4 machine. > > Is this the same version of lsusb? > What are the respective lsusb outputs? > > > Regards, > Clemens > ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ linux-usb-devel@lists.sourceforge.net To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-devel