Re: Bug in DWC2 UDC driver on Raspberry PI [was: g_mass_storage emulation of flash drive - difficulties with passing vendor/product ID]

2017-07-11 Thread Alan Robertson
On Tue, Jul 11, 2017 at 7:29 PM, Alan Stern wrote: > On Tue, 11 Jul 2017, Alan Robertson wrote: > >> Hi Alan >> >> Yes, have read about that now and certainly external build would >> definitely be quicker. >> >> However - GREAT NEWS!!! The update to 4.9.36+ seems to

Re: Bug in DWC2 UDC driver on Raspberry PI [was: g_mass_storage emulation of flash drive - difficulties with passing vendor/product ID]

2017-07-11 Thread Alan Stern
On Tue, 11 Jul 2017, Alan Robertson wrote: > Hi Alan > > Yes, have read about that now and certainly external build would > definitely be quicker. > > However - GREAT NEWS!!! The update to 4.9.36+ seems to have done the trick :) > > See new dmesg... > [6.131569] 2098.usb supply vusb_d

Re: Bug in DWC2 UDC driver on Raspberry PI [was: g_mass_storage emulation of flash drive - difficulties with passing vendor/product ID]

2017-07-11 Thread Alan Robertson
On Tue, Jul 11, 2017 at 2:42 PM, Alan Stern wrote: > On Mon, 10 Jul 2017, Alan Robertson wrote: > >> OK have now updated to kernel 4.9.36+, unfortunately g_mass_storage >> isn't working at all in that! apt-get upgrade gave me 4.9.35+ then >> rpi-update got me to

Re: Bug in DWC2 UDC driver on Raspberry PI [was: g_mass_storage emulation of flash drive - difficulties with passing vendor/product ID]

2017-07-11 Thread Alan Stern
On Mon, 10 Jul 2017, Alan Robertson wrote: > OK have now updated to kernel 4.9.36+, unfortunately g_mass_storage > isn't working at all in that! apt-get upgrade gave me 4.9.35+ then > rpi-update got me to 4.9.36+. Unfortunately getting a kernel panic on > boot (even on fresh install) when

Re: Bug in DWC2 UDC driver on Raspberry PI [was: g_mass_storage emulation of flash drive - difficulties with passing vendor/product ID]

2017-07-10 Thread Alan Robertson
On Mon, Jul 10, 2017 at 11:09 PM, Alan Robertson wrote: > On Mon, Jul 10, 2017 at 5:43 PM, Alan Robertson > wrote: >> On Mon, Jul 10, 2017 at 3:46 PM, Alan Stern >> wrote: >>> On Mon, 10 Jul 2017, Alan Robertson

Re: Bug in DWC2 UDC driver on Raspberry PI [was: g_mass_storage emulation of flash drive - difficulties with passing vendor/product ID]

2017-07-10 Thread Alan Robertson
On Mon, Jul 10, 2017 at 5:43 PM, Alan Robertson wrote: > On Mon, Jul 10, 2017 at 3:46 PM, Alan Stern wrote: >> On Mon, 10 Jul 2017, Alan Robertson wrote: >> >>> On Sat, Jul 8, 2017 at 5:26 PM, Alan Robertson >>>

Re: Bug in DWC2 UDC driver on Raspberry PI [was: g_mass_storage emulation of flash drive - difficulties with passing vendor/product ID]

2017-07-10 Thread Alan Robertson
On Mon, Jul 10, 2017 at 3:46 PM, Alan Stern wrote: > On Mon, 10 Jul 2017, Alan Robertson wrote: > >> On Sat, Jul 8, 2017 at 5:26 PM, Alan Robertson >> wrote: >> > On Sat, Jul 8, 2017 at 4:52 PM, Alan Stern >> >

Bug in DWC2 UDC driver on Raspberry PI [was: g_mass_storage emulation of flash drive - difficulties with passing vendor/product ID]

2017-07-10 Thread Alan Stern
On Mon, 10 Jul 2017, Alan Robertson wrote: > On Sat, Jul 8, 2017 at 5:26 PM, Alan Robertson > wrote: > > On Sat, Jul 8, 2017 at 4:52 PM, Alan Stern > > wrote: > >> On Sat, 8 Jul 2017, Alan Robertson wrote: > >> > >>> On Sat, Jul 8, 2017 at

Re: g_mass_storage emulation of flash drive - difficulties with passing vendor/product ID

2017-07-10 Thread Alan Robertson
On Sat, Jul 8, 2017 at 5:26 PM, Alan Robertson wrote: > On Sat, Jul 8, 2017 at 4:52 PM, Alan Stern wrote: >> On Sat, 8 Jul 2017, Alan Robertson wrote: >> >>> On Sat, Jul 8, 2017 at 2:04 AM, Alan Stern >>> wrote: >>>

Re: g_mass_storage emulation of flash drive - difficulties with passing vendor/product ID

2017-07-10 Thread Alan Robertson
On Mon, Jul 10, 2017 at 11:07 AM, Felipe Balbi wrote: > > Hi, > > Paul Zimmerman writes: > > Did you try enabling verbose debugging in g_mass_storage? This > > requires setting CONFIG_USB_GADGET_DEBUG and CONFIG_USB_GADGET_VERBOSE >

Re: g_mass_storage emulation of flash drive - difficulties with passing vendor/product ID

2017-07-10 Thread Felipe Balbi
Hi, Paul Zimmerman writes: > Did you try enabling verbose debugging in g_mass_storage? This > requires setting CONFIG_USB_GADGET_DEBUG and CONFIG_USB_GADGET_VERBOSE > in the kernel configuration and then rebuilding g_mass_storage.ko. > And at runtime you

