Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 2 Jan 2020 11:11:55 +0200
From:      Daniel Braniss <danny@cs.huji.ac.il>
To:        freeBSD-STABLE Mailing List <freebsd-stable@freebsd.org>
Subject:   usb QR reader
Message-ID:  <7DC305EC-7B3F-4859-ABAC-3FF1B2F84B30@cs.huji.ac.il>

index | next in thread | raw e-mail

Hi, 
after connecting this QR reader I see a new /dev/ttyU but as soon as I try tip,
the device disconnects. (BTW, it’s configured as a ‘Virtual Serial Port’)

dmsg:
…
Jan  2 10:54:57 pampero kernel: umodem0 on uhub1
Jan  2 10:54:57 pampero kernel: umodem0: <SM SM-2D PRODUCT USB UART, class 2/0, rev 1.10/1.00, addr 38> on usbus0
Jan  2 10:54:57 pampero kernel: umodem0: data interface 1, has no CM over data, has no break
Jan  2 10:56:01 pampero kernel: umodem0: at uhub1, port 2, addr 38 (disconnected)
Jan  2 10:56:02 pampero kernel: umodem0: 
Jan  2 10:56:02 pampero kernel: detached
Jan  2 10:56:03 pampero kernel: umodem0 on uhub1
Jan  2 10:56:03 pampero kernel: umodem0: <SM SM-2D PRODUCT USB UART, class 2/0, rev 1.10/1.00, addr 38> on usbus0
Jan  2 10:56:03 pampero kernel: umodem0: data interface 1, has no CM over data, has no break
…

and usbconfig:
pampero# usbconfig
ugen0.1: <0x8086 XHCI root HUB> at usbus0, cfg=0 md=HOST spd=SUPER (5.0Gbps) pwr=SAVE (0mA)
ugen0.2: <GenesysLogic USB2.0 Hub> at usbus0, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=SAVE (500mA)
ugen0.4: <Logitech USB Receiver> at usbus0, cfg=0 md=HOST spd=FULL (12Mbps) pwr=ON (98mA)
ugen0.5: <Prolific Technology Inc. USB-Serial Controller> at usbus0, cfg=0 md=HOST spd=FULL (12Mbps) pwr=ON (100mA)
ugen0.6: <GenesysLogic USB3.0 Hub> at usbus0, cfg=0 md=HOST spd=SUPER (5.0Gbps) pwr=SAVE (0mA)
ugen0.3: <Silicon Labs CP2102 USB to UART Bridge Controller> at usbus0, cfg=0 md=HOST spd=FULL (12Mbps) pwr=ON (100mA)
ugen0.7: <SM SM-2D PRODUCT USB UART> at usbus0, cfg=0 md=HOST spd=FULL (12Mbps) pwr=ON (100mA) <— this is the QR

any ideas?

thanks,
	danny



home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?7DC305EC-7B3F-4859-ABAC-3FF1B2F84B30>