﻿id	summary	reporter	owner	description	type	status	component	version	resolution	keywords	cc	guest	host
20721	VBoxCreateUSBNode.sh string comparison using -eq => Fixed in SVN	Nik Soggia		"Udev $attr{bDeviceClass} is a string representing a 2-digit hexadecimal value.[[BR]]
To check the usb class VBoxCreateUSBNode.sh should therefore use ""="" instead of ""-eq"".

As an example, this bluetooth adapter belongs to the 0xff device class:
{{{
Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB               2.00
  bDeviceClass          255 Vendor Specific Class
  bDeviceSubClass         1
  bDeviceProtocol         1
  bMaxPacketSize0        64
  idVendor           0x0a5c Broadcom Corp.
  idProduct          0x21e8 BCM20702A0 Bluetooth 4.0
  bcdDevice            1.12
  iManufacturer           1 Broadcom Corp
  iProduct                2 BCM20702A0
  iSerial                 3 000000000000
  bNumConfigurations      1
}}}

Cheers"	defect	closed	host support	VirtualBox 6.1.30	fixed	usb proxy udev helper device class bash linux		all	Linux
