User Tools

Site Tools


doc:appunti:hardware:sjcam-8pro

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Last revisionBoth sides next revision
doc:appunti:hardware:sjcam-8pro [2022/06/14 11:04] – [Color profiles] niccolodoc:appunti:hardware:sjcam-8pro [2022/06/15 15:50] – [The TCP API] niccolo
Line 652: Line 652:
  
 You can also send messages from the camera itself: the **RTOS** operating system provides the **telnet** command which can ben used to talk to the **GNU/Linux** operating system running on the same camera, which handles the API requests (the camera actually runs two operating system simultaneusly: RTOS and Linux). In this scenario I was able to talk to the API but with no interaction: I used ''telnet'' to only send messages but I did not find any way to read the answers. You can also send messages from the camera itself: the **RTOS** operating system provides the **telnet** command which can ben used to talk to the **GNU/Linux** operating system running on the same camera, which handles the API requests (the camera actually runs two operating system simultaneusly: RTOS and Linux). In this scenario I was able to talk to the API but with no interaction: I used ''telnet'' to only send messages but I did not find any way to read the answers.
 +
 +===== Connecting to GNU/Linux via USB =====
 +
 +If you connect the SJ8 Pro camera to a GNU/Linux computer using an USB cable, the Linux kernel will detect it, this is the **lsusb** output:
 +
 +<code>
 +Bus 001 Device 006: ID 070a:4026 Oki Electric Industry Co., Ltd A9 Platform 
 +</code>
 +
 +The kernel inform also that the device is available as **USB Mass Storage**:
 +
 +<code>
 +usb 1-1.1: new high-speed USB device number 6 using ehci-pci
 +usb 1-1.1: New USB device found, idVendor=070a, idProduct=4026, bcdDevice= 0.01
 +usb 1-1.1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
 +usb 1-1.1: Product: A9 Platform 
 +usb 1-1.1: Manufacturer: AmbarellaInc
 +usb 1-1.1: SerialNumber: 0001
 +usb-storage 1-1.1:1.0: USB Mass Storage device detected
 +scsi host6: usb-storage 1-1.1:1.0
 +scsi 6:0:0:0: Direct-Access     SJCAM    SJ8PRO           1000 PQ: 0 ANSI: 0
 +sd 6:0:0:0: Attached scsi generic sg3 type 0
 +</code>
  
 ===== Tips ===== ===== Tips =====
doc/appunti/hardware/sjcam-8pro.txt · Last modified: 2023/06/09 12:21 by niccolo