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

HanfTek crash #25

Open
bademux opened this issue Feb 20, 2019 · 10 comments
Open

HanfTek crash #25

bademux opened this issue Feb 20, 2019 · 10 comments

Comments

@bademux
Copy link

bademux commented Feb 20, 2019

Hello,
I had a problem with 15f4:0131 HanfTek. Tested on Xiaomi Mi8 and Xiaomi mibox S (android 8.1)
Looks like it is the problem with new hardware rev based on Sony CXD2837ER.
Please let me know if you need additional information.

 Stack trace and exception (DO NOT EDIT): Cannot send USB control message. Error code -1

info.martinmarinov.drivers.DvbException: Cannot send USB control message. Error code -1
	at info.martinmarinov.drivers.usb.rtl28xx.Rtl28xxDvbDevice.ctrlMsg(Rtl28xxDvbDevice.java:89)
	at info.martinmarinov.drivers.usb.rtl28xx.Rtl28xxTunerType$14.getSlave(Rtl28xxTunerType.java:155)
	at info.martinmarinov.drivers.usb.rtl28xx.Rtl28xxTunerType.detectSlave(Rtl28xxTunerType.java:198)
	at info.martinmarinov.drivers.usb.rtl28xx.Rtl2832DvbDevice$1.run(Rtl2832DvbDevice.java:94)
	at info.martinmarinov.drivers.tools.I2cAdapter$I2GateControl.runInOpenGate(I2cAdapter.java:107)
	at info.martinmarinov.drivers.usb.rtl28xx.Rtl2832DvbDevice.readConfig(Rtl2832DvbDevice.java:90)
	at info.martinmarinov.drivers.usb.DvbUsbDevice$1.run(DvbUsbDevice.java:106)
	at info.martinmarinov.drivers.tools.Retry$1.call(Retry.java:32)
	at info.martinmarinov.drivers.tools.Retry$1.call(Retry.java:29)
	at info.martinmarinov.drivers.tools.Retry.retry(Retry.java:42)
	at info.martinmarinov.drivers.tools.Retry.retry(Retry.java:29)
	at info.martinmarinov.drivers.usb.DvbUsbDevice.open(DvbUsbDevice.java:102)
	at info.martinmarinov.dvbdriver.DeviceController.run(DeviceController.java:67)

Last Device: No device open
Build.MANUFACTURER: Xiaomi
Build.MODEL: Mi 8
Build.PRODUCT: dipper
Build.VERSION.SDK_INT: 28
Build.VERSION.RELEASE: 9
Driver versionName: 1.36
Driver versionCode: 17
gvbusb
Looks like 2018 revision https://www.linuxtv.org/wiki/index.php/Astrometa_DVB-T2
Can be related: torvalds/linux#567

@bademux
Copy link
Author

bademux commented Feb 26, 2019

@ValZapod thanks for info.
Are you saing that all mobile phones incude DVB drivers for several devices? I thought that AndroidDvbDriver reiplements it.

@bademux
Copy link
Author

bademux commented Feb 26, 2019

@ValZapod I believe there is misunderstanding.
This project Readme stays "The driver is a simplified user space port of a subset of the V4L2 Linux kernel drivers."
My understanding is that we don't need linux kernel drivers - AndroidDvbDriver reimplements it. Fix me if I'm wrong.

@bademux
Copy link
Author

bademux commented Feb 26, 2019

@ValZapod can you kindly reread my message? I bold main part for you
From AndroidDvbDriver Readme: "The driver is a simplified user space port of a subset of the V4L2 Linux kernel drivers."
From my understanding AndroidDvbDriver is USERSPACE port of linux V4L2 drivers

@bademux
Copy link
Author

bademux commented Feb 26, 2019

@ValZapod Thanks

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

2 participants
@bademux and others