Re: No sound with Thinkpad X60

2013-03-23 Thread Peter Harrison
Friday, 22 March 2013 at  6:28:57 +0100, Bernt Hansson said:
 2013-03-22 00:42, Peter Harrison skrev:
 
 Put this in your /boot/loader.conf and report back.
 
 hw.snd.default_unit=0
 
 Test with other nubers if 0 do not work.

Thanks Bernt.

Here's the relevant bit of rc.conf

snddetect_enable=YES
mixer_enable=YES

and I have 

snd_hda_load=YES

in my loader.conf, so shouldn't need the sound_enable you suggested I think?

I also have this in my device.hints:

hint.hdac.0.cad0nid7.config=as=1

but I think that's a typo and there should be an extra period in there somewhere

That said, I'm not going to change anything because all of a sudden and for no 
reason that I can figure out, it is now working. I have sound. 

Go figure.

Thanks for your help.



Peter Harrison.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: No sound with Thinkpad X60

2013-03-23 Thread Peter Harrison
Friday, 22 March 2013 at 12:30:37 -0400, Lowell Gilbert said:
 Jerry je...@seibercom.net writes:
 
  On Fri, 22 Mar 2013 06:28:57 +0100
  Bernt Hansson articulated:
 
  2013-03-22 00:42, Peter Harrison skrev:
  
  Put this in your /boot/loader.conf and report back.
  
  hw.snd.default_unit=0
  
  Test with other nubers if 0 do not work.
 
  Using an nVidia card, I had to do the following:
 
  /etc/sysctl.conf
hw.snd.default_unit=4
 
  Rebooted and the sound worked. I never found any truly accurate
  information on it, it was basically just a trail and error experiment.
  And YES, it sucks that in all to many cases, sound doesn't just work.
 
 You don't actually need to reboot for each trial. Running sysctl(8) from
 the command line will do. And /dev/sndstat would probably tell you the
 right value to try. These things are covered in the Handbook..
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org

Indeed. I've been faffing around with various sysctl settings from the command 
line without rebooting. As I mentioned in a slightly earlier email though, it's 
working now - although I can't figure out why, it is.

Thanks for your help.



Peter Harrison.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: No sound with Thinkpad X60

2013-03-22 Thread Jerry
On Fri, 22 Mar 2013 06:28:57 +0100
Bernt Hansson articulated:

 2013-03-22 00:42, Peter Harrison skrev:
 
 Put this in your /boot/loader.conf and report back.
 
 hw.snd.default_unit=0
 
 Test with other nubers if 0 do not work.

Using an nVidia card, I had to do the following:

/etc/sysctl.conf
  hw.snd.default_unit=4

Rebooted and the sound worked. I never found any truly accurate
information on it, it was basically just a trail and error experiment.
And YES, it sucks that in all to many cases, sound doesn't just work.

-- 
Jerry ♔

Disclaimer: off-list followups get on-list replies or get ignored.
Please do not ignore the Reply-To header.
__

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org

Re: No sound with Thinkpad X60

2013-03-22 Thread Bernt Hansson

2013-03-22 12:31, Jerry skrev:

On Fri, 22 Mar 2013 06:28:57 +0100
Bernt Hansson articulated:


2013-03-22 00:42, Peter Harrison skrev:

Put this in your /boot/loader.conf and report back.

hw.snd.default_unit=0

Test with other nubers if 0 do not work.


Using an nVidia card, I had to do the following:

/etc/sysctl.conf
   hw.snd.default_unit=4

Rebooted and the sound worked. I never found any truly accurate
information on it, it was basically just a trail and error experiment.
And YES, it sucks that in all to many cases, sound doesn't just work.



If it just work there is no fun. Tinkering and using a braincell, or 
at the most two is much more rewarding.

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: No sound with Thinkpad X60

2013-03-22 Thread Lowell Gilbert
Jerry je...@seibercom.net writes:

 On Fri, 22 Mar 2013 06:28:57 +0100
 Bernt Hansson articulated:

 2013-03-22 00:42, Peter Harrison skrev:
 
 Put this in your /boot/loader.conf and report back.
 
 hw.snd.default_unit=0
 
 Test with other nubers if 0 do not work.

 Using an nVidia card, I had to do the following:

 /etc/sysctl.conf
   hw.snd.default_unit=4

 Rebooted and the sound worked. I never found any truly accurate
 information on it, it was basically just a trail and error experiment.
 And YES, it sucks that in all to many cases, sound doesn't just work.

