Wolfgang Birkfellner replied to the topic 'ttyUSB0 issues on OnStepp and raspi4' in the forum. 16 hours 14 minutes ago

hi pep!
well - ttySx is he standard UART, the old style miniDIN 9 COM1 port hardly to be found on any computer anymore (the pi still ha it via dedicated GPIO pins, but no direct connector). the ttyACMx thing - well - i don't think that this is the problem as your cp2102/9 hooks up to ttyUSB0. maybe a try with the pi3+ might shed more light on that problem ...
yours wolfi

Read More...

Wolfgang Birkfellner replied to the topic 'ttyUSB0 issues on OnStepp and raspi4' in the forum. 3 days ago

hi!
i checked the doc - USB 1.1 seems to be the response from this converter, which is apparently an older model.
as far as i can tell, all is fine with your converter. so it is either a hardware failure (scarce) or a software problem ...

i am running out of suggestions, maybe someone with a better understanding of udev rules might be able to help.
... i still see the focuser as a separate device here - which is suspicious.

one idea:
- move the udev rules file to a different location so that they are not executed at startup
- reboot
- now, you cannot access /dev/ttyUSB0 UNLESS you are root OR - i hope that works - you give everyone else access to the device by typing

sudo chmod a+rw /dev/ttyUSB0

in the terminal. start kstars in the same terminal. if this works (unless i typed some BS, which is always possible), then the udev rules are the problem. this is not a remedy, by the way. next time you reboot, access is gone again ...

yours wolfi

Read More...

Wolfgang Birkfellner replied to the topic 'ASI183MM PRO Offset' in the forum. 4 days ago

hi!
true, but basically, this is the offset, isn't it? for the zwo cameras, it is reported correctly as 32xxx and if subtracted, this allows for rescaling of the 16 bit data from the raw BLOB as received by INDI ...
yours wolfi

Read More...

Wolfgang Birkfellner replied to the topic 'ttyUSB0 issues on OnStepp and raspi4' in the forum. 4 days ago

hi!
USB devices can also be set in the dev rules, i think ... but i have a more important question: why are you running on USB 1.1????

it should work, i am just wondering.
yours wolfi

Read More...

Wolfgang Birkfellner replied to the topic 'ttyUSB0 issues on OnStepp and raspi4' in the forum. 4 days ago

hi!
worth a try as well - but the dmesg log pep posted clearly states that the adapter connects to ttyUSB0 ...
yours wolfi

Read More...

Wolfgang Birkfellner replied to the topic 'ASI183MM PRO Offset' in the forum. 4 days ago

Hi! Sure?

KEYWORD: BZERO
REFERENCE: FITS Standard
STATUS: reserved
HDU: image
VALUE: real
DEFAULT: 0.0
COMMENT: zero point in scaling equation
DEFINITION: This keyword shall be used, along with the BSCALE keyword,
when the array pixel values are not the true physical values, to
transform the primary data array values to the true values using the
equation: physical_value = BZERO + BSCALE * array_value. The value field
shall contain a floating point number representing the physical value
corresponding to an array value of zero. The default value for this
keyword is 0.0.
Yours wolfi

Read More...

Wolfgang Birkfellner replied to the topic 'ttyUSB0 issues on OnStepp and raspi4' in the forum. 4 days ago

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

Read More...

Wolfgang Birkfellner replied to the topic 'ASI183MM PRO Offset' in the forum. 4 days ago

hi!

shouldn't the offset be listed with the BZERO keyword in FITS???
yours wolfi

Read More...

Wolfgang Birkfellner replied to the topic 'ttyUSB0 issues on OnStepp and raspi4' in the forum. 4 days ago

hi! don't fall into despair - i will check my CP20xx today to see what i get ... yours wolfi

Read More...

Wolfgang Birkfellner replied to the topic 'ttyUSB0 issues on OnStepp and raspi4' in the forum. 5 days ago

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

Read More...

Wolfgang Birkfellner replied to the topic 'ttyUSB0 issues on OnStepp and raspi4' in the forum. 6 days ago

hi!
well - the strange thing is that two device claim ttyUSB0, this has to be in the udev rules. otherwise, you should see ttyUSB0 and ttyUSB1 ... bluetooth is a last resort, rather. maybe you can find out which other device also has a CP20xx built in (they are very widespread). that might be a first step ...
yours wolfi

Read More...

Wolfgang Birkfellner replied to the topic 'ttyUSB0 issues on OnStepp and raspi4' in the forum. 7 days ago

hi!
remove the onstep and run lsusb - see whether there is another device :)

yours
wolfi

Read More...

Wolfgang Birkfellner replied to the topic 'ttyUSB0 issues on OnStepp and raspi4' in the forum. 7 days ago

hi!
the udev changes suggested by hy certainly make sense. i am not too familiar with the onstep either - however, there is one deviation of your device compared to the PCB i saw.
i commented your photo:


there is no serial-to-USB converter - the infamous CP2xxx something - where one is supposed be. i am not too aware of the variants of onstep, and i don't know the STM32. so i can only speculate.
- either the STM has an onboard converter like the various ESP32 chips. i have not seen this from the documentation, but it is possible. (teensies, on the other hand, have a native USB interface, and they are ARM chips, too). then you see this converter chip. i don't understand why howard should have foreseen a separate converter in this case, but maybe the PCB serves different versions.
- or your board uses a native UART (=serial port) of the STM, which it seems to have. then it is adressable as a /dev/ttyS0 or similar device, and the CP2xxx converter you see in lsusb is from a different device (focuser maybe or some other gadget). this port would not show up in lsusb ...
yours wolfi

Read More...

Wolfgang Birkfellner replied to the topic 'ttyUSB0 issues on OnStepp and raspi4' in the forum. 7 days ago

hi!
from what i see, you are most likely not connected directly to the microcontroller (that should not be a ttyUSBx device according to the specs) but to the the little extra board on the right hand side of the PCB. a photo might help.

and isn't "astroberry" the default password? i have very little experience with astroberry ...
yours wolfi

Read More...

Wolfgang Birkfellner replied to the topic 'ttyUSB0 issues on OnStepp and raspi4' in the forum. 7 days ago

hi!
i checked the prints from howard - yes, the CP2102 is apparently your /dev/ttyUSB0 ... most likely you don't have the udev rules set so that it can be accessed by anyone else but the superuser (although the message that it is occupied might be misleading in that case). maybe this helps: unix.stackexchange.com/questions/299599/...assign-cp210x-driver

yours wolfi

Read More...