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

chip identification #1

Open
olivluca opened this issue Sep 26, 2022 · 14 comments
Open

chip identification #1

olivluca opened this issue Sep 26, 2022 · 14 comments

Comments

@olivluca
Copy link
Owner

Since the bluetooth chip has been filed out, I cannot identify the chip, the seller says it's from Yizhao, the most useful information I could find about yizhao is this news item (i.e. not useful at all).
@biemster @vadimkozhin could you take a look at the pictures and help me identify the chip?

@biemster
Copy link

The "Beauty-R1" broadcast name seems to be more common, but I did not find anybody cracking those open yet either.

@olivluca
Copy link
Owner Author

I think that this one or this one could be the chip powering it (to find it I google translated "yizhao micro electronics" to chinese and used the translation as the search term).

@olivluca
Copy link
Owner Author

I found this repository by @lj19940623 where he collected some information on a similar device using the yc10XX (QFN32 instead of SOP16), unfortunately no sdk.

@vadimkozhin
Copy link

Good catch, @olivluca! Seems like you've found it.

I believe it is yc1088. Seems like schematics of this remote control device matches the traces from your board: pin 4 goes to antenna pin 2 and 3 goes to oscillator.

@olivluca
Copy link
Owner Author

Thank you @vadimkozhin for the fcc links, maybe it's the yc1059 (according to the datasheet it's the only one where pin 8 is marked VPP).
In any case I think these are not reprogrammable (the block diagram says it's 2KB OTP), so there's nothing I can do.

@biemster
Copy link

Good find @olivluca ! Pity there is no public SDK found yet. Keep in mind that sometimes chinese manufactures put in flash and brand it OTP for cost reasons (that's why I'm still trying to get the Lenze st17h26 working), but unfortunately it looks bleak indeed.

@olivluca
Copy link
Owner Author

Since I couldn't find a way to modify the firmware, I attacked the problem from the other side 😉

@johnhamelink
Copy link

I bought a very similar device: https://www.aliexpress.com/item/1005004882530399.html

The device also presents itself as Beauty-R1.

Some photos of the PCB:

IMG_6676
IMG_6677
IMG_6678

@olivluca
Copy link
Owner Author

Yours has an extra button. Did you try the interceptor? (if you want to use it in keyboard emulation mode under android).

@johnhamelink
Copy link

@olivluca I was actually hoping to use it on Linux, so the interceptor isn't so useful for me in my case unfortunately

@olivluca
Copy link
Owner Author

olivluca commented Sep 1, 2023

I think that adapting the "sendkeycode" function it should work under Linux too

@olivluca
Copy link
Owner Author

olivluca commented Sep 1, 2023

@olivluca
Copy link
Owner Author

olivluca commented Sep 1, 2023

But even without any adaptation, you can compile it as is, run it (as root) with -v and see if it finds the clicker and recognizes the buttons.

@johnhamelink
Copy link

johnhamelink commented Sep 1, 2023

I was indeed able to compile as-is, using x86_64-linux-gnu-gcc, however I'm unable to get the device to connect:

[bluetooth]# connect 12:22:34:AB:75:8E
Attempting to connect to 12:22:34:AB:75:8E
[CHG] Device 12:22:34:AB:75:8E Connected: yes
[CHG] Device 12:22:34:AB:75:8E Modalias: usb:v05ACp022Cd011B
[CHG] Device 12:22:34:AB:75:8E ServicesResolved: yes
Failed to connect: org.bluez.Error.NotAvailable br-connection-profile-unavailable
[CHG] Device 12:22:34:AB:75:8E ServicesResolved: no
[CHG] Device 12:22:34:AB:75:8E Connected: no
[CHG] Device EC:81:93:A6:A9:27 ManufacturerData Key: 0x0003 (3)
[CHG] Device EC:81:93:A6:A9:27 ManufacturerData Value:
  01 12 46 00 00 02 fc 66 cf 82 e7 21 ec 81 93 a6  ..F....f...!....
  a9 27 20                                         .'              
[bluetooth]# 

Looking at bluetooth.service, it seems like Bluez is failing to read HID information (input-hid profile probe failed for 12:22:34:AB:75:8E):

-- Boot b658510940144ca89dcc503876e6ca8b --
Sep 01 16:49:22 pluto systemd[1]: Starting Bluetooth service...
Sep 01 16:49:22 pluto bluetoothd[874]: Bluetooth daemon 5.69
Sep 01 16:49:22 pluto systemd[1]: Started Bluetooth service.
Sep 01 16:49:22 pluto bluetoothd[874]: Starting SDP server
Sep 01 16:49:22 pluto bluetoothd[874]: src/plugin.c:plugin_init() System does not support csip plugin
Sep 01 16:49:22 pluto bluetoothd[874]: src/plugin.c:plugin_init() System does not support vcp plugin
Sep 01 16:49:22 pluto bluetoothd[874]: src/plugin.c:plugin_init() System does not support mcp plugin
Sep 01 16:49:22 pluto bluetoothd[874]: src/plugin.c:plugin_init() System does not support bass plugin
Sep 01 16:49:22 pluto bluetoothd[874]: src/plugin.c:plugin_init() System does not support bap plugin
Sep 01 16:49:22 pluto bluetoothd[874]: Bluetooth management interface 1.22 initialized
Sep 01 16:49:22 pluto bluetoothd[874]: src/device.c:device_set_wake_support() Unable to set wake_support without RPA resolution
Sep 01 16:49:23 pluto bluetoothd[874]: src/device.c:set_wake_allowed_complete() Set device flags return status: Invalid Parameters
Sep 01 16:49:50 pluto bluetoothd[874]: Endpoint registered: sender=:1.21 path=/MediaEndpoint/A2DPSource/ldac
Sep 01 16:49:50 pluto bluetoothd[874]: Endpoint registered: sender=:1.21 path=/MediaEndpoint/A2DPSink/aptx_hd
Sep 01 16:49:50 pluto bluetoothd[874]: Endpoint registered: sender=:1.21 path=/MediaEndpoint/A2DPSource/aptx_hd
Sep 01 16:49:50 pluto bluetoothd[874]: Endpoint registered: sender=:1.21 path=/MediaEndpoint/A2DPSink/aptx
Sep 01 16:49:50 pluto bluetoothd[874]: Endpoint registered: sender=:1.21 path=/MediaEndpoint/A2DPSource/aptx
Sep 01 16:49:50 pluto bluetoothd[874]: Endpoint registered: sender=:1.21 path=/MediaEndpoint/A2DPSink/aac
Sep 01 16:49:50 pluto bluetoothd[874]: Endpoint registered: sender=:1.21 path=/MediaEndpoint/A2DPSource/aac
Sep 01 16:49:50 pluto bluetoothd[874]: Endpoint registered: sender=:1.21 path=/MediaEndpoint/A2DPSink/sbc
Sep 01 16:49:50 pluto bluetoothd[874]: Endpoint registered: sender=:1.21 path=/MediaEndpoint/A2DPSource/sbc
Sep 01 16:49:50 pluto bluetoothd[874]: Endpoint registered: sender=:1.21 path=/MediaEndpoint/A2DPSink/sbc_xq
Sep 01 16:49:50 pluto bluetoothd[874]: Endpoint registered: sender=:1.21 path=/MediaEndpoint/A2DPSource/sbc_xq
Sep 01 16:49:50 pluto bluetoothd[874]: Endpoint registered: sender=:1.21 path=/MediaEndpoint/A2DPSource/aptx_ll_1
Sep 01 16:49:50 pluto bluetoothd[874]: Endpoint registered: sender=:1.21 path=/MediaEndpoint/A2DPSource/aptx_ll_0
Sep 01 16:49:50 pluto bluetoothd[874]: Endpoint registered: sender=:1.21 path=/MediaEndpoint/A2DPSource/aptx_ll_duplex_1
Sep 01 16:49:50 pluto bluetoothd[874]: Endpoint registered: sender=:1.21 path=/MediaEndpoint/A2DPSource/aptx_ll_duplex_0
Sep 01 16:49:50 pluto bluetoothd[874]: Endpoint registered: sender=:1.21 path=/MediaEndpoint/A2DPSource/faststream
Sep 01 16:49:50 pluto bluetoothd[874]: Endpoint registered: sender=:1.21 path=/MediaEndpoint/A2DPSource/faststream_duplex
Sep 01 16:49:50 pluto bluetoothd[874]: Endpoint registered: sender=:1.21 path=/MediaEndpoint/A2DPSink/opus_05
Sep 01 16:49:50 pluto bluetoothd[874]: Endpoint registered: sender=:1.21 path=/MediaEndpoint/A2DPSource/opus_05
Sep 01 16:49:50 pluto bluetoothd[874]: Endpoint registered: sender=:1.21 path=/MediaEndpoint/A2DPSink/opus_05_duplex
Sep 01 16:49:50 pluto bluetoothd[874]: Endpoint registered: sender=:1.21 path=/MediaEndpoint/A2DPSource/opus_05_duplex
Sep 01 16:49:57 pluto bluetoothd[874]: src/profile.c:record_cb() Unable to get Hands-Free Voice gateway SDP record: Host is down
Sep 01 16:50:02 pluto bluetoothd[874]: profiles/audio/avdtp.c:avdtp_connect_cb() connect to EC:81:93:A6:A9:27: Host is down (112)
Sep 01 16:50:07 pluto bluetoothd[874]: src/profile.c:record_cb() Unable to get Hands-Free Voice gateway SDP record: Host is down
Sep 01 16:51:11 pluto bluetoothd[874]: src/service.c:service_probe() input-hid profile probe failed for 12:22:34:AB:75:8E

I'm out of my depth now, but hopefully that's at least helpful

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

4 participants