* Re: FWD: Installing PCMCIA hard disk on DVK MPC823
[not found] <380658298.965240776157.JavaMail.root@web621-wrb.mail.com>
@ 2000-08-02 20:44 ` Matthew Locke
2000-08-03 18:31 ` Usb slave API Nguyen Xuan Hoang
0 siblings, 1 reply; 7+ messages in thread
From: Matthew Locke @ 2000-08-02 20:44 UTC (permalink / raw)
To: lmphuc, linuxppc-embedded
> My name's Phuc Le. I am new on this field. I just installed
> PCMCIA HDD on the the DVK MPC823 but it failed.
What is the DVK 823? I haven't heard of that one.
> The result was the cardmgr detects the flugged pcmcia device to be
> ATA/IDE and it tried to load the 'ide_cs.o' module. But it failed. The error
> message were displayed as below:
>
> .... ide_cs.o: unresolved symbol 'ide_register'
> .... ide_cs.o: unresolved symbol 'ide_unregister'
>
> I tried to rebuilt the kernel with turn-on some IDE features in the
> configuration phase and recompile the pcmcia based on the new kernel.
>
> The result was still failed with the kernel to be panic status.
>
As usual Dan beat me to a response, but I can give a little more
detail:-)
My next task (probably after LinuxWorld this month) is to figure out all
the details for making card services work on 8xx and document them. In
the mean time, here is what I know:
The 8xx portion of the kernel has some code that connects the PCMCIA
controller to the IDE driver (without card services). this code is
activated when you select the *_IDE and *_IDEDISK config options. So it
probably is conflicting with the ide_cs modules in card services. I
think if you pass in the ide=noprobe (check docs for exact args) at the
boot prompt it might work, maybe.
If you don't need hot swap, I suggest not using card services until I
have packaged it for HardHat. Instead use the existing code that
connects the controller to the IDE driver. You may need to tune some
timing parameters to your PCMCIA h/w. I have a patch that makes it work
with a SanDisk at ftp://ftp.mvista.com/pub/Area51/embedded-planet
To do this:
apply the patch
Enable the _IDE and _IDEDISK kernel config options
make dep; make zImage
insert PCMCIA card
load and boot linux
I will post a message when Card Services is available on Montavista's
ftp site.
Matthew Locke
Software Engineer
Montavista Software
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
^ permalink raw reply [flat|nested] 7+ messages in thread
* Usb slave API
2000-08-02 20:44 ` FWD: Installing PCMCIA hard disk on DVK MPC823 Matthew Locke
@ 2000-08-03 18:31 ` Nguyen Xuan Hoang
2000-08-04 4:45 ` Dan Malek
2000-08-05 1:50 ` Nguyen Xuan Hoang
0 siblings, 2 replies; 7+ messages in thread
From: Nguyen Xuan Hoang @ 2000-08-03 18:31 UTC (permalink / raw)
To: linuxppc-embedded
Hi All,
>From my understanding the usb slave driver (not host) was done for MPC823
and MPC850, but I can't find where it is nor what is the API for it (In
official linux kernel there's a API for USB host function). Am I right or
too stupid? I hope some people in this maillist can give a point.
Thank in advance
Hoang
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: Usb slave API
2000-08-03 18:31 ` Usb slave API Nguyen Xuan Hoang
@ 2000-08-04 4:45 ` Dan Malek
2000-09-13 16:56 ` Gary Swanson
2000-08-05 1:50 ` Nguyen Xuan Hoang
1 sibling, 1 reply; 7+ messages in thread
From: Dan Malek @ 2000-08-04 4:45 UTC (permalink / raw)
To: Nguyen Xuan Hoang; +Cc: linuxppc-embedded
Nguyen Xuan Hoang wrote:
> >From my understanding the usb slave driver (not host) was done for MPC823
> and MPC850,
We are working with Embedded Planet to GPL release their host/slave USB
for the 823 and 850. This should hopefully happen in about a week or
so.
I don't think anyone every posted a complete driver, due to the USB
stack
changes in the Linux kernel.
Just sit tight for a week or so and everything should arrive. I am sure
there willl be an announcement when this occurs.
-- Dan
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: Usb slave API
2000-08-05 1:50 ` Nguyen Xuan Hoang
@ 2000-08-04 18:31 ` Matthew Locke
2000-08-05 20:03 ` Nguyen Xuan Hoang
0 siblings, 1 reply; 7+ messages in thread
From: Matthew Locke @ 2000-08-04 18:31 UTC (permalink / raw)
To: Nguyen Xuan Hoang; +Cc: linuxppc-embedded
> > From my understanding the usb slave driver (not host) was done for MPC823
> > and MPC850, but I can't find where it is
As Dan said, hopefully the annoucement will happen soon.
> > nor what is the API for it (In
> > official linux kernel there's a API for USB host function). Am I right or
> > too stupid? I hope some people in this maillist can give a point.
Which kernel are you looking in? USB support in the 2.2 kernel isn't
very stable. 2.4 has a very nice implementation and I think you can find
backports to the 2.2. However backports are not always stable.
Basically the kernel provides slave (peripheral) drivers for the basic
peripheral classes, printer, scanner, mouse, keyboard, etc. look in
drivers/usb for those files to use as examples.
The first place to look is in the Documentation directory of the kernel
tree. At the very least it will have pointers to where to find docs.
In this case (2.4), it provides some good descriptions of the USB API
and the various pieces that make up the USB stack. I read a paper
called "Programming Guide for Linux USB Devices" that is pretty good.
you can find it at http://usb.in.tum.de/usbdoc .
Matthew Locke
Montavista Software
http://www.mvista.com
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
^ permalink raw reply [flat|nested] 7+ messages in thread
* Usb slave API
2000-08-03 18:31 ` Usb slave API Nguyen Xuan Hoang
2000-08-04 4:45 ` Dan Malek
@ 2000-08-05 1:50 ` Nguyen Xuan Hoang
2000-08-04 18:31 ` Matthew Locke
1 sibling, 1 reply; 7+ messages in thread
From: Nguyen Xuan Hoang @ 2000-08-05 1:50 UTC (permalink / raw)
To: linuxppc-embedded
Hi,
Could anyone please spend few minutes to give me advices. I have no clue
about this.
Thanks in advance
Hoang
----- Original Message -----
From: "Nguyen Xuan Hoang" <hoang_nguyen@smartstors.com>
To: <linuxppc-embedded@lists.linuxppc.org>
Sent: Thursday, August 03, 2000 11:31 AM
Subject: Usb slave API
>
> Hi All,
>
> From my understanding the usb slave driver (not host) was done for MPC823
> and MPC850, but I can't find where it is nor what is the API for it (In
> official linux kernel there's a API for USB host function). Am I right or
> too stupid? I hope some people in this maillist can give a point.
>
> Thank in advance
> Hoang
>
>
>
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: Usb slave API
2000-08-04 18:31 ` Matthew Locke
@ 2000-08-05 20:03 ` Nguyen Xuan Hoang
0 siblings, 0 replies; 7+ messages in thread
From: Nguyen Xuan Hoang @ 2000-08-05 20:03 UTC (permalink / raw)
To: Matthew Locke; +Cc: linuxppc-embedded, jari
Thank you very much for your reply.
>
> > > From my understanding the usb slave driver (not host) was done for
MPC823
> > > and MPC850, but I can't find where it is
>
> As Dan said, hopefully the annoucement will happen soon.
I am glad to know that.
>
> > > nor what is the API for it (In
> > > official linux kernel there's a API for USB host function). Am I
right or
> > > too stupid? I hope some people in this maillist can give a point.
>
> Which kernel are you looking in? USB support in the 2.2 kernel isn't
> very stable. 2.4 has a very nice implementation and I think you can find
> backports to the 2.2. However backports are not always stable.
I thought MVista is going to release 2.2.14 with USB support so I plan to
use 2.2.14 with backport
> Basically the kernel provides slave (peripheral) drivers for the basic
> peripheral classes, printer, scanner, mouse, keyboard, etc. look in
> drivers/usb for those files to use as examples.
>
If I am not wrong, these are the driver in host mode. I am looking for tha
API when MPC823 configure as usb slave, which can connect to PC (like Kodak
DC290 using MPC823).
Is the Slave and Host API the same? I am very supprised if that' correct.
>
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: Usb slave API
2000-08-04 4:45 ` Dan Malek
@ 2000-09-13 16:56 ` Gary Swanson
0 siblings, 0 replies; 7+ messages in thread
From: Gary Swanson @ 2000-09-13 16:56 UTC (permalink / raw)
To: Dan Malek; +Cc: linuxppc-embedded
Dan,
a while ago you wrote
> We are working with Embedded Planet to GPL release their host/slave USB
> for the 823 and 850. This should hopefully happen in about a week or
> so.
> I don't think anyone every posted a complete driver, due to the USB
> stack
> changes in the Linux kernel.
>
> Just sit tight for a week or so and everything should arrive. I am sure
> there willl be an announcement when this occurs.
>
I see this is mentioned on Embedded Planet in a press release as
available as part of their LinuxPlanet dev kit, but is the source GPL'd
and available ? I scoured Embedded Planet's and Monta Vista's web (and
ftp for MV) sites but found nothing.
Thanks for any info,
Gary
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2000-09-13 16:56 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <380658298.965240776157.JavaMail.root@web621-wrb.mail.com>
2000-08-02 20:44 ` FWD: Installing PCMCIA hard disk on DVK MPC823 Matthew Locke
2000-08-03 18:31 ` Usb slave API Nguyen Xuan Hoang
2000-08-04 4:45 ` Dan Malek
2000-09-13 16:56 ` Gary Swanson
2000-08-05 1:50 ` Nguyen Xuan Hoang
2000-08-04 18:31 ` Matthew Locke
2000-08-05 20:03 ` Nguyen Xuan Hoang
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).