Quantcast
Channel: EngineerZone: Message List
Viewing all articles
Browse latest Browse all 24339

alsa player not showing ad1938 in raspberry pi

$
0
0

Hi

     I want to use ad1938 with raspberry pi. I have added an entry for ad1938 in SPI devices of board file of raspberry pi.

 

#ifdef CONFIG_BCM2708_SPIDEV

static struct spi_board_info bcm2708_spi_devices[] = {

#ifdef CONFIG_SPI_SPIDEV

  {

  .modalias = "spidev",

  .max_speed_hz = 500000,

  .bus_num = 0,

  .chip_select = 0,

  .mode = SPI_MODE_0,

  }, {

  .modalias = "spidev",

  .max_speed_hz = 500000,

  .bus_num = 0,

  .chip_select = 1,

  .mode = SPI_MODE_0,

  },

#endif

        {

                .modalias = "ad1938",

  .max_speed_hz = 500000,

  .bus_num =0,

  .chip_select =0,

  .mode = SPI_MODE_0,

        }

};

#endif

 

      And I have cross compiled and installed driver for ad1938 into raspberry pi. I could see ad1938 in /sys/bus/spi/devices and in /sys/bus/spi/drivers folders. But "aplay -l" and "arecord -l" not showing ad1938 codec. Please help me in connecting ad1938 to raspberry pi.


Viewing all articles
Browse latest Browse all 24339

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>