Re: Do makes of compact flash have an impact?

From: Marcus Brown <marcusbrutus_at_internode.on.net>
Date: Thu, 15 Jun 2006 10:13:04 +1000

OK, try usbview on your host.

Carl Beech wrote:
> Aha!
>
> This appears to have an effect!
>
> looking at: carl_at_home:/sys/class/usb_device/usbdev5.3/device
> idVendor is 0420
> idProduct is 20fc
>
> Hope that looks ok and is what is required? - or (as I suspect) is this
> the ID of the actual card reader? - Actually I've verified that it is
> through kInfoCenter, so no luck there....
>
> I've also tried the cp /bin/cat /tmp, then /tmp/cat /sys.... idea,
> however, I get a segmentation fault and the machine crashes - I suspect
> you need a little more than 'cat' - most of the basic 'c' libraries
> would also be required too - for I/O to the screen....?
>
> Back to the drawing board I guess - unless there's a 3rd party utility I
> can use to find out the information - probably running under windows?
>
> Thanks
>
> Carl.
>
> On 6/14/06, *Marcus Brown* <marcusbrutus_at_internode.on.net
> <mailto:marcusbrutus_at_internode.on.net>> wrote:
>
> After trading coffee for beer, I'd say my last message was
> pushing the boundaries of reality (cat won't be available).
>
> On your SuSE host, try
> # cat /sys/class/usb_device/usbdev*/device/id*
> (once with card in, then with card out)
> [ You'll get the idea :]
>
> *OR* try my previous suggestion on ipaq, but:
> # cp /bin/cat /tmp
> (before you remove your root card)
> # /tmp/cat /sys/bus/pcmcia/devices/0.?/?a*
>
> Marcus
>
> Marcus Brown wrote:
> > Hi all,
> >
> > Carl, this *might* work:
> > - boot on the working card.
> > - open a console and type:
> > cat /sys/bus/pcmcia/devices/0.?/?a*
> > [NO RETURN!]
> > - swap the cards
> > - wait a few seconds
> > - press RETURN.
> > - result will be card_id/manf_id for each card function.
> >
> > I'll add this ability ramdisk-rescue.
> >
> > Marcus.
> >
> > Carl Beech wrote:
> >> Hi,
> >>
> >> I can give you the card ID that is currently running, however,
> how do
> >> I do this from a 'non bootable' card with GPE? (I'm booting from
> a CF
> >> card already..) - I can mount it under SuSE - is there a utility
> that
> >> can give me the same info under a desktop machine?
> >>
> >> Carl.
> >>
> >> On 6/13/06, *Joshua Layne* <joshua_at_willowisp.net
> <mailto:joshua_at_willowisp.net>
> >> <mailto: joshua_at_willowisp.net <mailto:joshua_at_willowisp.net>>> wrote:
> >>
> >> Hi Carl,
> >> The ID should be visible (under GPE) in the PCMCIA card
> utility - it
> >> shows card ID. (for an example of the format of the ID,
> take a look
> >> at some of the files in /etc/pcmcia)
> >>
> >> HTH,
> >> josh
> >>
> >> On Tue, 13 Jun 2006 21:02:25 +0100, "Carl Beech"
> >> < carl.beech_at_gmail.com <mailto:carl.beech_at_gmail.com>
> <mailto:carl.beech_at_gmail.com <mailto:carl.beech_at_gmail.com>>> wrote:
> >> > As a thought, presumably there isn't a central list of CF
> id's
> >> that could
> >> > be
> >> > used - after all, if these work under windows, then they
> must have
> >> > collected
> >> > the information from somewhere....?
> >> >
> >> > Carl.
> >> >
> >> > On 6/13/06, Carl Beech < carl.beech_at_gmail.com
> <mailto:carl.beech_at_gmail.com>
> >> <mailto: carl.beech_at_gmail.com
> <mailto:carl.beech_at_gmail.com>>> wrote:
> >> >>
> >> >> Thanks for the info - I'll have a scan through, however, I'm
> >> not too
> >> > sure
> >> >> where to look so I can feedback the card ID - any ideas
> as to
> >> where the
> >> > card
> >> >> ID is held.... ahem, and then presumably, the kernel is
> going to
> >> have to
> >> > be
> >> >> re-compiled - which at this time I'm not sure I've got the
> >> setup /
> >> >> instructions to do....
> >> >>
> >> >> But at least I can try and get the card info for
> inclusion....
> >> >>
> >> >> Thanks
> >> >>
> >> >> Carl.
> >> >>
> >> >>
> >> >> On 6/13/06, Matt Reimer < mattjreimer_at_gmail.com
> <mailto:mattjreimer_at_gmail.com>
> >> <mailto:mattjreimer_at_gmail.com
> <mailto:mattjreimer_at_gmail.com>>> wrote:
> >> >> >
> >> >> > On 6/13/06, Carl Beech < carl.beech_at_gmail.com
> <mailto:carl.beech_at_gmail.com>
> >> <mailto:carl.beech_at_gmail.com <mailto:carl.beech_at_gmail.com>>>
> wrote:
> >> >> > > Here's an interesting one:
> >> >> > >
> >> >> > > I've managed to get GPE working properly on my iPaq
> using a
> >> borrowed
> >> >> > 128Mb
> >> >> > > CF card :-) - I've decided to overwrite my main
> 512Mb CF
> >> card, and
> >> >> > went
> >> >> > > through the installation procedure (as far as I can
> >> remember) in the
> >> >> > same
> >> >> > > manner, however, the 512Mb flash doesn't boot...?
> >> >> > >
> >> >> > > The 128Mb card is from Kodak, and the 512Mb card is from
> >> Viking (and
> >> >> > was
> >> >> > > considerably cheaper when bought) - both work fine in my
> >> iPaq when
> >> >> > using
> >> >> > > windoze. I was wondering if anyone else had a similar
> >> experience -
> >> > if
> >> >> > so, is
> >> >> > > there a list of recognised good / bad CF cards?
> >> >> > >
> >> >> > > I'm going to go through the installation procedure
> again
> >> tonight *in
> >> >> > detail*
> >> >> > > - i.e. partitions exactly the same size, and
> actually copy
> >> the
> >> > images
> >> >> > of
> >> >> > > partitions from one card to the other.... and I'll
> let you
> >> know the
> >> >> > > outcome....
> >> >> > >
> >> >> > > Thanks
> >> >> > >
> >> >> > > Carl.
> >> >> >
> >> >> > You probably need to add your card's id to
> >> >> > drivers/ide/legacy/ide- cs.c , similar to the way this old
> >> patch does:
> >> >> >
> >> >> >
> >> >> >
> >> >
> >>
> >>
> http://www.rpsys.net/openzaurus/patches/archive/pcmcia_dev_ids-r2.patch
> >>
> >>
> <http://www.rpsys.net/openzaurus/patches/archive/pcmcia_dev_ids-r2.patch
> <http://www.rpsys.net/openzaurus/patches/archive/pcmcia_dev_ids-r2.patch>>
> >> >> >
> >> >> > You'll need to get your card's ids and work up a patch
> like
> >> this. I
> >> >> > don't recall how to do this off the top of my head,
> but try
> >> looking
> >> >> > around in /sys for your card's info.
> >> >> >
> >> >> > Matt
> >> >> >
> >> >>
> >> >>
> >> >
> >> >
> > _______________________________________________
Received on Wed Jun 14 2006 - 20:13:18 EDT

This archive was generated by hypermail 2.2.0 : Wed Jun 14 2006 - 20:13:27 EDT