91
Users / Re: Rii mini i8 wifi multimedia keyboard template: getting multimedia keys working
« on: July 17, 2013, 10:57:19 pm »
Thanks, checked for nulls on FK_DeviceCategory, then checked for non existant categories in the FK of DeviceTemplate... nothing.
But I *did* find my old Device with an FK_DeviceTemplate that didn't exist -> set to the old devicetemplate of the Rii before I sqlcvsed myself. Updated to the new template ID and...
voila...
we're back in business.
So, I'm guessing here, the issue was that I already had a Device in the Device table, which pointed to a non-existant template. Presumably, the code was trying to get the DeviceCategory of the non-existant template so it looked like a DeviceCategory issue. Red-herring.
All good, though, screen is back and I can pick up from there.
Thanks a stack, Thom... useful info on the gdb and coredump stuff that I can use in future. I even found the offending line in TableDeviceTemplate.cpp:
but I haven't a cooking clue what it does... that's a battle for another day perhaps.
But I *did* find my old Device with an FK_DeviceTemplate that didn't exist -> set to the old devicetemplate of the Rii before I sqlcvsed myself. Updated to the new template ID and...
voila...
we're back in business.
So, I'm guessing here, the issue was that I already had a Device in the Device table, which pointed to a non-existant template. Presumably, the code was trying to get the DeviceCategory of the non-existant template so it looked like a DeviceCategory issue. Red-herring.
All good, though, screen is back and I can pick up from there.
Thanks a stack, Thom... useful info on the gdb and coredump stuff that I can use in future. I even found the offending line in TableDeviceTemplate.cpp:
Code: [Select]
long int Row_DeviceTemplate::FK_DeviceCategory_get(){PLUTO_SAFETY_LOCK_ERRORSONLY(sl,table->database->m_DBMutex);
return m_FK_DeviceCategory;}
but I haven't a cooking clue what it does... that's a battle for another day perhaps.