Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #184803 > unrolled thread

Help with USB audio card

Started byRodolfo Medina <rodolfo.medina@gmail.com>
First post2017-08-07 14:20 +0200
Last post2017-08-14 22:50 +0200
Articles 20 on this page of 33 — 7 participants

Back to article view | Back to linux.debian.user


Contents

  Help with USB audio card Rodolfo Medina <rodolfo.medina@gmail.com> - 2017-08-07 14:20 +0200
    Re: Help with USB audio card Jeremy Nicoll <jn.ml.dbn.25@letterboxes.org> - 2017-08-07 18:10 +0200
      Re: Help with USB audio card Rodolfo Medina <rodolfo.medina@gmail.com> - 2017-08-07 18:30 +0200
    Re: Help with USB audio card David Christensen <dpchrist@holgerdanske.com> - 2017-08-08 02:30 +0200
      Re: Help with USB audio card Rodolfo Medina <rodolfo.medina@gmail.com> - 2017-08-08 09:40 +0200
        Re: Help with USB audio card David Wright <deblis@lionunicorn.co.uk> - 2017-08-08 15:50 +0200
          Re: Help with USB audio card Rodolfo Medina <rodolfo.medina@gmail.com> - 2017-08-08 17:00 +0200
        Re: Help with USB audio card David Christensen <dpchrist@holgerdanske.com> - 2017-08-09 06:10 +0200
          Re: Help with USB audio card Rodolfo Medina <rodolfo.medina@gmail.com> - 2017-08-09 08:40 +0200
            Re: Help with USB audio card Curt <curty@free.fr> - 2017-08-09 11:10 +0200
              Re: Help with USB audio card Rodolfo Medina <rodolfo.medina@gmail.com> - 2017-08-09 14:10 +0200
                Re: Help with USB audio card Curt <curty@free.fr> - 2017-08-09 14:50 +0200
    Re: Help with USB audio card deloptes <deloptes@gmail.com> - 2017-08-08 19:20 +0200
      Re: Help with USB audio card Rodolfo Medina <rodolfo.medina@gmail.com> - 2017-08-08 20:10 +0200
        Re: Help with USB audio card deloptes <deloptes@gmail.com> - 2017-08-09 00:10 +0200
          Re: Help with USB audio card Rodolfo Medina <rodolfo.medina@gmail.com> - 2017-08-09 01:50 +0200
            Re: Help with USB audio card deloptes <deloptes@gmail.com> - 2017-08-09 20:30 +0200
              Re: Help with USB audio card Rodolfo Medina <rodolfo.medina@gmail.com> - 2017-08-09 22:50 +0200
    Re: Help with USB audio card Curt <curty@free.fr> - 2017-08-10 13:20 +0200
      Re: Help with USB audio card Rodolfo Medina <rodolfo.medina@gmail.com> - 2017-08-10 15:10 +0200
        Re: Help with USB audio card Curt <curty@free.fr> - 2017-08-10 17:10 +0200
          Re: Help with USB audio card Rodolfo Medina <rodolfo.medina@gmail.com> - 2017-08-10 17:20 +0200
            Re: Help with USB audio card Curt <curty@free.fr> - 2017-08-10 18:10 +0200
              Re: Help with USB audio card Rodolfo Medina <rodolfo.medina@gmail.com> - 2017-08-10 20:30 +0200
                Re: Help with USB audio card Curt <curty@free.fr> - 2017-08-10 20:40 +0200
                  Re: Help with USB audio card Rodolfo Medina <rodolfo.medina@gmail.com> - 2017-08-10 21:10 +0200
        Re: Help with USB audio card Ric Moore <wayward4now@gmail.com> - 2017-08-11 19:00 +0200
        Re: Help with USB audio card Rodolfo Medina <rodolfo.medina@gmail.com> - 2017-08-11 22:40 +0200
          Re: Help with USB audio card Curt <curty@free.fr> - 2017-08-12 14:50 +0200
            Re: Help with USB audio card Rodolfo Medina <rodolfo.medina@gmail.com> - 2017-08-12 22:00 +0200
              Re: Help with USB audio card Rodolfo Medina <rodolfo.medina@gmail.com> - 2017-08-14 09:00 +0200
                Re: Help with USB audio card Curt <curty@free.fr> - 2017-08-14 11:10 +0200
                  Re: Help with USB audio card Rodolfo Medina <rodolfo.medina@gmail.com> - 2017-08-14 22:50 +0200

Page 1 of 2  [1] 2  Next page →


#184803 — Help with USB audio card

FromRodolfo Medina <rodolfo.medina@gmail.com>
Date2017-08-07 14:20 +0200
SubjectHelp with USB audio card
Message-ID<ubPaO-83T-11@gated-at.bofh.it>
Hi all.

