Re: [pyusb-users] Initializing several interfaces of the same device

2011-06-10 Thread wander.lairson
2011/6/10 Safoura : > > wander.lairson writes: > >> >> 2011/3/15 Xiaofan Chen : >> > On Tue, Mar 15, 2011 at 10:55 PM, Emmanuel Blot wrote: >> >> I need to detach *all* the interfaces from the (Linux) kernel, or I >> >> sometime get an error (not a big deal for my use case) >> >> I also need to c

Re: [pyusb-users] Initializing several interfaces of the same device

2011-06-10 Thread Safoura
wander.lairson writes: > > 2011/3/15 Xiaofan Chen : > > On Tue, Mar 15, 2011 at 10:55 PM, Emmanuel Blot wrote: > >> I need to detach *all* the interfaces from the (Linux) kernel, or I > >> sometime get an error (not a big deal for my use case) > >> I also need to call dev.set_configuration() t

Re: [pyusb-users] Initializing several interfaces of the same device

2011-03-16 Thread wander.lairson
2011/3/15 Xiaofan Chen : > On Tue, Mar 15, 2011 at 10:55 PM, Emmanuel Blot wrote: >> I need to detach *all* the interfaces from the (Linux) kernel, or I >> sometime get an error (not a big deal for my use case) >> I also need to call dev.set_configuration() to configure the device. >> Nothing unus

Re: [pyusb-users] Initializing several interfaces of the same device

2011-03-15 Thread Xiaofan Chen
On Tue, Mar 15, 2011 at 10:55 PM, Emmanuel Blot wrote: > I need to detach *all* the interfaces from the (Linux) kernel, or I > sometime get an error (not a big deal for my use case) > I also need to call dev.set_configuration() to configure the device. > Nothing unusual I guess. > > The troubles h

Re: [pyusb-users] Initializing several interfaces of the same device

2011-03-15 Thread wander.lairson
2011/3/15 Emmanuel Blot : > Hi, > > I bumped into an issue when initializing a device. > The device (FTDI chip) offers up to four similar UART/serial ports, > each port is tied to a USB interface. > > I use the following piece of code: > >    dev = usb.core.find(idVendor=vendor, idProduct=product)