2008-11-14 02:33:25 write(/dev/dsp) failed on AD1836AZ Daughter Board Rev. B.
Eric Wang (TAIWAN)
I newly got an AD1836AZ Daughter Board Rev. B, and put it on BF537-STAMP. Following the H/W and S/W notes on docs.blackfin.uclinux.org/doku.php?id=hw:cards:ad1836a&s=ad1836, however, it does not work. The messages are shown below (with debugging messages of ad1836.c and bf5xx_sport.c) :
TONE: generating sinesnade_aa d0108H3...6_playback_trigger
sport: bf53x_sport_tx_start: tx_run:0, rx_run:0
ERROR: write(/dev/dsp) failed, errno=5
This problem is found on 2008R1-RC8. However, the 2008R1-RC8 could be working with the AD1836A on the EZ-AV-EXTENDER with different kernel config and switch settings on BF537-STAMP.
It looks there are problems in sport communications. Would somebody kindly hint me the possible solutions ? Thanks.
2008-11-17 05:23:08 Re: write(/dev/dsp) failed on AD1836AZ Daughter Board Rev. B.
Yi Li (CHINA)
Our sound driver developer will have a look at this issue.
2008-11-17 05:44:45 Re: write(/dev/dsp) failed on AD1836AZ Daughter Board Rev. B.
Cliff Cai (CHINA)
"errno=5" means I/O error, please compare your two kernel/switch settings,and see the difference.
By the way where do you get the duaghter card? Is that a customer board?
2008-11-24 06:21:25 Re: write(/dev/dsp) failed on AD1836AZ Daughter Board Rev. B.
Eric Wang (TAIWAN)
Hi, Cliff :
Thanks for your kind reponses. This daughter board is baught from the distributer of ADI Taiwan, and it is considered no customization in any way.
I figured out something amazing.
First, many labels on this daughter board are really wrong. The PF0, PF1, ..., PF7 labels of all the four jumers are wrong. I traced the circuit of BF537-STAMP and found that SPORT PF6 is connected to the daughter board PF4. So, in face, I need to put jumper at daughter board PF6 if my SPI choice is PF4. The other pins are wrong in this simillar way.
Secondly, by looking closely, the pin number of the Jumper Settings in docs.blackfin.uclinux.org/doku.php?id=hw:cards:ad1836a&s=ad1836 is not consistent with the labels on this daughter card. For example, it says "3-5 & 4-6 : PGA Mode", however, the label on daughter board is "3-5 & 4-6 : High Perf.". Which one is correct ?
Would you kindly provide me correct installation info so that I could avoid trials and errors ? I still could not enable it to play and/or record sound. What else changes and/or differences are there ? Thank you.
2008-12-03 16:06:25 Re: write(/dev/dsp) failed on AD1836AZ Daughter Board Rev. B.
Mike Frysinger (UNITED STATES)
the documentation corresponds to the old board. we have not seen a new board yet, so we cant directly assist until we do.
2009-03-21 18:15:13 Re: write(/dev/dsp) failed on AD1836AZ Daughter Board Rev. B.
Dan Amarandei (UNITED STATES)
Can anyone confirm if the AD1836AZ-DBRD-ND board from : search.digikey.com/scripts/DkSearch/dksus.dll?Detail&name=AD1836AZ-DBRD-ND will not work with the ADSP-BF537 board?
2011-01-02 11:33:30 Re: write(/dev/dsp) failed on AD1836AZ Daughter Board Rev. B.
Frank Gill (UNITED STATES)
I've got the same problem (STAMP with daughterboard with the AD1836A codec). I'm running the tone test and i'm getting that write error (errno=5).
I load the codec and oss modules. The codec and the corresponding modules all look good to go. The clocks on the hardware look correct but i'm not seeing any data and on the terminal, I'm getting the write error mentioned above.
Any help would be highly appreciated.
2011-01-03 22:54:00 Re: write(/dev/dsp) failed on AD1836AZ Daughter Board Rev. B.
Sonic Zhang (CHINA)
You should open a new thread with all hardware/software version/configuration/error information.