I just bought an external USB audio card.  I plugged it into the USB port of my
PC and plugged a 3.5mm jack microphone into the `mic' input of the card.  It is
shown in lsusb:

$ lsusb
Bus 002 Device 005: ID 17ef:602e Lenovo 
Bus 002 Device 003: ID 046d:c312 Logitech, Inc. DeLuxe 250 Keyboard
Bus 002 Device 002: ID 0438:7900 Advanced Micro Devices, Inc. 
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 010: ID 0d8c:013c C-Media Electronics, Inc. CM108 Audio Controlle
Bus 001 Device 003: ID 0bda:0129 Realtek Semiconductor Corp. RTS5129 Card Reader
Bus 001 Device 002: ID 0438:7900 Advanced Micro Devices, Inc. 
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub


and also in arecord:

$ arecord --list-devices
**** List of CAPTURE Hardware Devices ****
card 1: Generic [HD-Audio Generic], device 0: ALC662 rev3 Analog [ALC662 rev3 Analog]
  Subdevices: 0/1
  Subdevice #0: subdevice #0
card 1: Generic [HD-Audio Generic], device 2: ALC662 rev3 Alt Analog [ALC662 rev3 Alt Analog]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 2: Device [USB PnP Sound Device], device 0: USB Audio [USB Audio]
  Subdevices: 1/1
  Subdevice #0: subdevice #0

Besides, I ran alsamixer, selected the USB card and unmuted everything.  But
then, when I try to record, no sound is recorded.  I do:

 $ sox -t alsa hw:2,0 output.wav

, or

 $ arecord -f S16_LE -D hw:2,0 -r 96000 test.wav

, or also within Audacity.  But nothing, my voice is not recorded.  Please help
whoever can.

Thanks,

Rodolfo

[toc] | [next] | [standalone]


#184820

FromJeremy Nicoll <jn.ml.dbn.25@letterboxes.org>
Date2017-08-07 18:10 +0200
Message-ID<ubSLo-2uu-27@gated-at.bofh.it>
In reply to#184803
On Mon, 7 Aug 2017, at 13:15, Rodolfo Medina wrote:
> Hi all.
> 
> I just bought an external USB audio card.  

Which one?  Where can we see a description of its capabilities?

-- 
Jeremy Nicoll - my opinions are my own.

[toc] | [prev] | [next] | [standalone]


#184825

FromRodolfo Medina <rodolfo.medina@gmail.com>
Date2017-08-07 18:30 +0200
Message-ID<ubT4J-2E7-1@gated-at.bofh.it>
In reply to#184820
Jeremy Nicoll <jn.ml.dbn.25@letterboxes.org> writes:

> On Mon, 7 Aug 2017, at 13:15, Rodolfo Medina wrote:
>> Hi all.
>> 
>> I just bought an external USB audio card.  
>
> Which one?  Where can we see a description of its capabilities?


Unfortunately I threw away the box, but it's just this:

 http://www.dx.com/p/usb-3d-sound-adapter-color-assorted-5831#.WYiR0q2dK00

I had it tested with MS Windows and works fine.  Under Linux, as I wrote, it is
detected by arecord and lsusb, and also by Audacity, and also by alsamixer, but
does not produce nor record any sound.

What do you suggest...?

Thanks,

Rodolfo

[toc] | [prev] | [next] | [standalone]


#184864

FromDavid Christensen <dpchrist@holgerdanske.com>
Date2017-08-08 02:30 +0200
Message-ID<uc0zf-80d-1@gated-at.bofh.it>
In reply to#184803
On 08/07/17 05:15, Rodolfo Medina wrote:
> Hi all.
>
> I just bought an external USB audio card.  I plugged it into the USB port of my
> PC and plugged a 3.5mm jack microphone into the `mic' input of the card.  It is
> shown in lsusb:
>
> $ lsusb
> Bus 002 Device 005: ID 17ef:602e Lenovo
> Bus 002 Device 003: ID 046d:c312 Logitech, Inc. DeLuxe 250 Keyboard
> Bus 002 Device 002: ID 0438:7900 Advanced Micro Devices, Inc.
> Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
> Bus 001 Device 010: ID 0d8c:013c C-Media Electronics, Inc. CM108 Audio Controlle
> Bus 001 Device 003: ID 0bda:0129 Realtek Semiconductor Corp. RTS5129 Card Reader
> Bus 001 Device 002: ID 0438:7900 Advanced Micro Devices, Inc.
> Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
> Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
> Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
>
>
> and also in arecord:
>
> $ arecord --list-devices
> **** List of CAPTURE Hardware Devices ****
> card 1: Generic [HD-Audio Generic], device 0: ALC662 rev3 Analog [ALC662 rev3 Analog]
>   Subdevices: 0/1
>   Subdevice #0: subdevice #0
> card 1: Generic [HD-Audio Generic], device 2: ALC662 rev3 Alt Analog [ALC662 rev3 Alt Analog]
>   Subdevices: 1/1
>   Subdevice #0: subdevice #0
> card 2: Device [USB PnP Sound Device], device 0: USB Audio [USB Audio]
>   Subdevices: 1/1
>   Subdevice #0: subdevice #0
>
> Besides, I ran alsamixer, selected the USB card and unmuted everything.  But
> then, when I try to record, no sound is recorded.  I do:
>
>  $ sox -t alsa hw:2,0 output.wav
>
> , or
>
>  $ arecord -f S16_LE -D hw:2,0 -r 96000 test.wav
>
> , or also within Audacity.  But nothing, my voice is not recorded.  Please help
> whoever can.

STFW I found some information that might be useful.


Here is the chip makers web site:

https://www.cmedia.com.tw/EN/index.html


It looks like two versions of the chip are currently made:

https://www.cmedia.com.tw/products/USB20_FULL_SPEED/CM108AH

https://www.cmedia.com.tw/products/USB20_FULL_SPEED/CM108B


This link indicates that some version of the chip worked on some Linux 
machines at some point in time:

https://linux-hardware.org/index.php?id=usb:0d8c-013c


More links:

http://www.linux-usb.org/USB-guide/x319.html

https://linux-hardware.org/index.php?id=usb:0d8c-013c


There are several links for people with Raspberry Pi boards running 
Raspian.  They made changes to their ALSA configuration to use a CM108 
USB audio interface.  I don't know if those instructions apply to Debian.


Please run the following commands, and cut and past the commands and 
their outputs into a reply:

cat /etc/debian_version

uname -a

dmesg | grep -i cm108 -A 10 -B 10


David

[toc] | [prev] | [next] | [standalone]


#184872

FromRodolfo Medina <rodolfo.medina@gmail.com>
Date2017-08-08 09:40 +0200
Message-ID<uc7ho-4KD-31@gated-at.bofh.it>
In reply to#184864
David Christensen <dpchrist@holgerdanske.com> writes:

> On 08/07/17 05:15, Rodolfo Medina wrote:
>> Hi all.
>>
>> I just bought an external USB audio card.  I plugged it into the USB port of
>> my PC and plugged a 3.5mm jack microphone into the `mic' input of the card.
>> It is shown in lsusb:
>>
>> $ lsusb
>> Bus 002 Device 005: ID 17ef:602e Lenovo
>> Bus 002 Device 003: ID 046d:c312 Logitech, Inc. DeLuxe 250 Keyboard
>> Bus 002 Device 002: ID 0438:7900 Advanced Micro Devices, Inc.
>> Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
>> Bus 001 Device 010: ID 0d8c:013c C-Media Electronics, Inc. CM108 Audio Controlle
>> Bus 001 Device 003: ID 0bda:0129 Realtek Semiconductor Corp. RTS5129 Card Reader
>> Bus 001 Device 002: ID 0438:7900 Advanced Micro Devices, Inc.
>> Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
>> Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
>> Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
>>
>>
>> and also in arecord:
>>
>> $ arecord --list-devices
>> **** List of CAPTURE Hardware Devices ****
>> card 1: Generic [HD-Audio Generic], device 0: ALC662 rev3 Analog [ALC662 rev3 Analog]
>>   Subdevices: 0/1
>>   Subdevice #0: subdevice #0
>> card 1: Generic [HD-Audio Generic], device 2: ALC662 rev3 Alt Analog [ALC662 rev3 Alt Analog]
>>   Subdevices: 1/1
>>   Subdevice #0: subdevice #0
>> card 2: Device [USB PnP Sound Device], device 0: USB Audio [USB Audio]
>>   Subdevices: 1/1
>>   Subdevice #0: subdevice #0
>>
>> Besides, I ran alsamixer, selected the USB card and unmuted everything.  But
>> then, when I try to record, no sound is recorded.  I do:
>>
>>  $ sox -t alsa hw:2,0 output.wav
>>
>> , or
>>
>>  $ arecord -f S16_LE -D hw:2,0 -r 96000 test.wav
>>
>> , or also within Audacity.  But nothing, my voice is not recorded.  Please
>> help whoever can.
>
> STFW I found some information that might be useful.
>
>
> Here is the chip makers web site:
>
> https://www.cmedia.com.tw/EN/index.html
>
>
> It looks like two versions of the chip are currently made:
>
> https://www.cmedia.com.tw/products/USB20_FULL_SPEED/CM108AH
>
> https://www.cmedia.com.tw/products/USB20_FULL_SPEED/CM108B
>
>
> This link indicates that some version of the chip worked on some Linux machines
> at some point in time:
>
> https://linux-hardware.org/index.php?id=usb:0d8c-013c
>
>
> More links:
>
> http://www.linux-usb.org/USB-guide/x319.html
>
> https://linux-hardware.org/index.php?id=usb:0d8c-013c
>
>
> There are several links for people with Raspberry Pi boards running Raspian.
> They made changes to their ALSA configuration to use a CM108 USB audio
> interface.  I don't know if those instructions apply to Debian.
>
>
> Please run the following commands, and cut and past the commands and their
> outputs into a reply:
>
> cat /etc/debian_version
>
> uname -a
>
> dmesg | grep -i cm108 -A 10 -B 10


Thanks...

$ cat /etc/debian_version
buster/sid

$ uname -a
Linux lenovo 4.9.0-3-amd64 #1 SMP Debian 4.9.30-2 (2017-06-12) x86_64 GNU/Linux

`dmesg | grep -i cm108 -A 10 -B 10' produced no output at all...



Cheers,
Rodolfo

[toc] | [prev] | [next] | [standalone]


#184893

FromDavid Wright <deblis@lionunicorn.co.uk>
Date2017-08-08 15:50 +0200
Message-ID<ucd3r-De-3@gated-at.bofh.it>
In reply to#184872
On Tue 08 Aug 2017 at 09:38:40 (+0200), Rodolfo Medina wrote:
> David Christensen <dpchrist@holgerdanske.com> writes:
> 
> > On 08/07/17 05:15, Rodolfo Medina wrote:
> >> Hi all.
> >>
> >> I just bought an external USB audio card.  I plugged it into the USB port of
> >> my PC and plugged a 3.5mm jack microphone into the `mic' input of the card.
> >> It is shown in lsusb:
> >>
> >> $ lsusb
> >> Bus 002 Device 005: ID 17ef:602e Lenovo
> >> Bus 002 Device 003: ID 046d:c312 Logitech, Inc. DeLuxe 250 Keyboard
> >> Bus 002 Device 002: ID 0438:7900 Advanced Micro Devices, Inc.
> >> Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
> >> Bus 001 Device 010: ID 0d8c:013c C-Media Electronics, Inc. CM108 Audio Controlle

                                 ↑↑↑↑
> > Please run the following commands, and cut and past the commands and their
> > outputs into a reply:
> >
> > cat /etc/debian_version
> >
> > uname -a
> >
> > dmesg | grep -i cm108 -A 10 -B 10
> 
> 
> Thanks...
> 
> $ cat /etc/debian_version
> buster/sid
> 
> $ uname -a
> Linux lenovo 4.9.0-3-amd64 #1 SMP Debian 4.9.30-2 (2017-06-12) x86_64 GNU/Linux
> 
> `dmesg | grep -i cm108 -A 10 -B 10' produced no output at all...

Assuming dmesg is producing any output (some systems may require
root), try the address above instead (keeping the -i).

dmesg | grep -i 013c -A 10 -B 10

Cheers,
David.

[toc] | [prev] | [next] | [standalone]


#184897

FromRodolfo Medina <rodolfo.medina@gmail.com>
Date2017-08-08 17:00 +0200
Message-ID<uce9c-1st-21@gated-at.bofh.it>
In reply to#184893
David Wright <deblis@lionunicorn.co.uk> writes:

> On Tue 08 Aug 2017 at 09:38:40 (+0200), Rodolfo Medina wrote:
>> David Christensen <dpchrist@holgerdanske.com> writes:
>> 
>> > On 08/07/17 05:15, Rodolfo Medina wrote:
>> >> Hi all.
>> >>
>> >> I just bought an external USB audio card.  I plugged it into the USB port
>> >> of my PC and plugged a 3.5mm jack microphone into the `mic' input of the
>> >> card.  It is shown in lsusb:
>> >>
>> >> $ lsusb
>> >> Bus 002 Device 005: ID 17ef:602e Lenovo
>> >> Bus 002 Device 003: ID 046d:c312 Logitech, Inc. DeLuxe 250 Keyboard
>> >> Bus 002 Device 002: ID 0438:7900 Advanced Micro Devices, Inc.
>> >> Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
>> >> Bus 001 Device 010: ID 0d8c:013c C-Media Electronics, Inc. CM108 Audio
>> >> Controlle
>
>                                  ↑↑↑↑
>> > Please run the following commands, and cut and past the commands and their
>> > outputs into a reply:
>> >
>> > cat /etc/debian_version
>> >
>> > uname -a
>> >
>> > dmesg | grep -i cm108 -A 10 -B 10
>> 
>> 
>> Thanks...
>> 
>> $ cat /etc/debian_version
>> buster/sid
>> 
>> $ uname -a
>> Linux lenovo 4.9.0-3-amd64 #1 SMP Debian 4.9.30-2 (2017-06-12) x86_64
>> GNU/Linux
>> 
>> `dmesg | grep -i cm108 -A 10 -B 10' produced no output at all...
>
> Assuming dmesg is producing any output (some systems may require
> root), try the address above instead (keeping the -i).
>
> dmesg | grep -i 013c -A 10 -B 10



# dmesg | grep -i 013c -A 10 -B 10
[   68.109662] hid-generic 0003:17EF:602E.0003: input,hidraw1: USB HID v1.11 Mouse [PixArt USB Optical Mouse] on usb-0000:00:13.0-1.4/input0
[  124.794483] usb 2-1.4: USB disconnect, device number 5
[  126.295343] usb 2-1.4: new low-speed USB device number 6 using ehci-pci
[  126.407744] usb 2-1.4: New USB device found, idVendor=17ef, idProduct=602e
[  126.407751] usb 2-1.4: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[  126.407755] usb 2-1.4: Product: USB Optical Mouse
[  126.407759] usb 2-1.4: Manufacturer: PixArt
[  126.410985] input: PixArt USB Optical Mouse as /devices/pci0000:00/0000:00:13.0/usb2/2-1/2-1.4/2-1.4:1.0/0003:17EF:602E.0004/input/input15
[  126.468103] hid-generic 0003:17EF:602E.0004: input,hidraw1: USB HID v1.11 Mouse [PixArt USB Optical Mouse] on usb-0000:00:13.0-1.4/input0
[12578.608934] usb 1-1.3: new full-speed USB device number 4 using ehci-pci
[12578.718654] usb 1-1.3: New USB device found, idVendor=0d8c, idProduct=013c
[12578.718660] usb 1-1.3: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[12578.718664] usb 1-1.3: Product: USB PnP Sound Device
[12578.718668] usb 1-1.3: Manufacturer: C-Media Electronics Inc.      
[12578.723544] input: C-Media Electronics Inc.       USB PnP Sound Device as /devices/pci0000:00/0000:00:12.0/usb1/1-1/1-1.3/1-1.3:1.3/0003:0D8C:013C.0005/input/input16
[12578.781249] hid-generic 0003:0D8C:013C.0005: input,hidraw2: USB HID v1.00 Device [C-Media Electronics Inc.       USB PnP Sound Device] on usb-0000:00:12.0-1.3/input3
[12578.875986] usbcore: registered new interface driver snd-usb-audio


Thanks,
cheers
Rodolfo

[toc] | [prev] | [next] | [standalone]


#184917

FromDavid Christensen <dpchrist@holgerdanske.com>
Date2017-08-09 06:10 +0200
Message-ID<ucqtH-1Fl-3@gated-at.bofh.it>
In reply to#184872
On 08/08/17 00:38, Rodolfo Medina wrote:
> 
> $ cat /etc/debian_version
> buster/sid

Have you tried the USB audio interface with the stable version of Debian?


> $ uname -a
> Linux lenovo 4.9.0-3-amd64 #1 SMP Debian 4.9.30-2 (2017-06-12) x86_64 GNU/Linux

Okay.


> `dmesg | grep -i cm108 -A 10 -B 10' produced no output at all...

Try running the command after you plug in the USB audio interface.


David

[toc] | [prev] | [next] | [standalone]


#184921

FromRodolfo Medina <rodolfo.medina@gmail.com>
Date2017-08-09 08:40 +0200
Message-ID<ucsOR-3oC-3@gated-at.bofh.it>
In reply to#184917
David Christensen <dpchrist@holgerdanske.com> writes:

> On 08/08/17 00:38, Rodolfo Medina wrote:
>>
>> $ cat /etc/debian_version
>> buster/sid
>
> Have you tried the USB audio interface with the stable version of Debian?
>
>
>> $ uname -a
>> Linux lenovo 4.9.0-3-amd64 #1 SMP Debian 4.9.30-2 (2017-06-12) x86_64
>> GNU/Linux
>
> Okay.
>
>
>> `dmesg | grep -i cm108 -A 10 -B 10' produced no output at all...
>
> Try running the command after you plug in the USB audio interface.


I had done so...  no output.

Thanks
Rodolfo

[toc] | [prev] | [next] | [standalone]


#184926

FromCurt <curty@free.fr>
Date2017-08-09 11:10 +0200
Message-ID<ucva2-4Y5-11@gated-at.bofh.it>
In reply to#184921
On 2017-08-09, Rodolfo Medina <rodolfo.medina@gmail.com> wrote:
>
> I had done so...  no output.

Have you tried opening up pavucontrol and selecting your usb audio
gadget as input device?

> Thanks
> Rodolfo
>
>


-- 
“Certitude is not the test of certainty.”
--Oliver Wendell Holmes, Jr.

[toc] | [prev] | [next] | [standalone]


#184929

FromRodolfo Medina <rodolfo.medina@gmail.com>
Date2017-08-09 14:10 +0200
Message-ID<ucxYf-6SW-27@gated-at.bofh.it>
In reply to#184926
Curt <curty@free.fr> writes:

> On 2017-08-09, Rodolfo Medina <rodolfo.medina@gmail.com> wrote:
>>
>> I had done so...  no output.
>
> Have you tried opening up pavucontrol and selecting your usb audio
> gadget as input device?


It is regularly listed within pavucontrol among all input devices...

Thanks,

Rodolfo

[toc] | [prev] | [next] | [standalone]


#184933

FromCurt <curty@free.fr>
Date2017-08-09 14:50 +0200
Message-ID<ucyAW-76E-23@gated-at.bofh.it>
In reply to#184929
On 2017-08-09, Rodolfo Medina <rodolfo.medina@gmail.com> wrote:
> Curt <curty@free.fr> writes:
>
>> On 2017-08-09, Rodolfo Medina <rodolfo.medina@gmail.com> wrote:
>>>
>>> I had done so...  no output.
>>
>> Have you tried opening up pavucontrol and selecting your usb audio
>> gadget as input device?
>
>
> It is regularly listed within pavucontrol among all input devices...

That's good and encouraging news. Wasn't the question I asked,
but you can't have everything.

My little mixer widget has a slider to adjust the input volume on the selected
device, as well as a gauge indicating the input level.

Testing, one, two, three.

>
> Rodolfo
>
>


-- 
“Certitude is not the test of certainty.”
--Oliver Wendell Holmes, Jr.

[toc] | [prev] | [next] | [standalone]


#184900

Fromdeloptes <deloptes@gmail.com>
Date2017-08-08 19:20 +0200
Message-ID<ucgkF-34x-9@gated-at.bofh.it>
In reply to#184803
Rodolfo Medina wrote:

> Hi all.
> 
> I just bought an external USB audio card.  I plugged it into the USB port
> of my
> PC and plugged a 3.5mm jack microphone into the `mic' input of the card. 
> It is shown in lsusb:
> 
> $ lsusb
> Bus 002 Device 005: ID 17ef:602e Lenovo
> Bus 002 Device 003: ID 046d:c312 Logitech, Inc. DeLuxe 250 Keyboard
> Bus 002 Device 002: ID 0438:7900 Advanced Micro Devices, Inc.
> Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
> Bus 001 Device 010: ID 0d8c:013c C-Media Electronics, Inc. CM108 Audio
> Controlle Bus 001 Device 003: ID 0bda:0129 Realtek Semiconductor Corp.
> RTS5129 Card Reader Bus 001 Device 002: ID 0438:7900 Advanced Micro
> Devices, Inc. Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root
> hub Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
> Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
> 
> 
> and also in arecord:
> 
> $ arecord --list-devices
> **** List of CAPTURE Hardware Devices ****
> card 1: Generic [HD-Audio Generic], device 0: ALC662 rev3 Analog [ALC662
> rev3 Analog]
>   Subdevices: 0/1
>   Subdevice #0: subdevice #0
> card 1: Generic [HD-Audio Generic], device 2: ALC662 rev3 Alt Analog
> [ALC662 rev3 Alt Analog]
>   Subdevices: 1/1
>   Subdevice #0: subdevice #0
> card 2: Device [USB PnP Sound Device], device 0: USB Audio [USB Audio]
>   Subdevices: 1/1
>   Subdevice #0: subdevice #0
> 
> Besides, I ran alsamixer, selected the USB card and unmuted everything. 
> But
> then, when I try to record, no sound is recorded.  I do:
> 
>  $ sox -t alsa hw:2,0 output.wav
> 
> , or
> 
>  $ arecord -f S16_LE -D hw:2,0 -r 96000 test.wav
> 
> , or also within Audacity.  But nothing, my voice is not recorded.  Please
> help whoever can.
> 
> Thanks,
> 
> Rodolfo


A short howto I wrote years ago

1) find out cards and inputs

shell> cat /proc/asound/cards
 0 [Intel          ]: HDA-Intel - HDA Intel
                      HDA Intel at 0xff950000 irq 22
 1 [HVR900         ]: USB-Audio - WinTV HVR-900
                      WinTV HVR-900 at usb-0000:00:1a.7-3, high speed
 2 [Webcam         ]: USB-Audio - Philips SPC 1000NC Webcam
                      Philips CE Philips SPC 1000NC Webcam at
usb-0000:00:1a.7-5.4, high speed

=> I'm going to use the Webcam built in mic => card # 2

2) find out the input

shell> cat /proc/asound/devices
  0: [ 0]   : control
  1:        : sequencer
  6: [ 0- 2]: hardware dependent
  7: [ 0- 3]: hardware dependent
 16: [ 0- 0]: digital audio playback
 17: [ 0- 1]: digital audio playback
 19: [ 0- 3]: digital audio playback
 24: [ 0- 0]: digital audio capture
 32: [ 1]   : control
 33:        : timer
 56: [ 1- 0]: digital audio capture
 64: [ 2]   : control
 88: [ 2- 0]: digital audio capture

=> my input is the capture on the second card

 88: [ 2- 0]: digital audio capture

3) so no we can test the mic

shell> arecord -c1 -Dplughw:2,0 -f cd -vv /dev/null


regards

[toc] | [prev] | [next] | [standalone]


#184903

FromRodolfo Medina <rodolfo.medina@gmail.com>
Date2017-08-08 20:10 +0200
Message-ID<uch73-3Ae-11@gated-at.bofh.it>
In reply to#184900
deloptes <deloptes@gmail.com> writes:

> Rodolfo Medina wrote:
>
>> I just bought an external USB audio card.  I plugged it into the USB port
>> of my
>> PC and plugged a 3.5mm jack microphone into the `mic' input of the card. 
>> It is shown in lsusb:
>> 
>> $ lsusb
>> Bus 002 Device 005: ID 17ef:602e Lenovo
>> Bus 002 Device 003: ID 046d:c312 Logitech, Inc. DeLuxe 250 Keyboard
>> Bus 002 Device 002: ID 0438:7900 Advanced Micro Devices, Inc.
>> Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
>> Bus 001 Device 010: ID 0d8c:013c C-Media Electronics, Inc. CM108 Audio
>> Controlle Bus 001 Device 003: ID 0bda:0129 Realtek Semiconductor Corp.
>> RTS5129 Card Reader Bus 001 Device 002: ID 0438:7900 Advanced Micro
>> Devices, Inc. Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root
>> hub Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
>> Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
>> 
>> 
>> and also in arecord:
>> 
>> $ arecord --list-devices
>> **** List of CAPTURE Hardware Devices ****
>> card 1: Generic [HD-Audio Generic], device 0: ALC662 rev3 Analog [ALC662
>> rev3 Analog]
>>   Subdevices: 0/1
>>   Subdevice #0: subdevice #0
>> card 1: Generic [HD-Audio Generic], device 2: ALC662 rev3 Alt Analog
>> [ALC662 rev3 Alt Analog]
>>   Subdevices: 1/1
>>   Subdevice #0: subdevice #0
>> card 2: Device [USB PnP Sound Device], device 0: USB Audio [USB Audio]
>>   Subdevices: 1/1
>>   Subdevice #0: subdevice #0
>> 
>> Besides, I ran alsamixer, selected the USB card and unmuted everything. 
>> But
>> then, when I try to record, no sound is recorded.  I do:
>> 
>>  $ sox -t alsa hw:2,0 output.wav
>> 
>> , or
>> 
>>  $ arecord -f S16_LE -D hw:2,0 -r 96000 test.wav
>> 
>> , or also within Audacity.  But nothing, my voice is not recorded.  Please
>> help whoever can.
>
>
> A short howto I wrote years ago
>
> 1) find out cards and inputs
>
> shell> cat /proc/asound/cards
>  0 [Intel          ]: HDA-Intel - HDA Intel
>                       HDA Intel at 0xff950000 irq 22
>  1 [HVR900         ]: USB-Audio - WinTV HVR-900
>                       WinTV HVR-900 at usb-0000:00:1a.7-3, high speed
>  2 [Webcam         ]: USB-Audio - Philips SPC 1000NC Webcam
>                       Philips CE Philips SPC 1000NC Webcam at
> usb-0000:00:1a.7-5.4, high speed
>
> => I'm going to use the Webcam built in mic => card # 2
>
> 2) find out the input
>
> shell> cat /proc/asound/devices
>   0: [ 0]   : control
>   1:        : sequencer
>   6: [ 0- 2]: hardware dependent
>   7: [ 0- 3]: hardware dependent
>  16: [ 0- 0]: digital audio playback
>  17: [ 0- 1]: digital audio playback
>  19: [ 0- 3]: digital audio playback
>  24: [ 0- 0]: digital audio capture
>  32: [ 1]   : control
>  33:        : timer
>  56: [ 1- 0]: digital audio capture
>  64: [ 2]   : control
>  88: [ 2- 0]: digital audio capture
>
> => my input is the capture on the second card
>
>  88: [ 2- 0]: digital audio capture
>
> 3) so no we can test the mic
>
> shell> arecord -c1 -Dplughw:2,0 -f cd -vv /dev/null



Here are my outputs:

$ cat /proc/asound/cards
 0 [HDMI           ]: HDA-Intel - HDA ATI HDMI
                      HDA ATI HDMI at 0xfea64000 irq 39
 1 [Generic        ]: HDA-Intel - HD-Audio Generic
                      HD-Audio Generic at 0xfea60000 irq 16
 2 [Device         ]: USB-Audio - USB PnP Sound Device
                      C-Media Electronics Inc. USB PnP Sound Device at usb-0000:00:12.0-1.3, full spe



$ cat /proc/asound/devices
  2: [ 0]   : control
  3: [ 0- 3]: digital audio playback
  4: [ 0- 0]: hardware dependent
  5: [ 1]   : control
  6: [ 1- 0]: digital audio playback
  7: [ 1- 0]: digital audio capture
  8: [ 1- 2]: digital audio capture
  9: [ 1- 0]: hardware dependent
 10: [ 2]   : control
 11: [ 2- 0]: digital audio playback
 12: [ 2- 0]: digital audio capture
 33:        : timer


$ arecord -c1 -Dplughw:2,0 -f cd -vv /dev/null
Recording WAVE '/dev/null' : Signed 16 bit Little Endian, Rate 44100 Hz, Stereo
Plug PCM: Route conversion PCM (sformat=S16_LE)
  Transformation table:
    0 <- 0
    1 <- 0
Its setup is:
  stream       : CAPTURE
  access       : RW_INTERLEAVED
  format       : S16_LE
  subformat    : STD
  channels     : 2
  rate         : 44100
  exact rate   : 44100 (44100/1)
  msbits       : 16
  buffer_size  : 22050
  period_size  : 5513
  period_time  : 125011
  tstamp_mode  : NONE
  tstamp_type  : MONOTONIC
  period_step  : 1
  avail_min    : 5513
  period_event : 0
  start_threshold  : 1
  stop_threshold   : 22050
  silence_threshold: 0
  silence_size : 0
  boundary     : 6206523236469964800
Slave: Hardware PCM card 2 'USB PnP Sound Device' device 0 subdevice 0
Its setup is:
  stream       : CAPTURE
  access       : MMAP_INTERLEAVED
  format       : S16_LE
  subformat    : STD
  channels     : 1
  rate         : 44100
  exact rate   : 44100 (44100/1)
  msbits       : 16
  buffer_size  : 22050
  period_size  : 5513
  period_time  : 125011
  tstamp_mode  : NONE
  tstamp_type  : MONOTONIC
  period_step  : 1
  avail_min    : 5513
  period_event : 0
  start_threshold  : 1
  stop_threshold   : 22050
  silence_threshold: 0
  silence_size : 0
  boundary     : 6206523236469964800
  appl_ptr     : 0
  hw_ptr       : 0
#+                                                 | 00%^C
Aborted by signal Interrupt...
#+                                                 | 00%


Thanks,

Rodolfo

[toc] | [prev] | [next] | [standalone]


#184915

Fromdeloptes <deloptes@gmail.com>
Date2017-08-09 00:10 +0200
Message-ID<uckRj-6mw-5@gated-at.bofh.it>
In reply to#184903
Rodolfo Medina wrote:

>   hw_ptr       : 0
> #+                                                 | 00%^C
> Aborted by signal Interrupt...
> #+                                                 | 00%
> 

Before you abort, did you see any indication - these percent signs are
actually indicating the level of the input.


If not, is it perhaps muted?

You can use to unmute

alsamixer -c 2

-c 2 is for the second card not to mix up with arecord -c1 which is telling
arecord to use mono input


regards

[toc] | [prev] | [next] | [standalone]


#184916

FromRodolfo Medina <rodolfo.medina@gmail.com>
Date2017-08-09 01:50 +0200
Message-ID<ucmq7-7b9-17@gated-at.bofh.it>
In reply to#184915
deloptes <deloptes@gmail.com> writes:

