Skocz do zawartości

tomax

Społeczność Astropolis
  • Postów

    9
  • Dołączył

  • Ostatnia wizyta

Odpowiedzi opublikowane przez tomax

  1. Dalej nie mogę poradzić sobie z tym usb , podmiana wszystkich parametrów z ubuntu nie naprawia wszystkiego . Działo to teraz tak że INDI zgodnie z ustalonym czasem naświetlania ustawia high na RTS koniec czasu low i tak już zostaje , w oknie terminala indi to samo , odlicza czas pierwszej klatki i zwiecha , Jakiś pomysł jeszcze ? Dziękuje

  2. Jednak jeszcze ok nie jest , skrypt stty tylko wymusza sprzętowe 0V na rts . indi dalej nie steruje z poziomu pulpitu LX , pobawię się jeszcze tymi parametrami . 

     

    astroberry@astroberry:~ $ udevadm info -n ttyUSB0 -a

    Udevadm info starts with the device specified by the devpath and then
    walks up the chain of parent devices. It prints for every device
    found, all possible attributes in the udev rules key format.
    A rule to match, can be composed by the attributes of the device
    and the attributes from one single parent device.

      looking at device '/devices/platform/scb/fd500000.pcie/pci0000:00/0000:00:00.0/0000:01:00.0/usb1/1-1/1-1.3/1-1.3.2/1-1.3.2:1.0/ttyUSB0/tty/ttyUSB0':
        KERNEL=="ttyUSB0"
        SUBSYSTEM=="tty"
        DRIVER==""

      looking at parent device '/devices/platform/scb/fd500000.pcie/pci0000:00/0000:00:00.0/0000:01:00.0/usb1/1-1/1-1.3/1-1.3.2/1-1.3.2:1.0/ttyUSB0':
        KERNELS=="ttyUSB0"
        SUBSYSTEMS=="usb-serial"
        DRIVERS=="ftdi_sio"
        ATTRS{port_number}=="0"
        ATTRS{latency_timer}=="16"

      looking at parent device '/devices/platform/scb/fd500000.pcie/pci0000:00/0000:00:00.0/0000:01:00.0/usb1/1-1/1-1.3/1-1.3.2/1-1.3.2:1.0':
        KERNELS=="1-1.3.2:1.0"
        SUBSYSTEMS=="usb"
        DRIVERS=="ftdi_sio"
        ATTRS{bInterfaceProtocol}=="ff"
        ATTRS{bAlternateSetting}==" 0"
        ATTRS{supports_autosuspend}=="1"
        ATTRS{bInterfaceSubClass}=="ff"
        ATTRS{bNumEndpoints}=="02"
        ATTRS{interface}=="FT232R USB UART"
        ATTRS{bInterfaceNumber}=="00"
        ATTRS{bInterfaceClass}=="ff"
        ATTRS{authorized}=="1"

      looking at parent device '/devices/platform/scb/fd500000.pcie/pci0000:00/0000:00:00.0/0000:01:00.0/usb1/1-1/1-1.3/1-1.3.2':
        KERNELS=="1-1.3.2"
        SUBSYSTEMS=="usb"
        DRIVERS=="usb"
        ATTRS{tx_lanes}=="1"
        ATTRS{busnum}=="1"
        ATTRS{bNumInterfaces}==" 1"
        ATTRS{bcdDevice}=="0600"
        ATTRS{avoid_reset_quirk}=="0"
        ATTRS{devnum}=="11"
        ATTRS{bDeviceSubClass}=="00"
        ATTRS{idProduct}=="6001"
        ATTRS{ltm_capable}=="no"
        ATTRS{serial}=="00000000"
        ATTRS{removable}=="unknown"
        ATTRS{urbnum}=="101"
        ATTRS{product}=="FT232R USB UART"
        ATTRS{authorized}=="1"
        ATTRS{manufacturer}=="FTDI"
        ATTRS{bMaxPacketSize0}=="8"
        ATTRS{bConfigurationValue}=="1"
        ATTRS{version}==" 2.00"
        ATTRS{quirks}=="0x0"
        ATTRS{bmAttributes}=="a0"
        ATTRS{bDeviceProtocol}=="00"
        ATTRS{bDeviceClass}=="00"
        ATTRS{bMaxPower}=="90mA"
        ATTRS{configuration}==""
        ATTRS{rx_lanes}=="1"
        ATTRS{maxchild}=="0"
        ATTRS{speed}=="12"
        ATTRS{idVendor}=="0403"
        ATTRS{devspec}=="(null)"
        ATTRS{devpath}=="1.3.2"
        ATTRS{bNumConfigurations}=="1"

      looking at parent device '/devices/platform/scb/fd500000.pcie/pci0000:00/0000:00:00.0/0000:01:00.0/usb1/1-1/1-1.3':
        KERNELS=="1-1.3"
        SUBSYSTEMS=="usb"
        DRIVERS=="usb"
        ATTRS{urbnum}=="36"
        ATTRS{bNumConfigurations}=="1"
        ATTRS{ltm_capable}=="no"
        ATTRS{avoid_reset_quirk}=="0"
        ATTRS{bmAttributes}=="e0"
        ATTRS{product}=="USB 2.0 Hub            "
        ATTRS{authorized}=="1"
        ATTRS{bcdDevice}=="0000"
        ATTRS{configuration}==""
        ATTRS{bMaxPower}=="100mA"
        ATTRS{idVendor}=="14cd"
        ATTRS{bNumInterfaces}==" 1"
        ATTRS{devnum}=="10"
        ATTRS{tx_lanes}=="1"
        ATTRS{devpath}=="1.3"
        ATTRS{quirks}=="0x0"
        ATTRS{maxchild}=="4"
        ATTRS{speed}=="480"
        ATTRS{bDeviceClass}=="09"
        ATTRS{busnum}=="1"
        ATTRS{bDeviceProtocol}=="01"
        ATTRS{bDeviceSubClass}=="00"
        ATTRS{devspec}=="(null)"
        ATTRS{version}==" 2.00"
        ATTRS{removable}=="unknown"
        ATTRS{manufacturer}=="USB Device  "
        ATTRS{bMaxPacketSize0}=="64"
        ATTRS{bConfigurationValue}=="1"
        ATTRS{idProduct}=="8601"
        ATTRS{rx_lanes}=="1"

      looking at parent device '/devices/platform/scb/fd500000.pcie/pci0000:00/0000:00:00.0/0000:01:00.0/usb1/1-1':
        KERNELS=="1-1"
        SUBSYSTEMS=="usb"
        DRIVERS=="usb"
        ATTRS{bConfigurationValue}=="1"
        ATTRS{product}=="USB2.0 Hub"
        ATTRS{bmAttributes}=="e0"
        ATTRS{avoid_reset_quirk}=="0"
        ATTRS{rx_lanes}=="1"
        ATTRS{idVendor}=="2109"
        ATTRS{ltm_capable}=="no"
        ATTRS{devpath}=="1"
        ATTRS{tx_lanes}=="1"
        ATTRS{bNumInterfaces}==" 1"
        ATTRS{version}==" 2.10"
        ATTRS{bDeviceSubClass}=="00"
        ATTRS{idProduct}=="3431"
        ATTRS{maxchild}=="4"
        ATTRS{bNumConfigurations}=="1"
        ATTRS{bcdDevice}=="0421"
        ATTRS{devnum}=="2"
        ATTRS{authorized}=="1"
        ATTRS{devspec}=="(null)"
        ATTRS{quirks}=="0x0"
        ATTRS{removable}=="unknown"
        ATTRS{bMaxPower}=="100mA"
        ATTRS{speed}=="480"
        ATTRS{bDeviceProtocol}=="01"
        ATTRS{bMaxPacketSize0}=="64"
        ATTRS{urbnum}=="71"
        ATTRS{configuration}==""
        ATTRS{busnum}=="1"
        ATTRS{bDeviceClass}=="09"

      looking at parent device '/devices/platform/scb/fd500000.pcie/pci0000:00/0000:00:00.0/0000:01:00.0/usb1':
        KERNELS=="usb1"
        SUBSYSTEMS=="usb"
        DRIVERS=="usb"
        ATTRS{configuration}==""
        ATTRS{quirks}=="0x0"
        ATTRS{bDeviceClass}=="09"
        ATTRS{bcdDevice}=="0504"
        ATTRS{authorized}=="1"
        ATTRS{ltm_capable}=="no"
        ATTRS{interface_authorized_default}=="1"
        ATTRS{devspec}=="(null)"
        ATTRS{devnum}=="1"
        ATTRS{devpath}=="0"
        ATTRS{bNumInterfaces}==" 1"
        ATTRS{bDeviceSubClass}=="00"
        ATTRS{rx_lanes}=="1"
        ATTRS{bMaxPacketSize0}=="64"
        ATTRS{busnum}=="1"
        ATTRS{product}=="xHCI Host Controller"
        ATTRS{idVendor}=="1d6b"
        ATTRS{version}==" 2.00"
        ATTRS{idProduct}=="0002"
        ATTRS{avoid_reset_quirk}=="0"
        ATTRS{tx_lanes}=="1"
        ATTRS{maxchild}=="1"
        ATTRS{urbnum}=="30"
        ATTRS{speed}=="480"
        ATTRS{removable}=="unknown"
        ATTRS{bmAttributes}=="e0"
        ATTRS{manufacturer}=="Linux 5.4.51-v7l+ xhci-hcd"
        ATTRS{bConfigurationValue}=="1"
        ATTRS{serial}=="0000:01:00.0"
        ATTRS{bDeviceProtocol}=="01"
        ATTRS{bNumConfigurations}=="1"
        ATTRS{authorized_default}=="1"
        ATTRS{bMaxPower}=="0mA"

      looking at parent device '/devices/platform/scb/fd500000.pcie/pci0000:00/0000:00:00.0/0000:01:00.0':
        KERNELS=="0000:01:00.0"
        SUBSYSTEMS=="pci"
        DRIVERS=="xhci_hcd"
        ATTRS{max_link_width}=="1"
        ATTRS{subsystem_vendor}=="0x1106"
        ATTRS{msi_bus}=="1"
        ATTRS{max_link_speed}=="5 GT/s"
        ATTRS{broken_parity_status}=="0"
        ATTRS{irq}=="57"
        ATTRS{class}=="0x0c0330"
        ATTRS{current_link_width}=="1"
        ATTRS{current_link_speed}=="5 GT/s"
        ATTRS{subsystem_device}=="0x3483"
        ATTRS{consistent_dma_mask_bits}=="64"
        ATTRS{local_cpulist}=="0-3"
        ATTRS{local_cpus}=="f"
        ATTRS{devspec}==""
        ATTRS{device}=="0x3483"
        ATTRS{vendor}=="0x1106"
        ATTRS{driver_override}=="(null)"
        ATTRS{enable}=="1"
        ATTRS{revision}=="0x01"
        ATTRS{dma_mask_bits}=="64"
        ATTRS{ari_enabled}=="0"

      looking at parent device '/devices/platform/scb/fd500000.pcie/pci0000:00/0000:00:00.0':
        KERNELS=="0000:00:00.0"
        SUBSYSTEMS=="pci"
        DRIVERS=="pcieport"
        ATTRS{vendor}=="0x14e4"
        ATTRS{subsystem_device}=="0x0000"
        ATTRS{irq}=="56"
        ATTRS{consistent_dma_mask_bits}=="31"
        ATTRS{subsystem_vendor}=="0x0000"
        ATTRS{driver_override}=="(null)"
        ATTRS{aer_rootport_total_err_nonfatal}=="0"
        ATTRS{aer_rootport_total_err_fatal}=="0"
        ATTRS{devspec}==""
        ATTRS{enable}=="1"
        ATTRS{local_cpulist}=="0-3"
        ATTRS{current_link_speed}=="5 GT/s"
        ATTRS{msi_bus}=="1"
        ATTRS{ari_enabled}=="0"
        ATTRS{secondary_bus_number}=="1"
        ATTRS{max_link_speed}=="5 GT/s"
        ATTRS{broken_parity_status}=="0"
        ATTRS{dma_mask_bits}=="31"
        ATTRS{aer_rootport_total_err_cor}=="0"
        ATTRS{max_link_width}=="1"
        ATTRS{current_link_width}=="1"
        ATTRS{local_cpus}=="f"
        ATTRS{subordinate_bus_number}=="1"
        ATTRS{class}=="0x060400"
        ATTRS{revision}=="0x10"
        ATTRS{device}=="0x2711"

      looking at parent device '/devices/platform/scb/fd500000.pcie/pci0000:00':
        KERNELS=="pci0000:00"
        SUBSYSTEMS==""
        DRIVERS==""

      looking at parent device '/devices/platform/scb/fd500000.pcie':
        KERNELS=="fd500000.pcie"
        SUBSYSTEMS=="platform"
        DRIVERS=="brcm-pcie"
        ATTRS{driver_override}=="(null)"

      looking at parent device '/devices/platform/scb':
        KERNELS=="scb"
        SUBSYSTEMS=="platform"
        DRIVERS==""
        ATTRS{driver_override}=="(null)"

      looking at parent device '/devices/platform':
        KERNELS=="platform"
        SUBSYSTEMS==""
        DRIVERS==""
     

  3. RPi4 z astroberry

     

    speed 9600 baud; rows 0; columns 0; line = 0;
    intr = ^C; quit = ^\; erase = ^?; kill = ^U; eof = ^D; eol = <undef>; eol2 = <undef>; swtch = <undef>; start = ^Q; stop = ^S; susp = ^Z; rprnt = ^R; werase = ^W; lnext = ^V; discard = ^O; min = 1; time = 0;
    -parenb -parodd -cmspar cs8 hupcl -cstopb cread clocal crtscts
    -ignbrk -brkint -ignpar -parmrk -inpck -istrip -inlcr -igncr icrnl ixon -ixoff -iuclc -ixany -imaxbel -iutf8
    opost -olcuc -ocrnl onlcr -onocr -onlret -ofill -ofdel nl0 cr0 tab0 bs0 vt0 ff0
    isig icanon iexten echo echoe echok -echonl -noflsh -xcase -tostop -echoprt echoctl echoke -flusho -extproc

     

    Ubuntu astronomy 18.04 bez wxAstro

     

    astro@astro-HP-EliteBook-840-G2:~$ stty -F /dev/ttyUSB0 -a
    speed 9600 baud; rows 0; columns 0; line = 0;
    intr = ^C; quit = ^\; erase = ^?; kill = ^U; eof = ^D; eol = <undef>;
    eol2 = <undef>; swtch = <undef>; start = ^Q; stop = ^S; susp = ^Z; rprnt = ^R;
    werase = ^W; lnext = ^V; discard = ^O; min = 1; time = 0;
    -parenb -parodd -cmspar cs8 hupcl -cstopb cread clocal -crtscts
    -ignbrk -brkint -ignpar -parmrk -inpck -istrip -inlcr -igncr icrnl ixon -ixoff
    -iuclc -ixany -imaxbel -iutf8
    opost -olcuc -ocrnl onlcr -onocr -onlret -ofill -ofdel nl0 cr0 tab0 bs0 vt0 ff0
    isig icanon iexten echo echoe echok -echonl -noflsh -xcase -tostop -echoprt
    echoctl echoke -flusho -extproc

     

    z wxAstro

     

    astro@astro-HP-EliteBook-840-G2:~$ stty -F /dev/ttyUSB0 -a
    speed 9600 baud; rows 0; columns 0; line = 0;
    intr = <undef>; quit = <undef>; erase = <undef>; kill = <undef>; eof = <undef>;
    eol = <undef>; eol2 = <undef>; swtch = <undef>; start = <undef>; stop = <undef>;
    susp = <undef>; rprnt = <undef>; werase = <undef>; lnext = <undef>;
    discard = <undef>; min = 0; time = 5;
    -parenb -parodd -cmspar cs8 -hupcl -cstopb cread clocal -crtscts
    ignbrk -brkint ignpar -parmrk -inpck -istrip -inlcr -igncr -icrnl -ixon -ixoff
    -iuclc -ixany -imaxbel -iutf8
    -opost -olcuc -ocrnl -onlcr -onocr -onlret -ofill -ofdel nl0 cr0 tab0 bs0 vt0 ff0
    -isig -icanon -iexten -echo -echoe -echok -echonl -noflsh -xcase -tostop -echoprt
    -echoctl -echoke -flusho -extproc

     

    jak to ugryźć

  4. po włączeniu pakietu ;

     

    stty -F /dev/ttyUSB0 crtscts

     

    bez zmian

     

    taki odczyt :

     

    speed 9600 baud; rows 0; columns 0; line = 0;
    intr = ^C; quit = ^\; erase = ^?; kill = ^U; eof = ^D; eol = <undef>; eol2 = <undef>; swtch = <undef>; start = ^Q; stop = ^S; susp = ^Z; rprnt = ^R; werase = ^W; lnext = ^V; discard = ^O; min = 1; time = 0;
    -parenb -parodd -cmspar cs8 hupcl -cstopb cread clocal crtscts
    -ignbrk -brkint -ignpar -parmrk -inpck -istrip -inlcr -igncr icrnl ixon -ixoff -iuclc -ixany -imaxbel -iutf8
    opost -olcuc -ocrnl onlcr -onocr -onlret -ofill -ofdel nl0 cr0 tab0 bs0 vt0 ff0
    isig icanon iexten echo echoe echok -echonl -noflsh -xcase -tostop -echoprt echoctl echoke -flusho -extproc

  5. Witam 

    Ktoś może będzie wiedział w czym problem , odnalazłem ostatnio SPC900NC i chciałem jej użyć jako prowadzenie ale w Ekos-INDI nie ma sterowania RTS/DTD do LX , astroberry poprawnie montuje usb-ftdi ale zmiany napięć na ft232rl brak . Taka sama historia jest na Ubuntu 18.04 

    z tą różnicą że jak pierw ustawie sterowanie LX w wxAstroCapture to kamerka działa poprawnie ,napięcia RTS/DTR są ok , wtedy EKOS-INDI

    też zaczyna działać poprawnie ze sterowaniem LX . Co zmienia wxAstro w systemie czego nie robi INDI ?

  6. Mam LifeCam Studio i C270 ale chciałem się pobawić OnStep-Sky Planetarium-SPC900NC i sterować wszystkim bezprzewodowo typu USB/IP. Zasadniczo wszystko działa

    ok ale chciałem ograniczyć strumień danych paczek przez zastosowanie kamery 640-480  aby wszystko działało stabilnie .

×
×
  • Dodaj nową pozycję...

Powiadomienie o plikach cookie

Umieściliśmy na Twoim urządzeniu pliki cookie, aby pomóc Ci usprawnić przeglądanie strony. Możesz dostosować ustawienia plików cookie, w przeciwnym wypadku zakładamy, że wyrażasz na to zgodę.