On Wed, Apr 24, 2019 at 10:19:13PM +0100, Jason McIntyre wrote:
> On Wed, Apr 24, 2019 at 11:16:18PM +0200, Remi Locherer wrote:
> > On Wed, Apr 24, 2019 at 08:54:08AM +0100, Jason McIntyre wrote:
> > > On Wed, Apr 24, 2019 at 08:11:42AM +0100, Stuart Henderson wrote:
> > > > On 2019/04/23 23:53, Remi Locherer wrote:
> > > > > Hi,
> > > > > 
> > > > > with below diff the usb serial adapter built into the SRX 300 attaches
> > > > > to uslcom and can be used.
> > > > > 
> > > > > uslcom0 at uhub1 port 1 configuration 1 interface 0 "Silicon Labs 
> > > > > Juniper Networks BX Series System Console" rev 1.10/1.01 addr 10
> > > > > 
> > > > > OK?
> > > > 
> > > > >  product SILABS KYOCERA_GPS   0x8411  Kyocera GPS
> > > > >  product SILABS IRZ_SG10              0x8418  IRZ SG-10 GSM/GPRS Modem
> > > > >  product SILABS BEI_VCP               0x846e  BEI USB Sensor (VCP)
> > > > > +product SILABS JUNIPER_BX_CONS       0x8470  Juniper BX Series 
> > > > > System Console
> > > > >  product SILABS BALLUFF_RFID  0x8477  Balluff RFID reader
> > > > >  product SILABS AC_SERV_IBUS  0x85ea  AC-Services IBUS
> > > > >  product SILABS AC_SERV_CIS   0x85eb  AC-Services CIS-IBUS
> > > > 
> > > > The string could be a little shorter, just "Juniper BX Console"
> > > > is clear enough and saves a few bytes in the kernel. Otherwise OK.
> > > > Reminder, first commit just usbdevs, then run "make" and commit
> > > > usbdevs.h/usbdevs_data.h, then the c file.
> > > > 
> > > 
> > > ...and then update uslcom.4 ;)
> > 
> > I'm not sure this makes sense. This is not an adapter I buy because I
> > need serial and only have usb. It's a network device that has this built
> > in so I can connect to serial with just an usb (mini) cable.r
> > 
> > And what product should we add to the manual? It works with Juniper SRX 300.
> > I have no clue if Juniper uses this in other devices. The usb-c connector
> > from my ICX Switch also attaches to uslcom. Should this also be listet?
> > 
> > Remi
> > 
> 
> hi.
> 
> no, it's my mistake - sorry! i just presumed it should be listed.
> jmc
> 

Theo suggested that it makes sense and that there are similar examples.

Should we list devices like this?

Not all SRX models have such an USB console port. I took the model numbers
from here:
https://kb.juniper.net/InfoCenter/index?page=content&id=KB31671


Index: uslcom.4
===================================================================
RCS file: /cvs/src/share/man/man4/uslcom.4,v
retrieving revision 1.14
diff -u -p -r1.14 uslcom.4
--- uslcom.4    20 May 2017 14:24:46 -0000      1.14
+++ uslcom.4    25 Apr 2019 20:16:06 -0000
@@ -53,11 +53,13 @@ Enfora EDG1228
 Gemalto Prox-PU/CU Smartcard Readers
 IRZ MC35pu GSM Terminal
 Jablotron PC-60B
+Juniper SRX 300/320/340/345/550M/1500 USB console
 Lipowsky Baby-JTAG
 Lipowsky Baby-LIN
 Lipowsky HARP-1
 MobiData GPRS Modem
 Pololu USB to Serial
+Ruckus ICX 7150 USB console
 SPORTident BSM7-D-USB
 Tracient RFID
 Track Systems Traqmate

Reply via email to