Hi Bubbel,
thanks for your howto for the dxr3. I hope you don't mind if I add a few things I found out while getting to know ubuntu and the dxr3 over the last 6 months.
Since I'm using ubuntu on a headless HTPC, I was happy enough originally just loading the modules manually because a) I didn't yet know how to do it any other way and b) I only restarted the server after updates
There was a kernel update a few months back that broke the modules. I didn't realise then that they needed re-compiling and that gave me the opportunity to work out how to get the modules to load automatically on booting
This is how I did it (after compiling the modules):
After examing a few other files in /etc/modprobe.d and some experimenting, I created a file /etc/modprobe.d/em8300 containing the following:
Code:
# commands installed by some package that don't work
# alias /dev/em8300* em8300
# alias char-major-121 em8300
# install em8300 /sbin/modprobe adv717x && /sbin/modprobe --ignore-install em8300
# commands installed by some package that don't work
# alias char-major-121 em8300
# pre-install em8300 modprobe adv717x
# post-install em8300 em8300setup
# alias char-major-121 em8300
install em8300 /sbin/modprobe --ignore-install adv717x $CMDLINE_OPTS \
&& { /sbin/modprobe --ignore-install em8300 $CMDLINE_OPTS ; }
# default options installed by package
# options adv717x pixelport_16bit=1 pixelport_other_pal=0
# options em8300 dicom_fix=0 dicom_control=0 dicom_other_pal=0
# my options
options adv717x pixelport_16bit=1 pixelport_other_pal=0 \
pixeldata_adjust_pal=3 pixeldata_adjust_ntsc=1
options em8300 major=0 use_bt865=0 dicom_other_pal=0 dicom_fix=0 \
dicom_control=0 bt865_ucode_timeout=0 audio_driver=oss
Note: the commented lines were mostly added when I tried to install the em8300 packages using Synaptic or with debs from the debian repository (which had a newer version). I haven't added a remove command (yet) because I'm not sure how necessary it is
This worked until the last 2 kernel updates (2.6.24-17 & 2.6.24-18). 2.6.24-17 obviously broke the modules again and was an opportunity for me to upgrade em8300 from 0.17-rc1 to the final version. Now comes the bit I didn't know about and had me stumped. I re-compiled the em8300 modules against 2.6.24-18. But they wouldn't load. FATAL: file not found etc. But I
could see them in nautilus. 'Search for files' didn't find them either. After some research I find out the 'locate' can find files in terminal. But that also found nothing. After another hour of research on depmod, I found a suggestion to do an 'updatedb'. And hey presto! the files were 'there'. The OS could finally see the modules as well. 'sudo modprobe em8300' worked and 'cat /proc/em8300' showed the expected results
By the way, is there a typo in your howto?
Code:
cd em8300-0.17.0/modules
./configure
make
make install
Shouldn't this be
Code:
cd em8300-0.17.0
./configure
cd modules
make
make install
?
Bookmarks