> Rodolfo Medina wrote:
>
>>   hw_ptr       : 0
>> #+                                                 | 00%^C
>> Aborted by signal Interrupt...
>> #+                                                 | 00%
>> 
>
> Before you abort, did you see any indication - these percent signs are
> actually indicating the level of the input.


This is the output without abortion:

$ arecord -c1 -Dplughw:2,0 -f cd -vv /dev/null
Recording WAVE '/dev/null' : Signed 16 bit Little Endian, Rate 44100 Hz, Stereo
Plug PCM: Route conversion PCM (sformat=S16_LE)
  Transformation table:
    0 <- 0
    1 <- 0
Its setup is:
  stream       : CAPTURE
  access       : RW_INTERLEAVED
  format       : S16_LE
  subformat    : STD
  channels     : 2
  rate         : 44100
  exact rate   : 44100 (44100/1)
  msbits       : 16
  buffer_size  : 22050
  period_size  : 5513
  period_time  : 125011
  tstamp_mode  : NONE
  tstamp_type  : MONOTONIC
  period_step  : 1
  avail_min    : 5513
  period_event : 0
  start_threshold  : 1
  stop_threshold   : 22050
  silence_threshold: 0
  silence_size : 0
  boundary     : 6206523236469964800
Slave: Hardware PCM card 2 'USB PnP Sound Device' device 0 subdevice 0
Its setup is:
  stream       : CAPTURE
  access       : MMAP_INTERLEAVED
  format       : S16_LE
  subformat    : STD
  channels     : 1
  rate         : 44100
  exact rate   : 44100 (44100/1)
  msbits       : 16
  buffer_size  : 22050
  period_size  : 5513
  period_time  : 125011
  tstamp_mode  : NONE
  tstamp_type  : MONOTONIC
  period_step  : 1
  avail_min    : 5513
  period_event : 0
  start_threshold  : 1
  stop_threshold   : 22050
  silence_threshold: 0
  silence_size : 0
  boundary     : 6206523236469964800
  appl_ptr     : 0
  hw_ptr       : 0
#+                                                 | 00%


> If not, is it perhaps muted?
>
> You can use to unmute
>
> alsamixer -c 2
>
> -c 2 is for the second card not to mix up with arecord -c1 which is telling
> arecord to use mono input

I unmuted it from within alsamixer menu: F6 and went into the USB card table.
Then I gave the command...

Cheers,
Rodolfo

[toc] | [prev] | [next] | [standalone]


#184951

Fromdeloptes <deloptes@gmail.com>
Date2017-08-09 20:30 +0200
Message-ID<ucDU0-2tC-69@gated-at.bofh.it>
In reply to#184916
Rodolfo Medina wrote:

> I unmuted it from within alsamixer menu: F6 and went into the USB card
> table. Then I gave the command...

perhaps there is also a volume control to set the volume

regards

[toc] | [prev] | [next] | [standalone]


#184958

FromRodolfo Medina <rodolfo.medina@gmail.com>
Date2017-08-09 22:50 +0200
Message-ID<ucG5u-3Vm-51@gated-at.bofh.it>
In reply to#184951
deloptes <deloptes@gmail.com> writes:

> Rodolfo Medina wrote:
>
>> I unmuted it from within alsamixer menu: F6 and went into the USB card
>> table. Then I gave the command...
>
> perhaps there is also a volume control to set the volume


Yes, but volume is loud...

Rodolfo

[toc] | [prev] | [next] | [standalone]


#184986

FromCurt <curty@free.fr>
Date2017-08-10 13:20 +0200
Message-ID<ucTFo-4RQ-11@gated-at.bofh.it>
In reply to#184803
On 2017-08-07, Rodolfo Medina <rodolfo.medina@gmail.com> wrote:
>
> Besides, I ran alsamixer, selected the USB card and unmuted everything.  But
> then, when I try to record, no sound is recorded.  I do:
>

This makes no sense BTW. Unmuted everything? You're *recording*, so what
you want to do in alsamixer is to select your external usb audio card
(F6), display its capture device(s) (F5), and toggle on the input
channel of your choice (space bar).

But I assume you have arrived at this crucial result in one way or another.


-- 
"Until the Lion learns to write, tales of the hunt shall always glorify the Hunter."
— African proverb

[toc] | [prev] | [next] | [standalone]


#184988

FromRodolfo Medina <rodolfo.medina@gmail.com>
Date2017-08-10 15:10 +0200
Message-ID<ucVnQ-5Z0-23@gated-at.bofh.it>
In reply to#184986
Curt <curty@free.fr> writes:

> On 2017-08-07, Rodolfo Medina <rodolfo.medina@gmail.com> wrote:
>>
>> Besides, I ran alsamixer, selected the USB card and unmuted everything.  But
>> then, when I try to record, no sound is recorded.  I do:
>>
>
> This makes no sense BTW. Unmuted everything? You're *recording*, so what
> you want to do in alsamixer is to select your external usb audio card
> (F6), display its capture device(s) (F5), and toggle on the input
> channel of your choice (space bar).
>
> But I assume you have arrived at this crucial result in one way or another.


I did.  Besides, the USB card does not even work with headphones: when
headphones are plugged into it, no sound is heard from them.

Rodolfo

[toc] | [prev] | [next] | [standalone]


Page 1 of 2  [1] 2  Next page →

Back to top | Article view | linux.debian.user


csiph-web