| To: | "Konstantin Baydarov" <kbaidarov@xxxxxxxxxxxxx> |
|---|---|
| Subject: | Re: [PATCH] Add support for USB Keyboard attached to UHCI |
| From: | "jidong xiao" <jidong.xiao@xxxxxxxxx> |
| Date: | Fri, 23 Nov 2007 14:23:33 +0800 |
| Cc: | "Aaron Young" <ayoung@xxxxxxxxxxxxxxxxxxxx>, "Jay Lan" <jlan@xxxxxxx>, kdb@xxxxxxxxxxx |
| Dkim-signature: | v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; bh=cuEBeAizGpf7CMRDa2buDbMqTbP0X/LNOQoab+edshE=; b=dDsKjxsBdzZJVgRzySQ9JAVdcSKIZIm50anr/g7+XsG2f0HjKYkbXQT9ZJIw1pXWFFnJn6ZsFAxOQQ/p15v3sPakAo/qAVgLURGLevgmfv1BpBvCWUxtNFl344evmSrQ68ynDnnXcOS5N2Uoms+PGfWBxhEcMFaI3CI+nrnlcuo= |
| Domainkey-signature: | a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=Y8BHU+Ql9WWTk+ki1PaogVw7O8cRf8Tn13ADbKIaYzcTyeheZ+bRQ79V43mA8OI91Ckz+9ME0K+ZZLXPZq2pNwiGSTJklAwIm1kQR/vsBoJMkUnJ3c7JU49sLTColk61mpRlAIr/b/93deiNMO0wk/bv21XC1fVBkLM1oihywnA= |
| In-reply-to: | <20071121150150.01b5d24d@xxxxxxxxxxxxxxxxxxxxx> |
| References: | <20071105211716.14674612@medved> <200711051854.lA5Isg1n4205041@xxxxxxxxxxxxxxxxxx> <20071107171137.792d0304@xxxxxxxxxxxxxxxxxxxxx> <20071121150150.01b5d24d@xxxxxxxxxxxxxxxxxxxxx> |
| Sender: | kdb-bounce@xxxxxxxxxxx |
On Nov 21, 2007 8:01 PM, Konstantin Baydarov <kbaidarov@xxxxxxxxxxxxx> wrote: > > On Wed, 7 Nov 2007 17:11:37 +0300 > Konstantin Baydarov <kbaidarov@xxxxxxxxxxxxx> wrote: > > > On Mon, 5 Nov 2007 10:54:42 -0800 (PST) > > Aaron Young <ayoung@xxxxxxxxxxxxxxxxxxxx> wrote: > > > > > > > > Would it be possible for you to wait for my new kdb/usb > > > infastructure code and re-implement your UHCI code against it at > > > that time? I could attempt to take an in depth look at it at that > > > time perhaps... > > > > > > Thanks, > > > > > > -Aaron > > > > Yes I'll intergrate UCHI code to the new KDB. > > --------------------------- > > Use http://oss.sgi.com/ecartis to modify your settings or to > > unsubscribe. > > UCHI support integrated to kdb-v4.4-2.6.24-rc2. Tested on i386 UP PC. > > @@ -135,6 +261,9 @@ get_usb_char(void) > int ret; > unsigned char keycode, spec; > extern u_short plain_map[], shift_map[], ctrl_map[]; > + int poll_ret, i2, j, max; > + > + ret = -1; > > /* > * Loop through all the USB keyboard(s) and return > @@ -148,20 +277,27 @@ get_usb_char(void) > continue; > > /* Transfer char */ > - ret = (*kdb_usb_kbds[i].poll_func)(kdb_usb_kbds[i].urb); > - if (ret == -1) /* error or no characters, try the next kbd */ > + poll_ret = (*kdb_usb_kbds[i].poll_func)(kdb_usb_kbds[i].urb); > + if (poll_ret == -1) /* error or no characters, try the next > kbd */ > continue; > It seems once get_usb_char() is called,the poll_func i.e. uhci_kdb_poll_char might be invoked, but I am wondering who calls get_usb_char()?I didn't find any place where get_usb_call() is invoked. Regards Jason --------------------------- Use http://oss.sgi.com/ecartis to modify your settings or to unsubscribe. |
| Previous by Date: | Re: [PATCH] Add support for USB Keyboard attached to UHCI, Konstantin Baydarov |
|---|---|
| Next by Date: | Re: [PATCH] Add support for USB Keyboard attached to UHCI, Aaron Young |
| Previous by Thread: | Re: [PATCH] Add support for USB Keyboard attached to UHCI, Konstantin Baydarov |
| Next by Thread: | Re: [PATCH] Add support for USB Keyboard attached to UHCI, Aaron Young |
| Indexes: | [Date] [Thread] [Top] [All Lists] |