Re: [PATCH] ALSA: ymfpci: Add error messages for abritrary IO ports on older chips

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, 29 Mar 2023 05:42:04 +0200,
Tasos Sahanidis wrote:
> 
> As an end user, it can be confusing to request an arbitrary IO port be
> used only to find out that it doesn't work without an obvious reason,
> especially since /sys/module/snd_ymfpci/parameters/{fm,joystick,mpu}_port
> indicate 0 after the module has been loaded.
> 
> In my case, I was unaware that the YMF724 did not support such usage, and
> thus ended up spending time attempting to debug the issue.
> 
> Now, when a user attempts to request an IO port that isn't supported by
> the hardware, the following message is printed:
> 
> [   25.549530] snd_ymfpci 0000:06:05.0: The Yamaha DS-1 (YMF724F) does not support arbitrary IO ports for FM (requested 0x1234)
> 
> Signed-off-by: Tasos Sahanidis <tasos@xxxxxxxxxxxx>

As this is no urgent bug, I applied to for-next branch for 6.4.


thanks,

Takashi



[Index of Archives]     [ALSA User]     [Linux Audio Users]     [Pulse Audio]     [Kernel Archive]     [Asterisk PBX]     [Photo Sharing]     [Linux Sound]     [Video 4 Linux]     [Gimp]     [Yosemite News]

  Powered by Linux