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

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

2004-12-13 Thread 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? And What if scheduling happens during the usb_submit_urb() but b

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

[linux-usb-devel] Please help

2004-09-21 Thread Dave Aubin
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? Here's what I have so far: 1. lspci 05:00.0 USB

[linux-usb-devel] Please help porting X-MICRO driver 2.4.xx -> 2.6.xx

2004-01-30 Thread nihil
Hello! I own a X-MICRO WLAN 11b USB Adapter. But it does not work with the kernel version 2.6.1 correctly. If I plug the adapter in, I get the following messages: hub 3-0:1.0: new USB device on port 1, assigned address 2 usb 3-1: device not accepting address 2, error -110 hub 3-0:1.0: Cannot enab

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

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

2002-10-13 Thread Lars Doelle
Folks, I stumbled into a couple of questions for which some on this list might know the answer rightaway, and, if possible, i like to learn about your advice or opinion. I'm currently specifying the comminication protocol for a usb controlled TV set. It appears as if something along the lines