sailorbg Posted May 20, 2017 Posted May 20, 2017 Hello, With wheezy and I can't use CB2 build in /dev/ttyUSB0. cannot access /dev/ttyUSB0: No such file or directory What should I do to enable it and use it?
martinayotte Posted May 20, 2017 Posted May 20, 2017 /dev/ttyUSBx only appears when a device is detected as serial when connected. Which device are you plugging into USB port ? Maybe the driver is not present ?
sailorbg Posted May 20, 2017 Author Posted May 20, 2017 Thank you for your answer. I didn''t connect yet. I thoght that the serial that is build in on the MB shold be detected during the system ini. I'm planning to connect my battery monitor there and read the data from it. I didn't knew that the serial will appear at the moment of connection. PS. I'm confused. Is this a serial that I'm looking for? May be I need to search for a /dev/ttyS0 not for USB? :~$ dmesg |grep seri [ 0.989535] [uart]: serial probe 0 irq 33 mapbase 0x01c28000 [ 6.093652] systemd[1]: Starting system-serial\x2dgetty.slice. [ 6.100009] systemd[1]: Created slice system-serial\x2dgetty.slice.
martinayotte Posted May 20, 2017 Posted May 20, 2017 When the device is just connected, it will appear, for example, I've just attached a USB-TTL Serial adaptor on my OPi, and dmesg output is : [ 635.907660] usb 1-1.3: new full-speed USB device number 3 using ehci-platform [ 636.147607] usbcore: registered new interface driver usbserial [ 636.147692] usbcore: registered new interface driver usbserial_generic [ 636.147736] usbserial: USB Serial support registered for generic [ 636.153595] usbcore: registered new interface driver pl2303 [ 636.153653] usbserial: USB Serial support registered for pl2303 [ 636.153725] pl2303 1-1.3:1.0: pl2303 converter detected [ 636.155984] usb 1-1.3: pl2303 converter now attached to ttyUSB0 What you battery monitor look like ? Are you sure it is appearing as serial device ?
Recommended Posts