Re: [opensuse-arm] rpi to rpi via usb gadget (WORKS!)

2020-09-09 Thread Ludwig Nussel
Ludwig Nussel wrote: > Stefan Brüns wrote: >> [...] >> Can you try if setting CONFIG_SYS_USB_EVENT_POLL_VIA_INT_QUEUE also > works? As >> far as I can see this does not check for a non-empty response, but just >> creates the queue. Nb, CONFIG_SYS_USB_EVENT_POLL_VIA_INT_QUEUE is the > default >>

Re: [opensuse-arm] rpi to rpi via usb gadget (WORKS!)

2020-09-08 Thread Ludwig Nussel
Stefan Brüns wrote: > On Dienstag, 8. September 2020 17:52:17 CEST Ludwig Nussel wrote: >> Stefan Brüns wrote: >>> On Freitag, 4. September 2020 17:43:37 CEST Ludwig Nussel wrote: Stefan Brüns wrote: > On Freitag, 4. September 2020 14:25:37 CEST Ludwig Nussel wrote: >> [...] >>

Re: [opensuse-arm] rpi to rpi via usb gadget (WORKS!)

2020-09-08 Thread Stefan Brüns
On Dienstag, 8. September 2020 17:52:17 CEST Ludwig Nussel wrote: > Stefan Brüns wrote: > > On Freitag, 4. September 2020 17:43:37 CEST Ludwig Nussel wrote: > >> Stefan Brüns wrote: > >>> On Freitag, 4. September 2020 14:25:37 CEST Ludwig Nussel wrote: > [...] > Looking at "usb info" one

Re: [opensuse-arm] rpi to rpi via usb gadget (WORKS!)

2020-09-08 Thread Ludwig Nussel
Stefan Brüns wrote: > On Freitag, 4. September 2020 17:43:37 CEST Ludwig Nussel wrote: >> Stefan Brüns wrote: >>> On Freitag, 4. September 2020 14:25:37 CEST Ludwig Nussel wrote: [...] Looking at "usb info" one can see that the gadget has two endpoints. One for input and one for

Re: [opensuse-arm] rpi to rpi via usb gadget

2020-09-07 Thread Stefan Brüns
On Montag, 7. September 2020 17:34:19 CEST Ludwig Nussel wrote: > Stefan Brüns wrote: > > [...] > > requesttype: 0x21 - Class specific request to interface > > request: 0xA - Set_Idle > > > value: 0xA00 - 0xA * 4ms = 40ms report interval during idle, 0x0: > applies to > > > all reports > > > >

Re: [opensuse-arm] rpi to rpi via usb gadget

2020-09-07 Thread Ludwig Nussel
Stefan Brüns wrote: > On Montag, 7. September 2020 10:52:51 CEST Ludwig Nussel wrote: >> Stefan Brüns wrote: >>> [...] >>> You may try this patch: >>> https://build.opensuse.org/package/view_file/ >>> home:StefanBruens:branches:hardware:boot/u-boot/0001-usb-kbd-Also-accept- >>>

Re: [opensuse-arm] rpi to rpi via usb gadget

2020-09-07 Thread Stefan Brüns
On Montag, 7. September 2020 10:52:51 CEST Ludwig Nussel wrote: > Stefan Brüns wrote: > > [...] > > You may try this patch: > > https://build.opensuse.org/package/view_file/ > > home:StefanBruens:branches:hardware:boot/u-boot/0001-usb-kbd-Also-accept- > >

Re: [opensuse-arm] rpi to rpi via usb gadget

2020-09-07 Thread Ludwig Nussel
Stefan Brüns wrote: > [...] > You may try this patch: > https://build.opensuse.org/package/view_file/ > home:StefanBruens:branches:hardware:boot/u-boot/0001-usb-kbd-Also-accept- > keyboards-with-Interrupt-OUT-end.patch?expand=1 usb_select_config() Manufacturer openSUSE usb_select_config() Product

Re: [opensuse-arm] rpi to rpi via usb gadget

2020-09-07 Thread Ludwig Nussel
Ludwig Nussel wrote: > Stefan Brüns wrote: >> On Freitag, 4. September 2020 17:43:37 CEST Ludwig Nussel wrote: >>> [...] >>> usb_kbd_probe_dev() USB KBD: found set idle... >>> usb_control_msg() usb_control_msg: request: 0xA, requesttype: 0x21, >>> value 0xA00 index 0x0 length 0x0 >>>

Re: [opensuse-arm] rpi to rpi via usb gadget

2020-09-07 Thread Ludwig Nussel
Stefan Brüns wrote: > On Samstag, 5. September 2020 12:25:17 CEST Stefan Seyfried wrote: >> (OT, but still might be useful to some...) >> >> Am 04.09.20 um 17:43 schrieb Ludwig Nussel: >>> It's complicated indeed. Fabian pointed me at >>>

Re: [opensuse-arm] rpi to rpi via usb gadget

2020-09-07 Thread Ludwig Nussel
Stefan Brüns wrote: > On Freitag, 4. September 2020 17:43:37 CEST Ludwig Nussel wrote: >> [...] >> usb_kbd_probe_dev() USB KBD: found set idle... >> usb_control_msg() usb_control_msg: request: 0xA, requesttype: 0x21, >> value 0xA00 index 0x0 length 0x0 >> usb_kbd_probe_dev() USB KBD: enable

