Re: Search For a dummy usb kernel module



Jabka <Mashrom.head@xxxxxxxxx> wrote:

i am trieng to learn how to write usb comunication with gadets.
i thought about starting and working with gadget driver but then i had
been told that this module need to actually see a device .

so i am searching for some program (it will be better if it be in user
space but i don't mind if not) that will tell the kernel that a new
device had been connected to the kernel (ill be happy to have the
abuilty to change that values of product ID and Vendor ID )

Then why don't you just buy a simple USB developer's kit? That way you can
experiment with a real device. There are a number of inexpensive kits with
programmable firmware so you can do what you want. http://www.quickusb.com
sells several. http://www.osr.com sells one with a sample Windows driver
that could easily be manipulated from Linux.

Also note that, with libusb, you don't actually need to write your own
kernel mode driver.
--
Tim Roberts, timr@xxxxxxxxx
Providenza & Boekelheide, Inc.
.



Relevant Pages

  • Re: 2.6.30-rc4 kernel
    ... I think there may be a problem with the 2.6.30 kernel that is ... # Generic Driver Options ... # PCI IDE chipsets support ... # Other IDE chipsets support ...
    (Linux-Kernel)
  • 2.6.30-rc4 kernel
    ... kernel panic - not syncing: ... # Generic Driver Options ... # PCI IDE chipsets support ... # Other IDE chipsets support ...
    (Linux-Kernel)
  • [PATCH 18-rc2] Fix typos in /Documentation : N-P
    ... Again, if you're not gonna do synchronization with disk drives (dang, ... -the kernel. ... There are two options specific to PSX driver portion. ... The driver uses the settings from the EEPROM set in the SCSI BIOS ...
    (Linux-Kernel)
  • two scary syslog kernel messages
    ... Sep 20 03:46:06 marvin kernel: kernel BUG at mm/rmap.c:482! ... ACPI: Local APIC address 0xfee00000 ... Allocating PCI resources starting at 80000000 ... ** driver failed to call pci_enable_device. ...
    (Debian-User)
  • Re: [PATCH, RFT, v4] sata_mv: convert to new EH
    ... check both new and old drives with SMART ... Use a HIGHMEM enabled kernel. ... ACPI: PM-Timer IO Port: 0xe408 ... Real Time Clock Driver v1.12ac ...
    (Linux-Kernel)