Re: USB speakers

2020-08-15 Thread Patrick Harper
Can you post your /etc/rc.conf.local ?

-- 
  Patrick Harper
  paia...@fastmail.com

On Fri, 14 Aug 2020, at 17:21, Justin Muir wrote:
> Wondering whether anyone has experience with Logitech USB speakers?
> 
> Plugged in mine, did the rcctl rsnd/0 thingi from multimedia FAQ:
> # rcctl set sndiod flags -f rsnd/0 -F rsnd/1
> # rcctl restart sndiod
> 
> It doesn't work. As a matter of fact, the speaker light doesn't even come
> on now.
> 
> Any suggestions?
> 
> 
> tia!
> 
> J
> 
> Dmesg output below:
> 
> uaudio0 at uhub4 port 2 configuration 1 interface 1 "Logitech Logitech USB
> Speaker" rev 1.10/0.07 addr 3
> uaudio0: class v1, full-speed, sync, channels: 2 play, 0 rec, 7 ctls
> audio1 at uaudio0
> uhidev2 at uhub4 port 2 configuration 1 interface 2 "Logitech Logitech USB
> Speaker" rev 1.10/0.07 addr 3
> uhidev2: iclass 3/0
> uhid3 at uhidev2: input=2, output=0, feature=0
>



USB speakers

2020-08-14 Thread Justin Muir
Wondering whether anyone has experience with Logitech USB speakers?

Plugged in mine, did the rcctl rsnd/0 thingi from multimedia FAQ:
# rcctl set sndiod flags -f rsnd/0 -F rsnd/1
# rcctl restart sndiod

It doesn't work. As a matter of fact, the speaker light doesn't even come
on now.

Any suggestions?


tia!

J

Dmesg output below:

uaudio0 at uhub4 port 2 configuration 1 interface 1 "Logitech Logitech USB
Speaker" rev 1.10/0.07 addr 3
uaudio0: class v1, full-speed, sync, channels: 2 play, 0 rec, 7 ctls
audio1 at uaudio0
uhidev2 at uhub4 port 2 configuration 1 interface 2 "Logitech Logitech USB
Speaker" rev 1.10/0.07 addr 3
uhidev2: iclass 3/0
uhid3 at uhidev2: input=2, output=0, feature=0


Re: USB speakers, no sound

2019-08-13 Thread Raf Czlonka
On Sun, Aug 11, 2019 at 03:14:25PM BST, Doug Moss wrote:
> 
> To make sure I understand correctly / and possible help others in future 
> reading thread:
> (OpenBSD 6.5, amd64)
> 
> /etc/rc.conf.local
> sndiod_flags="-f rsnd/1"
> (This tells the sndiod daemon to configure the first _raw_ audio device = 
> 'audio1' in dmesg = 'rsnd/1',
 ^
Second - remember, the devices are 0[zero]-indexed.

> and this becomes exposed as the first sndiod device 'snd/0')

Cheers,

Raf



Re: USB speakers, no sound

2019-08-11 Thread Doug Moss
On Sunday, August 11, 2019, 3:19:52 AM EDT, Alexandre Ratchov wrote:
>
>Could you try setting:
>
>sndiod_flags="-frsnd/0 -frsnd1"
>
>then restart sndiod, then run:
>
>aucat -f snd/1 -i song.wav

Apologies - somehow the cycles of restarting/powering off and on - it seems to 
be working fine now.

To make sure I understand correctly / and possible help others in future 
reading thread:
(OpenBSD 6.5, amd64)

/etc/rc.conf.local
sndiod_flags="-f rsnd/1"
(This tells the sndiod daemon to configure the first _raw_ audio device = 
'audio1' in dmesg = 'rsnd/1',
and this becomes exposed as the first sndiod device 'snd/0')

aucat -f snd/0 -i song.wav
(Plays song.wav through the first sndiod exposed device, 'snd/0' = 'rsnd/1' )
This works

aucat -f rsnd/0 -i song.wav
(Plays song.wav through the _raw_ sound device 'audio0' in dmesg, the onboard 
Intel Audio)
This works (note, 'rsnd/0' is not exposed as any 'snd/N' available device)

aucat -f rsnd/1 -i song.wav
(Plays song.wav through the _raw_ sound device 'audio1' in dmesg, in my case 
the USB speakers)
This works

