conexant modem and hsfconfig asks for source build dir (Mandrake 9.1)
Linux - HardwareThis forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
conexant modem and hsfconfig asks for source build dir (Mandrake 9.1)
I have installed Mandrake 9.1 and everything seems to work fine including sound and my TV-out. I have determined that my modem is Conexant and requires the hsf driver from linuxant.com. I install the driver and run hsfconfig as directed and then it asks where the linux source build directory is that matches my running kernel. The default shows usr/src/linux. Accepting this default directory errors with the following:
Code:
WARNING: missing file /usr/src/linux/include/linux/autoconf.h
The cause of this problem is usually a missing or misconfigured
kernel source tree (and sometimes an incorrect directory or
symbolic link).
First, ensure that the proper kernel source and compiler
packages from your distribution vendor and/or the community are
installed.
The Linux kernel can then be reconfigured by running "make
menuconfig" under the kernel source directory
(usually /usr/src/linux).
Verify that the proper options for your ystem are selected, and
that CONFIG_SMP ("Symmetric multi-processing support"
under "Processor type and features") is disabled, as this driver is
presently designed to work on single-processor machines.
Then compile and install your new kernel (for more information
about this procedure, see the README file under the kernel
source directory), boot the system using the new kernel, and
re-run "hsfconfig".
Can someone point me to the correct directory? Alternately, do I need to create the directory? Any help is appreciated.
!!! quite amusing ! did u install a rpm or a src ?
btw the src directory will be /usr/src/linux-KERNEL_VERSION
so if u need to hack the script use this info
tip u can use uname -r on the shell prompt to get ur kernel version ..also make sure that u have installed the proper version of the driver meant for ur kernel..
i had installed a hsf modem on redhat ..the improper version may be the cause of the errors
I installed the distribution specific rpm...http://www.linuxant.com/drivers/hsf/...-1mdk.i586.rpm I had already made sure that my kernel version matched. Version 2.4.21_0.13mdk. So, thanks for the tip Juby but my install of Mandrake did not create the /usr/src/linux-2.4.21_0.13mdk directory. Any other suggestions?
ok u can just create a dir in /src directiory with ur kernel version as its name and link it to the actual src driectory..that way u can get around the probs..
coming to the redhat qn.. it was a smooth install with no issues at all.. i may be able to help u if u tell me what exactly is ur problem. most common causes are unmatching type drivers, ie trying to install hsf for hcf chips or the other way round ..incorrfect version of drivers etc..any way tell me what is the problem u r facing.. hth
i dont think that will cause a problem, 'coz i have a sm56 that has irq 10 and nvidia also on the same IRQ.
btw have u installed the kernel-src rpm ?
if not try installing it.. if u have already installed it .. u may have to fix the hsfconfig script urself by replacing the path to the kernel given there by the actual path.. did u try creating a dir and linking it to the actual dir as i said earlier ???
ie if the hsfconfgi script demands for /usr/src/blah_123/foo.h
create a dir called /blah_123 in /usr/src and link it to the place where ur kernl sources are installed.
it dint ask for any kernel srcs when i installed it from an rpm
in plain words
what u have to do is just create a dir caleld 'linux' in /usr/src/
and use the ln comand to link it to ur actual src directory.. first u may have to install the src.
then just run hsfconfig ..it should work
FYI: /usr/src/linux/ is a symbolic link automatically created to point to the correct linux source directory once you install the kernel source packages off the cd.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.