Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Baoclone port in Linux #15

Open
iw2evk opened this issue Jun 10, 2024 · 4 comments
Open

Baoclone port in Linux #15

iw2evk opened this issue Jun 10, 2024 · 4 comments

Comments

@iw2evk
Copy link

iw2evk commented Jun 10, 2024

Hi Serge,

i've compiled baoclone 1.6 for linux (i use ubuntu 20.04)

i don't understand how set the usb port...

i use for programming the radio a usb to ttl device.

the port it's /tty/USB0 so i try to download for my baofeng uv5r

iw2evk@iw2evk-4236j25:~/Scaricati/baoclone-master/baoclone-master/build$ baoclone -v /tty/USB0
Read image from file '/tty/USB0'.
/tty/USB0: No such file or directory

What is the right command ?

many thanks

Regards

iw2evk Roberto

Milan

@sergev
Copy link
Owner

sergev commented Jun 10, 2024

Hi Roberto,
Try /dev/USB0.

@iw2evk
Copy link
Author

iw2evk commented Jun 12, 2024 via email

@iw2evk
Copy link
Author

iw2evk commented Jun 12, 2024

A question . i've see in datasheeth of RDA1846 chip some commands not present in menue or Chirp.

E.g.

Bit 58H[3] : Function pre/de-emph 1=pre/de-emph bypass 0=normal

or

Step1: set 58H[1:0]=11 set voice hpf bypass
Step2: set 58H[5:3]=111 set voice lpf bypass and pre/de-emph bypass

It's possibible with boaclone send this data to the radio chip?

Thanks

@watsoncj
Copy link

watsoncj commented Aug 1, 2024

Ubuntu 22 here. The device was located at /dev/ttyUSB0. Thanks!

sudo ./build/baoclone /dev/ttyUSB0

Running sudo dmesg immediately after plugging in the radio, helped to identify the device:

[2684300.109641] usb 1-9: new full-speed USB device number 16 using xhci_hcd
[2684300.264256] usb 1-9: New USB device found, idVendor=0403, idProduct=6015, bcdDevice=10.00
[2684300.264258] usb 1-9: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[2684300.264259] usb 1-9: Product: FT231X USB UART
[2684300.264260] usb 1-9: Manufacturer: FTDI
[2684300.264260] usb 1-9: SerialNumber: D30GK1ZZ
[2684300.268474] ftdi_sio 1-9:1.0: FTDI USB Serial Device converter detected
[2684300.268500] usb 1-9: Detected FT-X
[2684300.269118] usb 1-9: FTDI USB Serial Device converter now attached to ttyUSB0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants