Giter Site home page Giter Site logo

Comments (3)

saki4510t avatar saki4510t commented on August 14, 2024

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.

  1. 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=true
    

with best regards,
saki

from uvccamera.

sreyasvpariyath avatar sreyasvpariyath commented on August 14, 2024

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=true

with 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.

jp1017 avatar jp1017 commented on August 14, 2024

May be supply power matters.

from uvccamera.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.