On Fri, Sep 29, 2017 at 8:17 AM Dan Brown <dans.galaxym...@gmail.com> wrote:

> I have added a USB Type A connector to my Pocket Beagle.  When I plug a
> Kingston 8GB Flash Key into the port and boot the PocketBeagle, I can see
> that the device is sort of detected, but I never get access to the Flash.
>

How did you wire it? Here's how I've connected a microUSB:

[image: PocketBeagle_microUSB_bb.png]

I'm looking for a good Fritzing element for the USB type-A, but it is
largely the same except that ID and GND are tied together (connector is
only 4-pin).



> In /var/log/messages I see the following block:
>
> Sep 28 12:08:19 beaglebone kernel: [    2.177870] usbcore: registered new
> interface driver usb-storage
> Sep 28 12:08:19 beaglebone kernel: [    2.180479] 47401300.usb-phy supply
> vcc not found, using dummy regulator
> Sep 28 12:08:19 beaglebone kernel: [    2.183416] musb-hdrc
> musb-hdrc.0.auto: MUSB HDRC host driver
> Sep 28 12:08:19 beaglebone kernel: [    2.183453] musb-hdrc
> musb-hdrc.0.auto: new USB bus registered, assigned bus number 1
> Sep 28 12:08:19 beaglebone kernel: [    2.183781] usb usb1: New USB device
> found, idVendor=1d6b, idProduct=0002
> Sep 28 12:08:19 beaglebone kernel: [    2.183795] usb usb1: New USB device
> strings: Mfr=3, Product=2, SerialNumber=1
> Sep 28 12:08:19 beaglebone kernel: [    2.183805] usb usb1: Product: MUSB
> HDRC host driver
> Sep 28 12:08:19 beaglebone kernel: [    2.183814] usb usb1: Manufacturer:
> Linux 4.4.88-ti-r125 musb-hcd
> Sep 28 12:08:19 beaglebone kernel: [    2.183824] usb usb1: SerialNumber:
> musb-hdrc.0.auto
> Sep 28 12:08:19 beaglebone kernel: [    2.184765] hub 1-0:1.0: USB hub
> found
> Sep 28 12:08:19 beaglebone kernel: [    2.184832] hub 1-0:1.0: 1 port
> detected
> Sep 28 12:08:19 beaglebone kernel: [    2.187254] 47401b00.usb-phy supply
> vcc not found, using dummy regulator
> Sep 28 12:08:19 beaglebone kernel: [    2.189903] musb-hdrc
> musb-hdrc.1.auto: MUSB HDRC host driver
> Sep 28 12:08:19 beaglebone kernel: [    2.189941] musb-hdrc
> musb-hdrc.1.auto: new USB bus registered, assigned bus number 2
> Sep 28 12:08:19 beaglebone kernel: [    2.190429] usb usb2: New USB device
> found, idVendor=1d6b, idProduct=0002
> Sep 28 12:08:19 beaglebone kernel: [    2.190444] usb usb2: New USB device
> strings: Mfr=3, Product=2, SerialNumber=1
> Sep 28 12:08:19 beaglebone kernel: [    2.190454] usb usb2: Product: MUSB
> HDRC host driver
> Sep 28 12:08:19 beaglebone kernel: [    2.190463] usb usb2: Manufacturer:
> Linux 4.4.88-ti-r125 musb-hcd
> Sep 28 12:08:19 beaglebone kernel: [    2.190473] usb usb2: SerialNumber:
> musb-hdrc.1.auto
> Sep 28 12:08:19 beaglebone kernel: [    2.191478] hub 2-0:1.0: USB hub
> found
> Sep 28 12:08:19 beaglebone kernel: [    2.191554] hub 2-0:1.0: 1 port
> detected
>
> Notice that the network blocks are usb1 and usb2.  Without the Flash key
> inserted, those lines would be usb0 and usb1.
>

The index delta is interesting. Did you change the device tree at all? I
attempted to make the default device tree enable host mode on the USB1
(hardware) port.

Even though the controller shows up, you don't seem to have the flash drive
showing up. Are VBUS and ID connected properly?


>
> lsmod shows:
>
> usb_f_mass_storage     51139  2
>

I believe that is just the "function" mass storage class driver, ie. slave,
not master.


>
> So shouldn't I have a /dev/sdX device then?
>
> --
> For more options, visit http://beagleboard.org/discuss
> ---
> You received this message because you are subscribed to the Google Groups
> "BeagleBoard" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to beagleboard+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/beagleboard/061c31aa-5d9b-4258-aacc-f996683185b7%40googlegroups.com
> <https://groups.google.com/d/msgid/beagleboard/061c31aa-5d9b-4258-aacc-f996683185b7%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>
-- 
https://beagleboard.org/about

-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
"BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to beagleboard+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/beagleboard/CA%2BT6QP%3Db98P0u%2BO5%2BRyS6k6Nu7aNEG6P7YayM-3VUPQnF8y%3D-g%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to