Connect USB Webcam - Asus Eee Pad Transformer Prime

I am trying to connect my usb webcam to my Transformer Prime. The webcam uses a generic Realtek chipset, which should be supported by the linux kernel. When I connect the webcam via usb I can see the device when executing the lsusb command in the terminal. I can also see that the file /dev/video0 is created after I plug in the webcam, but I cannot find an application that is able to display the stream from the webcam. Is is possible to open this stream using an app under Android?

The problem is probably more that apps like Skype don't expect this to happen and will not provide an option for the webcam and instead rely on the in-built ones.

You might be able to access /dev/video0 from within ubuntu/BT5 on the TFP. I doubt the video performance would be stellar though.

I now found a way to access the webcam. I found an eclipse project under this url: http://brain.cc.kogakuin.ac.jp/research/usb-e.html
The application works and displays the picture from my webcam, but before running the app I had to execute the command "chmod 777 /dev/video0" in the terminal and every time I reconnected the device again.

Thenetstriker said:
I now found a way to access the webcam. I found an eclipse project under this url: http://brain.cc.kogakuin.ac.jp/research/usb-e.html
The application works and displays the picture from my webcam, but before running the app I had to execute the command "chmod 777 /dev/video0" in the terminal and every time I reconnected the device again.
Click to expand...
Click to collapse
nice find
so do you know what app allows you to use those cameras?
or is his app the only once that works atm?

I too am trying to get this to work, I have downloaded and compiled the kogakuin app but how do I compile/load the v4l2_camera_v2.patch? and/or make the necessary kernel mods?
Please Help.

lil-devil said:
nice find
so do you know what app allows you to use those cameras?
or is his app the only once that works atm?
Click to expand...
Click to collapse
This app is the only one I found that works. But so far it works only on my Transformer Prime. On my Samsung Galaxy S2 (Cyanogenmod 9) it crashes the phone when using /dev/video0 and when using /dev/bus/usb/002/003 it just doesn't work. (Maybe I have to compile a custom kernel using the settings the developer describes on his BitBucket page, I will try this tonight)
pjames1972 said:
I too am trying to get this to work, I have downloaded and compiled the kogakuin app but how do I compile/load the v4l2_camera_v2.patch? and/or make the necessary kernel mods?
Please Help.
Click to expand...
Click to collapse
On my Transformer Prime the app just works, I did not make any modifications to the kernel. Just compile the app and upload it to your TF201 and it should work.

Thanks Thenetstriker,
I failed to mention that i am using Iconia A500 rooted stock 3.2 not the TF201.
Today I bought a UVC compliant webcam and I now have the kogakuin eclipse project working on my device.
have you tried putting "chmod 777 /dev/video0" in your ueventd.xxxx.rc script?
Paul

http://forum.xda-developers.com/showpost.php?p=22884164&postcount=3

