2004-09-17 10:22:20

by Giuseppe Bilotta

[permalink] [raw]
Subject: Re: GPL source code for Smart USB 56 modem (includes ALSA AC97 patch)

Sasha Khapyorsky wrote:
> On Tue, 14 Sep 2004 23:04:41 +0200
> Giuseppe Bilotta <[email protected]> wrote:
>
> > Sasha Khapyorsky wrote:
> > > Such modems also exist (AC97 controller + MC97 codec + DAA), but
> > > less popular (especially with laptops there modem are mostly used).
> >
> > I have one such built in in my Dell Inspiron 8200, which is why
> > I'm following this thread with particular interest.
> >
> > The strange thing is that under Windows the modem is configured
> > as a Conexant thingie ... or is the problem that I have both
> > and the Conexant thingie is the one connected to the actual
> > modem plug? Is there a way to know this (other than having a
> > look inside my laptop, that is)?
>
> If it looks like this:
>
> 00:1f.6 Modem: Intel Corp. 82801CA/CAM AC'97 Modem Controller
>
> it is most likely on-board south bridge and MDC (or other riser)
> modem. This may work with ALSA.

That's it:

> 0000:00:1f.6 Modem: Intel Corp. 82801CA/CAM AC'97 Modem Controller (rev 02)


Very verbose lspci output for both the soundcard and modem give
me:

> 0000:00:1f.5 Multimedia audio controller: Intel Corp. 82801CA/CAM AC'97 Audio Controller (rev 02)
> Subsystem: Cirrus Logic: Unknown device 5959
> Control: I/O+ Mem- BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-
> Status: Cap- 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
> Latency: 0
> Interrupt: pin B routed to IRQ 7
> Region 0: I/O ports at d800 [size=256]
> Region 1: I/O ports at dc80 [size=64]
>
> 0000:00:1f.6 Modem: Intel Corp. 82801CA/CAM AC'97 Modem Controller (rev 02) (prog-if 00 [Generic])
> Subsystem: Conexant MD56ORD V.92 MDC Modem
> Control: I/O+ Mem- BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-
> Status: Cap- 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
> Interrupt: pin B routed to IRQ 7
> Region 0: I/O ports at d400 [size=256]
> Region 1: I/O ports at dc00 [size=128]

OTOH, ALSA in 2.6.5 doesn't like the modem controller:

> PCI: Setting latency timer of device 0000:00:1f.5 to 64
> MC'97 1 converters and GPIO not ready (0xff00)
> intel8x0_measure_ac97_clock: measured 52287 usecs
> intel8x0: clocking to 48000
> PCI: Setting latency timer of device 0000:00:1f.6 to 64
> MC'97 1 converters and GPIO not ready (0xff00)

and 2.6.7 totally fails on both the audio and modem controller

> unable to grab IRQ 7
> Intel ICH: probe of 0000:00:1f.5 failed with error -16
> unable to grab IRQ 7
> Intel ICH Modem: probe of 0000:00:1f.6 failed with error -16

I will try one of the 2.6.9 rcs one of these days and see if I
can get things to work.

--
Giuseppe "Oblomov" Bilotta

Can't you see
It all makes perfect sense
Expressed in dollar and cents
Pounds shillings and pence
(Roger Waters)


2004-09-18 10:26:25

by Sasha Khapyorsky

[permalink] [raw]
Subject: Re: GPL source code for Smart USB 56 modem (includes ALSA AC97 patch)

On Fri, 17 Sep 2004 12:22:05 +0200
Giuseppe Bilotta <[email protected]> wrote:

> That's it:
>
> > 0000:00:1f.6 Modem: Intel Corp. 82801CA/CAM AC'97 Modem Controller (rev 02)

This is on-board controller.

> OTOH, ALSA in 2.6.5 doesn't like the modem controller:
>
> > PCI: Setting latency timer of device 0000:00:1f.5 to 64
> > MC'97 1 converters and GPIO not ready (0xff00)
> > intel8x0_measure_ac97_clock: measured 52287 usecs
> > intel8x0: clocking to 48000
> > PCI: Setting latency timer of device 0000:00:1f.6 to 64
> > MC'97 1 converters and GPIO not ready (0xff00)
>
> and 2.6.7 totally fails on both the audio and modem controller
>
> > unable to grab IRQ 7
> > Intel ICH: probe of 0000:00:1f.5 failed with error -16
> > unable to grab IRQ 7
> > Intel ICH Modem: probe of 0000:00:1f.6 failed with error -16

Not sure that last one is ALSA related. As noted in mesg 'request_irq' fails.

> I will try one of the 2.6.9 rcs one of these days and see if I
> can get things to work.

If not please report a problem here https://bugtrack.alsa-project.org/alsa-bug/,
Or let me know.

Sasha.