aucat -f snd/1 -i song.wav
(fails because with sndiod_flags -f rsnd1, then sndiod only exposes one device,
'snd/0' = the _raw_ sound device 'audio1' = 'rsnd/1' , and there is no 'snd/1')

aucat -i song.wav
(Plays song.wav through the default sndiod exposed device 'snd/0' = 'rsnd/1' )
This works

Hopefully I have that all correct.

I have no idea why it didn't work when I first tried this yesterday when I 
first hooked up the USB speakers.



Re: USB speakers, no sound

2019-08-11 Thread Doug Moss


>> no sound from USB speakers
>> 
>> dmesg:
>> azalia0 at pci0 dev 27 function 0 "Intel 6 Series HD Audio" rev 0x05: msi
>> azalia0: codecs: Realtek ALC888, Intel/0x2805, using Realtek ALC888
>> audio0 at azalia0
>> ...
>> uhub5 at uhub3 port 1 configuration 1 interface 0 "Intel Rate Matching Hub" 
>> rev 2.00/0.00 addr 2
>> uaudio0 at uhub5 port 7 configuration 1 interface 1 "Ten X Technology, Inc. 
>> USB AUDIO" rev 1.10/1.87 addr 3
>> uaudio0: class v1, full-speed, sync, channels: 2 play, 0 rec, 3 ctls
>> audio1 at uaudio0
>> uhidev1 at uhub5 port 7 configuration 1 interface 2 "Ten X Technology, Inc. 
>> USB AUDIO" rev 1.10/1.87 addr 3
>> uhidev1: iclass 3/0
>> uhid0 at uhidev1: input=1, output=0, feature=0
>> 
>> 
>> configuration:
>> /etc/rc.conf.local:
>> sndiod_flags="-m play -f rsnd/1 -f rsnd/0"
>> 
>> 
>> audioctl -f /dev/audioctl0:
>> name=azalia0
>> mode=play,record
>> pause=0
>> active=0
>> nblks=2
>> blksz=4416
>> rate=44100
>> encoding=s16le
>> play.channels=2
>> play.bytes=0
>> play.errors=0
>> record.channels=2
>> record.bytes=0
>> record.errors=0
>> 
>> 
>> audioctl -f /dev/audioctl1:
>> name=uaudio0
>> mode=
>> pause=0
>> active=0
>> nblks=2
>> blksz=960
>> rate=48000
>> encoding=s16le
>> play.channels=2
>> play.bytes=0
>> play.errors=0
>> record.channels=2
>> record.bytes=0
>> record.errors=0
>> 
>> aucat -f rsnd/0 -i song.wav
>>   plays fine
>> 
>> aucat -f rsnd/1 -i song.wav
>>   generates nothing

>Hi,
>
>Does it exit or it just plays silence?

aucat does not fail or exit, just that there is no sound output - just silence


>If it plays silence, while it's playing could you do:
>
>audioctl -f /dev/audioctl1; sleep 1; audioctl -f /dev/audioctl1
>
>and send me the output.

obsd$ audioctl -f /dev/audioctl1; sleep 1; audioctl -f /dev/audioctl1
name=uaudio0
mode=play
pause=0
active=1
nblks=2
blksz=1020
rate=48000
encoding=s16le
play.channels=2
play.bytes=681360
play.errors=0
record.channels=2
record.bytes=0
record.errors=0
name=uaudio0
mode=play
pause=0
active=1
nblks=2
blksz=1020
rate=48000
encoding=s16le
play.channels=2
play.bytes=873120
play.errors=0
record.channels=2
record.bytes=0
record.errors=0


The rate is not what I would expect - the input is a WAV file, from a CD with 
rate of 44100 Hz


>Then could you send me the output of:
>
>mixerctl -f /dev/mixer1

obsd$ mixerctl -f /dev/mixer1
outputs.play=254,254
outputs.play_mute=off 
record.enable=sysctl 


I notice that the speakers also have buttons on the front to control volume
which I think show up as the interface device:
 uhidev1 at uhub5 port 7 configuration 1 interface 2
Does that mess things up or interfere in any way?




Re: USB speakers, no sound

