xmos / vocalfusion-rpi-setup

3 stars 13 forks source link

I2S Slave kernel module doesn't produce a working device #69

Open ed-xmos opened 1 year ago

ed-xmos commented 1 year ago

I built the i2s slave kernel and inserted the following lines into cron:

@reboot sh /home/pi/vocalfusion-rpi-setup/resources/load_i2s_slave_driver.sh @reboot sh /usr/bin/python /home/pi/vocalfusion-rpi-setup/resources/clk_dac_setup/setup_io_exp_and_dac.py xvf3800 @reboot sleep 15 && cp /home/pi/vocalfusion-rpi-setup/resources/asoundrc_vf ~/.asoundrc

Note the first line of the first script above does: sudo insmod /home/pi/vocalfusion-rpi-setup/loader/i2s_slave/i2s_slave_loader.ko

The devices are there from an lsmod:

snd_soc_simple_card 20480 0 snd_soc_simple_card_utils 24576 1 snd_soc_simple_card i2s_slave_loader 16384 0

But no device appears:

pi@raspberrypi:~ $ aplay -l List of PLAYBACK Hardware Devices card 0: x20 [xCORE USB Audio 2.0], device 0: USB Audio [USB Audio] Subdevices: 0/1

... only a USB Audio card..

This definitely used to work

mbanth commented 1 year ago

@ed-xmos, please provide a Story Point value for this issue. Thanks.