You don't actually need to reboot for each trial. Running sysctl(8) from
the command line will do. And /dev/sndstat would probably tell you the
right value to try. These things are covered in the Handbook..
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: No sound with Thinkpad X60

2013-03-21 Thread Peter Harrison
Saturday, 16 March 2013 at  0:17:18 +0100, Michael Ross said:
 On Sat, 16 Mar 2013 00:28:27 +0100, Peter Harrison  
 four.harris...@googlemail.com wrote:
 
  Friday, 15 March 2013 at 18:48:24 +0100, Michael Ross said:
  On Thu, 14 Mar 2013 23:59:09 +0100, Peter Harrison
  four.harris...@googlemail.com wrote:
 
   Hi list,
  
   I've a problem with sound on a Thinkpad X60, which has an Intel HDA  
  chip.
  
   This is what I see in dmesg:
  
   hdac0: Intel 82801G HDA Controller mem 0xee24-0xee243fff irq 17  
  at
   device 27.0 on pci0
   hdacc0: Analog Devices AD1981HD HDA CODEC at cad 0 on hdac0
   hdaa0: Analog Devices AD1981HD Audio Function Group at nid 1 on  
  hdacc0
   pcm0: Analog Devices AD1981HD (Analog) at nid 5 and 25,8 on hdaa0
   hdacc1: Conexant (0x2bfa) HDA CODEC at cad 1 on hdac0
   unknown: Conexant (0x2bfa) HDA CODEC Modem Function Group at nid 2  
  on
   hdacc1 (no driver attached)
  
   and from sndstat:
  
   FreeBSD Audio Driver (newpcm: 32bit 2009061500/i386)
   Installed devices:
   pcm0: Analog Devices AD1981HD (Analog) (play/rec) default
  
   and from mixer:
  
   Mixer vol  is currently set to 100:100
   Mixer pcm  is currently set to 100:100
   Mixer speaker  is currently set to 100:100
   Mixer cd   is currently set to   1:1
   Mixer rec  is currently set to   1:1
   Mixer igainis currently set to  42:42
   Mixer ogainis currently set to 100:100
   Mixer monitor  is currently set to  67:67
   Recording source: cd
  
   But I have no sound. This is using Gnome 2.32 on 9.1-R. I did  
  initially
   accidentally install Pulseaudio, but have subsequently deleted it and
   reinstalled everything that depended on it without the Pulseaudio
   dependency.
  
   Any thoughts on what I'm doing wrong?
  
   Thanks in advance.
 
  Possibly not helping a lot:
 
  I have a T510 thinkpad with Intel HDA audio, running Windows 7.
  I need to have the audio driver *and* the modem driver installed for any
  sound to work.
  So possibly the modem part has to be initialised or something.
  You have no driver attached on your modem, so maybe that's worth  
  looking
  at.
 
  You could also try if sound works from a terminal without running Gnome  
  at
  all,
  just to be sure it's not some Gnome configuration thing.
 
  Regards,
 
  Michael
 
  Thanks Michael.
 
  Tried turning gnome off. Still no sound from the console. Is there a  
  FreeBSD kernel module for the modem?
 
 
 Don't know.
 But stepping back, do you have snd_hda loaded?
 ( Silly me, should have been the first question. )
 
 Found this:
 http://www.bmichelsen.no/blog/2012/01/28/configuring-freebsd-for-x60s/
 
 Regards,
 
 Michael

Sorry for the late reply, been away from the keyboard for a while.

I'm not loading snd_hda separately, but it's definitely there:

root@thinkpad:/home/peter # kldload snd_hda
kldload: can't load snd_hda: File exists

I've seen that blog and a couple of other sites describing configure FreeBSD on 
the X60, and they all seem to infer that sound works without a problem.

So for the moment at least I'm stumped.

Thanks for trying to help.

Cheers,



Peter Harrison.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: No sound with Thinkpad X60

2013-03-21 Thread Bernt Hansson

2013-03-22 00:42, Peter Harrison skrev:

Sorry for the late reply, been away from the keyboard for a while.

