Skip to contentSkip to conversation

2.6.35-rc3 E-MU 0404 USB problem

DISCUSSION Sid Boyce 5 participants 8 messages Jun 22, 2010 – Jun 24, 2010

lore
Share & tools
lore

Sid Boyce

author
#0 lore raw

I have an application using the on-board sound card mic which should send it's data to the USB card for relay to a Sofweare Defined Radio as 2 quadrature signals digital (I/Q) for transmission. On the receiving side it can take data from the Radio at up to 192K sample rate --> program --> Speaker on the on-board sound card - that works fine.
Transmit fails, dmesg output with 48K sample rate set is:-

[509686.177169] ALSA sound/usb/clock.c:214: 6:2:3: endpoint lacks sample rate attribute bit, cannot set.
[509686.187920] ALSA sound/usb/clock.c:214: 6:2:1: endpoint lacks sample rate attribute bit, cannot set.
[509686.266905] ALSA sound/usb/mixer.c:2051: status interrupt: c0 0e
[509686.330901] ALSA sound/usb/mixer.c:2051: status interrupt: c0 0e
[509686.353775] ALSA sound/usb/clock.c:214: 6:2:7: endpoint lacks sample rate attribute bit, cannot set.
[509686.394898] ALSA sound/usb/mixer.c:2051: status interrupt: c0 0e
[509686.458886] ALSA sound/usb/mixer.c:2051: status interrupt: c0 0e
[509686.522874] ALSA sound/usb/mixer.c:2051: status interrupt: c0 0e
[509823.078594] ALSA sound/usb/clock.c:214: 6:2:3: endpoint lacks sample rate attribute bit, cannot set.
[509823.091571] ALSA sound/usb/clock.c:214: 6:2:1: endpoint lacks sample rate attribute bit, cannot set.
[509823.146811] ALSA sound/usb/mixer.c:2051: status interrupt: c0 0e
[509823.202679] ALSA sound/usb/clock.c:214: 6:2:7: endpoint lacks sample rate attribute bit, cannot set.
[509823.210807] ALSA sound/usb/mixer.c:2051: status interrupt: c0 0e
[509823.274792] ALSA sound/usb/mixer.c:2051: status interrupt: c0 0e
[509823.338782] ALSA sound/usb/mixer.c:2051: status interrupt: c0 0e
[509823.402783] ALSA sound/usb/mixer.c:2051: status interrupt: c0 0e

Regards
Sid.

Signature · 4 lines
Sid Boyce ... Hamradio License G3VBV, Licensed Private Pilot
Emeritus IBM/Amdahl Mainframes and Sun/Fujitsu Servers Tech Support
Specialist, Cricket Coach
Microsoft Windows Free Zone - Linux used for all Computing Tasks
#1 lore raw
Quoted 11 lines · Sid Boyce

I have an application using the on-board sound card mic which should send it's data to the USB card for relay to a Sofweare Defined Radio as 2 quadrature signals digital (I/Q) for transmission. On the receiving side it can take data from the Radio at up to 192K sample rate --> program --> Speaker on the on-board sound card - that works fine.
Transmit fails, dmesg output with 48K sample rate set is:-

[509686.177169] ALSA sound/usb/clock.c:214: 6:2:3: endpoint lacks
sample rate attribute bit, cannot set.
[509686.187920] ALSA sound/usb/clock.c:214: 6:2:1: endpoint lacks

sample rate attribute bit, cannot set.

Looks like your device does not support this :(

Have you asked on the alsa mailing list?

thanks,

greg k-h

#2 lore raw
Quoted 13 lines · Greg KH
Quoted 11 lines · Sid Boyce

I have an application using the on-board sound card mic which should send it's data to the USB card for relay to a Sofweare Defined Radio as 2 quadrature signals digital (I/Q) for transmission. On the receiving side it can take data from the Radio at up to 192K sample rate --> program --> Speaker on the on-board sound card - that works fine.
Transmit fails, dmesg output with 48K sample rate set is:-

[509686.177169] ALSA sound/usb/clock.c:214: 6:2:3: endpoint lacks
sample rate attribute bit, cannot set.
[509686.187920] ALSA sound/usb/clock.c:214: 6:2:1: endpoint lacks

sample rate attribute bit, cannot set.

Quoted 3 lines

Looks like your device does not support this :(

Have you asked on the alsa mailing list?

Yes, please post this on the ALSA list, and also provide the full output of "lsusb -v" with the device connected.

Thanks,
Daniel

author
#3 lore raw
Quoted 16 lines · Daniel Mack
Quoted 15 lines · Greg KH
Quoted 11 lines · Sid Boyce

I have an application using the on-board sound card mic which should send it's data to the USB card for relay to a Sofweare Defined Radio as 2 quadrature signals digital (I/Q) for transmission. On the receiving side it can take data from the Radio at up to 192K sample rate --> program --> Speaker on the on-board sound card - that works fine.
Transmit fails, dmesg output with 48K sample rate set is:-

[509686.177169] ALSA sound/usb/clock.c:214: 6:2:3: endpoint lacks
sample rate attribute bit, cannot set.
[509686.187920] ALSA sound/usb/clock.c:214: 6:2:1: endpoint lacks

sample rate attribute bit, cannot set.

Looks like your device does not support this :(

Quoted 8 lines
Quoted 1 line

Have you asked on the alsa mailing list?

Yes, please post this on the ALSA list, and also provide the full output of "lsusb -v" with the device connected.

Thanks,
Daniel

Thanks Daniel.
Bus 002 Device 007: ID 041e:3f04 Creative Technology, Ltd E-Mu 0404 Device Descriptor:
bLength 18
bDescriptorType 1
bcdUSB 2.00
bDeviceClass 239 Miscellaneous Device
bDeviceSubClass 2 ?
bDeviceProtocol 1 Interface Association
bMaxPacketSize0 64
idVendor 0x041e Creative Technology, Ltd
idProduct 0x3f04 E-Mu 0404
bcdDevice 1.00

  iManufacturer           1 E-MU Systems, Inc.
  iProduct                2 E-MU 0404 | USB
  iSerial                 3 E-MU-63-3F04-07D70A11-07BA0-STATION 2
  bNumConfigurations      1

Configuration Descriptor:
bLength 9
bDescriptorType 2
wTotalLength 1832
bNumInterfaces 4
bConfigurationValue 1
iConfiguration 0
bmAttributes 0xc0
Self Powered
MaxPower 2mA
Interface Association:
bLength 8
bDescriptorType 11
bFirstInterface 0
bInterfaceCount 4
bFunctionClass 255 Vendor Specific Class
bFunctionSubClass 255 Vendor Specific Subclass
bFunctionProtocol 255 Vendor Specific Protocol
iFunction 0
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 0
bAlternateSetting 0
bNumEndpoints 1
bInterfaceClass 255 Vendor Specific Class
bInterfaceSubClass 1
bInterfaceProtocol 0
iInterface 0
** UNRECOGNIZED: 0b 24 01 00 01 bf 00 03 01 02 03
** UNRECOGNIZED: 0c 24 02 01 01 01 00 04 33 00 00 00
** UNRECOGNIZED: 11 24 06 04 01 02 01 00 02 00 02 00 02 00 02 00 00 ** UNRECOGNIZED: 0c 24 02 02 01 06 00 02 03 00 00 00
** UNRECOGNIZED: 0c 24 02 03 02 06 00 02 03 00 00 00
** UNRECOGNIZED: 0f 24 08 0e 03 e3 01 03 04 33 00 00 01 1f 00 ** UNRECOGNIZED: 0e 24 04 0b 02 04 0e 04 33 00 00 00 00 00 ** UNRECOGNIZED: 11 24 04 05 03 04 02 0e 04 33 00 00 00 00 00 00 00 ** UNRECOGNIZED: 0f 24 08 0c 01 e3 01 05 04 33 00 00 01 07 00 ** UNRECOGNIZED: 0f 24 08 0d 02 e3 01 0c 04 33 00 00 01 03 00 ** UNRECOGNIZED: 0f 24 08 0f 04 e3 01 0d 04 33 00 00 01 07 00 ** UNRECOGNIZED: 09 24 03 08 01 03 00 0f 00
** UNRECOGNIZED: 09 24 03 07 02 03 00 0f 00
** UNRECOGNIZED: 09 24 03 09 02 06 00 0f 00
** UNRECOGNIZED: 09 24 03 0a 01 01 00 0b 00
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x83 EP 3 IN
bmAttributes 3
Transfer Type Interrupt
Synch Type None
Usage Type Data
wMaxPacketSize 0x0002 1x 2 bytes
bInterval 10
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 1
bAlternateSetting 0
bNumEndpoints 0
bInterfaceClass 255 Vendor Specific Class
bInterfaceSubClass 2
bInterfaceProtocol 0
iInterface 0
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 1
bAlternateSetting 1
bNumEndpoints 2
bInterfaceClass 255 Vendor Specific Class
bInterfaceSubClass 2
bInterfaceProtocol 0
iInterface 0
** UNRECOGNIZED: 07 24 01 01 00 01 00
** UNRECOGNIZED: 0b 24 02 01 02 03 18 01 44 ac 00 Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x01 EP 1 OUT
bmAttributes 5
Transfer Type Isochronous
Synch Type Asynchronous
Usage Type Data
wMaxPacketSize 0x0112 1x 274 bytes
bInterval 4
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x81 EP 1 IN
bmAttributes 17
Transfer Type Isochronous
Synch Type None
Usage Type Feedback
wMaxPacketSize 0x0004 1x 4 bytes
bInterval 4
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 1
bAlternateSetting 2
bNumEndpoints 2
bInterfaceClass 255 Vendor Specific Class
bInterfaceSubClass 2
bInterfaceProtocol 0
iInterface 0
** UNRECOGNIZED: 07 24 01 01 00 01 00
** UNRECOGNIZED: 0b 24 02 01 02 03 18 01 44 ac 00 Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x01 EP 1 OUT
bmAttributes 5
Transfer Type Isochronous
Synch Type Asynchronous
Usage Type Data
wMaxPacketSize 0x008e 1x 142 bytes
bInterval 3
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x81 EP 1 IN
bmAttributes 17
Transfer Type Isochronous
Synch Type None
Usage Type Feedback
wMaxPacketSize 0x0004 1x 4 bytes
bInterval 4
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 1
bAlternateSetting 3
bNumEndpoints 2
bInterfaceClass 255 Vendor Specific Class
bInterfaceSubClass 2
bInterfaceProtocol 0
iInterface 0
** UNRECOGNIZED: 07 24 01 01 00 01 00
** UNRECOGNIZED: 0b 24 02 01 02 03 18 01 80 bb 00 Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x01 EP 1 OUT
bmAttributes 5
Transfer Type Isochronous
Synch Type Asynchronous
Usage Type Data
wMaxPacketSize 0x012a 1x 298 bytes
bInterval 4
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x81 EP 1 IN
bmAttributes 17
Transfer Type Isochronous
Synch Type None
Usage Type Feedback
wMaxPacketSize 0x0004 1x 4 bytes
bInterval 4
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 1
bAlternateSetting 4
bNumEndpoints 2
bInterfaceClass 255 Vendor Specific Class
bInterfaceSubClass 2
bInterfaceProtocol 0
iInterface 0
** UNRECOGNIZED: 07 24 01 01 00 01 00
** UNRECOGNIZED: 0b 24 02 01 02 03 18 01 80 bb 00 Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x01 EP 1 OUT
bmAttributes 5
Transfer Type Isochronous
Synch Type Asynchronous
Usage Type Data
wMaxPacketSize 0x009a 1x 154 bytes
bInterval 3
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x81 EP 1 IN
bmAttributes 17
Transfer Type Isochronous
Synch Type None
Usage Type Feedback
wMaxPacketSize 0x0004 1x 4 bytes
bInterval 4
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 1
bAlternateSetting 5
bNumEndpoints 2
bInterfaceClass 255 Vendor Specific Class
bInterfaceSubClass 2
bInterfaceProtocol 0
iInterface 0
** UNRECOGNIZED: 07 24 01 01 00 01 00
** UNRECOGNIZED: 0b 24 02 01 02 03 18 01 88 58 01 Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x01 EP 1 OUT
bmAttributes 5
Transfer Type Isochronous
Synch Type Asynchronous
Usage Type Data
wMaxPacketSize 0x021a 1x 538 bytes
bInterval 4
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x81 EP 1 IN
bmAttributes 17
Transfer Type Isochronous
Synch Type None
Usage Type Feedback
wMaxPacketSize 0x0004 1x 4 bytes
bInterval 4
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 1
bAlternateSetting 6
bNumEndpoints 2
bInterfaceClass 255 Vendor Specific Class
bInterfaceSubClass 2
bInterfaceProtocol 0
iInterface 0
** UNRECOGNIZED: 07 24 01 01 00 01 00
** UNRECOGNIZED: 0b 24 02 01 02 03 18 01 88 58 01 Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x01 EP 1 OUT
bmAttributes 5
Transfer Type Isochronous
Synch Type Asynchronous
Usage Type Data
wMaxPacketSize 0x0112 1x 274 bytes
bInterval 3
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x81 EP 1 IN
bmAttributes 17
Transfer Type Isochronous
Synch Type None
Usage Type Feedback
wMaxPacketSize 0x0004 1x 4 bytes
bInterval 4
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 1
bAlternateSetting 7
bNumEndpoints 2
bInterfaceClass 255 Vendor Specific Class
bInterfaceSubClass 2
bInterfaceProtocol 0
iInterface 0
** UNRECOGNIZED: 07 24 01 01 00 01 00
** UNRECOGNIZED: 0b 24 02 01 02 03 18 01 00 77 01 Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x01 EP 1 OUT
bmAttributes 5
Transfer Type Isochronous
Synch Type Asynchronous
Usage Type Data
wMaxPacketSize 0x024a 1x 586 bytes
bInterval 4
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x81 EP 1 IN
bmAttributes 17
Transfer Type Isochronous
Synch Type None
Usage Type Feedback
wMaxPacketSize 0x0004 1x 4 bytes
bInterval 4
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 1
bAlternateSetting 8
bNumEndpoints 2
bInterfaceClass 255 Vendor Specific Class
bInterfaceSubClass 2
bInterfaceProtocol 0
iInterface 0
** UNRECOGNIZED: 07 24 01 01 00 01 00
** UNRECOGNIZED: 0b 24 02 01 02 03 18 01 00 77 01 Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x01 EP 1 OUT
bmAttributes 5
Transfer Type Isochronous
Synch Type Asynchronous
Usage Type Data
wMaxPacketSize 0x012a 1x 298 bytes
bInterval 3
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x81 EP 1 IN
bmAttributes 17
Transfer Type Isochronous
Synch Type None
Usage Type Feedback
wMaxPacketSize 0x0004 1x 4 bytes
bInterval 4
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 1
bAlternateSetting 9
bNumEndpoints 2
bInterfaceClass 255 Vendor Specific Class
bInterfaceSubClass 2
bInterfaceProtocol 0
iInterface 0
** UNRECOGNIZED: 07 24 01 01 00 01 00
** UNRECOGNIZED: 0b 24 02 01 02 03 18 01 10 b1 02 Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x01 EP 1 OUT
bmAttributes 5
Transfer Type Isochronous
Synch Type Asynchronous
Usage Type Data
wMaxPacketSize 0x021a 1x 538 bytes
bInterval 3
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x81 EP 1 IN
bmAttributes 17
Transfer Type Isochronous
Synch Type None
Usage Type Feedback
wMaxPacketSize 0x0004 1x 4 bytes
bInterval 4
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 1
bAlternateSetting 10
bNumEndpoints 2
bInterfaceClass 255 Vendor Specific Class
bInterfaceSubClass 2
bInterfaceProtocol 0
iInterface 0
** UNRECOGNIZED: 07 24 01 01 00 01 00
** UNRECOGNIZED: 0b 24 02 01 02 03 18 01 00 ee 02 Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x01 EP 1 OUT
bmAttributes 5
Transfer Type Isochronous
Synch Type Asynchronous
Usage Type Data
wMaxPacketSize 0x024a 1x 586 bytes
bInterval 3
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x81 EP 1 IN
bmAttributes 17
Transfer Type Isochronous
Synch Type None
Usage Type Feedback
wMaxPacketSize 0x0004 1x 4 bytes
bInterval 4
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 1
bAlternateSetting 11
bNumEndpoints 2
bInterfaceClass 255 Vendor Specific Class
bInterfaceSubClass 2
bInterfaceProtocol 0
iInterface 0
** UNRECOGNIZED: 07 24 01 01 00 01 00
** UNRECOGNIZED: 0b 24 02 01 04 03 18 01 44 ac 00 Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x01 EP 1 OUT
bmAttributes 5
Transfer Type Isochronous
Synch Type Asynchronous
Usage Type Data
wMaxPacketSize 0x0220 1x 544 bytes
bInterval 4
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x81 EP 1 IN
bmAttributes 17
Transfer Type Isochronous
Synch Type None
Usage Type Feedback
wMaxPacketSize 0x0004 1x 4 bytes
bInterval 4
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 1
bAlternateSetting 12
bNumEndpoints 2
bInterfaceClass 255 Vendor Specific Class
bInterfaceSubClass 2
bInterfaceProtocol 0
iInterface 0
** UNRECOGNIZED: 07 24 01 01 00 01 00
** UNRECOGNIZED: 0b 24 02 01 04 03 18 01 44 ac 00 Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x01 EP 1 OUT
bmAttributes 5
Transfer Type Isochronous
Synch Type Asynchronous
Usage Type Data
wMaxPacketSize 0x0118 1x 280 bytes
bInterval 3
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x81 EP 1 IN
bmAttributes 17
Transfer Type Isochronous
Synch Type None
Usage Type Feedback
wMaxPacketSize 0x0004 1x 4 bytes
bInterval 4
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 1
bAlternateSetting 13
bNumEndpoints 2
bInterfaceClass 255 Vendor Specific Class
bInterfaceSubClass 2
bInterfaceProtocol 0
iInterface 0
** UNRECOGNIZED: 07 24 01 01 00 01 00
** UNRECOGNIZED: 0b 24 02 01 04 03 18 01 80 bb 00 Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x01 EP 1 OUT
bmAttributes 5
Transfer Type Isochronous
Synch Type Asynchronous
Usage Type Data
wMaxPacketSize 0x0250 1x 592 bytes
bInterval 4
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x81 EP 1 IN
bmAttributes 17
Transfer Type Isochronous
Synch Type None
Usage Type Feedback
wMaxPacketSize 0x0004 1x 4 bytes
bInterval 4
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 1
bAlternateSetting 14
bNumEndpoints 2
bInterfaceClass 255 Vendor Specific Class
bInterfaceSubClass 2
bInterfaceProtocol 0
iInterface 0
** UNRECOGNIZED: 07 24 01 01 00 01 00
** UNRECOGNIZED: 0b 24 02 01 04 03 18 01 80 bb 00 Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x01 EP 1 OUT
bmAttributes 5
Transfer Type Isochronous
Synch Type Asynchronous
Usage Type Data
wMaxPacketSize 0x0130 1x 304 bytes
bInterval 3
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x81 EP 1 IN
bmAttributes 17
Transfer Type Isochronous
Synch Type None
Usage Type Feedback
wMaxPacketSize 0x0004 1x 4 bytes
bInterval 4
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 1
bAlternateSetting 15
bNumEndpoints 2
bInterfaceClass 255 Vendor Specific Class
bInterfaceSubClass 2
bInterfaceProtocol 0
iInterface 0
** UNRECOGNIZED: 07 24 01 01 00 01 00
** UNRECOGNIZED: 0b 24 02 01 04 03 18 01 88 58 01 Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x01 EP 1 OUT
bmAttributes 5
Transfer Type Isochronous
Synch Type Asynchronous
Usage Type Data
wMaxPacketSize 0x0220 1x 544 bytes
bInterval 3
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x81 EP 1 IN
bmAttributes 17
Transfer Type Isochronous
Synch Type None
Usage Type Feedback
wMaxPacketSize 0x0004 1x 4 bytes
bInterval 4
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 1
bAlternateSetting 16
bNumEndpoints 2
bInterfaceClass 255 Vendor Specific Class
bInterfaceSubClass 2
bInterfaceProtocol 0
iInterface 0
** UNRECOGNIZED: 07 24 01 01 00 01 00
** UNRECOGNIZED: 0b 24 02 01 04 03 18 01 00 77 01 Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x01 EP 1 OUT
bmAttributes 5
Transfer Type Isochronous
Synch Type Asynchronous
Usage Type Data
wMaxPacketSize 0x0250 1x 592 bytes
bInterval 3
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x81 EP 1 IN
bmAttributes 17
Transfer Type Isochronous
Synch Type None
Usage Type Feedback
wMaxPacketSize 0x0004 1x 4 bytes
bInterval 4
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 1
bAlternateSetting 17
bNumEndpoints 2
bInterfaceClass 255 Vendor Specific Class
bInterfaceSubClass 2
bInterfaceProtocol 0
iInterface 0
** UNRECOGNIZED: 07 24 01 01 00 01 20
** UNRECOGNIZED: 0b 24 02 03 02 02 10 01 44 ac 00 Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x01 EP 1 OUT
bmAttributes 5
Transfer Type Isochronous
Synch Type Asynchronous
Usage Type Data
wMaxPacketSize 0x00b8 1x 184 bytes
bInterval 4
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x81 EP 1 IN
bmAttributes 17
Transfer Type Isochronous
Synch Type None
Usage Type Feedback
wMaxPacketSize 0x0004 1x 4 bytes
bInterval 4
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 1
bAlternateSetting 18
bNumEndpoints 2
bInterfaceClass 255 Vendor Specific Class
bInterfaceSubClass 2
bInterfaceProtocol 0
iInterface 0
** UNRECOGNIZED: 07 24 01 01 00 01 20
** UNRECOGNIZED: 0b 24 02 03 02 02 10 01 80 bb 00 Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x01 EP 1 OUT
bmAttributes 5
Transfer Type Isochronous
Synch Type Asynchronous
Usage Type Data
wMaxPacketSize 0x00c8 1x 200 bytes
bInterval 4
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x81 EP 1 IN
bmAttributes 17
Transfer Type Isochronous
Synch Type None
Usage Type Feedback
wMaxPacketSize 0x0004 1x 4 bytes
bInterval 4
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 2
bAlternateSetting 0
bNumEndpoints 0
bInterfaceClass 255 Vendor Specific Class
bInterfaceSubClass 2
bInterfaceProtocol 0
iInterface 0
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 2
bAlternateSetting 1
bNumEndpoints 1
bInterfaceClass 255 Vendor Specific Class
bInterfaceSubClass 2
bInterfaceProtocol 0
iInterface 0
** UNRECOGNIZED: 07 24 01 0a 00 01 00
** UNRECOGNIZED: 0b 24 02 01 02 03 18 01 44 ac 00 Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x82 EP 2 IN
bmAttributes 37
Transfer Type Isochronous
Synch Type Asynchronous
Usage Type Implicit feedback Data
wMaxPacketSize 0x0112 1x 274 bytes
bInterval 4
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 2
bAlternateSetting 2
bNumEndpoints 1
bInterfaceClass 255 Vendor Specific Class
bInterfaceSubClass 2
bInterfaceProtocol 0
iInterface 0
** UNRECOGNIZED: 07 24 01 0a 00 01 00
** UNRECOGNIZED: 0b 24 02 01 02 03 18 01 44 ac 00 Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x82 EP 2 IN
bmAttributes 37
Transfer Type Isochronous
Synch Type Asynchronous
Usage Type Implicit feedback Data
wMaxPacketSize 0x008e 1x 142 bytes
bInterval 3
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 2
bAlternateSetting 3
bNumEndpoints 1
bInterfaceClass 255 Vendor Specific Class
bInterfaceSubClass 2
bInterfaceProtocol 0
iInterface 0
** UNRECOGNIZED: 07 24 01 0a 00 01 00
** UNRECOGNIZED: 0b 24 02 01 02 03 18 01 80 bb 00 Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x82 EP 2 IN
bmAttributes 37
Transfer Type Isochronous
Synch Type Asynchronous
Usage Type Implicit feedback Data
wMaxPacketSize 0x012a 1x 298 bytes
bInterval 4
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 2
bAlternateSetting 4
bNumEndpoints 1
bInterfaceClass 255 Vendor Specific Class
bInterfaceSubClass 2
bInterfaceProtocol 0
iInterface 0
** UNRECOGNIZED: 07 24 01 0a 00 01 00
** UNRECOGNIZED: 0b 24 02 01 02 03 18 01 80 bb 00 Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x82 EP 2 IN
bmAttributes 37
Transfer Type Isochronous
Synch Type Asynchronous
Usage Type Implicit feedback Data
wMaxPacketSize 0x009a 1x 154 bytes
bInterval 3
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 2
bAlternateSetting 5
bNumEndpoints 1
bInterfaceClass 255 Vendor Specific Class
bInterfaceSubClass 2
bInterfaceProtocol 0
iInterface 0
** UNRECOGNIZED: 07 24 01 0a 00 01 00
** UNRECOGNIZED: 0b 24 02 01 02 03 18 01 88 58 01 Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x82 EP 2 IN
bmAttributes 37
Transfer Type Isochronous
Synch Type Asynchronous
Usage Type Implicit feedback Data
wMaxPacketSize 0x021a 1x 538 bytes
bInterval 4
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 2
bAlternateSetting 6
bNumEndpoints 1
bInterfaceClass 255 Vendor Specific Class
bInterfaceSubClass 2
bInterfaceProtocol 0
iInterface 0
** UNRECOGNIZED: 07 24 01 0a 00 01 00
** UNRECOGNIZED: 0b 24 02 01 02 03 18 01 88 58 01 Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x82 EP 2 IN
bmAttributes 37
Transfer Type Isochronous
Synch Type Asynchronous
Usage Type Implicit feedback Data
wMaxPacketSize 0x0112 1x 274 bytes
bInterval 3
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 2
bAlternateSetting 7
bNumEndpoints 1
bInterfaceClass 255 Vendor Specific Class
bInterfaceSubClass 2
bInterfaceProtocol 0
iInterface 0
** UNRECOGNIZED: 07 24 01 0a 00 01 00
** UNRECOGNIZED: 0b 24 02 01 02 03 18 01 00 77 01 Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x82 EP 2 IN
bmAttributes 37
Transfer Type Isochronous
Synch Type Asynchronous
Usage Type Implicit feedback Data
wMaxPacketSize 0x024a 1x 586 bytes
bInterval 4
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 2
bAlternateSetting 8
bNumEndpoints 1
bInterfaceClass 255 Vendor Specific Class
bInterfaceSubClass 2
bInterfaceProtocol 0
iInterface 0
** UNRECOGNIZED: 07 24 01 0a 00 01 00
** UNRECOGNIZED: 0b 24 02 01 02 03 18 01 00 77 01 Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x82 EP 2 IN
bmAttributes 37
Transfer Type Isochronous
Synch Type Asynchronous
Usage Type Implicit feedback Data
wMaxPacketSize 0x012a 1x 298 bytes
bInterval 3
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 2
bAlternateSetting 9
bNumEndpoints 1
bInterfaceClass 255 Vendor Specific Class
bInterfaceSubClass 2
bInterfaceProtocol 0
iInterface 0
** UNRECOGNIZED: 07 24 01 0a 00 01 00
** UNRECOGNIZED: 0b 24 02 01 02 03 18 01 10 b1 02 Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x82 EP 2 IN
bmAttributes 37
Transfer Type Isochronous
Synch Type Asynchronous
Usage Type Implicit feedback Data
wMaxPacketSize 0x021a 1x 538 bytes
bInterval 3
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 2
bAlternateSetting 10
bNumEndpoints 1
bInterfaceClass 255 Vendor Specific Class
bInterfaceSubClass 2
bInterfaceProtocol 0
iInterface 0
** UNRECOGNIZED: 07 24 01 0a 00 01 00
** UNRECOGNIZED: 0b 24 02 01 02 03 18 01 00 ee 02 Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x82 EP 2 IN
bmAttributes 37
Transfer Type Isochronous
Synch Type Asynchronous
Usage Type Implicit feedback Data
wMaxPacketSize 0x024a 1x 586 bytes
bInterval 3
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 2
bAlternateSetting 11
bNumEndpoints 1
bInterfaceClass 255 Vendor Specific Class
bInterfaceSubClass 2
bInterfaceProtocol 0
iInterface 0
** UNRECOGNIZED: 07 24 01 0a 00 01 00
** UNRECOGNIZED: 0b 24 02 01 04 03 18 01 44 ac 00 Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x82 EP 2 IN
bmAttributes 37
Transfer Type Isochronous
Synch Type Asynchronous
Usage Type Implicit feedback Data
wMaxPacketSize 0x0220 1x 544 bytes
bInterval 4
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 2
bAlternateSetting 12
bNumEndpoints 1
bInterfaceClass 255 Vendor Specific Class
bInterfaceSubClass 2
bInterfaceProtocol 0
iInterface 0
** UNRECOGNIZED: 07 24 01 0a 00 01 00
** UNRECOGNIZED: 0b 24 02 01 04 03 18 01 44 ac 00 Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x82 EP 2 IN
bmAttributes 37
Transfer Type Isochronous
Synch Type Asynchronous
Usage Type Implicit feedback Data
wMaxPacketSize 0x0118 1x 280 bytes
bInterval 3
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 2
bAlternateSetting 13
bNumEndpoints 1
bInterfaceClass 255 Vendor Specific Class
bInterfaceSubClass 2
bInterfaceProtocol 0
iInterface 0
** UNRECOGNIZED: 07 24 01 0a 00 01 00
** UNRECOGNIZED: 0b 24 02 01 04 03 18 01 80 bb 00 Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x82 EP 2 IN
bmAttributes 37
Transfer Type Isochronous
Synch Type Asynchronous
Usage Type Implicit feedback Data
wMaxPacketSize 0x0250 1x 592 bytes
bInterval 4
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 2
bAlternateSetting 14
bNumEndpoints 1
bInterfaceClass 255 Vendor Specific Class
bInterfaceSubClass 2
bInterfaceProtocol 0
iInterface 0
** UNRECOGNIZED: 07 24 01 0a 00 01 00
** UNRECOGNIZED: 0b 24 02 01 04 03 18 01 80 bb 00 Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x82 EP 2 IN
bmAttributes 37
Transfer Type Isochronous
Synch Type Asynchronous
Usage Type Implicit feedback Data
wMaxPacketSize 0x0130 1x 304 bytes
bInterval 3
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 2
bAlternateSetting 15
bNumEndpoints 1
bInterfaceClass 255 Vendor Specific Class
bInterfaceSubClass 2
bInterfaceProtocol 0
iInterface 0
** UNRECOGNIZED: 07 24 01 0a 00 01 00
** UNRECOGNIZED: 0b 24 02 01 04 03 18 01 88 58 01 Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x82 EP 2 IN
bmAttributes 37
Transfer Type Isochronous
Synch Type Asynchronous
Usage Type Implicit feedback Data
wMaxPacketSize 0x0220 1x 544 bytes
bInterval 3
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 2
bAlternateSetting 16
bNumEndpoints 1
bInterfaceClass 255 Vendor Specific Class
bInterfaceSubClass 2
bInterfaceProtocol 0
iInterface 0
** UNRECOGNIZED: 07 24 01 0a 00 01 00
** UNRECOGNIZED: 0b 24 02 01 04 03 18 01 00 77 01 Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x82 EP 2 IN
bmAttributes 37
Transfer Type Isochronous
Synch Type Asynchronous
Usage Type Implicit feedback Data
wMaxPacketSize 0x0250 1x 592 bytes
bInterval 3
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 3
bAlternateSetting 0
bNumEndpoints 2
bInterfaceClass 255 Vendor Specific Class
bInterfaceSubClass 3
bInterfaceProtocol 0
iInterface 0
** UNRECOGNIZED: 07 24 01 00 01 25 00
** UNRECOGNIZED: 06 24 02 01 01 00
** UNRECOGNIZED: 06 24 02 02 02 00
** UNRECOGNIZED: 09 24 03 01 03 01 02 01 00
** UNRECOGNIZED: 09 24 03 02 04 01 01 01 00
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x05 EP 5 OUT
bmAttributes 2
Transfer Type Bulk
Synch Type None
Usage Type Data
wMaxPacketSize 0x0200 1x 512 bytes
bInterval 1
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x85 EP 5 IN
bmAttributes 2
Transfer Type Bulk
Synch Type None
Usage Type Data
wMaxPacketSize 0x0200 1x 512 bytes
bInterval 1
Device Qualifier (for other device speed):
bLength 10
bDescriptorType 6
bcdUSB 2.00
bDeviceClass 239 Miscellaneous Device
bDeviceSubClass 2 ?
bDeviceProtocol 1 Interface Association
bMaxPacketSize0 64
bNumConfigurations 1
Device Status: 0x0001

Regards
Sid.

Signature · 4 lines
Sid Boyce ... Hamradio License G3VBV, Licensed Private Pilot
Emeritus IBM/Amdahl Mainframes and Sun/Fujitsu Servers Tech Support
Specialist, Cricket Coach
Microsoft Windows Free Zone - Linux used for all Computing Tasks
#4 lore raw
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 1 line · Sid Boyce

Transmit fails,

What exactly fails?

Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

dmesg output with 48K sample rate set is:-
ALSA sound/usb/clock.c:214: 6:2:3: endpoint lacks sample rate attribute bit, cannot set.

There are many devices that have only one sample rate or that have one sample rate per alternate setting. This doesn't deserve a message, much less a warning.

Regards,
Clemens

author
#5 lore raw
Quoted 5 lines · Clemens Ladisch
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 1 line · Sid Boyce

Transmit fails,

What exactly fails?

The application uses the on-board HDA Intel sound card for Mic and Speaker output.
For receive, data from the receiver goes to the E-MU 0404 USB at ~10 KHz where it is digitized then processed by the application and comes out the speaker as audio - that works at 48K, 96K and 192K sample rate.

For transmission you speak into the mic and it's processed by the application, digitized and sent to the E-MU 0404 USB where it's converted to audio that is used to modulate the transmitter and out to the antenna - that doesn't work even at 48K sample rate, i.e there is no output from the E-MU 0404 USB. .

Quoted 11 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

dmesg output with 48K sample rate set is:-
ALSA sound/usb/clock.c:214: 6:2:3: endpoint lacks sample rate attribute bit, cannot set.

There are many devices that have only one sample rate or that have one sample rate per alternate setting. This doesn't deserve a message, much less a warning.

Regards,
Clemens

On another box with the Terratec Aureon 5.1 USB card, it works both ways at 48K sample rate though the audio going to the transmitter is insufficient to drive the transmitter to the expected output. Regards
Sid.

Signature · 4 lines
Sid Boyce ... Hamradio License G3VBV, Licensed Private Pilot
Emeritus IBM/Amdahl Mainframes and Sun/Fujitsu Servers Tech Support
Specialist, Cricket Coach
Microsoft Windows Free Zone - Linux used for all Computing Tasks
#6 lore raw
In reply to Sid Boyce
Quoted 28 lines · Sid Boyce

I have an application using the on-board sound card mic which should send it's data to the USB card for relay to a Sofweare Defined Radio as 2 quadrature signals digital (I/Q) for transmission.
On the receiving side it can take data from the Radio at up to 192K sample rate --> program --> Speaker on the on-board sound card - that works fine. Transmit fails, dmesg output with 48K sample rate set is:-

[509686.177169] ALSA sound/usb/clock.c:214: 6:2:3: endpoint lacks sample
rate attribute bit, cannot set.
[509686.187920] ALSA sound/usb/clock.c:214: 6:2:1: endpoint lacks sample
rate attribute bit, cannot set.
[509686.266905] ALSA sound/usb/mixer.c:2051: status interrupt: c0 0e
[509686.330901] ALSA sound/usb/mixer.c:2051: status interrupt: c0 0e
[509686.353775] ALSA sound/usb/clock.c:214: 6:2:7: endpoint lacks sample
rate attribute bit, cannot set.
[509686.394898] ALSA sound/usb/mixer.c:2051: status interrupt: c0 0e
[509686.458886] ALSA sound/usb/mixer.c:2051: status interrupt: c0 0e
[509686.522874] ALSA sound/usb/mixer.c:2051: status interrupt: c0 0e
[509823.078594] ALSA sound/usb/clock.c:214: 6:2:3: endpoint lacks sample
rate attribute bit, cannot set.
[509823.091571] ALSA sound/usb/clock.c:214: 6:2:1: endpoint lacks sample
rate attribute bit, cannot set.
[509823.146811] ALSA sound/usb/mixer.c:2051: status interrupt: c0 0e
[509823.202679] ALSA sound/usb/clock.c:214: 6:2:7: endpoint lacks sample
rate attribute bit, cannot set.
[509823.210807] ALSA sound/usb/mixer.c:2051: status interrupt: c0 0e
[509823.274792] ALSA sound/usb/mixer.c:2051: status interrupt: c0 0e
[509823.338782] ALSA sound/usb/mixer.c:2051: status interrupt: c0 0e
[509823.402783] ALSA sound/usb/mixer.c:2051: status interrupt: c0 0e
Quoted 3 lines

Regards
Sid.
--

This device uses a global clock rate according to the data sheets. So, record rate must equal playback rate.

author
#7 lore raw
Quoted 33 lines · James Courtier-Dutton
Quoted 28 lines · Sid Boyce

I have an application using the on-board sound card mic which should send it's data to the USB card for relay to a Sofweare Defined Radio as 2 quadrature signals digital (I/Q) for transmission.
On the receiving side it can take data from the Radio at up to 192K sample rate --> program --> Speaker on the on-board sound card - that works fine. Transmit fails, dmesg output with 48K sample rate set is:-

[509686.177169] ALSA sound/usb/clock.c:214: 6:2:3: endpoint lacks sample
rate attribute bit, cannot set.
[509686.187920] ALSA sound/usb/clock.c:214: 6:2:1: endpoint lacks sample
rate attribute bit, cannot set.
[509686.266905] ALSA sound/usb/mixer.c:2051: status interrupt: c0 0e
[509686.330901] ALSA sound/usb/mixer.c:2051: status interrupt: c0 0e
[509686.353775] ALSA sound/usb/clock.c:214: 6:2:7: endpoint lacks sample
rate attribute bit, cannot set.
[509686.394898] ALSA sound/usb/mixer.c:2051: status interrupt: c0 0e
[509686.458886] ALSA sound/usb/mixer.c:2051: status interrupt: c0 0e
[509686.522874] ALSA sound/usb/mixer.c:2051: status interrupt: c0 0e
[509823.078594] ALSA sound/usb/clock.c:214: 6:2:3: endpoint lacks sample
rate attribute bit, cannot set.
[509823.091571] ALSA sound/usb/clock.c:214: 6:2:1: endpoint lacks sample
rate attribute bit, cannot set.
[509823.146811] ALSA sound/usb/mixer.c:2051: status interrupt: c0 0e
[509823.202679] ALSA sound/usb/clock.c:214: 6:2:7: endpoint lacks sample
rate attribute bit, cannot set.
[509823.210807] ALSA sound/usb/mixer.c:2051: status interrupt: c0 0e
[509823.274792] ALSA sound/usb/mixer.c:2051: status interrupt: c0 0e
[509823.338782] ALSA sound/usb/mixer.c:2051: status interrupt: c0 0e
[509823.402783] ALSA sound/usb/mixer.c:2051: status interrupt: c0 0e
Quoted 3 lines

Regards
Sid.
--

Quoted 3 lines

This device uses a global clock rate according to the data sheets. So, record rate must equal playback rate.

sample_rate = 48000                     # ADC hardware sample rate in Hertz receive from the radio.
name_of_sound_capt = "hw:2"             # E-MU 0404 USB audio as IQ capture (Receive)
name_of_sound_play = "hw:0"             # HDA Intel on-board to Speakers.
channel_i = 1                           # Soundcard index of in-phase channel:  0, 1, 2, ...
channel_q = 0                           # Soundcard index of quadrature channel:  0, 1, 2, ...

# TX I/Q Generation for Softrock
name_of_mic_play = "hw:2" # E-MU 0404 USB audio for IQ output sent to the Radio for transmit (Mic --> program --> E-MU --> transmitter).
mic_playback_rate = 48000
mic_play_chan_I = 1
mic_play_chan_Q = 0

microphone_name = "plughw:0"            # HDA Intel on-board sound
mic_channel_I = 0                       # Soundcard index of mic audio channel
mic_channel_Q = 1                       # Soundcard index of ignored channel

mic_sample_rate = 48000 # Microphone sample rate in Hertz
mic_max_sample = 25535
add_imd_button = 1

All sample rates set to 48K.
Regards
Sid.

Signature · 4 lines
Sid Boyce ... Hamradio License G3VBV, Licensed Private Pilot
Emeritus IBM/Amdahl Mainframes and Sun/Fujitsu Servers Tech Support
Specialist, Cricket Coach
Microsoft Windows Free Zone - Linux used for all Computing Tasks