9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
* [9fans] usb/disk and micro SD cards.
@ 2015-02-05 11:34 Steve Simon
  2015-02-05 16:08 ` erik quanstrom
  0 siblings, 1 reply; 2+ messages in thread
From: Steve Simon @ 2015-02-05 11:34 UTC (permalink / raw)
  To: 9fans

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?

-Steve



^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [9fans] usb/disk and micro SD cards.
  2015-02-05 11:34 [9fans] usb/disk and micro SD cards Steve Simon
@ 2015-02-05 16:08 ` erik quanstrom
  0 siblings, 0 replies; 2+ messages in thread
From: erik quanstrom @ 2015-02-05 16:08 UTC (permalink / raw)
  To: 9fans

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



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2015-02-05 16:08 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-02-05 11:34 [9fans] usb/disk and micro SD cards Steve Simon
2015-02-05 16:08 ` erik quanstrom

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).