* Fwd: Antwort: Re: vUDC
[not found] <OF3824F794.22BECE87-ONC1258084.002BBF3A-C1258084.002BF397@LocalDomain>
@ 2016-12-09 8:43 ` Krzysztof Opasiak
2016-12-09 14:43 ` Shuah Khan
0 siblings, 1 reply; 3+ messages in thread
From: Krzysztof Opasiak @ 2016-12-09 8:43 UTC (permalink / raw)
To: elen.niedermeyer
Cc: Shuah Khan, linux-usb, kernelnewbies, linux-kernel, shuahkh, Shuah Khan
FYI to the list for next generations;)
-------- Forwarded Message --------
Subject: Antwort: Re: vUDC
Date: Fri, 9 Dec 2016 09:00:04 +0100
From: Elen Niedermeyer <elen.niedermeyer@biotronik.com>
To: Krzysztof Opasiak <k.opasiak@samsung.com>
Hi,
so your script solved my problem. I didn't know that I should start the
daemon with 'usbipd --device' after starting my emulation. I've tried it
with 'usbip -d' and then bind my device with 'usbip bind -b BUSID'. But
there wasn't listet a device by usbip with 'usbip list -l', so I didn't
know what I have to bind. Mit freundlichen Grüßen
Kind regards,
i.A. Elen Niedermeyer
Duale Studentin Informatik
__________________________
BIOTRONIK SE & Co. KG
Woermannkehre 1
12359 Berlin, Germany
Phone: +49 (0) 30 68905-2459
Fax: +49 (0) 30 68905 2940
Mail: elen.niedermeyer@biotronik.com
-----Krzysztof Opasiak <k.opasiak@samsung.com> schrieb: -----
An: Shuah Khan <shuahkhan@gmail.com>, Elen Niedermeyer
<elen.niedermeyer@biotronik.com>
Von: Krzysztof Opasiak <k.opasiak@samsung.com>
Datum: 08.12.2016 16:11
Kopie: linux-usb@vger.kernel.org, kernelnewbies@nl.linux.org, LKML
<linux-kernel@vger.kernel.org>, shuah@kernel.org
Betreff: Re: vUDC
Hi,
On 12/08/2016 03:33 PM, Shuah Khan wrote:
> Hi Elen,
>
> Adding k.opasiak@samsung.com
>
> On Thu, Dec 8, 2016 at 7:07 AM, Elen Niedermeyer
> <elen.niedermeyer@biotronik.com> wrote:
>> Dear Sir or Madam,
>>
>> I'm trying to run usbip-vudc since a few days. I want to access my emulated usb devices over usbip.
>> I use Ubuntu 16.04.01 and updated my kernel to version 4.8.0-30. I've installed linux-tools-4.8.0-30-generic which includes usbip. I enabled the modules usbip-host and usbip-vudc on the server. Futhermore I use configfs to emulate the usb devices.
>> So I could start the daemon and my emulation. But I can't detect my emulated usb device with usbip to bind it.
>> Could you help me to run usbip-vudc? Do I have to install an additional package? Do I miss a step?
>>
>> Mit freundlichen Grüßen
>> Kind regards,
>
> Could you please send your dmesg? Also could you run usbipd with
> --debug and usbip with --log option and send the syslog
>
> Krzysztof,
>
You setup script should look like this:
Server:
$ modprobe usbip-vudc
# Create your gadget, for example:
$ cd /sys/kernel/config/usb_gadget
$ mkdir g1
$ mkdir g1/functions/acm.ser0
$ mkdir g1/configs/c.1
$ ln -s g1/functions/acm.ser0 g1/configs/c.1
$ echo "0x1234" > g1/idVendor
$ echo "0x5678" > g1/idProduct
$ echo usbip-vudc.0 > UDC
$ usbipd --device
Client:
$ modprobe usbip-vhci
$ usbip attach -r $SERVER_IP -d usbip-vudc.0
Please let me know if your setup script is similar and what exactly is
not working for you.
> Any ideas. Maybe it is time the documentation is updated with vudc details.
>
Yes I think it's a good idea. I'll try to do this when I have some spare
time.
Best regards,
--
Krzysztof Opasiak
Samsung R&D Institute Poland
Samsung Electronics
www.biotronik.com BIOTRONIK - excellence for life
BIOTRONIK SE & Co. KG Woermannkehre 1, 12359 Berlin, Germany Sitz der
Gesellschaft: Berlin, Registergericht: Berlin HRA 6501
Vertreten durch ihre Komplementärin: BIOTRONIK MT SE Sitz der
Gesellschaft: Berlin, Registergericht: Berlin HRB 118866 B
Geschäftsführende Direktoren: Dr. Lothar Krings, Joachim Langer, Dr.
Ralf Lieb, Thomas Simmerer This e-mail and the information it contains
including attachments are confidential and meant only for use by the
intended recipient(s); disclosure or copying is strictly prohibited. If
you are not addressed, but in the possession of this e-mail, please
notify the sender immediately and delete the document.
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Fwd: Antwort: Re: vUDC
2016-12-09 8:43 ` Fwd: Antwort: Re: vUDC Krzysztof Opasiak
@ 2016-12-09 14:43 ` Shuah Khan
2016-12-09 17:12 ` Krzysztof Opasiak
0 siblings, 1 reply; 3+ messages in thread
From: Shuah Khan @ 2016-12-09 14:43 UTC (permalink / raw)
To: Krzysztof Opasiak, elen.niedermeyer
Cc: Shuah Khan, linux-usb, kernelnewbies, linux-kernel, shuahkh, Shuah Khan
Hi Krzysztof,
On 12/09/2016 01:43 AM, Krzysztof Opasiak wrote:
> FYI to the list for next generations;)
>
>
> -------- Forwarded Message --------
> Subject: Antwort: Re: vUDC
> Date: Fri, 9 Dec 2016 09:00:04 +0100
> From: Elen Niedermeyer <elen.niedermeyer@biotronik.com>
> To: Krzysztof Opasiak <k.opasiak@samsung.com>
>
>
> Hi,
>
> so your script solved my problem. I didn't know that I should start the
> daemon with 'usbipd --device' after starting my emulation. I've tried it
> with 'usbip -d' and then bind my device with 'usbip bind -b BUSID'. But
> there wasn't listet a device by usbip with 'usbip list -l', so I didn't
> know what I have to bind. Mit freundlichen Grüßen
> Kind regards,
>
> i.A. Elen Niedermeyer
> Duale Studentin Informatik
> __________________________
>
> BIOTRONIK SE & Co. KG
> Woermannkehre 1
> 12359 Berlin, Germany
>
> Phone: +49 (0) 30 68905-2459
> Fax: +49 (0) 30 68905 2940
> Mail: elen.niedermeyer@biotronik.com
>
> -----Krzysztof Opasiak <k.opasiak@samsung.com> schrieb: -----
> An: Shuah Khan <shuahkhan@gmail.com>, Elen Niedermeyer
> <elen.niedermeyer@biotronik.com>
> Von: Krzysztof Opasiak <k.opasiak@samsung.com>
> Datum: 08.12.2016 16:11
> Kopie: linux-usb@vger.kernel.org, kernelnewbies@nl.linux.org, LKML
> <linux-kernel@vger.kernel.org>, shuah@kernel.org
> Betreff: Re: vUDC
>
> Hi,
>
> On 12/08/2016 03:33 PM, Shuah Khan wrote:
>> Hi Elen,
>>
>> Adding k.opasiak@samsung.com
>>
>> On Thu, Dec 8, 2016 at 7:07 AM, Elen Niedermeyer
>> <elen.niedermeyer@biotronik.com> wrote:
>>> Dear Sir or Madam,
>>>
>>> I'm trying to run usbip-vudc since a few days. I want to access my emulated usb devices over usbip.
>>> I use Ubuntu 16.04.01 and updated my kernel to version 4.8.0-30. I've installed linux-tools-4.8.0-30-generic which includes usbip. I enabled the modules usbip-host and usbip-vudc on the server. Futhermore I use configfs to emulate the usb devices.
>>> So I could start the daemon and my emulation. But I can't detect my emulated usb device with usbip to bind it.
>>> Could you help me to run usbip-vudc? Do I have to install an additional package? Do I miss a step?
>>>
>>> Mit freundlichen Grüßen
>>> Kind regards,
>>
>> Could you please send your dmesg? Also could you run usbipd with
>> --debug and usbip with --log option and send the syslog
>>
>> Krzysztof,
>>
>
> You setup script should look like this:
>
> Server:
> $ modprobe usbip-vudc
> # Create your gadget, for example:
> $ cd /sys/kernel/config/usb_gadget
> $ mkdir g1
> $ mkdir g1/functions/acm.ser0
> $ mkdir g1/configs/c.1
> $ ln -s g1/functions/acm.ser0 g1/configs/c.1
> $ echo "0x1234" > g1/idVendor
> $ echo "0x5678" > g1/idProduct
> $ echo usbip-vudc.0 > UDC
> $ usbipd --device
>
> Client:
> $ modprobe usbip-vhci
> $ usbip attach -r $SERVER_IP -d usbip-vudc.0
>
> Please let me know if your setup script is similar and what exactly is
I would be good to create server_sample.sh and client_sample.sh and add
them to tools/usb/usbip - users can customize them.
What do you think? Is this something you have time for?
thanks,
-- Shuah
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Fwd: Antwort: Re: vUDC
2016-12-09 14:43 ` Shuah Khan
@ 2016-12-09 17:12 ` Krzysztof Opasiak
0 siblings, 0 replies; 3+ messages in thread
From: Krzysztof Opasiak @ 2016-12-09 17:12 UTC (permalink / raw)
To: shuah, elen.niedermeyer
Cc: Shuah Khan, linux-usb, kernelnewbies, linux-kernel, shuahkh
On 12/09/2016 03:43 PM, Shuah Khan wrote:
> Hi Krzysztof,
>
> On 12/09/2016 01:43 AM, Krzysztof Opasiak wrote:
>> FYI to the list for next generations;)
>>
>>
>> -------- Forwarded Message --------
>> Subject: Antwort: Re: vUDC
>> Date: Fri, 9 Dec 2016 09:00:04 +0100
>> From: Elen Niedermeyer <elen.niedermeyer@biotronik.com>
>> To: Krzysztof Opasiak <k.opasiak@samsung.com>
>>
>>
>> Hi,
>>
>> so your script solved my problem. I didn't know that I should start the
>> daemon with 'usbipd --device' after starting my emulation. I've tried it
>> with 'usbip -d' and then bind my device with 'usbip bind -b BUSID'. But
>> there wasn't listet a device by usbip with 'usbip list -l', so I didn't
>> know what I have to bind. Mit freundlichen Grüßen
>> Kind regards,
>>
>> i.A. Elen Niedermeyer
>> Duale Studentin Informatik
>> __________________________
>>
>> BIOTRONIK SE & Co. KG
>> Woermannkehre 1
>> 12359 Berlin, Germany
>>
>> Phone: +49 (0) 30 68905-2459
>> Fax: +49 (0) 30 68905 2940
>> Mail: elen.niedermeyer@biotronik.com
>>
>> -----Krzysztof Opasiak <k.opasiak@samsung.com> schrieb: -----
>> An: Shuah Khan <shuahkhan@gmail.com>, Elen Niedermeyer
>> <elen.niedermeyer@biotronik.com>
>> Von: Krzysztof Opasiak <k.opasiak@samsung.com>
>> Datum: 08.12.2016 16:11
>> Kopie: linux-usb@vger.kernel.org, kernelnewbies@nl.linux.org, LKML
>> <linux-kernel@vger.kernel.org>, shuah@kernel.org
>> Betreff: Re: vUDC
>>
>> Hi,
>>
>> On 12/08/2016 03:33 PM, Shuah Khan wrote:
>>> Hi Elen,
>>>
>>> Adding k.opasiak@samsung.com
>>>
>>> On Thu, Dec 8, 2016 at 7:07 AM, Elen Niedermeyer
>>> <elen.niedermeyer@biotronik.com> wrote:
>>>> Dear Sir or Madam,
>>>>
>>>> I'm trying to run usbip-vudc since a few days. I want to access my emulated usb devices over usbip.
>>>> I use Ubuntu 16.04.01 and updated my kernel to version 4.8.0-30. I've installed linux-tools-4.8.0-30-generic which includes usbip. I enabled the modules usbip-host and usbip-vudc on the server. Futhermore I use configfs to emulate the usb devices.
>>>> So I could start the daemon and my emulation. But I can't detect my emulated usb device with usbip to bind it.
>>>> Could you help me to run usbip-vudc? Do I have to install an additional package? Do I miss a step?
>>>>
>>>> Mit freundlichen Grüßen
>>>> Kind regards,
>>>
>>> Could you please send your dmesg? Also could you run usbipd with
>>> --debug and usbip with --log option and send the syslog
>>>
>>> Krzysztof,
>>>
>>
>> You setup script should look like this:
>>
>> Server:
>> $ modprobe usbip-vudc
>> # Create your gadget, for example:
>> $ cd /sys/kernel/config/usb_gadget
>> $ mkdir g1
>> $ mkdir g1/functions/acm.ser0
>> $ mkdir g1/configs/c.1
>> $ ln -s g1/functions/acm.ser0 g1/configs/c.1
>> $ echo "0x1234" > g1/idVendor
>> $ echo "0x5678" > g1/idProduct
>> $ echo usbip-vudc.0 > UDC
>> $ usbipd --device
>>
>> Client:
>> $ modprobe usbip-vhci
>> $ usbip attach -r $SERVER_IP -d usbip-vudc.0
>>
>> Please let me know if your setup script is similar and what exactly is
>
> I would be good to create server_sample.sh and client_sample.sh and add
> them to tools/usb/usbip - users can customize them.
>
> What do you think? Is this something you have time for?
>
I have just created one. Patch is on the list[1].
Footnotes:
1 - http://marc.info/?l=linux-usb&m=148130330315109&w=2
Cheers,
--
Krzysztof Opasiak
Samsung R&D Institute Poland
Samsung Electronics
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2016-12-09 17:12 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <OF3824F794.22BECE87-ONC1258084.002BBF3A-C1258084.002BF397@LocalDomain>
2016-12-09 8:43 ` Fwd: Antwort: Re: vUDC Krzysztof Opasiak
2016-12-09 14:43 ` Shuah Khan
2016-12-09 17:12 ` Krzysztof Opasiak
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).