What a Pain In The USB-utt


Closed Thread
Results 1 to 20 of 20

Hybrid View

  1. #1
    Join Date
    Sep 2008
    Posts
    27

    Default What a Pain In The USB-utt

    I am definitely feeling the USB pain. I have spent the past 4 days scouring this site and the rest of the world for a working PBP example code of a HID USB Keyboard.
    I have tried literally dozens of variations on keyboard descriptor files.
    The PBP usb mouse demo works just fine. But all other files pertaining to keyboards, both on this site, other sites, and ones that I have pieced together do not work.
    I have tried the file from this post http://www.picbasic.co.uk/forum/showthread.php?t=2872 a dozen different ways with no luck.
    Usually one of three things happen:
    1. The computer locks up and needs rebooted.
    2. The computer indicates an unknown USB device is connected.
    3. The computer does not recognize a new USB device at all.

    Does somebody, anybody have a working demo? Even if it is only a single keystroke.
    You might just keep me from committing suicide.

  2. #2
    Join Date
    Nov 2003
    Location
    Greece
    Posts
    3,807

    Default Re: What a Pain In The USB-utt

    I know it is a long thread, but I think it might save you

    http://www.picbasic.co.uk/forum/showthread.php?t=5418

    Ioannis

  3. #3
    Join Date
    Sep 2008
    Posts
    27

    Default Re: What a Pain In The USB-utt

    Thanks Ioannis for the post. I have read through most of the thread. Descriptor files very so much from device to device and there is the old way of doing USB and the new way of doing USB it is hard to determine where the actual problem is located. I will keep looking.

  4. #4

    Default Re: What a Pain In The USB-utt

    If you find a working example would appreciate if you post.

    George

  5. #5
    Join Date
    Nov 2003
    Location
    Greece
    Posts
    3,807

    Default Re: What a Pain In The USB-utt

    You can download the zip file from the link I posted. It contains a fully working example on 4550 chip and a Visual Basic application (executable and source code) for the PC side.

    Have you checked this?

    Ioannis

  6. #6
    Join Date
    Sep 2008
    Posts
    27

    Default Re: What a Pain In The USB-utt

    Ioannis,
    I have downloaded the code and examined it. The problem is every descriptor file is different. Even ones that state they are for HID USB Keyboards are different. Finding one the compiles without errors and works as a keyboard is the problem. The benefit of emulating a true HID USB Keyboard is there is no need for special drivers on the PC side, or the Linux side for that matter.

    George,
    I will definitely post a solution when I find it. More than one person on this forum has expressed their aggravation with trying to get this to work.
    http://www.picbasic.co.uk/forum/showthread.php?t=19333
    Last edited by Cobra_Phil; - 18th January 2015 at 02:49.

Similar Threads

  1. USB to USB flash Drive File Copier
    By surya089 in forum USB
    Replies: 2
    Last Post: - 16th December 2012, 01:22
  2. USB to USB flash Drive File Copier
    By emildownloads in forum General
    Replies: 222
    Last Post: - 27th October 2011, 01:23
  3. Start with USB and USB comands
    By SKOLS1 in forum mel PIC BASIC Pro
    Replies: 3
    Last Post: - 12th August 2011, 12:41
  4. usb to usb direct data transfer
    By sharath in forum USB
    Replies: 0
    Last Post: - 17th July 2011, 13:23
  5. USB PIC without USB Connection
    By Tissy in forum mel PIC BASIC Pro
    Replies: 9
    Last Post: - 26th December 2005, 17:39

Members who have read this thread : 1

You do not have permission to view the list of names.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts