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

  • [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)
  • Re: [PATCH 18-rc3] Fix typos in /Documentation : Q-R
    ... The driver will receive them again on the ... The kernel is entered with r3 pointing to an area of memory that is ... Bits are then right shifted into the GP_SAMPLE register at the specified ... you get an interrupt when a full DWORD is recieved. ...
    (Linux-Kernel)
  • kernel Doc/ URL corrections
    ... -Documents about softnet driver issues in general can be found ... Additional documentation is available at Don Becker's Linux Drivers site: ... Just force it to be recognized by kernel parameters. ... Keywords: files, VFS, file operations, kernel interface, character ...
    (Linux-Kernel)