Posts by maxioman

    Hi Support,


    I really need your team help with information about developing a sample GUI application in c / c ++ for the Octagon Define SX88 OS.

    I have developed one or two simple helloworld windows type application in c ++ with DirectFB for enigma2 however it doesnt run on Define OS.

    Can someone send me a sample source for creating a simple GUI HelloWorld application for octagon sx88.

    Please post related link or send the some help to my email at


    Regards,

    Maxious Manohar

    Thanks for this very useful documentation.

    I am trying to make an arm7hf based busybox environment /ubunu/debian environment in QEMU .

    I am fine to use any Host, Windows, Ubuntu.

    I want a full blown arm emulated linux so i can develop some c++ with SDL.

    I have got some success with the cross compiling simple c++ programs and its runs successfully in the Octagon SF8008.

    I am facing many challenges for compiling the SDL2 program because of errors in some headers file with undefined deceleration type.

    I found that a Qemu emulated environment is the best solution for me.

    I will try to use your documents and will let you know the results in a few days.

    In case there is a already a ready document for the emulating arm7hf or the cortex-a53 .

    i was trying to use a usb to serial cable with Prolific PL2303 chipset.

    i did install the FTDI driver stock from dm920 using the package manager.

    i managed to get the serial port listed in the /dev/ttyUSB0 he after the below commands.



    # modprobe ftdi-sio
    # echo 0403 f248 > /sys/bus/usb-serial/drivers/ftdi_sio/new_id


    After this the i can see the below ports in /dev


    crw-rw---- 1 root dialout 188, 0 Mar 31 17:34 ttyUSB0

    drwxr-xr-x 4 root root 80 Mar 31 17:34 serial

    drwxr-xr-x 2 root root 4840 Mar 31 17:34 char


    dmesg listed the below lines

    [ 1578.723158] ftdi_sio 6-1:1.0: FTDI USB Serial Device converter detected

    [ 1578.723353] usb 6-1: Detected FT8U232AM

    [ 1578.723364] usb 6-1: Number of endpoints 3

    [ 1578.723374] usb 6-1: Endpoint 1 MaxPacketSize 10

    [ 1578.723381] usb 6-1: Endpoint 2 MaxPacketSize 64

    [ 1578.723388] usb 6-1: Endpoint 3 MaxPacketSize 64

    [ 1578.723394] usb 6-1: Setting MaxPacketSize 64

    [ 1578.727500] ftdi_sio ttyUSB0: Unable to read latency timer: -32

    [ 1578.728216] ftdi_sio ttyUSB0: Unable to write latency timer: -32

    [ 1578.728417] usb 6-1: FTDI USB Serial Device converter now attached to ttyUSB0


    lsusb -v listed as below


    Bus 006 Device 002: ID 067b:2303

    Device Descriptor:

    bLength 18

    bDescriptorType 1

    bcdUSB 1.10

    bDeviceClass 0

    bDeviceSubClass 0

    bDeviceProtocol 0

    bMaxPacketSize0 64

    idVendor 0x067b

    idProduct 0x2303

    bcdDevice 3.00

    iManufacturer 1 Prolific Technology Inc.

    iProduct 2 USB-Serial Controller

    iSerial 0

    bNumConfigurations 1

    Configuration Descriptor:

    bLength 9

    bDescriptorType 2

    wTotalLength 39

    bNumInterfaces 1

    bConfigurationValue 1

    iConfiguration 0

    bmAttributes 0x80

    (Bus Powered)

    MaxPower 100mA


    but when i run any serial loger commands such as cat /dev/ttyUSB0 i get the below error in dmesg

    [ 1579.805161] usb 6-1: usbfs: USBDEVFS_CONTROL failed cmd enigma2 rqt 128 rq 6 len 255 ret -62

    [ 1667.640153] ftdi_sio ttyUSB0: ftdi_set_termios FAILED to set databits/stopbits/parity

    [ 1667.642267] ftdi_sio ttyUSB0: ftdi_set_termios urb failed to set baudrate

    [ 1667.644155] ftdi_sio ttyUSB0: urb failed to clear flow control

    [ 1672.640168] ftdi_sio ttyUSB0: failed to get modem status: -32

    [ 1672.642212] ftdi_sio ttyUSB0: error from flowcontrol urb


    i know the solution is to put the correct pl2303.ko file for arm7 and modprobe it.

    can someone help please.