Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 7 Dec 2012 11:07:11 +0100
From:      Hans Petter Selasky <hselasky@c2i.net>
To:        freebsd-usb@freebsd.org, walter@pelissero.de
Cc:        FreeBSD-gnats-submit@freebsd.org
Subject:   Re: usb/174254: MIDI keyboard not recognised
Message-ID:  <201212071107.11055.hselasky@c2i.net>
In-Reply-To: <201212070903.qB793F9O003465@scylla.home.lan>
References:  <201212070903.qB793F9O003465@scylla.home.lan>

next in thread | previous in thread | raw e-mail | index | archive | help
On Friday 07 December 2012 10:03:15 Walter C. Pelissero wrote:
> >Number:         174254
> >Category:       usb
> >Synopsis:       MIDI keyboard not recognised
> >Confidential:   no
> >Severity:       serious
> >Priority:       medium
> >Responsible:    freebsd-usb
> >State:          open
> >Quarter:
> >Keywords:
> >Date-Required:
> >Class:          sw-bug
> >Submitter-Id:   current-users
> >Arrival-Date:   Fri Dec 07 09:10:00 UTC 2012
> >Closed-Date:
> >Last-Modified:
> >Originator:     Walter C. Pelissero
> >Release:        FreeBSD 9.1-PRERELEASE amd64
> >Organization:
> 
> >Environment:
> System: FreeBSD scylla.home.lan 9.1-PRERELEASE FreeBSD 9.1-PRERELEASE #0:
> Wed Aug 8 16:38:32 CEST 2012
> root@scylla.home.lan:/usr/obj/usr/src/sys/GA870AUD3 amd64
> 
> >Description:
> 	Yamaha E423 doesn't seem to be recognised as MIDI device by
> 	the system.  All that is available is a /dev/ugen.
> 
> >How-To-Repeat:
> 	Plug the keyboard in.
> 
> 	# kldstat | fgrep snd
> 	9     1 0xffffffff80ce5000 3cce0    snd_hda.ko
> 	52    1 0xffffffff812f5000 828d     snd_uaudio.ko
> 
> 	# cat /dev/midistat
> 	FreeBSD Midi Driver (midi2)
> 	No devices installed.
> 
> 	# ls /dev/umidi*
> 	ls: No match.
> 
> 	# dmesg
> 	[...]
> 	usb_alloc_device: set address 4 failed (USB_ERR_IOERROR, ignored)
> 	usbd_setup_device_desc: getting device descriptor at addr 4 failed,
> USB_ERR_IOERROR usbd_req_re_enumerate: addr=4, set address failed!
> (USB_ERR_IOERROR, ignored) usbd_setup_device_desc: getting device
> descriptor at addr 4 failed, USB_ERR_IOERROR usbd_req_re_enumerate:
> addr=4, set address failed! (USB_ERR_IOERROR, ignored)
> usbd_setup_device_desc: getting device descriptor at addr 4 failed,
> USB_ERR_IOERROR ugen2.4: <Unknown> at usbus2 (disconnected)
> 	uhub_reattach_port: could not allocate new device
> 	ugen2.4: <YAMAHA Corporation> at usbus2
> 
> 	# usbconfig | fgrep YAMAHA
> 	ugen2.4: <DigitalKBD YAMAHA Corporation> at usbus2, cfg=0 md=HOST spd=FULL
> (12Mbps) pwr=ON
> 
> 	# usbconfig dump_device_desc
> 	[...]
> 	ugen2.4: <DigitalKBD YAMAHA Corporation> at usbus2, cfg=0 md=HOST spd=FULL
> (12Mbps) pwr=ON
> 
> 	  bLength = 0x0012
> 	  bDescriptorType = 0x0001
> 	  bcdUSB = 0x0200
> 	  bDeviceClass = 0x0000
> 	  bDeviceSubClass = 0x0000
> 	  bDeviceProtocol = 0x0000
> 	  bMaxPacketSize0 = 0x0008
> 	  idVendor = 0x0499
> 	  idProduct = 0x1037
> 	  bcdDevice = 0x0100
> 	  iManufacturer = 0x0001  <YAMAHA Corporation>
> 	  iProduct = 0x0002  <DigitalKBD>
> 	  iSerialNumber = 0x0000  <no string>
> 	  bNumConfigurations = 0x0001

Hi,

Can you try this:

usbconfig -d 2.4 add_quirk UQ_AU_VENDOR_CLASS

Then replug the device?

--HPS



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