I'm not loading snd_hda separately, but it's definitely there:

root@thinkpad:/home/peter # kldload snd_hda
kldload: can't load snd_hda: File exists

I've seen that blog and a couple of other sites describing configure FreeBSD on 
the X60, and they all seem to infer that sound works without a problem.

So for the moment at least I'm stumped.

Thanks for trying to help.

Cheers,


In your /etc/rc.conf you have

mixer_enable=YES  # Run the sound mixer.

sound_enable=YES Dont know if that should be in loader.conf or

rc.conf. Not having it myself.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: No sound with Thinkpad X60

2013-03-21 Thread Polytropon
On Fri, 22 Mar 2013 05:27:22 +0100, Bernt Hansson wrote:
 sound_enable=YES Dont know if that should be in loader.conf or
 rc.conf. Not having it myself.

That would be /boot/loader.conf, see /boot/defaults/loader.conf
for examples (e. g. how to specify snd_hda use).



-- 
Polytropon
Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: No sound with Thinkpad X60

2013-03-21 Thread Bernt Hansson

2013-03-22 00:42, Peter Harrison skrev:

Put this in your /boot/loader.conf and report back.

hw.snd.default_unit=0

Test with other nubers if 0 do not work.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: No sound with Thinkpad X60

2013-03-15 Thread Michael Ross
On Thu, 14 Mar 2013 23:59:09 +0100, Peter Harrison  
four.harris...@googlemail.com wrote:



Hi list,

I've a problem with sound on a Thinkpad X60, which has an Intel HDA chip.

This is what I see in dmesg:

hdac0: Intel 82801G HDA Controller mem 0xee24-0xee243fff irq 17 at  
device 27.0 on pci0

hdacc0: Analog Devices AD1981HD HDA CODEC at cad 0 on hdac0
hdaa0: Analog Devices AD1981HD Audio Function Group at nid 1 on hdacc0
pcm0: Analog Devices AD1981HD (Analog) at nid 5 and 25,8 on hdaa0
hdacc1: Conexant (0x2bfa) HDA CODEC at cad 1 on hdac0
unknown: Conexant (0x2bfa) HDA CODEC Modem Function Group at nid 2 on  
hdacc1 (no driver attached)


and from sndstat:

FreeBSD Audio Driver (newpcm: 32bit 2009061500/i386)
Installed devices:
pcm0: Analog Devices AD1981HD (Analog) (play/rec) default

and from mixer:

Mixer vol  is currently set to 100:100
Mixer pcm  is currently set to 100:100
Mixer speaker  is currently set to 100:100
Mixer cd   is currently set to   1:1
Mixer rec  is currently set to   1:1
Mixer igainis currently set to  42:42
Mixer ogainis currently set to 100:100
Mixer monitor  is currently set to  67:67
Recording source: cd

But I have no sound. This is using Gnome 2.32 on 9.1-R. I did initially  
accidentally install Pulseaudio, but have subsequently deleted it and  
reinstalled everything that depended on it without the Pulseaudio  
dependency.


Any thoughts on what I'm doing wrong?

Thanks in advance.


Possibly not helping a lot:

I have a T510 thinkpad with Intel HDA audio, running Windows 7.
I need to have the audio driver *and* the modem driver installed for any  
sound to work.

So possibly the modem part has to be initialised or something.
You have no driver attached on your modem, so maybe that's worth looking  
at.


You could also try if sound works from a terminal without running Gnome at  
all,

just to be sure it's not some Gnome configuration thing.

Regards,

Michael
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: No sound with Thinkpad X60