Re: g_mass_storage emulation of flash drive - difficulties with passing vendor/product ID

2017-07-08 Thread Paul Zimmerman
Alan Robertson wrote: > On Sat, Jul 8, 2017 at 4:52 PM, Alan Stern wrote: >> On Sat, 8 Jul 2017, Alan Robertson wrote: >> >>> On Sat, Jul 8, 2017 at 2:04 AM, Alan Stern >>> wrote: < snip > >>> > Did you try enabling verbose debugging in

Re: g_mass_storage emulation of flash drive - difficulties with passing vendor/product ID

2017-07-08 Thread Alan Robertson
On Sat, Jul 8, 2017 at 4:52 PM, Alan Stern wrote: > On Sat, 8 Jul 2017, Alan Robertson wrote: > >> On Sat, Jul 8, 2017 at 2:04 AM, Alan Stern wrote: >> > On Fri, 7 Jul 2017, Alan Robertson wrote: >> > >> >> Sorry to return to this topic &

Re: g_mass_storage emulation of flash drive - difficulties with passing vendor/product ID

2017-07-08 Thread Alan Stern
On Sat, 8 Jul 2017, Alan Robertson wrote: > On Sat, Jul 8, 2017 at 2:04 AM, Alan Stern wrote: > > On Fri, 7 Jul 2017, Alan Robertson wrote: > > > >> Sorry to return to this topic & appreciate it might be either specific > >> to either the Pi or the system(s) I'm

Re: g_mass_storage emulation of flash drive - difficulties with passing vendor/product ID

2017-07-08 Thread Alan Robertson
On Sat, Jul 8, 2017 at 2:04 AM, Alan Stern wrote: > On Fri, 7 Jul 2017, Alan Robertson wrote: > >> Sorry to return to this topic & appreciate it might be either specific >> to either the Pi or the system(s) I'm connecting it to, but have now >> had time to try a few

Re: g_mass_storage emulation of flash drive - difficulties with passing vendor/product ID

2017-07-07 Thread Alan Stern
On Fri, 7 Jul 2017, Alan Robertson wrote: > Sorry to return to this topic & appreciate it might be either specific > to either the Pi or the system(s) I'm connecting it to, but have now > had time to try a few more combinations out and would appreciate any > thoughts from the experts here. > >

Re: g_mass_storage emulation of flash drive - difficulties with passing vendor/product ID

2017-07-07 Thread Alan Robertson
On Tue, Jun 6, 2017 at 3:33 PM, Alan Robertson wrote: > On Tue, Jun 6, 2017 at 3:03 PM, Alan Stern wrote: >> On Mon, 5 Jun 2017, Alan Robertson wrote: >>> > Try changing bcdDevice to a valid number, and change the serial number >>> > string to

Re: g_mass_storage emulation of flash drive - difficulties with passing vendor/product ID

2017-06-06 Thread Alan Robertson
On Tue, Jun 6, 2017 at 3:03 PM, Alan Stern wrote: > On Mon, 5 Jun 2017, Alan Robertson wrote: > >> >> >> USBSTOR\DISK_LINUX_FILE-STOR_GADGET_0404\123456789012&0 >> > >> > It looks like Windows is remembering an earlier version of your gadget >> > and matching it with

Re: g_mass_storage emulation of flash drive - difficulties with passing vendor/product ID

2017-06-06 Thread Alan Stern
On Mon, 5 Jun 2017, Alan Robertson wrote: > >> >> USBSTOR\DISK_LINUX_FILE-STOR_GADGET_0404\123456789012&0 > > > > It looks like Windows is remembering an earlier version of your gadget > > and matching it with the current version based on the serial number > > string. > > I've changed the SN and

Re: g_mass_storage emulation of flash drive - difficulties with passing vendor/product ID

2017-06-05 Thread Alan Robertson
On Mon, Jun 5, 2017 at 9:52 PM, Alan Stern wrote: > [Please use Reply-To-All so that your message gets sent to the mailing > list as well as to me.] Oops, apologies - now done! > On Mon, 5 Jun 2017, Alan Robertson wrote: > >> On Mon, Jun 5, 2017 at 3:02 PM, Alan Stern

Re: g_mass_storage emulation of flash drive - difficulties with passing vendor/product ID

2017-06-05 Thread Alan Stern
[Please use Reply-To-All so that your message gets sent to the mailing list as well as to me.] On Mon, 5 Jun 2017, Alan Robertson wrote: > On Mon, Jun 5, 2017 at 3:02 PM, Alan Stern wrote: > > On Sun, 4 Jun 2017, Alan Robertson wrote: > > > >> Hi > >> > >> Apologies

Re: g_mass_storage emulation of flash drive - difficulties with passing vendor/product ID

2017-06-05 Thread Alan Stern
On Sun, 4 Jun 2017, Alan Robertson wrote: > Hi > > Apologies for my first post here being a request for help, but after > extensive searching online I've not yet been able to find and answer > and am hopeful the expertise here may be able to help! > > I have a Raspberry Pi Zero W that I'm using

g_mass_storage emulation of flash drive - difficulties with passing vendor/product ID

2017-06-04 Thread Alan Robertson
Hi Apologies for my first post here being a request for help, but after extensive searching online I've not yet been able to find and answer and am hopeful the expertise here may be able to help! I have a Raspberry Pi Zero W that I'm using in OTG/gadget mode. I've activated dwc2 USB, partitioned