Re: [linux-usb-devel] please help on usb_start_wait_urb()

2004-12-16 Thread Alan Stern
On Mon, 13 Dec 2004, Oliver Neukum wrote: > Am Montag, 13. Dezember 2004 09:56 schrieb li xinyi: > > Hi, all > > > > In usb.c (kernel 2.4.20, I have to work on this kernel version), > > > > function usb_start_wait_urb() sets the process state to > > TASK_UNINTERRUPTIBLE and add the process to aw

Re: [linux-usb-devel] please help on usb_start_wait_urb()

2004-12-13 Thread Oliver Neukum
Am Dienstag, 14. Dezember 2004 01:46 schrieb li xinyi: > > This is kernel code. It won't schedule unless it blocks. The preempt code > > will also handle this case. > > > > HTH > > Oliver > > > > Does this mean that a process wont go to sleep in the kernel > mode(2.4.x) u

Re: [linux-usb-devel] please help on usb_start_wait_urb()

2004-12-13 Thread li xinyi
> This is kernel code. It won't schedule unless it blocks. The preempt code > will also handle this case. > > HTH > Oliver > Does this mean that a process wont go to sleep in the kernel mode(2.4.x) unless it explicitly call schedule() or its variants? Thanks, Li Xinyi

Re: [linux-usb-devel] please help on usb_start_wait_urb()

2004-12-13 Thread Oliver Neukum
> And to answer the first part of your question, the state is set and the > process is added to awd.wqh so that it can sleep during the "while > (timeout && !awd.done)" loop. Since schedule_timeout doesn't change > the process state, it will return immediately if the state isn't set > beforeh

Re: [linux-usb-devel] please help on usb_start_wait_urb()

2004-12-13 Thread Oliver Neukum
Am Montag, 13. Dezember 2004 09:56 schrieb li xinyi: > Hi, all > > In usb.c (kernel 2.4.20, I have to work on this kernel version), > > function usb_start_wait_urb() sets the process state to > TASK_UNINTERRUPTIBLE and add the process to awd.wqh before calling > usb_submit_urb(). What is this for

RE: [linux-usb-devel] Please help

2004-09-21 Thread Dave Aubin
to the bios area now. I'll let you know if I fix it:) Thanks, Dave -Original Message- From: Alan Stern [mailto:[EMAIL PROTECTED] Sent: Tuesday, September 21, 2004 3:16 PM To: Dave Aubin Cc: [EMAIL PROTECTED] Subject: Re: [linux-usb-devel] Please help On Tue, 21 Sep 2004, Dave

Re: [linux-usb-devel] Please help

2004-09-21 Thread Alan Stern
On Tue, 21 Sep 2004, Dave Aubin wrote: > Hello, > > We've made a new motherboard and I'm trying to test the > Usb portion of it with a linux 2.6.6 kernel. I can't see anything > In the /proc/bus/usb file listing, yet it is mounted. Can anyone > Please educate me as to how to test the problem

Re: [linux-usb-devel] Please help: hid/hiddev/monitor class - useful for usb controlled tvset?

2002-10-13 Thread Brad Hards
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Mon, 14 Oct 2002 03:28, Lars Doelle wrote: > I'm currently specifying the comminication protocol for a usb controlled TV > set. It appears as if something along the lines of the monitor class could > be used. It is for channel setting, loudness, po