2013-03-15 Thread Peter Harrison
Friday, 15 March 2013 at 18:48:24 +0100, Michael Ross said:
 On Thu, 14 Mar 2013 23:59:09 +0100, Peter Harrison  
 four.harris...@googlemail.com wrote:
 
  Hi list,
 
  I've a problem with sound on a Thinkpad X60, which has an Intel HDA chip.
 
  This is what I see in dmesg:
 
  hdac0: Intel 82801G HDA Controller mem 0xee24-0xee243fff irq 17 at  
  device 27.0 on pci0
  hdacc0: Analog Devices AD1981HD HDA CODEC at cad 0 on hdac0
  hdaa0: Analog Devices AD1981HD Audio Function Group at nid 1 on hdacc0
  pcm0: Analog Devices AD1981HD (Analog) at nid 5 and 25,8 on hdaa0
  hdacc1: Conexant (0x2bfa) HDA CODEC at cad 1 on hdac0
  unknown: Conexant (0x2bfa) HDA CODEC Modem Function Group at nid 2 on  
  hdacc1 (no driver attached)
 
  and from sndstat:
 
  FreeBSD Audio Driver (newpcm: 32bit 2009061500/i386)
  Installed devices:
  pcm0: Analog Devices AD1981HD (Analog) (play/rec) default
 
  and from mixer:
 
  Mixer vol  is currently set to 100:100
  Mixer pcm  is currently set to 100:100
  Mixer speaker  is currently set to 100:100
  Mixer cd   is currently set to   1:1
  Mixer rec  is currently set to   1:1
  Mixer igainis currently set to  42:42
  Mixer ogainis currently set to 100:100
  Mixer monitor  is currently set to  67:67
  Recording source: cd
 
  But I have no sound. This is using Gnome 2.32 on 9.1-R. I did initially  
  accidentally install Pulseaudio, but have subsequently deleted it and  
  reinstalled everything that depended on it without the Pulseaudio  
  dependency.
 
  Any thoughts on what I'm doing wrong?
 
  Thanks in advance.
 
 Possibly not helping a lot:
 
 I have a T510 thinkpad with Intel HDA audio, running Windows 7.
 I need to have the audio driver *and* the modem driver installed for any  
 sound to work.
 So possibly the modem part has to be initialised or something.
 You have no driver attached on your modem, so maybe that's worth looking  
 at.
 
 You could also try if sound works from a terminal without running Gnome at  
 all,
 just to be sure it's not some Gnome configuration thing.
 
 Regards,
 
 Michael

Thanks Michael.

Tried turning gnome off. Still no sound from the console. Is there a FreeBSD 
kernel module for the modem?

Thanks again,



Peter Harrison.

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: No sound with Thinkpad X60

2013-03-15 Thread Michael Ross
On Sat, 16 Mar 2013 00:28:27 +0100, Peter Harrison  
four.harris...@googlemail.com wrote:



Friday, 15 March 2013 at 18:48:24 +0100, Michael Ross said:

On Thu, 14 Mar 2013 23:59:09 +0100, Peter Harrison
four.harris...@googlemail.com wrote:

 Hi list,

 I've a problem with sound on a Thinkpad X60, which has an Intel HDA  
chip.


 This is what I see in dmesg:

 hdac0: Intel 82801G HDA Controller mem 0xee24-0xee243fff irq 17  
at

 device 27.0 on pci0
 hdacc0: Analog Devices AD1981HD HDA CODEC at cad 0 on hdac0
 hdaa0: Analog Devices AD1981HD Audio Function Group at nid 1 on  
hdacc0

 pcm0: Analog Devices AD1981HD (Analog) at nid 5 and 25,8 on hdaa0
 hdacc1: Conexant (0x2bfa) HDA CODEC at cad 1 on hdac0
 unknown: Conexant (0x2bfa) HDA CODEC Modem Function Group at nid 2  
on

 hdacc1 (no driver attached)

 and from sndstat:

 FreeBSD Audio Driver (newpcm: 32bit 2009061500/i386)
 Installed devices:
 pcm0: Analog Devices AD1981HD (Analog) (play/rec) default

 and from mixer:

 Mixer vol  is currently set to 100:100
 Mixer pcm  is currently set to 100:100
 Mixer speaker  is currently set to 100:100
 Mixer cd   is currently set to   1:1
 Mixer rec  is currently set to   1:1
 Mixer igainis currently set to  42:42
 Mixer ogainis currently set to 100:100
 Mixer monitor  is currently set to  67:67
 Recording source: cd

 But I have no sound. This is using Gnome 2.32 on 9.1-R. I did  
initially

 accidentally install Pulseaudio, but have subsequently deleted it and
 reinstalled everything that depended on it without the Pulseaudio
 dependency.

 Any thoughts on what I'm doing wrong?

 Thanks in advance.

Possibly not helping a lot:

