×

INDI Library v2.0.6 is Released (02 Feb 2024)

Bi-monthly release with minor bug fixes and improvements

ttyUSB0 issues on OnStepp and RasPi4

  • Posts: 151
  • Thank you received: 27
hi!
i think that all is ok with you onstep - i need to check a CP20xx myself, and i am a little bit confused at the time being. there is apparently a focuser driver in the onstep, isn't it ? at least i interpreted the DRV 8825 chip to be something like that ...
yours wolfi
4 years 2 months ago #48379

Please Log in or Create an account to join the conversation.

  • Posts: 1208
  • Thank you received: 559
Pep,

Sorry, I don't understand what's going on with your system. What I posted has to do with the situation where you plug two serial devices into your computer, and the OS assigns one device to /dev/ttyUSB0 and assigns the other to /dev/ttyUSB1, but the assignment is somewhat random as to which gets 0 and which gets 1. That is what happens for me. It never assigns both to /dev/ttyUSB0 (I don't understand that, not sure what that means, are you sure that's what's happening?).

So, when my situation occurs, you need to have a way of knowing which physical device (0 or 1) is your focuser is and which is your mount.
My advice deals with that situation. If that is not what's happening to you, unfortunately, I'm not sure what more to tell you.

Just in case, can you please run this command with your devices plugged in and none of my changes.
ls -l /dev/ttyUSB*
Are you sure you don't see both /dev/ttyUSB0 and /dev/ttyUSB1?

Hy
4 years 2 months ago #48384

Please Log in or Create an account to join the conversation.

  • Posts: 2
  • Thank you received: 0
Hi, it is my first experience with INDI system and I have a problem with guide camera (ASI120MM-S) when the mount (CEM40) is connected ttyUSB0......
Could be the same problem ?
Could be the same problem ?
I don't manage to resolve it....
4 years 2 months ago #48409

Please Log in or Create an account to join the conversation.

  • Posts: 84
  • Thank you received: 0
Hi wolfi,

The DRV8825 is the stepper motor drivers (2 for mount and 1 for focus)
The indi onstep driver control the both (mount and focus).
Continue the problem...
Thanks,
Pep
4 years 2 months ago #48415

Please Log in or Create an account to join the conversation.

  • Posts: 84
  • Thank you received: 0
Hi Hy,

I saw in your case that you had the same vendor and product but diferent serial, but I tried in my case and not works...
About ttyUSB* I add the picture, but I only connect a USB


Then I looking for ID Vendor on ttyUSB0 and find 3 idventor :ohmy:


I'm completely lost... I don't know how to do it... The 3 idventor desapear when I disconnect the only usb as connected....

Thanks,
Pep
4 years 2 months ago #48416
Attachments:

Please Log in or Create an account to join the conversation.

  • Posts: 151
  • Thank you received: 27
hi! don't fall into despair - i will check my CP20xx today to see what i get ... yours wolfi
4 years 2 months ago #48435

Please Log in or Create an account to join the conversation.

  • Posts: 84
  • Thank you received: 0
Hi Wolfi,

I'm tired (I'm going to sleep late behind this topic ...), but I'm still not desperate because I know I have you guys who can help me.
In the end we will get it, I'm sure (I'm a low cost amateur astronomer in Catalonia, and my life is used to having these moments of despair ;-p)

Thanks a lot,
Pep
4 years 2 months ago #48438

Please Log in or Create an account to join the conversation.

  • Posts: 151
  • Thank you received: 27
hi!
i think that there is nothing wrong with your CP21xx. i tried it here and
pi@TSC:~ $ udevadm info -a -n /dev/ttyUSB0 | grep serial

gives me

SUBSYSTEMS=="usb-serial"
ATTRS{serial}=="0136F636"
ATTRS{serial}=="0000:01:00.0"

for my CP2104. the first attribute is the iSerial serial number. that is not a second a device. what IS strange is that your device has serial number 0000 ...

can you send us the result of
lsusb -v -d 10c4:ea60

???

BTW, you can simply copy the content of your terminal by marking the output and using Ctrl-Shift-C instead of Ctrl-C ...

yours wolfi
4 years 2 months ago #48442

Please Log in or Create an account to join the conversation.

  • Posts: 389
  • Thank you received: 15
Hello,

Pardon me. I have been reading this thread. I am puzzled. I tried using /dev/ttyUSB0 early on. I abandoned its use and camped on /dev/ttyACM* for AstroBerry 1.1 and 2.0.0. I think you may have better service using /dev/ttyACM0* for RS232 devices.
4 years 2 months ago #48449

Please Log in or Create an account to join the conversation.

  • Posts: 151
  • Thank you received: 27
hi!
worth a try as well - but the dmesg log pep posted clearly states that the adapter connects to ttyUSB0 ...
yours wolfi
4 years 2 months ago #48451

Please Log in or Create an account to join the conversation.

  • Posts: 84
  • Thank you received: 0
Hi Wolfi,

The results is:

astroberry@astroberry:~ $ lsusb -v -d 10c4:ea60

Bus 001 Device 003: ID 10c4:ea60 Cygnal Integrated Products, Inc. CP2102/CP2109 UART Bridge Controller [CP210x family]
Device Descriptor:
bLength 18
bDescriptorType 1
bcdUSB 1.10
bDeviceClass 0
bDeviceSubClass 0
bDeviceProtocol 0
bMaxPacketSize0 64
idVendor 0x10c4 Cygnal Integrated Products, Inc.
idProduct 0xea60 CP2102/CP2109 UART Bridge Controller [CP210x family]
bcdDevice 1.00
iManufacturer 1 Silicon Labs
iProduct 2 CP2102 USB to UART Bridge Controller
iSerial 3 0001
bNumConfigurations 1
Configuration Descriptor:
bLength 9
bDescriptorType 2
wTotalLength 0x0020
bNumInterfaces 1
bConfigurationValue 1
iConfiguration 0
bmAttributes 0x80
(Bus Powered)
MaxPower 100mA
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 0
bAlternateSetting 0
bNumEndpoints 2
bInterfaceClass 255 Vendor Specific Class
bInterfaceSubClass 0
bInterfaceProtocol 0
iInterface 2 CP2102 USB to UART Bridge Controller
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x81 EP 1 IN
bmAttributes 2
Transfer Type Bulk
Synch Type None
Usage Type Data
wMaxPacketSize 0x0040 1x 64 bytes
bInterval 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x01 EP 1 OUT
bmAttributes 2
Transfer Type Bulk
Synch Type None
Usage Type Data
wMaxPacketSize 0x0040 1x 64 bytes
bInterval 0
can't get debug descriptor: Resource temporarily unavailable
Device Status: 0x0000
(Bus Powered)

Thanks,
Pep
4 years 2 months ago #48452

Please Log in or Create an account to join the conversation.

  • Posts: 84
  • Thank you received: 0
Hi Arado,

How I can do it?

Thanks,
Pep
4 years 2 months ago #48453

Please Log in or Create an account to join the conversation.

Moderators: Radek Kaczorek
Time to create page: 0.974 seconds