Re: Probe function question

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

 



> 
> 
> On 17 June 2014 09:31:07 CEST, Vlad Ungureanu <vvu@xxxxxxx> wrote:
> 
> >The driver matches the VID/PID of a LG Nexus5 and tries in the probe
> >function
> >to switch it to ADK Mode *Accessory Development Kit Mode*. 
> 
> This sounds like something you'd normally do from userspace.
We are trying to use an Android device as an USB display for the BeagleBone
Black and currently we are following the working flow of the DisplayLink driver.
> 
> 
> >The problem is that my probe callback is called twice for each mode of
> >the
> >device, normal mode and ADK mode. 
> 
> Maybe the device has more than one interface? As long as you match only on device id, the driver will be probed for every interface.
> 
> If that is not your intention, then you need to be more specific in the match table.
Yes, it matches the whole device so that is why every interface gets probed. I
will change that.
> 
> 
> Bjørn
> 

-- 
Vlad Ungureanu

Attachment: signature.asc
Description: Digital signature


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

  Powered by Linux