LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 02-13-2004, 12:05 AM   #1
kessario
LQ Newbie
 
Registered: Sep 2003
Posts: 6

Rep: Reputation: 0
how to install/configure usb?


Ive been attempting to install usb support on my woody-debian installation to support a printer.

Ive been trying to search for other people with the same problem, and Ive read that I need to run 'make menuconfig', which gives me the response 'make: *** No rule to make target `menuconfig'. Stop.'

So, i then read that i needed to look for some documentation in the '/usr/src/linux' directory, but this directory does not exist.

Is it possible that someone could outline the steps in checking whether usb exists on my system, and if it doesn't, how to configure it.

Thanks, in great frustration.
 
Old 02-13-2004, 02:36 AM   #2
Bruce Hill
HCL Maintainer
 
Registered: Jun 2003
Location: McCalla, AL
Distribution: Funtoo
Posts: 6,926

Rep: Reputation: 128Reputation: 128
Re: how to install/configure usb?

Quote:
Originally posted by kessario
Ive been attempting to install usb support on my woody-debian installation to support a printer.

Ive been trying to search for other people with the same problem, and Ive read that I need to run 'make menuconfig', which gives me the response 'make: *** No rule to make target `menuconfig'. Stop.'
I think maybe they're telling you to recompile your kernel. That might not
be necessary. I used to run Debian Woody, and it found all my USB devices.
However, I'm running Slack now so can't help much. However, I'll try.

Quote:
So, i then read that i needed to look for some documentation in the '/usr/src/linux' directory, but this directory does not exist.
That's the directory where your kernel should be located. I think in Debian there's
a symlink in /usr/src to /linux but I can't remember. Please post the output of
$ ls -aFlc /usr/src
Anytime you see the $ it means you're logged in as a regular user, and when you
see # it means you're logged in as root (su - super user). When you post
output such as that, put [_code_] without the underscores before it, and then
[_/code_] without the underscores after it, so it's easier to read. I had to put the
underscores in these instructions so that it didn't code it now.

Quote:
Is it possible that someone could outline the steps in checking whether usb exists on my system, and if it doesn't, how to configure it.

Thanks, in great frustration.
In a terminal, login as root (su), and run the command lsusb (that's a lower
case L - it means list (ls) all USB devices (usb). Also run man lsusb for more
information about the output. This is what it looks like on my box. After you
run the command, use your mouse and highlight all the data just as I've done,
then you can paste it by clicking with the scroll wheel.

Code:
root@paul:Fri Feb 13 16:09:42/home/mingdao/source/scribus-1.1.4# lsusb
Unknown line at line 1809
Duplicate HUT Usage Spec at line 2650
Bus 004 Device 001: ID 0000:0000 Virtual Hub
Bus 004 Device 002: ID 03f0:1504 Hewlett-Packard
Bus 003 Device 001: ID 0000:0000 Virtual Hub
Bus 003 Device 002: ID 045e:0059 Microsoft Corp.
Bus 002 Device 001: ID 0000:0000 Virtual Hub
Bus 002 Device 002: ID 05da:30d9 Microtek International Inc.
Bus 001 Device 001: ID 0000:0000 Virtual Hub
After you post the output we'll need to look at your kernel config file to see
what's in there - and pray one of the Debian gurus show up in the meantime.
 
Old 02-13-2004, 08:35 AM   #3
ac1980
Member
 
Registered: Aug 2003
Location: Trento, Italy
Distribution: Debian testing
Posts: 394

Rep: Reputation: 30
I think woody comes by default with a 2.2 kernel, it's quite old and has poor usb support. However you don't need to recompile: you can apt-get a pre-built kernel.
There is a 2.4.18bf kernel on debian cds, or you can download a newer one.
Simply give this command (as root)
Code:
# apt-get install kernel-image-2.4-arc
where arc stands for your architecture: 386, 586 for pentium, 686 for P2 P3 P4, k6 or k7 for Athlon


PS: If you have a broadband connection I suggest upgrading to sarge (testing) which is, despite its name, pretty stable nowdays. In case ask for help.
 
Old 02-15-2004, 01:09 PM   #4
scheidel21
Senior Member
 
Registered: Feb 2003
Location: CT
Distribution: Debian 6-7, WIN 7-10, WIN SRV 03-12r2
Posts: 1,312

Rep: Reputation: 98
also make sure you have hotplug installed apt-get insatall hotplug, and also if you use gnome or KDE3 there are utility programs in each which will set-up a printer for you automatically. KDE2 comes default with woody but if you go to kde.org they have directions on adding the kde site as an apt source and then they have pre-built binaries for woody for kde3

--Alex
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
How to configure USB connection bpavanchand Linux - General 1 09-29-2005 08:06 AM
I want to install/configure my wireless usb DWL -122 on Mandrake linux. dustynus Linux - Newbie 0 01-02-2005 07:40 PM
configure: error: when trying to install / configure new software ? met tomfer007 Linux - Software 1 07-25-2004 03:52 PM
how to configure HP Deskjet 3325 USB PRINTER AND ACER 3300 USB SCANNER ON RHL 8.0 rddreamz Linux - Newbie 2 07-12-2003 08:05 AM
how to configure usb modem onlyhuman9 Linux - Hardware 2 10-13-2002 01:40 PM


All times are GMT -5. The time now is 04:21 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration