Re: no sound azalia(4)
On Feb 27 07:59:46, martijn...@gmail.com wrote: On Tue, 2013-02-26 at 23:36 +0100, Jan Stary wrote: On Feb 26 23:25:17, martijn...@gmail.com wrote: Hello misc, I'm having troubles setting up my sound system on my openbsd-current laptop, a quite old Sony Vaio PCG-7H2M. If anyone has any idea of what the problem could be and has tips on how to solve it, it would be highly appreciated. What problem are you actually seeing? How exactly are you trying to play/record and what exactly is happening? As the subject says, I have no sound what so ever. I tried playing back a couple of songxx.ogg files via the ogg123 command as suggested per faq/faq13.html. The program seems to run fine, I just can't seem to put it through to my laptop speakers. I can't test for external atm since I have a temporary lack of cable. Are you running sndiod? Please try again with SIO_DEBUG=1.
Re: Should I be tuning relayd?
I would raise it far more, since you're at 60-something percent when you peak at 22k. 2013/2/26 Peter Farmer pfarmer...@gmail.com: Thanks Vadim, with set limit state 3 I now see the states balloon upto nearly 22000 states at peak, and no more state up - down. Peter On 26 February 2013 17:41, Vadim Zhukov persg...@gmail.com wrote: 26.02.2013 20:06 пользователь Peter Farmer pfarmer...@gmail.com написал: Hi All, Whilst load testing my website (being balanced via relayd) I see this from time to time (when running relayd -d): relay www, session 2410 (1 active), 0, 195.143.230.243 - 10.201.0.7:80, done relay www, session 3479 (1 active), 0, 195.143.230.242 - 10.201.0.6:80, done relay www, session 2411 (1 active), 0, 195.143.230.243 - 10.201.0.6:80, done relay www, session 3480 (1 active), 0, 195.143.230.242 - 10.201.0.7:80, done host 10.201.0.6, check http code (0ms), state up - down, availability 92.31% host 10.201.0.7, check http code (0ms), state up - down, availability 84.62% relay www, session 2412 (1 active), 0, 195.143.230.242 - :80, session failed relay www, session 2413 (1 active), 0, 195.143.230.243 - :80, session failed relay www, session 2414 (1 active), 0, 195.143.230.242 - :80, session failed I also periodically see: relay www, session 1609 (1 active), 0, 195.143.230.243 - 10.201.0.6:80, session failed I know that the webservers are available because I also have a tests running against each of the webservers and can see they are available all the time. Should I be adding something to relayd.conf or should I be tuning OpenBSD is anyway? There are typically between 6000 - 9000 states in the state table during the test. And default PF limit is 1. Too close to be safe. Try to set it in pf.conf to, e.g., 3 first. The ab command I am running is: ab -v -c100 -n10 http://beta.digidayoff.com/ My relayd conf is: ext_addr=10.201.0.3 www1=10.201.0.6 www2=10.201.0.7 log all table webhosts { $www1 $www2 } relay www { listen on $ext_addr port http forward to webhosts port http mode roundrobin check http / code 200 } My pf.conf is: set skip on lo anchor relayd/* pass quick on em1 proto pfsync keep state (no-sync) pass on em1 proto carp keep state pass# to establish keep-state # By default, do not permit remote connections to X11 block in on ! lo0 proto tcp to port 6000:6010 dmesg: OpenBSD 5.2 (GENERIC) #309: Wed Aug 1 09:58:55 MDT 2012 dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC real mem = 535756800 (510MB) avail mem = 499208192 (476MB) mainbus0 at root bios0 at mainbus0: SMBIOS rev. 2.4 @ 0xe0010 (268 entries) bios0: vendor Phoenix Technologies LTD version 6.00 date 09/21/2011 bios0: VMware, Inc. VMware Virtual Platform acpi0 at bios0: rev 2 acpi0: sleep states S0 S1 S4 S5 acpi0: tables DSDT FACP BOOT APIC MCFG SRAT HPET WAET acpi0: wakeup devices PCI0(S3) USB_(S1) P2P0(S3) S1F0(S3) S2F0(S3) S3F0(S3) S4F0(S3) S5F0(S3) S6F0(S3) S7F0(S3) S8F0(S3) S9F0(S3) Z00S(S3) Z00T(S3) Z00U(S3) Z00V(S3) Z00W(S3) Z00X(S3) Z00Y(S3) Z00Z(S3) Z010(S3) Z011(S3) Z012(S3) Z013(S3) Z014(S3) Z015(S3) Z016(S3) Z017(S3) Z018(S3) Z019(S3) Z01A(S3) Z01B(S3) Z01C(S3) Z01D(S3) Z01E(S3) P2P1(S3) S1F0(S3) S2F0(S3) S3F0(S3) S4F0(S3) S5F0(S3) S6F0(S3) S7F0(S3) S8F0(S3) S9F0(S3) Z00S(S3) Z00T(S3) Z00U(S3) Z00V(S3) Z00W(S3) Z00X(S3) Z00Y(S3) Z00Z(S3) Z010(S3) Z011(S3) Z012(S3) Z013(S3) Z014(S3) Z015(S3) Z016(S3) Z017(S3) Z018(S3) Z019(S3) Z01A(S3) Z01B(S3) Z01C(S3) Z01D(S3) Z01E(S3) P2P2(S3) S1F0(S3) S2F0(S3) S3F0(S3) S4F0(S3) S5F0(S3) S6F0(S3) S7F0(S3) S8F0(S3) S9F0(S3) Z00S(S3) Z00T(S3) Z00U(S3) Z00V(S3) Z00W(S3) Z00X(S3) Z00Y(S3) Z00Z(S3) Z010(S3) Z011(S3) Z012(S3) Z013(S3) Z014(S3) Z015(S3) Z016(S3) Z017(S3) Z018(S3) Z019(S3) Z01A(S3) Z01B(S3) Z01C(S3) Z01D(S3) Z01E(S3) P2P3(S3) S1F0(S3) S2F0(S3) S3F0(S3) S4F0(S3) S5F0(S3) S6F0(S3) S7F0(S3) S8F0(S3) S9F0(S3) Z00S(S3) Z00T(S3) Z00U(S3) Z00V(S3) Z00W(S3) Z00X(S3) Z00Y(S3) Z00Z(S3) Z010(S3) Z011(S3) Z012(S3) Z013(S3) Z014(S3) Z015(S3) Z016(S3) Z017(S3) Z018(S3) Z019(S3) Z01A(S3) Z01B(S3) Z01C(S3) Z01D(S3) Z01E(S3) PE40(S3) S1F0(S3) PE50(S3) S1F0(S3) PE60(S3) S1F0(S3) PE70(S3) S1F0(S3) PE80(S3) S1F0(S3) PE90(S3) S1F0(S3) PEA0(S3) S1F0(S3) PEB0(S3) S1F0(S3) PEC0(S3) S1F0(S3) PED0(S3) S1F0(S3) PEE0(S3) S1F0(S3) PE41(S3) S1F0(S3) PE42(S3) S1F0(S3) PE43(S3) S1F0(S3) PE44(S3) S1F0(S3) PE45(S3) S1F0(S3) PE46(S3) S1F0(S3) PE47(S3) S1F0(S3) PE51(S3) S1F0(S3) PE52(S3) S1F0(S3) PE53(S3) S1F0(S3) PE54(S3) S1F0(S3) PE55(S3) S1F0(S3) PE56(S3) S1F0(S3) PE57(S3) S1F0(S3) PE61(S3) S1F0(S3) PE62(S3) S1F0(S3) PE63(S3) S1F0(S3) PE64(S3) S1F0(S3) PE65(S3) S1F0(S3) PE66(S3) S1F0(S3) PE67(S3) S1F0(S3) PE71(S3) S1F0(S3) PE72(S3) S1F0(S3) PE73(S3) S1F0(S3) PE74(S3) S1F0(S3) PE75(S3) S1F0(S3) PE76(S3) S1F0(S3) PE77(S3) S1F0(S3)
Re: Should I be tuning relayd?
Yep, I'm going to set it up to 100k to be on the safe side. On 27 February 2013 09:47, Janne Johansson icepic...@gmail.com wrote: I would raise it far more, since you're at 60-something percent when you peak at 22k. 2013/2/26 Peter Farmer pfarmer...@gmail.com: Thanks Vadim, with set limit state 3 I now see the states balloon upto nearly 22000 states at peak, and no more state up - down. Peter On 26 February 2013 17:41, Vadim Zhukov persg...@gmail.com wrote: 26.02.2013 20:06 полÑзоваÑÐµÐ»Ñ Peter Farmer pfarmer...@gmail.com напиÑал: Hi All, Whilst load testing my website (being balanced via relayd) I see this from time to time (when running relayd -d): relay www, session 2410 (1 active), 0, 195.143.230.243 - 10.201.0.7:80, done relay www, session 3479 (1 active), 0, 195.143.230.242 - 10.201.0.6:80, done relay www, session 2411 (1 active), 0, 195.143.230.243 - 10.201.0.6:80, done relay www, session 3480 (1 active), 0, 195.143.230.242 - 10.201.0.7:80, done host 10.201.0.6, check http code (0ms), state up - down, availability 92.31% host 10.201.0.7, check http code (0ms), state up - down, availability 84.62% relay www, session 2412 (1 active), 0, 195.143.230.242 - :80, session failed relay www, session 2413 (1 active), 0, 195.143.230.243 - :80, session failed relay www, session 2414 (1 active), 0, 195.143.230.242 - :80, session failed I also periodically see: relay www, session 1609 (1 active), 0, 195.143.230.243 - 10.201.0.6:80, session failed I know that the webservers are available because I also have a tests running against each of the webservers and can see they are available all the time. Should I be adding something to relayd.conf or should I be tuning OpenBSD is anyway? There are typically between 6000 - 9000 states in the state table during the test. And default PF limit is 1. Too close to be safe. Try to set it in pf.conf to, e.g., 3 first. The ab command I am running is: ab -v -c100 -n10 http://beta.digidayoff.com/ My relayd conf is: ext_addr=10.201.0.3 www1=10.201.0.6 www2=10.201.0.7 log all table webhosts { $www1 $www2 } relay www { listen on $ext_addr port http forward to webhosts port http mode roundrobin check http / code 200 } My pf.conf is: set skip on lo anchor relayd/* pass quick on em1 proto pfsync keep state (no-sync) pass on em1 proto carp keep state pass# to establish keep-state # By default, do not permit remote connections to X11 block in on ! lo0 proto tcp to port 6000:6010 dmesg: OpenBSD 5.2 (GENERIC) #309: Wed Aug 1 09:58:55 MDT 2012 dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC real mem = 535756800 (510MB) avail mem = 499208192 (476MB) mainbus0 at root bios0 at mainbus0: SMBIOS rev. 2.4 @ 0xe0010 (268 entries) bios0: vendor Phoenix Technologies LTD version 6.00 date 09/21/2011 bios0: VMware, Inc. VMware Virtual Platform acpi0 at bios0: rev 2 acpi0: sleep states S0 S1 S4 S5 acpi0: tables DSDT FACP BOOT APIC MCFG SRAT HPET WAET acpi0: wakeup devices PCI0(S3) USB_(S1) P2P0(S3) S1F0(S3) S2F0(S3) S3F0(S3) S4F0(S3) S5F0(S3) S6F0(S3) S7F0(S3) S8F0(S3) S9F0(S3) Z00S(S3) Z00T(S3) Z00U(S3) Z00V(S3) Z00W(S3) Z00X(S3) Z00Y(S3) Z00Z(S3) Z010(S3) Z011(S3) Z012(S3) Z013(S3) Z014(S3) Z015(S3) Z016(S3) Z017(S3) Z018(S3) Z019(S3) Z01A(S3) Z01B(S3) Z01C(S3) Z01D(S3) Z01E(S3) P2P1(S3) S1F0(S3) S2F0(S3) S3F0(S3) S4F0(S3) S5F0(S3) S6F0(S3) S7F0(S3) S8F0(S3) S9F0(S3) Z00S(S3) Z00T(S3) Z00U(S3) Z00V(S3) Z00W(S3) Z00X(S3) Z00Y(S3) Z00Z(S3) Z010(S3) Z011(S3) Z012(S3) Z013(S3) Z014(S3) Z015(S3) Z016(S3) Z017(S3) Z018(S3) Z019(S3) Z01A(S3) Z01B(S3) Z01C(S3) Z01D(S3) Z01E(S3) P2P2(S3) S1F0(S3) S2F0(S3) S3F0(S3) S4F0(S3) S5F0(S3) S6F0(S3) S7F0(S3) S8F0(S3) S9F0(S3) Z00S(S3) Z00T(S3) Z00U(S3) Z00V(S3) Z00W(S3) Z00X(S3) Z00Y(S3) Z00Z(S3) Z010(S3) Z011(S3) Z012(S3) Z013(S3) Z014(S3) Z015(S3) Z016(S3) Z017(S3) Z018(S3) Z019(S3) Z01A(S3) Z01B(S3) Z01C(S3) Z01D(S3) Z01E(S3) P2P3(S3) S1F0(S3) S2F0(S3) S3F0(S3) S4F0(S3) S5F0(S3) S6F0(S3) S7F0(S3) S8F0(S3) S9F0(S3) Z00S(S3) Z00T(S3) Z00U(S3) Z00V(S3) Z00W(S3) Z00X(S3) Z00Y(S3) Z00Z(S3) Z010(S3) Z011(S3) Z012(S3) Z013(S3) Z014(S3) Z015(S3) Z016(S3) Z017(S3) Z018(S3) Z019(S3) Z01A(S3) Z01B(S3) Z01C(S3) Z01D(S3) Z01E(S3) PE40(S3) S1F0(S3) PE50(S3) S1F0(S3) PE60(S3) S1F0(S3) PE70(S3) S1F0(S3) PE80(S3) S1F0(S3) PE90(S3) S1F0(S3) PEA0(S3) S1F0(S3) PEB0(S3) S1F0(S3) PEC0(S3) S1F0(S3) PED0(S3) S1F0(S3) PEE0(S3) S1F0(S3) PE41(S3) S1F0(S3) PE42(S3) S1F0(S3) PE43(S3) S1F0(S3) PE44(S3) S1F0(S3) PE45(S3) S1F0(S3) PE46(S3) S1F0(S3) PE47(S3) S1F0(S3) PE51(S3) S1F0(S3) PE52(S3) S1F0(S3) PE53(S3) S1F0(S3) PE54(S3) S1F0(S3) PE55(S3)
Re: no sound azalia(4)
On Wed, 27 Feb 2013 10:12:31 +0100, Jan Stary wrote: On Feb 27 07:59:46, martijn...@gmail.com wrote: On Tue, 2013-02-26 at 23:36 +0100, Jan Stary wrote: On Feb 26 23:25:17, martijn...@gmail.com wrote: Hello misc, I'm having troubles setting up my sound system on my openbsd-current laptop, a quite old Sony Vaio PCG-7H2M. If anyone has any idea of what the problem could be and has tips on how to solve it, it would be highly appreciated. What problem are you actually seeing? How exactly are you trying to play/record and what exactly is happening? As the subject says, I have no sound what so ever. I tried playing back a couple of songxx.ogg files via the ogg123 command as suggested per faq/faq13.html. The program seems to run fine, I just can't seem to put it through to my laptop speakers. I can't test for external atm since I have a temporary lack of cable. Are you running sndiod? Please try again with SIO_DEBUG=1. For the record, that should be SNDIO_DEBUG. I don't see any spkr variables in the mixerctl output you posted previously. That may be an indication of the root of your problem. Do you get sound from headphones? Also, to rule out OpenBSD-specific problems, you may want to try a live CD with Linux or similar and see if you get sound there. Regards, Tim
Re: no sound azalia(4)
On Wed, 2013-02-27 at 13:07 +0100, Tim van der Molen wrote: On Wed, 27 Feb 2013 10:12:31 +0100, Jan Stary wrote: On Feb 27 07:59:46, martijn...@gmail.com wrote: On Tue, 2013-02-26 at 23:36 +0100, Jan Stary wrote: On Feb 26 23:25:17, martijn...@gmail.com wrote: Hello misc, I'm having troubles setting up my sound system on my openbsd-current laptop, a quite old Sony Vaio PCG-7H2M. If anyone has any idea of what the problem could be and has tips on how to solve it, it would be highly appreciated. What problem are you actually seeing? How exactly are you trying to play/record and what exactly is happening? As the subject says, I have no sound what so ever. I tried playing back a couple of songxx.ogg files via the ogg123 command as suggested per faq/faq13.html. The program seems to run fine, I just can't seem to put it through to my laptop speakers. I can't test for external atm since I have a temporary lack of cable. Are you running sndiod? Please try again with SIO_DEBUG=1. For the record, that should be SNDIO_DEBUG. I'm at work right now, I shall try that tonight. I don't see any spkr variables in the mixerctl output you posted previously. That may be an indication of the root of your problem. Do you get sound from headphones? I currently don't have any working headphones or other sound equipment to test them with, so I'll have to see if there's an open store after work for some cheap headphones. Also, to rule out OpenBSD-specific problems, you may want to try a live CD with Linux or similar and see if you get sound there. The soundcard does work under Linux. I successfully tried it over speaker with Debian Wheezy last week and the last time I tried the external it also worked. Regards, Tim
Re: no sound azalia(4)
On 02/27/13 13:07, Tim van der Molen wrote: On Wed, 27 Feb 2013 10:12:31 +0100, Jan Stary wrote: On Feb 27 07:59:46, martijn...@gmail.com wrote: On Tue, 2013-02-26 at 23:36 +0100, Jan Stary wrote: On Feb 26 23:25:17, martijn...@gmail.com wrote: Hello misc, I'm having troubles setting up my sound system on my openbsd-current laptop, a quite old Sony Vaio PCG-7H2M. If anyone has any idea of what the problem could be and has tips on how to solve it, it would be highly appreciated. What problem are you actually seeing? How exactly are you trying to play/record and what exactly is happening? As the subject says, I have no sound what so ever. I tried playing back a couple of songxx.ogg files via the ogg123 command as suggested per faq/faq13.html. The program seems to run fine, I just can't seem to put it through to my laptop speakers. I can't test for external atm since I have a temporary lack of cable. Are you running sndiod? Please try again with SIO_DEBUG=1. For the record, that should be SNDIO_DEBUG. I stopped sndiod via rc.d. After that I started it up again via: $ SNDIO_DEBUG=1 sudo -u _sndio /usr/bin/sndiod -d but when playing the songs again it gave no output (nor audio, nor stderr). I also tried it with SIO_DEBUG=1 for good measure, which also lacked output. I don't see any spkr variables in the mixerctl output you posted previously. That may be an indication of the root of your problem. Do you get sound from headphones? Also, to rule out OpenBSD-specific problems, you may want to try a live CD with Linux or similar and see if you get sound there. Regards, Tim
Re: no sound azalia(4)
On Feb 27 18:32:37, martijn...@gmail.com wrote: On 02/27/13 13:07, Tim van der Molen wrote: On Wed, 27 Feb 2013 10:12:31 +0100, Jan Stary wrote: On Feb 27 07:59:46, martijn...@gmail.com wrote: On Tue, 2013-02-26 at 23:36 +0100, Jan Stary wrote: On Feb 26 23:25:17, martijn...@gmail.com wrote: Hello misc, I'm having troubles setting up my sound system on my openbsd-current laptop, a quite old Sony Vaio PCG-7H2M. If anyone has any idea of what the problem could be and has tips on how to solve it, it would be highly appreciated. What problem are you actually seeing? How exactly are you trying to play/record and what exactly is happening? As the subject says, I have no sound what so ever. I tried playing back a couple of songxx.ogg files via the ogg123 command as suggested per faq/faq13.html. The program seems to run fine, I just can't seem to put it through to my laptop speakers. I can't test for external atm since I have a temporary lack of cable. Are you running sndiod? Please try again with SIO_DEBUG=1. For the record, that should be SNDIO_DEBUG. I stopped sndiod via rc.d. After that I started it up again via: $ SNDIO_DEBUG=1 sudo -u _sndio /usr/bin/sndiod -d but when playing the songs again it gave no output (nor audio, nor stderr). I also tried it with SIO_DEBUG=1 for good measure, which also lacked output. Use SNDIO_DEBUG with the application you use to play the sound. $ env SNDIO_DEBUG=1 play file.mp3 aucat_open: host= unit=0 devnum=0 opt=default /tmp/aucat-1000/aucat0: No such file or directory aucat: start, maxwrite = 0 file.mp3: File Size: 4.52M Bit Rate: 128k Encoding: MPEG audio Channels: 2 @ 16-bit Samplerate: 44100Hz Replaygain: off Duration: 00:04:42.96 In:0.00% 00:00:00.00 [00:04:42.96] Out:0 [ | ]Clip:0 aucat: flowctl = 8820, maxwrite = 35280 aucat: flowctl = 882, maxwrite = 3528 aucat: flowctl = 882, maxwrite = 3528 aucat: flowctl = 882, maxwrite = 3528 aucat: flowctl = 882, maxwrite = 3528 [...] aucat: flowctl = 882, maxwrite = 3528 aucat: flowctl = 882, maxwrite = 3528 aucat: flowctl = 882, maxwrite = 3528 aucat: flowctl = 882, maxwrite = 3528 In:0.26% 00:00:00.74 [00:04:42.21] Out:32.8k [ -==| ] Hd:5.4 Clip:0 aucat: flowctl = 882, maxwrite = 3528 aucat: flowctl = 882, maxwrite = 3528 aucat: flowctl = 882, maxwrite = 3528 aucat: flowctl = 882, maxwrite = 3528 aucat: flowctl = 882, maxwrite = 3528 aucat: flowctl = 882, maxwrite = 3528 aucat: flowctl = 882, maxwrite = 3528 aucat: flowctl = 882, maxwrite = 3528 aucat: flowctl = 882, maxwrite = 3528 In:0.33% 00:00:00.93 [00:04:42.03] Out:41.0k [ -==|= ] Hd:5.4 Clip:0 Aborted. This shows that the sndio subsystem is indeed getting audio samples from the application and tries to play them.
/tmp/aucat*
This is what happens on OpenBSD 5.2-current (GENERIC.MP) #15: Fri Jan 11 16:41:47 MST 2013 $ env SNDIO_DEBUG=1 play file.mp3 aucat_open: host= unit=0 devnum=0 opt=default /tmp/aucat-1000/aucat0: No such file or directory aucat: start, maxwrite = 0 file.mp3: File Size: 4.52M Bit Rate: 128k Encoding: MPEG audio Channels: 2 @ 16-bit Samplerate: 44100Hz Replaygain: off Duration: 00:04:42.96 In:0.00% 00:00:00.00 [00:04:42.96] Out:0 [| ] Clip:0 aucat: flowctl = 8820, maxwrite = 35280 aucat: flowctl = 882, maxwrite = 3528 aucat: flowctl = 882, maxwrite = 3528 aucat: flowctl = 882, maxwrite = 3528 aucat: flowctl = 882, maxwrite = 3528 [...] The audio plays fine, but why is this: /tmp/aucat-1000/aucat0: No such file or directory Indeed, there is no /tmp/aucat-1000/aucat0 (1000 is my userid), but there is /tmp/aucat/aucat0; is this something from the past of sndio, when it used userid in the socket name? Jan
Re: Changing Architecture from amd64 to i386
In my experience it's perfectly possible to move from one architecture to another one. I do the following: - backup /etc (only for security) - remove all installed packages (I save a list of installed packages to figure out what to install again after) - sysmerge for etc and xetc - update the system with the new architecture (update, not install) - adjust $PKG_PATH and reinstall packages deinstalled at the beginning, or new ones of your election. No major problems detected. BR Jes On 02/26/13 20:44, Philip Guenther wrote: On Tuesday, February 26, 2013, Stuart Henderson wrote: On 2013-02-25, James Griffin jmz.grif...@kode5.net javascript:; wrote: I have the latest snapshot amd64 arc. I would like to change to the i386 platform. I think if I delete/remove all packages then boot into the i386 bsd.rd and install all the i386 binaries, etc. and then reinstall all my packages this will be ok and will mean I don't have to reinstall from scratch using a cd iso image? Is this ok to do? Will it cause problems? If you need to ask, you probably shouldn't do it. It's certainly possible though. The result of running sysmerge may be hilarious. Philip
Re: Changing Architecture from amd64 to i386
Jes [jjje...@gmail.com] wrote: In my experience it's perfectly possible to move from one architecture to another one. I do the following: - backup /etc (only for security) - remove all installed packages (I save a list of installed packages to figure out what to install again after) - sysmerge for etc and xetc - update the system with the new architecture (update, not install) - adjust $PKG_PATH and reinstall packages deinstalled at the beginning, or new ones of your election. No major problems detected. one more step to add: delete old binaries (including previous versions of shared libs)
Re: no sound azalia(4)
Use SNDIO_DEBUG with the application you use to play the sound. $ env SNDIO_DEBUG=1 play file.mp3 aucat_open: host= unit=0 devnum=0 opt=default /tmp/aucat-1000/aucat0: No such file or directory aucat: start, maxwrite = 0 file.mp3: File Size: 4.52M Bit Rate: 128k Encoding: MPEG audio Channels: 2 @ 16-bit Samplerate: 44100Hz Replaygain: off Duration: 00:04:42.96 In:0.00% 00:00:00.00 [00:04:42.96] Out:0 [ | ]Clip:0 aucat: flowctl = 8820, maxwrite = 35280 aucat: flowctl = 882, maxwrite = 3528 aucat: flowctl = 882, maxwrite = 3528 aucat: flowctl = 882, maxwrite = 3528 aucat: flowctl = 882, maxwrite = 3528 [...] aucat: flowctl = 882, maxwrite = 3528 aucat: flowctl = 882, maxwrite = 3528 aucat: flowctl = 882, maxwrite = 3528 aucat: flowctl = 882, maxwrite = 3528 In:0.26% 00:00:00.74 [00:04:42.21] Out:32.8k [ -==| ] Hd:5.4 Clip:0 aucat: flowctl = 882, maxwrite = 3528 aucat: flowctl = 882, maxwrite = 3528 aucat: flowctl = 882, maxwrite = 3528 aucat: flowctl = 882, maxwrite = 3528 aucat: flowctl = 882, maxwrite = 3528 aucat: flowctl = 882, maxwrite = 3528 aucat: flowctl = 882, maxwrite = 3528 aucat: flowctl = 882, maxwrite = 3528 aucat: flowctl = 882, maxwrite = 3528 In:0.33% 00:00:00.93 [00:04:42.03] Out:41.0k [ -==|= ] Hd:5.4 Clip:0 Aborted. This shows that the sndio subsystem is indeed getting audio samples from the application and tries to play them. My bad. My output is: $ SNDIO_DEBUG=1 ogg123 /tmp/songty.ogg aucat_open: host= unit=0 devnum=0 opt=default /tmp/aucat-1000/aucat0: No such file or directory Audio Device: sndio audio output Playing: /tmp/songty.ogg Ogg Vorbis stream: 2 channel, 44100 Hz aucat_open: host= unit=0 devnum=0 opt=default /tmp/aucat-1000/aucat0: No such file or directory aucat: start, maxwrite = 0 aucat: flowctl = 8820, maxwrite = 35280( 0.4 kbps) Output Buffer 44.4% aucat: flowctl = 882, maxwrite = 3528 aucat: flowctl = 882, maxwrite = 3528 aucat: flowctl = 882, maxwrite = 3528 aucat: flowctl = 882, maxwrite = 3528 aucat: flowctl = 882, maxwrite = 3528 aucat: flowctl = 882, maxwrite = 3528 aucat: flowctl = 882, maxwrite = 3528 aucat: flowctl = 882, maxwrite = 3528 aucat: flowctl = 882, maxwrite = 3528 ( 69.5 kbps) Output Buffer 77.8% aucat: flowctl = 882, maxwrite = 3528 aucat: flowctl = 882, maxwrite = 3528 aucat: flowctl = 882, maxwrite = 3528 aucat: flowctl = 882, maxwrite = 3528 aucat: flowctl = 882, maxwrite = 3528 aucat: flowctl = 882, maxwrite = 3528 aucat: flowctl = 882, maxwrite = 3528 aucat: flowctl = 882, maxwrite = 3528 aucat: flowctl = 882, maxwrite = 3528 aucat: flowctl = 882, maxwrite = 3528 aucat: flowctl = 882, maxwrite = 3528 aucat: flowctl = 882, maxwrite = 3528 aucat: flowctl = 882, maxwrite = 3528 aucat: flowctl = 882, maxwrite = 3528 aucat: flowctl = 882, maxwrite = 3528 ^Caucat: flowctl = 882, maxwrite = 3528
Re: ZTE mf626 USB modem support
The patch that Stuart provided worked for my ZTE MF668 device. I got this on dmesg: umsm0 at uhub0 port 3 configuration 1 interface 0 ZTE,Incorporated ZTE HSPA Technologies MSM rev 2.00/0.00 addr 2 umsm0 detached umsm0 at uhub0 port 3 configuration 1 interface 0 ZTE,Incorporated ZTE HSPA Technologies MSM rev 2.00/0.00 addr 2 ucom0 at umsm0 umsm1 at uhub0 port 3 configuration 1 interface 1 ZTE,Incorporated ZTE HSPA Technologies MSM rev 2.00/0.00 addr 2 ucom1 at umsm1 umsm2 at uhub0 port 3 configuration 1 interface 2 ZTE,Incorporated ZTE HSPA Technologies MSM rev 2.00/0.00 addr 2 ucom2 at umsm2 umsm3 at uhub0 port 3 configuration 1 interface 3 ZTE,Incorporated ZTE HSPA Technologies MSM rev 2.00/0.00 addr 2 I think when it says umsm0 detached is when it does the mode switching because it didn't appear before and also the device takes a few seconds more to be ready. Thanks for all the help.