2019-08-10 Thread Alexandre Ratchov
On Sat, Aug 10, 2019 at 07:58:14PM +, Doug Moss wrote:
> no sound from USB speakers
> 
> dmesg:
> azalia0 at pci0 dev 27 function 0 "Intel 6 Series HD Audio" rev 0x05: msi
> azalia0: codecs: Realtek ALC888, Intel/0x2805, using Realtek ALC888
> audio0 at azalia0
> ...
> uhub5 at uhub3 port 1 configuration 1 interface 0 "Intel Rate Matching Hub" 
> rev 2.00/0.00 addr 2
> uaudio0 at uhub5 port 7 configuration 1 interface 1 "Ten X Technology, Inc. 
> USB AUDIO" rev 1.10/1.87 addr 3
> uaudio0: class v1, full-speed, sync, channels: 2 play, 0 rec, 3 ctls
> audio1 at uaudio0
> uhidev1 at uhub5 port 7 configuration 1 interface 2 "Ten X Technology, Inc. 
> USB AUDIO" rev 1.10/1.87 addr 3
> uhidev1: iclass 3/0
> uhid0 at uhidev1: input=1, output=0, feature=0
> 
> 
> configuration:
> /etc/rc.conf.local:
> sndiod_flags="-m play -f rsnd/1 -f rsnd/0"
> 
> 
> audioctl -f /dev/audioctl0:
> name=azalia0
> mode=play,record
> pause=0
> active=0
> nblks=2
> blksz=4416
> rate=44100
> encoding=s16le
> play.channels=2
> play.bytes=0
> play.errors=0
> record.channels=2
> record.bytes=0
> record.errors=0
> 
> 
> audioctl -f /dev/audioctl1:
> name=uaudio0
> mode=
> pause=0
> active=0
> nblks=2
> blksz=960
> rate=48000
> encoding=s16le
> play.channels=2
> play.bytes=0
> play.errors=0
> record.channels=2
> record.bytes=0
> record.errors=0
> 
> aucat -f rsnd/0 -i song.wav
>   plays fine
> 
> aucat -f rsnd/1 -i song.wav
>   generates nothing
> 

Hi,

Does it exit or it just plays silence? If it plays silence, while it's
playing could you do:

audioctl -f /dev/audioctl1; sleep 1; audioctl -f /dev/audioctl1

and send me the output. Then could you send me the output of:

mixerctl -f /dev/mixer1



USB speakers, no sound

2019-08-10 Thread Doug Moss
no sound from USB speakers

dmesg:
azalia0 at pci0 dev 27 function 0 "Intel 6 Series HD Audio" rev 0x05: msi
azalia0: codecs: Realtek ALC888, Intel/0x2805, using Realtek ALC888
audio0 at azalia0
...
uhub5 at uhub3 port 1 configuration 1 interface 0 "Intel Rate Matching Hub" rev 
2.00/0.00 addr 2
uaudio0 at uhub5 port 7 configuration 1 interface 1 "Ten X Technology, Inc. USB 
AUDIO" rev 1.10/1.87 addr 3
uaudio0: class v1, full-speed, sync, channels: 2 play, 0 rec, 3 ctls
audio1 at uaudio0
uhidev1 at uhub5 port 7 configuration 1 interface 2 "Ten X Technology, Inc. USB 
AUDIO" rev 1.10/1.87 addr 3
uhidev1: iclass 3/0
uhid0 at uhidev1: input=1, output=0, feature=0


configuration:
/etc/rc.conf.local:
sndiod_flags="-m play -f rsnd/1 -f rsnd/0"


audioctl -f /dev/audioctl0:
name=azalia0
mode=play,record
pause=0
active=0
nblks=2
blksz=4416
rate=44100
encoding=s16le
play.channels=2
play.bytes=0
play.errors=0
record.channels=2
record.bytes=0
record.errors=0


audioctl -f /dev/audioctl1:
name=uaudio0
mode=
pause=0
active=0
nblks=2
blksz=960
rate=48000
encoding=s16le
play.channels=2
play.bytes=0
play.errors=0
record.channels=2
record.bytes=0
record.errors=0

aucat -f rsnd/0 -i song.wav
  plays fine

aucat -f rsnd/1 -i song.wav
  generates nothing


Any thoughts/advice are welcome
Thanks



Re: Help with USB speakers

