Re: Host controller ID

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Greg,

yeah .. Ideally it should not care for any HC.

But I am  writing an application, which is doing the USB tests,
according to the test spec, to accomplish this I did introduce the

ioctl according to my requirement. So I am not getting how the more
than one HC is handled.

Will be great if u can through some light on this issue.

Each controller is having one port, so need to change the controller
every time the USB port under use is changed.

How can I incorporate it in my IOCTL.

many thanks
Prabhu



On Fri, Jun 26, 2009 at 10:59 AM, Greg KH<greg@xxxxxxxxx> wrote:
> On Fri, Jun 26, 2009 at 10:40:03AM +0530, Prabhu Chawandi wrote:
>> Yes  Alan,
>>
>>   I can see the messages as
>> 1. usb 1:1  <Controller 1>
>> 2. usb 2:1  <Controller 2>
>>
>> But in the ioctl, I wrote to test  for my sake.  In the code it is
>> taking Controller 1 only as i can print roothub devnum, which is
>> always one.
>>
>> I am manipualting but getting kernel crash.
>>
>> Can u please guide me to  make changes so that my code will handle the
>> two host controllers properly.
>
> A USB driver should never care about any host controller.
>
> What is the task you are trying to accomplish here?
>
> thanks,
>
> greg k-h
>
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux