Re: 2.6.35-rc3 E-MU 0404 USB problem

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 23/06/10 18:49, James Courtier-Dutton wrote:
> On 22 June 2010 13:58, Sid Boyce<sboyce@xxxxxxxxxxxxxxxx>  wrote:
>> I have an application using the on-board sound card mic which should send
>> it's data to the USB card for relay to a Sofweare Defined Radio as 2
>> quadrature signals digital (I/Q) for transmission.
>> On the receiving side it can take data from the Radio at up to 192K sample
>> rate -->  program -->  Speaker on the on-board sound card - that works fine.
>> Transmit fails, dmesg output with 48K sample rate set is:-
>> [509686.177169] ALSA sound/usb/clock.c:214: 6:2:3: endpoint lacks sample
>> rate attribute bit, cannot set.
>> [509686.187920] ALSA sound/usb/clock.c:214: 6:2:1: endpoint lacks sample
>> rate attribute bit, cannot set.
>> [509686.266905] ALSA sound/usb/mixer.c:2051: status interrupt: c0 0e
>> [509686.330901] ALSA sound/usb/mixer.c:2051: status interrupt: c0 0e
>> [509686.353775] ALSA sound/usb/clock.c:214: 6:2:7: endpoint lacks sample
>> rate attribute bit, cannot set.
>> [509686.394898] ALSA sound/usb/mixer.c:2051: status interrupt: c0 0e
>> [509686.458886] ALSA sound/usb/mixer.c:2051: status interrupt: c0 0e
>> [509686.522874] ALSA sound/usb/mixer.c:2051: status interrupt: c0 0e
>> [509823.078594] ALSA sound/usb/clock.c:214: 6:2:3: endpoint lacks sample
>> rate attribute bit, cannot set.
>> [509823.091571] ALSA sound/usb/clock.c:214: 6:2:1: endpoint lacks sample
>> rate attribute bit, cannot set.
>> [509823.146811] ALSA sound/usb/mixer.c:2051: status interrupt: c0 0e
>> [509823.202679] ALSA sound/usb/clock.c:214: 6:2:7: endpoint lacks sample
>> rate attribute bit, cannot set.
>> [509823.210807] ALSA sound/usb/mixer.c:2051: status interrupt: c0 0e
>> [509823.274792] ALSA sound/usb/mixer.c:2051: status interrupt: c0 0e
>> [509823.338782] ALSA sound/usb/mixer.c:2051: status interrupt: c0 0e
>> [509823.402783] ALSA sound/usb/mixer.c:2051: status interrupt: c0 0e
>> Regards
>> Sid.
>> --
>
> This device uses a global clock rate according to the data sheets.
> So, record rate must equal playback rate.
>
sample_rate = 48000                     # ADC hardware sample rate in 
Hertz receive from the radio.
name_of_sound_capt = "hw:2"             # E-MU 0404 USB audio as IQ 
capture (Receive)
name_of_sound_play = "hw:0"             # HDA Intel on-board to Speakers.
channel_i = 1                           # Soundcard index of in-phase 
channel:  0, 1, 2, ...
channel_q = 0                           # Soundcard index of quadrature 
channel:  0, 1, 2, ...

# TX I/Q Generation for Softrock
name_of_mic_play = "hw:2"               # E-MU 0404 USB audio for IQ 
output sent to the Radio for transmit (Mic --> program --> E-MU --> 
transmitter).
mic_playback_rate = 48000
mic_play_chan_I = 1
mic_play_chan_Q = 0
microphone_name = "plughw:0"            # HDA Intel on-board sound
mic_channel_I = 0                       # Soundcard index of mic audio 
channel
mic_channel_Q = 1                       # Soundcard index of ignored channel
mic_sample_rate = 48000         # Microphone sample rate in Hertz
mic_max_sample = 25535
add_imd_button = 1

All sample rates set to 48K.
Regards
Sid.
-- 
Sid Boyce ... Hamradio License G3VBV, Licensed Private Pilot
Emeritus IBM/Amdahl Mainframes and Sun/Fujitsu Servers Tech Support
Specialist, Cricket Coach
Microsoft Windows Free Zone - Linux used for all Computing Tasks


------------------------------------------------------------------------------
ThinkGeek and WIRED's GeekDad team up for the Ultimate 
GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the 
lucky parental unit.  See the prize list and enter to win: 
http://p.sf.net/sfu/thinkgeek-promo
_______________________________________________
Alsa-user mailing list
Alsa-user@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/alsa-user


[Index of Archives]     [ALSA Devel]     [Linux Audio Users]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]

  Powered by Linux