alsa on ubuntu 8

View: New views
8 Messages — Rating Filter:   Alert me  

alsa on ubuntu 8

by Jure Pečar :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


Hello,

I just discovered that on Ubuntu 8.04 modprobing em8300 with or witout
audio_driver=alsa does not register em8300 as alsa device. This happens
both with 0.16.4 and 0.17.0. em8300 gets loaded and only loads
soundcore module as dependency, but not alsa.

What am I missing?


--

Jure Pečar
http://jure.pecar.org/

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Dxr3-devel mailing list
Dxr3-devel@...
https://lists.sourceforge.net/lists/listinfo/dxr3-devel

Re: alsa on ubuntu 8

by Nicolas Boullis :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi Jure,

On Sat, May 17, 2008 at 12:38:56AM +0200, Jure Pečar wrote:
>
> Hello,
>
> I just discovered that on Ubuntu 8.04 modprobing em8300 with or witout
> audio_driver=alsa does not register em8300 as alsa device. This happens
> both with 0.16.4 and 0.17.0. em8300 gets loaded and only loads
> soundcore module as dependency, but not alsa.

That sounds strange...
I have no explanation yet, but a few questions that may help.
  - What kernel version are you using?
  - Is it a home-built kernel or a distro-provided one?
  - Can you send a copy of your kernel's configuration?
  - Do you have other audio devices? What kind of driver (OSS or ALSA)
    are they using?


Cheers,

Nicolas

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Dxr3-devel mailing list
Dxr3-devel@...
https://lists.sourceforge.net/lists/listinfo/dxr3-devel

Re: alsa on ubuntu 8

by Jure Pečar :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Tue, 20 May 2008 02:02:45 +0200
Nicolas Boullis <nboullis@...> wrote:

> Hi Jure,
>
> On Sat, May 17, 2008 at 12:38:56AM +0200, Jure Pečar wrote:
> >
> > Hello,
> >
> > I just discovered that on Ubuntu 8.04 modprobing em8300 with or witout
> > audio_driver=alsa does not register em8300 as alsa device. This happens
> > both with 0.16.4 and 0.17.0. em8300 gets loaded and only loads
> > soundcore module as dependency, but not alsa.
>
> That sounds strange...
> I have no explanation yet, but a few questions that may help.
>   - What kernel version are you using?
>   - Is it a home-built kernel or a distro-provided one?
>   - Can you send a copy of your kernel's configuration?
>   - Do you have other audio devices? What kind of driver (OSS or ALSA)
>     are they using?

Still same with 0.17.2. Kernel is 8.04 default, which is 2.6.24-19-generic

In the logs I get:

ACPI: PCI Interrupt 0000:04:08.0[A] -> Link [LNKA] -> GSI 17 (level, low)
-> IRQ 22
em8300: EM8300 8300 (rev 2) <6>bus: 4, devfn: 64, irq: 22, <6>memory:
0xfa900000.
em8300: mapped-memory at 0xf9080000
em8300: using MTRR em8300: detected card: Hollywood+ type 2.
em8300_main.o: Chip revision: 2 adv717x.o: ADV7170 chip detected
em8300_audio.o: Analog audio enabled
em8300: Microcode version 0x29 loaded

However:

# cat /proc/asound/cards
 0 [NVidia         ]: HDA-Intel - HDA NVidia
                      HDA NVidia at 0xfebd8000 irq 16

shows only onboard audio, as

# cat /proc/asound/modules
 0 snd_hda_intel

only shows onboard audio module loaded.

Is there anyone using em8300 under ubuntu 8.04 successfully?


--

Jure Pečar
http://jure.pecar.org/

------------------------------------------------------------------------------
SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada.
The future of the web can't happen without you.  Join us at MIX09 to help
pave the way to the Next Web now. Learn more and register at
http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/
_______________________________________________
Dxr3-devel mailing list
Dxr3-devel@...
https://lists.sourceforge.net/lists/listinfo/dxr3-devel

Re: alsa on ubuntu 8

by Nicolas Boullis :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi,

On Tue, Dec 16, 2008 at 08:24:16PM +0100, Jure Pečar wrote:

> > >
> > > I just discovered that on Ubuntu 8.04 modprobing em8300 with or witout
> > > audio_driver=alsa does not register em8300 as alsa device. This happens
> > > both with 0.16.4 and 0.17.0. em8300 gets loaded and only loads
> > > soundcore module as dependency, but not alsa.
>
> Still same with 0.17.2. Kernel is 8.04 default, which is 2.6.24-19-generic
>
> In the logs I get:
>
> ACPI: PCI Interrupt 0000:04:08.0[A] -> Link [LNKA] -> GSI 17 (level, low)
> -> IRQ 22
> em8300: EM8300 8300 (rev 2) <6>bus: 4, devfn: 64, irq: 22, <6>memory:
> 0xfa900000.
> em8300: mapped-memory at 0xf9080000
> em8300: using MTRR em8300: detected card: Hollywood+ type 2.
> em8300_main.o: Chip revision: 2 adv717x.o: ADV7170 chip detected
> em8300_audio.o: Analog audio enabled

Hmmm...
Unless I'm mistaken, this line is logged when em8300_audio_setup is
called, and it is only called when audio_driver=oss or
audio_driver=osslike.

I think you should double-check that you have audio_driver=alsa
correctly set.
Can you run "cat /sys/module/em8300/parameters/audio_driver"?


Cheers,

Nicolas

------------------------------------------------------------------------------
SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada.
The future of the web can't happen without you.  Join us at MIX09 to help
pave the way to the Next Web now. Learn more and register at
http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/
_______________________________________________
Dxr3-devel mailing list
Dxr3-devel@...
https://lists.sourceforge.net/lists/listinfo/dxr3-devel

Re: alsa on ubuntu 8

by Jure Pečar :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Wed, 17 Dec 2008 02:04:25 +0100
Nicolas Boullis <nboullis@...> wrote:

> I think you should double-check that you have audio_driver=alsa
> correctly set.
> Can you run "cat /sys/module/em8300/parameters/audio_driver"?

# modprobe em8300 audio_driver=alsa
# cat /sys/module/em8300/parameters/audio_driver
oss,oss,oss,oss

After I put "options em8300 audio_driver=alsa" in both /etc/modutils/em8300
and /etc/modprobe.d/em8300 and modprobe em8300, I get:

# cat /sys/module/em8300/parameters/audio_driver
alsa,oss,oss,oss

But still no alsa device:

# cat /proc/asound/cards
 0 [NVidia         ]: HDA-Intel - HDA NVidia
                      HDA NVidia at 0xfebd8000 irq 16


--

Jure Pečar
http://jure.pecar.org/

------------------------------------------------------------------------------
SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada.
The future of the web can't happen without you.  Join us at MIX09 to help
pave the way to the Next Web now. Learn more and register at
http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/
_______________________________________________
Dxr3-devel mailing list
Dxr3-devel@...
https://lists.sourceforge.net/lists/listinfo/dxr3-devel

Re: alsa on ubuntu 8

by Nicolas Boullis :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi,

On Wed, Dec 17, 2008 at 11:57:09PM +0100, Jure Pečar wrote:

>
> After I put "options em8300 audio_driver=alsa" in both /etc/modutils/em8300
> and /etc/modprobe.d/em8300 and modprobe em8300, I get:
>
> # cat /sys/module/em8300/parameters/audio_driver
> alsa,oss,oss,oss
>
> But still no alsa device:
>
> # cat /proc/asound/cards
>  0 [NVidia         ]: HDA-Intel - HDA NVidia
>                       HDA NVidia at 0xfebd8000 irq 16

Assuming that Ubuntu is still very similar to Debian, can you send a
copy of your
  /boot/config-$(uname -r)
file?

Did you get any warning when you compiled the em8300 drivers?

If it still does not help, I guess I'll have to write a patch to get
more debugging information...


Cheers,

Nicolas

------------------------------------------------------------------------------
_______________________________________________
Dxr3-devel mailing list
Dxr3-devel@...
https://lists.sourceforge.net/lists/listinfo/dxr3-devel

Re: alsa on ubuntu 8

by Jure Pečar :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Sun, 28 Dec 2008 14:32:21 +0100
Nicolas Boullis <nboullis@...> wrote:

> If it still does not help, I guess I'll have to write a patch to get
> more debugging information...

No need. I upgraded to 8.10 and things magically work again.


--

Jure Pečar
http://jure.pecar.org

------------------------------------------------------------------------------
_______________________________________________
Dxr3-devel mailing list
Dxr3-devel@...
https://lists.sourceforge.net/lists/listinfo/dxr3-devel

Re: alsa on ubuntu 8

by Nicolas Boullis :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi Jure,

On Tue, Jan 06, 2009 at 01:58:29PM +0100, Jure Pečar wrote:
>
> I upgraded to 8.10 and things magically work again.

Thats good news, although I'm still curious why it did not work.


Cheers,

Nicolas

------------------------------------------------------------------------------
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
_______________________________________________
Dxr3-devel mailing list
Dxr3-devel@...
https://lists.sourceforge.net/lists/listinfo/dxr3-devel