2013-12-13 Thread Remco
leona...@sympatico.ca wrote:

 I am running openbsd -current
  5.4 GENERIC.MP#171 amd64 on a lenovo X1C
 I just received  some USB speakers with DAC and amplifier. The system can
 see the speakers but I cannot get them to be used when playing music
 
 In messages I see:
 Dec 12 17:09:16 genetraveller /bsd: uaudio0 at uhub3 port 3 configuration
 1 interface 0 KEF KEF X300A Speaker rev 1.10/1.07 addr 5Dec 12 17:09:16
 genetraveller /bsd: uaudio0: sync ep address mismatchDec 12 17:09:16
 genetraveller /bsd: uaudio0: sync ep address mismatchDec 12 17:09:16
 genetraveller /bsd: uaudio0: no usable endpoint foundDec 12 17:09:16
 genetraveller /bsd: uaudio0: audio descriptors make no sense, error=4Dec
 12 17:09:16 genetraveller /bsd: uhidev0 at uhub3 port 3 configuration 1
 interface 2 KEF KEF X300A Speaker rev 1.10/1.07 addr 5Dec 12 17:09:16
 genetraveller /bsd: uhidev0: iclass 3/0, 1 report idDec 12 17:09:16
 genetraveller /bsd: uhid0 at uhidev0 reportid 1: input=15, output=15,
 feature=0Dec 12 17:09:16 genetraveller /bsd: ugen0 at uhub3 port 3
 configuration 1 KEF KEF X300A Speaker rev 1.10/1.07 addr 5
 
 Does anyone know how to debug this and get it working?
 Thanks.
 Len Zaifman

If you use the lsusb command from the usbutils package on this device you can 
check its USB descriptors.
Look for:
  AudioControl Interface Descriptor:
bLength 9
bDescriptorType36
bDescriptorSubtype  1 (HEADER)
bcdADC   1.00
 
If bcdADC says something other than 1.00, I think you're out-of-luck.
I suspect it reads 2.00. AFAICT Universal Serial Bus Device Class 
Definition for Audio Devices Release 2.0 isn't supported by OpenBSD.

Unless someone else has a better solution, quite likely the uaudio driver will 
need somebody able to update it for your device to work.



Re: Help with USB speakers

2013-12-13 Thread leonardz
Item(Local ): Usage, data= [ 0xb6 ] 182
Scan Previous TrackItem(Global): Report Count, data= [ 0x04 ] 4
Item(Main  ): Input, data= [ 0x06 ] 6Data Variable
Relative No_Wrap LinearPreferred_State
No_Null_Position Non_Volatile BitfieldItem(Global): Usage Page,
data= [ 0xff 0x07 ] 2047(null)
Item(Local ): Usage, data= [ 0x01 ] 1(null)
Item(Global): Report Size, data= [ 0x08 ] 8Item(Global): Report
Count, data= [ 0x0d ] 13Item(Main  ): Input, data= [ 0x06 ] 6
Data Variable Relative No_Wrap Linear
Preferred_State No_Null_Position Non_Volatile BitfieldItem(Local
): Usage, data= [ 0x00 ] 0(null)
Item(Global): Report Count, data= [ 0x0f ] 15Item(Main  ): Output,
data= [ 0x02 ] 2Data Variable Absolute No_Wrap
LinearPreferred_State No_Null_Position
Non_Volatile BitfieldItem(Main  ): End Collection, data=none
Endpoint Descriptor:bLength 7bDescriptorType
5bEndpointAddress 0x87  EP 7 INbmAttributes3
Transfer TypeInterrupt  Synch Type   None
Usage Type   DatawMaxPacketSize 0x0010  1x 16 bytes
bInterval   1Device Status: 0x  (Bus Powered)
Len Zaifman

 From: re...@d-compu.dyndns.org
 To: leona...@sympatico.ca
 Subject: Re: Help with USB speakers
 Date: Fri, 13 Dec 2013 09:13:30 +0100
 CC: misc@openbsd.org

 leona...@sympatico.ca wrote:

  I am running openbsd -current
   5.4 GENERIC.MP#171 amd64 on a lenovo X1C
  I just received  some USB speakers with DAC and amplifier. The system can
  see the speakers but I cannot get them to be used when playing music
 
  In messages I see:
  Dec 12 17:09:16 genetraveller /bsd: uaudio0 at uhub3 port 3 configuration
  1 interface 0 KEF KEF X300A Speaker rev 1.10/1.07 addr 5Dec 12 17:09:16
  genetraveller /bsd: uaudio0: sync ep address mismatchDec 12 17:09:16
  genetraveller /bsd: uaudio0: sync ep address mismatchDec 12 17:09:16
  genetraveller /bsd: uaudio0: no usable endpoint foundDec 12 17:09:16
  genetraveller /bsd: uaudio0: audio descriptors make no sense, error=4Dec
  12 17:09:16 genetraveller /bsd: uhidev0 at uhub3 port 3 configuration 1
  interface 2 KEF KEF X300A Speaker rev 1.10/1.07 addr 5Dec 12 17:09:16
  genetraveller /bsd: uhidev0: iclass 3/0, 1 report idDec 12 17:09:16
  genetraveller /bsd: uhid0 at uhidev0 reportid 1: input=15, output=15,
  feature=0Dec 12 17:09:16 genetraveller /bsd: ugen0 at uhub3 port 3
  configuration 1 KEF KEF X300A Speaker rev 1.10/1.07 addr 5
 
  Does anyone know how to debug this and get it working?
  Thanks.
  Len Zaifman

 If you use the lsusb command from the usbutils package on this device you
