Repository: nvaccess/nvda

Issue:
adding USB Hid support to BAUM braille displays Vario 340 and SuperVario2 
on a SightCity exebision in Frankfurt Germany BAUM introduced a new 40 cells braille display Vario 340.  this new braille display is supporting only USB HID connection. additionally, Baum has also another braille display model SuperVario 2. this braille display is supporting USB cirial port connection, bluetooth and USB HID connection. currently existing driver for the BAUM braille displays is not supporting Vario 340. it is supporting SuperVario 2  Vi USB cirial port and via bluetooth, but it doesn't support this display via USB HID. so i'm asking to add support for the USB HID connection for Vario 340 and  for SuperVario 2. 
for SuperVario 2 and humanware brilliant models produced by BAUM  i found following USB HID  idis:
  6001 hex  
 SuperVario2 40  

  6002 hex  
 SuperVario2 24  

  6003 hex  
 SuperVario2 32  

  6004 hex  
 SuperVario2 64  

  6005 hex  
 SuperVario2 80  

  6006 hex  
 Brailliant2 40  

  6007 hex  
 Brailliant2 24  

  6008 hex  
 Brailliant2 32  

  6009 hex  
 Brailliant2 64  

  600A hex  
 Brailliant2 80  
 for Vario 340 i found following USB HID idies:
Vario340 ="0x6201" 

  6010 hex      



Discussion:
Thanks for the info. A few questions:
1. Looking at BRLTTY, it seems the vendor id is 0x0904 as with most other Baum displays. However, I'm unclear about the vendor id for the Vario 340. You wrote two numbers: 0x6201 and 0x6010. 0x6010 looks like it's probably the product id (and I'm guessing the vendor id is 0x0904, but what's 0x6201?
2. HumanWare now produce their own Brailliant B displays. My understanding was that Baum were no longer producing Brailliant displays. So what's the story with the Brailliant2?
3. Is Bluetooth auto detection working correctly for the SuperVario2? Do we need to add additional Bluetooth names for it?
4. Is Bluetooth auto detection working for the Brailliant2? Do we need to add additional Bluetooth names for it?

Another question: you mentioned that the SuperVario2 supports USB serial. Do you mean you can switch it to USB serial mode instead of HID? If so, does auto detection work or do you need to select the serial port manually in NVDA? if auto detection doesn't work, is the USB product id the same when using USB serial mode? (Often, the product id is different between these two modes.)


Resolving patch:
diff --git a/source/brailleDisplayDrivers/baum.py b/source/brailleDisplayDrivers/baum.py
--- a/source/brailleDisplayDrivers/baum.py
+++ b/source/brailleDisplayDrivers/baum.py
@@ -87,6 +87,17 @@
 	"VID_0904&PID_4005", # Pronto! 40 V3
 	"VID_0904&PID_4007", # Pronto! 18 V4
 	"VID_0904&PID_4008", # Pronto! 40 V4
+	"VID_0904&PID_6001", # SuperVario2 40
+	"VID_0904&PID_6002", # SuperVario2 24
+	"VID_0904&PID_6003", # SuperVario2 32
+	"VID_0904&PID_6004", # SuperVario2 64
+	"VID_0904&PID_6005", # SuperVario2 80
+	"VID_0904&PID_6006", # Brailliant2 40
+	"VID_0904&PID_6007", # Brailliant2 24
+	"VID_0904&PID_6008", # Brailliant2 32
+	"VID_0904&PID_6009", # Brailliant2 64
+	"VID_0904&PID_600A", # Brailliant2 80
+	"VID_0904&PID_6201", # Vario 340
 	"VID_0483&PID_A1D3", # Orbit Reader 20
 }
 


Test patch: