[Barry-devel] patch for probe.cc - working with 2.6.14 and later.
Status: Beta
Brought to you by:
ndprojects
From: Ron G. <ro...@ro...> - 2006-06-10 00:19:24
|
Chris had asked me to send him this - and to start posting to the mailing list so others can laugh at me too! :) Anyhow, here is what I did to probe.cc to get it to work with kernels 2.6.14 and higher (and probably some earlier ones too)... diff -u probe.cc probe.cc~ --- probe.cc 2006-06-08 19:29:05.000000000 -0400 +++ probe.cc~ 2006-06-08 19:29:05.000000000 -0400 @@ -110,10 +110,11 @@ dev.Reset(); sleep(5); + Interface iface(dev, BLACKBERRY_INTERFACE); + if( !dev.SetConfiguration(BLACKBERRY_CONFIGURATION) ) throw BError(dev.GetLastError(), "Probe: SetConfiguration failed"); - Interface iface(dev, BLACKBERRY_INTERFACE); Data data; Intro(0, dev, data); -- Ron Gage - Westland, MI (MCP, LPIC1, A+, Net+) Custom Linux Software |