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

Re: How to enable sound with Intel AC'97 on Sony VAIO GRX316G?





Mariano Kamp wrote:
On Fri, 2002-11-01 at 18:08, Thomas Girard wrote:


Add i810_audio to /etc/modules. You may also use the sonypi modules which will allow you to use the jogdial (apt-get install sjog).

That is interesting. How do I know that the jogdial is working? Do I
need to change something in XConfig?

* modprobe sonypi. Check that /dev/sonypi exists. If not, check /var/log/messages. A modinfo sonypi could help you too. * In a xsession, run sjog. If you get a permission denied error, try running sjog as root, just to see if it works. Using this program, you can change sound volume, change brightness, and many other things since it is fully customizable. * You'll probably need to change the permissions on /dev/sonypi or change group of this device. If you happen to use devfsd, then I can't help you anymore, because I'm using it and I haven't read devfsd.conf manpage yet. So I can't really use sjog when not root ;-). * The next step would be to prepend somewhere, e.g. in your .xsession or your .xinitrc: sjog & before running any window manager.
Cheers,
Mariano


* but when loaded by hand * xmms does work and outputs that it used OSS
       * kde sound does not work (when logging in it complains about
         /dev/dsp permision denied)

Add yourself to the audio group, or whatever group the /dev/dsp device belongs to. When modprobing i810_audio, if you did compile as modules OSS soud modules, your lsmod should read :
i810_audio
soundcore
ac97_codec

Hope this helps. Note that my lsmod also reads i810_rng, since I compiled as a module the pseudo random number generator. I'm not sure it's related, but that's worth trying. Anyway, since you're using a vaio, you should use the sonypi driver (located in character devices). Being able to use the jogdial is great, and I think it also gives access to other sony specific features.

       * gnome is quiet too

 What should I do next?

 What about alsa? I read that alsa is now the way to go, but oss. I
didn't find a alsa howto nor a package below /usr/doc. Where should I
look?

Cheers,
Mariano

On Fri, 2002-11-01 at 13:50, Thomas Girard wrote:


I had exactly the same problem, on the same machine.
First of all, you should try OSS module i810_audio. If you card remains mute, or produces strange sounds as it did for me, you'll have to follow these steps: Update ACPI on your kernel. The reason why the sound card was not correctly working before is related to a IRQ sharing issue solved recently in the ACPI subsystem. the sound works perfectly with the OSS driver Intel ICH (i8xx) module named i810_audio. So you have to: 1. Patch your kernel with the latest version of ACPI, available from http://acpi.sourceforge.net 2. Compile a new kernel with ACPI enabled (I include it in the kernel, not as a module), and choose in the sound config:
<M> Sound card support
...
<M> Intel ICH (i8xx)
...
<M> OSS Sound modules
3. Use the new kernel.

I can provide my .config, if it helps,

Thomas

Mariano Kamp wrote:


Hi,
lspci -vv gives the following output:



00:1f.5 Multimedia audio controller: Intel Corp. AC'97 Audio Controller
(rev 02)
      Subsystem: Sony Corporation: Unknown device 80fa
      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 9
      Region 0: I/O ports at 1c00 [size=256]
      Region 1: I/O ports at 18c0 [size=64]

I don't find a Kernel Module with a similar name?! What do I need to
look for? Would the discovery of the right module be everything needed
to get the sound up and running on woody or do I need anything else?

Just in case that is interesting?!hamlet:/home/mkamp# lsmod
Module                  Size  Used by    Not tainted
bsd_comp                3968   0  (autoclean)
ppp_async               5984   1  (autoclean)
ppp_generic            14088   3  (autoclean) [bsd_comp ppp_async]
slhc                    4352   0  (autoclean) [ppp_generic]
eepro100 16976 1 ieee1394 25576 0 (unused)
usb-uhci               20996   0  (unused)
usbcore                52512   0  [usb-uhci]
rtc                     5368   0  (autoclean)


Mariano





--
Thomas Girard
51 rue Curiol
13001 Marseille

mailto:thomas.g.girard@free.fr


--
To UNSUBSCRIBE, email to debian-laptop-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org






--
Thomas Girard
51 rue Curiol
13001 Marseille

mailto:thomas.g.girard@free.fr


--
To UNSUBSCRIBE, email to debian-laptop-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org








Reply to: