Re: Bower's & Wilkins PX headphone - snd-usb-audio error

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Takashi,

so capturing doesn't work at all, since no capture interface is recognized.

Regarding playback, it seems that I got only 48kHz samples in
/usr/share/sounds/alsa; I tried using speaker-test, but I couldn't get
it to use the correct device.
Searching on the net for viable test files was without success, but
if you might have some files handy, I'm happy to test everything.
At least 48kHz seem to work.

On a side note, I got a second PC in my office where I can't get any
sound from the PX using the exact same methods; it acts like it's muted,
but it's not. I will compare kernel configs, maybe I missed something.

Best regards
Philipp

On 08/29/2018 07:20 AM, Takashi Iwai wrote:
> On Tue, 28 Aug 2018 18:28:06 +0200,
> Philipp Ludwig wrote:
>>
>> In case anyone reads this, I fixed it myself:
>>
>> 1., I upgraded to kernel 4.18.5 (has probably nothing to do with it).
>>
>> 2., I updated the Firmware on the PX headphones.
>>
>> 3. Then I commented out the complete quirk for the PX in
>> "quirks-table.h", recompiled the snd-usb-audio module and loaded it.
>>
>> 4. Connected the PX to the PC, but no sound yet - fiddled around with
>> the settings in pavucontrol, no result.
>>
>> 5. Then I turned the headphones off and one once.
>>
>> 6. Then I switched the headphones profile in pavucontrol to "off", and
>> then to "Analog Stereo output". Now I got sound.
>>
>> This is reproducible, so I would call this fixed - having to switch the
>> profile once is just a minor inconvenience.
> 
> Thanks for reporting.  So it seems that the new firmware is
> incompatible and works without the quirk.  We need to sort it out.
> 
> Erik, do you have your device still with the old firmware?
> If yes, what shows lsusb -v?  I suppose the first mixer unit is gone
> in the new firmware.
> 
> Also Philipp, could you test whether both playback and capture work
> without any quirk, and with all supported sample rates?  At best, test
> directly like
>   aplay -v -Dplughw:1 some-44100hz-samples.wav
> 
> supposing the card#1 is the USB device (see /proc/asound/cards).
> 
> 
> thanks,
> 
> Takashi
> 
>>
>> Thanks for your support and all your dedicated work for the ALSA project
>> everyone, have a nice week!
>>
>> Best regards
>> Philipp Ludwig
>>
>> On 07/29/2018 12:55 PM, Philipp Ludwig wrote:
>>> On 07/28/2018 10:09 PM, Clemens Ladisch via Alsa-user wrote:
>>>> alsa@xxxxxxxxxxxxxxxxx wrote:
>>>>> usb 3-4: New USB device found, idVendor=19b5, idProduct=0021,
>>>>> bcdDevice=25.20
>>>>> usb 3-4: Product: PX USB
>>>>> usb 3-4: Manufacturer: Bowers & Wilkins
>>>>> snd-usb-audio: probe of 3-4:1.0 failed with error -22
>>>>> usb 3-4: 2:1: cannot get min/max values for control 2 (id 2)
>>>>> snd-usb-audio: probe of 3-4:1.1 failed with error -22
>>>>>
>>>>> Any advice on how I could debug this further?
>>>>
>>>> Please show the output of "lsusb -v" for this device.
>>>
>>> Here it is:
>>>
>>> Bus 003 Device 008: ID 19b5:0021 B & W Group
>>> Device Descriptor:
>>>   bLength                18
>>>   bDescriptorType         1
>>>   bcdUSB               2.00
>>>   bDeviceClass            0 (Defined at Interface level)
>>>   bDeviceSubClass         0
>>>   bDeviceProtocol         0
>>>   bMaxPacketSize0        64
>>>   idVendor           0x19b5 B & W Group
>>>   idProduct          0x0021
>>>   bcdDevice           25.20
>>>   iManufacturer           1 Bowers & Wilkins
>>>   iProduct                2 PX USB
>>>   iSerial                 3 ABCDEF0123456789
>>>   bNumConfigurations      1
>>>   Configuration Descriptor:
>>>     bLength                 9
>>>     bDescriptorType         2
>>>     wTotalLength          153
>>>     bNumInterfaces          3
>>>     bConfigurationValue     1
>>>     iConfiguration          0
>>>     bmAttributes         0xc0
>>>       Self Powered
>>>     MaxPower              500mA
>>>     Interface Descriptor:
>>>       bLength                 9
>>>       bDescriptorType         4
>>>       bInterfaceNumber        0
>>>       bAlternateSetting       0
>>>       bNumEndpoints           0
>>>       bInterfaceClass         1 Audio
>>>       bInterfaceSubClass      1 Control Device
>>>       bInterfaceProtocol      0
>>>       iInterface              0
>>>       AudioControl Interface Descriptor:
>>>         bLength                 9
>>>         bDescriptorType        36
>>>         bDescriptorSubtype      1 (HEADER)
>>>         bcdADC               1.00
>>>         wTotalLength           43
>>>         bInCollection           1
>>>         baInterfaceNr( 0)       1
>>>       AudioControl Interface Descriptor:
>>>         bLength                12
>>>         bDescriptorType        36
>>>         bDescriptorSubtype      2 (INPUT_TERMINAL)
>>>         bTerminalID             1
>>>         wTerminalType      0x0101 USB Streaming
>>>         bAssocTerminal          0
>>>         bNrChannels             2
>>>         wChannelConfig     0x0003
>>>           Left Front (L)
>>>           Right Front (R)
>>>         iChannelNames           0
>>>         iTerminal               0
>>>       AudioControl Interface Descriptor:
>>>         bLength                13
>>>         bDescriptorType        36
>>>         bDescriptorSubtype      6 (FEATURE_UNIT)
>>>         bUnitID                 2
>>>         bSourceID               1
>>>         bControlSize            2
>>>         bmaControls( 0)      0x01
>>>         bmaControls( 0)      0x00
>>>           Mute Control
>>>         bmaControls( 1)      0x02
>>>         bmaControls( 1)      0x00
>>>           Volume Control
>>>         bmaControls( 2)      0x02
>>>         bmaControls( 2)      0x00
>>>           Volume Control
>>>         iFeature                0
>>>       AudioControl Interface Descriptor:
>>>         bLength                 9
>>>         bDescriptorType        36
>>>         bDescriptorSubtype      3 (OUTPUT_TERMINAL)
>>>         bTerminalID             3
>>>         wTerminalType      0x0301 Speaker
>>>         bAssocTerminal          0
>>>         bSourceID               2
>>>         iTerminal               0
>>>     Interface Descriptor:
>>>       bLength                 9
>>>       bDescriptorType         4
>>>       bInterfaceNumber        1
>>>       bAlternateSetting       0
>>>       bNumEndpoints           0
>>>       bInterfaceClass         1 Audio
>>>       bInterfaceSubClass      2 Streaming
>>>       bInterfaceProtocol      0
>>>       iInterface              0
>>>     Interface Descriptor:
>>>       bLength                 9
>>>       bDescriptorType         4
>>>       bInterfaceNumber        1
>>>       bAlternateSetting       1
>>>       bNumEndpoints           1
>>>       bInterfaceClass         1 Audio
>>>       bInterfaceSubClass      2 Streaming
>>>       bInterfaceProtocol      0
>>>       iInterface              0
>>>       AudioStreaming Interface Descriptor:
>>>         bLength                 7
>>>         bDescriptorType        36
>>>         bDescriptorSubtype      1 (AS_GENERAL)
>>>         bTerminalLink           1
>>>         bDelay                  0 frames
>>>         wFormatTag              1 PCM
>>>       AudioStreaming Interface Descriptor:
>>>         bLength                26
>>>         bDescriptorType        36
>>>         bDescriptorSubtype      2 (FORMAT_TYPE)
>>>         bFormatType             1 (FORMAT_TYPE_I)
>>>         bNrChannels             2
>>>         bSubframeSize           2
>>>         bBitResolution         16
>>>         bSamFreqType            6 Discrete
>>>         tSamFreq[ 0]        48000
>>>         tSamFreq[ 1]        44100
>>>         tSamFreq[ 2]        32000
>>>         tSamFreq[ 3]        22050
>>>         tSamFreq[ 4]        16000
>>>         tSamFreq[ 5]         8000
>>>         AudioControl Endpoint Descriptor:
>>>           bLength                 7
>>>           bDescriptorType        37
>>>           bDescriptorSubtype      1 (EP_GENERAL)
>>>           bmAttributes         0x81
>>>             Sampling Frequency
>>>             MaxPacketsOnly
>>>           bLockDelayUnits         2 Decoded PCM samples
>>>           wLockDelay              0 Decoded PCM samples
>>>       Endpoint Descriptor:
>>>         bLength                 9
>>>         bDescriptorType         5
>>>         bEndpointAddress     0x03  EP 3 OUT
>>>         bmAttributes            1
>>>           Transfer Type            Isochronous
>>>           Synch Type               None
>>>           Usage Type               Data
>>>         wMaxPacketSize     0x00c0  1x 192 bytes
>>>         bInterval               1
>>>         bRefresh                0
>>>         bSynchAddress           0
>>>     Interface Descriptor:
>>>       bLength                 9
>>>       bDescriptorType         4
>>>       bInterfaceNumber        2
>>>       bAlternateSetting       0
>>>       bNumEndpoints           1
>>>       bInterfaceClass         3 Human Interface Device
>>>       bInterfaceSubClass      0 No Subclass
>>>       bInterfaceProtocol      0 None
>>>       iInterface              0
>>>         HID Device Descriptor:
>>>           bLength                 9
>>>           bDescriptorType        33
>>>           bcdHID               1.11
>>>           bCountryCode            0 Not supported
>>>           bNumDescriptors         1
>>>           bDescriptorType        34 Report
>>>           wDescriptorLength     123
>>>          Report Descriptors:
>>>            ** UNAVAILABLE **
>>>       Endpoint Descriptor:
>>>         bLength                 7
>>>         bDescriptorType         5
>>>         bEndpointAddress     0x81  EP 1 IN
>>>         bmAttributes            3
>>>           Transfer Type            Interrupt
>>>           Synch Type               None
>>>           Usage Type               Data
>>>         wMaxPacketSize     0x0040  1x 64 bytes
>>>         bInterval               1
>>> Device Status:     0x0000
>>>   (Bus Powered)
>>>
>>> ------------------------------------------------------------------------------
>>>
>>> Check out the vibrant tech community on one of the world's most
>>> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
>>> _______________________________________________
>>> Alsa-user mailing list
>>> Alsa-user@xxxxxxxxxxxxxxxxxxxxx
>>> https://lists.sourceforge.net/lists/listinfo/alsa-user
>> [2 pEpkey.asc <application/pgp-keys (quoted-printable)>]
>>
>> ------------------------------------------------------------------------------
>> Check out the vibrant tech community on one of the world's most
>> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
>> _______________________________________________
>> Alsa-user mailing list
>> Alsa-user@xxxxxxxxxxxxxxxxxxxxx
>> https://lists.sourceforge.net/lists/listinfo/alsa-user

Attachment: pEpkey.asc
Description: application/pgp-keys

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Alsa-user mailing list
Alsa-user@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/alsa-user

[Index of Archives]     [ALSA Devel]     [Linux Audio Users]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]

  Powered by Linux