[PATCH - Preliminary support for Xonar Xense (resubmitAdded support for Xonar Xense. Only speaker out and mic in working.
Subsystems (2)
sound/pci/oxygen/virtuoso.c +1 -0
@@ -52,6 +52,7 @@ static DEFINE_PCI_DEVICE_TABLE(xonar_ids) = { { OXYGEN_PCI_SUBID(0x1043, 0x835d) }, { OXYGEN_PCI_SUBID(0x1043, 0x835e) }, { OXYGEN_PCI_SUBID(0x1043, 0x838e) }, + { OXYGEN_PCI_SUBID(0x1043, 0x8428) }, { OXYGEN_PCI_SUBID(0x1043, 0x8522) }, { OXYGEN_PCI_SUBID_BROKEN_EEPROM }, { }
sound/pci/oxygen/xonar_pcm179x.c +19 -0
@@ -499,6 +499,17 @@ static void xonar_stx_init(struct oxygen *chip)xonar_st_init_common (chip); } +static void xonar_xense_init (struct oxygen *chip) +{ +struct xonar_pcm179x *data = chip->model_data; + + data->generic.ext_power_reg =OXYGEN_GPI_DATA ; + data->generic.ext_power_int_reg =OXYGEN_GPI_INTERRUPT_MASK ; + data->generic.ext_power_bit =GPI_EXT_POWER ; +xonar_init_ext_power (chip); +xonar_st_init (chip); +} +static void xonar_d2_cleanup (struct oxygen *chip) {xonar_disable_output (chip);
@@ -1138,6 +1149,14 @@ int get_xonar_pcm179x_model(struct oxygen *chip, chip->model.resume = xonar_stx_resume; chip->model.set_dac_params = set_pcm1796_params;break ; +case 0x8428 : + chip->model = model_xonar_st; + chip->model.shortname ="Xonar Xense" ; + chip->model.chip ="AV100" ; + chip->model.init = xonar_xense_init; + chip->model.dac_channels_pcm =8 ; + chip->model.dac_channels_mixer =8 ; +break ;default :return -EINVAL ; }
Signature · 1 line
1.8.1.2
Clemens Ladisch
maintainerQuoted 2 lines · Ian Dawes
Signed-off-by Ian Dawes <[email protected]>
The commit message was squashed into the subject line. There's probably an empty line missing between them.
sound/pci/oxygen/xonar_pcm179x.c static void xonar_stx_init(struct oxygen *chip) · line 511
Quoted 11 lines
+++
b/sound/pci/oxygen/xonar_pcm179x.csound/pci/oxygen/xonar_pcm179x.c +10
-0+static void xonar_xense_init (struct oxygen *chip) +{ +struct xonar_pcm179x *data = chip->model_data; + + data->generic.ext_power_reg =OXYGEN_GPI_DATA ; + data->generic.ext_power_int_reg =OXYGEN_GPI_INTERRUPT_MASK ; + data->generic.ext_power_bit =GPI_EXT_POWER ; +xonar_init_ext_power (chip); +xonar_st_init (chip); +}
How much of this is guesswork? :-)
Shouldn't you rather use xonar_stx_init(), which does not try to configure the nonexistent CS2000 chip?
sound/pci/oxygen/xonar_pcm179x.c int get_xonar_pcm179x_model(struct oxygen *chip, · line 1158
Quoted 7 lines
sound/pci/oxygen/xonar_pcm179x.c +7
-0+case 0x8428 : + chip->model = model_xonar_st; + chip->model.shortname ="Xonar Xense" ; + chip->model.chip ="AV100" ; + chip->model.init = xonar_xense_init; + chip->model.dac_channels_pcm =8 ; + chip->model.dac_channels_mixer =8 ;
When only two channels work, why declaring more?
Regards,
Clemens
A message that is not in the archive (sent off-list or not yet received): 20130729212503.04107489@mainbox
A message that is not in the archive (sent off-list or not yet received): [email protected]
A message that is not in the archive (sent off-list or not yet received): 20130729214039.6d673367@mainbox
Clemens Ladisch
maintainerQuoted 7 lines · Ian Dawes
Quoted 6 lines · Clemens Ladisch
Quoted 5 lines · Ian Dawes
Quoted 4 lines · Clemens Ladisch
Quoted 2 lines · Ian Dawes
Signed-off-by Ian Dawes <[email protected]>
Quoted 8 lines
Quoted 6 lines
Quoted 4 lines
Quoted 2 lines
The commit message was squashed into the subject line. There's probably an empty line missing between them.
I'm not sure what this means.
Did you intend for the subject to be this long?
Probably not. I added "resubmitted" to the subject
And the "Added support ..." was supposed to be in the subject, too?
Quoted 1 line
How should I rectify this?
Ensure there is an empty line after the subject.
Regards,
Clemens
Quoted 8 lines · Clemens Ladisch
Quoted 7 lines · Ian Dawes
Quoted 6 lines · Clemens Ladisch
Quoted 5 lines · Ian Dawes
Quoted 4 lines · Clemens Ladisch
Quoted 1 line · Ian Dawes
Signed-off-by Ian Dawes <[email protected]>The commit message was squashed into the subject line. There's probably an empty line missing between them.
Quoted 7 lines
Quoted 3 lines
Quoted 2 lines
Quoted 1 line
I'm not sure what this means.
Did you intend for the subject to be this long?
Probably not. I added "resubmitted" to the subject
And the "Added support ..." was supposed to be in the subject, too?
Quoted 1 line
How should I rectify this?
Ensure there is an empty line after the subject.
Should I resubmit the patch then? (with the additional channels removed and fixed subject line)
Quoted 4 lines
Regards,
Clemens
Apologies for my stupid questions! :)
Clemens Ladisch
maintainerQuoted 10 lines · Ian Dawes
Quoted 9 lines · Clemens Ladisch
Quoted 8 lines · Ian Dawes
Quoted 7 lines · Clemens Ladisch
Quoted 6 lines · Ian Dawes
Quoted 4 lines · Clemens Ladisch
Quoted 1 line · Ian Dawes
Signed-off-by Ian Dawes <[email protected]>The commit message was squashed into the subject line. There's probably an empty line missing between them.
I'm not sure what this means.
Quoted 8 lines
Quoted 6 lines
Quoted 2 lines
Quoted 1 line
Did you intend for the subject to be this long?
Probably not. I added "resubmitted" to the subject
And the "Added support ..." was supposed to be in the subject, too?
Quoted 1 line
How should I rectify this?
Ensure there is an empty line after the subject.
Should I resubmit the patch then? (with the additional channels removed and fixed subject line)
Yes, please.
Regards,
Clemens