This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Linux/PROCESSOR-SDK-AM335X: Creating an IOCTL for an ALSA device

Part Number: PROCESSOR-SDK-AM335X


Tool/software: Linux

Hi All,

I am working on  ti-processor-sdk-linux-am335x-evm-03.02.00.05 with Bealglebone Black as my reference board.

I have interfaced a codec SAF775x to Beaglebone. SAF775x does not have a LInux Driver. 

I have written a small driver to register it as a codec. I am able to play any audio through aplay. My playback is working fine.

Now this SAF775x has an FM too. We need to write an FM appplication using I2C. The problem is that if we have registered an I2C device as an alsa device how can we write FM application for 

the same I2C device.

Can we use IOCTL for it?  

Please share some examples if it is possible

Thanks and Regards

Deep

  • Hi,

    Please share some examples if it is possible

    Sorry we don't provide examples. Maybe you can try asking the SAF775x vendor for such examples.

    Can we use IOCTL for it?

    What is your concern for using IOCTL? You should be able to use it.

    Best Regards,
    Yordan