Re: No Sound from Firefox

2013-10-07 Thread Jerry
On Mon, 07 Oct 2013 05:08:09 +0200
Bernt Hansson articulated:

 On 2013-10-06 21:31, Jerry wrote:
  $ /usr/local/bin/firefox
 
  (process:71385): GLib-CRITICAL **: g_slice_set_config: assertion
  `sys_page_size == 0' failed
 
  This is all I could gather.
 
 I get the same for firefox and thunderbird
 
 % firefox 
 [1] 37788
 %
 (process:37788): GLib-CRITICAL **: g_slice_set_config: assertion 
 `sys_page_size == 0' failed
 
 % thunderbird 
 [2] 38745
 %
 (process:38745): GLib-CRITICAL **: g_slice_set_config: assertion 
 `sys_page_size == 0' failed
 
 My guess it's related to glib.

I did a quick check with other users of FreeBSD  Firefox and they all
reported the same thing. Either the error is harmless or the FreeBSD
team doesn't give a crap about it. Either way, I would like to see some
sort of an official statement on it. Something along the lines of why
it cannot be corrected or is safe to ignore. A list of side effects
would be nice to.

-- 
Jerry ♔

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



Peter Frampton
___
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 from Firefox

2013-10-06 Thread Jerry
Firefox has suddenly went silent. I can view videos on Youtube for
instance, but there is no sound. If I save the video to dist and play
it with MPlayer, there is sound. I did update several PHP modules the
other day, but I don't know it that would have any effect on it. Also,
on several sites, a video starts to load then a blank white area takes
its place and that ends it. Any suggestions as to what might be the
problem.

-- 
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 from Firefox

2013-10-06 Thread Dave Morgan
On 06/10/13 at 10:27am, Jerry wrote:
 Firefox has suddenly went silent. I can view videos on Youtube for
 instance, but there is no sound. If I save the video to dist and play
 it with MPlayer, there is sound. I did update several PHP modules the
 other day, but I don't know it that would have any effect on it. Also,
 on several sites, a video starts to load then a blank white area takes
 its place and that ends it. Any suggestions as to what might be the
 problem.

 --
 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

Hi,

I think OSS support has been dropped from Firefox.

--
Dave.

GPG/PGP ID: CDB94DA1


pgpMp71G051bd.pgp
Description: PGP signature


Re: No Sound from Firefox

2013-10-06 Thread Jerry
On Sun, 6 Oct 2013 15:33:38 +0100
Dave Morgan articulated:

 On 06/10/13 at 10:27am, Jerry wrote:
  Firefox has suddenly went silent. I can view videos on Youtube for
  instance, but there is no sound. If I save the video to dist and
  play it with MPlayer, there is sound. I did update several PHP
  modules the other day, but I don't know it that would have any
  effect on it. Also, on several sites, a video starts to load then a
  blank white area takes its place and that ends it. Any suggestions
  as to what might be the problem.
 
  --
  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
 
 Hi,
 
 I think OSS support has been dropped from Firefox.

Okay, so what exactly does that mean?

-- 
Jerry ♔



signature.asc
Description: PGP signature


Re: No Sound from Firefox

2013-10-06 Thread Matthias Apitz
El día Sunday, October 06, 2013 a las 10:27:48AM -0400, Jerry escribió:

 Firefox has suddenly went silent. I can view videos on Youtube for
 instance, but there is no sound. If I save the video to dist and play
 it with MPlayer, there is sound. I did update several PHP modules the
 other day, but I don't know it that would have any effect on it. Also,
 on several sites, a video starts to load then a blank white area takes
 its place and that ends it. Any suggestions as to what might be the
 problem.

Jerry,

In my records about firefox  flashplugin I have about the no sound
problem:

no sound problem:
see also http://forums.freebsd.org/archive/index.php/t-3353.html
# cd /compat/linux/proc
# ln -s libssl.so.0.9.8g libssl.so.5

HIH

Vy 73

matthias
-- 
Matthias Apitz   |  /\ ASCII Ribbon Campaign: www.asciiribbon.org
E-mail: g...@unixarea.de |  \ / - No HTML/RTF in E-mail
WWW: http://www.unixarea.de/ |   X  - No proprietary attachments
phone: +49-170-4527211   |  / \ - Respect for open standards
___
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 from Firefox

2013-10-06 Thread Jerry
On Sun, 6 Oct 2013 16:40:16 +0200
Matthias Apitz articulated:

 El día Sunday, October 06, 2013 a las 10:27:48AM -0400, Jerry
 escribió:
 
  Firefox has suddenly went silent. I can view videos on Youtube for
  instance, but there is no sound. If I save the video to dist and
  play it with MPlayer, there is sound. I did update several PHP
  modules the other day, but I don't know it that would have any
  effect on it. Also, on several sites, a video starts to load then a
  blank white area takes its place and that ends it. Any suggestions
  as to what might be the problem.
 
 Jerry,
 
 In my records about firefox  flashplugin I have about the no sound
 problem:
 
 no sound problem:
 see also
 http://forums.freebsd.org/archive/index.php/t-3353.html #
 cd /compat/linux/proc # ln -s libssl.so.0.9.8g libssl.so.5
This is what I attempted to do:

/compat/linux/proc # ln -s libssl.so.0.9.8g libssl.so.5
ln: libssl.so.5: No such file or directory

/compat/linux/proc # locate libssl.so.5
/usr/local/lib/compat/libssl.so.5
/usr/local/lib32/compat/libssl.so.5

cd /usr/local/lib/compat

/usr/local/lib/compat # cd /usr/local/lib/compat
/usr/local/lib/compat # ln -s libssl.so.0.9.8g libssl.so.5
ln: libssl.so.5: File exists

So where do I go from here? Do I force the link?

-- 
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 from Firefox

2013-10-06 Thread Jerry
On Sun, 6 Oct 2013 20:15:18 +0200
Matthias Apitz articulated:

 In my netbook it is like this:

 $ uname -a
 FreeBSD tiny.Sisis.de 10.0-CURRENT FreeBSD 10.0-CURRENT #0 r235646: Sat May 
 19 15:52:36 CEST 2012 g...@aurora.sisis.de:/usr/obj/usr/src/sys/GENERIC  
 i386

 $ ls -l /compat/linux/lib/libssl*
 -rwxr-xr-x  1 root  wheel  303584 15 abr 07:54 
 /compat/linux/lib/libssl.so.0.9.8g
 lrwxr-xr-x  1 root  wheel  16 15 abr 07:54 /compat/linux/lib/libssl.so.7 
 - libssl.so.0.9.8g
 -rwxr-xr-x  1 root  wheel  198456 15 abr 07:55 /compat/linux/lib/libssl3.so

FreeBSD scorpio.seibercom.net 8.3-STABLE FreeBSD 8.3-STABLE #0: amd64

/compat/linux/lib $ ls -l /compat/linux/lib/libssl*
-rwxr-xr-x  1 root  wheel  303584 Sep 14  2010 
/compat/linux/lib/libssl.so.0.9.8g*
lrwxr-xr-x  1 root  wheel  16 Sep 14  2010 /compat/linux/lib/libssl.so.7@ 
- libssl.so.0.9.8g
-rwxr-xr-x  1 root  wheel  198456 Sep 14  2010 /compat/linux/lib/libssl3.so*

$ /usr/local/bin/firefox

(process:71385): GLib-CRITICAL **: g_slice_set_config: assertion `sys_page_size 
== 0' failed

This is all I could gather.

-- 
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 from Firefox

2013-10-06 Thread Bernt Hansson

On 2013-10-06 21:31, Jerry wrote:

$ /usr/local/bin/firefox

(process:71385): GLib-CRITICAL **: g_slice_set_config: assertion `sys_page_size 
== 0' failed

This is all I could gather.


I get the same for firefox and thunderbird

% firefox 
[1] 37788
%
(process:37788): GLib-CRITICAL **: g_slice_set_config: assertion 
`sys_page_size == 0' failed


