simosx έγραψε:Υποψιάζομαι ότι η «συσκευή» δεν ήταν το /dev/ttyUSB0 αλλά έτυχε να είναι κάτι άλλο όπως /dev/ttyUSB3. Είναι έτσι;
Off topic:Ο Linus και ο Hohndel πήγαν πριν μια βδομάδα στην Ινδονησία για καταδύσεις.
Διαβασε αυτο για να μην ψαχνεις.
4.2. How to Find the Device Name for USB devices
When you connect your dive computer by using an USB connector, usually Subsurface will either propose a drop down list that contains the correct device name (or mount point for the Uemis Zurich), or it will disable the device select drop down is now device name is needed at all. In the rare cases where this doesn’t work here are some instructions on ways to find out what your dive name is:
On Windows:
Simply try COM1, COM2, etc. The drop down list should contain all connected COM devices.
On MacOS:
The drop down box should find all connected dive computers.
On Linux:
Try the following:
Disconnect your USB cable of your dive computer
Open a terminal
Type the command:
dmesg and press enter
Plug in your USB cable of your dive computer
Type the command:
dmesg and press enter
Within your terminal you should see a message similar to this one:
usb 2-1.1: new full speed USB device number 14 using ehci_hcd
usbcore: registered new interface driver usbserial
USB Serial support registered for generic
usbcore: registered new interface driver usbserial_generic
usbserial: USB Serial Driver core
USB Serial support registered for FTDI USB Serial Device
ftdi_sio 2-1.1:1.0: FTDI USB Serial Device converter detected
usb 2-1.1: Detected FT232BM
usb 2-1.1: Number of endpoints 2
usb 2-1.1: Endpoint 1 MaxPacketSize 64
usb 2-1.1: Endpoint 2 MaxPacketSize 64
usb 2-1.1: Setting MaxPacketSize 64
usb 2-1.1: FTDI USB Serial Device converter now attached to ttyUSB3
usbcore: registered new interface driver ftdi_sio
ftdi_sio: v1.6.0:USB FTDI Serial Converters Driver
You see that in the third line from the bottom, the USB adapter is detected and is connected to ttyUSB3. Now you use this information in the import settings as /dev/ttyUSB3. Your dive computer interface is connected and you should be able to import your dives.
1 Γνώσεις Linux: Πρώτα βήματα ┃ Προγραμματισμού: Καθόλου ┃ Αγγλικών: Ικανοποιητικό
2 Ubuntu 15.10 wily 4.2.0-18-generic 64bit (el_GR.UTF-8, Unity ubuntu)
3 Intel Pentium CPU 2117U @ 1.80GHz ‖ RAM 3827 MiB ‖ Dell Inc. 0MND5Y - Dell Inc. Inspiron 3521
4 Intel 3rd Gen Core processor Graphics Controller [8086:0156] {i915}
5 enp1s0: Realtek RTL8101/2/6E PCI Express Fast/Gigabit Ethernet controller [10ec:8136] (rev 05) ⋮ wlp2s0: Qualcomm Atheros AR9485 Wireless Network Adapter [168c:0032] (rev 01)