salve, sicuramente l’argomento è stato trattato e ho già trovato qualcosa ma non sono ancora riuscito a risolvere completamente il mio problema. Ho volumo premium installato su un raspberry pi4. avendo molti cd audio ma ahimè non ho più nessun lettore cd. Avevo il piacere di poterli riascoltare utilizzando volumio. ho collegato così un lettore cd portatile per pc ad un hub usb alimentato e collegato l’hub al raspberry. il lettore viene correttamente riconosciuto e i cd partono correttamente, i problemi che ho riscontrato però sono che:
il lettore fa un rumore assurdo durante la riproduzione e capita che a volte la riproduzione salti
il cambio traccia non è fluido ma avviene dopo qualche secondo di “lettura”
entrambi i problemi non esistono se utilizzo lo stesso lettore con lo stesso cd ma riprodotto dal pc
qualcuno potrebbe darmi una mano sulla configurazione più corretta da usare?
[Wheaten=MOD]
Google translate, for those less fluent in Italian:
hi, surely the topic has been discussed and I have already found something but I have not yet been able to completely solve my problem. I have volume premium installed on a raspberry pi4. having many audio cds but unfortunately I no longer have a cd player. I had the pleasure of being able to listen to them again using volume. I connected a portable cd player for pc to a powered usb hub and connected the hub to the raspberry. the player is correctly recognized and the cds start correctly, the problems that I have encountered however are that:
the player makes an absurd noise during playback and it happens that sometimes the playback skips
the track change is not smooth but occurs after a few seconds of “reading”
both problems do not exist if I use the same player with the same cd but played from the pc
could someone give me a hand on the most correct configuration to use?
nessuna risposta dal team di sviluppo? praticamente ascoltare un cd è impossibile, trall’altro è una funzione premium a pagamento, si presuma debba funzionare bene altrimenti le anomalie segnalate vanno risolte subito visto che gli utenti pagano. @volumio dai per favore cenni di vita su questa funzione, grazie.
Google translate:
no response from the development team? basically listening to a cd is impossible, among other things it is a premium paid function, it is assumed that it must work well otherwise the reported anomalies must be resolved immediately since users pay. @volumio please give signs of life on this function, thanks.
Kernel Polling:
Linux’s kernel regularly “polls” (checks) CD/DVD drives to see if the media has changed. This polling forces the drive to spin up repeatedly, causing noise and delays during playback.
Other OSes:
Windows and macOS use specialized drivers that handle CD audio playback more quietly, avoiding this constant polling.
2. Quick Workaround: Disable Polling
You can reduce the noise by telling the Linux kernel not to poll the CD drive. This is done by adding a boot parameter:
Edit the Boot Command Line:
Open the file /boot/cmdline.txt with a text editor (using root privileges). For example:
sudo nano /boot/cmdline.txt
Add the Parameter:
Append cdrom.no_poll=1 to the end of the line (on the same line, separated by a space). For example, if your file originally looks like:
Save and Reboot:
Save the file and reboot your system:
sudo reboot
This parameter stops the kernel from sending repeated data-read commands to your CD drive, making it quieter during audio playback—even though some error messages (from unsupported data reads on an audio CD) may still appear in the logs.
Note:
There are no extra technical details attached about your specific CD-ROM drive. However, this is a common Linux kernel polling issue that has been reported in various forums (including Volumio). If playback is acceptable and the noise is reduced, this workaround is a useful compromise. Needless to mention, the /boot/cmdline.txt will be rewritten with OTA/upgrade, and mentioned work around will be lost.