droidzone

Debian_sound_config

Nov 24th, 2012
65
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. Debian Sound Troubleshooting and installing CA0106
  2. -------------------------------------------------
  3. sudo aptitude install hardinfo
  4.  
  5. For more info about hardware
  6.  
  7. droidzone@debian:~/android$ cat /proc/asound/modules
  8. 0 snd_hda_intel
  9. droidzone@debian:~/android$ aplay -l
  10. **** List of PLAYBACK Hardware Devices ****
  11. card 0: Intel [HDA Intel], device 0: ALC662 rev1 Analog [ALC662 rev1 Analog]
  12. Subdevices: 1/1
  13. Subdevice #0: subdevice #0
  14. card 0: Intel [HDA Intel], device 1: ALC662 rev1 Digital [ALC662 rev1 Digital]
  15. Subdevices: 1/1
  16. Subdevice #0: subdevice #0
  17.  
  18. which shows that CA0106 has not been found.
  19.  
  20. droidzone@debian:~/android$ cat /proc/asound/cards
  21. 0 [Intel ]: HDA-Intel - HDA Intel
  22. HDA Intel at 0xe3200000 irq 16
  23.  
  24. Compile kernel modules
  25. wget http://alsa.cybermirror.org/driver/alsa-driver-1.0.25.tar.bz2
  26. wget http://alsa.cybermirror.org/lib/alsa-lib-1.0.26.tar.bz2
  27. wget http://alsa.cybermirror.org/firmware/alsa-firmware-1.0.25.tar.bz2
  28. wget http://alsa.cybermirror.org/utils/alsa-utils-1.0.26.tar.bz2
  29.  
  30. Extract all
  31.  
  32. cd alsa-driver-1.0.25
  33. ./configure --with-cards=ca0106 --with-sequencer=yes
  34. make
  35. make install
  36.  
  37. cd ../alsa-lib-1.0.26
  38. ./configure
  39. make ; make install
  40.  
  41. cd ../alsa-firmware-1.0.25
  42. ./configure
  43. make ; make install
  44.  
  45. cd ../alsa-utils-1.0.26
  46. ./configure
  47.  
  48. Errored during config
  49. checking for panel.h... no
  50. configure: error: required curses helper header not found
  51.  
  52. Again config...Another error
  53. checking for new_panel in -lpanelw... no
  54. configure: error: panelw library not found
  55.  
  56. This was due to another missing lib:
  57. sudo apt-get install libncursesw5-dev
  58.  
  59. Now it configures fine.
  60.  
  61. Make gives an error however:
  62. /bin/bash: xmlto: command not found
  63. make[2]: *** [alsactl_init.7] Error 127
  64. make[2]: Leaving directory `/home/droidzone/Downloads/alsa-utils-1.0.26/alsactl'
  65. make[1]: *** [all-recursive] Error 1
  66. make[1]: Leaving directory `/home/droidzone/Downloads/alsa-utils-1.0.26/alsactl'
  67. make: *** [all-recursive] Error 1
  68.  
  69. Solved by:
  70. sudo apt-get install xmlto
  71.  
  72. Note: A large list of packages will be installed when you install xmlto (depending on your own system of course).
RAW Paste Data