Re: Using a C310 Logitech webcam mic with internal speakers

2020-04-23 Thread Alexandre Ratchov
On Thu, Apr 23, 2020 at 10:01:52AM -0400, Jon Fineman wrote:
> On 2020-04-23 08:40, Alexandre Ratchov wrote:
> > On Wed, Apr 22, 2020 at 02:17:35PM +, Jon Fineman wrote:
> > > 
> > > Is there a way to set the mic to one channel and the speakers to
> > > another? Or merge the speakers from channel rsnd/0 and rsnd/1
> > > together and have them output on rsnd/0?
> > 
> > Sorry, two devices can't be combined into a single one on OpenBSD.
> > 
> 
> What started me down this path was that I can't get chromium or firefox to
> recognize the webcam if it is using rsnd/1. Changing it to rsnd/0 allowed
> the browsers to see it.
> 
> Am I doing something wrong with configuring things? I am on 6.7
> GENERIC.MP#128 amd64.
> 
> If the browser recognizes the webcam on rsnd/1 I could then get a combo
> headphone and mic and plug that into rsnd/0, assuming the browser will
> recognize the audio on rsnd/0.
> 

The c310 has two devices inside a webcam and a usb microphone.

The webcam is a video(4) device and can be used for video capture no
matter if the microphone is used or not. For video(4) devices to work,
/dev/video0 permissions need to be adjusted.

Currently browsers need a full-duplex audio device for telephony
web-sites, so the webcam microphone won't work for them, sorry.

Note that the "rsnd/N" you're refering to were disabled to regular
users recently, but that's not related your problem.



Re: Using a C310 Logitech webcam mic with internal speakers

2020-04-23 Thread Jon Fineman

On 2020-04-23 08:40, Alexandre Ratchov wrote:

On Wed, Apr 22, 2020 at 02:17:35PM +, Jon Fineman wrote:


Is there a way to set the mic to one channel and the speakers to
another? Or merge the speakers from channel rsnd/0 and rsnd/1
together and have them output on rsnd/0?


Sorry, two devices can't be combined into a single one on OpenBSD.



What started me down this path was that I can't get chromium or firefox 
to recognize the webcam if it is using rsnd/1. Changing it to rsnd/0 
allowed the browsers to see it.


Am I doing something wrong with configuring things? I am on 6.7 
GENERIC.MP#128 amd64.


If the browser recognizes the webcam on rsnd/1 I could then get a combo 
headphone and mic and plug that into rsnd/0, assuming the browser will 
recognize the audio on rsnd/0.




Re: Using a C310 Logitech webcam mic with internal speakers

2020-04-23 Thread Alexandre Ratchov
On Wed, Apr 22, 2020 at 02:17:35PM +, Jon Fineman wrote:
>
> Is there a way to set the mic to one channel and the speakers to
> another? Or merge the speakers from channel rsnd/0 and rsnd/1
> together and have them output on rsnd/0?

Sorry, two devices can't be combined into a single one on OpenBSD.



Using a C310 Logitech webcam mic with internal speakers

2020-04-22 Thread Jon Fineman
I would like to use my webcam and its built in mic with my headphones plugged 
into the internal audio of my NUC. I don't have a combo headphones + mic.

The C310 mic is on rsnd/1. When I change the default to this my speakers on 
rsnd/0 don't work as they get set to the C310, which doesn't have any speakers.

Is there a way to set the mic to one channel and the speakers to another? Or 
merge the speakers from channel rsnd/0 and rsnd/1 together and have them output 
on rsnd/0?

Thanks.

The DMESG snipit:
uhub1 at uhub0 port 3 configuration 1 interface 0 "VIA Labs, Inc. USB2.0 Hub" 
rev 2.10/b.e0 addr 2
uvideo0 at uhub1 port 1 configuration 1 interface 0 "Logitech Webcam C310" rev 
2.00/0.12 addr 3
video0 at uvideo0

uaudio0 at uhub1 port 1 configuration 1 interface 3 "Logitech Webcam C310" rev 
2.00/0.12 addr 3
uaudio0: class v1, high-speed, sync, channels: 0 play, 1 rec, 2 ctls
audio1 at uaudio0

"Intel 100 Series PMC" rev 0x21 at pci0 dev 31 function 2 not configured
azalia0 at pci0 dev 31 function 3 "Intel 100 Series HD Audio" rev 0x21: msi
azalia0: codecs: Realtek/0x0283, Intel/0x2809, using Realtek/0x0283
audio0 at azalia0



webcam/mic

2012-04-11 Thread Bryan Irvine
This might be dumb question, but I haven't found the answer anywhere
else yet.  I have a lemote 8089b and I'm trying to figure out what
software I'd use in order to use the webcam/microphone.  I'm not
trying to solve any particular problem other than my own curiosity of
how I'd record/ take pictures (video chat would be cool too but is
only a bonus).

Here's my dmesg:

OpenBSD 5.0 (GENERIC) #26: Wed Aug 17 10:41:08 MDT 2011
x...@xxx.xxx:/usr/src/sys/arch/loongson/compile/GENERIC
real mem = 1073741824 (1024MB)
avail mem = 1059209216 (1010MB)
mainbus0 at root: Lemote Yeeloong
cpu0 at mainbus0: STC Loongson2F CPU 797 MHz, STC Loongson2F FPU
cpu0: cache L1-I 64KB D 64KB 4 way, L2 512KB 4 way
bonito0 at mainbus0: memory and PCI-X controller, rev 1
pci0 at bonito0 bus 0
rl0 at pci0 dev 7 function 0 Realtek 8139 rev 0x10: irq 5, address
xx:xx:xx:xx:
rlphy0 at rl0 phy 0: RTL internal PHY
smfb0 at pci0 dev 8 function 0 Silicon Motion LynxEM+ rev 0xb0
wsdisplay0 at smfb0 mux 1: console (std, vt100 emulation)
ohci0 at pci0 dev 9 function 0 NEC USB rev 0x44: irq 7, version 1.0
ehci0 at pci0 dev 9 function 1 NEC USB rev 0x05: irq 7
usb0 at ehci0: USB revision 2.0
uhub0 at usb0 NEC EHCI root hub rev 2.00/1.00 addr 1
glxpcib0 at pci0 dev 14 function 0 AMD CS5536 ISA rev 0x03: rev 3,
32-bit 3579545Hz timer, watchdog, gpio
gpio1 at glxpcib0: 32 pins
pciide0 at pci0 dev 14 function 2 AMD CS5536 IDE rev 0x01: DMA,
channel 0 wired to compatibility, channel 1 wired to compatibility
wd0 at pciide0 channel 0 drive 0: FUJITSU MHZ2160BH G2
wd0: 16-sector PIO, LBA48, 152627MB, 312581808 sectors
wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 2
pciide0: channel 1 ignored (disabled)
auglx0 at pci0 dev 14 function 3 AMD CS5536 Audio rev 0x01: isa irq 9,
CS5536 AC97
ac97: codec id 0x414c4760 (Avance Logic ALC655 rev 0)
audio0 at auglx0
ohci1 at pci0 dev 14 function 4 AMD CS5536 USB rev 0x02: isa irq 11,
version 1.0, legacy support
ehci1 at pci0 dev 14 function 5 AMD CS5536 USB rev 0x02: isa irq 11
usb1 at ehci1: USB revision 2.0
uhub1 at usb1 AMD EHCI root hub rev 2.00/1.00 addr 1
usb2 at ohci0: USB revision 1.0
uhub2 at usb2 NEC OHCI root hub rev 1.00/1.00 addr 1
isa0 at glxpcib0
pckbc0 at isa0 port 0x60/5
pckbd0 at pckbc0 (kbd slot)
pckbc0: using irq 1 for kbd slot
wskbd0 at pckbd0: console keyboard, using wsdisplay0
pms0 at pckbc0 (aux slot)
pckbc0: using irq 12 for aux slot
wsmouse0 at pms0 mux 0
mcclock0 at isa0 port 0x70/2: mc146818 or compatible
ykbec0 at isa0 port 0x381/3
usb3 at ohci1: USB revision 1.0
uhub3 at usb3 AMD OHCI root hub rev 1.00/1.00 addr 1
clock0 at mainbus0: ticker on int5 using count register
apm0 at mainbus0
umass0 at uhub1 port 1 configuration 1 interface 0 Generic USB2.0-CRW
rev 2.00/58.87 addr 2
umass0: using SCSI over Bulk-Only
scsibus0 at umass0: 2 targets, initiator 0
sd0 at scsibus0 targ 1 lun 0: Generic-, Multi-Card, 1.00 SCSI0
0/direct removable serial.0bda015811417340
urtw0 at uhub1 port 4 Realtek RTL8187B rev 2.00/2.00 addr 3
urtw0: RTL8187B rev E, address xx:xx:xx:xx:
vscsi0 at root
scsibus1 at vscsi0: 256 targets
softraid0 at root
scsibus2 at softraid0: 256 targets
pmon bootpath: /dev/disk/wd0
boot device: wd0
root on wd0a swap on wd0b dump on wd0b
WARNING: / was not properly unmounted
ehci_idone: ex=0xc0088200 is done!
ehci_idone: ex=0xc0088200 is done!
apm0: battery high
urtw1 at uhub1 port 2 Realtek RTL8187 rev 2.00/1.00 addr 4
urtw1: RTL8187 rev 0x04, RFv2, address xx:xx:xx:xx:



Re: webcam/mic

2012-04-11 Thread Miod Vallat
 This might be dumb question, but I haven't found the answer anywhere
 else yet.  I have a lemote 8089b and I'm trying to figure out what
 software I'd use in order to use the webcam/microphone.  I'm not
 trying to solve any particular problem other than my own curiosity of
 how I'd record/ take pictures (video chat would be cool too but is
 only a bonus).

The webcam doesn't show up in dmesg on the 8101 and the late 8089
models. I've been trying to fiddle with the registers that supposedly
enable it, with no reproduceable results, and eventually gave up.

If you're lucky, the webcam enable key combination (should be something
like Fn-F2) will make it appear and attach as an uvideo device. But I
wouldn't hold my breath on this.

Miod



Re: webcam/mic

2012-04-11 Thread Bryan Irvine
On Wednesday, April 11, 2012, Miod Vallat wrote:

  This might be dumb question, but I haven't found the answer anywhere
  else yet.  I have a lemote 8089b and I'm trying to figure out what
  software I'd use in order to use the webcam/microphone.  I'm not
  trying to solve any particular problem other than my own curiosity of
  how I'd record/ take pictures (video chat would be cool too but is
  only a bonus).

 The webcam doesn't show up in dmesg on the 8101 and the late 8089
 models. I've been trying to fiddle with the registers that supposedly
 enable it, with no reproduceable results, and eventually gave up.

 If you're lucky, the webcam enable key combination (should be something
 like Fn-F2) will make it appear and attach as an uvideo device. But I
 wouldn't hold my breath on this.

 Miod


I tried both with and without holding my breath with no luck.