AW: AW: CONFIG_PREEMPT_RT_FULL an usb gadget

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

 



Hi Sebastian,

now i have a working debian host :)

You remember: 
(Linux target RT.PREEMPT)usb --- RNDIS --- usb <-> (linux:Host debian)

So, the next problem is: the machine connect with CDC and not with rndis

The target says:
g_ether gadget: high-speed config #1: CDC Ethernet (ECM)
g_ether gadget: init ecm
g_ether gadget: notify connect true
g_ether gadget: activate ecm
usb0: qlen 10
g_ether gadget: ecm_open
usb0: eth_start
g_ether gadget: notify connect true
g_ether gadget: notify speed 425984000

And the debian host says:
usbcore: registered new interface driver rndis_host
usb 1-1: USB disconnect, device number 2
cdc_ether 1-1:1.0: eth1: unregister 'cdc_ether' usb-0000:02:03.0-1, CDC Ethernet Device
usb 1-1: new high-speed USB device number 3 using ehci_hcd
usb 1-1: New USB device found, idVendor=1c2b, idProduct=000b
usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=0
usb 1-1: Product: RNDIS/Ethernet Gadget
usb 1-1: Manufacturer: Linux 3.10.4-rt1-KTT-V1_AHB with pch_udc
cdc_ether 1-1:1.0: eth1: register 'cdc_ether' at usb-0000:02:03.0-1, CDC Ethernet Device, 00:01:84:00:08:15

And I don’t know how to configure it. 
Do you have an idea for this?


Greetings
Alex

-----Ursprüngliche Nachricht-----
Von: Sebastian Andrzej Siewior [mailto:bigeasy@xxxxxxxxxxxxx] 
Gesendet: Donnerstag, 29. August 2013 20:58
An: Hänel-Baas, Alexander
Cc: linux-rt-users
Betreff: Re: AW: CONFIG_PREEMPT_RT_FULL an usb gadget


please keep the list in Cc.

On 08/29/2013 04:36 PM, Hänel-Baas, Alexander wrote:
> Hi Sebastian,

Hi Alexander,

> yes i use a x86 machine with 3.10.4-rt1 patch.
> No, there is no other gadget's or usb device active.

I meant try another gadget (like storage) or rndis on a linux host where you can debug since Windows isn't that cooperative.

> Now I have enabled the lock debug (I hope so), but I can't see a message that the kernel complains about something.
> 
> Yes that the point. In the debugging msg. is no difference between the working or not working situation.
> 
> I attached my kernel config's: 
> Config_3.10.4_PREEMPT_FULL -> Fully preemptible
> Config_3.10.4_PREEMPT_LL	-> Low-Latency
> 
> The other files are the corresponding  dmesg.
> preempt_full_dmesg.txt
> preempt_ll_dmesg.txt

Sorry, I have currently no time look at those, I'm on the run…

> 
> Ok, I look for another linux machine to connect:  (Traget: linux) <-> 
> usb --- RNDIS --- usb <-> (linux:Host)

Good. Note that that most gadgets attach RDNIS as an additional function that means under normal circumstances Linux ignores RNDIS and goes for CDC.

> Thank you for help,
> 
> Alex

Sebastian
��.n��������+%������w��{.n�����{�����ǫ���ܨ}���Ơz�j:+v�����w����ޙ��&�)ߡ�a����z�ޗ���ݢj��w�f





[Index of Archives]     [RT Stable]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux