Linux - NewbieThis 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
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.
just after plugging in the usb device run 'dmesg | tail' and post the output. also post the output of 'lsusb' and 'lsmod'.
i think thats a start for us to help.
~$ lspci
0000:00:00.0 Host bridge: VIA Technologies, Inc. VT8377 [KT400/KT600 AGP] Host Bridge
0000:00:01.0 PCI bridge: VIA Technologies, Inc. VT8235 PCI Bridge
0000:00:09.0 Ethernet controller: VIA Technologies, Inc. VT6105 [Rhine-III] (rev 86)
0000:00:11.0 ISA bridge: VIA Technologies, Inc. VT8235 ISA Bridge
0000:00:11.1 IDE interface: VIA Technologies, Inc. VT82C586A/B/VT82C686/A/B/VT823x/A/C PIPC Bus Master IDE (rev 06)
0000:00:11.5 Multimedia audio controller: VIA Technologies, Inc. VT8233/A/8235/8237 AC97 Audio Controller (rev 50)
0000:01:00.0 VGA compatible controller: nVidia Corporation NV34 [GeForce FX 5200] (rev a1)
it looks strange to me that your USB controller isnt listed here.. does the USB port work in say windows?
in the mean time try these commands as root (and post all of the outputs please):
modprobe uhci
modprobe usbcore
(now plug in your device)
dmesg | tail
when you modprobe something and it doesnt give output that means it was inserted properly.
did you plug the device in a usb2.0 port? can you plug it into a regular usb port in the back of the computer thats integrated into the motherboard?
also as mentioned previously can you verify that any of these ports work in another OS such as windows for simplicity? also check the BIOS for anything USB-related and make sure its enabled.
Yes everything worked before I installed ubuntu including the integrated usb and modem. As far as anything related to USB this is the return on the $ dmesg | tail command before device connected
~$ dmesg | tail
[17179608.268000] NET: Registered protocol family 31
[17179608.268000] Bluetooth: HCI device and connection manager initialized
[17179608.268000] Bluetooth: HCI socket layer initialized
[17179608.344000] Bluetooth: L2CAP ver 2.8
[17179608.344000] Bluetooth: L2CAP socket layer initialized
[17179608.344000] Bluetooth: RFCOMM socket layer initialized
[17179608.344000] Bluetooth: RFCOMM TTY layer initialized
[17179608.344000] Bluetooth: RFCOMM ver 1.7
[17179624.704000] eth0: no IPv6 routers present
[17179913.732000] ibm_acpi: ec object not found
and after usb device connected
~$ dmesg | tail
[17179608.344000] Bluetooth: L2CAP socket layer initialized
[17179608.344000] Bluetooth: RFCOMM socket layer initialized
[17179608.344000] Bluetooth: RFCOMM TTY layer initialized
[17179608.344000] Bluetooth: RFCOMM ver 1.7
[17179624.704000] eth0: no IPv6 routers present
[17179913.732000] ibm_acpi: ec object not found
[17210164.108000] cdrom: This disc doesn't have any tracks I recognize!
[17210696.652000] scsi: unknown opcode 0x01
[17211257.148000] usbcore: registered new driver usbfs
[17211257.148000] usbcore: registered new driver hub
if you are positive these ports work as tested in another OS and you havent changed any hardware settings or the BIOS then we can cancel those out. but for your information, when you first power on your computer itll display a bunch of hardware and firmware information and you can usually press something like DEL key and it will enter BIOS. anyways..
can you post 'lspci -v' and 'dmesg | grep -i usb'. also search apt for anything usb, let us know what you find and whats installed or not
~$ lspci -v
0000:00:00.0 Host bridge: VIA Technologies, Inc. VT8377 [KT400/KT600 AGP] Host Bridge
Subsystem: VIA Technologies, Inc. VT8377 [KT400/KT600 AGP] Host Bridge
Flags: bus master, 66MHz, medium devsel, latency 8
Memory at d0000000 (32-bit, prefetchable) [size=128M]
Capabilities: <available only to root>
0000:00:01.0 PCI bridge: VIA Technologies, Inc. VT8235 PCI Bridge (prog-if 00 [Normal decode])
Flags: bus master, 66MHz, medium devsel, latency 0
Bus: primary=00, secondary=01, subordinate=01, sec-latency=0
Memory behind bridge: e0000000-e1ffffff
Prefetchable memory behind bridge: d8000000-dfffffff
Capabilities: <available only to root>
0000:00:09.0 Ethernet controller: VIA Technologies, Inc. VT6105 [Rhine-III] (rev 86)
Subsystem: D-Link System Inc: Unknown device 1406
Flags: bus master, medium devsel, latency 32, IRQ 10
I/O ports at d000 [size=256]
Memory at e2010000 (32-bit, non-prefetchable) [size=256]
Expansion ROM at 30000000 [disabled] [size=64K]
Capabilities: <available only to root>
0000:00:11.0 ISA bridge: VIA Technologies, Inc. VT8235 ISA Bridge
Subsystem: Elitegroup Computer Systems L7VTA v1.0 Motherboard (KT400-8235)
Flags: bus master, stepping, medium devsel, latency 0
Capabilities: <available only to root>
0000:00:11.1 IDE interface: VIA Technologies, Inc. VT82C586A/B/VT82C686/A/B/VT823x/A/C PIPC Bus Master IDE (rev 06) (prog-if 8a [Master SecP PriP])
Subsystem: Elitegroup Computer Systems L7VTA v1.0 Motherboard (KT400-8235)
Flags: bus master, medium devsel, latency 32, IRQ 11
I/O ports at e000 [size=16]
Capabilities: <available only to root>
0000:00:11.5 Multimedia audio controller: VIA Technologies, Inc. VT8233/A/8235/8237 AC97 Audio Controller (rev 50)
Subsystem: Elitegroup Computer Systems L7VTA v1.0 Motherboard (KT400-8235)
Flags: medium devsel, IRQ 5
I/O ports at e400 [size=256]
Capabilities: <available only to root>
0000:01:00.0 VGA compatible controller: nVidia Corporation NV34 [GeForce FX 5200] (rev a1) (prog-if 00 [VGA])
Flags: bus master, 66MHz, medium devsel, latency 32, IRQ 11
Memory at e0000000 (32-bit, non-prefetchable) [size=16M]
Memory at d8000000 (32-bit, prefetchable) [size=128M]
Expansion ROM at e1000000 [disabled] [size=128K]
Capabilities: <available only to root>
well none of that output gives me any hints. to me it looks like the USB controller on your motherboard isnt enabled or working, but you said it is so that cant be the case. i dont know how to search with apt because i dont use a .deb based system, but run 'man apt-get'. im sure its something like 'apt-get --search *usb*'
YAHHOOOOOOO!!! I went into BIOS and found that my usb and onboard modem was not enabled they were both disabled. All I had to do was enable them restart pc and viola now I have 2 working ethernet cards and get this
Code:
~$ lshw
WARNING: you should run this program as super-user.
tribeone
description: Computer
width: 32 bits
*-core
description: Motherboard
physical id: 0
*-memory
description: System memory
physical id: 0
size: 511MB
*-cpu
product: AMD Athlon(tm) XP 2500+
vendor: Advanced Micro Devices [AMD]
physical id: 1
bus info: cpu@0
version: 6.10.0
size: 1850MHz
width: 32 bits
capabilities: fpu fpu_exception wp vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 mmx fxsr sse syscall mmxext 3dnowext 3dnow
*-cache:0
description: L1 cache
physical id: 0
size: 128KB
*-cache:1
description: L2 cache
physical id: 1
size: 512KB
*-pci
description: Host bridge
product: VT8377 [KT400/KT600 AGP] Host Bridge
vendor: VIA Technologies, Inc.
physical id: d0000000
bus info: pci@00:00.0
version: 00
width: 32 bits
clock: 66MHz
resources: iomemory:d0000000-d7ffffff
*-pci
description: PCI bridge
product: VT8235 PCI Bridge
vendor: VIA Technologies, Inc.
physical id: 1
bus info: pci@00:01.0
version: 00
width: 32 bits
clock: 66MHz
capabilities: pci normal_decode bus_master cap_list
*-display
description: VGA compatible controller
product: NV34 [GeForce FX 5200]
vendor: nVidia Corporation
physical id: 0
bus info: pci@01:00.0
version: a1
size: 128MB
width: 32 bits
clock: 66MHz
capabilities: vga bus_master cap_list
configuration: driver=nvidia
resources: iomemory:e0000000-e0ffffff iomemory:d8000000-dfffffff irq:11
*-network:0
description: Ethernet interface
product: VT6105 [Rhine-III]
vendor: VIA Technologies, Inc.
physical id: 9
bus info: pci@00:09.0
logical name: eth0
version: 86
serial: 00:17:9a:ba:d5:3d
width: 32 bits
clock: 33MHz
capabilities: bus_master cap_list ethernet physical
configuration: broadcast=yes driver=via-rhine ip=192.168.0.101 multicast=yes
resources: ioport:d000-d0ff iomemory:e2010000-e20100ff irq:10
*-usb:0
description: USB Controller
product: VT82xxxxx UHCI USB 1.1 Controller
vendor: VIA Technologies, Inc.
physical id: 10
bus info: pci@00:10.0
version: 80
width: 32 bits
clock: 33MHz
capabilities: uhci bus_master cap_list
configuration: driver=uhci_hcd
resources: ioport:d400-d41f irq:11
*-usbhost
product: UHCI Host Controller
vendor: Linux 2.6.15-27-386 uhci_hcd
physical id: 1
bus info: usb@1
logical name: usb1
version: 2.06
capabilities: usb-1.10
configuration: driver=hub maxpower=0mA slots=2 speed=12.0MB/s
*-usb:1
description: USB Controller
product: VT82xxxxx UHCI USB 1.1 Controller
vendor: VIA Technologies, Inc.
physical id: 10.1
bus info: pci@00:10.1
version: 80
width: 32 bits
clock: 33MHz
capabilities: uhci bus_master cap_list
configuration: driver=uhci_hcd
resources: ioport:d800-d81f irq:10
*-usbhost
product: UHCI Host Controller
vendor: Linux 2.6.15-27-386 uhci_hcd
physical id: 1
bus info: usb@2
logical name: usb2
version: 2.06
capabilities: usb-1.10
configuration: driver=hub maxpower=0mA slots=2 speed=12.0MB/s
*-usb
description: Generic USB device
product: Camera
vendor: Logitech, Inc.
physical id: 1
bus info: usb@2:1
version: 1.00
capabilities: usb-1.00
configuration: driver=quickcam maxpower=500mA speed=12.0MB/s
*-usb:2
description: USB Controller
product: VT82xxxxx UHCI USB 1.1 Controller
vendor: VIA Technologies, Inc.
physical id: 10.2
bus info: pci@00:10.2
version: 80
width: 32 bits
clock: 33MHz
capabilities: uhci bus_master cap_list
configuration: driver=uhci_hcd
resources: ioport:dc00-dc1f irq:5
*-usbhost
product: UHCI Host Controller
vendor: Linux 2.6.15-27-386 uhci_hcd
physical id: 1
bus info: usb@3
logical name: usb3
version: 2.06
capabilities: usb-1.10
configuration: driver=hub maxpower=0mA slots=2 speed=12.0MB/s
*-usb:3
description: USB Controller
product: USB 2.0
vendor: VIA Technologies, Inc.
physical id: 10.3
bus info: pci@00:10.3
version: 82
width: 32 bits
clock: 33MHz
capabilities: ehci bus_master cap_list
configuration: driver=ehci_hcd
resources: iomemory:e2011000-e20110ff irq:3
*-usbhost
product: EHCI Host Controller
vendor: Linux 2.6.15-27-386 ehci_hcd
physical id: 1
bus info: usb@4
logical name: usb4
version: 2.06
capabilities: usb-2.00
configuration: driver=hub maxpower=0mA slots=6 speed=480.0MB/s
*-isa UNCLAIMED
description: ISA bridge
product: VT8235 ISA Bridge
vendor: VIA Technologies, Inc.
physical id: 11
bus info: pci@00:11.0
version: 00
width: 32 bits
clock: 33MHz
capabilities: isa bus_master cap_list
*-ide
description: IDE interface
product: VT82C586A/B/VT82C686/A/B/VT823x/A/C PIPC Bus Master IDE
vendor: VIA Technologies, Inc.
physical id: 11.1
bus info: pci@00:11.1
version: 06
width: 32 bits
clock: 33MHz
capabilities: ide bus_master cap_list
configuration: driver=VIA_IDE
resources: ioport:e000-e00f irq:11
*-ide:0
description: IDE Channel 0
physical id: 0
bus info: ide@0
logical name: ide0
clock: 33MHz
*-disk
product: MDT MD800AB-22CBA1
physical id: 0
bus info: ide@0.0
logical name: /dev/hda
capacity: 74GB
*-ide:1
description: IDE Channel 1
physical id: 1
bus info: ide@1
logical name: ide1
clock: 33MHz
*-cdrom
product: SONY CD-RW CRX300E
physical id: 1
bus info: ide@1.1
logical name: /dev/hdd
capabilities: packet
*-multimedia
description: Multimedia audio controller
product: VT8233/A/8235/8237 AC97 Audio Controller
vendor: VIA Technologies, Inc.
physical id: 11.5
bus info: pci@00:11.5
version: 50
width: 32 bits
clock: 33MHz
capabilities: cap_list
configuration: driver=VIA 82xx Audio
resources: ioport:e400-e4ff irq:5
*-network:1
description: Ethernet interface
product: VT6102 [Rhine-II]
vendor: VIA Technologies, Inc.
physical id: 12
bus info: pci@00:12.0
logical name: eth1
version: 74
serial: 00:0d:87:56:8d:32
width: 32 bits
clock: 33MHz
capabilities: bus_master cap_list ethernet physical
configuration: broadcast=yes driver=via-rhine multicast=yes
resources: ioport:ec00-ecff iomemory:e2012000-e20120ff irq:11
and this
~$ ifconfig -a
eth0 Link encap:Ethernet HWaddr 00:17:9A:BA:D5:3D
inet addr:192.168.0.101 Bcast:192.168.0.255 Mask:255.255.255.0
inet6 addr: fe80::217:9aff:feba:d53d/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:162 errors:0 dropped:0 overruns:0 frame:0
TX packets:60 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:54832 (53.5 KiB) TX bytes:6075 (5.9 KiB)
Interrupt:10 Base address:0xd000
eth1 Link encap:Ethernet HWaddr 00:0D:87:56:8D:32
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
Interrupt:11 Base address:0xec00
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:7 errors:0 dropped:0 overruns:0 frame:0
TX packets:7 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:372 (372.0 b) TX bytes:372 (372.0 b)
sit0 Link encap:IPv6-in-IPv4
NOARP MTU:1480 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
I can't believe it was such a simple thing. Thanks so much guy's.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.