Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 9 Jun 2010 17:55:50 +0200
From:      Hans Petter Selasky <hselasky@c2i.net>
To:        freebsd-usb@freebsd.org
Subject:   Re: Logitech USB Headset H330 Not Working
Message-ID:  <201006091755.50155.hselasky@c2i.net>
In-Reply-To: <AANLkTik7iSELSrwERzRUVKYt0BkX2QL-nX5ZJ_EE2iCe@mail.gmail.com>
References:  <AANLkTimR8QuLybTlpcHZMqSvZy-XVM68W1IrrAK7KrVq@mail.gmail.com> <AANLkTik7iSELSrwERzRUVKYt0BkX2QL-nX5ZJ_EE2iCe@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wednesday 09 June 2010 13:07:09 Antun Matanovi=C4=87 wrote:
> uname -a:
> FreeBSD FreeBSD.desktop.pc 8.1-BETA1 FreeBSD 8.1-BETA1 #0: Thu May 27
> 15:31:50 UTC 2010
> root@almeida.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC
> i386
>=20
> cat /dev/sndstat:
> FreeBSD Audio Driver (newpcm: 32bit 2009061500/i386)
> Installed devices:
> pcm0: <USB audio> (mixer only)
>=20
> dmesg:
> ugen5.2: <Logitech> at usbus5
> uaudio0: <Logitech Logitech USB Headset, class 0/0, rev 1.10/1.30, addr 2>
> on usbus5
> uaudio0: No playback!
> uaudio0: No recording!
> uaudio0: No midi sequencer
> pcm0: <USB audio> on uaudio0
>=20
> dmesg (sysctl hw.usb.uaudio.debug=3D15):
> uaudio_mixer_bsd2value: type=3D0x002 val=3D-3072 min=3D-7680 max=3D0 val=
=3D-3072
> uaudio_mixer_bsd2value: type=3D0x002 val=3D-3072 min=3D-7680 max=3D0 val=
=3D-3072
> uaudio_mixer_write_cfg_callback:
> uaudio_mixer_bsd2value: type=3D0x002 val=3D-2771 min=3D-7680 max=3D0 val=
=3D-2771
> uaudio_mixer_bsd2value: type=3D0x002 val=3D-2771 min=3D-7680 max=3D0 val=
=3D-2771
> uaudio_mixer_bsd2value: type=3D0x002 val=3D8192 min=3D0 max=3D10240 val=
=3D8192
> uaudio_mixer_write_cfg_callback:
> uaudio_mixer_write_cfg_callback:
> uaudio_mixer_write_cfg_callback:
> uaudio_mixer_write_cfg_callback:
> uaudio_mixer_bsd2value: type=3D0x002 val=3D-2771 min=3D-7680 max=3D0 val=
=3D-2771
> uaudio_mixer_bsd2value: type=3D0x002 val=3D-2771 min=3D-7680 max=3D0 val=
=3D-2771
> uaudio_mixer_write_cfg_callback:
> uaudio_mixer_bsd2value: type=3D0x002 val=3D-2771 min=3D-7680 max=3D0 val=
=3D-2771
> uaudio_mixer_bsd2value: type=3D0x002 val=3D-2771 min=3D-7680 max=3D0 val=
=3D-2771
> uaudio_mixer_bsd2value: type=3D0x002 val=3D8192 min=3D0 max=3D10240 val=
=3D8192
> uaudio_mixer_write_cfg_callback:
> uaudio_mixer_write_cfg_callback:
> uaudio_mixer_write_cfg_callback:
> uaudio_mixer_write_cfg_callback:
>=20
> usbconfig -u 5 -a 2 dump_curr_config_desc:
> ugen5.2: <Logitech USB Headset Logitech> at usbus5, cfg=3D0 md=3DHOST spd=
=3DFULL
> (12Mbps) pwr=3DON
>=20
>=20
>  Configuration index 0
>=20
>     bLength =3D 0x0009
>     bDescriptorType =3D 0x0002
>     wTotalLength =3D 0x00d0
>     bNumInterfaces =3D 0x0003
>     bConfigurationValue =3D 0x0001
>     iConfiguration =3D 0x0000  <no string>
>     bmAttributes =3D 0x0080
>     bMaxPower =3D 0x0032
>=20
>     Interface 0
>       bLength =3D 0x0009
>       bDescriptorType =3D 0x0004
>       bInterfaceNumber =3D 0x0000
>       bAlternateSetting =3D 0x0000
>       bNumEndpoints =3D 0x0000
>       bInterfaceClass =3D 0x0001
>       bInterfaceSubClass =3D 0x0001
>       bInterfaceProtocol =3D 0x0000
>       iInterface =3D 0x0000  <no string>
>=20
>       Additional Descriptor
>=20
>       bLength =3D 0x0a
>       bDescriptorType =3D 0x24
>       bDescriptorSubType =3D 0x01
>        RAW dump:
>        0x00 | 0x0a, 0x24, 0x01, 0x00, 0x01, 0x54, 0x00, 0x02,
>        0x08 | 0x01, 0x02
>=20
>=20
>       Additional Descriptor
>=20
>       bLength =3D 0x0c
>       bDescriptorType =3D 0x24
>       bDescriptorSubType =3D 0x02
>        RAW dump:
>        0x00 | 0x0c, 0x24, 0x02, 0x01, 0x01, 0x01, 0x00, 0x02,
>        0x08 | 0x03, 0x00, 0x00, 0x00
>=20
>=20
>       Additional Descriptor
>=20
>       bLength =3D 0x0c
>       bDescriptorType =3D 0x24
>       bDescriptorSubType =3D 0x02
>        RAW dump:
>        0x00 | 0x0c, 0x24, 0x02, 0x03, 0x01, 0x02, 0x00, 0x02,
>        0x08 | 0x03, 0x00, 0x00, 0x00
>=20
>=20
>       Additional Descriptor
>=20
>       bLength =3D 0x09
>       bDescriptorType =3D 0x24
>       bDescriptorSubType =3D 0x03
>        RAW dump:
>        0x00 | 0x09, 0x24, 0x03, 0x02, 0x01, 0x03, 0x00, 0x05,
>        0x08 | 0x00
>=20
>       Additional Descriptor
>=20
>       bLength =3D 0x09
>       bDescriptorType =3D 0x24
>       bDescriptorSubType =3D 0x03
>        RAW dump:
>        0x00 | 0x09, 0x24, 0x03, 0x04, 0x01, 0x01, 0x00, 0x07,
>        0x08 | 0x00
>=20
>       Additional Descriptor
>=20
>       bLength =3D 0x0a
>       bDescriptorType =3D 0x24
>       bDescriptorSubType =3D 0x06
>        RAW dump:
>        0x00 | 0x0a, 0x24, 0x06, 0x05, 0x01, 0x01, 0x01, 0x02,
>        0x08 | 0x02, 0x00
>=20
>=20
>       Additional Descriptor
>=20
>       bLength =3D 0x0a
>       bDescriptorType =3D 0x24
>       bDescriptorSubType =3D 0x06
>        RAW dump:
>        0x00 | 0x0a, 0x24, 0x06, 0x06, 0x03, 0x01, 0x03, 0x00,
>        0x08 | 0x00, 0x00
>=20
>=20
>       Additional Descriptor
>=20
>       bLength =3D 0x0c
>       bDescriptorType =3D 0x24
>       bDescriptorSubType =3D 0x04
>        RAW dump:
>        0x00 | 0x0c, 0x24, 0x04, 0x07, 0x01, 0x06, 0x02, 0x03,
>        0x08 | 0x00, 0x00, 0x00, 0x00
>=20
>=20
>=20
>     Interface 1
>       bLength =3D 0x0009
>       bDescriptorType =3D 0x0004
>       bInterfaceNumber =3D 0x0001
>       bAlternateSetting =3D 0x0000
>       bNumEndpoints =3D 0x0000
>       bInterfaceClass =3D 0x0001
>       bInterfaceSubClass =3D 0x0002
>       bInterfaceProtocol =3D 0x0000
>       iInterface =3D 0x0000  <no string>
>=20
>=20
>     Interface 1 Alt 1
>       bLength =3D 0x0009
>       bDescriptorType =3D 0x0004
>       bInterfaceNumber =3D 0x0001
>       bAlternateSetting =3D 0x0001
>       bNumEndpoints =3D 0x0001
>       bInterfaceClass =3D 0x0001
>       bInterfaceSubClass =3D 0x0002
>       bInterfaceProtocol =3D 0x0000
>       iInterface =3D 0x0000  <no string>
>=20
>       Additional Descriptor
>=20
>       bLength =3D 0x07
>       bDescriptorType =3D 0x24
>       bDescriptorSubType =3D 0x01
>        RAW dump:
>        0x00 | 0x07, 0x24, 0x01, 0x01, 0x01, 0x01, 0x00
>=20
>=20
>       Additional Descriptor
>=20
>       bLength =3D 0x0e
>       bDescriptorType =3D 0x24
>       bDescriptorSubType =3D 0x02
>        RAW dump:
>        0x00 | 0x0e, 0x24, 0x02, 0x01, 0x02, 0x02, 0x10, 0x02,
>        0x08 | 0x00, 0x7d, 0x00, 0x80, 0x3e, 0x00
>=20
>=20
>      Endpoint 0
>         bLength =3D 0x0007
>         bDescriptorType =3D 0x0005
>         bEndpointAddress =3D 0x0001  <OUT>
>         bmAttributes =3D 0x0009  <ADAPT-ISOCHRONOUS>
>         wMaxPacketSize =3D 0x00c0
>         bInterval =3D 0x0001
>         bRefresh =3D 0x0000
>         bSynchAddress =3D 0x0000
>=20
>       Additional Descriptor
>=20
>       bLength =3D 0x07
>       bDescriptorType =3D 0x25
>       bDescriptorSubType =3D 0x01
>        RAW dump:
>        0x00 | 0x07, 0x25, 0x01, 0x01, 0x01, 0x01, 0x00
>=20
>=20
>=20
>     Interface 2
>       bLength =3D 0x0009
>       bDescriptorType =3D 0x0004
>       bInterfaceNumber =3D 0x0002
>       bAlternateSetting =3D 0x0000
>       bNumEndpoints =3D 0x0000
>       bInterfaceClass =3D 0x0001
>       bInterfaceSubClass =3D 0x0002
>       bInterfaceProtocol =3D 0x0000
>       iInterface =3D 0x0000  <no string>
>=20
>=20
>     Interface 2 Alt 1
>       bLength =3D 0x0009
>       bDescriptorType =3D 0x0004
>       bInterfaceNumber =3D 0x0002
>       bAlternateSetting =3D 0x0001
>       bNumEndpoints =3D 0x0001
>       bInterfaceClass =3D 0x0001
>       bInterfaceSubClass =3D 0x0002
>       bInterfaceProtocol =3D 0x0000
>       iInterface =3D 0x0000  <no string>
>=20
>       Additional Descriptor
>=20
>       bLength =3D 0x07
>       bDescriptorType =3D 0x24
>       bDescriptorSubType =3D 0x01
>        RAW dump:
>        0x00 | 0x07, 0x24, 0x01, 0x04, 0x01, 0x01, 0x00
>=20
>=20
>       Additional Descriptor
>=20
>       bLength =3D 0x0e
>       bDescriptorType =3D 0x24
>       bDescriptorSubType =3D 0x02
>        RAW dump:
>        0x00 | 0x0e, 0x24, 0x02, 0x01, 0x02, 0x02, 0x10, 0x02,
>        0x08 | 0x00, 0x7d, 0x00, 0x80, 0x3e, 0x00
>=20
>=20
>      Endpoint 0
>         bLength =3D 0x0007
>         bDescriptorType =3D 0x0005
>         bEndpointAddress =3D 0x0082  <IN>
>         bmAttributes =3D 0x0005  <ASYNC-ISOCHRONOUS>
>         wMaxPacketSize =3D 0x00c8
>         bInterval =3D 0x0001
>         bRefresh =3D 0x0000
>         bSynchAddress =3D 0x0000
>=20
>       Additional Descriptor
>=20
>       bLength =3D 0x07
>       bDescriptorType =3D 0x25
>       bDescriptorSubType =3D 0x01
>        RAW dump:
>        0x00 | 0x07, 0x25, 0x01, 0x01, 0x01, 0x01, 0x00
>=20
> usbconfig -u 5 -a 2 dump_device_desc:
> ugen5.2: <Logitech USB Headset Logitech> at usbus5, cfg=3D0 md=3DHOST spd=
=3DFULL
> (12Mbps) pwr=3DON
>=20
>   bLength =3D 0x0012
>   bDescriptorType =3D 0x0001
>   bcdUSB =3D 0x0110
>   bDeviceClass =3D 0x0000
>   bDeviceSubClass =3D 0x0000
>   bDeviceProtocol =3D 0x0000
>   bMaxPacketSize0 =3D 0x0040
>   idVendor =3D 0x046d
>   idProduct =3D 0x0a14
>   bcdDevice =3D 0x0130
>   iManufacturer =3D 0x0001  <Logitech>
>   iProduct =3D 0x0002  <Logitech USB Headset>
>   iSerialNumber =3D 0x0000  <no string>
>   bNumConfigurations =3D 0x0001

Hi,

It looks like the audio part of your headset lack some descriptors associat=
ed=20
with the endpoint descriptors to be detected like a valid audio device? Doe=
s=20
it work under Linux?

=2D-HPS



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201006091755.50155.hselasky>