Starting from the new kernel ( 4.9.x ) in Picoreplayer 3.20 Beta the great work of Hias has started become available to people who like the simplicity and stability of running PCP as basis to squeezelite.
The mentioned Pi audio card is one of the most advanced cards with great specs, that do go beyond what PCP will use.
As I had 2 CLAC's gathering dust , and spare pi's to match, I started some test to revive the old hardware.
Just recently I got the cards to become visible through :
However the boot proces is not automatic and needs manual intervention.
Currently the driver does only register if I change something on the USB bus roughly AFTER the boot message
udevadm settle - timeout of 5 seconds reached, ....
is displayed.
The correct initialisation of the card can be seen from the RED led on the CLAC
During the initial parts of the boot it turnd off , but at the end of the end of the 'loading extensions ' part it comes back on.
If I plug in something 'new' on the usb bus the red led turns off again, and the output of aplay -l does alter, adding the RPiCirrus device.
Currently I can reproduce the start of the driver/device by simply re-plugging my mouse from 1 to the other port on my KBD built-in USB hub, even if this is 2 minutes after boot time.
It allows me to remotely log in over the WIFI , check through aplay -l , to verify the device is not jet seen.
Obviously some modules prevent the driver / device to install properly and I jet do not know the cause and the solution.
Who can help to crack the final parts , that allows me to document how this card can be used in PCP ?
For anyone that want to replicate, you obviously need the hardware, and I am sorry to tell HW productions seems to have stalled, and proper driver support might have arrived too late to support sales and more production.
The basic start is a clean PCP 320, although it was tested to work OK on Beta 7, and probably Beta 5 could work to.
In the 320 Beta thread, most info is found but a short version :
/etc/modprobe.d/cirrus.conf => /etc/modprobe.conf
sqeezelite is started with '-n piCorePlayer-test -o hw:CARD=RPiCirrus -a 80 4 1'
Backup! your changes with 'pcp bu' before any reboot !
Save all your settings outside the PCP partitions if you do an isitu upgrade ( warnings are in the procedure )
And as squeezelite does not have the card driver available at first start, be prepared to check and restart it .
If al starts and there is no sound, verify the use the usescripts provided by Hias, and the volume.
Regards M-H
Edit: added dmesg file
The mentioned Pi audio card is one of the most advanced cards with great specs, that do go beyond what PCP will use.
As I had 2 CLAC's gathering dust , and spare pi's to match, I started some test to revive the old hardware.
Just recently I got the cards to become visible through :
~$ aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: ALSA [bcm2835 ALSA], device 0: bcm2835 ALSA [bcm2835 ALSA]
Subdevices: 7/8
Subdevice #0: subdevice #0
Subdevice #1: subdevice #1
Subdevice #2: subdevice #2
Subdevice #3: subdevice #3
Subdevice #4: subdevice #4
Subdevice #5: subdevice #5
Subdevice #6: subdevice #6
Subdevice #7: subdevice #7
card 0: ALSA [bcm2835 ALSA], device 1: bcm2835 ALSA [bcm2835 IEC958/HDMI]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: RPiCirrus [RPi-Cirrus], device 0: WM5102 AiFi wm5102-aif1-0 []
Subdevices: 1/1
Subdevice #0: subdevice #0
**** List of PLAYBACK Hardware Devices ****
card 0: ALSA [bcm2835 ALSA], device 0: bcm2835 ALSA [bcm2835 ALSA]
Subdevices: 7/8
Subdevice #0: subdevice #0
Subdevice #1: subdevice #1
Subdevice #2: subdevice #2
Subdevice #3: subdevice #3
Subdevice #4: subdevice #4
Subdevice #5: subdevice #5
Subdevice #6: subdevice #6
Subdevice #7: subdevice #7
card 0: ALSA [bcm2835 ALSA], device 1: bcm2835 ALSA [bcm2835 IEC958/HDMI]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: RPiCirrus [RPi-Cirrus], device 0: WM5102 AiFi wm5102-aif1-0 []
Subdevices: 1/1
Subdevice #0: subdevice #0
However the boot proces is not automatic and needs manual intervention.
Currently the driver does only register if I change something on the USB bus roughly AFTER the boot message
udevadm settle - timeout of 5 seconds reached, ....
is displayed.
The correct initialisation of the card can be seen from the RED led on the CLAC
During the initial parts of the boot it turnd off , but at the end of the end of the 'loading extensions ' part it comes back on.
If I plug in something 'new' on the usb bus the red led turns off again, and the output of aplay -l does alter, adding the RPiCirrus device.
Currently I can reproduce the start of the driver/device by simply re-plugging my mouse from 1 to the other port on my KBD built-in USB hub, even if this is 2 minutes after boot time.
It allows me to remotely log in over the WIFI , check through aplay -l , to verify the device is not jet seen.
Obviously some modules prevent the driver / device to install properly and I jet do not know the cause and the solution.
Who can help to crack the final parts , that allows me to document how this card can be used in PCP ?
For anyone that want to replicate, you obviously need the hardware, and I am sorry to tell HW productions seems to have stalled, and proper driver support might have arrived too late to support sales and more production.
The basic start is a clean PCP 320, although it was tested to work OK on Beta 7, and probably Beta 5 could work to.
In the 320 Beta thread, most info is found but a short version :
/etc/modprobe.d/cirrus.conf => /etc/modprobe.conf
sqeezelite is started with '-n piCorePlayer-test -o hw:CARD=RPiCirrus -a 80 4 1'
Backup! your changes with 'pcp bu' before any reboot !
Save all your settings outside the PCP partitions if you do an isitu upgrade ( warnings are in the procedure )
And as squeezelite does not have the card driver available at first start, be prepared to check and restart it .
If al starts and there is no sound, verify the use the usescripts provided by Hias, and the volume.
Regards M-H
Edit: added dmesg file
Comment