USB Keyboard not worked on current (r251681)

Hans Petter Selasky hans.petter.selasky at bitfrost.no
Sat Jun 15 11:41:02 UTC 2013


Hi,

sys/dev/usb/usb_busdma.c

Just add error printf() there in all cases. Should be trivial.

Probably also something is printed by: sysctl hw.usb.debug=15

--HPS
 
-----Original message-----
> From:Konstantin Belousov <kostikbel at gmail.com>
> Sent: Saturday 15th June 2013 12:24
> To: Hans Petter Selasky <hans.petter.selasky at bitfrost.no>
> Cc: Sergey V. Dyatko <sergey.dyatko at gmail.com>; current at freebsd.org
> Subject: Re: USB Keyboard not worked on current (r251681)
> 
> On Sat, Jun 15, 2013 at 09:34:59AM +0200, Hans Petter Selasky wrote:
> > It is some error code from busdma.
> This is not helpful, obviously.
> 
> We need to know exactly what call failed, with what parameters together
> with the values from the tag. Then the hypothesis about the system state
> could be made and corresponding information requested.
> 
> > 
> > --HPS 
> >  
> > -----Original message-----
> > > From:Konstantin Belousov <kostikbel at gmail.com>
> > > Sent: Saturday 15th June 2013 7:29
> > > To: Sergey V. Dyatko <sergey.dyatko at gmail.com>
> > > Cc: kib at freebsd.org; current at freebsd.org
> > > Subject: Re: USB Keyboard not worked on current (r251681)
> > > 
> > > On Fri, Jun 14, 2013 at 12:41:28PM +0300, Sergey V. Dyatko wrote:
> > > > On Fri, 14 Jun 2013 11:36:56 +0200
> > > > Hans Petter Selasky <hps at bitfrost.no> wrote:
> > > > 
> > > > > See this thread and solution "Supermicro 6027R-N3RF+head, usb trouble"
> > > > > 
> > > > It was 'fixed' by r251282, but I see r251681 on subject :)
> > > > added kib@ to Cc
> > > 
> > > It was not 'fixed', I reacted on something which was wrong on its own,
> > > and which was accidentally reported to somehow cover/fix the USB issue.
> > > 
> > > You have to trace does the real cause of the USB failure, in particular,
> > > to find the place where USB_ERR_NOMEM comes from. But, the error from
> > > the usbd_ctrl_transfer_setup: 'could not setup default USB transfer'
> > > comes before ENOMEM and its cause is lost in the USB code.
> > > 
> 


More information about the freebsd-current mailing list