9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: erik quanstrom <quanstro@quanstro.net>
To: 9fans@9fans.net
Subject: Re: [9fans] usb/disk and micro SD cards.
Date: Thu,  5 Feb 2015 08:08:11 -0800	[thread overview]
Message-ID: <92dacd1670d327798224a9f187a80663@brasstown.quanstro.net> (raw)
In-Reply-To: <46a7af2258e5356f71cedd7afad8354e@quintile.net>

On Thu Feb  5 03:29:11 PST 2015, steve@quintile.net wrote:
> I am trying to use some micro sd cards with plan9.
> Thse are kingston SDC4/4Gbsp cards (4Gb) for embedded stuff.
>
> usbfat: won't recognise them and usb/disk with debug on grumbles
>
> 	8.out: startdevs: opening #0 /dev/usb/ep7.0
> 	8.out: opendev 0x4b618 /dev/usb/ep7.0
> 	8.out: /dev/usb/ep7.0: warning: device with short descriptor
> 	8.out: /dev/usb/ep7.0: no configurations
> 	8.out: /dev/usb/ep7.0 csp none.0.0 vid 0x14cd did 0x1212 refs 1
> 		Generic Mass Storage Device 121220130416
> 	disk: ep ids: in -1 out -1
> 	8.out: closedev 0x4b618 /dev/usb/ep7.0
> 	8.out: devmain: disk: endpoints not found
> 	8.out: no unhandled devices found
>
>
> The type of the card (ep->type) is 0 (Control) rather than 2 (Bulk) by I don't
> know how this can happen. Windows is happy so the cards are not sick.
>
> anyone any ideas?

i did a lot of work a few months ago to take more care with usb
descriptors.  you might try the 9atom version.  contact me off list for
additional info if there are issues.

- erik



      reply	other threads:[~2015-02-05 16:08 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-02-05 11:34 Steve Simon
2015-02-05 16:08 ` erik quanstrom [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=92dacd1670d327798224a9f187a80663@brasstown.quanstro.net \
    --to=quanstro@quanstro.net \
    --cc=9fans@9fans.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).