I have a T510 thinkpad with Intel HDA audio, running Windows 7.
I need to have the audio driver *and* the modem driver installed for any
sound to work.
So possibly the modem part has to be initialised or something.
You have no driver attached on your modem, so maybe that's worth  
looking

at.

You could also try if sound works from a terminal without running Gnome  
at

all,
just to be sure it's not some Gnome configuration thing.

Regards,

Michael


Thanks Michael.

Tried turning gnome off. Still no sound from the console. Is there a  
FreeBSD kernel module for the modem?




Don't know.
But stepping back, do you have snd_hda loaded?
( Silly me, should have been the first question. )

Found this:
http://www.bmichelsen.no/blog/2012/01/28/configuring-freebsd-for-x60s/

Regards,

Michael
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


No sound with Thinkpad X60

2013-03-14 Thread Peter Harrison
Hi list,

I've a problem with sound on a Thinkpad X60, which has an Intel HDA chip.

This is what I see in dmesg:

hdac0: Intel 82801G HDA Controller mem 0xee24-0xee243fff irq 17 at device 
27.0 on pci0
hdacc0: Analog Devices AD1981HD HDA CODEC at cad 0 on hdac0
hdaa0: Analog Devices AD1981HD Audio Function Group at nid 1 on hdacc0
pcm0: Analog Devices AD1981HD (Analog) at nid 5 and 25,8 on hdaa0
hdacc1: Conexant (0x2bfa) HDA CODEC at cad 1 on hdac0
unknown: Conexant (0x2bfa) HDA CODEC Modem Function Group at nid 2 on hdacc1 
(no driver attached)

and from sndstat:

FreeBSD Audio Driver (newpcm: 32bit 2009061500/i386)
Installed devices:
pcm0: Analog Devices AD1981HD (Analog) (play/rec) default

and from mixer:

Mixer vol  is currently set to 100:100
Mixer pcm  is currently set to 100:100
Mixer speaker  is currently set to 100:100
Mixer cd   is currently set to   1:1
Mixer rec  is currently set to   1:1
Mixer igainis currently set to  42:42
Mixer ogainis currently set to 100:100
Mixer monitor  is currently set to  67:67
Recording source: cd

But I have no sound. This is using Gnome 2.32 on 9.1-R. I did initially 
accidentally install Pulseaudio, but have subsequently deleted it and 
reinstalled everything that depended on it without the Pulseaudio dependency.

Any thoughts on what I'm doing wrong?

Thanks in advance.



Peter Harrison.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


No sound on Thinkpad X60

2013-03-14 Thread peter harrison
Hi list,

I've a problem with sound on a Thinkpad X60, which has an Intel HDA chip.

This is what I see in dmesg:

hdac0: Intel 82801G HDA Controller mem 0xee24-0xee243fff irq 17 at
device
27.0 on pci0
hdacc0: Analog Devices AD1981HD HDA CODEC at cad 0 on hdac0
hdaa0: Analog Devices AD1981HD Audio Function Group at nid 1 on hdacc0
pcm0: Analog Devices AD1981HD (Analog) at nid 5 and 25,8 on hdaa0
hdacc1: Conexant (0x2bfa) HDA CODEC at cad 1 on hdac0
unknown: Conexant (0x2bfa) HDA CODEC Modem Function Group at nid 2 on
hdacc1 (
no driver attached)

and from sndstat:

FreeBSD Audio Driver (newpcm: 32bit 2009061500/i386)
Installed devices:
pcm0: Analog Devices AD1981HD (Analog) (play/rec) default

and from mixer:

Mixer vol  is currently set to 100:100
Mixer pcm  is currently set to 100:100
Mixer speaker  is currently set to 100:100
Mixer cd   is currently set to   1:1
Mixer rec  is currently set to   1:1
Mixer igainis currently set to  42:42
Mixer ogainis currently set to 100:100
Mixer monitor  is currently set to  67:67
Recording source: cd

But I have no sound. This is using Gnome 2.32 on 9.1-R. I did initially
accidentally install Pulseaudio, but have subsequently deleted it and
reinstalled everything that depended on it without the Pulseaudio
dependency.

Any thoughts on what I'm doing wrong?

Thanks in advance.



Peter Harrison.

ps copying this via the gmail web interface as it didn't seem to make it
through from Mutt. Apologies if it appears twice.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org