[00:46:37] *** Quits: n1s (~n1s@rockbox/developer/n1s) (Quit: Ex-Chat) [02:04:15] *** Joins: clustur (~logger@68.53.250.91) [02:04:15] *** Quits: clustur (~logger@68.53.250.91) (Remote host closed the connection) [02:16:05] user890104: dev._active_cfg_index should work fine [06:07:24] *** Quits: [7] (~quassel@rockbox/developer/TheSeven) (Disconnected by services) [06:07:33] *** Joins: TheSeven (~quassel@rockbox/developer/TheSeven) [08:04:12] *** Joins: clustur (~logger@c-68-53-250-91.hsd1.tn.comcast.net) [08:04:12] *** Quits: clustur (~logger@c-68-53-250-91.hsd1.tn.comcast.net) (Remote host closed the connection) [10:23:18] *** Quits: liar (~liar@clnet-p09-185.ikbnet.co.at) (Read error: Connection reset by peer) [10:28:14] *** Joins: n1s (~n1s@nl118-168-30.student.uu.se) [10:28:14] *** Quits: n1s (~n1s@nl118-168-30.student.uu.se) (Changing host) [10:28:14] *** Joins: n1s (~n1s@rockbox/developer/n1s) [10:28:16] *** Joins: liar (~liar@clnet-p09-185.ikbnet.co.at) [10:34:18] *** Quits: liar (~liar@clnet-p09-185.ikbnet.co.at) (Ping timeout: 245 seconds) [10:35:41] *** Joins: liar (~liar@clnet-p09-185.ikbnet.co.at) [12:09:09] Dgby714: well, it doesn't [12:09:11] AttributeError: 'Device' object has no attribute '_active_cfg_index' [12:09:31] i'm using it like this: if (self.dev._active_cfg_index == 0): [14:04:15] *** Joins: clustur (~logger@c-68-53-250-91.hsd1.tn.comcast.net) [14:04:15] *** Quits: clustur (~logger@c-68-53-250-91.hsd1.tn.comcast.net) (Remote host closed the connection) [14:23:59] *** el3ctrik-away is now known as el3ctrik [20:04:16] *** Joins: clustur (~logger@c-68-53-250-91.hsd1.tn.comcast.net) [20:04:16] *** Quits: clustur (~logger@c-68-53-250-91.hsd1.tn.comcast.net) (Remote host closed the connection) [21:07:13] *** Quits: n1s (~n1s@rockbox/developer/n1s) (Ping timeout: 245 seconds) [21:37:12] user890104: Ah, Device, I was thinking self.dev was a _ResourceManager, one sec [21:39:16] user890104: self.dev. [21:39:19] oops [21:39:39] user890104: self.dev._ctx._active_cfg_index [22:09:39] Also add a check for pyusb's version, there's no need on newer versions as you said before [22:10:57] iirc, it's usb.version_info = (1, 0, 0, 'a4') [22:59:32] setting a configuration doesn't work for me on ubuntu, when i read it back it's still set to 0 [23:00:17] and since i don't know python well, i'll leave it to mr.someone to make a proper fix [23:00:33] * user890104 looks at Farthen