LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 03-02-2007, 04:28 PM   #1
nesta
Member
 
Registered: Aug 2006
Posts: 100

Rep: Reputation: 15
question about libusb?!!


hi all,
i m using SUSE 10.2 distro.
libusb is installed by default @ my labtop.

the strange thing that when i run the simple test program which is
libusbtest.c in the folder of tests i got the following output:

Code:
Dev#1 OHCI Hsost controller
Dev#2 Broadcom Corp - Acer Module 
Dev#1 OHCI Host controller
Dev#1 EHCI Host controller
Dev#3 USB20 Camera
Although i did not connect any device to any of my usb ports.
Does anyone know how can this happen?
or do i have these devices internally on my labtop?


thanks in advance.
 
Old 03-04-2007, 11:12 AM   #2
colucix
Moderator
 
Registered: Sep 2003
Location: Bologna
Distribution: CentOS 6.5 OpenSuSE 12.3
Posts: 10,509

Rep: Reputation: 1957Reputation: 1957Reputation: 1957Reputation: 1957Reputation: 1957Reputation: 1957Reputation: 1957Reputation: 1957Reputation: 1957Reputation: 1957Reputation: 1957
Quote:
Originally Posted by nesta
Although i did not connect any device to any of my usb ports.
Does anyone know how can this happen?
or do i have these devices internally on my labtop?
The second you've spoken about!
It lists the USB controllers mounted on the mother board (the EHCI and OHCI stuff), the integrated camera and some other device maybe related to networking.
On my SuSE 10.2 I installed the utility hwinfo, a simple program that lists results from the hardware detection library. Here is what it gives about usb stuff on my laptop (without USB devices attached, except for wireless usb mouse)
Code:
> hwinfo --usb

03: USB 00.0: 10a00 Hub
  [Created at usb.122]
  UDI: /org/freedesktop/Hal/devices/usb_device_0_0_0000_00_1d_7_if0
  Unique ID: k4bc.svvaPNStqwC
  SysFS ID: /devices/pci0000:00/0000:00:1d.7/usb1/1-0:1.0
  SysFS BusID: 1-0:1.0
  Hardware Class: hub
  Model: "Linux 2.6.18.2-34-default ehci_hcd EHCI Host Controller"
  Hotplug: USB
  Vendor: "Linux 2.6.18.2-34-default ehci_hcd"
  Device: "EHCI Host Controller"
  Revision: "2.06"
  Serial ID: "0000:00:1d.7"
  Driver: "hub"
  Driver Modules: "usbcore"
  Speed: 480 Mbps
  Module Alias: "usb:v0000p0000d0206dc09dsc00dp01ic09isc00ip00"
  Driver Info #0:
    Driver Status: usbcore is active
    Driver Activation Cmd: "modprobe usbcore"
  Config Status: cfg=no, avail=yes, need=no, active=unknown

04: USB 00.0: 10a00 Hub
  [Created at usb.122]
  UDI: /org/freedesktop/Hal/devices/usb_device_0_0_0000_00_1d_0_if0
  Unique ID: pBe4.+SlVeP8a1eC
  SysFS ID: /devices/pci0000:00/0000:00:1d.0/usb2/2-0:1.0
  SysFS BusID: 2-0:1.0
  Hardware Class: hub
  Model: "Linux 2.6.18.2-34-default uhci_hcd UHCI Host Controller"
  Hotplug: USB
  Vendor: "Linux 2.6.18.2-34-default uhci_hcd"
  Device: "UHCI Host Controller"
  Revision: "2.06"
  Serial ID: "0000:00:1d.0"
  Driver: "hub"
  Driver Modules: "usbcore"
  Speed: 12 Mbps
  Module Alias: "usb:v0000p0000d0206dc09dsc00dp00ic09isc00ip00"
  Driver Info #0:
    Driver Status: usbcore is active
    Driver Activation Cmd: "modprobe usbcore"
  Config Status: cfg=no, avail=yes, need=no, active=unknown

05: USB 00.0: 10a00 Hub
  [Created at usb.122]
  UDI: /org/freedesktop/Hal/devices/usb_device_0_0_0000_00_1d_1_if0
  Unique ID: uIhY.mBq40AxH_v3
  SysFS ID: /devices/pci0000:00/0000:00:1d.1/usb3/3-0:1.0
  SysFS BusID: 3-0:1.0
  Hardware Class: hub
  Model: "Linux 2.6.18.2-34-default uhci_hcd UHCI Host Controller"
  Hotplug: USB
  Vendor: "Linux 2.6.18.2-34-default uhci_hcd"
  Device: "UHCI Host Controller"
  Revision: "2.06"
  Serial ID: "0000:00:1d.1"
  Driver: "hub"
  Driver Modules: "usbcore"
  Speed: 12 Mbps
  Module Alias: "usb:v0000p0000d0206dc09dsc00dp00ic09isc00ip00"
  Driver Info #0:
    Driver Status: usbcore is active
    Driver Activation Cmd: "modprobe usbcore"
  Config Status: cfg=no, avail=yes, need=no, active=unknown

