At Wed, 20 Jun 2007 21:02:40 +0200, Robert Lemmen wrote:
On Tue, Jun 19, 2007 at 01:43:25PM +0200, Takashi Iwai wrote:
The patch works as if model=fujitsu. So I suppose model=fujitsu doesn't work as expected?
Try to replace CXT5045_FUJITSU with CXT5045_LAPTOP in that patch.
hi everyone,
i am sorry, but this still doesn't work.
Are you sure that you remove model option with that patch? The model option overrides the default model preset.
if i pass model=laptop on the modprobe line or through /etc/modultils.d/, everything works as expected, including speaker muting on headphone jack insert. using no param or fujitsu works, but without muting. perhaps the driver somehow does not pick up the automatic model setting? is there a way to query a running driver on which model it did select? or is there a way to add something like a printf() to an alsa module (just for debugging)?
Add printk().
and lastly: i have no idea how all this stuff works, but looking at the patch, it looks like you are tying the lspci subsystem id to the model. in my lspci output i have multiple devices with that subsystem id (1734:10cb), could that be a problem?
No, it looks OK.
Takashi