I've never been a fan of drm. I don't understand it. I can barely spell it.
But this is the wall I'm running into. Specifically:
Quote:
* \file drm_auth.c
* IOCTLs for authentication
I've modified some things and moved further down the road to compiling a psb module...but now I'm bumping into this drm auth problem. I don't have the "magic number" in more ways then one.
I don't know if this is hard coded into the device and their way of thinking is that if you don't have the device you don't need the module...or what?
This is what I've done.
Code:
sudo -s
Become super straight away
Code:
cd /usr/scr/linux-headers-3.0.9-dsp/arch/x86
Code:
cp Makefile Makefile_32
(It's a 32/64 bit Makefile but the psb module is looking for a 32 bit Makefile...so I gave it one.)
I went downtown and picked through the waste bin for the file attached at the bottom of this post and copied it from the Downloads directory to the current directory.
Code:
cp ~/USER$/Download/Makefile_32.cpu.txt Makefile_32.cpu
Repaired a symbolic link...
Code:
cd /usr/src/linux-headers-3.0.9-dsp/includes
Code:
rm asm
Code:
ln -s asm-x86 asm
Edited the module code so it doesn't choke on the kernel
Code:
gedit /usr/src/psb-kernel-source-4.42.0/Makefile
went down to lines 256-259 and comment out with a
#Code:
#ifeq ($(BELOW26),y)
#$(error Only 2.6.x and later kernels are supported \
# ($(VERSION).$(PATCHLEVEL).$(SUBLEVEL)))
#endif
Save and exit gedit
Code:
cd /usr/src/psb-kernel-source-4.42.0/
Code:
make
Since you have the hardware; try it...and see if it makes it through.
If it does....
Code:
make install
or
Code:
apt-get -f install
If not, it's back to the drawing board.