Jump to content

Recommended Posts

Posted

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?

Posted

/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 ?

 

Posted

 

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.

 

Posted

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 ?

Guest
This topic is now closed to further replies.
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines