Could not find USB device "LEDControl" with vid=0x16c0 pid=0

General discussions about V-USB, our firmware-only implementation of a low speed USB device on Atmel's AVR microcontrollers
Post Reply
Kuba
Posts: 3
Joined: Sun Sep 06, 2009 12:06 pm

Could not find USB device "LEDControl" with vid=0x16c0 pid=0

Post by Kuba » Sun Sep 06, 2009 12:30 pm

Hi!

I am trying to implement the simplest V-Usb example (custom-class subdirectory) with controlling a led by terminal. I have done everything according to the readme quidelines (I installed libusb, added usr/bin directory to the search PATH- there is my libusb-config, and also prepared the sotf to cooperate with my hardware) , however after typing:

Code: Select all

./set-led on

I have a message:

Code: Select all

Could not find USB device "LEDControl" with vid=0x16c0 pid=0x5dc

I am using ATmega16 mounted according to the schematic from circuit directory. My OS is Ubuntu 8.04.
Could you help me to solve the problem, plz?

Kuba.

psc
Rank 1
Rank 1
Posts: 32
Joined: Sat Nov 15, 2008 9:51 pm

Re: Could not find USB device "LEDControl" with vid=0x16c0 pid=0

Post by psc » Mon Sep 07, 2009 10:25 pm

plug your device (via usb) and do "dmesg". what do you get?
pat

Kuba
Posts: 3
Joined: Sun Sep 06, 2009 12:06 pm

Re: Could not find USB device "LEDControl" with vid=0x16c0 pid=0

Post by Kuba » Tue Sep 08, 2009 5:02 pm

Hi,

Having typed 'dmesg' I get:

Code: Select all

[    0.000000] Initializing cgroup subsys cpuset
[    0.000000] Initializing cgroup subsys cpu
[    0.000000] Linux version 2.6.24-24-generic (buildd@rothera) (gcc version 4.2.4 (Ubuntu 4.2.4-1ubuntu3)) #1 SMP Tue Aug 18 17:04:53 UTC 2009 (Ubuntu 2.6.24-24.59-generic)
[    0.000000] BIOS-provided physical RAM map:
[    0.000000]  BIOS-e820: 0000000000000000 - 000000000009f000 (usable)
[    0.000000]  BIOS-e820: 000000000009f000 - 00000000000a0000 (reserved)
[    0.000000]  BIOS-e820: 00000000000dc000 - 0000000000100000 (reserved)
[    0.000000]  BIOS-e820: 0000000000100000 - 000000001f770000 (usable)
[    0.000000]  BIOS-e820: 000000001f770000 - 000000001f77e000 (ACPI data)
[    0.000000]  BIOS-e820: 000000001f77e000 - 000000001f780000 (ACPI NVS)
[    0.000000]  BIOS-e820: 000000001f780000 - 0000000020000000 (reserved)
[    0.000000]  BIOS-e820: 00000000ff800000 - 0000000100000000 (reserved)
[    0.000000] 0MB HIGHMEM available.
[    0.000000] 503MB LOWMEM available.
[    0.000000] Entering add_active_range(0, 0, 128880) 0 entries of 256 used
[    0.000000] Zone PFN ranges:
[    0.000000]   DMA             0 ->     4096
[    0.000000]   Normal       4096 ->   128880
[    0.000000]   HighMem    128880 ->   128880
[    0.000000] Movable zone start PFN for each node
[    0.000000] early_node_map[1] active PFN ranges
[    0.000000]     0:        0 ->   128880
[    0.000000] On node 0 totalpages: 128880
[    0.000000]   DMA zone: 32 pages used for memmap
[    0.000000]   DMA zone: 0 pages reserved
[    0.000000]   DMA zone: 4064 pages, LIFO batch:0
[    0.000000]   Normal zone: 974 pages used for memmap
[    0.000000]   Normal zone: 123810 pages, LIFO batch:31
[    0.000000]   HighMem zone: 0 pages used for memmap
[    0.000000]   Movable zone: 0 pages used for memmap
[    0.000000] DMI present.
[    0.000000] ACPI: RSDP signature @ 0xC00F7090 checksum 0
[    0.000000] ACPI: RSDP 000F7090, 0024 (r2 IBM   )
[    0.000000] ACPI: XSDT 1F772C62, 004C (r1 IBM    TP-1K        1040  LTP        0)
[    0.000000] ACPI: FACP 1F772CAE, 0081 (r1 IBM    TP-1K        1040 IBM         1)
[    0.000000] ACPI: DSDT 1F772D95, B1BF (r1 IBM    TP-1K        1040 MSFT  100000D)
[    0.000000] ACPI: FACS 1F77F000, 0040
[    0.000000] ACPI: SSDT 1F772D62, 0033 (r1 IBM    TP-1K        1040 MSFT  100000D)
[    0.000000] ACPI: ECDT 1F77DF54, 0052 (r1 IBM    TP-1K        1040 IBM         1)
[    0.000000] ACPI: TCPA 1F77DFA6, 0032 (r1 IBM    TP-1K        1040 PTL         1)
[    0.000000] ACPI: BOOT 1F77DFD8, 0028 (r1 IBM    TP-1K        1040  LTP        1)
[    0.000000] ACPI: PM-Timer IO Port: 0x1008
[    0.000000] Allocating PCI resources starting at 30000000 (gap: 20000000:df800000)
[    0.000000] swsusp: Registered nosave memory region: 000000000009f000 - 00000000000a0000
[    0.000000] swsusp: Registered nosave memory region: 00000000000a0000 - 00000000000dc000
[    0.000000] swsusp: Registered nosave memory region: 00000000000dc000 - 0000000000100000
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 127874
[    0.000000] Kernel command line: root=UUID=9a58153e-bac1-4983-8f79-8c4c645e1ce5 ro quiet splash locale=en_EG
[    0.000000] Local APIC disabled by BIOS -- you can enable it with "lapic"
[    0.000000] mapped APIC to ffffb000 (013fd000)
[    0.000000] Enabling fast FPU save and restore... done.
[    0.000000] Enabling unmasked SIMD FPU exception support... done.
[    0.000000] Initializing CPU#0
[    0.000000] PID hash table entries: 2048 (order: 11, 8192 bytes)
[    0.000000] Detected 1199.024 MHz processor.
[    2.095103] Console: colour VGA+ 80x25
[    2.095110] console [tty0] enabled
[    2.095547] Dentry cache hash table entries: 65536 (order: 6, 262144 bytes)
[    2.096188] Inode-cache hash table entries: 32768 (order: 5, 131072 bytes)
[    2.127195] Memory: 498556k/515520k available (2181k kernel code, 16300k reserved, 1006k data, 368k init, 0k highmem)
[    2.127209] virtual kernel memory layout:
[    2.127211]     fixmap  : 0xfff4b000 - 0xfffff000   ( 720 kB)
[    2.127214]     pkmap   : 0xff800000 - 0xffc00000   (4096 kB)
[    2.127216]     vmalloc : 0xe0000000 - 0xff7fe000   ( 503 MB)
[    2.127219]     lowmem  : 0xc0000000 - 0xdf770000   ( 503 MB)
[    2.127221]       .init : 0xc0423000 - 0xc047f000   ( 368 kB)
[    2.127223]       .data : 0xc0321548 - 0xc041cdc4   (1006 kB)
[    2.127225]       .text : 0xc0100000 - 0xc0321548   (2181 kB)
[    2.127231] Checking if this processor honours the WP bit even in supervisor mode... Ok.
[    2.127304] SLUB: Genslabs=11, HWalign=32, Order=0-1, MinObjects=4, CPUs=1, Nodes=1
[    2.207327] Calibrating delay using timer specific routine.. 2399.91 BogoMIPS (lpj=4799821)
[    2.207374] Security Framework initialized
[    2.207388] SELinux:  Disabled at boot.
[    2.207413] AppArmor: AppArmor initialized
[    2.207419] Failure registering capabilities with primary security module.
[    2.207434] Mount-cache hash table entries: 512
[    2.207636] Initializing cgroup subsys ns
[    2.207643] Initializing cgroup subsys cpuacct
[    2.207660] CPU: After generic identify, caps: 0383f9ff 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[    2.207679] CPU: L1 I cache: 16K, L1 D cache: 16K
[    2.207683] CPU: L2 cache: 512K
[    2.207689] CPU: After all inits, caps: 0383f9ff 00000000 00000000 00000040 00000000 00000000 00000000 00000000
[    2.207705] Compat vDSO mapped to ffffe000.
[    2.207724] Checking 'hlt' instruction... OK.
[    2.223821] SMP alternatives: switching to UP code
[    2.226353] Freeing SMP alternatives: 11k freed
[    2.226543] Early unpacking initramfs... done
[    2.824797] ACPI: Core revision 20070126
[    2.825074] ACPI: Looking for DSDT in initramfs... error, file /DSDT.aml not found.
[    2.832406] ACPI: setting ELCR to 0200 (from 0800)
[    2.912012] CPU0: Intel Mobile Intel(R) Pentium(R) III CPU - M  1200MHz stepping 04
[    2.912026] SMP motherboard not detected.
[    2.912030] Local APIC not detected. Using dummy APIC emulation.
[    2.912125] Brought up 1 CPUs
[    2.912160] CPU0 attaching sched-domain:
[    2.912165]  domain 0: span 01
[    2.912168]   groups: 01
[    2.912560] net_namespace: 64 bytes
[    2.912574] Booting paravirtualized kernel on bare hardware
[    2.913526] Time: 16:42:25  Date: 09/08/09
[    2.913590] NET: Registered protocol family 16
[    2.913988] EISA bus registered
[    2.914009] ACPI: bus type pci registered
[    2.914489] PCI: PCI BIOS revision 2.10 entry at 0xfd90e, last bus=7
[    2.914493] PCI: Using configuration type 1
[    2.914503] Setting up standard PCI resources
[    2.920272] ACPI: EC: EC description table is found, configuring boot EC
[    2.927558] ACPI: EC: non-query interrupt received, switching to interrupt mode
[    2.937894] ACPI: Interpreter enabled
[    2.937900] ACPI: (supports S0 S3 S4 S5)
[    2.937924] ACPI: Using PIC for interrupt routing
[    2.949487] ACPI: EC: GPE = 0x1c, I/O: command/status = 0x66, data = 0x62
[    2.949493] ACPI: EC: driver started in poll mode
[    2.949745] ACPI: PCI Root Bridge [PCI0] (0000:00)
[    2.950116] PCI quirk: region 1000-107f claimed by ICH4 ACPI/GPIO/TCO
[    2.950123] PCI quirk: region 1180-11bf claimed by ICH4 GPIO
[    2.950541] PCI: Transparent bridge - 0000:00:1e.0
[    2.950694] ACPI: PCI Interrupt Routing Table [\_SB_.PCI0._PRT]
[    2.950792] ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.PCI1._PRT]
[    2.953699] ACPI: PCI Interrupt Link [LNKA] (IRQs 3 4 5 6 7 9 10 *11)
[    2.954020] ACPI: PCI Interrupt Link [LNKB] (IRQs 3 4 5 6 7 9 10 *11)
[    2.954333] ACPI: PCI Interrupt Link [LNKC] (IRQs 3 4 5 6 7 9 10 *11)
[    2.954646] ACPI: PCI Interrupt Link [LNKD] (IRQs 3 4 5 6 7 9 10 *11)
[    2.954961] ACPI: PCI Interrupt Link [LNKE] (IRQs 3 4 5 6 7 9 10 *11)
[    2.955247] ACPI: PCI Interrupt Link [LNKF] (IRQs 3 4 5 6 7 9 10 11) *0, disabled.
[    2.955600] ACPI: PCI Interrupt Link [LNKG] (IRQs 3 4 5 6 7 9 10 11) *0, disabled.
[    2.955888] ACPI: PCI Interrupt Link [LNKH] (IRQs 3 4 5 6 7 9 10 11) *0, disabled.
[    2.956296] ACPI: EC: non-query interrupt received, switching to interrupt mode
[    2.956496] ACPI: Power Resource [PUBS] (on)
[    2.956580] Linux Plug and Play Support v0.97 (c) Adam Belay
[    2.956648] pnp: PnP ACPI init
[    2.956664] ACPI: bus type pnp registered
[    2.958462] pnpacpi: exceeded the max number of mem resources: 12
[    2.963180] pnp: PnP ACPI: found 13 devices
[    2.963184] ACPI: ACPI bus type pnp unregistered
[    2.963190] PnPBIOS: Disabled by ACPI PNP
[    2.963646] PCI: Using ACPI for IRQ routing
[    2.963652] PCI: If a device doesn't work, try "pci=routeirq".  If it helps, post a report
[    2.983335] NET: Registered protocol family 8
[    2.983340] NET: Registered protocol family 20
[    2.983474] AppArmor: AppArmor Filesystem Enabled
[    2.987318] Time: tsc clocksource has been installed.
[    2.995385] system 00:00: iomem range 0x0-0x9ffff could not be reserved
[    2.995391] system 00:00: iomem range 0xc0000-0xc3fff could not be reserved
[    2.995396] system 00:00: iomem range 0xc4000-0xc7fff could not be reserved
[    2.995401] system 00:00: iomem range 0xc8000-0xcbfff has been reserved
[    2.995406] system 00:00: iomem range 0xcc000-0xcffff could not be reserved
[    2.995411] system 00:00: iomem range 0x0-0x0 could not be reserved
[    2.995416] system 00:00: iomem range 0x0-0x0 could not be reserved
[    2.995420] system 00:00: iomem range 0x0-0x0 could not be reserved
[    2.995425] system 00:00: iomem range 0xdc000-0xdffff has been reserved
[    2.995430] system 00:00: iomem range 0xe0000-0xe3fff could not be reserved
[    2.995435] system 00:00: iomem range 0xe4000-0xe7fff could not be reserved
[    2.995440] system 00:00: iomem range 0xe8000-0xebfff could not be reserved
[    2.995453] system 00:02: ioport range 0x1000-0x107f has been reserved
[    2.995458] system 00:02: ioport range 0x1180-0x11bf has been reserved
[    2.995463] system 00:02: ioport range 0x15e0-0x15ef has been reserved
[    2.995468] system 00:02: ioport range 0x1600-0x167f has been reserved
[    3.026233] PCI: Bus 2, cardbus bridge: 0000:01:00.0
[    3.026238]   IO window: 00003000-000030ff
[    3.026243]   IO window: 00003400-000034ff
[    3.026248]   PREFETCH window: f0000000-f3ffffff
[    3.026253]   MEM window: d4000000-d7ffffff
[    3.026258] PCI: Bus 6, cardbus bridge: 0000:01:00.1
[    3.026261]   IO window: 00003800-000038ff
[    3.026266]   IO window: 00003c00-00003cff
[    3.026271]   PREFETCH window: f4000000-f7ffffff
[    3.026275]   MEM window: d8000000-dbffffff
[    3.026280] PCI: Bridge: 0000:00:1e.0
[    3.026284]   IO window: 3000-7fff
[    3.026289]   MEM window: d0200000-dfffffff
[    3.026294]   PREFETCH window: f0000000-f80fffff
[    3.026310] PCI: Setting latency timer of device 0000:00:1e.0 to 64
[    3.026961] ACPI: PCI Interrupt Link [LNKA] enabled at IRQ 11
[    3.026967] PCI: setting IRQ 11 as level-triggered
[    3.026972] ACPI: PCI Interrupt 0000:01:00.0[A] -> Link [LNKA] -> GSI 11 (level, low) -> IRQ 11
[    3.027527] ACPI: PCI Interrupt Link [LNKB] enabled at IRQ 11
[    3.027531] ACPI: PCI Interrupt 0000:01:00.1[B] -> Link [LNKB] -> GSI 11 (level, low) -> IRQ 11
[    3.027559] NET: Registered protocol family 2
[    3.067459] IP route cache hash table entries: 4096 (order: 2, 16384 bytes)
[    3.067876] TCP established hash table entries: 16384 (order: 5, 131072 bytes)
[    3.068159] TCP bind hash table entries: 16384 (order: 5, 131072 bytes)
[    3.068475] TCP: Hash tables configured (established 16384 bind 16384)
[    3.068481] TCP reno registered
[    3.079615] checking if image is initramfs...<7>Switched to high resolution mode on CPU 0
[    3.580693]  it is
[    4.197729] Freeing initrd memory: 7712k freed
[    4.198242] Simple Boot Flag at 0x35 set to 0x1
[    4.198942] audit: initializing netlink socket (disabled)
[    4.198977] audit(1252428145.996:1): initialized
[    4.203175] VFS: Disk quotas dquot_6.5.1
[    4.203420] Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[    4.203749] io scheduler noop registered
[    4.203754] io scheduler anticipatory registered
[    4.203758] io scheduler deadline registered
[    4.203784] io scheduler cfq registered (default)
[    4.203811] Boot video device is 0000:00:02.0
[    4.203874] PCI: Firmware left 0000:01:08.0 e100 interrupts enabled, disabling
[    4.204421] isapnp: Scanning for PnP cards...
[    4.557401] isapnp: No Plug & Play device found
[    4.613915] Real Time Clock Driver v1.12ac
[    4.614100] Serial: 8250/16550 driver $Revision: 1.90 $ 4 ports, IRQ sharing enabled
[    4.615810] serial 00:0a: activated
[    4.616230] 00:0a: ttyS0 at I/O 0x3f8 (irq = 4) is a NS16550A
[    4.616522] ACPI: PCI Interrupt 0000:00:1f.6[B] -> Link [LNKB] -> GSI 11 (level, low) -> IRQ 11
[    4.616538] ACPI: PCI interrupt for device 0000:00:1f.6 disabled
[    4.617727] RAMDISK driver initialized: 16 RAM disks of 65536K size 1024 blocksize
[    4.617852] input: Macintosh mouse button emulation as /devices/virtual/input/input0
[    4.618043] PNP: PS/2 Controller [PNP0303:KBD,PNP0f13:MOU] at 0x60,0x64 irq 1,12
[    4.624908] serio: i8042 KBD port at 0x60,0x64 irq 1
[    4.624917] serio: i8042 AUX port at 0x60,0x64 irq 12
[    4.635281] mice: PS/2 mouse device common for all mice
[    4.635492] EISA: Probing bus 0 at eisa.0
[    4.635502] Cannot allocate resource for EISA slot 1
[    4.635510] Cannot allocate resource for EISA slot 2
[    4.635513] Cannot allocate resource for EISA slot 3
[    4.635517] Cannot allocate resource for EISA slot 4
[    4.635520] Cannot allocate resource for EISA slot 5
[    4.635524] Cannot allocate resource for EISA slot 6
[    4.635527] Cannot allocate resource for EISA slot 7
[    4.635534] EISA: Detected 0 cards.
[    4.635540] cpuidle: using governor ladder
[    4.635543] cpuidle: using governor menu
[    4.635830] NET: Registered protocol family 1
[    4.635898] Using IPI No-Shortcut mode
[    4.635962] registered taskstats version 1
[    4.636163]   Magic number: 9:1:742
[    4.636370] BIOS EDD facility v0.16 2004-Jun-25, 0 devices found
[    4.636374] EDD information not available.
[    4.636824] Freeing unused kernel memory: 368k freed
[    4.636887] Write protecting the kernel read-only data: 802k
[    4.641435] input: AT Translated Set 2 keyboard as /devices/platform/i8042/serio0/input/input1
[    6.179119] fuse init (API version 7.9)
[    6.431065] ACPI: CPU0 (power states: C1[C1] C2[C2] C3[C3])
[    6.431077] ACPI: Processor [CPU] (supports 8 throttling states)
[    6.441234] ACPI: Thermal Zone [THM0] (34 C)
[    7.407072] usbcore: registered new interface driver usbfs
[    7.407117] usbcore: registered new interface driver hub
[    7.423016] usbcore: registered new device driver usb
[    7.450997] USB Universal Host Controller Interface driver v3.0
[    7.451133] ACPI: PCI Interrupt 0000:00:1d.0[A] -> Link [LNKA] -> GSI 11 (level, low) -> IRQ 11
[    7.451151] PCI: Setting latency timer of device 0000:00:1d.0 to 64
[    7.451157] uhci_hcd 0000:00:1d.0: UHCI Host Controller
[    7.451726] uhci_hcd 0000:00:1d.0: new USB bus registered, assigned bus number 1
[    7.451761] uhci_hcd 0000:00:1d.0: irq 11, io base 0x00001800
[    7.452011] usb usb1: configuration #1 chosen from 1 choice
[    7.452057] hub 1-0:1.0: USB hub found
[    7.452068] hub 1-0:1.0: 2 ports detected
[    7.555816] ACPI: PCI Interrupt Link [LNKD] enabled at IRQ 11
[    7.555826] ACPI: PCI Interrupt 0000:00:1d.1[B] -> Link [LNKD] -> GSI 11 (level, low) -> IRQ 11
[    7.555844] PCI: Setting latency timer of device 0000:00:1d.1 to 64
[    7.555850] uhci_hcd 0000:00:1d.1: UHCI Host Controller
[    7.555896] uhci_hcd 0000:00:1d.1: new USB bus registered, assigned bus number 2
[    7.555929] uhci_hcd 0000:00:1d.1: irq 11, io base 0x00001820
[    7.556125] usb usb2: configuration #1 chosen from 1 choice
[    7.556178] hub 2-0:1.0: USB hub found
[    7.556190] hub 2-0:1.0: 2 ports detected
[    7.659821] ACPI: PCI Interrupt Link [LNKC] enabled at IRQ 11
[    7.659830] ACPI: PCI Interrupt 0000:00:1d.2[C] -> Link [LNKC] -> GSI 11 (level, low) -> IRQ 11
[    7.659850] PCI: Setting latency timer of device 0000:00:1d.2 to 64
[    7.659856] uhci_hcd 0000:00:1d.2: UHCI Host Controller
[    7.659901] uhci_hcd 0000:00:1d.2: new USB bus registered, assigned bus number 3
[    7.659933] uhci_hcd 0000:00:1d.2: irq 11, io base 0x00001840
[    7.660139] usb usb3: configuration #1 chosen from 1 choice
[    7.660190] hub 3-0:1.0: USB hub found
[    7.660202] hub 3-0:1.0: 2 ports detected
[    7.898924] usb 2-2: new low speed USB device using uhci_hcd and address 2
[    8.075183] usb 2-2: configuration #1 chosen from 1 choice
[    8.292297] SCSI subsystem initialized
[    8.523289] libata version 3.00 loaded.
[    8.524166] e100: Intel(R) PRO/100 Network Driver, 3.5.23-k4-NAPI
[    8.524172] e100: Copyright(c) 1999-2006 Intel Corporation
[    8.524950] ACPI: PCI Interrupt Link [LNKE] enabled at IRQ 11
[    8.524957] ACPI: PCI Interrupt 0000:01:08.0[A] -> Link [LNKE] -> GSI 11 (level, low) -> IRQ 11
[    8.551469] e100: eth0: e100_probe: addr 0xd0200000, irq 11, MAC addr 00:09:6b:cd:4a:ec
[    8.566996] ACPI: PCI Interrupt 0000:01:00.2[C] -> Link [LNKC] -> GSI 11 (level, low) -> IRQ 11
[    8.619841] ohci1394: fw-host0: OHCI-1394 1.0 (PCI): IRQ=[11]  MMIO=[d0201000-d02017ff]  Max Packet=[2048]  IR/IT contexts=[4/4]
[    8.797105] PCI: Enabling device 0000:00:1f.1 (0005 -> 0007)
[    8.797124] ACPI: PCI Interrupt 0000:00:1f.1[A] -> Link [LNKC] -> GSI 11 (level, low) -> IRQ 11
[    8.797191] PCI: Setting latency timer of device 0000:00:1f.1 to 64
[    8.797215] ACPI: PCI interrupt for device 0000:00:1f.1 disabled
[    8.826932] ata_piix 0000:00:1f.1: version 2.12
[    8.826970] ACPI: PCI Interrupt 0000:00:1f.1[A] -> Link [LNKC] -> GSI 11 (level, low) -> IRQ 11
[    8.827039] PCI: Setting latency timer of device 0000:00:1f.1 to 64
[    8.850869] scsi0 : ata_piix
[    8.862907] Floppy drive(s): fd0 is 1.44M
[    8.878868] scsi1 : ata_piix
[    8.880222] ata1: PATA max UDMA/100 cmd 0x1f0 ctl 0x3f6 bmdma 0x1860 irq 14
[    8.880227] ata2: PATA max UDMA/100 cmd 0x170 ctl 0x376 bmdma 0x1868 irq 15
[    8.881818] FDC 0 is a National Semiconductor PC87306
[    9.435225] ata1.00: ATA-7: SAMSUNG MP0804H, UE100-14, max UDMA/100
[    9.435233] ata1.00: 156301488 sectors, multi 16: LBA48
[    9.443147] ata1.00: configured for UDMA/100
[    9.599074] scsi 0:0:0:0: Direct-Access     ATA      SAMSUNG MP0804H  UE10 PQ: 0 ANSI: 5
[   10.046928] ieee1394: Host added: ID:BUS[0-00:1023]  GUID[00061b02012f653b]
[   11.890703] usbcore: registered new interface driver hiddev
[   11.908315] input: Logitech USB-PS/2 Optical Mouse as /devices/pci0000:00/0000:00:1d.1/usb2/2-2/2-2:1.0/input/input2
[   11.922625] input,hidraw0: USB HID v1.10 Mouse [Logitech USB-PS/2 Optical Mouse] on usb-0000:00:1d.1-2
[   11.922659] usbcore: registered new interface driver usbhid
[   11.922666] /build/buildd/linux-2.6.24/drivers/hid/usbhid/hid-core.c: v2.6:USB HID core driver
[   12.042389] Driver 'sd' needs updating - please use bus_type methods
[   12.042581] sd 0:0:0:0: [sda] 156301488 512-byte hardware sectors (80026 MB)
[   12.042608] sd 0:0:0:0: [sda] Write Protect is off
[   12.042613] sd 0:0:0:0: [sda] Mode Sense: 00 3a 00 00
[   12.042652] sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[   12.042740] sd 0:0:0:0: [sda] 156301488 512-byte hardware sectors (80026 MB)
[   12.042762] sd 0:0:0:0: [sda] Write Protect is off
[   12.042766] sd 0:0:0:0: [sda] Mode Sense: 00 3a 00 00
[   12.042803] sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[   12.042812]  sda: sda1 sda2 < sda5 sda6 > sda3
[   12.091804] sd 0:0:0:0: [sda] Attached SCSI disk
[   12.104494] sd 0:0:0:0: Attached scsi generic sg0 type 0
[   13.319274] Attempting manual resume
[   13.319281] swsusp: Resume From Partition 8:6
[   13.319284] PM: Checking swsusp image.
[   13.330401] PM: Resume from disk failed.
[   13.430395] kjournald starting.  Commit interval 5 seconds
[   13.430425] EXT3-fs: mounted filesystem with ordered data mode.
[   29.373011] ip_tables: (C) 2000-2006 Netfilter Core Team
[   29.516415] nf_conntrack version 0.5.0 (8192 buckets, 32768 max)
[   32.118086] Linux agpgart interface v0.102
[   32.453889] agpgart: Detected an Intel 830M Chipset.
[   32.454374] agpgart: Detected 8060K stolen memory.
[   32.464035] agpgart: AGP aperture is 128M @ 0xe0000000
[   32.676602] intel_rng: FWH not detected
[   32.721160] pci_hotplug: PCI Hot Plug PCI Core version: 0.5
[   32.785015] shpchp: Standard Hot Plug PCI Controller Driver version: 0.4
[   33.140690] iTCO_vendor_support: vendor-support=0
[   33.188679] iTCO_wdt: Intel TCO WatchDog Timer Driver v1.02 (26-Jul-2007)
[   33.188912] iTCO_wdt: Found a ICH3-M TCO device (Version=1, TCOBASE=0x1060)
[   33.188983] iTCO_wdt: initialized. heartbeat=30 sec (nowayout=0)
[   33.541340] input: Power Button (FF) as /devices/virtual/input/input3
[   33.556625] ACPI: Power Button (FF) [PWRF]
[   33.556798] input: Lid Switch as /devices/virtual/input/input4
[   33.557327] ACPI: Lid Switch [LID]
[   33.557418] input: Sleep Button (CM) as /devices/virtual/input/input5
[   33.572602] ACPI: Sleep Button (CM) [SLPB]
[   35.296686] Yenta: CardBus bridge found at 0000:01:00.0 [1014:0185]
[   35.380489] ieee80211_crypt: registered algorithm 'NULL'
[   35.425029] Yenta: ISA IRQ mask 0x04b8, PCI irq 11
[   35.425038] Socket status: 30000006
[   35.425045] pcmcia: parent PCI bridge I/O window: 0x3000 - 0x7fff
[   35.425051] cs: IO port probe 0x3000-0x7fff: clean.
[   35.426933] pcmcia: parent PCI bridge Memory window: 0xd0200000 - 0xdfffffff
[   35.426938] pcmcia: parent PCI bridge Memory window: 0xf0000000 - 0xf80fffff
[   35.540704] Yenta: CardBus bridge found at 0000:01:00.1 [1014:0185]
[   35.668995] Yenta: ISA IRQ mask 0x04b8, PCI irq 11
[   35.669004] Socket status: 30000006
[   35.669010] pcmcia: parent PCI bridge I/O window: 0x3000 - 0x7fff
[   35.669017] cs: IO port probe 0x3000-0x7fff: clean.
[   35.670900] pcmcia: parent PCI bridge Memory window: 0xd0200000 - 0xdfffffff
[   35.670904] pcmcia: parent PCI bridge Memory window: 0xf0000000 - 0xf80fffff
[   35.761033] ACPI: PCI Interrupt 0000:01:02.0[A] -> Link [LNKC] -> GSI 11 (level, low) -> IRQ 11
[   35.761641] hostap_pci: Registered netdevice wifi0
[   35.761655] wifi0: Original COR value: 0x0
[   35.966813] prism2_hw_init: initialized in 200 ms
[   35.970055] input: PC Speaker as /devices/platform/pcspkr/input/input6
[   35.984581] wifi0: NIC: id=0x8013 v1.0.0
[   35.985236] wifi0: PRI: id=0x15 v1.1.0
[   35.987652] wifi0: STA: id=0x1f v1.4.9
[   36.001485] wifi0: defaulting to bogus WDS frame as a workaround for firmware bug in Host AP mode WDS
[   36.037508] wifi0: Intersil Prism2.5 PCI: mem=0xf8000000, irq=11
[   36.038196] wifi0: registered netdevice wlan0
[   36.210312] input: Video Bus as /devices/LNXSYSTM:00/device:00/PNP0A03:00/LNXVIDEO:00/input/input7
[   36.225390] ACPI: Video Device [VID] (multi-head: yes  rom: no  post: no)
[   36.266937] IBM TrackPoint firmware: 0x0e, buttons: 3/3
[   36.280857] input: TPPS/2 IBM TrackPoint as /devices/platform/i8042/serio1/input/input8
[   37.312413] ACPI: PCI Interrupt 0000:00:1f.5[B] -> Link [LNKB] -> GSI 11 (level, low) -> IRQ 11
[   37.312441] PCI: Setting latency timer of device 0000:00:1f.5 to 64
[   37.424243] ALSA /build/buildd/linux-ubuntu-modules-2.6.24-2.6.24/debian/build/build-generic/sound/alsa-driver/pci/ac97/ac97_codec.c:2128: AC'97 0 analog subsections not ready
[   37.992197] intel8x0_measure_ac97_clock: measured 55437 usecs
[   37.992206] intel8x0: clocking to 48000
[   38.604198] irda_init()
[   38.604235] NET: Registered protocol family 23
[   38.642604] parport_pc 00:0b: reported by Plug and Play ACPI
[   38.642657] parport0: PC-style at 0x3bc (0x7bc), irq 7, dma 0 [PCSPP,TRISTATE,COMPAT,ECP,DMA]
[   38.741589] nsc-ircc 00:0c: activated
[   38.741599] nsc_ircc_pnp_probe() : From PnP, found firbase 0x2F8 ; irq 3 ; dma 1.
[   38.741762] nsc-ircc, chip->init
[   38.741773] nsc-ircc, Found chip at base=0x02e
[   38.741797] nsc-ircc, driver loaded (Dag Brattli)
[   38.742442] IrDA: Registered device irda0
[   38.742446] nsc-ircc, Using dongle: IBM31T1100 or Temic TFDS6000/TFDS6500
[   39.149895] ACPI: AC Adapter [AC] (on-line)
[   39.179271] ACPI: Battery Slot [BAT0] (battery absent)
[   44.005251] cs: IO port probe 0x100-0x3af: clean.
[   44.006127] cs: IO port probe 0x3e0-0x4ff: excluding 0x4d0-0x4d7
[   44.006529] cs: IO port probe 0x820-0x8ff: clean.
[   44.006875] cs: IO port probe 0xc00-0xcf7: clean.
[   44.007448] cs: IO port probe 0xa00-0xaff: clean.
[   44.027048] cs: IO port probe 0x100-0x3af: clean.
[   44.027968] cs: IO port probe 0x3e0-0x4ff: excluding 0x4d0-0x4d7
[   44.028370] cs: IO port probe 0x820-0x8ff: clean.
[   44.028714] cs: IO port probe 0xc00-0xcf7: clean.
[   44.029282] cs: IO port probe 0xa00-0xaff: clean.
[   45.192005] lp0: using parport0 (interrupt-driven).
[   45.583343] Adding 1325320k swap on /dev/sda6.  Priority:-1 extents:1 across:1325320k
[   46.375434] EXT3 FS on sda3, internal journal
[   48.019313] Clocksource tsc unstable (delta = -192798672 ns)
[   48.023294] Time: acpi_pm clocksource has been installed.
[   48.207505] nsc-ircc 00:0c: in use; can't configure
[   48.207666] nsc-ircc 00:0c: in use; can't configure
[   48.909335] ACPI: ACPI Dock Station Driver
[   49.052061] ACPI: \_SB_.PCI0.IDE0.SCND.MSTR: found ejectable bay
[   49.052073] ACPI: \_SB_.PCI0.IDE0.SCND.MSTR: Adding notify handler
[   49.052143] ACPI: Error installing bay notify handler
[   49.052152] ACPI: Bay [\_SB_.PCI0.IDE0.SCND.MSTR] Added
[   50.436677] ppdev: user-space parallel port driver
[   50.493617] audit(1252420993.995:2): type=1503 operation="inode_permission" requested_mask="a::" denied_mask="a::" name="/dev/tty" pid=7377 profile="/usr/sbin/cupsd" namespace="default"
[   50.539282] IBM machine detected. Enabling interrupts during APM calls.
[   50.539294] apm: BIOS version 1.2 Flags 0x03 (Driver version 1.16ac)
[   50.539298] apm: overridden by ACPI.
[   50.641293] Non-volatile memory driver v1.2
[   50.653457] thinkpad_acpi: ThinkPad ACPI Extras v0.17
[   50.653467] thinkpad_acpi: http://ibm-acpi.sf.net/
[   50.653470] thinkpad_acpi: ThinkPad BIOS 1KET43WW (1.04 ), EC unknown
[   50.659158] thinkpad_acpi: acpi_bus_get_device(bay) failed: -19
[   50.659169] thinkpad_acpi: disabling subdriver bay
[   50.660509] input: ThinkPad Extra Buttons as /devices/virtual/input/input9
[   51.105945] irlap_change_speed(), setting speed to 9600
[   76.848078] Marking TSC unstable due to: cpufreq changes.
[   78.345741] e100: eth0: e100_watchdog: link up, 100Mbps, full-duplex
[   78.412679] wifi0: LinkStatus=2 (Disconnected)
[   78.413201] wifi0: LinkStatus: BSSID=44:44:44:44:44:44
[   78.552157] Bluetooth: Core ver 2.11
[   78.566961] NET: Registered protocol family 31
[   78.566973] Bluetooth: HCI device and connection manager initialized
[   78.566984] Bluetooth: HCI socket layer initialized
[   52.431581] Bluetooth: L2CAP ver 2.9
[   52.431591] Bluetooth: L2CAP socket layer initialized
[   52.505393] Bluetooth: RFCOMM socket layer initialized
[   52.505421] Bluetooth: RFCOMM TTY layer initialized
[   52.505425] Bluetooth: RFCOMM ver 1.8
[   79.310834] wifi0: LinkStatus=6 (Association failed)
[   79.311409] wifi0: LinkStatus: BSSID=44:44:44:44:44:44
[   79.667176] NET: Registered protocol family 17
[   80.006862] wifi0: LinkStatus=6 (Association failed)
[   80.007405] wifi0: LinkStatus: BSSID=44:44:44:44:44:44
[   54.065420] [drm] Initialized drm 1.1.0 20060810
[   54.072339] ACPI: PCI Interrupt 0000:00:02.0[A] -> Link [LNKA] -> GSI 11 (level, low) -> IRQ 11
[   54.072355] PCI: Setting latency timer of device 0000:00:02.0 to 64
[   54.073185] [drm] Initialized i915 1.6.0 20060119 on minor 0
[   54.073425] PCI: Setting latency timer of device 0000:00:02.1 to 64
[   54.073744] [drm] Initialized i915 1.6.0 20060119 on minor 1
[   82.916876] wifi0: LinkStatus=6 (Association failed)
[   82.917493] wifi0: LinkStatus: BSSID=44:44:44:44:44:44
[   83.687751] NET: Registered protocol family 10
[   83.689235] lo: Disabled Privacy Extensions
[   83.692207] ADDRCONF(NETDEV_UP): wifi0: link is not ready
[   83.695520] ADDRCONF(NETDEV_UP): wlan0: link is not ready
[   83.915869] wifi0: LinkStatus=6 (Association failed)
[   83.916644] wifi0: LinkStatus: BSSID=44:44:44:44:44:44
[   84.502427] wifi0: LinkStatus=6 (Association failed)
[   84.503407] wifi0: LinkStatus: BSSID=44:44:44:44:44:44
[   58.111954] wifi0: LinkStatus=6 (Association failed)
[   58.112443] wifi0: LinkStatus: BSSID=44:44:44:44:44:44
[   58.615223] eth0: no IPv6 routers present
[   87.999117] wifi0: LinkStatus=6 (Association failed)
[   87.999552] wifi0: LinkStatus: BSSID=44:44:44:44:44:44
[   88.174909] wifi0: LinkStatus=6 (Association failed)
[   88.175349] wifi0: LinkStatus: BSSID=44:44:44:44:44:44
[   91.614531] wifi0: LinkStatus=1 (Connected)
[   91.615141] wifi0: LinkStatus: BSSID=00:1d:0f:ce:80:fe
[   91.615746] ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
[   91.616216] ADDRCONF(NETDEV_CHANGE): wifi0: link becomes ready
[   97.871281] wlan0: no IPv6 routers present
[  192.444623] wifi0: LinkStatus=4 (Access point out of range)
[  192.445801] wifi0: LinkStatus: BSSID=00:1d:0f:ce:80:fe
[  192.475809] wifi0: LinkStatus=5 (Access point in range)
[  192.476407] wifi0: LinkStatus: BSSID=00:1d:0f:ce:80:fe
[  196.912912] usb 2-1: new low speed USB device using uhci_hcd and address 3
[  196.921723] usb 2-1: device descriptor read/64, error -71
[  196.952021] usb 2-1: device descriptor read/64, error -71
[  196.980843] usb 2-1: new low speed USB device using uhci_hcd and address 4
[  196.998943] usb 2-1: device descriptor read/64, error -71
[  197.026538] usb 2-1: device descriptor read/64, error -71
[  197.036207] usb 2-1: new low speed USB device using uhci_hcd and address 5
[  197.049406] usb 2-1: device not accepting address 5, error -71
[  197.052721] usb 2-1: new low speed USB device using uhci_hcd and address 6
[  197.065664] usb 2-1: device not accepting address 6, error -71