% thunderbird 
[2] 38745
%
(process:38745): GLib-CRITICAL **: g_slice_set_config: assertion 
`sys_page_size == 0' failed


My guess it's related to glib.
___
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: sound settings

2013-09-21 Thread Ajtim
On Friday 20 September 2013 20:54:08 Martin Alejandro Paredes Sanchez wrote:
 On Friday 20 September 2013 14:26:08 Ajtim wrote:
  Hi!
  My system is FreeBSD 10.0-ALPHA1 #0 r255501: Fri Sep 13 01:57:31 UTC 2013
  r...@snap.freebsd.org:/usr/obj/usr/src/sys/GENERIC  amd64 installed on
  iMac
  11,1.
  It works very good but I don't know how to setup sound system.
  After start system:
  cat /dev/sndstat
  Installed devices:
  pcm0: ATI R6xx (HDMI) (play)
  pcm1: Cirrus Logic CS4206 (Internal Analog 4.0/2.0) (play/rec) default
  pcm2: Cirrus Logic CS4206 (Rear Analog) (play/rec)
  pcm3: Cirrus Logic CS4206 (Rear Digital) (play/rec)
 
 You have 4 devices where the sound can go
 
 which one has the speakers pluged in, you especify with (as root)
 
 # sysctl hw.snd.default_unit=n
 
 test sending a file to the sound system
 
 % cat filename  /dev/dsp
 ___
 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

I did but it doesn't work. Computer is iMac. And I found somewhere that hints 
should be in device.hints but I fon't know how to setup them.
-- 
Mitja
---
http://redbubble.com/people/lumiwa
___
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


sound settings

2013-09-20 Thread Ajtim
Hi!
My system is FreeBSD 10.0-ALPHA1 #0 r255501: Fri Sep 13 01:57:31 UTC 2013 
r...@snap.freebsd.org:/usr/obj/usr/src/sys/GENERIC  amd64 installed on iMac 
11,1.
It works very good but I don't know how to setup sound system.
After start system:
cat /dev/sndstat
Installed devices:
pcm0: ATI R6xx (HDMI) (play)
pcm1: Cirrus Logic CS4206 (Internal Analog 4.0/2.0) (play/rec) default
pcm2: Cirrus Logic CS4206 (Rear Analog) (play/rec)
pcm3: Cirrus Logic CS4206 (Rear Digital) (play/rec)

Than I run sysctl dev.hdaa:

dev.hdaa.0.%desc: ATI R6xx Audio Function Group
dev.hdaa.0.%driver: hdaa
dev.hdaa.0.%location: nid=1
dev.hdaa.0.%pnpinfo: type=0x01 subsystem=0x00aa0100
dev.hdaa.0.%parent: hdacc0
dev.hdaa.0.nid2: audio output
Widget cap: 0x0201 DIGITAL STEREO
Association: 0 (0x0001)
OSS: pcm (pcm)
Stream cap: 0x0001 PCM
PCM cap: 0x00020070 16 bits, 32 44 48 KHz

dev.hdaa.0.nid3: pin: Digital-out (Jack)
Widget cap: 0x00400381 DIGITAL UNSOL STEREO
Association: 0 (0x0001)
Pin cap: 0x0094 PDC OUT HDMI
Pin config: 0x18560010 as=1 seq=0 device=Digital-out conn=Jack ctype=Digital 
loc=0x18 color=Unknown misc=0
Pin control: 0x0040 OUT
Connections: 1
+ - nid=2 [audio output]

dev.hdaa.0.nid3_config: 0x18560010 as=1 seq=0 device=Digital-out conn=Jack 
ctype=Digital loc=0x18 color=Unknown misc=0
dev.hdaa.0.nid3_original: 0x18560010 as=1 seq=0 device=Digital-out conn=Jack 
ctype=Digital loc=0x18 color=Unknown misc=0
dev.hdaa.0.config: forcestereo,ivref50,ivref80,ivref100,ivref,vref
dev.hdaa.0.gpi_state: 
dev.hdaa.0.gpio_state: 
dev.hdaa.0.gpio_config: 
dev.hdaa.0.gpo_state: 
dev.hdaa.0.gpo_config: 
dev.hdaa.0.reconfig: 0 
dev.hdaa.1.%desc: Cirrus Logic CS4206 Audio Function Group 
dev.hdaa.1.%driver: hdaa 
dev.hdaa.1.%location: nid=1 
dev.hdaa.1.%pnpinfo: type=0x01 subsystem=0x106b5100 
dev.hdaa.1.%parent: hdacc1 
dev.hdaa.1.nid2: audio output 
Widget cap: 0x000d041d PWR STEREO 
Association: 4 (0x0001) 
OSS: pcm (pcm)
Stream cap: 0x0003 FLOAT32 PCM
PCM cap: 0x001e07f0 16 20 24 32 bits, 32 44 48 88 96 176 192 KHz
Output amp: 0x80017f73 mute=1 step=127 size=1 offset=115 (-57/6dB)

dev.hdaa.1.nid3: audio output
Widget cap: 0x000d041d PWR STEREO
Association: 3 (0x0001)
OSS: pcm (pcm)
Stream cap: 0x0003 FLOAT32 PCM
PCM cap: 0x001e07f0 16 20 24 32 bits, 32 44 48 88 96 176 192 KHz
Output amp: 0x80017f73 mute=1 step=127 size=1 offset=115 (-57/6dB)

dev.hdaa.1.nid4: audio output
Widget cap: 0x000d041d PWR STEREO
Association: 3 (0x0004)
OSS: pcm (pcm)
Stream cap: 0x0003 FLOAT32 PCM
PCM cap: 0x001e07f0 16 20 24 32 bits, 32 44 48 88 96 176 192 KHz
Output amp: 0x80017f73 mute=1 step=127 size=1 offset=115 (-57/6dB)

dev.hdaa.1.nid5: audio input
Widget cap: 0x0018051b PWR STEREO
Association: 1 (0x0001)
Stream cap: 0x0003 FLOAT32 PCM
PCM cap: 0x001e01f5 16 20 24 32 bits, 8 16 32 44 48 88 96 KHz
Input amp: 0x80033f33 mute=1 step=63 size=3 offset=51 (-51/12dB)
Connections: 2
+ - nid=12 [pin: Line-in (Blue Jack)] (selected)
+ [DISABLED] - nid=18 [pin: Line-out (None)] [DISABLED]

dev.hdaa.1.nid6: audio input
Widget cap: 0x0018051b PWR STEREO
Association: 0 (0x0001)
Stream cap: 0x0003 FLOAT32 PCM
PCM cap: 0x001e01f5 16 20 24 32 bits, 8 16 32 44 48 88 96 KHz
Input amp: 0x80033f33 mute=1 step=63 size=3 offset=51 (-51/12dB)
Connections: 2
+ - nid=13 [pin: Mic (Fixed)] (selected)
+ [DISABLED] - nid=14 [pin: Line-out (None)] [DISABLED]

dev.hdaa.1.nid7: audio input
Widget cap: 0x00180791 PWR DIGITAL UNSOL STEREO
Association: 2 (0x0001)
Stream cap: 0x0007 AC3 FLOAT32 PCM
PCM cap: 0x001e0570 16 20 24 32 bits, 32 44 48 96 192 KHz
Connections: 1
+ - nid=15 [pin: SPDIF-in (White Jack)]

dev.hdaa.1.nid8: audio output
Widget cap: 0x00040611 PWR DIGITAL STEREO
Association: 5 (0x0001)
OSS: pcm (pcm)
Stream cap: 0x0007 AC3 FLOAT32 PCM
PCM cap: 0x001e07f0 16 20 24 32 bits, 32 44 48 88 96 176 192 KHz

dev.hdaa.1.nid9: pin: Headphones (Green Jack)
Widget cap: 0x00410581 PWR UNSOL STEREO
Association: 4 (0x0001)
Pin cap: 0x001c PDC HP OUT
Pin config: 0x012b4050 as=5 seq=0 device=Headphones conn=Jack ctype=Combo 
loc=Rear color=Green misc=0
Pin control: 0x00c0 HP OUT
Connections: 1
+ - nid=2 [audio output]

dev.hdaa.1.nid9_config: 0x012b4050 as=5 seq=0 device=Headphones conn=Jack 
ctype=Combo loc=Rear color=Green misc=0
dev.hdaa.1.nid9_original: 0x012b4050 as=5 seq=0 device=Headphones conn=Jack 
ctype=Combo loc=Rear color=Green misc=0
dev.hdaa.1.nid10: pin: Speaker (Fixed)
Widget cap: 0x00410581 PWR UNSOL STEREO
Association: 3 (0x0001)
Pin cap: 0x0054 PDC OUT BAL
Pin config: 0x90100140 as=4 seq=0 device=Speaker conn=Fixed ctype=Unknown 
loc=Internal color=Unknown misc=1
Pin control: 0x0040 OUT
Connections: 1
+ - nid=3 [audio output]

dev.hdaa.1.nid10_config: 0x90100140 as=4 seq=0 device=Speaker conn=Fixed 
ctype=Unknown loc=Internal color=Unknown misc=1
dev.hdaa.1.nid10_original: 0x90100140 as=4 seq=0 device=Speaker conn=Fixed 
ctype=Unknown loc=Internal color=Unknown misc=1
dev.hdaa.1.nid11: pin: Speaker

Re: sound settings

2013-09-20 Thread Martin Alejandro Paredes Sanchez
On Friday 20 September 2013 14:26:08 Ajtim wrote:
 Hi!
 My system is FreeBSD 10.0-ALPHA1 #0 r255501: Fri Sep 13 01:57:31 UTC 2013
 r...@snap.freebsd.org:/usr/obj/usr/src/sys/GENERIC  amd64 installed on iMac
 11,1.
 It works very good but I don't know how to setup sound system.
 After start system:
 cat /dev/sndstat
 Installed devices:
 pcm0: ATI R6xx (HDMI) (play)
 pcm1: Cirrus Logic CS4206 (Internal Analog 4.0/2.0) (play/rec) default
 pcm2: Cirrus Logic CS4206 (Rear Analog) (play/rec)
 pcm3: Cirrus Logic CS4206 (Rear Digital) (play/rec)


You have 4 devices where the sound can go

which one has the speakers pluged in, you especify with (as root)

# sysctl hw.snd.default_unit=n

test sending a file to the sound system

% cat filename  /dev/dsp
___
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


had sound working, updated machine now lost sound

2013-08-26 Thread Antonio Olivares
Dear folks,

I have a machine recently updated to 8.4-RELEASE-p3 and ports tree
updated from 05/27 to Friday of last week. I had sound, but now have
lost sound.  I had the usual snd_hda_ in /boot/loader.conf

root@grullahighschool:~ # uname -a
FreeBSD grullahighschool.rgccisd.org 8.4-RELEASE-p3 FreeBSD
8.4-RELEASE-p3 #0: Wed Aug 21 19:23:44 UTC 2013
r...@amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC  amd64
root@grullahighschool:~ # cat /dev/sndstat
FreeBSD Audio Driver (newpcm: 64bit 2009061500/amd64)
Installed devices:
pcm0: Realtek ALC888 (Analog 2.0+HP) (play)
pcm1: Realtek ALC888 (Rear Digital) (play/rec) default
root@grullahighschool:~ # clear

root@grullahighschool:~ # cat /boot/loader.conf
loader_logo=beastie
snd_hda_load=YES
sem_load=YES
atapicam_load=YES

root@grullahighschool:~ # cat /boot/device.hints
# $FreeBSD: release/8.4.0/sys/amd64/conf/GENERIC.hints 235947
2012-05-24 23:55:08Z bz $
hint.fdc.0.at=isa
hint.fdc.0.port=0x3F0
hint.fdc.0.irq=6
hint.fdc.0.drq=2
hint.fd.0.at=fdc0
hint.fd.0.drive=0
hint.fd.1.at=fdc0
hint.fd.1.drive=1
hint.atkbdc.0.at=isa
hint.atkbdc.0.port=0x060
hint.atkbd.0.at=atkbdc
hint.atkbd.0.irq=1
hint.psm.0.at=atkbdc
hint.psm.0.irq=12
hint.sc.0.at=isa
hint.sc.0.flags=0x100
hint.uart.0.at=isa
hint.uart.0.port=0x3F8
hint.uart.0.flags=0x10
hint.uart.0.irq=4
hint.uart.1.at=isa
hint.uart.1.port=0x2F8
hint.uart.1.irq=3
hint.ppc.0.at=isa
hint.ppc.0.irq=7
hint.atrtc.0.at=isa
hint.atrtc.0.port=0x70
hint.atrtc.0.irq=8
hint.pcm.0.vol=100
hint.pcm.1.vol=100
hint.pcm.0.pcm=100
hint.pcm.1.pcm=100
hint.hdac.0.cad0.nid27.config=as=1 seq=15 device=Headphones
hint.hdac.0.cad0.nid25.config=as=4 seq=0
hint.wbwd.0.at=isa

root@grullahighschool:~ #

Here's some information from Sound Page at FreeBSD Wiki :

root@grullahighschool:~ # cat /dev/sndstat
FreeBSD Audio Driver (newpcm: 64bit 2009061500/amd64)
Installed devices:
pcm0: Realtek ALC888 (Analog 2.0+HP) (play)
pcm1: Realtek ALC888 (Rear Digital) (play/rec) default
root@grullahighschool:~ # dmesg | grep 'pcm[0-9]'
pcm0: Realtek ALC888 (Analog 2.0+HP) at nid 20,27 on hdaa0
pcm1: Realtek ALC888 (Rear Digital) at nid 30 and 31 on hdaa0
root@grullahighschool:~ # sysctl dev.pcm
dev.pcm.0.%desc: Realtek ALC888 (Analog 2.0+HP)
dev.pcm.0.%driver: pcm
dev.pcm.0.%location: nid=20,27
dev.pcm.0.%parent: hdaa0
dev.pcm.0.play.vchans: 1
dev.pcm.0.play.vchanmode: fixed
dev.pcm.0.play.vchanrate: 48000
dev.pcm.0.play.vchanformat: s16le:2.0
dev.pcm.0.play.32bit: 24
dev.pcm.0.buffersize: 65536
dev.pcm.0.bitperfect: 0
dev.pcm.1.%desc: Realtek ALC888 (Rear Digital)
dev.pcm.1.%driver: pcm
dev.pcm.1.%location: nid=30,31
dev.pcm.1.%parent: hdaa0
dev.pcm.1.play.vchans: 1
dev.pcm.1.play.vchanmode: passthrough
dev.pcm.1.play.vchanrate: 48000
dev.pcm.1.play.vchanformat: s16le:2.0
dev.pcm.1.play.32bit: 24
dev.pcm.1.rec.vchans: 1
dev.pcm.1.rec.vchanmode: passthrough
dev.pcm.1.rec.vchanrate: 48000
dev.pcm.1.rec.vchanformat: s16le:2.0
dev.pcm.1.rec.32bit: 24
dev.pcm.1.rec.autosrc: 2
dev.pcm.1.buffersize: 65536
dev.pcm.1.bitperfect: 0
root@grullahighschool:~ # sysctl hw.sn
sysctl: unknown oid 'hw.sn'
root@grullahighschool:~ # sysctl hw.snd
hw.snd.feeder_rate_quality: 1
hw.snd.feeder_rate_round: 25
hw.snd.feeder_rate_max: 2016000
hw.snd.feeder_rate_min: 1
hw.snd.feeder_rate_polyphase_max: 183040
hw.snd.feeder_rate_presets: 100:8:0.85 100:36:0.92 100:164:0.97
hw.snd.feeder_eq_exact_rate: 0
hw.snd.feeder_eq_presets:
PEQ:16000,0.2500,62,0.2500:-9,9,1.0:44100,48000,88200,96000,176400,192000
hw.snd.vpc_reset: 0
hw.snd.vpc_0db: 45
hw.snd.vpc_autoreset: 0
hw.snd.latency_profile: 1
hw.snd.latency: 5
hw.snd.report_soft_matrix: 1
hw.snd.report_soft_formats: 1
hw.snd.compat_linux_mmap: 0
hw.snd.vpc_mixer_bypass: 1
hw.snd.verbose: 0
hw.snd.maxautovchans: 16
hw.snd.default_unit: 1
hw.snd.version: 2009061500/amd64
hw.snd.default_auto: 1
root@grullahighschool:~ # mixer
Mixer vol  is currently set to 100:100
Mixer pcm  is currently set to 100:100
Recording source: dig1
root@grullahighschool:~ # uname -a
FreeBSD grullahighschool.rgccisd.org 8.4-RELEASE-p3 FreeBSD
8.4-RELEASE-p3 #0: Wed Aug 21 19:23:44 UTC 2013
r...@amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC  amd64
root@grullahighschool:~ # cat /dev/sndstat
FreeBSD Audio Driver (newpcm: 64bit 2009061500/amd64)
Installed devices:
pcm0: Realtek ALC888 (Analog 2.0+HP) (play)
pcm1: Realtek ALC888 (Rear Digital) (play/rec) default
root@grullahighschool:~ #

When I send
# cat /dev/sndstat  /dev/pcm0

I get:

root@grullahighschool:~ # cat /dev/sndstat
FreeBSD Audio Driver (newpcm: 64bit 2009061500/amd64)
Installed devices:
pcm0: Realtek ALC888 (Analog 2.0+HP) (play)
pcm1: Realtek ALC888 (Rear Digital) (play/rec) default
root@grullahighschool:~ # cat /dev/random  /dev/pcm0
/dev/pcm0: Operation not supported.
root@grullahighschool:~ # cat /dev/random  /dev/dsp0
^C
root@grullahighschool:~ #

When I do last command cat /dev/random  /dev/dsp0 I hear the sound,
how can I redirect it to have sound.  The headphones used

Re: had sound working, updated machine now lost sound

2013-08-26 Thread Antonio Olivares
Dear all,

Following  advice from  thread(s) :

http://forums.pcbsd.org/showthread.php?t=13976

http://forums.freebsd.org/showthread.php?t=5136

root@grullahighschool:~ # sysctl hw.snd.default_unit=0
hw.snd.default_unit: 1 - 0

Got the sound working like it was.
How do I get it to stick across reboots?

Which would be the preferred way?
ie,

use file
root@grullahighschool:~ # cat  /etc/sysctl.conf
# $FreeBSD: release/8.4.0/etc/sysctl.conf 112200 2003-03-13 18:43:50Z mux $
#
#  This file is read when going to multi-user and its contents piped thru
#  ``sysctl'' to adjust kernel values.  ``man 5 sysctl.conf'' for details.
#

# Uncomment this to prevent users from seeing information about processes that
# are being run under another UID.
#security.bsd.see_other_uids=0
vfs.usermount=1
hw.snd.vpc_autoreset=0
kern.module_path=/boot/kernel;/boot/modules;/usr/local/modules
You have new mail.
root@grullahighschool:~ #

or place in /boot/loader.conf the line:

hw.snd.default_unit=0

?


Thanks for helping figure things out.  I had working sound but maybe
updating to 8.4-RELEASE changed things around?


Best Regards,


Antonio


On Mon, Aug 26, 2013 at 11:08 AM, Antonio Olivares
olivares14...@gmail.com wrote:
 Dear folks,

 I have a machine recently updated to 8.4-RELEASE-p3 and ports tree
 updated from 05/27 to Friday of last week. I had sound, but now have
 lost sound.  I had the usual snd_hda_ in /boot/loader.conf

 root@grullahighschool:~ # uname -a
 FreeBSD grullahighschool.rgccisd.org 8.4-RELEASE-p3 FreeBSD
 8.4-RELEASE-p3 #0: Wed Aug 21 19:23:44 UTC 2013
 r...@amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC  amd64
 root@grullahighschool:~ # cat /dev/sndstat
 FreeBSD Audio Driver (newpcm: 64bit 2009061500/amd64)
 Installed devices:
 pcm0: Realtek ALC888 (Analog 2.0+HP) (play)
 pcm1: Realtek ALC888 (Rear Digital) (play/rec) default
 root@grullahighschool:~ # clear

 root@grullahighschool:~ # cat /boot/loader.conf
 loader_logo=beastie
 snd_hda_load=YES
 sem_load=YES
 atapicam_load=YES

 root@grullahighschool:~ # cat /boot/device.hints
 # $FreeBSD: release/8.4.0/sys/amd64/conf/GENERIC.hints 235947
 2012-05-24 23:55:08Z bz $
 hint.fdc.0.at=isa
 hint.fdc.0.port=0x3F0
 hint.fdc.0.irq=6
 hint.fdc.0.drq=2
 hint.fd.0.at=fdc0
 hint.fd.0.drive=0
 hint.fd.1.at=fdc0
 hint.fd.1.drive=1
 hint.atkbdc.0.at=isa
 hint.atkbdc.0.port=0x060
 hint.atkbd.0.at=atkbdc
 hint.atkbd.0.irq=1
 hint.psm.0.at=atkbdc
 hint.psm.0.irq=12
 hint.sc.0.at=isa
 hint.sc.0.flags=0x100
 hint.uart.0.at=isa
 hint.uart.0.port=0x3F8
 hint.uart.0.flags=0x10
 hint.uart.0.irq=4
 hint.uart.1.at=isa
 hint.uart.1.port=0x2F8
 hint.uart.1.irq=3
 hint.ppc.0.at=isa
 hint.ppc.0.irq=7
 hint.atrtc.0.at=isa
 hint.atrtc.0.port=0x70
 hint.atrtc.0.irq=8
 hint.pcm.0.vol=100
 hint.pcm.1.vol=100
 hint.pcm.0.pcm=100
 hint.pcm.1.pcm=100
 hint.hdac.0.cad0.nid27.config=as=1 seq=15 device=Headphones
 hint.hdac.0.cad0.nid25.config=as=4 seq=0
 hint.wbwd.0.at=isa

 root@grullahighschool:~ #

 Here's some information from Sound Page at FreeBSD Wiki :

 root@grullahighschool:~ # cat /dev/sndstat
 FreeBSD Audio Driver (newpcm: 64bit 2009061500/amd64)
 Installed devices:
 pcm0: Realtek ALC888 (Analog 2.0+HP) (play)
 pcm1: Realtek ALC888 (Rear Digital) (play/rec) default
 root@grullahighschool:~ # dmesg | grep 'pcm[0-9]'
 pcm0: Realtek ALC888 (Analog 2.0+HP) at nid 20,27 on hdaa0
 pcm1: Realtek ALC888 (Rear Digital) at nid 30 and 31 on hdaa0
 root@grullahighschool:~ # sysctl dev.pcm
 dev.pcm.0.%desc: Realtek ALC888 (Analog 2.0+HP)
 dev.pcm.0.%driver: pcm
 dev.pcm.0.%location: nid=20,27
 dev.pcm.0.%parent: hdaa0
 dev.pcm.0.play.vchans: 1
 dev.pcm.0.play.vchanmode: fixed
 dev.pcm.0.play.vchanrate: 48000
 dev.pcm.0.play.vchanformat: s16le:2.0
 dev.pcm.0.play.32bit: 24
 dev.pcm.0.buffersize: 65536
 dev.pcm.0.bitperfect: 0
 dev.pcm.1.%desc: Realtek ALC888 (Rear Digital)
 dev.pcm.1.%driver: pcm
 dev.pcm.1.%location: nid=30,31
 dev.pcm.1.%parent: hdaa0
 dev.pcm.1.play.vchans: 1
 dev.pcm.1.play.vchanmode: passthrough
 dev.pcm.1.play.vchanrate: 48000
 dev.pcm.1.play.vchanformat: s16le:2.0
 dev.pcm.1.play.32bit: 24
 dev.pcm.1.rec.vchans: 1
 dev.pcm.1.rec.vchanmode: passthrough
 dev.pcm.1.rec.vchanrate: 48000
 dev.pcm.1.rec.vchanformat: s16le:2.0
 dev.pcm.1.rec.32bit: 24
 dev.pcm.1.rec.autosrc: 2
 dev.pcm.1.buffersize: 65536
 dev.pcm.1.bitperfect: 0
 root@grullahighschool:~ # sysctl hw.sn
 sysctl: unknown oid 'hw.sn'
 root@grullahighschool:~ # sysctl hw.snd
 hw.snd.feeder_rate_quality: 1
 hw.snd.feeder_rate_round: 25
 hw.snd.feeder_rate_max: 2016000
 hw.snd.feeder_rate_min: 1
 hw.snd.feeder_rate_polyphase_max: 183040
 hw.snd.feeder_rate_presets: 100:8:0.85 100:36:0.92 100:164:0.97
 hw.snd.feeder_eq_exact_rate: 0
 hw.snd.feeder_eq_presets:
 PEQ:16000,0.2500,62,0.2500:-9,9,1.0:44100,48000,88200,96000,176400,192000
 hw.snd.vpc_reset: 0
 hw.snd.vpc_0db: 45
 hw.snd.vpc_autoreset: 0
 hw.snd.latency_profile: 1
 hw.snd.latency: 5
 hw.snd.report_soft_matrix: 1
 hw.snd.report_soft_formats: 1

Re: had sound working, updated machine now lost sound

2013-08-26 Thread Carl Johnson
Antonio Olivares olivares14...@gmail.com writes:

 Dear all,

 Following  advice from  thread(s) :

 http://forums.pcbsd.org/showthread.php?t=13976

 http://forums.freebsd.org/showthread.php?t=5136

 root@grullahighschool:~ # sysctl hw.snd.default_unit=0
 hw.snd.default_unit: 1 - 0

 Got the sound working like it was.
 How do I get it to stick across reboots?

 Which would be the preferred way?

Since you can set it with sysctl then sysctl.conf is the logical place,
although loader.conf might also work.  I use sysctl.conf so I know that
works.

-- 
Carl Johnsonca...@peak.org
___
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: Help finding sound driver

2013-06-26 Thread Sergio Tam
2013/6/26 Polytropon free...@edvax.de:
 On Wed, 26 Jun 2013 11:45:10 +0700 (ICT), Olivier Nicole wrote:
 Azalia ADI1986A, 6 -Channel High-Definition Audio CODEC
 Support Jack-Sensing, Enumeration, Multi-streaming
 S/PDIF out on back I/O port
 Jack-Sensing  Enumeration

 Is there any change a driver exists for that audio chipset, for FreeBSD 9.1?

 Probably snd_hda will work. A common solution is to try this first
 (because of the name matching), and then load all drivers and
 see which one is working. Check the kernel output messages and
 also cat /dev/sndstat to confirm success.




Intel High Definition Audio (also called HD Audio or Azalia)

http://www.freebsd.org/cgi/man.cgi?snd_hda

Regards.
___
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: Help finding sound driver

2013-06-26 Thread Olivier Nicole
On Wed, Jun 26, 2013 at 4:31 PM, Sergio Tam tam.ser...@gmail.com wrote:
 2013/6/26 Polytropon free...@edvax.de:
 On Wed, 26 Jun 2013 11:45:10 +0700 (ICT), Olivier Nicole wrote:
 Azalia ADI1986A, 6 -Channel High-Definition Audio CODEC
 Support Jack-Sensing, Enumeration, Multi-streaming
 S/PDIF out on back I/O port
 Jack-Sensing  Enumeration

 Is there any change a driver exists for that audio chipset, for FreeBSD 9.1?

 Probably snd_hda will work. A common solution is to try this first
 (because of the name matching), and then load all drivers and
 see which one is working. Check the kernel output messages and
 also cat /dev/sndstat to confirm success.




 Intel High Definition Audio (also called HD Audio or Azalia)

 http://www.freebsd.org/cgi/man.cgi?snd_hda

That was it, thank you.

Best regards,

Olivier
___
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


Help finding sound driver

2013-06-25 Thread Olivier Nicole
Hello,

I have an old motherboard Asus P5L-MX that I want to use for an
application. It needs sound.

Asus documentation
(http://www.asus.com/Motherboards/P5LMX/#specifications) lists the
sound chipset as:

Azalia ADI1986A, 6 -Channel High-Definition Audio CODEC
Support Jack-Sensing, Enumeration, Multi-streaming
S/PDIF out on back I/O port
Jack-Sensing  Enumeration 

Is there any change a driver exists for that audio chipset, for FreeBSD 9.1?

TIA,

Olivier
___
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: Help finding sound driver

2013-06-25 Thread Polytropon
On Wed, 26 Jun 2013 11:45:10 +0700 (ICT), Olivier Nicole wrote:
 Azalia ADI1986A, 6 -Channel High-Definition Audio CODEC
 Support Jack-Sensing, Enumeration, Multi-streaming
 S/PDIF out on back I/O port
 Jack-Sensing  Enumeration 
 
 Is there any change a driver exists for that audio chipset, for FreeBSD 9.1?

Probably snd_hda will work. A common solution is to try this first
(because of the name matching), and then load all drivers and
see which one is working. Check the kernel output messages and
also cat /dev/sndstat to confirm success.



-- 
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: Sound cards

2013-06-03 Thread Waitman Gobble
On Jun 2, 2013 3:57 PM, mike miskulin birdf...@yahoo.com wrote:

 Hi all - I may be building a system which does not have any onboard
 sounds thus need to find either a pci-e or usb solution which will work
 with FreeBSD.  I've combed newegg and have to say I never realized how
 crappy the sound cards have become - that used to be a big thing back in
 the day!

 Could any of you who have installed something of -recent- vintage
 which worked well post the make/model?  I just need something for basic
 audio, nothing superduper.

 TIA

 ___
 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

hi, i believe the market been more about mainstream-acceptable quality for
cheaper and cheaper the past few years. most people use on board sound.

not sure there will alot of new and exciting sound cards coming soon, its
kind of at the limit of pcm. it will be totally very cool when sound cards
do dsd / 5.7 mhz / 1 bit sampling rates, but thats still a ways off i think.

i use a creative x-fi card pci-e, the blue one that runs about 50 bucks...
on a FreeBSD system, it works pretty good with oss in base or you can try
v4.2 in ports.

asus xonar cards are excellent, they supposedly work in oss but i have not
tried my xonar on a FreeBSD machine yet.

if you run usb sound, i recommend getting an add-IN usb card, especially if
you want to do some 48k recording. add a couple devices to your usb bus and
you might notice some latency.

Hope that helps.

Waitman Gobble
San Jose California USA
___
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: Sound cards

2013-06-03 Thread Waitman Gobble
On Mon, Jun 3, 2013 at 1:13 PM, Waitman Gobble gobble...@gmail.com wrote:

 On Jun 2, 2013 3:57 PM, mike miskulin birdf...@yahoo.com wrote:

 Hi all - I may be building a system which does not have any onboard
 sounds thus need to find either a pci-e or usb solution which will work
 with FreeBSD.  I've combed newegg and have to say I never realized how
 crappy the sound cards have become - that used to be a big thing back in
 the day!

 Could any of you who have installed something of -recent- vintage
 which worked well post the make/model?  I just need something for basic
 audio, nothing superduper.

 TIA

 ___
 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

 hi, i believe the market been more about mainstream-acceptable quality for
 cheaper and cheaper the past few years. most people use on board sound.

 not sure there will alot of new and exciting sound cards coming soon, its
 kind of at the limit of pcm. it will be totally very cool when sound cards
 do dsd / 5.7 mhz / 1 bit sampling rates, but thats still a ways off i think.

 i use a creative x-fi card pci-e, the blue one that runs about 50 bucks...
 on a FreeBSD system, it works pretty good with oss in base or you can try
 v4.2 in ports.

 asus xonar cards are excellent, they supposedly work in oss but i have not
 tried my xonar on a FreeBSD machine yet.

 if you run usb sound, i recommend getting an add-IN usb card, especially if
 you want to do some 48k recording. add a couple devices to your usb bus and
 you might notice some latency.

 Hope that helps.

 Waitman Gobble
 San Jose California USA


Sorry, I was typing my email on my phone before. yikes, grammar!

Anyhow, this card works pretty good on my FreeBSD system:
http://www.newegg.com/Product/Product.aspx?Item=N82E16829102017

Note: if you want 'more' than 16bit stereo sound, ie multiple
'surround sound' channels, 32(24) bit, 96Khz recording - you have to
do a little code hacking. That card also has an ac3 decoder, so I
think you can dump ac3 data to it, but i haven't tried that yet. 'one
of these weekends' i'll get to it. :)


--
Waitman Gobble
San Jose California USA
510-830-7975
___
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


Sound cards

2013-06-02 Thread mike miskulin
Hi all - I may be building a system which does not have any onboard
sounds thus need to find either a pci-e or usb solution which will work
with FreeBSD.  I've combed newegg and have to say I never realized how
crappy the sound cards have become - that used to be a big thing back in
the day!

Could any of you who have installed something of -recent- vintage
which worked well post the make/model?  I just need something for basic
audio, nothing superduper. 

TIA

___
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: X breaks sound

2013-05-15 Thread Anton Shterenlikht

On Tue, 2013-05-14 at 21:20 +0100, Anton Shterenlikht wrote:
 Briefly, the sound works fine until X starts.
 As soon as X starts, sound doesn't work until a reboot.

Assumed pulseaudio should be installed, this likely is the culprit, if
so, remove it.

Hth,
Ralf

no, I haven't got it installed.

Anton

___
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


X breaks sound

2013-05-14 Thread Anton Shterenlikht
Briefly, the sound works fine until X starts.
As soon as X starts, sound doesn't work until a reboot.

This is HP Compaq 6715s laptop.
I'm running current r250633.

I have this sound device:

hdac0@pci0:0:20:2:  class=0x040300 card=0x30c2103c chip=0x43831002 rev=0x00
hdr=0x00
vendor = 'Advanced Micro Devices [AMD] nee ATI'
device = 'SBx00 Azalia (Intel HDA)'
class  = multimedia
subclass   = HDA

I use it with snd_hda(4):

hdac0: ATI SB600 HDA Controller mem 0xc000-0xc0003fff irq 16 at device 20.
2 on pci0

Until I start X, I can get sound e.g.
via /dev/dsp, or play a cd with:

dd if=/dev/cd0 of=/dev/dspcd bs=2352

As soon as I start X, either via xdm,
or simply X -config /roor/xorg.conf.new -retro
the sound does not work anymore until reboot.
Instead I see on the console a very long stream
of:

hdac0: Unexpected unsolicited response from address 0: 00400083
hdac0: Unexpected unsolicited response from address 0: 
hdac0: Unexpected unsolicited response from address 0: 04a12020
hdac0: Unexpected unsolicited response from address 0: 1727
hdac0: Unexpected unsolicited response from address 0: 0020
hdac0: Unexpected unsolicited response from address 0: 00400187
hdac0: Unexpected unsolicited response from address 0: 0002
hdac0: Unexpected unsolicited response from address 0: 0e03
hdac0: Unexpected unsolicited response from address 0: 0181302e
hdac0: Unexpected unsolicited response from address 0: 1737

etc.

and sometimes:

hdac0: Command timeout on address 0
hdac0: Reset setting timeout
pcm0: chn_write(): pcm0:virtual:dsp0.vp0: play interrupt timeout, channel dead

My graphics device is:

vgapci0@pci0:1:5:0: class=0x03 card=0x30c2103c chip=0x791f1002 rev=0x00
hdr=0x00
vendor = 'Advanced Micro Devices [AMD] nee ATI'
device = 'RS690M [Radeon X1200 Series]'
class  = display
subclass   = VGA

which is seen in dmesg as:

vgapci0: VGA-compatible display port 0x4000-0x40ff mem 0xc010-0xc80f,0
xd020-0xd020,0xd030-0xd03f irq 19 at device 5.0 on pci1
vga0: Generic ISA VGA at port 0x3c0-0x3df iomem 0xa-0xb on isa0

I use x11-drivers/xf86-video-ati port to drive it.

In Xorg logs I see that the card is recognised correctly:

(--) PCI:*(0:1:5:0) 1002:791f:103c:30c2 Advanced Micro Devices [AMD] nee ATI RS6
90M [Radeon X1200 Series] rev 0, Mem @ 0xc000/134217728, 0xd020/65536, 0
xd030/1048576, I/O @ 0x4000/256, BIOS @ 0x/65536

The only issue seems to be with DRM/DRI:

drmOpenDevice: node name is /dev/dri/card0
Failed to change owner or group for file /dev/dri! 2: No such file or directory
Failed to change owner or group for file /dev/dri/card0! 2: No such file or dire
ctory
drmOpenDevice: open result is -1, (No such file or directory)
Failed to change owner or group for file /dev/dri/card0! 2: No such file or dire
ctory
drmOpenDevice: open result is -1, (No such file or directory)
drmOpenDevice: Open failed
[drm] failed to load kernel module radeon
(EE) RADEON(0): [dri] RADEONDRIGetVersion failed to open the DRM
[dri] Disabling DRI.

But I don't think this is related to the sound problem.
Anyway, should I add radeon and drm to the kernel?
Is it a good idea?

I'd be grateful for any advice.

Thanks

Anton

___
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: X breaks sound

2013-05-14 Thread Ralf Mardorf
On Tue, 2013-05-14 at 21:20 +0100, Anton Shterenlikht wrote:
 Briefly, the sound works fine until X starts.
 As soon as X starts, sound doesn't work until a reboot.

Assumed pulseaudio should be installed, this likely is the culprit, if
so, remove it.

Hth,
Ralf

___
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  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


sound issue: play interrupt timeout, channel dead

2013-01-11 Thread Stephan Schindel
Hiho,

after upgrading to 9.1 I have got a problem with my sound card. Sry I
am not sure what sound card I have (onboard chipset by NVidia), but it
uses the snd_hda module for sure. Sometimes my sound goes completely
away and I found this message in the logs:

 pcm0: chn_write(): pcm0:play:dsp0.p1: play interrupt timeout, channel
 dead

I can not reproduce this, it sometimes happens when watching youtube
and sometimes when listen to music via VLC. It happened to me at least
5-6 times until now. I need to reboot my machine in order to reset the
driver which is pretty annoying.

Do you have any similar issues with the improved snd_hda stack?

Maybe this is my onboard chipset:

 hdac0: NVIDIA MCP61 HDA Controller mem 0xfce78000-0xfce7bfff irq 23
 at device 5.0 on pci0
 hdac1: NVIDIA GT108 HDA Controller mem 0xfcf7c000-0xfcf7 irq 17
 at device 0.1 on pci2


Stephan

___
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: sound issue: play interrupt timeout, channel dead

2013-01-11 Thread Erich Dollansky
Hi,

On Fri, 11 Jan 2013 20:02:08 +0100
Stephan Schindel s...@tp1.rub.de wrote:

 after upgrading to 9.1 I have got a problem with my sound card. Sry I
 am not sure what sound card I have (onboard chipset by NVidia), but it
 uses the snd_hda module for sure. Sometimes my sound goes completely
 away and I found this message in the logs:
 
  pcm0: chn_write(): pcm0:play:dsp0.p1: play interrupt timeout,
  channel dead
 
I have this problem on another machine since 7.x or 8.0. It got better
over time and I did not notice it anymore since I upgraded it to 10,0

 I can not reproduce this, it sometimes happens when watching youtube
 and sometimes when listen to music via VLC. It happened to me at least
 5-6 times until now. I need to reboot my machine in order to reset the
 driver which is pretty annoying.

It was the same story for me.
 
Try 10.0 and see what happens there. I came to 10 for other reasons. I
got stuck with 10 after I saw that it solved my problem on that machine.

Erich
___
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: Sound lag in Wine

2012-12-25 Thread David Naylor
Hi

On Thursday, 20 December 2012 15:08:31 Ross wrote:
 Hello.
 
 I installed David Naylor's wine-fbsd64-1.5.18.
 Installed Steam, bought Counter-Strike 1.6 and CS: CZ.
 
 However, when I run these games I experience a sound lag (maybe a
 half-second — second).

I remember having a similar problem, although my issue was an echo.  After a 
few updates the issue disappeared.  

 I googled the topic, the soultion is to switch to Alsa, which is not
 supported in wine-fbsd64-1.5.18…
 
 Is there anything I can do to get rid of the lag?

I can suggest three things to try:
 1) Update software
 1.1) Upgrade (or downgrade) wine (I've release version 1.5.20)
 1.2) Upgrade ports (some sound related components may cause issues, although 
*very* unlikely)
 1.3) Upgrade kernel and world (sound fixes may be available to fix your 
issue)
 
 2) Try building your own wine package with ALSA support (requires a i386 
jail/chroot, editing the emulators/wine-devel/Makefile and manually installing 
the ALSA port).  See my other emails regarding the procedure to build a wine-
fbsd64 package.  

 3) File a bug report to bugs.winehq.org.  I've found the sound guy very 
responsive and willing to fix the OSS backend (patches may be provided 
requiring parts of step 2).  

If you do not come right please ping me in the middle of Jan and I'll try 
assist you (I should be able to get a copy of CS 1.6).  

Regards,

David


signature.asc
Description: This is a digitally signed message part.


Sound lag in Wine

2012-12-20 Thread Ross
Hello.

I installed David Naylor's wine-fbsd64-1.5.18.
Installed Steam, bought Counter-Strike 1.6 and CS: CZ.

However, when I run these games I experience a sound lag (maybe a
half-second — second).

I googled the topic, the soultion is to switch to Alsa, which is not
supported in wine-fbsd64-1.5.18…

Is there anything I can do to get rid of the lag?
___
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 from speaker, using Realtek ALC269 and snd_hda

2012-10-31 Thread Alexander Motin

On 31.10.2012 03:00, Big Yuuta wrote:

Yes, actually I'm using  sysctl hw.snd.verbose=4 to understand
what's happening inside.

 From my tests, it's not a sense redirection problem. Because, when
I unmute everything, and then I plug a headphone, the sound goes
to the headphone and the internal speaker is mutted, and when I unplug
it, the internal speaker gets the sound, and (nid 26: the headphone)
is mutted.

So, anyway, I'm still debugging it and I found out that I don't have
to unmute everything, I just have to make sure that nid=15 is never
mutted.

i.e. the test I wrote in my last email could be more precise like this:

hdaa_audio_ctl_amp_set_internal(struct hdaa_devinfo *devinfo, nid_t nid,
 int index, int lmute, int rmute,
 int left, int right, int dir)
{
 uint16_t v = 0;

 if(nid == 15){ //just don't mute nid15, and it works
lmute = 0;
rmute = 0;
  }


Strange thing is from my dmesg here: http://dpaste.com/818967/plain/
I thought that nid 15 wasn't used.

hdaa0: nid: 15 [DISABLED]
hdaa0:Name: audio mixer
hdaa0:  Widget cap: 0x0020010a
hdaa0:   Input amp: 0x8000
hdaa0:  mute=1 step=0 size=0 offset=0
hdaa0: connections: 2
hdaa0:   |
hdaa0:   + [DISABLED] - nid=2 [audio output]
hdaa0:   + [DISABLED] - nid=11 [audio mixer]

Maybe it's disabled because others were disabled for other reasons?
I honestly don't grok the whole thing yet.


The driver reports as disabled all parts of the CODEC that are unused in 
specific configuration. It is quite usual to have half of CODEC unused. 
To avoid unexpected effects driver mutes all disabled controls. 
According to information reported by CODEC, this mixer is really unused. 
I see no problem from the driver side there.



We, IMVHO, probably just should add a patch inside hdaa_patches.c
for this case:

 case HDA_CODEC_ALC269:
 if (subid == 0x10438437){ //0x10438437 is my subsystem id.
w = hdaa_widget_get(devinfo, 15);
 if(w != NULL)
  //some magic to unmute it ?
 }
 break;

What do you think?


I think Realtek engineers got crazy. They not only created several 
different CODECs sharing the same ID (my laptop also uses variant of 
ALC269, but it has no such problem), but also violated their own specs 
and information reported by CODEC. Patch below should hide problematic 
muter from the driver. Solution is far from perfect, but that is best I 
can propose without having more information. Please test it and report 
about results.


--- hdaa_patches.c  (revision 242352)
+++ hdaa_patches.c  (working copy)
@@ -541,6 +541,21 @@ hdaa_patch(struct hdaa_devinfo *devinfo)
if (w != NULL)
w-connsenable[0] = 0;
break;
+   case HDA_CODEC_ALC269:
+   /*
+* ASUS EeePC 1001px has strange variant of ALC269 CODEC,
+* that mutes speaker if unused mixer at NID 15 is muted.
+* Probably CODEC incorrectly reports internal connections.
+* Hide that muter from the driver.  There are several 
CODECs

+* sharing this ID and I have not enough information about
+* them to implement more universal solution.
+*/
+   if (subid == 0x10438437) {
+   w = hdaa_widget_get(devinfo, 15);
+   if (w != NULL)
+   w-param.inamp_cap = 0;
+   }
+   break;
case HDA_CODEC_CX20582:
case HDA_CODEC_CX20583:
case HDA_CODEC_CX20584:


--
Alexander Motin
___
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 from speaker, using Realtek ALC269 and snd_hda

2012-10-31 Thread Big Yuuta
Hi Alexander,

No, that patch didn't do the trick for the simple reason that
my actual subid was 0x84371043 and not 0x1043837 -you spot my mistake? ;-)

So here's the one that finally got me sound with my Asus EeePC 1001px
on the internal speaker:


--- hdaa_patches.c
+++ hdaa_patches.c
@@ -541,6 +541,21 @@
if (w != NULL)
w-connsenable[0] = 0;
break;
+   case HDA_CODEC_ALC269:
+   /*
+   * ASUS EeePC 1001px has strange variant of ALC269 CODEC,
+   * that mutes speaker if unused mixer at NID 15 is muted.
+   * Probably CODEC incorrectly reports internal connections.
+   * Hide that muter from the driver.  There are several CODECs
+   * sharing this ID and I have not enough information about
+   * them to implement more universal solution.
+   */
+   if (subid == 0x84371043) {
+   w = hdaa_widget_get(devinfo, 15);
+   if (w != NULL)
+   w-param.inamp_cap = 0;
+   }
+   break;
case HDA_CODEC_CX20582:
case HDA_CODEC_CX20583:
case HDA_CODEC_CX20584:


Now I can have a good nap thinking that somehow I contributed a
tiny little bit to my favorite OS.

Thank you so much, Alexander! Not only you helped me solve this problem that
I had for several months, but you also got me interested in FreeBSD's
internal code!



On Wed, Oct 31, 2012 at 9:35 AM, Alexander Motin m...@freebsd.org wrote:
 On 31.10.2012 03:00, Big Yuuta wrote:

 Yes, actually I'm using  sysctl hw.snd.verbose=4 to understand
 what's happening inside.

  From my tests, it's not a sense redirection problem. Because, when
 I unmute everything, and then I plug a headphone, the sound goes
 to the headphone and the internal speaker is mutted, and when I unplug
 it, the internal speaker gets the sound, and (nid 26: the headphone)
 is mutted.

 So, anyway, I'm still debugging it and I found out that I don't have
 to unmute everything, I just have to make sure that nid=15 is never
 mutted.

 i.e. the test I wrote in my last email could be more precise like this:

 hdaa_audio_ctl_amp_set_internal(struct hdaa_devinfo *devinfo, nid_t nid,
  int index, int lmute, int rmute,
  int left, int right, int dir)
 {
  uint16_t v = 0;

  if(nid == 15){ //just don't mute nid15, and it works
 lmute = 0;
 rmute = 0;
   }


 Strange thing is from my dmesg here: http://dpaste.com/818967/plain/
 I thought that nid 15 wasn't used.

 hdaa0: nid: 15 [DISABLED]
 hdaa0:Name: audio mixer
 hdaa0:  Widget cap: 0x0020010a
 hdaa0:   Input amp: 0x8000
 hdaa0:  mute=1 step=0 size=0 offset=0
 hdaa0: connections: 2
 hdaa0:   |
 hdaa0:   + [DISABLED] - nid=2 [audio output]
 hdaa0:   + [DISABLED] - nid=11 [audio mixer]

 Maybe it's disabled because others were disabled for other reasons?
 I honestly don't grok the whole thing yet.


 The driver reports as disabled all parts of the CODEC that are unused in
 specific configuration. It is quite usual to have half of CODEC unused. To
 avoid unexpected effects driver mutes all disabled controls. According to
 information reported by CODEC, this mixer is really unused. I see no problem
 from the driver side there.


 We, IMVHO, probably just should add a patch inside hdaa_patches.c
 for this case:

  case HDA_CODEC_ALC269:
  if (subid == 0x10438437){ //0x10438437 is my subsystem id.
 w = hdaa_widget_get(devinfo, 15);
  if(w != NULL)
   //some magic to unmute it ?
  }
  break;

 What do you think?


 I think Realtek engineers got crazy. They not only created several different
 CODECs sharing the same ID (my laptop also uses variant of ALC269, but it
 has no such problem), but also violated their own specs and information
 reported by CODEC. Patch below should hide problematic muter from the
 driver. Solution is far from perfect, but that is best I can propose without
 having more information. Please test it and report about results.

 --- hdaa_patches.c  (revision 242352)
 +++ hdaa_patches.c  (working copy)
 @@ -541,6 +541,21 @@ hdaa_patch(struct hdaa_devinfo *devinfo)
 if (w != NULL)
 w-connsenable[0] = 0;
 break;
 +   case HDA_CODEC_ALC269:
 +   /*
 +* ASUS EeePC 1001px has strange variant of ALC269 CODEC,
 +* that mutes speaker if unused mixer at NID 15 is muted.
 +* Probably CODEC incorrectly reports internal connections.
 +* Hide that muter from the driver.  There are several
 CODECs
 +* sharing this ID and I have not enough information about
 +* them to implement more universal

Re: No sound from speaker, using Realtek ALC269 and snd_hda

2012-10-31 Thread Alexander Motin

On 31.10.2012 18:24, Big Yuuta wrote:

No, that patch didn't do the trick for the simple reason that
my actual subid was 0x84371043 and not 0x1043837 -you spot my mistake? ;-)

So here's the one that finally got me sound with my Asus EeePC 1001px
on the internal speaker:

Now I can have a good nap thinking that somehow I contributed a
tiny little bit to my favorite OS.

Thank you so much, Alexander! Not only you helped me solve this problem that
I had for several months, but you also got me interested in FreeBSD's
internal code!


Thank you for your contribution, it is really valuable, as there is no 
other way to handle such kind of hardware issues.  I've just committed 
the patch to the HEAD branch and will merge it down to 8/9-STABLE in two 
weeks.


--
Alexander Motin
___
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 from speaker, using Realtek ALC269 and snd_hda

2012-10-31 Thread Big Yuuta
On Wed, Oct 31, 2012 at 11:14 PM, Alexander Motin m...@freebsd.org wrote:
 On 31.10.2012 18:24, Big Yuuta wrote:

 No, that patch didn't do the trick for the simple reason that
 my actual subid was 0x84371043 and not 0x1043837 -you spot my mistake? ;-)

 So here's the one that finally got me sound with my Asus EeePC 1001px
 on the internal speaker:

 Now I can have a good nap thinking that somehow I contributed a
 tiny little bit to my favorite OS.

 Thank you so much, Alexander! Not only you helped me solve this problem
 that
 I had for several months, but you also got me interested in FreeBSD's
 internal code!


 Thank you for your contribution, it is really valuable, as there is no other
 way to handle such kind of hardware issues.  I've just committed the patch
 to the HEAD branch and will merge it down to 8/9-STABLE in two weeks.

 --
 Alexander Motin

It was *my* pleasure! Thank you!
___
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 from speaker, using Realtek ALC269 and snd_hda

2012-10-30 Thread Big Yuuta
Hi Alexander,

I got the sound out of that speaker!! :)

I actually started to read your code, and I'm still trying to understand
the stuff in it (I never wrote a device driver)

Anyway, so I did a little hack'ish modification (just to test) in function

hdaa_audio_ctl_amp_set_internal(struct hdaa_devinfo *devinfo, nid_t nid,
int index, int lmute, int rmute,
int left, int right, int dir)
{
uint16_t v = 0;

// Do not mute, even if asked for. Test to be removed of course
lmute = 0;
rmute = 0;


I know, this is absolutely NOT the way to do it, but I wanted to see
if the speaker wasn't muted (or the mixer that controls it)
and it -actually- WAS muted!

Now, I guess I'll have to read the whole code, try to understand its
internals, and I hope to be able to write a patch to add to hdaa_patches.c

I'm just a beginner, but I'll try anyway :)


On Mon, Oct 29, 2012 at 6:09 PM, Big Yuuta init...@gmail.com wrote:
 On Mon, Oct 29, 2012 at 5:46 PM, Alexander Motin m...@freebsd.org wrote:
 On 29.10.2012 18:35, Big Yuuta wrote:

 On Mon, Oct 29, 2012 at 5:07 PM, Alexander Motin m...@freebsd.org wrote:

 On 29.10.2012 17:44, Big Yuuta wrote:

 On Sun, Oct 28, 2012 at 10:34 PM, Alexander Motin m...@freebsd.org
 wrote:


 Also check that pin sensing is working. Try to plug in/out headphones.
 With
 verbose messages enabled, you should see messages about that on console
 and
 in logs.



 Pin sensing works fine. I tested it and whenever I plug the headphone
 in,
 I can hear the sound from the headphone, and I have this output
 on the console:

 hdaa0: Pin sense: nid=26 sence=0x8000 (connected)
 pcm0: Redirect output to: headphones
 hdaa0: Pin sense: nid=26 sence=0x (disconnected)
 pcm0: Redirect output to: main

 I think the redirection works, but nid20 is not well set? Is main here
 the 1st nid of the association? i.e. nid20 which has seq=0?



 Not necessary the seq=0, as it can be multichannel output, but in this
 case
 -- yes.


 I hope I'm not bothering you with my questions, and again thanks
 a lot for all your work, patience, and help!



 Unfortunately I am almost run out of ideas. Neither Linux nor audio/oss
 seems have specific code for your system. That makes me think that
 problem
 is in some different basic assumptions in the drivers. But that doesn't
 give
 any hint to find it out.

 You may try to play with setting different levels of ivref/ovref voltages
 via hint.hdaa.0.config tunable. I haven't even seen it affecting power
 amplifier, but who knows...


 Thank you, Alexander! :)

 In fact, this netbook works very fine with audio/oss from ports.
 My only problem with audio/oss is that whenever I skip (seek) in a
 video or an audio file, freebsd crashes and reboots.

 I know it's a problem with mplayer + oss, because, mplayer
 with snd_hda works (except speaker) and oss + vlc works

 But I like mplayer more than vlc ;)


 I don't have plans to support audio/oss, but I would be interested to
 diagnose this issue with snd_hda. Unfortunately, I am not sure what else can
 I do now without access to the hardware for low-level debugging. If somebody
 with the same netbook and the same problem appears at MeetBSD California or
 otherwise in San Jose in following days, I would be glad to look. Other
 problematic sound hardware is also welcome.

 Perfect! Thank you so much! And if I ever make it work, I'll tell you.

 Thanks again :)
___
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 from speaker, using Realtek ALC269 and snd_hda

2012-10-30 Thread Alexander Motin

On 30.10.2012 09:17, Big Yuuta wrote:

Hi Alexander,

I got the sound out of that speaker!! :)

I actually started to read your code, and I'm still trying to understand
the stuff in it (I never wrote a device driver)

Anyway, so I did a little hack'ish modification (just to test) in function

hdaa_audio_ctl_amp_set_internal(struct hdaa_devinfo *devinfo, nid_t nid,
int index, int lmute, int rmute,
int left, int right, int dir)
{
uint16_t v = 0;

 // Do not mute, even if asked for. Test to be removed of course
 lmute = 0;
 rmute = 0;


I know, this is absolutely NOT the way to do it, but I wanted to see
if the speaker wasn't muted (or the mixer that controls it)
and it -actually- WAS muted!

Now, I guess I'll have to read the whole code, try to understand its
internals, and I hope to be able to write a patch to add to hdaa_patches.c


Speaker should be muted on headphones connection. That is one of two 
ways of handling playback redirection. But it should be unmuted on 
disconnection. You may try to set sysctl hw.snd.verbose=4 and 
connect/disconnect headphones. It should report which controls are 
affected and how.


You may try this hack to use pin controls instead of muters for redirection:
--- hdaa.c  (revision 242315)
+++ hdaa.c  (working copy)
@@ -260,7 +260,7 @@
/* (Un)Mute headphone pin. */
ctl = hdaa_audio_ctl_amp_get(devinfo,
w-nid, HDAA_CTL_IN, -1, 1);
-   if (ctl != NULL  ctl-mute) {
+   if (ctl != NULL  ctl-mute  0) {
/* If pin has muter - use it. */
val = connected ? 0 : 1;
if (val != ctl-forcemute) {
@@ -290,7 +290,7 @@ hdaa_hpredir_handler(struct hdaa_widget *w)
continue;
ctl = hdaa_audio_ctl_amp_get(devinfo,
as-pins[j], HDAA_CTL_IN, -1, 1);
-   if (ctl != NULL  ctl-mute) {
+   if (ctl != NULL  ctl-mute  0) {
/* If pin has muter - use it. */
val = connected ? 1 : 0;
if (val == ctl-forcemute)


--
Alexander Motin
___
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 from speaker, using Realtek ALC269 and snd_hda

2012-10-30 Thread Big Yuuta
Yes, actually I'm using  sysctl hw.snd.verbose=4 to understand
what's happening inside.

From my tests, it's not a sense redirection problem. Because, when
I unmute everything, and then I plug a headphone, the sound goes
to the headphone and the internal speaker is mutted, and when I unplug
it, the internal speaker gets the sound, and (nid 26: the headphone)
is mutted.

So, anyway, I'm still debugging it and I found out that I don't have
to unmute everything, I just have to make sure that nid=15 is never
mutted.

i.e. the test I wrote in my last email could be more precise like this:

hdaa_audio_ctl_amp_set_internal(struct hdaa_devinfo *devinfo, nid_t nid,
int index, int lmute, int rmute,
int left, int right, int dir)
{
uint16_t v = 0;

if(nid == 15){ //just don't mute nid15, and it works
   lmute = 0;
   rmute = 0;
 }


Strange thing is from my dmesg here: http://dpaste.com/818967/plain/
I thought that nid 15 wasn't used.

hdaa0: nid: 15 [DISABLED]
hdaa0:Name: audio mixer
hdaa0:  Widget cap: 0x0020010a
hdaa0:   Input amp: 0x8000
hdaa0:  mute=1 step=0 size=0 offset=0
hdaa0: connections: 2
hdaa0:   |
hdaa0:   + [DISABLED] - nid=2 [audio output]
hdaa0:   + [DISABLED] - nid=11 [audio mixer]

Maybe it's disabled because others were disabled for other reasons?
I honestly don't grok the whole thing yet.

We, IMVHO, probably just should add a patch inside hdaa_patches.c
for this case:

case HDA_CODEC_ALC269:
if (subid == 0x10438437){ //0x10438437 is my subsystem id.
w = hdaa_widget_get(devinfo, 15);
if(w != NULL)
 //some magic to unmute it ?
}
break;

What do you think?


On Tue, Oct 30, 2012 at 10:26 AM, Alexander Motin m...@freebsd.org wrote:
 On 30.10.2012 09:17, Big Yuuta wrote:

 Hi Alexander,

 I got the sound out of that speaker!! :)

 I actually started to read your code, and I'm still trying to understand
 the stuff in it (I never wrote a device driver)

 Anyway, so I did a little hack'ish modification (just to test) in function

 hdaa_audio_ctl_amp_set_internal(struct hdaa_devinfo *devinfo, nid_t nid,
 int index, int lmute, int rmute,
 int left, int right, int dir)
 {
 uint16_t v = 0;

  // Do not mute, even if asked for. Test to be removed of course
  lmute = 0;
  rmute = 0;


 I know, this is absolutely NOT the way to do it, but I wanted to see
 if the speaker wasn't muted (or the mixer that controls it)
 and it -actually- WAS muted!

 Now, I guess I'll have to read the whole code, try to understand its
 internals, and I hope to be able to write a patch to add to hdaa_patches.c


 Speaker should be muted on headphones connection. That is one of two ways of
 handling playback redirection. But it should be unmuted on disconnection.
 You may try to set sysctl hw.snd.verbose=4 and connect/disconnect
 headphones. It should report which controls are affected and how.

 You may try this hack to use pin controls instead of muters for redirection:
 --- hdaa.c  (revision 242315)
 +++ hdaa.c  (working copy)
 @@ -260,7 +260,7 @@
 /* (Un)Mute headphone pin. */
 ctl = hdaa_audio_ctl_amp_get(devinfo,
 w-nid, HDAA_CTL_IN, -1, 1);
 -   if (ctl != NULL  ctl-mute) {
 +   if (ctl != NULL  ctl-mute  0) {
 /* If pin has muter - use it. */
 val = connected ? 0 : 1;
 if (val != ctl-forcemute) {
 @@ -290,7 +290,7 @@ hdaa_hpredir_handler(struct hdaa_widget *w)
 continue;
 ctl = hdaa_audio_ctl_amp_get(devinfo,
 as-pins[j], HDAA_CTL_IN, -1, 1);
 -   if (ctl != NULL  ctl-mute) {
 +   if (ctl != NULL  ctl-mute  0) {
 /* If pin has muter - use it. */
 val = connected ? 1 : 0;
 if (val == ctl-forcemute)


 --
 Alexander Motin
___
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 from speaker, using Realtek ALC269 and snd_hda

2012-10-28 Thread Big Yuuta
 Hi all,

I have an asus eeepc 1001px, on which I installed 9-stable.
I, since day one, never had any sound coming out of the speaker,
but when I plug a headphone in the jack, I have the sound -in the
headphones.

The chipset is a Realtek ALC269 which some people said is supported.

I read, and re-read the man page for snd_hda so many times,
but I just can't make it work.

Here's what I have right now in my device.hints

Code:

hint.hdaa.0.nid20.config=as=1 seq=0 device=Speaker
hint.hdaa.0.nid26.config=as=1 seq=15 device=Headphones
hint.hdaa.0.nid18.config=as=2 seq=0
#hint.hdaa.0.gpio_config=0=set
hint.hdaa.0.config=forcestereo,ivref50,ivref80,ivref100,ivref,vref
hint.pcm.0.config=gpio0,gpio1,gpio2,gpio3,gpio4,gpio5,gpio6,gpio7
hint.pcm.0.vol=100

This is my n'th attempt, I pretty tried everything I could imagine.

Here's my verbose dmesg http://dpaste.com/818967/plain/

Am I missing something? Is my understanding of pinouts correct?

Thank you for your attention, and help! :)
hdacc0: Realtek ALC269 HDA CODEC at cad 0 on hdac0
hdacc0: Root Node at nid=0: 1 subnodes 1-1
hdaa0: Realtek ALC269 Audio Function Group at nid 1 on hdacc0
hdaa0: Audio Function Group at nid=1: 34 subnodes 2-35
hdaa0: NumGPIO=2 NumGPO=0 NumGPI=0 GPIWake=0 GPIUnsol=1
hdaa0:  GPIO0: disabled
hdaa0:  GPIO1: disabled
hdaa0: Original pins configuration:
hdaa0: nid   0xas seq device   conn  jackloccolor   misc
hdaa0: 18 99a30920 2  0  Mic   Fixed ATAPI   OnboardUnknown 9
hdaa0: 20 99130110 1  0  Speaker   Fixed ATAPI   OnboardUnknown 1
hdaa0: 23 41f0 15 0  Speaker   None  1/8 Rear   Black   1
hdaa0: 24 41f0 15 0  Speaker   None  1/8 Rear   Black   1
hdaa0: 25 41f0 15 0  Speaker   None  1/8 Rear   Black   1
hdaa0: 26 0121441f 1  15 HeadphonesJack  1/8 Rear   Green   4
hdaa0: 27 41f0 15 0  Speaker   None  1/8 Rear   Black   1
hdaa0: 29 4006852d 2  13 Line-out  None  Digital 0x00   Purple  5
hdaa0: 30 41f0 15 0  Speaker   None  1/8 Rear   Black   1
hdaa0: 33 41f0 15 0  Speaker   None  1/8 Rear   Black   1
hdaa0: Patching widget caps nid=29 0x0040 - 0x0070
hdaa0: Patched pins configuration:
hdaa0: nid   0xas seq device   conn  jackloccolor   misc
hdaa0: 18 99a30920 2  0  Mic   Fixed ATAPI   OnboardUnknown 9
hdaa0: 20 99130110 1  0  Speaker   Fixed ATAPI   OnboardUnknown 1
hdaa0: 23 41f0 15 0  Speaker   None  1/8 Rear   Black   1 DISA
hdaa0: 24 41f0 15 0  Speaker   None  1/8 Rear   Black   1 DISA
hdaa0: 25 41f0 15 0  Speaker   None  1/8 Rear   Black   1 DISA
hdaa0: 26 0121441f 1  15 HeadphonesJack  1/8 Rear   Green   4
hdaa0: 27 41f0 15 0  Speaker   None  1/8 Rear   Black   1 DISA
hdaa0: 30 41f0 15 0  Speaker   None  1/8 Rear   Black   1 DISA
hdaa0: 33 41f0 15 0  Speaker   None  1/8 Rear   Black   1 DISA
hdaa0: 2 associations found:
hdaa0: Association 0 (1) out:
hdaa0:  Pin nid=20 seq=0
hdaa0:  Pin nid=26 seq=15
hdaa0: Association 1 (2) in:
hdaa0:  Pin nid=18 seq=0
hdaa0: Tracing association 0 (1)
hdaa0:  Pin 20 traced to DAC 2
hdaa0:  Pin 26 traced to DAC 2 and hpredir 0
hdaa0: Association 0 (1) trace succeeded
hdaa0: Tracing association 1 (2)
hdaa0:  Unable to trace pin 18 to ADC 8, undo traces
hdaa0:  Pin 18 traced to ADC 9
hdaa0: Association 1 (2) trace succeeded
hdaa0: Looking for additional DAC for association 0 (1)
hdaa0: Looking for additional ADC for association 1 (2)
hdaa0: Tracing input monitor
hdaa0: Tracing other input monitors
hdaa0:  Tracing nid 18 to out
hdaa0: Tracing beeper
hdaa0:  nid 29 traced to out
hdaa0: Headphones redirection for association 0 nid=26 using unsolicited 
responses.
hdaa0: FG config/quirks: forcestereo ivref50 ivref80 ivref100 ovref50 ovref80 
ovref100 ivref ovref vref
hdaa0: 
hdaa0: +---+
hdaa0: | DUMPING HDA NODES |
hdaa0: +---+
hdaa0: 
hdaa0: Default Parameter
hdaa0: -
hdaa0:  Stream cap: 0x0001
hdaa0:  PCM
hdaa0: PCM cap: 0x000e0560
hdaa0:  16 20 24 bits, 44 48 96 192 KHz
hdaa0:  IN amp: 0x
hdaa0: OUT amp: 0x
hdaa0: 
hdaa0: nid: 2
hdaa0:Name: audio output
hdaa0:  Widget cap: 0x001d
hdaa0:  STEREO
hdaa0: Association: 0 (0x8001)
hdaa0: OSS: pcm (pcm)
hdaa0:  Stream cap: 0x0001
hdaa0:  PCM
hdaa0: PCM cap: 0x000e0560
hdaa0:  16 20 24 bits, 44 48 96 192 KHz
hdaa0:  Output amp: 0x00025757
hdaa0:  mute=0 step=87 size=2 offset=87
hdaa0: 
hdaa0: nid: 3 [DISABLED]
hdaa0:Name: audio output
hdaa0:  Widget cap: 0x001d
hdaa0:  STEREO
hdaa0:  Stream cap: 0x0001
hdaa0:  PCM
hdaa0

Re: No sound from speaker, using Realtek ALC269 and snd_hda

2012-10-28 Thread Alexander Motin

On 28.10.2012 17:12, Big Yuuta wrote:

I have an asus eeepc 1001px, on which I installed 9-stable.
I, since day one, never had any sound coming out of the speaker,
but when I plug a headphone in the jack, I have the sound -in the
headphones.

The chipset is a Realtek ALC269 which some people said is supported.


Now driver support most of CODECs. I don't know cases when specific 
CODEC would be a problem, and Realtek CODECs from functional side are 
better then many others. But many systems have custom wiring and laptops 
are usually more problematic there.



I read, and re-read the man page for snd_hda so many times,
but I just can't make it work.

Here's what I have right now in my device.hints

Code:

hint.hdaa.0.nid20.config=as=1 seq=0 device=Speaker
hint.hdaa.0.nid26.config=as=1 seq=15 device=Headphones
hint.hdaa.0.nid18.config=as=2 seq=0


As I see, these three hints are replicating existing configuration and 
effectively useless.



#hint.hdaa.0.gpio_config=0=set
hint.hdaa.0.config=forcestereo,ivref50,ivref80,ivref100,ivref,vref
hint.pcm.0.config=gpio0,gpio1,gpio2,gpio3,gpio4,gpio5,gpio6,gpio7
hint.pcm.0.vol=100

This is my n'th attempt, I pretty tried everything I could imagine.

Here's my verbose dmesg http://dpaste.com/818967/plain/

Am I missing something? Is my understanding of pinouts correct?


CODEC configuration looks good and I see no problems in driver output. I 
think most likely problem is in CODEC wiring and power amplifier. Your 
CODEC has two GPIO lines and EAPD line. That gives 8 possible 
combinations. I would recommend you to try them all. GPIOs, as you tried 
could be set with hint.hdaa.0.gpio_config tunable. EAPD line can be 
controlled (0 or 100) by the ogain mixer control.


Unluckily with this output I can't completely identify your system to 
check what Linux does for it. Could you send me `devinfo -vr` output.


--
Alexander Motin
___
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 from speaker, using Realtek ALC269 and snd_hda

2012-10-28 Thread Big Yuuta
Thank you, Alexander!


On Sun, Oct 28, 2012 at 8:28 PM, Alexander Motin m...@freebsd.org wrote:
 On 28.10.2012 17:12, Big Yuuta wrote:

 hint.hdaa.0.nid20.config=as=1 seq=0 device=Speaker
 hint.hdaa.0.nid26.config=as=1 seq=15 device=Headphones
 hint.hdaa.0.nid18.config=as=2 seq=0


 As I see, these three hints are replicating existing configuration and
 effectively useless.

You're absolutely right! These are the same as the original ones.

 #hint.hdaa.0.gpio_config=0=set
 hint.hdaa.0.config=forcestereo,ivref50,ivref80,ivref100,ivref,vref
 hint.pcm.0.config=gpio0,gpio1,gpio2,gpio3,gpio4,gpio5,gpio6,gpio7
 hint.pcm.0.vol=100

 This is my n'th attempt, I pretty tried everything I could imagine.

 Here's my verbose dmesg http://dpaste.com/818967/plain/

 Am I missing something? Is my understanding of pinouts correct?


 CODEC configuration looks good and I see no problems in driver output. I
 think most likely problem is in CODEC wiring and power amplifier. Your CODEC
 has two GPIO lines and EAPD line. That gives 8 possible combinations. I
 would recommend you to try them all. GPIOs, as you tried could be set with
 hint.hdaa.0.gpio_config tunable. EAPD line can be controlled (0 or 100) by
 the ogain mixer control.

You mean combinations like:

hint.hdaa.0.gpio_config=0=set 1=set 2=set

Where the values could be set or keep? But then again, the man
also cites clear, disable, input. So that'd make more than 8 possible
permutations? Or is it something else? Can you please give me an example?

Also, can I, after booting, just try with:

kenv  hint.hdaa.0.gpio_config=0=set 1=set 2=set
kdunload snd_hda.ko
kdload snd_hda.ko

or should I reboot each time?


 Unluckily with this output I can't completely identify your system to check
 what Linux does for it. Could you send me `devinfo -vr` output.

Sure! I'm attaching it

Again thanks for all your work on the subject, and your help!


P.S. Here's some extra output from dmesg when I set: dev.hdac.0.pindump=1

hdaa0: Dumping AFG pins:
hdaa0: nid   0xas seq device   conn  jackloccolor   misc
hdaa0: 18 99a30920 2  0  Mic   Fixed ATAPI   OnboardUnknown 9
hdaa0: Caps: IN
hdaa0: 20 99130110 1  0  Speaker   Fixed ATAPI   OnboardUnknown 1
hdaa0: Caps:OUTEAPD  Sense: 0x (disconnected)
hdaa0: 23 41f0 15 0  Speaker   None  1/8 Rear   Black   1 DISA
hdaa0: Caps:OUT
hdaa0: 24 41f0 15 0  Speaker   None  1/8 Rear   Black   1 DISA
hdaa0: Caps: IN OUT VREF Sense: 0x (disconnected)
hdaa0: 25 41f0 15 0  Speaker   None  1/8 Rear   Black   1 DISA
hdaa0: Caps: IN VREF Sense: 0x (disconnected)
hdaa0: 26 0121441f 1  15 HeadphonesJack  1/8 Rear   Green   4
hdaa0: Caps: IN OUT HP   Sense: 0x (disconnected)
hdaa0: 27 41f0 15 0  Speaker   None  1/8 Rear   Black   1 DISA
hdaa0: Caps: IN OUT  Sense: 0x (disconnected)
hdaa0: 30 41f0 15 0  Speaker   None  1/8 Rear   Black   1 DISA
hdaa0: Caps:OUT  Sense: 0x (disconnected)
hdaa0: 33 41f0 15 0  Speaker   None  1/8 Rear   Black   1 DISA
hdaa0: Caps:OUT HP   Sense: 0x (disconnected)
hdaa0: NumGPIO=2 NumGPO=0 NumGPI=0 GPIWake=0 GPIUnsol=1
hdaa0:  GPIO0: disabled
hdaa0:  GPIO1: disabled
nexus0
  apic0
  ram0
  I/O memory addresses:
  0x0-0x9fbff
  0x10-0x7f68
  acpi0
  Interrupt request lines:
  9
  I/O ports:
  0x10-0x1f
  0x22-0x3f
  0x44-0x4d
  0x50-0x5e
  0x63
  0x65
  0x67-0x6f
  0x72-0x7f
  0x80
  0x84-0x86
  0x88
  0x8c-0x8e
  0x90-0x9f
  0xa2-0xbf
  0xe0-0xef
  0x25c-0x25f
  0x380-0x383
  0x400-0x41f
  0x480-0x4bf
  0x4d0-0x4d1
  0x800-0x87f
  I/O memory addresses:
  0xc-0xc
  0xe-0xf
  0xe000-0xefff
  0xfec0-0xfec00fff
  0xfed14000-0xfed19fff
  0xfed1c000-0xfed1
  0xfed2-0xfed3
  0xfed5-0xfed8
  0xfed9-0x
acpi_ec0 pnpinfo _HID=PNP0C09 _UID=0 at handle=\_SB_.PCI0.SBRG.EC0_
I/O ports:
0x62
0x66
cpu0 pnpinfo _HID=none _UID=0 at handle=\_PR_.P001
ACPI I/O ports:
0x814
  acpi_throttle0
  est0
  p4tcc0
  acpi_perf0
  cpufreq0
cpu1 pnpinfo _HID=none _UID=0 at handle=\_PR_.P002
ACPI I/O ports:
0x814
  acpi_throttle1
  est1
  p4tcc1
  acpi_perf1
  cpufreq1
pcib0 pnpinfo _HID=PNP0A08 _UID=0 at handle=\_SB_.PCI0
I/O ports:
0xcf8-0xcff
  pci0
hostb0 pnpinfo vendor=0x8086 device=0xa010 subvendor=0x1043 
subdevice=0x83ac class=0x06 at 

Re: No sound from speaker, using Realtek ALC269 and snd_hda

2012-10-28 Thread Alexander Motin

On 28.10.2012 22:09, Big Yuuta wrote:

CODEC configuration looks good and I see no problems in driver output. I
think most likely problem is in CODEC wiring and power amplifier. Your CODEC
has two GPIO lines and EAPD line. That gives 8 possible combinations. I
would recommend you to try them all. GPIOs, as you tried could be set with
hint.hdaa.0.gpio_config tunable. EAPD line can be controlled (0 or 100) by
the ogain mixer control.


You mean combinations like:

hint.hdaa.0.gpio_config=0=set 1=set 2=set


As I've told, there are only two GPIO pins, so only 0=X 1=Y, plus 
ogain mixer control.



Where the values could be set or keep? But then again, the man
also cites clear, disable, input. So that'd make more than 8 possible
permutations? Or is it something else? Can you please give me an example?


GPIO pins are bidirectional, but I have doubt that input or high 
impedance (disable) state could be used to control something. keep 
is also useless, as by default these pins are disabled. So you have only 
set and clear.



Also, can I, after booting, just try with:

kenv  hint.hdaa.0.gpio_config=0=set 1=set 2=set
kdunload snd_hda.ko
kdload snd_hda.ko


Yes, that should work.


or should I reboot each time?


I don't think it is required.

--
Alexander Motin
___
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 from speaker, using Realtek ALC269 and snd_hda

2012-10-28 Thread Big Yuuta
On Sun, Oct 28, 2012 at 9:42 PM, Alexander Motin m...@freebsd.org wrote:
 On 28.10.2012 22:09, Big Yuuta wrote:

 CODEC configuration looks good and I see no problems in driver output. I
 think most likely problem is in CODEC wiring and power amplifier. Your
 CODEC
 has two GPIO lines and EAPD line. That gives 8 possible combinations. I
 would recommend you to try them all. GPIOs, as you tried could be set
 with
 hint.hdaa.0.gpio_config tunable. EAPD line can be controlled (0 or 100)
 by
 the ogain mixer control.


 You mean combinations like:

 hint.hdaa.0.gpio_config=0=set 1=set 2=set


 As I've told, there are only two GPIO pins, so only 0=X 1=Y, plus ogain
 mixer control.

So that would be:

hint.hdaa.0.gpio_config=0=set 1=set
hint.hdaa.0.gpio_config=0=set 1=clear
hint.hdaa.0.gpio_config=0=clear 1=set
hint.hdaa.0.gpio_config=0=clear 1=clear

which I try with:

mixer ogain 0:0
mixer ogain 100:100

I'm going to check once again, but I think that unfortunately that didn't work.
I hope that I forgot a combination!

Thanks again, Alexander
___
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 from speaker, using Realtek ALC269 and snd_hda

2012-10-28 Thread Big Yuuta
Unfortunately, trying with the different combinations didn't work.

I wrote this tiny script just to make sure I'm not forgetting a case:

#!/bin/sh
echo testing with: $1 - $2;
kenv hint.hdaa.0.gpio_config=0=$1 1=$2;
kldunload snd_hda.ko;
kldload snd_hda.ko;
mplayer song.mp3;

and I run it like this:

./test.sh set set
./test.sh set clear
./test.sh clear set
./test.sh clear clear

And nothing came out of the speaker, alas :(

What's strange is that the speaker actually works with OSS from ports,
but when I use it (OSS) with mplayer it crashes the whole system
whenever I try to skip in a video/audio file

On Sun, Oct 28, 2012 at 9:58 PM, Big Yuuta init...@gmail.com wrote:
 On Sun, Oct 28, 2012 at 9:42 PM, Alexander Motin m...@freebsd.org wrote:
 On 28.10.2012 22:09, Big Yuuta wrote:

 CODEC configuration looks good and I see no problems in driver output. I
 think most likely problem is in CODEC wiring and power amplifier. Your
 CODEC
 has two GPIO lines and EAPD line. That gives 8 possible combinations. I
 would recommend you to try them all. GPIOs, as you tried could be set
 with
 hint.hdaa.0.gpio_config tunable. EAPD line can be controlled (0 or 100)
 by
 the ogain mixer control.


 You mean combinations like:

 hint.hdaa.0.gpio_config=0=set 1=set 2=set


 As I've told, there are only two GPIO pins, so only 0=X 1=Y, plus ogain
 mixer control.

 So that would be:

 hint.hdaa.0.gpio_config=0=set 1=set
 hint.hdaa.0.gpio_config=0=set 1=clear
 hint.hdaa.0.gpio_config=0=clear 1=set
 hint.hdaa.0.gpio_config=0=clear 1=clear

 which I try with:

 mixer ogain 0:0
 mixer ogain 100:100

 I'm going to check once again, but I think that unfortunately that didn't 
 work.
 I hope that I forgot a combination!

 Thanks again, Alexander
___
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 from speaker, using Realtek ALC269 and snd_hda

2012-10-28 Thread Alexander Motin

On 28.10.2012 23:20, Big Yuuta wrote:

Unfortunately, trying with the different combinations didn't work.

I wrote this tiny script just to make sure I'm not forgetting a case:

#!/bin/sh
echo testing with: $1 - $2;
kenv hint.hdaa.0.gpio_config=0=$1 1=$2;
kldunload snd_hda.ko;
kldload snd_hda.ko;
mplayer song.mp3;

and I run it like this:

./test.sh set set
./test.sh set clear
./test.sh clear set
./test.sh clear clear

And nothing came out of the speaker, alas :(


Alas. I'll just remind one more time about `mixer ogain`.

Also check that pin sensing is working. Try to plug in/out headphones. 
With verbose messages enabled, you should see messages about that on 
console and in logs.



What's strange is that the speaker actually works with OSS from ports,
but when I use it (OSS) with mplayer it crashes the whole system
whenever I try to skip in a video/audio file

On Sun, Oct 28, 2012 at 9:58 PM, Big Yuuta init...@gmail.com wrote:

On Sun, Oct 28, 2012 at 9:42 PM, Alexander Motin m...@freebsd.org wrote:

On 28.10.2012 22:09, Big Yuuta wrote:


CODEC configuration looks good and I see no problems in driver output. I
think most likely problem is in CODEC wiring and power amplifier. Your
CODEC
has two GPIO lines and EAPD line. That gives 8 possible combinations. I
would recommend you to try them all. GPIOs, as you tried could be set
with
hint.hdaa.0.gpio_config tunable. EAPD line can be controlled (0 or 100)
by
the ogain mixer control.



You mean combinations like:

hint.hdaa.0.gpio_config=0=set 1=set 2=set



As I've told, there are only two GPIO pins, so only 0=X 1=Y, plus ogain
mixer control.


So that would be:

hint.hdaa.0.gpio_config=0=set 1=set
hint.hdaa.0.gpio_config=0=set 1=clear
hint.hdaa.0.gpio_config=0=clear 1=set
hint.hdaa.0.gpio_config=0=clear 1=clear

which I try with:

mixer ogain 0:0
mixer ogain 100:100

I'm going to check once again, but I think that unfortunately that didn't work.
I hope that I forgot a combination!

Thanks again, Alexander



--
Alexander Motin


___
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 from speaker, using Realtek ALC269 and snd_hda

2012-10-28 Thread Big Yuuta
On Sun, Oct 28, 2012 at 10:34 PM, Alexander Motin m...@freebsd.org wrote:
 On 28.10.2012 23:20, Big Yuuta wrote:

 Unfortunately, trying with the different combinations didn't work.

 I wrote this tiny script just to make sure I'm not forgetting a case:

 #!/bin/sh
 echo testing with: $1 - $2;
 kenv hint.hdaa.0.gpio_config=0=$1 1=$2;
 kldunload snd_hda.ko;
 kldload snd_hda.ko;
 mplayer song.mp3;

 and I run it like this:

 ./test.sh set set
 ./test.sh set clear
 ./test.sh clear set
 ./test.sh clear clear

 And nothing came out of the speaker, alas :(


 Alas. I'll just remind one more time about `mixer ogain`.

My bad, I forgot to tell you that I tried it with
mixer ogain 0:0 and mixer ogain 100:100 for every case.

 Also check that pin sensing is working. Try to plug in/out headphones. With
 verbose messages enabled, you should see messages about that on console and
 in logs.

Ah, yes, I should give this a try!

Thank you so much, Alexander!

I'll keep you informed :)
___
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


VIA Pico-ITX ethernet sound issues

2012-10-28 Thread Rod Morgan
I have a VIA Pico-ITX system (the original Artigo system) and have 
installed 9.0 RELEASE.  The BIOS has been updated to the most recent 
release.


With ACPI enabled, dmesg shows the boot process finds the sound controller

hdac0: VIA VT8251/8237A High Definition Audio Controller mem 
0x9fffc000-0x9fff irq 17 at device 1.0 on pci128

pcm0: HDA VIA VT1708_8 PCM #0 Analog at cad 0 nid 1 on hdac0
pcm1: HDA VIA VT1708_8 PCM #1 Digital at cad 0 nid 1 on hdac0

but does not find the ethernet interface.  I see no reference at all.

With ACPI disabled, dmesg shows it finds the ethernet interface

vr0: VIA VT6105 Rhine III 10/100BaseTX port 0xde00-0xdeff mem 
0xdfeff000-0xdfeff0ff irq 18 at device 6.0 on pci2

vr0: Quirks: 0x0
vr0: Revision: 0x8b

and shows a problem with what I think is the sound controller

unknown: PNP0c01 can't assign resources (memory)
unknown: PNP0c02 can't assign resources (memory)

I'm hoping to use this small system to create an internet radio and 
clearly need both ethernet and audio.  Any ideas on how to get both 
ethernet and audio working?



___
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


misc/171937: Notebook Toshiba Satellite C850-B1K and problem with sound

2012-09-24 Thread Postolov Dmitriy
Hi! Sorry for my bad English...

Please help me to solve problem with sound in notebook Toshiba Satellite 
C850-B1K part number PSKCAR-00X00GRU (with latest pre-installed BIOS) and 
FreeBSD 9.1-RC1-i386.

Works only beeper in console (if mixer igain  0), when I am press Backspace 
key at beginning of line, and works beep in XFCE 4.10 Exit menu. Music files 
are not played (zero time counter in xmms, when press File Play button ). May 
be incorrect sound system configured.

I am try to use sysctl hw.snd.default_unit=1 but it did not help.

On Win 7  Linux Mint 13 sound play fine out the box. Please, help me! PR N 
171937

% dmesg | grep hda
hdac0: Intel Panther Point HDA Controller mem 0x9251-0x92513fff irq 22 at 
device 27.0 on pci0
hdacc0: Realtek ALC269 HDA CODEC at cad 0 on hdac0
hdaa0: Realtek ALC269 Audio Function Group at nid 1 on hdacc0
pcm0: Realtek ALC269 (Analog 2.0+HP/2.0) at nid 20,21 and 24 on hdaa0
pcm1: Realtek ALC269 (Internal Analog Mic) at nid 18 on hdaa0
hdacc1: Intel Panther Point HDA CODEC at cad 3 on hdac0
hdaa1: Intel Panther Point Audio Function Group at nid 1 on hdacc1
pcm2: Intel Panther Point (HDMI/DP 8ch) at nid 7 on hdaa1

% mixer
Mixer vol is currently set to 85:85
Mixer pcm is currently set to 100:100
Mixer speaker is currently set to 74:74
Mixer mic is currently set to 67:67
Mixer mix is currently set to 74:74
Mixer rec is currently set to 37:37
Mixer igain is currently set to 1:1
Mixer ogain is currently set to 100:100
Recording source: mic

# kldstat
Id Refs Address Size Name
1 1 0xc040 fd24dc kernel

# cat /dev/sndstat
FreeBSD Audio Driver (newpcm: 32bit 2009061500/i386)
Installed devices:
pcm0: Realtek ALC269 (Analog 2.0+HP/2.0) (play/rec) default
pcm1: Realtek ALC269 (Internal Analog Mic) (rec)
pcm2: Intel Panther Point (HDMI/DP 8ch) (play)

# pciconf -lv | grep hda
hdac0@pci0:0:27:0: class=0x040300 card=0xfb321179 chip=0x1e208086 rev=0x04 
hdr=0x00

# sysctl hw.snd
hw.snd.vpc_reset: 0
hw.snd.vpc_0db: 45
hw.snd.vpc_autoreset: 1
hw.snd.latency_profile: 1
hw.snd.latency: 5
hw.snd.report_soft_matrix: 1
hw.snd.report_soft_formats: 1
hw.snd.compat_linux_mmap: 0
hw.snd.feeder_eq_exact_rate: 0
hw.snd.feeder_eq_presets: 
PEQ:16000,0.2500,62,0.2500:-9,9,1.0:44100,48000,88200,96000,176400,192000
hw.snd.feeder_rate_quality: 1
hw.snd.feeder_rate_round: 25
hw.snd.feeder_rate_max: 2016000
hw.snd.feeder_rate_min: 1
hw.snd.feeder_rate_polyphase_max: 183040
hw.snd.feeder_rate_presets: 100:8:0.85 100:36:0.92 100:164:0.97
hw.snd.vpc_mixer_bypass: 1
hw.snd.verbose: 0
hw.snd.maxautovchans: 16
hw.snd.default_unit: 0
hw.snd.version: 2009061500/i386
hw.snd.default_auto: 0
___
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: Minecraft sound (ALSA)

2012-09-16 Thread Stephan Schindel

Yes thank you :) I just had to remove .asoundrc and now it's working :)

Am 14.09.2012 17:39, schrieb Stephan Schindel:

Hey guys!
I would like to play Minecraft on my FreeBSD box, so I installed 
games/minecraft-client. It starts, but I do not have any sound. The 
reason for that is that Minecraft uses ALSA and ALSA does not find any 
soundcards:


   Starting up SoundSystem...
   Initializing LWJGL OpenAL
(The LWJGL binding of OpenAL.  For more information, see
   http://www.lwjgl.org)
   AL lib: alsa.c:960: no playback cards found...
   AL lib: alsa.c:1017: no capture cards found...
   ALSA lib confmisc.c:768:(parse_card) cannot find card '0'
   ALSA lib conf.c:4154:(_snd_config_evaluate) function
   snd_func_card_driver returned error: No such file or directory

I am not sure what to do here and how to wrap my OSS system in an ALSA 
system. I installed audio/alsa-lib, audio/alsa-plugins and 
audio/alsa-utils. My asoundrc looks like this at the moment:


   pcm.oss {
type oss
device /dev/dsp
   }


However I cannot play any MP3s via aplay. Do you have any ideas?

Stephan
___
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


___
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: Minecraft sound (ALSA)

2012-09-15 Thread Jan Beich
Stephan Schindel s...@tp1.rub.de writes:

AL lib: alsa.c:960: no playback cards found...
AL lib: alsa.c:1017: no capture cards found...
ALSA lib confmisc.c:768:(parse_card) cannot find card '0'
ALSA lib conf.c:4154:(_snd_config_evaluate) function
snd_func_card_driver returned error: No such file or directory
[...]

pcm.oss {
 type oss
 device /dev/dsp
}

Remove ~/.asoundrc, /usr/local/etc/asound.conf defaults to OSS plugin.
And when not using NATIVE_LIBS the following issue may affect you

http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/169896
___
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


Minecraft sound (ALSA)

2012-09-14 Thread Stephan Schindel

Hey guys!
I would like to play Minecraft on my FreeBSD box, so I installed 
games/minecraft-client. It starts, but I do not have any sound. The 
reason for that is that Minecraft uses ALSA and ALSA does not find any 
soundcards:


   Starting up SoundSystem...
   Initializing LWJGL OpenAL
(The LWJGL binding of OpenAL.  For more information, see
   http://www.lwjgl.org)
   AL lib: alsa.c:960: no playback cards found...
   AL lib: alsa.c:1017: no capture cards found...
   ALSA lib confmisc.c:768:(parse_card) cannot find card '0'
   ALSA lib conf.c:4154:(_snd_config_evaluate) function
   snd_func_card_driver returned error: No such file or directory

I am not sure what to do here and how to wrap my OSS system in an ALSA 
system. I installed audio/alsa-lib, audio/alsa-plugins and 
audio/alsa-utils. My asoundrc looks like this at the moment:


   pcm.oss {
type oss
device /dev/dsp
   }


However I cannot play any MP3s via aplay. Do you have any ideas?

Stephan
___
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 in my FreeBSD 9

2012-07-05 Thread sw2wolf
Maybe i should use audio/oss instead of snd_ich ?

-
e^(π.i) + 1 = 0
--
View this message in context: 
http://freebsd.1045724.n5.nabble.com/No-sound-in-my-FreeBSD-9-tp5720280p5724585.html
Sent from the freebsd-questions mailing list archive at Nabble.com.
___
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 in Flash

2012-06-21 Thread Wojciech Puchar


if you really need flash, you may install gnash from ports. not fully
capable but usually works, and doesn't need linux emulator and closed
source code.



Thanks for the advice about gnash! I've installed it, and removed
nspluginwrapper and all the linux stuff.

It seems to work perfectly for my purposes.

not really perfect but anyway i don't feel i lost something seeing a site 
that cannot work without flash.

___
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 surround sound with Creative SB Live! card

2012-06-21 Thread Eduardo Morras

At 21:07 15/06/2012, Edward M wrote:


What do you mean by a decoder is needed?


A decorder is either a special plugin/codex that 
gets  installed into the OS ( codex called a52dec)  and decoding 
happens internally.
or a  hardware device like a stereo receiver that is able to 
understand  Dolby Digital signals from the DVD through S/PDIF 
connector from  the sound card to decorder.
however, it only appears you are only missing a52dec?  Have you 
installed a52dec from ports/audio/gstreamer-plugins-a52dec/ ?


Perhaps ffmpeg was compiled without some codecs. If you check GPL 
codecs off, a52 and others are not compiled. Deinstall ffmepeg, do a 
manual compilation with cd /usr/ports/multimedia/ffmpeg  make 
config install clean, checking the options you want. 



___
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 surround sound with Creative SB Live! card

2012-06-21 Thread David Demelier

On 21/06/2012 05:55, Bernt Hansson wrote:

2012-06-18 20:27, David Demelier skrev:

On 15/06/2012 13:25, Bernt Hansson wrote:

On 2012-06-15 10:06, David Demelier wrote:

On 15/06/2012 05:43, Edward M wrote:

On 06/14/2012 09:03 AM, David Demelier wrote:

I have an old SB Live! card with a 5.1 speaker set, but i can't get
sound from center and rear speakers with mplayer.

I'm using the snd_emu10kx driver and when I try to play a DVD I get
sound only through the front speakers (and LFE) like a 2.1

Adding -channels 6 to the mplayer args does not help.

Cheers,


Sounds like the DVD surround audio is encoded in AC-3 Dolby Digital or
DTS. So a decorder is needed.



That's what mplayer says:

==



Opening audio decoder: [ffmpeg] FFmpeg/libavcodec audio decoders
AUDIO: 48000 Hz, 6 ch, s16le, 448.0 kbit/9.72% (ratio: 56000-576000)
Selected audio codec: [ffac3] afm: ffmpeg (FFmpeg AC-3)
==



AO: [oss] 48000Hz 6ch s16le (2 bytes per sample)

What do you mean by a decoder is needed?


Have you tried vlc or xine?


It does not work with VLC too, do you need to tweak some settings?


Try $ vlc filename

I've tried a file that gave this error

[0x2bb4b43c] main decoder error: no suitable decoder module for fourcc
`mp4v'. VLC probably does not support this sound or video format.


