Ports
May 20, 2013, 10:49:35 am *
Welcome, Guest. Please login or register.

Login with username, password and session length
News: SMF - Just Installed!
 
   Home   Help Search Login Register  
Welcome to the PORTS Forum. Please post your questions, answers, and comments relating to USB and other hardware interfaces in the appropriate forums below. - Jan
Pages: [1]
  Print  
Author Topic: What characters are legal within product / serial number descriptor strings?  (Read 908 times)
vanweric
Member
***
Posts: 24


« on: June 12, 2012, 02:33:33 pm »

I recently encountered an HID device that malfunctions when the "`" character is in its Product descriptor string.  What characters are considered legal in these fields?
Logged
Jan Axelson
Administrator
Frequent Contributor
*****
Posts: 1625


WWW
« Reply #1 on: June 12, 2012, 07:16:41 pm »

Section 9.6.7 in the USB 2.0 says the characters are in Unicode, and string descriptor zero specifies the language.

Is the apostrophe 0027h or 2019h? Try the one you're not using.

Jan
Logged
Bret
Member
***
Posts: 35


« Reply #2 on: June 13, 2012, 11:16:56 am »

As far as I know, there are no characters that are "illegal" and can't be used in String Descriptors.  The only exceptions I know of are Serial Numbers, which should only use 0-9 and A-F.  If you're having a problem, I'd say it's an implementation issue with your software, not something that the device is doing incorrectly.

Somebody please correct me if I'm wrong, though.
« Last Edit: June 13, 2012, 11:20:07 am by Bret » Logged
Jan Axelson
Administrator
Frequent Contributor
*****
Posts: 1625


WWW
« Reply #3 on: June 13, 2012, 11:36:43 am »

The serial number restriction is in the mass-storage bulk-only spec so in theory, other devices can use other characters in serial numbers.

Jan
Logged
sshaamu2829
Member
*
Posts: 1


« Reply #4 on: June 14, 2012, 12:57:21 am »

Hiii.I am unknown to the programming of serial ports..please suggest me something about how to access serial ports or usb ports,which language should i use or which tools should i use??
Also suggest me what should i do if i want to make a buzzer used in quiz competitions.thankyou
Logged
Jan Axelson
Administrator
Frequent Contributor
*****
Posts: 1625


WWW
« Reply #5 on: June 17, 2012, 10:42:23 pm »

At lvr.com, see these pages for example code and other links: serial ports, HID, winusb.

Jan
Logged
vanweric
Member
***
Posts: 24


« Reply #6 on: July 06, 2012, 11:25:15 am »

Just to follow up / close the thread:  The problem was in the device, it works just fine after we slapping the firmware guys around a bit.
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.11 | SMF © 2006-2009, Simple Machines LLC Valid XHTML 1.0! Valid CSS!