Thenetstriker said:
This app is the only one I found that works. But so far it works only on my Transformer Prime. On my Samsung Galaxy S2 (Cyanogenmod 9) it crashes the phone when using /dev/video0 and when using /dev/bus/usb/002/003 it just doesn't work. (Maybe I have to compile a custom kernel using the settings the developer describes on his BitBucket page, I will try this tonight)
Click to expand...
Click to collapse
I tried to compile my own Kernel with video 4 linux enabled and the app still doesn't work on my Samsung Galaxy S2. But the device shows up on android. Using the app "USB Device Info" I was able to get the following information about my Logitech webcam USB interfaces, but I don't have the knowledge on how to communicate with USB devices over these interfaces. I think someone who has this knowledge could write an application using the USB Host feature from Android 4.0 to show the webcam picture even without root access.
Code:
Device Info
Device Path: /dev/bus/usb/002/002
Device Class: Miscellaneous (0xef)
Vendor ID: 046d
Vendor Name: Logitech, Inc.
Product ID: 07d2
Product Name: not in db
Interfaces
Interface #0
Class: Video Device (0xe)
Endpoint: #0
Address : 135 (10000111)
Number : 7
Direction : Inbound (0x80)
Type : Intrrupt (0x3)
Poll Interval : 8
Max Packet Size: 16
Attributes : 000000011
Interface #1
Class: Video Device (0xe)
Endpoints: none
Interface #2
Class: Video Device (0xe)
Endpoint: #0
Address : 129 (10000001)
Number : 1
Direction : Inbound (0x80)
Type : Isochronous (0x1)
Poll Interval : 1
Max Packet Size: 192
Attributes : 0000000101
Interface #3
Class: Video Device (0xe)
Endpoint: #0
Address : 129 (10000001)
Number : 1
Direction : Inbound (0x80)
Type : Isochronous (0x1)
Poll Interval : 1
Max Packet Size: 384
Attributes : 0000000101
Interface #4
Class: Video Device (0xe)
Endpoint: #0
Address : 129 (10000001)
Number : 1
Direction : Inbound (0x80)
Type : Isochronous (0x1)
Poll Interval : 1
Max Packet Size: 512
Attributes : 0000000101
Interface #5
Class: Video Device (0xe)
Endpoint: #0
Address : 129 (10000001)
Number : 1
Direction : Inbound (0x80)
Type : Isochronous (0x1)
Poll Interval : 1
Max Packet Size: 640
Attributes : 0000000101
Interface #6
Class: Video Device (0xe)
Endpoint: #0
Address : 129 (10000001)
Number : 1
Direction : Inbound (0x80)
Type : Isochronous (0x1)
Poll Interval : 1
Max Packet Size: 800
Attributes : 0000000101
Interface #7
Class: Video Device (0xe)
Endpoint: #0
Address : 129 (10000001)
Number : 1
Direction : Inbound (0x80)
Type : Isochronous (0x1)
Poll Interval : 1
Max Packet Size: 944
Attributes : 0000000101
Interface #8
Class: Video Device (0xe)
Endpoint: #0
Address : 129 (10000001)
Number : 1
Direction : Inbound (0x80)
Type : Isochronous (0x1)
Poll Interval : 1
Max Packet Size: 2688
Attributes : 0000000101
Interface #9
Class: Video Device (0xe)
Endpoint: #0
Address : 129 (10000001)
Number : 1
Direction : Inbound (0x80)
Type : Isochronous (0x1)
Poll Interval : 1
Max Packet Size: 2848
Attributes : 0000000101
Interface #10
Class: Video Device (0xe)
Endpoint: #0
Address : 129 (10000001)
Number : 1
Direction : Inbound (0x80)
Type : Isochronous (0x1)
Poll Interval : 1
Max Packet Size: 3040
Attributes : 0000000101
Interface #11
Class: Video Device (0xe)
Endpoint: #0
Address : 129 (10000001)
Number : 1
Direction : Inbound (0x80)
Type : Isochronous (0x1)
Poll Interval : 1
Max Packet Size: 4992
Attributes : 0000000101
Interface #12
Class: Video Device (0xe)
Endpoint: #0
Address : 129 (10000001)
Number : 1
Direction : Inbound (0x80)
Type : Isochronous (0x1)
Poll Interval : 1
Max Packet Size: 5116
Attributes : 0000000101
Interface #13
Class: Audio Device (0x1)
Endpoints: none
Interface #14
Class: Audio Device (0x1)
Endpoints: none
Interface #15
Class: Audio Device (0x1)
Endpoint: #0
Address : 134 (10000110)
Number : 6
Direction : Inbound (0x80)
Type : Isochronous (0x1)
Poll Interval : 4
Max Packet Size: 68
Attributes : 0000000101

I've just found a video on YouTube which shows an "UVC Player" which seams to be able to access UVC compatible webcams, but the website that is mentioned on this thread is written in japanese and I didn't find any source code or a sample application:
http://www.youtube.com/watch?v=aieJMBFLEdA
http://www.infinitegra.co.jp/technology/rd_android_uvc1.htm

And another link here:Google crimsonwoods UVCCapture (Sorry not enough posts yet)
Have compiled just need to work out what to do with it

Thenetstriker said:
I now found a way to access the webcam. I found an eclipse project under this url: http://brain.cc.kogakuin.ac.jp/research/usb-e.html
The application works and displays the picture from my webcam, but before running the app I had to execute the command "chmod 777 /dev/video0" in the terminal and every time I reconnected the device again.
Click to expand...
Click to collapse
Are you rooted?

jazzcat007 said:
Are you rooted?
Click to expand...
Click to collapse
Yes, the device has to be rooted for this application, The Android API does not seam to support the isochronous USB interfaces, so no non rooted access possible at the moment.

Thenetstriker said:
Yes, the device has to be rooted for this application, The Android API does not seam to support the isochronous USB interfaces, so no non rooted access possible at the moment.
Click to expand...
Click to collapse
Check this out
someone has already created an app for it .. we just need to cook a new kernel for it

josh_m said:
Check this out
someone has already created an app for it .. we just need to cook a new kernel for it
Click to expand...
Click to collapse
Ok, where do I find this app?

this is a good find, what's the image quality like? is it substantially better than the front facing camera of the Prime?

http://forum.xda-developers.com/showpost.php?p=22884164&postcount=3

josh_m said:
http://forum.xda-developers.com/showpost.php?p=22884164&postcount=3
Click to expand...
Click to collapse
Has anyone tried the files in that link? The thread is for the Xoom, so would the "Development Overlay" and "Tiamat Kernel" work with the other tablets ( I have the Acer A500, but I realize this is a transformer thread) ?

tried to compile my own Kernel with video 4 linux enabled and the app still doesn't work on my Samsung Galaxy S2. But the device shows up on android. Using the app "USB Device Info" I was able to get the following information about my Logitech webcam USB interfaces, but I don't have the knowledge on how to communicate with USB devices over these interfaces. I think someone who has this knowledge could write an application using the USB Host feature from Android 4.0 to show the webcam picture even without root access.
Click to expand...
Click to collapse
Thenetstriker,
Your USB Device info looks OK to mine and it looks like the USB stub is being created OK but my first non UVC compliant cam did the same and it just did not work.
Make sure your device is listed in http://www.ideasonboard.org/uvc/, if not you may need to buy a new cam.
For some reason I have to occasionally reboot my A500 with the webcam inserted, unplug it, start the app and then reinsert the webcam to get mine to work.
Normally though, mine works if I start the app first before plugging in.
Paul,

Related

[Q] MTP installation on debian doesn't work