There is just this error:

[0x8373b4e70] xcb_xv generic error: no available XVideo adaptor

But this is due to my modern graphic card (radeon 5670)

--
David Demelier
___
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 in Flash

2012-06-20 Thread Walter Hurry
FreeBSD 9 (x86_64).

Sorry if this is a FAQ, but I have googled assiduously and found nothing 
useful.

I have installed Flash, following the instructions in the handbook.
It works well, and the video element seems fine and smooth. But on (for 
example) YouTube, there is no audio at all.

This is despite the fact that .mp3s, .mp4s, .avis, .movs  etc. all play 
perfectly (in mplayer).

There is probably a simple solution, but I cannot find it.

Can anyone help?

___
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 in Flash

2012-06-20 Thread Wojciech Puchar

FreeBSD 9 (x86_64).

Sorry if this is a FAQ, but I have googled assiduously and found nothing
useful.

I have installed Flash, following the instructions in the handbook.
Flash is adobe product and they don't provide binaries for FreeBSD, at 
least they didn't.


if you really need flash, you may install gnash from ports. not fully 
capable but usually works, and doesn't need linux emulator and closed 
source code.


Flash it not a standard. If you want flash mostly to view youtube use 
youtube-dl from ports.


xpi-unplug plugin for firefox (also in ports) often helps with pages that 
have movies embedded with player.


The side effect of using both tools would be having all movies actually 
downloaded - so you will actually HAVE that movies.


downloaded movies play fine with mplayer.
___
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 in my FreeBSD 9

2012-06-20 Thread sw2wolf
$uname -a
FreeBSD mybsd.zsoft.com 9.0-RELEASE FreeBSD 9.0-RELEASE #0: Tue Jan  3
07:15:25 UTC 2012 
r...@obrian.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC  i386

$sudo sysctl -w hw.snd.verbose=2
$cat /dev/sndstat 
FreeBSD Audio Driver (newpcm: 32bit 2009061500/i386)
Installed devices:
pcm0: Intel ICH4 (82801DB) at io 0xde081000, 0xde082000 irq 17 bufsz 16384 
(1p:1v/1r:1v) default
snddev flags=0x2e2AUTOVCHAN,BUSY,MPSAFE,REGISTERED,VPC
[pcm0:play:dsp0.p0]: spd 48000, fmt 0x00200010, flags 0x2100,
0x0004
interrupts 44126, underruns 0, feed 44126, ready 0
[b:4096/2048/2|bs:4096/2048/2]
channel flags=0x2100BUSY,HAS_VCHAN
{userland} - feeder_mixer(0x00200010) - {hardware}
pcm0:play:dsp0.p0[pcm0:virtual:dsp0.vp0]: spd 44100/48000, fmt
0x00200010, flags 0x1000, 0x0029
interrupts 0, underruns 0, feed 0, ready 0
[b:0/0/0|bs:65536/2048/32]
channel flags=0x1000VIRTUAL
{userland} - feeder_root(0x00200010) - feeder_volume(0x00200010)
- feeder_rate(0x00200010 q:1 44100 - 48000) - {hardware}
[pcm0:record:dsp0.r0]: spd 48000, fmt 0x00200010, flags 0x2100,
0x0005
interrupts 0, overruns 0, feed 0, hfree 4096, sfree 4096
[b:4096/2048/2|bs:4096/2048/2]
channel flags=0x2100BUSY,HAS_VCHAN
{hardware} - feeder_root(0x00200010) - feeder_mixer(0x00200010) -
{userland}
pcm0:record:dsp0.r0[pcm0:virtual:dsp0.vr0]: spd 8000, fmt
0x0018, flags 0x1000, 0x
interrupts 0, overruns 0, feed 0, hfree 0, sfree 0
[b:0/0/0|bs:0/0/0]
channel flags=0x1000VIRTUAL
{hardware} - feeder_root(0x) - {userland}

$mixer
Mixer vol  is currently set to  75:75
Mixer pcm  is currently set to  75:75
Mixer speaker  is currently set to  75:75
Mixer line is currently set to  75:75
Mixer mic  is currently set to   0:0
Mixer cd   is currently set to  75:75
Mixer rec  is currently set to  75:75
Mixer igainis currently set to   0:0
Mixer line1is currently set to  75:75
Mixer phin is currently set to   0:0

$pciconf -lv | grep -i audio
device = '82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) AC'97 Audio
Controller'
subclass   = audio
subclass   = audio

$dmesg | grep -i audio
pci1: multimedia, audio at device 0.0 (no driver attached)

However the sound is OK using XP on the same box (so the sound card has no
problem)
$gpart show ada0
=  63  39874304  ada0  MBR  (19G)
   63  19534977 1  !12  [active]  (9.3G)
  19535040  20338668 2  freebsd  (9.7G)
  39873708   659- free -  (329k)


The GENERIC kernel has loaded driver( snd_ich ), but i can hear nothing.

Any suggestion is appreciated!

-
e^(π.i) + 1 = 0
--
View this message in context: 
http://freebsd.1045724.n5.nabble.com/No-sound-in-my-FreeBSD-9-tp5720280.html
Sent from the freebsd-questions mailing list archive at Nabble.com.
___
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 in my FreeBSD 9

2012-06-20 Thread Adam Vande More
On Wed, Jun 20, 2012 at 7:21 PM, sw2wolf czsq...@163.com wrote:

 pci1: multimedia, audio at device 0.0 (no driver attached)


http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/sound-setup.html

-- 
Adam Vande More
___
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 in Flash

2012-06-20 Thread Walter Hurry
On Thu, 21 Jun 2012 00:31:02 +0200, Wojciech Puchar wrote:

 FreeBSD 9 (x86_64).

 Sorry if this is a FAQ, but I have googled assiduously and found
 nothing useful.

 I have installed Flash, following the instructions in the handbook.
 Flash is adobe product and they don't provide binaries for FreeBSD, at
 least they didn't.
 
 if you really need flash, you may install gnash from ports. not fully
 capable but usually works, and doesn't need linux emulator and closed
 source code.
 

Thanks for the advice about gnash! I've installed it, and removed 
nspluginwrapper and all the linux stuff.

It seems to work perfectly for my purposes.

___
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 surround sound with Creative SB Live! card

2012-06-20 Thread Bernt Hansson

2012-06-18 20:27, David Demelier skrev:

On 15/06/2012 13:25, Bernt Hansson wrote:

On 2012-06-15 10:06, David Demelier wrote:

On 15/06/2012 05:43, Edward M wrote:

On 06/14/2012 09:03 AM, David Demelier wrote:

I have an old SB Live! card with a 5.1 speaker set, but i can't get
sound from center and rear speakers with mplayer.

I'm using the snd_emu10kx driver and when I try to play a DVD I get
sound only through the front speakers (and LFE) like a 2.1

Adding -channels 6 to the mplayer args does not help.

Cheers,


Sounds like the DVD surround audio is encoded in AC-3 Dolby Digital or
DTS. So a decorder is needed.



That's what mplayer says:

==


Opening audio decoder: [ffmpeg] FFmpeg/libavcodec audio decoders
AUDIO: 48000 Hz, 6 ch, s16le, 448.0 kbit/9.72% (ratio: 56000-576000)
Selected audio codec: [ffac3] afm: ffmpeg (FFmpeg AC-3)
==


AO: [oss] 48000Hz 6ch s16le (2 bytes per sample)

What do you mean by a decoder is needed?


Have you tried vlc or xine?


It does not work with VLC too, do you need to tweak some settings?


Try $ vlc filename

I've tried a file that gave this error

