usb QR reader

Daniel Braniss danny at cs.huji.ac.il
Thu Jan 2 09:12:00 UTC 2020


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



More information about the freebsd-stable mailing list