Recording input USB audio descriptor

Bug #346878 reported by drachenblut
2
Affects Status Importance Assigned to Milestone
Jokosher
Fix Released
Low
Laszlo Pandy

Bug Description

When using mutliple usb audio inputs all usb audio devices only show up as "USB Audio" this makes it a guessing game as to what input i'm assigning to what track. A more involved description of what recording input is would be helpful

Related branches

Revision history for this message
Laszlo Pandy (laszlok) wrote :

Can you tell me which recording sound system is selected in preferences?
Also can you download the attached script and paste the output here, so we can see which devices are available on your system. Thanks.

Revision history for this message
drachenblut (lord-drachenblut) wrote :

Listing ALSA capture:
 'default'
  => ''
 'hw:0,0'
  => 'ALC268 Analog'
 'hw:0,4'
  => 'ALC268 Analog'
 'hw:1,0'
  => 'USB Audio'
 'hw:2,0'
  => 'USB Audio'
Listing ALSA output:
 'default'
  => ''
 'hw:0,0'
  => 'ALC268 Analog'
 'hw:1,0'
  => 'USB Audio'
 'hw:2,0'
  => 'USB Audio'
Listing PulseAudio capture:
 None
  => ''

alsa is selected in jokosher.

Revision history for this message
Laszlo Pandy (laszlok) wrote :

I am guessing that giving a each one a name like "USB Audio 1" or "USB Audio 2" would not be very useful. I'll see if I can find a way to get a better device name.

Changed in jokosher:
assignee: nobody → laszlok
importance: Undecided → Low
milestone: none → 0.12
status: New → Confirmed
Revision history for this message
Laszlo Pandy (laszlok) wrote :

I was wondering, is there any other program which gives different names for these devices?
For example if I run the Gnome Volume Control by clicking on the volume icon in the panel or running 'gnome-volume-control' I see a dropdown box at the top with the item "NVidia nForce2 (Alsa mixer)" as well as a few others. What names are your USB devices given?

Revision history for this message
drachenblut (lord-drachenblut) wrote :

actually as a temporary fix having usb audio 1 and usb audio 2 would be useful since I could easily tell at a glance that I have each track set to a different input device and not have to do a test record each time to be positive

also attached is a copy of lsusb output. don't know if it will help any but figured it couldn't hurt

Bus 002 Device 002: ID 046d:0a01 Logitech, Inc. USB Headset
Bus 001 Device 002: ID 046d:0a02 Logitech, Inc. Premium Stereo USB Headset 350

if you want a copy of lsusb -v to show more information let me know

Revision history for this message
Laszlo Pandy (laszlok) wrote :

The problem with using USB information from such as lsusb gives you is that we would have to put in a special case for USB devices. This might be a bit difficult because we get the device name from GStreamer which gets it from ALSA which gets it from who knows where. The reason i asked about the gnome-volume-control is because the devices which end in "(Alsa Mixer)" come directly from ALSA. Are the same names present there?

Revision history for this message
drachenblut (lord-drachenblut) wrote :

Kmix in kde4.2 shows them both as Logitech USB Headset.

Revision history for this message
Laszlo Pandy (laszlok) wrote :

Okay took a look at the KMix source, and I eventually figured out that all this info is also available in the kernel's /proc/ files. Could you please paste the output of this command:
cat /proc/asound/cards /proc/asound/pcm

Thanks.

Revision history for this message
drachenblut (lord-drachenblut) wrote :

cat /proc/asound/cards /proc/asound/pcm
 0 [SB ]: HDA-Intel - HDA ATI SB
                      HDA ATI SB at 0xf0700000 irq 16
 1 [Headset ]: USB-Audio - Logitech USB Headset
                      Logitech Logitech USB Headset at usb-0000:00:13.0-1, full speed
 2 [Headset_1 ]: USB-Audio - Logitech USB Headset
                      Logitech Logitech USB Headset at usb-0000:00:13.0-2, full speed
00-04: ALC268 Analog : ALC268 Analog : capture 1
00-00: ALC268 Analog : ALC268 Analog : playback 1 : capture 1
01-00: USB Audio : USB Audio : playback 1 : capture 1
02-00: USB Audio : USB Audio : playback 1 : capture 1

hope this helps out.
and it's great to see such interest in something that is probably just a minor issue for most

Revision history for this message
Laszlo Pandy (laszlok) wrote :

Basically the data we have to go on from ALSA is "USB Audio" and "USB-Audio - Logitech USB Headset", both of which don't help us because they are the same for each device.

For the next release, I will change it so that in the case that there are two devices with the same name, we will also append the ALSA device numbers. Your list will then look like this:
Default
ALC268 Analog (hw:0,0)
ALC268 Analog (hw:0,4)
USB Audio (hw:1,0)
USB Audio (hw:2,0)

Presumably in the case of USB, the higher numbered device is the one that was most recently plugged in.
Unless anyone has another suggestion I don't think we can do anymore than this.

Changed in jokosher:
milestone: 0.12 → 0.11.2
Laszlo Pandy (laszlok)
Changed in jokosher:
status: Confirmed → Fix Committed
Revision history for this message
drachenblut (lord-drachenblut) wrote : Re: [Bug 346878] Re: Recording input USB audio descriptor

On Thursday 28 May 2009 8:52:29 pm Laszlo Pandy wrote:
> ** Changed in: jokosher
> Status: Confirmed => Fix Committed

I'm not sure If i have read this correctly or not but does this mean it's now
in the main trunk or in your branch?

Cheers

--
PGP e-mail is welcome! Get my 1024 bit signature key from:
<http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x00D1EABB>

Revision history for this message
Laszlo Pandy (laszlok) wrote :

It is now in the main branch, which will be release as 0.11.3 in about 1 day.

Revision history for this message
drachenblut (lord-drachenblut) wrote :

On Sunday 31 May 2009 1:50:54 pm Laszlo Pandy wrote:
> It is now in the main branch, which will be release as 0.11.3 in about 1
> day.

I just tried out 11.3 from bzr and the two usb audio devices are showing up as
"USB Audio"

--
PGP e-mail is welcome! Get my 1024 bit signature key from:
<http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x00D1EABB>

Revision history for this message
Laszlo Pandy (laszlok) wrote :

Using the commands to run Jokosher 0.11.3:
bzr branch lp:jokosher
cd jokosher
Jokosher/Jokosher

When I load either recording inputs dialog or preferences dialog I see something like (hw:0,1) beside each device. This is when using the ALSA sound system for recording and playback.

Revision history for this message
drachenblut (lord-drachenblut) wrote :

On Sunday 31 May 2009 11:01:58 pm Laszlo Pandy wrote:
> Using the commands to run Jokosher 0.11.3:
> bzr branch lp:jokosher
> cd jokosher
> Jokosher/Jokosher
>
> When I load either recording inputs dialog or preferences dialog I see
> something like (hw:0,1) beside each device. This is when using the ALSA
> sound system for recording and playback.

here is a screen shot of what I'm seeing. this is 0.11.3 from bzr. One
show's prefrences view and thee other shows the recording input setting

--
PGP e-mail is welcome! Get my 1024 bit signature key from:
<http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x00D1EABB>

Revision history for this message
Laszlo Pandy (laszlok) wrote :

Sorry, as you can see the name has been changed for most devices but no the USB ones. I will fix this asap.

Changed in jokosher:
status: Fix Committed → In Progress
Revision history for this message
Laszlo Pandy (laszlok) wrote :

Fix committed; please test again.

Changed in jokosher:
status: In Progress → Fix Committed
Revision history for this message
drachenblut (lord-drachenblut) wrote :

On Monday 01 June 2009 8:31:01 pm Laszlo Pandy wrote:
> Fix committed; please test again.
>
> ** Changed in: jokosher
> Status: In Progress => Fix Committed

grabbed andd checked it works
thanks man this is awesome to know that the first bug I have filed in a long
time has gotten somewhere and added a new feature to the product.

cheers

--
PGP e-mail is welcome! Get my 1024 bit signature key from:
<http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x00D1EABB>

Revision history for this message
Ji A Lee (micico) wrote :

click mistake!
not released!!

Changed in jokosher:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.