[0x2bb4b43c] main decoder error: no suitable decoder module for fourcc 
`mp4v'. VLC probably does not support this sound or video format.

___
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 surround sound with Creative SB Live! card

2012-06-18 Thread David Demelier

On 15/06/2012 13:25, Bernt Hansson wrote:

On 2012-06-15 10:06, David Demelier wrote:

On 15/06/2012 05:43, Edward M wrote:

On 06/14/2012 09:03 AM, David Demelier wrote:

I have an old SB Live! card with a 5.1 speaker set, but i can't get
sound from center and rear speakers with mplayer.

I'm using the snd_emu10kx driver and when I try to play a DVD I get
sound only through the front speakers (and LFE) like a 2.1

Adding -channels 6 to the mplayer args does not help.

Cheers,


Sounds like the DVD surround audio is encoded in AC-3 Dolby Digital or
DTS. So a decorder is needed.



That's what mplayer says:

==

Opening audio decoder: [ffmpeg] FFmpeg/libavcodec audio decoders
AUDIO: 48000 Hz, 6 ch, s16le, 448.0 kbit/9.72% (ratio: 56000-576000)
Selected audio codec: [ffac3] afm: ffmpeg (FFmpeg AC-3)
==

AO: [oss] 48000Hz 6ch s16le (2 bytes per sample)

What do you mean by a decoder is needed?


Have you tried vlc or xine?


Seen in multimedia/mplayer/Makefile.shared:

CONFIGURE_ARGS= --cc=${CC} \
[..snip..]
--disable-liba52 \

That's probably why mplayer won't play surround sound, I'll try with VLC 
tonight.


Cheers,

--
David Demelier
___
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 surround sound with Creative SB Live! card

2012-06-18 Thread David Demelier

On 15/06/2012 13:25, Bernt Hansson wrote:

On 2012-06-15 10:06, David Demelier wrote:

On 15/06/2012 05:43, Edward M wrote:

On 06/14/2012 09:03 AM, David Demelier wrote:

I have an old SB Live! card with a 5.1 speaker set, but i can't get
sound from center and rear speakers with mplayer.

I'm using the snd_emu10kx driver and when I try to play a DVD I get
sound only through the front speakers (and LFE) like a 2.1

Adding -channels 6 to the mplayer args does not help.

Cheers,


Sounds like the DVD surround audio is encoded in AC-3 Dolby Digital or
DTS. So a decorder is needed.



That's what mplayer says:

==

Opening audio decoder: [ffmpeg] FFmpeg/libavcodec audio decoders
AUDIO: 48000 Hz, 6 ch, s16le, 448.0 kbit/9.72% (ratio: 56000-576000)
Selected audio codec: [ffac3] afm: ffmpeg (FFmpeg AC-3)
==

AO: [oss] 48000Hz 6ch s16le (2 bytes per sample)

What do you mean by a decoder is needed?


Have you tried vlc or xine?


It does not work with VLC too, do you need to tweak some settings?

Cheers,

--
David Demelier
___
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 surround sound with Creative SB Live! card

2012-06-15 Thread David Demelier

On 14/06/2012 23:35, Chris Hill wrote:

On Thu, 14 Jun 2012, David Demelier wrote:


I have an old SB Live! card with a 5.1 speaker set, but i can't get
sound from center and rear speakers with mplayer.

I'm using the snd_emu10kx driver and when I try to play a DVD I get
sound only through the front speakers (and LFE) like a 2.1

Adding -channels 6 to the mplayer args does not help.


Does the DVD source material actually have 5.1 sound? Silly question, I
know, but it has to be asked.



Yes it has I think, Dolby digitial is written on it, but it also works 
on Linux and Windows.



You may also want to pose this question to multimedia@




I did, but no one answered :(.

Cheers,

--
David Demelier
___
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 surround sound with Creative SB Live! card

2012-06-15 Thread David Demelier

On 15/06/2012 05:43, Edward M wrote:

On 06/14/2012 09:03 AM, David Demelier wrote:

I have an old SB Live! card with a 5.1 speaker set, but i can't get
sound from center and rear speakers with mplayer.

I'm using the snd_emu10kx driver and when I try to play a DVD I get
sound only through the front speakers (and LFE) like a 2.1

Adding -channels 6 to the mplayer args does not help.

Cheers,


Sounds like the DVD surround audio is encoded in AC-3 Dolby Digital or
DTS. So a decorder is needed.



That's what mplayer says:

==
Opening audio decoder: [ffmpeg] FFmpeg/libavcodec audio decoders
AUDIO: 48000 Hz, 6 ch, s16le, 448.0 kbit/9.72% (ratio: 56000-576000)
Selected audio codec: [ffac3] afm: ffmpeg (FFmpeg AC-3)
==
AO: [oss] 48000Hz 6ch s16le (2 bytes per sample)

What do you mean by a decoder is needed?


___
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


Cheers,

--
David Demelier
___
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 surround sound with Creative SB Live! card

2012-06-15 Thread Bernt Hansson

On 2012-06-15 10:06, David Demelier wrote:

On 15/06/2012 05:43, Edward M wrote:

On 06/14/2012 09:03 AM, David Demelier wrote:

I have an old SB Live! card with a 5.1 speaker set, but i can't get
sound from center and rear speakers with mplayer.

I'm using the snd_emu10kx driver and when I try to play a DVD I get
sound only through the front speakers (and LFE) like a 2.1

Adding -channels 6 to the mplayer args does not help.

Cheers,


Sounds like the DVD surround audio is encoded in AC-3 Dolby Digital or
DTS. So a decorder is needed.



That's what mplayer says:

==
Opening audio decoder: [ffmpeg] FFmpeg/libavcodec audio decoders
AUDIO: 48000 Hz, 6 ch, s16le, 448.0 kbit/9.72% (ratio: 56000-576000)
Selected audio codec: [ffac3] afm: ffmpeg (FFmpeg AC-3)
==
AO: [oss] 48000Hz 6ch s16le (2 bytes per sample)

What do you mean by a decoder is needed?


Have you tried vlc or xine?
___
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 surround sound with Creative SB Live! card

2012-06-15 Thread Edward M

On 06/15/2012 01:06 AM, David Demelier wrote:

That's what mplayer says:

== 


Opening audio decoder: [ffmpeg] FFmpeg/libavcodec audio decoders
AUDIO: 48000 Hz, 6 ch, s16le, 448.0 kbit/9.72% (ratio: 56000-576000)
Selected audio codec: [ffac3] afm: ffmpeg (FFmpeg AC-3)
== 


AO: [oss] 48000Hz 6ch s16le (2 bytes per sample)

What do you mean by a decoder is needed? 


A decorder is either a special plugin/codex that gets  installed 
into the OS ( codex called a52dec)  and decoding happens internally.
or a  hardware device like a stereo receiver that is able to 
understand  Dolby Digital signals from the DVD through S/PDIF connector 
from  the sound card to decorder.
however, it only appears you are only missing a52dec?  Have you 
installed a52dec from ports/audio/gstreamer-plugins-a52dec/ ?


___
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 surround sound with Creative SB Live! card

2012-06-14 Thread David Demelier

Hello,

I have an old SB Live! card with a 5.1 speaker set, but i can't get 
sound from center and rear speakers with mplayer.


I'm using the snd_emu10kx driver and when I try to play a DVD I get 
sound only through the front speakers (and LFE) like a 2.1


Adding -channels 6 to the mplayer args does not help.

Cheers,

--
David Demelier
___
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 surround sound with Creative SB Live! card

2012-06-14 Thread Chris Hill

On Thu, 14 Jun 2012, David Demelier wrote:

I have an old SB Live! card with a 5.1 speaker set, but i can't get 
sound from center and rear speakers with mplayer.


I'm using the snd_emu10kx driver and when I try to play a DVD I get 
sound only through the front speakers (and LFE) like a 2.1


Adding -channels 6 to the mplayer args does not help.


Does the DVD source material actually have 5.1 sound? Silly question, I 
know, but it has to be asked.


You may also want to pose this question to multimedia@


--
Chris Hill   ch...@monochrome.org
** [ Busy Expunging / ]
___
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 surround sound with Creative SB Live! card

2012-06-14 Thread Edward M

On 06/14/2012 09:03 AM, David Demelier wrote:
I have an old SB Live! card with a 5.1 speaker set, but i can't get 
sound from center and rear speakers with mplayer.


I'm using the snd_emu10kx driver and when I try to play a DVD I get 
sound only through the front speakers (and LFE) like a 2.1


Adding -channels 6 to the mplayer args does not help.

Cheers, 


  Sounds like the DVD  surround audio is  encoded in AC-3 Dolby Digital 
or DTS. So a decorder is needed.


___
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


Gnome and sound

2012-01-17 Thread Peter Andreev
Hello, everybody!

I'm using FreeBSD 9.0 with Gnome. I have been trying to control my
soundcard via gnome-volume-control for two days and still without much
success.
Soundcard itself works great, the main problem is I can't change default
output via gui. That is every time I want to switch between headphones and
speakers, I have to run sysctl hw.snd.default_unit=X from console, where
X - is the number of needed output. Gnome-volume-control doesn't see
devices in hardware tab and choosing the right output in output tab has
no effect.
Another problem is that I don't know where to start search for solution
from.

Could somebody help me with my issue?

-- 
--
AP
___
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 from S/PDIF Output of ESI Juli@ (Envy24HT) card?

2011-12-27 Thread Jud
I can't seem to get volume from the S/PDIF (digital coaxial) output of
my ESI Juli@ sound card.  Running a recent version of 8.2-STABLE.

Here's what appears to me to be the relevant part of dmesg (full dmesg
appended below):

pcm0: Envy24HT audio (ESI Juli@) port 0xec00-0xec1f,0xe880-0xe8ff irq
16 at device 0.0 on pci8
pcm0: [GIANT-LOCKED]
pcm0: [ITHREAD]
pcm0: system configuration
  SubVendorID: 0x3031, SubDeviceID: 0x4553
  XIN2 Clock Source: 24.576MHz(96kHz*256)
  MPU-401 UART(s) #: 1
  ADC #: 1
  DAC #: 1
  Multi-track converter type: I2S(with volume, 192KHz support, 24bit
  resolution, ID#0x0)
  S/PDIF(IN/OUT): 1/1 ID# 0x00
  GPIO(mask/dir/state): 0x7fff9f/0x7fff9f/0x8016

/boot/loader.conf contains 

snd_envy24ht_load=YES

The light on my digital-to-audio converter that is fed by the Juli@
coaxial connection is on, indicating it is receiving a signal.  The same
is true in Win 7 and Ubuntu 11.10, where I do get sound.  Mixer shows
vol, pcm and line all set to 100:100.

cat /dev/sndstat shows

FreeBSD Audio Driver (newpcm: 64bit 2009061500/amd64)
Installed devices:
pcm0: Envy24HT audio (ESI Juli@) (play/rec) default
pcm1: USB audio (rec)

Would someone be kind enough to help me determine what I'm not doing
correctly or doing wrong?

Thanks,

Jud



$ dmesg
Copyright (c) 1992-2011 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
The Regents of the University of California. All rights
reserved.
FreeBSD is a registered trademark of The FreeBSD Foundation.
FreeBSD 8.2-STABLE #0: Wed Nov 30 11:58:00 EST 2011
j...@jud.dyndns.org:/usr/obj/usr/src/sys/GENERIC amd64
Timecounter i8254 frequency 1193182 Hz quality 0
CPU: Intel(R) Core(TM) i7 CPU 950  @ 3.07GHz (4945.11-MHz
K8-class CPU)
  Origin = GenuineIntel  Id = 0x106a5  Family = 6  Model = 1a 
  Stepping = 5
  
Features=0xbfebfbffFPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE
  
Features2=0x98e3bdSSE3,DTES64,MON,DS_CPL,VMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,SSE4.1,SSE4.2,POPCNT
  AMD Features=0x28100800SYSCALL,NX,RDTSCP,LM
  AMD Features2=0x1LAHF
  TSC: P-state invariant
real memory  = 12884901888 (12288 MB)
avail memory = 12353847296 (11781 MB)
ACPI APIC Table: 092011 APIC1949
FreeBSD/SMP: Multiprocessor System Detected: 8 CPUs
FreeBSD/SMP: 1 package(s) x 4 core(s) x 2 SMT threads
 cpu0 (BSP): APIC ID:  0
 cpu1 (AP): APIC ID:  1
 cpu2 (AP): APIC ID:  2
 cpu3 (AP): APIC ID:  3
 cpu4 (AP): APIC ID:  4
 cpu5 (AP): APIC ID:  5
 cpu6 (AP): APIC ID:  6
 cpu7 (AP): APIC ID:  7
ioapic0 Version 2.0 irqs 0-23 on motherboard
ioapic1 Version 2.0 irqs 24-47 on motherboard
kbd1 at kbdmux0
acpi0: 092011 XSDT1949 on motherboard
acpi0: [ITHREAD]
acpi0: Power Button (fixed)
acpi0: reservation of fee0, 1000 (3) failed
acpi0: reservation of 0, a (3) failed
acpi0: reservation of 10, bff0 (3) failed
Timecounter ACPI-safe frequency 3579545 Hz quality 850
acpi_timer0: 24-bit timer at 3.579545MHz port 0x808-0x80b on acpi0
cpu0: ACPI CPU on acpi0
cpu1: ACPI CPU on acpi0
cpu2: ACPI CPU on acpi0
cpu3: ACPI CPU on acpi0
cpu4: ACPI CPU on acpi0
cpu5: ACPI CPU on acpi0
cpu6: ACPI CPU on acpi0
cpu7: ACPI CPU on acpi0
pcib0: ACPI Host-PCI bridge port 0xcf8-0xcff on acpi0
pci0: ACPI PCI bus on pcib0
pcib1: ACPI PCI-PCI bridge at device 1.0 on pci0
pci1: ACPI PCI bus on pcib1
atapci0: Marvell AHCI controller port
0xac00-0xac07,0xa880-0xa883,0xa800-0xa807,0xa480-0xa483,0xa400-0xa40f
mem 0xf7eff800-0xf7ef irq 28 at device 0.0 on pci1
atapci0: [ITHREAD]
atapci0: AHCI v1.20 controller with 8 6Gbps ports, PM not supported
ata2: ATA channel 0 on atapci0
ata2: [ITHREAD]
ata3: ATA channel 1 on atapci0
ata3: [ITHREAD]
ata4: ATA channel 2 on atapci0
ata4: [ITHREAD]
ata5: ATA channel 3 on atapci0
ata5: [ITHREAD]
ata6: ATA channel 4 on atapci0
ata6: [ITHREAD]
ata7: ATA channel 5 on atapci0
ata7: [ITHREAD]
ata8: ATA channel 6 on atapci0
ata8: [ITHREAD]
ata9: ATA channel 7 on atapci0
ata9: [ITHREAD]
pcib2: ACPI PCI-PCI bridge at device 2.0 on pci0
pci2: ACPI PCI bus on pcib2
pci2: serial bus, USB at device 0.0 (no driver attached)
pcib3: ACPI PCI-PCI bridge at device 3.0 on pci0
pci3: ACPI PCI bus on pcib3
vgapci0: VGA-compatible display port 0xbc00-0xbc7f mem
0xf800-0xf9ff,0xd800-0xdfff,0xd400-0xd7ff irq 24
at device 0.0 on pci3
nvidia0: GeForce GTX 460 on vgapci0
vgapci0: child nvidia0 requested pci_enable_io
vgapci0: child nvidia0 requested pci_enable_io
nvidia0: [ITHREAD]
pci3: multimedia, HDA at device 0.1 (no driver attached)
pcib4: ACPI PCI-PCI bridge at device 7.0 on pci0
pci4: ACPI PCI bus on pcib4
pci0: base peripheral, interrupt controller at device 20.0 (no driver
attached)
pci0: base peripheral, interrupt controller at device 20.1 (no driver
attached)
pci0: base peripheral, interrupt controller at device 20.2 (no driver
attached)
pci0: base peripheral, interrupt controller at device 20.3 (no driver
attached

Re: no sound on alc-889

2011-11-12 Thread Thomas Mueller
 Hello all,
 
 i try to unmute a box with a mcp79 ane alc-889.
 
 the sound is working on another os, and playback
 and recording are treated separately by os x, (10.7).
  
 i tried different combinations according to the snd_hda man page,
 but i cannot find a good one.
 
 Pleease, have you some hints?
 
 here is the config and pindump:
   
 hdac0: NVidia MCP79 High Definition Audio Controller mem 
 0xd348-0xd3483fff irq 22 at device 8.0 on pci0
 
 pci3: network at device 0.0 (no driver attached)
 hdac0: HDA Codec #0: Realtek ALC885
 pcm0: HDA Realtek ALC885 PCM #0 Analog at cad 0 nid 1 on hdac0
 pcm1: HDA Realtek ALC885 PCM #1 Digital at cad 0 nid 1 on hdac0
 pcm2: HDA Realtek ALC885 PCM #2 Analog at cad 0 nid 1 on hdac0
   pins dump
 hdac0: Dumping AFG cad=0 nid=1 pins:
 hdac0:  nid 20 0x012b4040 as  4 seq  0Headphones  Jack jack 11 loc  1 
 color   Green misc 0
 hdac0:Caps: IN OUT HP  VREF Sense: 0x
 hdac0:  nid 21 0x018b3010 as  1 seq  0   Line-in  Jack jack 11 loc  1 
 colorBlue misc 0
 hdac0:Caps: IN OUT HP  VREF Sense: 0x
 hdac0:  nid 22 0x40f0 as 15 seq  0  Line-out  None jack  0 loc  0 
 color Unknown misc 0 [DISABLED]
 hdac0:Caps: IN OUT HP   Sense: 0x
 hdac0:  nid 23 0x40f0 as 15 seq  0  Line-out  None jack  0 loc  0 
 color Unknown misc 0 [DISABLED]
 hdac0:Caps: IN OUT HP   Sense: 0x
 hdac0:  nid 24 0x90100130 as  3 seq  0   Speaker Fixed jack  0 loc 16 
 color Unknown misc 1
 hdac0:Caps: IN OUT HP  VREF Sense: 0x
 hdac0:  nid 25 0x40f0 as 15 seq  0  Line-out  None jack  0 loc  0 
 color Unknown misc 0 [DISABLED]
 hdac0:Caps: IN OUT HP  VREF Sense: 0x
 hdac0:  nid 26 0x40f0 as 15 seq  0  Line-out  None jack  0 loc  0 
 color Unknown misc 0 [DISABLED]
 hdac0:Caps: IN OUT HP  VREF Sense: 0x
 hdac0:  nid 27 0x40f0 as 15 seq  0  Line-out  None jack  0 loc  0 
 color Unknown misc 0 [DISABLED]
 hdac0:Caps: IN OUT HP  VREF Sense: 0x
 hdac0:  nid 28 0x40f0 as 15 seq  0  Line-out  None jack  0 loc  0 
 color Unknown misc 0 [DISABLED]
 hdac0:Caps: IN
 hdac0:  nid 30 0x014be050 as  5 seq  0 SPDIF-out  Jack jack 11 loc  1 
 color   White misc 0
 hdac0:Caps:OUT
 hdac0:  nid 31 0x01cbe020 as  2 seq  0  SPDIF-in  Jack jack 11 loc  1 
 color   White misc 0
 hdac0:Caps: IN
 hdac0: NumGPIO=2 NumGPO=0 NumGPI=0 GPIWake=0 GPIUnsol=1
 hdac0: GPIO: data=0x enable=0x direction=0x
 hdac0:   wake=0x  unsol=0xsticky=0x
 
 Thanks, in advance for your help.
 
 rmgls
 rm...@free.fr

Your subject line says alc-889, but config and pindump messages say Realtek 
ALC885.

Since I recently built a new computer from parts, I came across Realtek ALC889 
and ALC892 in motherboard descriptions.

Realtek ALC892 was/is very popular in the newer motherboards.

I have Realtek ALC892 with my MSI motherboard with Intel Sandy Bridge chipset.  
I get sound in FreeBSD 9.0, now RC1.

I think ALC892 would be an update in the ALC889 line, driver that works with 
ALC892 would work for ALC889, but this is just my hypothesis.

But then, do you have ALC889 or ALC885?

I get Intel High Definition Audio; there is no NVidia anywhere in my boot 
messages.

Tom

___
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: Help needed: sound/audio only semi-working

2011-10-23 Thread Carl Johnson
Carl Johnson ca...@peak.org writes:

 Ronald F. Guilmette r...@tristatelogic.com writes:

 I've been bringing up a new amd64 box with 8.2-RELEASE.  So far I've managed
 to get everything installed OK, including a boatload of freshly-built ports.
 I've even gotten flash10 working with firefox... well...

 Unfortunately, this is only MOSTLY working.  The video works great, but for
 audio all I get is absolute silence.

__snip__

 I also have a Gigabyte board with HDA audio, and it won't directly play
 CD sound either.  I had already ripped all of my CDs to .ogg files, so I
 hadn't needed to play the CDs directly.  I just tested ripping a small
 section of a CD using cdparanoia and it does produce a .wav audio file
 that can be played using sox.  I also notice on my computer that mixer
 doesn't show any controls for CD audio.  Unfortunately, I don't remember
 if CDs worked properly on this computer when I had Linux installed, so I
 don't know if the problem is FreeBSD or the motherboard.  I did find
 that I have a program called kscd (for KDE) that will play, but I
 suspect that it uses digital extraction instead of playing from audio.

 My system uses a Gigabyte GA-MA785GPM-US2H, and the sndstat output is:
 FreeBSD Audio Driver (newpcm: 64bit 2009061500/amd64)
 Installed devices:
 pcm0: HDA ATI RS690/780 HDMI PCM #0 HDMI (play)
 pcm1: HDA Realtek ALC885 PCM #0 Analog (play/rec) default
 pcm2: HDA Realtek ALC885 PCM #1 Analog (play/rec)
 pcm3: HDA Realtek ALC885 PCM #2 Digital (play/rec)

Just to follow up, I just rebooted into Linux and the CD audio appears
to work properly on it and the CD mixer control seems to work
properly.  I have FreeBSD 8.1-RELEASE, so it may have changed since
then.

-- 
Carl Johnsonca...@peak.org

___
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: Help needed: sound/audio only semi-working

2011-10-22 Thread Polytropon
On Fri, 21 Oct 2011 18:29:25 -0700, Ronald F. Guilmette wrote:
 The really strange thing is that after I followed all the directions here:
 
http://www.freebsd.org/doc/en/books/handbook/sound-setup.html
 
 This command:
 
 cat /dev/random  /dev/dsp
 
 *does* produce quite a bit of white noise sound.  However when I perform
 the other officially recommended basic audio functionality test:
 
 cdcontrol -f /dev/acd0 play 1
 
 with one of my favorite old audo CDs in the drive (AND with that special
 little wire running from the back of the drive to my motherboard) all that
 happens is that the CD/DVD drive apparently _does_ start to read some stuff...
 as evidenced by the blinking access light in the front of the drive... but I
 still get no sound out, and YouTube videos still aren't giving me any audio
 even though the video seems to be playing perfectly.

Does the Handbook mention to check your mixer settings?
Make sure to try that. Use any simple-enough media
player to play some MP3, OGG or WAV file (e. g. per xmms
or whatever comes with your preferred desktop environment).
Make sure you have vol and pcm up.

% mixer
Mixer vol  is currently set to 100:100  --- This.
Mixer pcm  is currently set to  84:84   --- And this.
Mixer line is currently set to  75:75
Mixer mic  is currently set to   0:0
Mixer cd   is currently set to  75:75   --- This too.
Mixer rec  is currently set to  75:75
Mixer igainis currently set to   0:0
Mixer monitor  is currently set to  75:75
Recording source: mic

The problem regarding audio CDs seems to be quite modern.
I also cannot play them anymore (but I don't have that
special wire installed at the moment). Audio is VIA HDA.



 So, um, I am grasping for ideas here on how I can debug this problem furher.

Check mixer and play simple stuff. :-)



 So how can it be that this works just fine:
 
cat /dev/random  /dev/dsp
 
 even while this:
 
   cdcontrol -f /dev/acd0 play 1
 
 causes the disk to spin up and read, but otherwise produces utter silence?

CD audio subsystem has been modernized. :-)



 P.S.  My motherboard (w/ onboard audio) is a Gigabyte GA-M55Plus-S3G.  Here
 is what a get when I cat /dev/sndstat:
 
 FreeBSD Audio Driver (newpcm: 64bit 2009061500/amd64)
 Installed devices:
 pcm0: HDA Realtek ALC883 PCM #0 Analog (play/rec) default
 pcm1: HDA Realtek ALC883 PCM #1 Analog (play/rec)
 pcm2: HDA Realtek ALC883 PCM #2 Digital (play/rec)


-- 
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: Help needed: sound/audio only semi-working

2011-10-22 Thread Ronald F. Guilmette

In message 20111022125209.9ba97a1f.free...@edvax.de, 
Polytropon free...@edvax.de wrote:

On Fri, 21 Oct 2011 18:29:25 -0700, Ronald F. Guilmette wrote:
 The really strange thing is that after I followed all the directions here:
 
http://www.freebsd.org/doc/en/books/handbook/sound-setup.html
 
 This command:
 
 cat /dev/random  /dev/dsp
 
 *does* produce quite a bit of white noise sound.  However when I perform
 the other officially recommended basic audio functionality test:
 
 cdcontrol -f /dev/acd0 play 1
 
 with one of my favorite old audo CDs in the drive (AND with that special
 little wire running from the back of the drive to my motherboard) all that
 happens is that the CD/DVD drive apparently _does_ start to read some stuff.
..
 as evidenced by the blinking access light in the front of the drive... but I
 still get no sound out, and YouTube videos still aren't giving me any audio
 even though the video seems to be playing perfectly.

Does the Handbook mention to check your mixer settings?

No, but I _did_ look at that anyway, because something I read while resarching
this problem indicated that I should.  And those (mixer) settings are all OK.

Anyway... NEVERMIND!  I fiddled a few things some more last night... nothing
that really should have made any difference at all... and I re-booted and
today, now, the sound _is_ playing when I watch YouTube videos in Firefox.
I really don't understand why because I really didn't change anything.  I did
install mplayer and cdparanoia, and then I used the latter to suck some .wav
files off of one of my old CDs and then used mplayer to play them (which
worked OK) but I don't see how any of that should have had any effect on
the audio coming out of the flash plugin for Firefox.  Oh well!  It works
now, and mplayer can play .wav and .mp3 files too.  So mostly everything is
working now, and I am happy.

But playing a CD using cdcontrol still is not working.  That's OK.  I can
easily live without that.  I was only using it for testing purposes anyway.
Still, it is a shame it doesn't just work.

The problem regarding audio CDs seems to be quite modern.

I assume by that you mean quite recent. Yes?

I also cannot play them anymore (but I don't have that
special wire installed at the moment). Audio is VIA HDA.

I do believe that the little wire is manditory.  So that explains why it
doesn't work for you.  But I have the little grey wire installed, so I don't
know why it doesn't work for me.

 So how can it be that this works just fine:
 
cat /dev/random  /dev/dsp
 
 even while this:
 
   cdcontrol -f /dev/acd0 play 1
 
 causes the disk to spin up and read, but otherwise produces utter silence?

CD audio subsystem has been modernized. :-)

I wouldn't know about that.

___
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: Help needed: sound/audio only semi-working

2011-10-22 Thread Polytropon
On Sat, 22 Oct 2011 16:03:27 -0700, Ronald F. Guilmette wrote:
 I did
 install mplayer and cdparanoia, and then I used the latter to suck some .wav
 files off of one of my old CDs and then used mplayer to play them (which
 worked OK) but I don't see how any of that should have had any effect on
 the audio coming out of the flash plugin for Firefox.  Oh well!  It works
 now, and mplayer can play .wav and .mp3 files too.  So mostly everything is
 working now, and I am happy.

Both the Flash plugin and mplayer use the mixer's pcm
channel for output (unlike CD audio). Maybe you'll find
that mplayer is able to play *.mp3, but isn't the optimal
program to do so - in this case have a look at xmms which
can play both *.mp3 and *.ogg (a popular format when you
want to make your CDs' content available on your system).
And xmms also is able to play CD audio.



 But playing a CD using cdcontrol still is not working.  That's OK.  I can
 easily live without that.  I was only using it for testing purposes anyway.
 Still, it is a shame it doesn't just work.

Doesn't work _anymore_. :-)



 The problem regarding audio CDs seems to be quite modern.
 
 I assume by that you mean quite recent. Yes?

No, modern (note the quotes) indicates disimprovement,
reduction and removal of functionality that has been
taken as granted for many years. :-)



 I also cannot play them anymore (but I don't have that
 special wire installed at the moment). Audio is VIA HDA.
 
 I do believe that the little wire is manditory. 

In this specific case, it is. In my old PC, I had one to
connect the ATAPI drive to the sound card (a CMI based
PCI card, no onboard stuff). This _did_ work perfectly
using cdcontrol play track and the mixer's CD channel.



 So that explains why it
 doesn't work for you.  But I have the little grey wire installed, so I don't
 know why it doesn't work for me.

I'll install that wire tomorrow, just to check - I just
hope my cheap (and nearly crappy) mainboard does have
support for it. I can't use external wiring (to the
sound card's line-in connector) as the drive doesn't
have a front connector anymore. See modern. :-)

OS is 8.2-STABLE/x86 of late August.



  So how can it be that this works just fine:
  
 cat /dev/random  /dev/dsp
  
  even while this:
  
cdcontrol -f /dev/acd0 play 1
  
  causes the disk to spin up and read, but otherwise produces utter silence?
 
 CD audio subsystem has been modernized. :-)
 
 I wouldn't know about that.

As far as I could understand, the track files /dev/acdXtYY
will be gone in the upcoming 9.0, as well as the acd device
files in favour of cd (the optional, but very nice ATAPICAM
interface used by recording programs). Basically, I do
appreciate merging acd and cd (so one device file per
device becomes true), but if the price is that CD audio
doesn't work anymore... we'll see.





-- 
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


Help needed: sound/audio only semi-working

2011-10-21 Thread Ronald F. Guilmette

I've been bringing up a new amd64 box with 8.2-RELEASE.  So far I've managed
to get everything installed OK, including a boatload of freshly-built ports.
I've even gotten flash10 working with firefox... well...

Unfortunately, this is only MOSTLY working.  The video works great, but for
audio all I get is absolute silence.

The really strange thing is that after I followed all the directions here:

   http://www.freebsd.org/doc/en/books/handbook/sound-setup.html

This command:

cat /dev/random  /dev/dsp

*does* produce quite a bit of white noise sound.  However when I perform
the other officially recommended basic audio functionality test:

cdcontrol -f /dev/acd0 play 1

with one of my favorite old audo CDs in the drive (AND with that special
little wire running from the back of the drive to my motherboard) all that
happens is that the CD/DVD drive apparently _does_ start to read some stuff...
as evidenced by the blinking access light in the front of the drive... but I
still get no sound out, and YouTube videos still aren't giving me any audio
even though the video seems to be playing perfectly.

So, um, I am grasping for ideas here on how I can debug this problem furher.
I really have no idea what to do next to get this debugged.  I supposed that
if nobody gives me a good suggestion, I'm gonna try swapping out that special
little wire for another one and then try swapping the CD/DVD drive for another
one if that still doesn't solve it.

Sigh.  :-(  I just checked and yes, the CD/DVD drive _can_ mount a data CD
alright.  No problems doing that.

So how can it be that this works just fine:

   cat /dev/random  /dev/dsp

even while this:

  cdcontrol -f /dev/acd0 play 1

causes the disk to spin up and read, but otherwise produces utter silence?

I'm flummoxed.

Any help would be appreciated.


Regards,
rfg



P.S.  My motherboard (w/ onboard audio) is a Gigabyte GA-M55Plus-S3G.  Here
is what a get when I cat /dev/sndstat:

FreeBSD Audio Driver (newpcm: 64bit 2009061500/amd64)
Installed devices:
pcm0: HDA Realtek ALC883 PCM #0 Analog (play/rec) default
pcm1: HDA Realtek ALC883 PCM #1 Analog (play/rec)
pcm2: HDA Realtek ALC883 PCM #2 Digital (play/rec)

Additional info:

% sysctl hw.snd.default_unit
hw.snd.default_unit: 0
___
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: Help needed: sound/audio only semi-working

2011-10-21 Thread Michael D. Norwick

On 10/21/11 20:29, Ronald F. Guilmette wrote:

I've been bringing up a new amd64 box with 8.2-RELEASE.  So far I've managed
to get everything installed OK, including a boatload of freshly-built ports.
I've even gotten flash10 working with firefox... well...

Unfortunately, this is only MOSTLY working.  The video works great, but for
audio all I get is absolute silence.

The really strange thing is that after I followed all the directions here:

http://www.freebsd.org/doc/en/books/handbook/sound-setup.html

This command:

 cat /dev/random  /dev/dsp

*does* produce quite a bit of white noise sound.  However when I perform
the other officially recommended basic audio functionality test:

 cdcontrol -f /dev/acd0 play 1

with one of my favorite old audo CDs in the drive (AND with that special
little wire running from the back of the drive to my motherboard) all that
happens is that the CD/DVD drive apparently _does_ start to read some stuff...
as evidenced by the blinking access light in the front of the drive... but I
still get no sound out, and YouTube videos still aren't giving me any audio
even though the video seems to be playing perfectly.

So, um, I am grasping for ideas here on how I can debug this problem furher.
I really have no idea what to do next to get this debugged.  I supposed that
if nobody gives me a good suggestion, I'm gonna try swapping out that special
little wire for another one and then try swapping the CD/DVD drive for another
one if that still doesn't solve it.

Sigh.  :-(  I just checked and yes, the CD/DVD drive _can_ mount a data CD
alright.  No problems doing that.

So how can it be that this works just fine:

cat /dev/random  /dev/dsp

even while this:

   cdcontrol -f /dev/acd0 play 1

causes the disk to spin up and read, but otherwise produces utter silence?

I'm flummoxed.

Any help would be appreciated.


Regards,
rfg



P.S.  My motherboard (w/ onboard audio) is a Gigabyte GA-M55Plus-S3G.  Here
is what a get when I cat /dev/sndstat:

FreeBSD Audio Driver (newpcm: 64bit 2009061500/amd64)
Installed devices:
pcm0:HDA Realtek ALC883 PCM #0 Analog  (play/rec) default
pcm1:HDA Realtek ALC883 PCM #1 Analog  (play/rec)
pcm2:HDA Realtek ALC883 PCM #2 Digital  (play/rec)

Additional info:

% sysctl hw.snd.default_unit
hw.snd.default_unit: 0
___
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


Please see my posts on this list as well as on freebsd-multimedia under 
the subject 'can't access a music cd'.  I appear to be experiencing the 
exact same issue.  I am also using snd_hda on freebsd 9.


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: Help needed: sound/audio only semi-working

2011-10-21 Thread Carl Johnson
Ronald F. Guilmette r...@tristatelogic.com writes:

 I've been bringing up a new amd64 box with 8.2-RELEASE.  So far I've managed
 to get everything installed OK, including a boatload of freshly-built ports.
 I've even gotten flash10 working with firefox... well...

 Unfortunately, this is only MOSTLY working.  The video works great, but for
 audio all I get is absolute silence.

 The really strange thing is that after I followed all the directions here:

http://www.freebsd.org/doc/en/books/handbook/sound-setup.html

 This command:

 cat /dev/random  /dev/dsp

 *does* produce quite a bit of white noise sound.  However when I perform
 the other officially recommended basic audio functionality test:

 cdcontrol -f /dev/acd0 play 1

 with one of my favorite old audo CDs in the drive (AND with that special
 little wire running from the back of the drive to my motherboard) all that
 happens is that the CD/DVD drive apparently _does_ start to read some stuff...
 as evidenced by the blinking access light in the front of the drive... but I
 still get no sound out, and YouTube videos still aren't giving me any audio
 even though the video seems to be playing perfectly.

 So, um, I am grasping for ideas here on how I can debug this problem furher.
 I really have no idea what to do next to get this debugged.  I supposed that
 if nobody gives me a good suggestion, I'm gonna try swapping out that special
 little wire for another one and then try swapping the CD/DVD drive for another
 one if that still doesn't solve it.

 Sigh.  :-(  I just checked and yes, the CD/DVD drive _can_ mount a data CD
 alright.  No problems doing that.

 So how can it be that this works just fine:

cat /dev/random  /dev/dsp

 even while this:

   cdcontrol -f /dev/acd0 play 1

 causes the disk to spin up and read, but otherwise produces utter silence?

 I'm flummoxed.

 Any help would be appreciated.


 Regards,
 rfg



 P.S.  My motherboard (w/ onboard audio) is a Gigabyte GA-M55Plus-S3G.  Here
 is what a get when I cat /dev/sndstat:

 FreeBSD Audio Driver (newpcm: 64bit 2009061500/amd64)
 Installed devices:
 pcm0: HDA Realtek ALC883 PCM #0 Analog (play/rec) default
 pcm1: HDA Realtek ALC883 PCM #1 Analog (play/rec)
 pcm2: HDA Realtek ALC883 PCM #2 Digital (play/rec)

 Additional info:

 % sysctl hw.snd.default_unit
 hw.snd.default_unit: 0

I also have a Gigabyte board with HDA audio, and it won't directly play
CD sound either.  I had already ripped all of my CDs to .ogg files, so I
hadn't needed to play the CDs directly.  I just tested ripping a small
section of a CD using cdparanoia and it does produce a .wav audio file
that can be played using sox.  I also notice on my computer that mixer
doesn't show any controls for CD audio.  Unfortunately, I don't remember
if CDs worked properly on this computer when I had Linux installed, so I
don't know if the problem is FreeBSD or the motherboard.  I did find
that I have a program called kscd (for KDE) that will play, but I
suspect that it uses digital extraction instead of playing from audio.

My system uses a Gigabyte GA-MA785GPM-US2H, and the sndstat output is:
FreeBSD Audio Driver (newpcm: 64bit 2009061500/amd64)
Installed devices:
pcm0: HDA ATI RS690/780 HDMI PCM #0 HDMI (play)
pcm1: HDA Realtek ALC885 PCM #0 Analog (play/rec) default
pcm2: HDA Realtek ALC885 PCM #1 Analog (play/rec)
pcm3: HDA Realtek ALC885 PCM #2 Digital (play/rec)

Let me know if you want further information.
-- 
Carl Johnsonca...@peak.org

___
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: Redirect sound of flash plugin?

2011-08-20 Thread Tijl Coosemans
On Friday 12 August 2011 17:15:04 Ross wrote:
 Is it possible to redirect sound of flash plugin?
 
 I am running firefox via ssh. Currently I successfully redirected
 sound of other applications using NAS. How can I do the same with
 flash? Maybe intercept sound some how.

The flash plugin sound goes through libflashsupport, which is a small
open source library that allows anyone to implement any sound backend.

The libflashsupport currently installed by the flash plugin port
(/compat/linux/usr/lib/libflashsupport.so) only supports OSS now. With
any luck somebody has already implemented NAS support and all you have
to do is replace this library. In case you want to implement it
yourself, you can find the source code for our (slightly patched)
libflashsupport at http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/127839
Note that the library has to be compiled as a Linux library, not a
FreeBSD one.

An alternative would be to experiment with libaudiooss, which allows
capturing OSS output from any program and send it over NAS. This project
looks abandoned though.


signature.asc
Description: This is a digitally signed message part.


Redirect sound of flash plugin?

2011-08-12 Thread Ross
Is it possible to redirect sound of flash plugin?

I am running firefox via ssh. Currently I successfully redirected
sound of other applications using NAS. How can I do the same with
flash? Maybe intercept sound some how.
___
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: Skype with sound and video support :)

2011-05-21 Thread Eir Nym
On 18 May 2011 07:56, Ion-Mihai Tetcu ite...@freebsd.org wrote:
 On Tue, 17 May 2011 21:46:14 +0200
 Alexander Leidinger alexan...@leidinger.net wrote:

 On Tue, 17 May 2011 09:01:41 -0700 Kevin Oberman ober...@es.net
 wrote:


  Please put the information in this message (or at least most of it)
  into ports/UPDATING so a few less people running old kernels will be
  bitten by the installation of the new Skype port.

 And what about a wiki page? This way we can extend it in case something
 important is uncovered.

 I'm not opposed to it, but I don't see the need for it at this time.
 (Plus, I'd like to keep everything inside the port - hence the longish
 pkg-message - less steps to go through this way).


Wiki page is good point to look when searching internet about skype and freebsd.
 --
 Ion-Mihai Tetcu ite...@freebsd.org
 ___
 freebsd-multime...@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-multimedia
 To unsubscribe, send any mail to freebsd-multimedia-unsubscr...@freebsd.org

___
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: Skype with sound and video support :)

2011-05-18 Thread Ion-Mihai Tetcu
On Tue, 17 May 2011 21:46:14 +0200
Alexander Leidinger alexan...@leidinger.net wrote:

 On Tue, 17 May 2011 09:01:41 -0700 Kevin Oberman ober...@es.net
 wrote:
 
 
  Please put the information in this message (or at least most of it)
  into ports/UPDATING so a few less people running old kernels will be
  bitten by the installation of the new Skype port.
 
 And what about a wiki page? This way we can extend it in case something
 important is uncovered.

I'm not opposed to it, but I don't see the need for it at this time.
(Plus, I'd like to keep everything inside the port - hence the longish
pkg-message - less steps to go through this way).

-- 
Ion-Mihai Tetcu ite...@freebsd.org
___
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


Skype with sound and video support :)

2011-05-17 Thread Ion-Mihai Tetcu
Hi,


As you may have noticed skype ports were updated a few days ago.

All skype ports were moved to net-im/:
- skype12: unchanged, very old version (for FreeBSD 6)
- skype20: last version with OSS support, that used to live in
net/skype; the DISTFILE is gone from the vendor but if you happen to
have it it would be a way of having sound w/o a need to upgrade your
base OS
- [RECOMANDED] skype: currently at 2.1.0.81 and the best supported
- skype-devel: currently at 2.2.0.25, sounds is OK, video doesn't work

In order to run either skype or skype-devel with fully working sound
you need:
- to run fc10 (most probably, please report what you can run with fc4):
(OVERRIDE_LINUX_BASE_PORT=f10,OVERRIDE_LINUX_NONBASE_PORTS=f10
in /etc/make.conf for systems that doesn't have it as default)
- In order for Skype to work OK, you need your kernel and modules to be:
- post 2011-05-03 in on HEAD
- post 2011-05-08 in on 7,8-STABLE
The port tries to catch if your system version is too old, but there's
a ~3months window where because of a lack of OSVERSION bump, this is
not possible. So please check; and PLEAE READ THE PKG_MESSAGE for
setup details. For how to update your kernel/world, see:
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig.html

IF YOUR OSVERSION IS NOT NEW ENOUGH, SOUND (ESPECIALLY MIC) WON'T WORK.

If you run into problems, at very least we need to know the output of:

$ uname -a; sysctl compat.linux | head -2; grep OVERRIDE_LINUX_ /etc/make.conf; 
cat /compat/linux/etc/alsa/pcm/pcm-oss.conf

the skype version you are using, and hardware details (eg. webcam) if
related. I most probably will ignore any mail not containing this info
since without it it's impossible to help.

Please test your sound /video setup outside skype before blaming skype /
mailing me.


-- 
Ion-Mihai Tetcu ite...@freebsd.org
___
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: Skype with sound and video support :)

2011-05-17 Thread Kevin Oberman
 Date: Tue, 17 May 2011 10:38:58 +0300
 From: Ion-Mihai Tetcu ite...@freebsd.org
 Sender: owner-freebsd-emulat...@freebsd.org
 
 Hi,
 
 
 As you may have noticed skype ports were updated a few days ago.
 
 All skype ports were moved to net-im/:
 - skype12: unchanged, very old version (for FreeBSD 6)
 - skype20: last version with OSS support, that used to live in
 net/skype; the DISTFILE is gone from the vendor but if you happen to
 have it it would be a way of having sound w/o a need to upgrade your
 base OS
 - [RECOMANDED] skype: currently at 2.1.0.81 and the best supported
 - skype-devel: currently at 2.2.0.25, sounds is OK, video doesn't work
 
 In order to run either skype or skype-devel with fully working sound
 you need:
 - to run fc10 (most probably, please report what you can run with fc4):
 (OVERRIDE_LINUX_BASE_PORT=f10,OVERRIDE_LINUX_NONBASE_PORTS=f10
 in /etc/make.conf for systems that doesn't have it as default)
 - In order for Skype to work OK, you need your kernel and modules to be:
   - post 2011-05-03 in on HEAD
   - post 2011-05-08 in on 7,8-STABLE
 The port tries to catch if your system version is too old, but there's
 a ~3months window where because of a lack of OSVERSION bump, this is
 not possible. So please check; and PLEAE READ THE PKG_MESSAGE for
 setup details. For how to update your kernel/world, see:
 http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig.html
 
 IF YOUR OSVERSION IS NOT NEW ENOUGH, SOUND (ESPECIALLY MIC) WON'T WORK.
 
 If you run into problems, at very least we need to know the output of:
 
 $ uname -a; sysctl compat.linux | head -2; grep OVERRIDE_LINUX_ 
 /etc/make.conf; cat /compat/linux/etc/alsa/pcm/pcm-oss.conf
 
 the skype version you are using, and hardware details (eg. webcam) if
 related. I most probably will ignore any mail not containing this info
 since without it it's impossible to help.
 
 Please test your sound /video setup outside skype before blaming skype /
 mailing me.

Many thanks for all of the work that went into getting a modern version
of Skype working!

Please put the information in this message (or at least most of it) into
ports/UPDATING so a few less people running old kernels will be bitten
by the installation of the new Skype port.
-- 
R. Kevin Oberman, Network Engineer
Energy Sciences Network (ESnet)
Ernest O. Lawrence Berkeley National Laboratory (Berkeley Lab)
E-mail: ober...@es.net  Phone: +1 510 486-8634
Key fingerprint:059B 2DDF 031C 9BA3 14A4  EADA 927D EBB3 987B 3751
___
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: Skype with sound and video support :)

2011-05-17 Thread Ion-Mihai Tetcu
On Tue, 17 May 2011 09:01:41 -0700
Kevin Oberman ober...@es.net wrote:

  Date: Tue, 17 May 2011 10:38:58 +0300
  From: Ion-Mihai Tetcu ite...@freebsd.org
  Sender: owner-freebsd-emulat...@freebsd.org
  
  Hi,
  
  
  As you may have noticed skype ports were updated a few days ago.
  
  All skype ports were moved to net-im/:
  - skype12: unchanged, very old version (for FreeBSD 6)
  - skype20: last version with OSS support, that used to live in
  net/skype; the DISTFILE is gone from the vendor but if you happen to
  have it it would be a way of having sound w/o a need to upgrade your
  base OS
  - [RECOMANDED] skype: currently at 2.1.0.81 and the best supported
  - skype-devel: currently at 2.2.0.25, sounds is OK, video doesn't
  work
  
  In order to run either skype or skype-devel with fully working sound
  you need:
  - to run fc10 (most probably, please report what you can run with
  fc4): (OVERRIDE_LINUX_BASE_PORT=f10,OVERRIDE_LINUX_NONBASE_PORTS=f10
  in /etc/make.conf for systems that doesn't have it as default)
  - In order for Skype to work OK, you need your kernel and modules
  to be:
  - post 2011-05-03 in on HEAD
  - post 2011-05-08 in on 7,8-STABLE
  The port tries to catch if your system version is too old, but
  there's a ~3months window where because of a lack of OSVERSION
  bump, this is not possible. So please check; and PLEAE READ THE
  PKG_MESSAGE for setup details. For how to update your kernel/world,
  see:
  http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig.html
  
  IF YOUR OSVERSION IS NOT NEW ENOUGH, SOUND (ESPECIALLY MIC) WON'T
  WORK.
  
  If you run into problems, at very least we need to know the output
  of:
  
  $ uname -a; sysctl compat.linux | head -2; grep
  OVERRIDE_LINUX_ /etc/make.conf;
  cat /compat/linux/etc/alsa/pcm/pcm-oss.conf
  
  the skype version you are using, and hardware details (eg. webcam)
  if related. I most probably will ignore any mail not containing
  this info since without it it's impossible to help.
  
  Please test your sound /video setup outside skype before blaming
  skype / mailing me.
 
 Many thanks for all of the work that went into getting a modern
 version of Skype working!
 
 Please put the information in this message (or at least most of it)
 into ports/UPDATING so a few less people running old kernels will be
 bitten by the installation of the new Skype port.

Well, the same (and more) is in the pkg-message also.
But OK, I will, ports/UPDATING is cheap.

-- 
IOnut - Un^d^dregistered ;) FreeBSD user
  Intellectual Property is   nowhere near as valuable   as Intellect
FreeBSD committer - ite...@freebsd.org, PGP Key ID 057E9F8B493A297B


signature.asc
Description: PGP signature


Re: Skype with sound and video support :)

2011-05-17 Thread Ted Faber
On Tue, May 17, 2011 at 07:28:35PM +0300, Ion-Mihai Tetcu wrote:
 But OK, I will, ports/UPDATING is cheap.

And appreciated.

-- 
Ted Faber
http://www.isi.edu/~faber   PGP: http://www.isi.edu/~faber/pubkeys.asc
Unexpected attachment on this mail? See http://www.isi.edu/~faber/FAQ.html#SIG


pgpC4F2KYvTyO.pgp
Description: PGP signature


Re: Skype with sound and video support :)

2011-05-17 Thread Ion-Mihai Tetcu
On Tue, 17 May 2011 09:37:03 -0700
Ted Faber fa...@isi.edu wrote:

 On Tue, May 17, 2011 at 07:28:35PM +0300, Ion-Mihai Tetcu wrote:
  But OK, I will, ports/UPDATING is cheap.
 
 And appreciated.

Done after sending the mail :)

-- 
IOnut - Un^d^dregistered ;) FreeBSD user
  Intellectual Property is   nowhere near as valuable   as Intellect
FreeBSD committer - ite...@freebsd.org, PGP Key ID 057E9F8B493A297B


signature.asc
Description: PGP signature


  1   2   3   4   5   6   7   8   9   10   >