can
 check its USB descriptors.
 Look for:
   AudioControl Interface Descriptor:
 bLength 9
 bDescriptorType36
 bDescriptorSubtype  1 (HEADER)
 bcdADC   1.00

 If bcdADC says something other than 1.00, I think you're out-of-luck.
 I suspect it reads 2.00. AFAICT Universal Serial Bus Device Class
 Definition for Audio Devices Release 2.0 isn't supported by OpenBSD.

 Unless someone else has a better solution, quite likely the uaudio driver
will
 need somebody able to update it for your device to work.



Help with USB speakers

2013-12-12 Thread leonardz
I am running openbsd -current
 5.4 GENERIC.MP#171 amd64 on a lenovo X1C
I just received  some USB speakers with DAC and amplifier. The system can see
the speakers but I cannot get them to be used when playing music

In messages I see:
Dec 12 17:09:16 genetraveller /bsd: uaudio0 at uhub3 port 3 configuration 1
interface 0 KEF KEF X300A Speaker rev 1.10/1.07 addr 5Dec 12 17:09:16
genetraveller /bsd: uaudio0: sync ep address mismatchDec 12 17:09:16
genetraveller /bsd: uaudio0: sync ep address mismatchDec 12 17:09:16
genetraveller /bsd: uaudio0: no usable endpoint foundDec 12 17:09:16
genetraveller /bsd: uaudio0: audio descriptors make no sense, error=4Dec 12
17:09:16 genetraveller /bsd: uhidev0 at uhub3 port 3 configuration 1 interface
2 KEF KEF X300A Speaker rev 1.10/1.07 addr 5Dec 12 17:09:16 genetraveller
/bsd: uhidev0: iclass 3/0, 1 report idDec 12 17:09:16 genetraveller /bsd:
uhid0 at uhidev0 reportid 1: input=15, output=15, feature=0Dec 12 17:09:16
genetraveller /bsd: ugen0 at uhub3 port 3 configuration 1 KEF KEF X300A
Speaker rev 1.10/1.07 addr 5

Does anyone know how to debug this and get it working?
Thanks.
Len Zaifman



sound from usb speakers (Logitech v20) - howto?

2009-07-20 Thread Didier Wiroth
Hello,

I've recently purchased a couple of logitech v20 USB speakers to use with my 
laptop, but I'm not able to get any sound out of it. The sound comes out from 
the built-in speakers, but nothing comes out from the usb speakers.

Any ideas on how to solve this?

P.S I'm using current, see dmesg and output of mixerctl -v below.

Thanks a lot!
Didier

