LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   USB Devices (https://www.linuxquestions.org/questions/linux-newbie-8/usb-devices-87956/)

bensonlee 09-01-2003 09:14 AM

USB Devices
 
I am a linux newbie. I am using bayanihan linux (built on top of Red Hat Linux 8.0) with kernel 2.4.18-19.8

i do have the following usb devices

epson stylus color c43ux photo
conexant 56000 hcf modem


please do tell me how do i install them on my system. i have downloaded the driver of the modem from linuxant.com but dont know how to install it. This devices are shown in the USB devices. I suppose they are detected, but not installed. please do tell me where do i get a driver of my printer epson.com does not provide one.

please have it step by step.

thank you very much. godbless.

:Pengy:

fancypiper 09-01-2003 09:20 AM

# Compiling/installing kernel modules
You will need to have installed:
1. The developmental packages (compiler)
2. The kernel source code that matches your running kernel
3. The module source or install code

Check out your system and look under the hood and see if you installed the stuff you need to do the job. Open an x terminal and type in this sequence of commands to see what kernel we are running and see if you have the kernel source installed:
Code:

[fancy@tinwhistle fancy]$ su -
Password:
[root@tinwhistle root]# uname -r
2.4.18-3

I am running kernel version 2.4.18-3. Do I have the proper source code?
Code:

[root@tinwhistle root]# cd /usr/src
[root@tinwhistle src]# ls -alc
total 3
drwxr-xr-x    4 root    root          136 Jun 12 14:53 .
drwxr-xr-x  16 root    root          424 Jun  4 12:04 ..
lrwxrwxrwx    1 root    root          14 Jun  4 12:11 linux-2.4 -> linux-2.4.18-3
drwxr-xr-x  16 root    root          584 Jun  4 12:11 linux-2.4.18-3
drwxr-xr-x    7 root    root          168 Jun  4 12:08 redhat
[root@tinwhistle src]#

I do have the same kernel version source code installed in the directory /usr/src/linux-2.4.18-3 and there is a symbolic link named linux-2.4 pointing to it.

If you don't see something similiar to this (but in color), you will need to install the kernel source.

NOTE: I noticed that Red Hat didn't make the symbolic link /usr/src/linux that all of the INSTALL files that I have read mentioned that I need, so I may as well make one now to save editing the files in the source code to install.So, I'll make it just now:
Code:

[root@tinwhistle src]# ln -s linux-2.4.18-3 linux       
[root@tinwhistle src]# ls -alc
total 3
drwxr-xr-x    4 root    root          160 Jun 12 15:46 .
drwxr-xr-x  16 root    root          424 Jun  4 12:04 ..
lrwxrwxrwx    1 root    root          14 Jun 12 15:46 linux -> linux-2.4.18-3
lrwxrwxrwx    1 root    root          14 Jun  4 12:11 linux-2.4 -> linux-2.4.18-3
drwxr-xr-x  16 root    root          584 Jun  4 12:11 linux-2.4.18-3
drwxr-xr-x    7 root    root          168 Jun  4 12:08 redhat
[root@tinwhistle src]#

Ah, there it is, so that's done.

Next, did I install the compiler?
Code:

[root@tinwhistle src]# gcc -v         
Reading specs from /usr/lib/gcc-lib/i386-redhat-linux/2.96/specs
gcc version 2.96 20000731 (Red Hat Linux 7.3 2.96-113)
[root@tinwhistle src]#

Yes, I have a compiler installed.

If you don't have those two things installed, you have to install them first off your install CD.

If they are installed, download the source and happy comiling. :tisk: Make sure you carefully read the README and INSTALL files after extracting and before compiling/installing. :study:

# Guides to software management
LNAG - How do I install a program I downloaded from the Internet?
Rute Guide's software explanation
You might want to check out CheckInstall to manage source code installations/uninstallation

bensonlee 09-01-2003 10:50 AM

i think i had figured a little problem with the modem i am using. mine is usb and the only driver available in linuxant is for the pci. how do i print fron linux? and of course, how do i install the printer first?

thank you very much for such a quick response.
more power!

fancypiper 09-01-2003 10:59 AM

I avoid usb unless I know that Linux will support it. I am afraid the usb modem will only be good for Windows until the mfg will release information about it (aren't the Microsoft business practices great?).

I suggest lots of Google/bbs searches and make sure you have tons of patience if you insist on these working in Linux.

Perhaps if you wrote some letters to customer service of the mfg., you might wake them up.


All times are GMT -5. The time now is 04:41 PM.