Hello,
I've compiled the latest version of libmtp (1.1.2) and installed properly. It seems that the device is recognized but still without the ability to connect to it. Here is the log. I got two different outputs. So I'll post both of them:
1.
Code:
libmtp version: 1.1.2
Listing raw device(s)
Device 0 (VID=04e8 and PID=6860) is a Samsung GT-P7510/Galaxy Tab 10.1/S2/GT-N7000/Galaxy Nexus.
Found 1 device(s):
Samsung: GT-P7510/Galaxy Tab 10.1/S2/GT-N7000/Galaxy Nexus (04e8:6860) @ bus 1, dev 12
Attempting to connect device(s)
PTP_ERROR_IO: failed to open session, trying again after resetting USB interface
LIBMTP libusb: Attempt to reset device
inep: usb_get_endpoint_status(): No such device
outep: usb_get_endpoint_status(): No such device
usb_clear_halt() on IN endpoint: No such device
usb_clear_halt() on OUT endpoint: No such device
usb_clear_halt() on INTERRUPT endpoint: No such device
ignoring usb_claim_interface = -9ignoring usb_claim_interface = -22LIBMTP PANIC: failed to open session on second attempt
Unable to open raw device 0
OK.
2.
Code:
libmtp version: 1.1.2
Listing raw device(s)
Device 0 (VID=04e8 and PID=6860) is a Samsung GT-P7510/Galaxy Tab 10.1/S2/GT-N7000/Galaxy Nexus.
Found 1 device(s):
Samsung: GT-P7510/Galaxy Tab 10.1/S2/GT-N7000/Galaxy Nexus (04e8:6860) @ bus 1, dev 13
Attempting to connect device(s)
PTP_ERROR_IO: failed to open session, trying again after resetting USB interface
LIBMTP libusb: Attempt to reset device
LIBMTP PANIC: failed to open session on second attempt
Unable to open raw device 0
OK.
I've read about a samsung-proprietary mtp protocol which would not work with libmtp. I hope those rumors are wrong, aren't they?
I'd really appreciate any help. I've been working on it for a couple of days and it starts really anoying me.
regards, hornby
I have the same issue. I am trying to connect my Linux Mint Debian machine to my SGS2 running CM9 nightly. Debian can see the device but communication is a nogo.
Here is mtp-detect:
Code:
~ $ mtp-detect
libmtp version: 1.1.2
Listing raw device(s)
Device 0 (VID=04e8 and PID=6860) is a Samsung GT-P7510/Galaxy Tab 10.1/S2/GT-N7000/Galaxy Nexus.
Found 1 device(s):
Samsung: GT-P7510/Galaxy Tab 10.1/S2/GT-N7000/Galaxy Nexus (04e8:6860) @ bus 1, dev 9
Attempting to connect device(s)
ignoring usb_claim_interface = -110Android device detected, assigning default bug flags
USB low-level info:
Using kernel interface "usbfs"
bcdUSB: 512
bDeviceClass: 0
bDeviceSubClass: 0
bDeviceProtocol: 0
idVendor: 04e8
idProduct: 6860
IN endpoint maxpacket: 512 bytes
OUT endpoint maxpacket: 512 bytes
Raw device info:
Bus location: 1
Device number: 9
Device entry info:
Vendor: Samsung
Vendor id: 0x04e8
Product: GT-P7510/Galaxy Tab 10.1/S2/GT-N7000/Galaxy Nexus
Vendor id: 0x6860
Device flags: 0x08008106
Device info:
Manufacturer: samsung
Model: GT-I9100
Device version: 1.0
Serial number: ????????
Vendor extension ID: 0x00000006
Vendor extension description: microsoft.com: 1.0; android.com: 1.0;
Detected object size: 64 bits
Extensions:
microsoft.com: 1.0
android.com: 1.0
Supported operations:
1001: get device info
1002: Open session
1003: Close session
1004: Get storage IDs
1005: Get storage info
1006: Get number of objects
1007: Get object handles
1008: Get object info
1009: Get object
100a: Get thumbnail
100b: Delete object
100c: Send object info
100d: Send object
1014: Get device property description
1015: Get device property value
1016: Set device property value
1017: Reset device property value
101b: Get partial object
9801: Get object properties supported
9802: Get object property description
9803: Get object property value
9804: Set object property value
9805: Get object property list
9810: Get object references
9811: Set object references
95c1: Unknown (95c1)
95c2: Unknown (95c2)
95c3: Unknown (95c3)
95c4: Unknown (95c4)
95c5: Unknown (95c5)
Events supported:
0x4002
0x4003
0x4004
0x4005
Device Properties Supported:
0xd401: Synchronization Partner
0xd402: Friendly Device Name
0x5003: Image Size
Playable File (Object) Types and Object Properties Supported:
3000: Undefined Type
3001: Association/Directory
3004: Text
3005: HTML
3008: MS Wave
3009: MP3
300b: MPEG
3801: JPEG
3802: TIFF EP
3807: GIF
3808: JFIF
380b: PNG
380d: TIFF
b901: WMA
b902: OGG
b903: AAC
b982: MP4
b983: MP2
b984: 3GP
ba05: Abstract Audio Video Playlist
ba10: WPL Playlist
ba11: M3U Playlist
ba14: PLS Playlist
ba82: XMLDocument
b906: FLAC
Storage Devices:
StorageID: 0x00010001
StorageType: 0x0003 fixed RAM storage
FilesystemType: 0x0002 generic hierarchical
AccessCapability: 0x0000 read/write
MaxCapacity: 12332314624
FreeSpaceInBytes: 6137163776
FreeSpaceInObjects: 1073741824
StorageDescription: Internal Storage
VolumeIdentifier: (null)
Special directories:
Default music folder: 0x0000001a
Default playlist folder: 0xffffffff
Default picture folder: 0x0000001f
Default video folder: 0xffffffff
Default organizer folder: 0xffffffff
Default zencast folder: 0xffffffff
Default album folder: 0xffffffff
Default text folder: 0xffffffff
MTP-specific device properties:
Friendly name: (NULL)
Synchronization partner: (NULL)
libmtp supported (playable) filetypes:
Folder
Text file
HTML file
RIFF WAVE file
ISO MPEG-1 Audio Layer 3
MPEG video stream
JPEG file
GIF bitmap file
JFIF file
Portable Network Graphics
TIFF bitmap file
Microsoft Windows Media Audio
Ogg container format
Advanced Audio Coding (AAC)/MPEG-2 Part 7/MPEG-4 Part 3
MPEG-4 Part 14 Container Format (Audio+Video Emphasis)
ISO MPEG-1 Audio Layer 2
Abstract Playlist file
XML file
Free Lossless Audio Codec (FLAC)
ERROR: Could not close session!
inep: usb_get_endpoint_status(): No such device
outep: usb_get_endpoint_status(): No such device
usb_clear_halt() on IN endpoint: No such device
usb_clear_halt() on OUT endpoint: No such device
usb_clear_halt() on INTERRUPT endpoint: No such device
OK.

USB to Ethernet Adapter

Hello!
I've found this thread :
http://forum.xda-developers.com/showthread.php?t=1274656
And i can't find anything like it for the Sony Tablet S.
There's any way to install those drivers in the Sony S and make that work?
Has anyone tried to use an USB to Ethernet Adapter with the Sony S?, i've a male microUSB to Female USB and several USB to Ethernet adapters from several brands, and i can't make it work with the Sony Tablet S.
When i connect them, it says : "Unsupported USB Device".
Any help is highly appreciated, i tried to post in the developers forum (I'm a Software Developer), but it didn't let me since i don't have enough posts.
Thanks !
To my knowledge, the Sony does not support the USB to Ethernet adapter solution, but I can't be certain of this. Without opening it up, I couldn't say for sure whether the hardware is present to attach a wired Ethernet connection. With Sony's history, that seems unlikely. The USB port would need to be connected to the network module in just the right way to support one of those adapters and then you could try drivers, but I don't think they'd work either
I tried it
It does not work. My USB to ethernet adapter works with my Linux laptop but not with Sony tablet S.
I ordered adaptor from dealextreme (win 7 compatible, chip AX88772BLF)
Someone on this forum succesfuly tested it with asus TF101
But on ICS error "Unsupported USB Device".
Now our table is rooted.
Any way to use it? Some .ko mudule?
Strange because in the build.prop, Eth0 network interface is enabled which means it should work.
Sent from my Sony Tablet S using xda premium
---------- Post added at 09:55 PM ---------- Previous post was at 09:43 PM ----------
nikor4 said:
I ordered adaptor from dealextreme (win 7 compatible, chip AX88772BLF)
Someone on this forum succesfuly tested it with asus TF101
But on ICS error "Unsupported USB Device".
Now our table is rooted.
Any way to use it? Some .ko mudule?
Click to expand...
Click to collapse
No app for such thing but you can have a look at the details of the device
Remember, even if it says 'Unsupported USB Device' doesn't mean it does not work, i got some app which tests USB headsets ("Unsupported" USB Device for Sony Tablet S) and i still get audio from the microphone i spock in into the speakers in the USB headphones.
USB Device Info
https://play.google.com/store/apps/details?id=aws.apps.usbDeviceEnumerator
USB Audio Tester
https://play.google.com/store/apps/details?id=de.sobe.usbaudio​
Sent from my Sony Tablet S using xda premium
Thank you for Links! App recognized device.
But from terminal emulator i don't see eth0 interface.
Can I set up this?
Netcfg
lo - UP
dummy0 - down
sit0 - down
ip6tn10 - down
rmnet0 - down
Code:
Device Info
Device Path: /dev/bus/usb/002/002
Device Class: Vendor Specific (0xff)
Vendor ID: 0b95
Vendor Name: ASIX Electronics Corp.
Product ID: 07d2
Product Name: not in db
Interfaces
Interface #0
Class: Vendor Specific (0xff)
Endpoint: #0
Address : 129 (10000001)
Number : 1
Direction : Inbound (0x80)
Type : Intrrupt (0x3)
Poll Interval : 11
Max Packet Size: 8
Attributes : 000000011
Endpoint: #1
Address : 130 (10000010)
Number : 2
Direction : Inbound (0x80)
Type : Bulk (0x2)
Poll Interval : 0
Max Packet Size: 512
Attributes : 000000010
Endpoint: #2
Address : 3 (000000011)
Number : 3
Direction : Outbound (0x0)
Type : Bulk (0x2)
Poll Interval : 0
Max Packet Size: 512
Attributes : 000000010
nikor4 said:
Thank you for Links! App recognized device.
But from terminal emulator i don't see eth0 interface.
Can I set up this?
Netcfg
lo - UP
dummy0 - down
sit0 - down
ip6tn10 - down
rmnet0 - down
Code:
Device Info
Device Path: /dev/bus/usb/002/002
Device Class: Vendor Specific (0xff)
Vendor ID: 0b95
Vendor Name: ASIX Electronics Corp.
Product ID: 07d2
Product Name: not in db
Interfaces
Interface #0
Class: Vendor Specific (0xff)
Endpoint: #0
Address : 129 (10000001)
Number : 1
Direction : Inbound (0x80)
Type : Intrrupt (0x3)
Poll Interval : 11
Max Packet Size: 8
Attributes : 000000011
Endpoint: #1
Address : 130 (10000010)
Number : 2
Direction : Inbound (0x80)
Type : Bulk (0x2)
Poll Interval : 0
Max Packet Size: 512
Attributes : 000000010
Endpoint: #2
Address : 3 (000000011)
Number : 3
Direction : Outbound (0x0)
Type : Bulk (0x2)
Poll Interval : 0
Max Packet Size: 512
Attributes : 000000010
Click to expand...
Click to collapse
Strange because i have some different network interfaces then you and no eth0 what so ever even if its in the build.prop
Properties in Build.prop:
wifi.interface=wlan0
ro.ethernet.interface=eth0
ro.ethernet.autoEnable=yes
EDIT: Try typing 'ifconfig eth0' with the device connected to the adapter which is connected to an wireless router, tell me what you get after that, after doing that try using 'ifconfig eth0 192.168.11.14 netmask 255.255.255.0 up'
EDIT1: I found out that you may need to be rooted D:
EDIT3: Bingo!, try using 'netcfg eth0 up' with the adapter connected
EDIT4: Read EDIT1.
Results: I checked the commands with my rooted android phone and it seems it works with root, so far there is an exploit from Bin4ry (Can take almost or if not 2 days just to try to get it working depending on your method.) and the root exploit works with the latest version
Sent from my Sony Tablet S using xda premium

[Q] updated to 4.0.4 Bionic cant be found by adb on osx

1st I'm a noob, so be kind. After getting the 4.0.4 update pushed from Verizon, my Motorola Bionic has disappeared from adb radar. terminal command "adb devices" returns nothing under list of devices attached, when its usb connected. (I've updated my android sdks. to latest platform tools).
I have tried each of the 3 usb settings 4.0.4 offers (Mass Storage, Media Device(MTP) and Camera (PTP), with debugging both on and off. Still no joy. I have killed and started adb server and rebooted both the macbook pro and the bionic. BTW - the original android os it started with had a "Charge Only" mode, which was the usb connection type that adb connection had previously required, but that's gone from this 4.0.4 upgrade for some reason. I have searched numerous forums and threads, but haven't found anything that seems to specifically apply to what i'm encountering. Those forums that did have posts about adb not finding connected device, mostly suggested rebooting and updated sdks. A couple suggested editing some config files, but I couldn't locate those. Any and all suggestions/solutions will be gratefully attempted. Thanks in advance for your analysis.
I'm running osx lion 10.7.5 on a MacBook Pro. I can provide phone system info if necessary. I've copied below the info I've gathered about the usb port the device is connected to from USB Prober.
Using usb prober the device appears as "Composit device: "XT875" in the bus probe. Port Info shows as: 0x1018, not captive, external device, connected, enabled. Device Descriptor shows as: Descriptor Version Number: 0x0200
Device Class: 0 (Composite)
Device Subclass: 0
Device Protocol: 0
Device MaxPacketSize: 64
Device VendorID/ProductID: 0x22B8/0x4353 (Motorola MDS)
Device Version Number: 0x0216
Number of Configurations: 1
Manufacturer String: 2 "Motorola"
Product String: 3 "XT875"
Serial Number String: 4 "0A3BAA470C01100C"
Interfaces show as: Interface #0 - Vendor-specific .............................................. "MTP"
Alternate Setting 0
Number of Endpoints 3
Interface Class: 255 (Vendor-specific)
Interface Subclass; 255 (Vendor-specific)
Interface Protocol: 0
Endpoint 0x81 - Bulk Input
Endpoint 0x02 - Bulk Output
Endpoint 0x82 - Interrupt Input
Interface #1 - Communications-Control .............................................. "Motorola Networking Interface"
Alternate Setting 0
Number of Endpoints 3
Interface Class: 2 (Communications-Control)
Interface Subclass; 10
Interface Protocol: 1
Endpoint 0x83 - Bulk Input
Endpoint 0x03 - Bulk Output
Endpoint 0x04 - Interrupt Output
Device Qualifier Descriptor
Descriptor Version Number: 0x0200
Device Class 0 (Composite)
Device Subclass 0
Device Protocol 0
Device MaxPacketSize: 64
Number of Configurations: 1
bReserved: 0
Other Speed Configuration Descriptor
Length (and contents): 69
Number of Interfaces: 2
Configuration Value: 1
Attributes: 0xC0 (self-powered)
MaxPower: 500 ma
Interface #0 - Vendor-specific .............................................. "MTP"
Alternate Setting 0
Number of Endpoints 3
Interface Class: 255 (Vendor-specific)
Interface Subclass; 255 (Vendor-specific)
Interface Protocol: 0
Endpoint 0x81 - Bulk Input
Endpoint 0x02 - Bulk Output
Endpoint 0x82 - Interrupt Input
Interface #1 - Communications-Control .............................................. "Motorola Networking Interface"
Alternate Setting 0
Number of Endpoints 3
Interface Class: 2 (Communications-Control)
Interface Subclass; 10
Interface Protocol: 1
Endpoint 0x83 - Bulk Input
Endpoint 0x03 - Bulk Output
Endpoint 0x04 - Interrupt Output
Same issue
I am trying to root a Bionic running 4.0.4 and it is having the same issue with the ADB driver. Using the same computer and a rooted razr, the ADB drivers show up as soon as it is pluged in. Any help with this matter would be a big help.

Archos 101 g9 8gb & Huawei modem E173u-1[No driver found]

Hi, I am having issues with a Huawei modem E173u-1 on my tablet Archos 101 g9 8gb
driver not found.
Can you help me, pls?
USB_ModeSwitch log from Wed Apr 09 17:50:44 PKT 2014
Raw args from udev: 1-1/1-1:1.0
Using top device dir /sys/bus/usb/devices/1-1
----------------
USB values from sysfs:
manufacturer HUAWEI
product HUAWEI Mobile
serial
----------------
bNumConfigurations is 1 - don't check for active configuration
SCSI attributes not needed, moving on
checking config: /data/data/de.draisberghof.pppwidget/app_tmp/12d1.14fe
! matched. Reading config data
devList 1:
config: TargetVendor set to 12d1
config: TargetProduct set to 1506
Driver module is "option", ID path is /sys/bus/usb-serial/drivers/option1
Logger is: /system/bin/log
Command to be run:
usb_modeswitch -I -W -D -s 20 -u -1 -b 1 -g 2 -v 12d1 -p 14fe -f $cB
Verbose debug output of usb_modeswitch and libusb follows
(Note that some USB errors are to be expected in the process)
--------------------------------
Reading long config from command line
* usb_modeswitch: handle USB devices with multiple modes
* Version 1.2.4 (C) Josua Dietze 2012
* Based on libusb0 (0.1.12 and above)
! PLEASE REPORT NEW CONFIGURATIONS !
DefaultVendor= 0x12d1
DefaultProduct= 0x14fe
TargetVendor= 0x12d1
TargetProduct= 0x1506
TargetClass= not set
TargetProductList=""
DetachStorageOnly=0
HuaweiMode=0
SierraMode=0
SonyMode=0
QisdaMode=0
GCTMode=0
KobilMode=0
SequansMode=0
MobileActionMode=0
CiscoMode=0
MessageEndpoint= not set
MessageContent="55534243123456780000000000000011062000000100000000000000000000"
NeedResponse=0
ResponseEndpoint= not set
InquireDevice disabled
Success check enabled, max. wait time 20 seconds
System integration mode enabled
Use given bus/device number: 001/002 ...
Looking for default devices ...
bus/device number matched
searching devices, found USB ID 12d1:14fe
found matching vendor ID
found matching product ID
adding device
Found device in default mode, class or configuration (1)
Skipping the check for the current configuration
Using interface number 0
Using endpoints 0x01 (out) and 0x81 (in)
USB description data (for identification)
-------------------------
Manufacturer: HUAWEI
Product: HUAWEI Mobile
Serial No.: not provided
-------------------------
Looking for active driver ...
OK, driver found; name unknown, limitation of libusb1
OK, driver "unkown" detached
Setting up communication with interface 0
Using endpoint 0x01 for message sending ...
Trying to send message 1 to endpoint 0x01 ...
OK, message successfully sent
Resetting response endpoint 0x81
Could not reset endpoint (probably harmless): -34
Resetting message endpoint 0x01
Could not reset endpoint (probably harmless): -6
Device is gone, skipping any further commands
Bus/dev search active, referring success check to wrapper. Bye.
ok:busdev
--------------------------------
(end of usb_modeswitch output)
Checking success of mode switch for max. 20 seconds ...
Waiting for device file system (1 sec.) ...
Waiting for device file system (2 sec.) ...
Waiting for device file system (3 sec.) ...
Waiting for device file system (4 sec.) ...
Waiting for device file system (5 sec.) ...
Waiting for device file system (6 sec.) ...
Waiting for device file system (7 sec.) ...
Reading attributes ...
Mode switch has completed
Mode switching was successful, found 12d1:1506 (HUAWEI: HUAWEI Mobile)
Device class of first interface is ff
Now checking for bound driver ...
No driver has bound to interface 0 yet
Module loader is /sbin/insmod
Trying to find and install main driver module "option"
Trying to find module "option"
Loading support module /lib/modules/usb_wwan.ko
Error: insmod: cannot insert '/lib/modules/usb_wwan.ko': Invalid module format (-1): Exec
format error
Loading main driver module "option"
Error: insmod: cannot insert '/lib/modules/option.ko': Invalid module format (-1): Exec
format error
Falling back to "usbserial"
Module "usb_serial" not found, can't do more here
Driver binding seems to have failed
All done, exiting
please answer!!!
i'm solved the problem by replacing the nucleus

Connect ov9734 camera to IMX8 (compulab) throw MIPI interface

Hi all,
I try to enable ov9734 sensor to board IMX8 in 64bits (Compulab board). I re-use a existing driver (ov5640) and I just modify registers and driver ID.
I modify device tree also.
My driver is found by kernel, no problem during probe.
But when I do "v4l2-ctl --all" command, the pixel format is null (or empty):
Code:
[email protected]:~# v4l2-ctl --all
Driver Info (not using libv4l2):
Driver name : mx6s-csi
Card type : i.MX6S_CSI
Bus info : platform:30a90000.csi1_bridge
Driver version: 4.9.51
Capabilities : 0x84200001
Video Capture
Streaming
Extended Pix Format
Device Capabilities
Device Caps : 0x04200001
Video Capture
Streaming
Extended Pix Format
Priority: 0
Video input : 0 (Camera: ok)
Format Video Capture:
Width/Height : 640/480
Pixel Format : ''
Field : None
Bytes per Line : 0
Size Image : 307200
Colorspace : Default
Transfer Function : Default
YCbCr Encoding : Default
Quantization : Default
And other problem (same problem ?) when I want start a streaming, I get nothing (no data send by mipi):
Code:
Input #0, video4linux2,v4l2, from '/dev/video0':
Duration: N/A, bitrate: 147456 kb/s
Stream #0:0: Video: rawvideo (YUY2 / 0x32595559), yuyv422, 640x480, 147456 kb/s, 30 fps, 30 tbr, 1000k tbn, 1000k tbc
[swscaler @ 0x4706ad0] deprecated pixel format used, make sure you did set range correctly
[image2 @ 0x46fe2b0] Using AVStream.codec to pass codec parameters to muxers is deprecated, use AVStream.codecpar instead.
Output #0, image2, to './out.jpg':
Metadata:
encoder : Lavf57.41.100
Stream #0:0: Video: mjpeg, yuvj422p(pc), 640x480, q=2-31, 200 kb/s, 30 fps, 30 tbn, 30 tbc
Metadata:
encoder : Lavc57.48.101 mjpeg
Side data:
cpb: bitrate max/min/avg: 0/0/200000 buffer size: 0 vbv_delay: -1
Stream mapping:
Stream #0:0 -> #0:0 (rawvideo (native) -> mjpeg (native))
Press [q] to stop, [?] for help
frame= 0 fps=0.0 q=0.0 Lsize=N/A time=00:00:00.00 bitrate=N/A speed= 0x
video:0kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: unknown
Output file is empty, nothing was encoded (check -ss / -t / -frames parameters if used)
Somebody can help me ?
Michaël

Categories

Resources