OpenBSD 4.6-current (GENERIC) #0: Fri Jul 17 21:07:59 CEST 2009
r...@406334g.wiroth.net:/usr/obj/kernels.Jy01i/GENERIC
real mem = 3174764544 (3027MB)
avail mem = 3066204160 (2924MB)
mainbus0 at root
bios0 at mainbus0: SMBIOS rev. 2.4 @ 0xe0010 (80 entries)
bios0: vendor LENOVO version 6FET70WW (3.00 ) date 04/17/2009
bios0: LENOVO 406334G
acpi0 at bios0: rev 2
acpi0: tables DSDT FACP SSDT ECDT APIC MCFG HPET SLIC BOOT ASF! SSDT TCPA SSDT 
SSDT SSDT
acpi0: wakeup devices LID_(S3) SLPB(S3) UART(S3) IGBE(S4) EXP0(S4) EXP1(S4) 
EXP2(S4) EXP3(S4) EXP4(S4) PCI1(S4) USB0(S3) USB3(S3) USB5(S3) EHC0(S3) EHC1
(S3) HDEF(S4)
acpitimer0 at acpi0: 3579545 Hz, 24 bits
acpimadt0 at acpi0 addr 0xfee0: PC-AT compat
cpu0 at mainbus0: apid 0 (boot processor)
cpu0: Intel(R) Core(TM)2 Duo CPU T9600 @ 2.80GHz, 2793.40 MHz
cpu0: 
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,SSE3,MWAIT,DS-CPL,VMX,SMX,EST,TM2,CX16,xTPR,NXE,LONG
cpu0: 6MB 64b/line 16-way L2 cache
cpu0: apic clock running at 266MHz
cpu at mainbus0: not configured
ioapic0 at mainbus0 apid 1 pa 0xfec0, version 20, 24 pins
ioapic0: misconfigured as apic 2, remapped to apid 1
acpihpet0 at acpi0: 14318179 Hz
acpiprt0 at acpi0: bus 0 (PCI0)
acpiprt1 at acpi0: bus -1 (AGP_)
acpiprt2 at acpi0: bus 2 (EXP0)
acpiprt3 at acpi0: bus 3 (EXP1)
acpiprt4 at acpi0: bus 4 (EXP2)
acpiprt5 at acpi0: bus 5 (EXP3)
acpiprt6 at acpi0: bus 13 (EXP4)
acpiprt7 at acpi0: bus 21 (PCI1)
acpiec0 at acpi0
acpicpu0 at acpi0: C3, C2, C1, PSS
acpipwrres0 at acpi0: PUBS
acpitz0 at acpi0: critical temperature 127 degC
acpitz1 at acpi0: critical temperature 100 degC
acpibtn0 at acpi0: LID_
acpibtn1 at acpi0: SLPB
acpibat0 at acpi0: BAT0 model 42T4620 serial  3828 type LION oem Panasonic
acpibat1 at acpi0: BAT1 not present
acpiac0 at acpi0: AC unit online
acpithinkpad0 at acpi0
acpidock0 at acpi0: GDCK not docked (0)
cpu0: Enhanced SpeedStep 2793 MHz: speeds: 2801, 2800, 2133, 1600, 800 MHz
pci0 at mainbus0 bus 0
pchb0 at pci0 dev 0 function 0 Intel GM45 Host rev 0x07
vga1 at pci0 dev 2 function 0 Intel GM45 Video rev 0x07
wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
intagp0 at vga1
agp0 at intagp0: aperture at 0xd000, size 0x1000
inteldrm0 at vga1: apic 1 int 16 (irq 11)
drm0 at inteldrm0
Intel GM45 Video rev 0x07 at pci0 dev 2 function 1 not configured
Intel GM45 HECI rev 0x07 at pci0 dev 3 function 0 not configured
pciide0 at pci0 dev 3 function 2 Intel GM45 PT IDER rev 0x07: DMA 
(unsupported), channel 0 wired to native-PCI, channel 1 wired to native-PCI
pciide0: using apic 1 int 18 (irq 11) for native-PCI interrupt
pciide0: channel 0 ignored (not responding; disabled or no drives?)
pciide0: channel 1 ignored (not responding; disabled or no drives?)
Intel GM45 AMT SOL rev 0x07 at pci0 dev 3 function 3 not configured
em0 at pci0 dev 25 function 0 Intel ICH9 IGP M AMT rev 0x03: apic 1 int 20 
(irq 11), address 00:21:86:ff:1f:5c
uhci0 at pci0 dev 26 function 0 Intel 82801I USB rev 0x03: apic 1 int 20 
(irq 11)
uhci1 at pci0 dev 26 function 1 Intel 82801I USB rev 0x03: apic 1 int 21 
(irq 11)
uhci2 at pci0 dev 26 function 2 Intel 82801I USB rev 0x03: apic 1 int 22 
(irq 11)
ehci0 at pci0 dev 26 function 7 Intel 82801I USB rev 0x03: apic 1 int 23 
(irq 11)
usb0 at ehci0: USB revision 2.0
uhub0 at usb0 Intel EHCI root hub rev 2.00/1.00 addr 1
azalia0 at pci0 dev 27 function 0 Intel 82801I HD Audio rev 0x03: apic 1 int 
17 (irq 11)
azalia0: RIRB time out
azalia0: codecs: Conexant CX20561, Conexant/0x2c06, using Conexant CX20561
audio0 at azalia0
ppb0 at pci0 dev 28 function 0 Intel 82801I PCIE rev 0x03: apic 1 int 20 
(irq 11)
pci1 at ppb0 bus 2
ppb1 at pci0 dev 28 function 1 Intel 82801I PCIE rev 0x03: apic 1 int 21 
(irq 11)
pci2 at ppb1 bus 3
iwn0 at pci2 dev 0 function 0 Intel WiFi Link 5300 rev 0x00: apic 1 int 17 
(irq 11), MIMO 3T3R, MoW, address 00:21:6a:0d:2f:0a
ppb2 at pci0 dev 28 function 2 Intel 82801I PCIE rev 0x03: apic 1 int 22 
(irq 11)
pci3 at ppb2 bus 4
Intel Turbo Memory rev 0x11 at pci3 dev 0 function 0 not configured
ppb3 at pci0 dev 28 function 3 Intel 82801I PCIE rev 0x03: apic 1 int 23 
(irq 11)
pci4 at ppb3 bus 5
ppb4 at pci0 dev 28 function 4 Intel 82801I PCIE rev 0x03: apic 1 int 20 
(irq 11)
pci5 at ppb4 bus 13
uhci3 at pci0 dev 29 function 0 Intel 82801I USB rev 0x03: apic 1 int 16 
(irq 11)
uhci4 at pci0 dev 29 function 1 Intel 82801I USB rev 0x03: apic 1 int 17 
(irq 11)
uhci5 at pci0 dev 29 function 2 Intel 82801I USB rev 0x03: apic 1 int 18 
(irq 11)
ehci1 at pci0

Re: sound from usb speakers (Logitech v20) - howto?

2009-07-20 Thread Paul de Weerd
On Mon, Jul 20, 2009 at 01:38:25PM +0200, Didier Wiroth wrote:
| Hello,
| 
| I've recently purchased a couple of logitech v20 USB speakers to use with 
my 
| laptop, but I'm not able to get any sound out of it. The sound comes out from 
| the built-in speakers, but nothing comes out from the usb speakers.
| 
| Any ideas on how to solve this?
| 
| P.S I'm using current, see dmesg and output of mixerctl -v below.

The USB audio device is attached at audio1. You'll have to use that
device to get output. cd into /dev and run MAKEDEV audio1. You can
(optionally) change the symlink that is /dev/audio to point to the
newly created /dev/audio1 (and do the same for mixer and audioctl).
Alternatively, many programs support specifying the audio device on
the commandline. Point those at /dev/audio1.

Another option would be to change your kernel (config -ef /bsd) and
disable azalia. Your regular audio device will not attach and the USB
audio device will become audio0.

All options have their own advantages and downsides. You'll have to
decide what you want to do.

Cheers,

Paul 'WEiRD' de Weerd

-- 
[++-]+++.+++[---].+++[+
+++-].++[-]+.--.[-]
 http://www.weirdnet.nl/ 



Re: sound from usb speakers (Logitech v20) - howto?

2009-07-20 Thread Thomas Pfaff
On Mon, 20 Jul 2009 13:38:25 +0200
Didier Wiroth dwir...@gmail.com wrote:
 
 Any ideas on how to solve this?
 

Use the correct device file.  /dev/audio is probably a link to
your azalia device.



Re: sound from usb speakers (Logitech v20) - howto?

2009-07-20 Thread Didier Wiroth
On Monday 20 July 2009 13:51:33 Paul de Weerd wrote:
 On Mon, Jul 20, 2009 at 01:38:25PM +0200, Didier Wiroth wrote:
 | Hello,
 |
 | I've recently purchased a couple of logitech v20 USB speakers to use
 | with my laptop, but I'm not able to get any sound out of it. The sound
 | comes out from the built-in speakers, but nothing comes out from the usb
 | speakers.
 |
 | Any ideas on how to solve this?
 |
 | P.S I'm using current, see dmesg and output of mixerctl -v below.

 The USB audio device is attached at audio1. You'll have to use that
 device to get output. cd into /dev and run MAKEDEV audio1. You can
 (optionally) change the symlink that is /dev/audio to point to the
 newly created /dev/audio1 (and do the same for mixer and audioctl).
 Alternatively, many programs support specifying the audio device on
 the commandline. Point those at /dev/audio1.

 Another option would be to change your kernel (config -ef /bsd) and
 disable azalia. Your regular audio device will not attach and the USB
 audio device will become audio0.

 All options have their own advantages and downsides. You'll have to
 decide what you want to do.

 Cheers,

 Paul 'WEiRD' de Weerd

Very cool! :-) 
Thanks, yes now it works.
Didier



Re: sound from usb speakers (Logitech v20) - howto?

2009-07-20 Thread Jacob Meuser
On Mon, Jul 20, 2009 at 01:51:33PM +0200, Paul de Weerd wrote:
 On Mon, Jul 20, 2009 at 01:38:25PM +0200, Didier Wiroth wrote:
 | Hello,
 | 
 | I've recently purchased a couple of logitech v20 USB speakers to use with 
 my 
 | laptop, but I'm not able to get any sound out of it. The sound comes out 
 from 
 | the built-in speakers, but nothing comes out from the usb speakers.
 | 
 | Any ideas on how to solve this?
 | 
 | P.S I'm using current, see dmesg and output of mixerctl -v below.
 
 The USB audio device is attached at audio1. You'll have to use that
 device to get output. cd into /dev and run MAKEDEV audio1.

there are 3 audio devices by default since 4.5.

 You can
 (optionally) change the symlink that is /dev/audio to point to the
 newly created /dev/audio1 (and do the same for mixer and audioctl).
 Alternatively, many programs support specifying the audio device on
 the commandline. Point those at /dev/audio1.

note that each device has 3 nodes: audio, audioctl, and mixer.  if
you change the symlink for one node, you should change the others too.

 Another option would be to change your kernel (config -ef /bsd) and
 disable azalia. Your regular audio device will not attach and the USB
 audio device will become audio0.
 
 All options have their own advantages and downsides. You'll have to
 decide what you want to do.
 
 Cheers,
 
 Paul 'WEiRD' de Weerd
 
 -- 
 [++-]+++.+++[---].+++[+
 +++-].++[-]+.--.[-]
  http://www.weirdnet.nl/ 
 

-- 
jake...@sdf.lonestar.org
SDF Public Access UNIX System - http://sdf.lonestar.org



Re: sound from usb speakers (Logitech v20) - howto?

2009-07-20 Thread Jacob Meuser
On Mon, Jul 20, 2009 at 05:07:46PM +, Jacob Meuser wrote:
 On Mon, Jul 20, 2009 at 01:51:33PM +0200, Paul de Weerd wrote:
  On Mon, Jul 20, 2009 at 01:38:25PM +0200, Didier Wiroth wrote:
  | Hello,
  | 
  | I've recently purchased a couple of logitech v20 USB speakers to use 
  with my 
  | laptop, but I'm not able to get any sound out of it. The sound comes out 
  from 
  | the built-in speakers, but nothing comes out from the usb speakers.
  | 
  | Any ideas on how to solve this?
  | 
  | P.S I'm using current, see dmesg and output of mixerctl -v below.
  
  The USB audio device is attached at audio1. You'll have to use that
  device to get output. cd into /dev and run MAKEDEV audio1.
 
 there are 3 audio devices by default since 4.5.
 
  You can
  (optionally) change the symlink that is /dev/audio to point to the
  newly created /dev/audio1 (and do the same for mixer and audioctl).
  Alternatively, many programs support specifying the audio device on
  the commandline. Point those at /dev/audio1.
 
 note that each device has 3 nodes: audio, audioctl, and mixer.  if
 you change the symlink for one node, you should change the others too.

meh.  I always forget 'sound'.  there are actually 4 nodes per device:
audio, audioctl, mixer, sound.

-- 
jake...@sdf.lonestar.org
SDF Public Access UNIX System - http://sdf.lonestar.org