RE: Interesting problem with gadget drivers on my laptop Lenovo T420!

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Alan,

Thank you for an attempt. :)

Interesting findings.

Opened Virtual Machine Settings. In hardware, I have chosen USB controller.

There are four options there:

Enable high-speed support for USB 2.0 devices
Automatically connect new USB devices
Show all USB input devices
Share a Bluetooth devices with virtual machine

I marked all 4 of these options.

Guess what?! Now the plug-in works!

Zoran

-----Original Message-----
From: Alan Stern [mailto:stern@xxxxxxxxxxxxxxxxxxx] 
Sent: Thursday, May 10, 2012 7:41 AM
To: Stojsavljevic, Zoran
Cc: linux-usb@xxxxxxxxxxxxxxx
Subject: Re: Interesting problem with gadget drivers on my laptop Lenovo T420!

On Wed, 9 May 2012, Stojsavljevic, Zoran wrote:

> Hello,
> 
> I have interesting problem, which I don't know how to solve.
> 
> I do the whole setup on the target, and connect target with my desktop.
> On my desktop I use VMware with RHEL Guest OS. Once I issue: modprobe 
> g_zero I see on the desktop usbtest.ko inserted in the list of modules 
> (hot plug). I also see the USB gadget in /proc/bus/usb/devices .
> 
> I setup the same on my laptop. Interesting enough, although laptop 
> recognizes USB keyboard and mouse on all ports, it does NOT recognize 
> hotplug (does NOT insert usbtest.ko) when I issue modprobe g_zero?!
> I do not see the USB gadget in /proc/bus/usb/devices .
> 
> I did mounting of usbfs by myself at the beginning on the host side, 
> issuing (as root):# mount -t usbfs none /proc/bus/usb
> 
> What can be the list of potential problems for such a behavior?

Bad electrical connection, bad hardware, ...

If you want to get more information, enable CONFIG_USB_DEBUG for the host's kernel and see what shows up in the dmesg log when you plug in the g_zero gadget.

Alan Stern

--------------------------------------------------------------------------------------
Intel GmbH
Dornacher Strasse 1
85622 Feldkirchen/Muenchen, Deutschland 
Sitz der Gesellschaft: Feldkirchen bei Muenchen
Geschaeftsfuehrer: Douglas Lusk, Peter Gleissner, Hannes Schwaderer
Registergericht: Muenchen HRB 47456 
Ust.-IdNr./VAT Registration No.: DE129385895
Citibank Frankfurt a.M. (BLZ 502 109 00) 600119052

--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux