USB support

Gábor Paller gaborpaller at gmail.com
Wed Feb 4 16:32:16 UTC 2015


Take one webcam as an example.
On desktop Ubuntu lsusb returns:
ID 093a:262a Pixart Imaging, Inc.
I connect my Beaglebone Black over the serial debug port and log in. The
message is displayed in the same console window:

ubuntu at localhost:~$ [  778.354357] usb 2-1: device v093a p262a is not
supported

In dmesg, there are some confusing messages:
[  778.225050] usb 2-1: new full-speed USB device number 2 using musb-hdrc

[  778.354357] usb 2-1: device v093a p262a is not supported

[  778.359987] usb 2-1: New USB device found, idVendor=093a, idProduct=262a

[  778.360000] usb 2-1: New USB device strings: Mfr=0, Product=0,
SerialNumber=0
[  778.433708] media: Linux media interface: v0.10

[  778.479389] Linux video capture interface: v2.00

[  778.499137] gspca_main: v2.14.0 registered

[  778.513355] gspca_main: gspca_pac7302-2.14.0 probing 093a:262a

[  778.521325] input: gspca_pac7302 as
/devices/ocp/47400000.usb/47401c00.usb/mu
sb-hdrc.1.auto/usb2/2-1/input/input0

[  778.524411] usbcore: registered new interface driver gspca_pac7302




On Wed, Feb 4, 2015 at 5:12 PM, Loïc Minier <loic.minier at ubuntu.com> wrote:

> Hi there,
>
> First on the support of your actual webcam: where are you seeing the
> "device vxxx pyyy is not supported" message? Typical USB webcams are USB
> video device class, so they are all supported in the same mechanism
> (typically via a kernel interface called v4l2 and corresponding libraries).
>
> Second, on usage with snappy, this should be possible today as an
> unconfined snap, and we're working at allowing your snap to declare it
> requires access to specific USB devices. More on this soon  :-)
>
> Cheers,
>
> On Wed, Feb 4, 2015 at 4:55 PM, Gábor Paller <gaborpaller at gmail.com>
> wrote:
>
>> Dear Snappy developers,
>>
>> I tried a similar message on snappy-app-devel yesterday but I didn't get
>> any response. Maybe there's somebody here who can point in the right
>> direction.
>>
>> I started to use Snappy on a Beagleboard Black and my goal is to develop
>> embedded applications that use webcam, connect to mobile internet, in
>> short, use all sorts of USB devices. So far my ordinary webcams generate ""device
>> vxxx pyyy is not supported" messages when connected.
>>
>> Where to start to enable/develop support for these USB devices? I would
>> start with webcams but I intend to target other USB devices later. I am
>> quite familiar with the desktop Linux USB kernel driver architecture, I
>> just need some pointers/advices.
>>
>> Regards,
>> Gabor Paller
>> https://www.linkedin.com/in/gaborpaller
>>
>> --
>> snappy-devel mailing list
>> snappy-devel at lists.ubuntu.com
>> Modify settings or unsubscribe at:
>> https://lists.ubuntu.com/mailman/listinfo/snappy-devel
>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/snappy-devel/attachments/20150204/c8d85cb2/attachment.html>


More information about the snappy-devel mailing list