I tried to type

Code: Select all

./set-led on

and an interesting thing is that with disconnected hardware and I received the same message "Could not find...".

Kuba

psc
Rank 1
Rank 1
Posts: 32
Joined: Sat Nov 15, 2008 9:51 pm

Re: Could not find USB device "LEDControl" with vid=0x16c0 pid=0

Post by psc » Tue Sep 08, 2009 6:45 pm

Hi Kuba,

You can see the error in the ouput of dmesg:
[ 197.065664] usb 2-1: device not accepting address 6, error -71

I don't know exactly what is the problem but for sure, before attempting to ./set-led on, you have fix this error.

the usb connection (vcc, d-, d+, gnd)?
3.6 V zener diodes or voltage regultor at D+ and D-?
are you using 68 ohms resistor?

Kuba
Posts: 3
Joined: Sun Sep 06, 2009 12:06 pm

Re: Could not find USB device "LEDControl" with vid=0x16c0 pid=0

Post by Kuba » Wed Sep 09, 2009 6:36 pm

Hi Pat,

I used the schematic from the downloaded V-usb folder "circuits" - "with-zener.png". All the elements I put at my breadboard. The Voltage between D+ and D- is 3,12V. Could you tell me, please how I should add the libusb-config to the search path? This is the note from the readme file and I am not sure if I did it correctly.


Regards, Kuba

psc
Rank 1
Rank 1
Posts: 32
Joined: Sat Nov 15, 2008 9:51 pm

Re: Could not find USB device "LEDControl" with vid=0x16c0 pid=0

Post by psc » Wed Sep 09, 2009 7:13 pm

Hi Kuba,

this error:
[ 197.065664] usb 2-1: device not accepting address 6, error -71
has nothing to do with libusb-config.

you need to see something like this in dmesg:
[ 1727.956432] usb 3-2: new low speed USB device using uhci_hcd
[ 1728.119279] usb 3-2: configuration #1 chosen from 1 choice
[ 1728.142142] generic-usb ...

i wrote a tutorial on V-USB:
http://www.workinprogress.ca/v-usb-tuto ... mega-tiny/

pat

Post Reply