User:Mrand/non myth stuff

From MythTV Official Wiki
< User:Mrand(Redirected from Mrand/non myth stuff)
Jump to: navigation, search
  • nautilus (gnome file manager) doesn't show the path. Either hit ctrl-l, or fix this highly annoying oversight permanently: always_use_location_entry
  • nx client installed without a hitch. On rare occasions, it takes a long time to establish a connection though. Installing xfs package fixed that.
  • Install drivers for USR5421 (USB adapter for wireless max-g):
    1. install ndisgtk: aptitude install ndisgtk
    2. install cabextract and unshield: sudo aptitude install cabextract unshield
    3. unzip 5421-na-1.00.022.exe
    4. cabextract Data.exe
    5. cd Disk1
    6. unshield x data1.cab
    7. cd Installer_Files_USB2kXp/
    8. mkdir /etc/ndiswrapper
    9. use ndisgtk (or ndiswrapper -i USR5421X.inf) (actually says fail because .sys files are missing. Regardless of the message, this command creates /etc/ndiswrapper/usr5421x directory and puts stuff in it)
    10. Exit ndisgtk
    11. sudo mv usb8023k.sys /etc/ndiswrapper/usr5421x
    12. sudo mv RNDISMPK.sys /etc/ndiswrapper/usr5421x/rndismpk.sys
    13. Re-run ndisgtk maybe - says hardware present (and implies driver is installed)
    14. ndiswrapper -l can be used to verify install also .... investigate ndis-gtk for ndiswrapper
    15. not sure what this does, but ndiswrapper docs say do it: depmod -a
    16. sudo modprobe ndiswrapper
    17. Plug in device
    18. check /var/log/syslog (or dmesg?) for crash
    19. config device with any one of these: iwconfig, gdisgtk, or ubuntu network config
    20. some older systems may need
      BUS==”usb”, SYSFS{idProduct}==”011b”, SYSFS{idVendor}==”0baf”, \ PROGRAM=”/bin/sh -c ‘echo 1 > /sys/%p/device/bConfigurationValue’“
      ubuntu looks like it might need RUN+="/bin/sh -c 'echo 1 > /sys/$devpath/device/bConfigurationValue'" rather than PROGRAM= and %p?
    21. To autostart, some systems might need to sudo ndiswrapper -m
    22. If that doesn't autostart, check out [1]
  • Rebuild Ubuntu kernel
    1. sudo aptitude install libncurses5 libncurses5-dev # if you plan to use 'make menuconfig'
    2. sudo aptitude install fakeroot bzip2
    3. sudo aptitude install linux-source # kernel source for currently running version of ubuntu
    4. cd /usr/src
    5. ln -s linux-2.6.<whatever> linux
    6. cd /usr/src/linux
    7. sudo cp -vi /boot/config-2.6.24-19-generic .config
    8. sudo make menuconfig
    9. kernel -> deselect debug
    10. sudo make-kpkg clean
    11. sudo fakeroot make-kpkg --initrd --append-to-version=-custom kernel-image kernel-headers
    12. Wait hours
    13. echo vesafb | sudo tee -a /etc/initramfs-tools/modules
    14. echo fbcon | sudo tee -a /etc/initramfs-tools/modules
    15. sudo dpkg -i linux-image-<version>_i386.deb
    16. sudo dpkg -i linux-headers-<version>_i386.deb
  • Debug kernel stuff
    • Documentation/usb/usbmon.txt
    • /etc/modprobe.d/blacklist ... enable evbug here if need be
    • options hid debug=2 in modprobe.d/hid
    • or: modprobe hid debug=2
  • Install Horde (with help from [2]
    1. Edit /etc/php5/apache2/php.ini and increase max_filesize
    2. Add AddType application/x-httpd-php .php to /etc/apache2/httpd.conf (I think)
    3. Add DirectoryIndex index.html index.htm index.php index.shtml to /etc/apache2/apache2.conf