Comments (3)
Hi,
Whether Android devices can detect USB connected camera or not depends of hardware/system software(Android version) of Android device, cabling, camera etc.
As you said the camera works fine with other Android device, the issue will be 1) on the device(hardware/software), 2) on the cabling.
-
Could you try to use USB2.0 hub?
As my experience, using USB2.0 hub sometimes solve issues. -
Could you try to un-filter of logCat and check messages?
Most Android devices will output messages tagged withEventHub
orUsbDeviceManager
orUsbHostManager
like as follows when the device can successfully detect camera (this log came from my Nexus5 when I connect C930e and C920r over USB hub and I can also get similar log on Nexus6p, Nexus7, Nexus9, GALAXY S5 etc. );02-17 15:53:36.105 800-878/? D/EventHub: No input device configuration file found for device 'HD Pro Webcam C920'. 02-17 15:53:36.123 800-878/? W/EventHub: Unable to disable kernel key repeat for /dev/input/event6: Function not implemented 02-17 15:53:36.123 800-878/? I/EventHub: New device: id=24, fd=167, path='/dev/input/event6', name='HD Pro Webcam C920', classes=0x80000001, configuration='', keyLayout='/system/usr/keylayout/Generic.kl', keyCharacterMap='/system/usr/keychars/Generic.kcm', builtinKeyboard=false, wakeMechanism=EVIOCSSUSPENDBLOCK, usingClockIoctl=true 02-17 15:53:36.463 800-878/? D/EventHub: No input device configuration file found for device 'Logicool Webcam C930e'. 02-17 15:53:36.468 800-878/? W/EventHub: Unable to disable kernel key repeat for /dev/input/event7: Function not implemented 02-17 15:53:36.468 800-878/? I/EventHub: New device: id=25, fd=231, path='/dev/input/event7', name='Logicool Webcam C930e', classes=0x80000001, configuration='', keyLayout='/system/usr/keylayout/Generic.kl', keyCharacterMap='/system/usr/keychars/Generic.kcm', builtinKeyboard=false, wakeMechanism=EVIOCSSUSPENDBLOCK, usingClockIoctl=true
with best regards,
saki
from uvccamera.
Hi Saki
I don't think there is a cabling issue. I have tried using usb hub2.0. I
have tried checking the log messages as well. I have tested it with some
usb diagnostic application there it was showing in the list view as usb hd
cam. Camera is not getting powered up basically.
I don't know whether its a hardware issue. But USB drive is getting
detected . Do you have any idea.? could you please guide me.?
On Tue, Feb 23, 2016 at 4:01 PM, saki [email protected] wrote:
Hi,
Whether Android devices can detect USB connected camera or not depends of
hardware/system software(Android version) of Android device, cabling,
camera etc.As you said the camera works fine with other Android device, the issue
will be 1) on the device(hardware/software), 2) on the cabling.
Could you try to use USB2.0 hub?
As my experience, using USB2.0 hub sometimes solve issues.
2.Could you try to un-filter of logCat and check messages?
Most Android devices will output messages tagged with EventHub or
UsbDeviceManager or UsbHostManager like as follows when the device can
successfully detect camera (this log came from my Nexus5 when I connect
C930e and C920r over USB hub and I can also get similar log on Nexus6p,
Nexus7, Nexus9, GALAXY S5 etc. );02-17 15:53:36.105 800-878/? D/EventHub: No input device configuration file found for device 'HD Pro Webcam C920'.
02-17 15:53:36.123 800-878/? W/EventHub: Unable to disable kernel key repeat for /dev/input/event6: Function not implemented
02-17 15:53:36.123 800-878/? I/EventHub: New device: id=24, fd=167, path='/dev/input/event6', name='HD Pro Webcam C920', classes=0x80000001, configuration='', keyLayout='/system/usr/keylayout/Generic.kl', keyCharacterMap='/system/usr/keychars/Generic.kcm', builtinKeyboard=false, wakeMechanism=EVIOCSSUSPENDBLOCK, usingClockIoctl=true
02-17 15:53:36.463 800-878/? D/EventHub: No input device configuration file found for device 'Logicool Webcam C930e'.
02-17 15:53:36.468 800-878/? W/EventHub: Unable to disable kernel key repeat for /dev/input/event7: Function not implemented
02-17 15:53:36.468 800-878/? I/EventHub: New device: id=25, fd=231, path='/dev/input/event7', name='Logicool Webcam C930e', classes=0x80000001, configuration='', keyLayout='/system/usr/keylayout/Generic.kl', keyCharacterMap='/system/usr/keychars/Generic.kcm', builtinKeyboard=false, wakeMechanism=EVIOCSSUSPENDBLOCK, usingClockIoctl=truewith best regards,
saki—
Reply to this email directly or view it on GitHub
#43 (comment).
Thanks & Regards
Sreyas V Pariyath | *Sr.Software Developer
*Biosense Technologies Private Limited
Plot No:A-233,Road No 21-Y Wagle Industrial Estate, Thane West, Maharashtra
400604
+91 22 2589 6771 {Mon-Fri, between 10 AM and 7 PM} |
http://www.biosense.in http://www.biosense.in/
M: +91 9167556294 | Work: 1800 123 7890
CONFIDENTIALITY: This email (including any attachments) may contain
confidential, proprietary and privileged information, and unauthorized
disclosure or use is prohibited. If you receive this email in error, please
notify the sender and delete this email from your system.
from uvccamera.
May be supply power matters.
from uvccamera.
Related Issues (20)
- No camera connect, call connect;nativeConnect return 0
- pthread_mutex_lock called on a destroyed mutex
- How to compile this code in Android Studio Flamingo | 2022.2.1
- A patch for USBMonitor.java to avoid crash in USB 3.0 HUB
- Working with FLIR Boson camera
- jpeg_read_scanlines crash
- java.lang.RuntimeException: Unable to start activity ComponentInfo : java.lang.IllegalStateException: You need to use a Theme.AppCompat theme (or descendant) with this activity HOT 1
- How to make zoom of texture ( input frames of camera) in UVCCameraTextureView ? HOT 1
- After multiple attempts to open the UVC camera, it fails to reopen. Assistance is requested HOT 2
- Caused by: org.gradle.internal.resolve.ModuleVersionNotFoundException: Could not find com.serenegiant:common:2.12.5.
- The preview freezes when you press record on the Samsung a54 HOT 1
- MediaRecorder instead of MediaEncoder
- [Security] libjpeg-turbo used in this project is vulnerable
- Can't get started HOT 1
- Android11, RK3568, null pointer dereference HOT 2
- Permission pop-up giving illegal agruement exception in TargetSdk>27
- SQ 29 Camera does not display image HOT 1
- 有人知道如何解决4K以上画质得延迟问题吗?解决成功可以给予报酬。 HOT 1
- Android app crashing when using multiple .aar libraries
- Difference between ( 'Y', '8', ' ', ' ' ) and ('Y', '8', '0', '0') HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from uvccamera.