06: USB 00.0: 10a00 Hub
  [Created at usb.122]
  UDI: /org/freedesktop/Hal/devices/usb_device_0_0_0000_00_1d_2_if0
  Unique ID: zPk0.XwufNwj+wBB
  SysFS ID: /devices/pci0000:00/0000:00:1d.2/usb4/4-0:1.0
  SysFS BusID: 4-0:1.0
  Hardware Class: hub
  Model: "Linux 2.6.18.2-34-default uhci_hcd UHCI Host Controller"
  Hotplug: USB
  Vendor: "Linux 2.6.18.2-34-default uhci_hcd"
  Device: "UHCI Host Controller"
  Revision: "2.06"
  Serial ID: "0000:00:1d.2"
  Driver: "hub"
  Driver Modules: "usbcore"
  Speed: 12 Mbps
  Module Alias: "usb:v0000p0000d0206dc09dsc00dp00ic09isc00ip00"
  Driver Info #0:
    Driver Status: usbcore is active
    Driver Activation Cmd: "modprobe usbcore"
  Config Status: cfg=no, avail=yes, need=no, active=unknown

07: USB 00.0: 10a00 Hub
  [Created at usb.122]
  UDI: /org/freedesktop/Hal/devices/usb_device_0_0_0000_00_1d_3_if0
  Unique ID: 2XnU.IfzElgWjtT2
  SysFS ID: /devices/pci0000:00/0000:00:1d.3/usb5/5-0:1.0
  SysFS BusID: 5-0:1.0
  Hardware Class: hub
  Model: "Linux 2.6.18.2-34-default uhci_hcd UHCI Host Controller"
  Hotplug: USB
  Vendor: "Linux 2.6.18.2-34-default uhci_hcd"
  Device: "UHCI Host Controller"
  Revision: "2.06"
  Serial ID: "0000:00:1d.3"
  Driver: "hub"
  Driver Modules: "usbcore"
  Speed: 12 Mbps
  Module Alias: "usb:v0000p0000d0206dc09dsc00dp00ic09isc00ip00"
  Driver Info #0:
    Driver Status: usbcore is active
    Driver Activation Cmd: "modprobe usbcore"
  Config Status: cfg=no, avail=yes, need=no, active=unknown

08: USB 00.0: 0000 Unclassified device
  [Created at usb.122]
  UDI: /org/freedesktop/Hal/devices/usb_device_ac8_c002_noserial_if0
  Unique ID: zFuK.gis0z58GZE6
  Parent ID: k4bc.svvaPNStqwC
  SysFS ID: /devices/pci0000:00/0000:00:1d.7/usb1/1-8/1-8:1.0
  SysFS BusID: 1-8:1.0
  Hardware Class: unknown
  Model: "Vimicro USB2.0 Web Camera"
  Hotplug: USB
  Vendor: usb 0x0ac8 "Vimicro Corp."
  Device: usb 0xc002 "USB2.0 Web Camera"
  Revision: "1.00"
  Speed: 480 Mbps
  Module Alias: "usb:v0AC8pC002d0100dcFFdscFFdpFFicFFisc00ip00"
  Config Status: cfg=no, avail=yes, need=no, active=unknown
  Attached to: #3 (Hub)

09: USB 00.0: 10503 USB Mouse
  [Created at usb.122]
  UDI: /org/freedesktop/Hal/devices/usb_device_5fe_11_noserial_if0
  Unique ID: KRJj.IcjLUUSGEl3
  Parent ID: uIhY.mBq40AxH_v3
  SysFS ID: /devices/pci0000:00/0000:00:1d.1/usb3/3-1/3-1:1.0
  SysFS BusID: 3-1:1.0
  Hardware Class: mouse
  Model: "Chic Browser Mouse"
  Hotplug: USB
  Vendor: usb 0x05fe "Chic Technology Corp."
  Device: usb 0x0011 "Browser Mouse"
  Revision: "1.01"
  Compatible to: int 0x0210 0x0015
  Driver: "usbhid"
  Driver Modules: "usbhid"
  Device File: /dev/input/mice (/dev/input/mouse2)
  Device Files: /dev/input/mice, /dev/input/mouse2, /dev/input/event4, /dev/input/by-id/usb-Wireless_Mouse_Wireless_Mouse-event-mouse, /dev/input/by-path/pci-0000:00:1d.1-usb-0:1:1.0-event-mouse, /dev/input/by-id/usb-Wireless_Mouse_Wireless_Mouse-mouse, /dev/input/by-path/pci-0000:00:1d.1-usb-0:1:1.0-mouse
  Device Number: char 13:63 (char 13:34)
  Speed: 1.5 Mbps
  Module Alias: "usb:v05FEp0011d0101dc00dsc00dp00ic03isc01ip02"
  Driver Info #0:
    Buttons: 5
    Wheels: 1
    XFree86 Protocol: explorerps/2
    GPM Protocol: exps2
  Config Status: cfg=no, avail=yes, need=no, active=unknown
  Attached to: #5 (Hub)
Edit: The second you've spoken about! was a famous italian gag in the early 90's. Everyone in Italy used this expression for at least one decade!

Last edited by colucix; 03-04-2007 at 11:16 AM.
 
  


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
driver help with libusb halfwit Linux - Hardware 19 01-23-2008 01:59 AM
Help getting libusb 0.1.12 installed... 003 Suse/Novell 7 07-15-2006 03:45 PM
help me --- interrupt_read() in libusb shiva_teknic Programming 0 09-27-2005 09:17 AM
libusb Digikam question alexm1 Linux - Hardware 0 06-06-2005 05:52 PM
libUSB install Dutch3 Linux - Newbie 1 04-30-2002 08:15 AM


All times are GMT -5. The time now is 03:53 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration