> What do you see in /proc/bus/usb/devices? Maybe the interface is > already claimed by another driver.
I think this is the relevant section: T: Bus=01 Lev=01 Prnt=01 Port=00 Cnt=01 Dev#= 6 Spd=12 MxCh= 0 D: Ver= 1.10 Cls=ff(vend.) Sub=ff Prot=ff MxPS=64 #Cfgs= 1 P: Vendor=0547 ProdID=2235 Rev=aa.06 C: #Ifs= 1 Cfg#= 1 Atr=80 MxPwr=100mA I: If#= 0 Alt= 0 #EPs= 0 Cls=ff(vend.) Sub=ff Prot=ff Driver= I: If#= 0 Alt= 1 #EPs=13 Cls=ff(vend.) Sub=ff Prot=ff Driver= E: Ad=81(I) Atr=03(Int.) MxPS= 16 Ivl=10ms ... I: If#= 0 Alt= 2 #EPs=13 Cls=ff(vend.) Sub=ff Prot=ff Driver= E: Ad=81(I) Atr=03(Int.) MxPS= 64 Ivl=10ms ... Someone told me to call usb_detach_kernel_driver_np before usb_claim_interface but it doesn't change a thing: "No such device on the 1st" and "No such file or directory" on the 2nd. If after that I call set_altinterface anyway, I get -22 as a return value but errno remains at 0. Bug ? -- Guillaume Dargaud http://www.gdargaud.net/ ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Linux-usb-users@lists.sourceforge.net To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-users