Re: [opensuse-arm] rpi to rpi via usb gadget

2020-09-06 Thread Michal Suchánek
On Fri, Sep 04, 2020 at 08:53:34PM +0200, Stefan Brüns wrote: > On Freitag, 4. September 2020 17:43:37 CEST Ludwig Nussel wrote: > > Stefan Brüns wrote: > > > On Freitag, 4. September 2020 14:25:37 CEST Ludwig Nussel wrote: > > >> Fabian Vogt wrote: > > >> to get rid of the otg descriptor. That's

Re: [opensuse-arm] rpi to rpi via usb gadget

2020-09-05 Thread Stefan Brüns
On Samstag, 5. September 2020 12:25:17 CEST Stefan Seyfried wrote: > (OT, but still might be useful to some...) > > Am 04.09.20 um 17:43 schrieb Ludwig Nussel: > > It's complicated indeed. Fabian pointed me at > > https://github.com/u-boot/u-boot/blob/9bfb567e5f1bfe7de8eb41f8c6d00f49d2b9 > >

Re: [opensuse-arm] rpi to rpi via usb gadget

2020-09-05 Thread Stefan Seyfried
(OT, but still might be useful to some...) Am 04.09.20 um 17:43 schrieb Ludwig Nussel: > It's complicated indeed. Fabian pointed me at > https://github.com/u-boot/u-boot/blob/9bfb567e5f1bfe7de8eb41f8c6d00f49d2b9a426/common/usb_kbd.c#L461 > So u-boot doesn't even accept devices with more than one

Re: [opensuse-arm] rpi to rpi via usb gadget

2020-09-04 Thread Stefan Brüns
On Freitag, 4. September 2020 17:43:37 CEST Ludwig Nussel wrote: > Stefan Brüns wrote: > > On Freitag, 4. September 2020 14:25:37 CEST Ludwig Nussel wrote: > >> Fabian Vogt wrote: > >> to get rid of the otg descriptor. That's not the issue though. > >> I found that when setting the hid subclass to

Re: [opensuse-arm] rpi to rpi via usb gadget

2020-09-04 Thread Ludwig Nussel
Stefan Brüns wrote: > On Freitag, 4. September 2020 14:25:37 CEST Ludwig Nussel wrote: >> Fabian Vogt wrote: >> to get rid of the otg descriptor. That's not the issue though. >> I found that when setting the hid subclass to 0 the device appears in >> u-boot. >> Still doesn't work though. It's not

Re: [opensuse-arm] rpi to rpi via usb gadget

2020-09-04 Thread Stefan Brüns
On Freitag, 4. September 2020 14:25:37 CEST Ludwig Nussel wrote: > Fabian Vogt wrote: > to get rid of the otg descriptor. That's not the issue though. > I found that when setting the hid subclass to 0 the device appears in > u-boot. > Still doesn't work though. It's not specific to the rpi3

Re: [opensuse-arm] rpi to rpi via usb gadget

2020-09-04 Thread Ludwig Nussel
Fabian Vogt wrote: > Am Mittwoch, 2. September 2020, 10:28:21 CEST schrieb Ludwig Nussel: >> Guillaume Gardet wrote: >>>> -Original Message- >>>> From: Ludwig Nussel >>>> Sent: 01 September 2020 18:51 >>>> To: opensuse-arm@ope

Re: [opensuse-arm] rpi to rpi via usb gadget

2020-09-02 Thread Fabian Vogt
Moin, Am Mittwoch, 2. September 2020, 10:28:21 CEST schrieb Ludwig Nussel: > Guillaume Gardet wrote: > >> -Original Message- > >> From: Ludwig Nussel > >> Sent: 01 September 2020 18:51 > >> To: opensuse-arm@opensuse.org > >> Subject: [open

Re: [opensuse-arm] rpi to rpi via usb gadget

2020-09-02 Thread Ludwig Nussel
Guillaume Gardet wrote: >> -Original Message- >> From: Ludwig Nussel >> Sent: 01 September 2020 18:51 >> To: opensuse-arm@opensuse.org >> Subject: [opensuse-arm] rpi to rpi via usb gadget >> >> Hi, >> >> I've tried to use the USB

RE: [opensuse-arm] rpi to rpi via usb gadget

2020-09-01 Thread Guillaume Gardet
Hi, > -Original Message- > From: Ludwig Nussel > Sent: 01 September 2020 18:51 > To: opensuse-arm@opensuse.org > Subject: [opensuse-arm] rpi to rpi via usb gadget > > Hi, > > I've tried to use the USB OTG features of the RPi4 to remote control an > RPi3

[opensuse-arm] rpi to rpi via usb gadget

2020-09-01 Thread Ludwig Nussel
Hi, I've tried to use the USB OTG features of the RPi4 to remote control an RPi3 with MicroOS 15.2 using pikvm. That works fine as soon as Linux is booted in the RPi3. Fails in U-Boot and therefore grub though. U-Boot doesn't detect the simulated devices. On the Pi4 the kernel throws error