Re: Configure pc card on Mandriva 9.2

2007-01-04 Thread Peter Stuge
On Fri, Dec 22, 2006 at 04:01:51AM -0800, Allein Stark wrote: > Hello! > After inserted the pcmcia in the slot, I face a > problem. As newbie on such subject, I am looking for > help in order to make it running. I proceeded urpmi > install pcmcia. After that I try to see it through > ifconfig -a,

Re: 3c574 NIC support with recent 2.6 kernels.

2007-02-04 Thread Peter Stuge
On Sun, Feb 04, 2007 at 11:06:58PM -0500, cga2000 wrote: > > > > > product info: "3Com", "Megahertz 3CCFEM556", "LAN + 56k Modem", "" > > > > > > > > This looks like a 32-bit CardBus card, not a 16-bit PCMCIA card. The 3CCFEM556 is a 16-bit PCMCIA card, not a CardBus card. > > Possibly there'

Re: 3c574 NIC support with recent 2.6 kernels.

2007-02-10 Thread Peter Stuge
On Fri, Feb 09, 2007 at 02:21:23PM -0500, cga2000 wrote: > Since I wasn't sure where to look for the correct version of > 3CCFEM556.dat I don't think the CIS files have changed a lot over time. They're bound to the hardware so they either work with a card or not. >, I told the installer that I d

Why separate CIS files in 2.6?

2007-02-10 Thread Peter Stuge
Why not include them within the drivers in 2.6? Licensing? //Peter ___ Linux PCMCIA reimplementation list http://lists.infradead.org/mailman/listinfo/linux-pcmcia

Re: PCMCIA on EPIA ITX M12000 problems

2007-03-02 Thread Peter Stuge
On Thu, Mar 01, 2007 at 07:51:41PM +0100, Johan Bilien wrote: > I'm trying to get a WLAN PCCard working on my IPX EPIA MII12000 > board. > By I'm seeing a number of problems. > > First of all I was getting the > kernel: cs: pcmcia_socket0: unable to apply power. [..] > The board has a Ricoh brid

Re: Question about yenta and the TI1520 PCI-CardBus bridge

2007-03-02 Thread Peter Stuge
On Thu, Mar 01, 2007 at 06:07:55PM -0800, [EMAIL PROTECTED] wrote: > What is a 'yanta-compatible device' and how do I know if a device > is 'yenta-compatible'? Is it related to PCI-CardBus bridges? Exactly. It's the base register interface of most if not all modern Cardbus bridges. > A second q

Re: Looking for a driver for Compact Flash access

2007-04-05 Thread Peter Stuge
On Thu, Apr 05, 2007 at 05:07:24PM +0200, Michael wrote: > The CF is connected directly to MPC8541 CPU (PowerQUICC III, > Freescale), via local bus. > It is connected in Memory Mode, with 8-bit interface. > > The questions I have: > 1. What is the appropriate driver? Since memory mode is > PCMCIA-

Re: Looking for a driver for Compact Flash access

2007-04-05 Thread Peter Stuge
On Thu, Apr 05, 2007 at 06:53:07PM +0200, Peter Stuge wrote: > But none of this really applies to you because you have an IDE > device connected to a local bus instead of an IDE controller. I > think the linux-ide developers could help you better. Or possibly linux-mtd of course.

Re: PCMCIA IRQ problems on 2.4.34

2007-04-09 Thread Peter Stuge
On Mon, Apr 09, 2007 at 09:20:41PM -0400, Marc wrote: > but I'm having problems getting an IRQ assigned to it. Does anyone > know the magic kernel options, boot options > Linux Kernel Card Services 3.1.22 > options: [pci] [cardbus] [pm] > PCI: No IRQ known for interrupt pin A of device 00:02.0

Re: using PCMCIA driver for CF access

2007-04-11 Thread Peter Stuge
On Wed, Apr 11, 2007 at 07:04:43PM +0200, Michael wrote: > I have a CF connected in PC Card ATA compatible IO mode. > It is connected directly to the host local bus. > The CPU is MPC8541 PowerQUICC III. > > I'd like to use PCMCIA driver (ide-cs) to access the CF. I still don't understand why you

Re: using PCMCIA driver for CF access

2007-04-17 Thread Peter Stuge
Hi, On Thu, Apr 12, 2007 at 08:46:35AM +0200, Michael wrote: > Hi. > It's a long story: > The reason is the HW configuration of the board I have. > The CF is connected to the host bus in memory mode. > In this mode, the CF does not issue interrupts, and utilizing the > IDE code in its current stat

Re: Looking for a driver for Compact Flash access

2007-04-17 Thread Peter Stuge
On Sun, Apr 08, 2007 at 08:38:51AM +0200, Michael wrote: > Is connecting a CF directly to the local bus an unusual practice? At least if it's operating as an PCMCIA or IDE device, but probably otherwise too. If you have a local bus just tack on the flash directly. Also I just read that memory mode

Re: PCMCIA / compact flash / au1x00

2007-04-19 Thread Peter Stuge
On Thu, Apr 19, 2007 at 02:42:44PM +0200, Aeschbacher, Fabrice wrote: > CONFIG_BLK_DEV_IDECS=m Try using the PCMCIA PATA driver instead. > Neither hotplug nor udev is installed (I only installed > /sbin/pccardctl). Then you'll have to run pcmcia-socket-startup manually. This may actually work a

Re: PCMCIA / compact flash / au1x00

2007-04-20 Thread Peter Stuge
On Fri, Apr 20, 2007 at 02:17:28PM +0200, Aeschbacher, Fabrice wrote: > > > CONFIG_BLK_DEV_IDECS=m > > > > Try using the PCMCIA PATA driver instead. > > This does not seem to work either. In this case, which would be the > device? /dev/hda? or /dev/sda? something else? The first of hda, hdc, hde

Re: [PATCH] ide-cs: recognize 2GB CompactFlash from Transcend

2007-04-25 Thread Peter Stuge
On Wed, Apr 25, 2007 at 11:27:09AM +0200, Aeschbacher, Fabrice wrote: > I'm not sure which correct values must be assigned to the 3th and > 4th parameters (here: 0x709b1bf1, 0xf54a91c8). Anyway, the patch is > working with these values. Tested on arch=mips. > > + PCMCIA_DEVICE_PROD_ID12("TRA

Re: [PATCH] ide-cs: recognize 2GB CompactFlash from Transcend

2007-04-27 Thread Peter Stuge
CE_PROD_ID12("WEIDA", "TWTTI", 0xcc7cf69c, 0x212bb918), > _ > > > Is this really supposed to add a TS2GCF120 entry with the same IDs > as TS4GCF120? That's probably a copy and paste error. 0x969aa4f2 is the correct ID. > And pata_pcmcia-recognize-2gb

Re: Unable to access PCMCIA/CF Card in Common Memory Mode (neewbie)

2007-05-18 Thread Peter Stuge
Hello, why send your email twice? It never helps. On Fri, May 18, 2007 at 12:07:40PM +0530, Gururaja Hebbar K R wrote: > ide-cs: ide_register() at 0xc2802000 & 0xc280200e, irq 22 failed I guess the IRQ sharing requires special love in all drivers. > I have installed pcmciautil tools but none

Re: Aircard 850 on a Thinkpad Z61m

2007-06-17 Thread Peter Stuge
On Sun, Jun 17, 2007 at 03:39:28PM -0400, [EMAIL PROTECTED] wrote: > lspcmcia returns the following: > > Socket 0 Device 0: [serial_cs] (bus ID: 0.0) > Configuration: state: on > Product Name: Sierra Wireless AC850 3G Network Adapter R1 > Identificati

Re: Aircard 850 on a Thinkpad Z61m

2007-06-17 Thread Peter Stuge
On Sun, Jun 17, 2007 at 05:09:34PM -0400, [EMAIL PROTECTED] wrote: > > PCMCIA_DEVICE_PROD_ID12("Sierra Wireless", "AC850", 0xd85f6206, 0x42a2c018), > > Thanks Peter, unfortunately this didn't seem to help. Any other > ideas? Sorry, no. :\ Also strange that the device is a network function but get

Re: Aircard 850 on a Thinkpad Z61m

2007-06-17 Thread Peter Stuge
On Sun, Jun 17, 2007 at 05:26:45PM -0400, [EMAIL PROTECTED] wrote: > > Sorry, no. :\ Also strange that the device is a network function > > but gets the serial_cs driver. > > Could that be due of the following lines in /etc/pcmcia/config > > card "Serial or Modem" >function serial_port >

Re: Aircard 850 on a Thinkpad Z61m

2007-06-20 Thread Peter Stuge
On Wed, Jun 20, 2007 at 06:18:09PM -0400, [EMAIL PROTECTED] wrote: > cardmgr[7219]: could not adjust resource: IO ports 0xa00-0xaff: Function not > implemented > > Any ideas what is causing the input/output error in wvdial on > /dev/ttyS0? Is that connected to the errors I see when starting > car

Re: Aircard 850 on a Thinkpad Z61m

2007-06-20 Thread Peter Stuge
On Wed, Jun 20, 2007 at 06:43:36PM -0400, [EMAIL PROTECTED] wrote: > >> cardmgr[7219]: could not adjust resource: IO ports 0xa00-0xaff: > >> Function not implemented [..] > > cardmgr is deprecated with 2.6, try using pcmcia-socket-startup > > instead. > > Interesting. I am running Debian (unstab

Re: PCI1620 with an integrated memory card reader

2007-07-18 Thread Peter Stuge
On Wed, Jul 18, 2007 at 11:47:02AM +0300, Onet Cristian wrote: > hde: status timeout: status=0x98 { Busy } > ide: failed opcode was: 0xde > hde: drive not ready for command [..] > Maybe ide-cs is not appropriate for this kind of device and a > driver must be written, how are other PCMCIA memory c

Re: PCI1620 with an integrated memory card reader

2007-07-27 Thread Peter Stuge
On Thu, Jul 19, 2007 at 07:13:56PM +0300, Cristian Onet wrote: > There is only the firmware loader. Once the firmware is loaded it > should ^^ > provide an ATA interface to any inserted memory card or at > least this is what I understood Sure. Obviously this is not what happens. > This pr

Re: PCI1620 with an integrated memory card reader

2007-07-28 Thread Peter Stuge
On Sat, Jul 28, 2007 at 11:25:39PM +0300, Cristian Onet wrote: > I have realized that the problem was the way that the PIO data > transfer was made in pata_pcmcia. It was on 16 bits and it seems > that the emulated ATA device only handled 8 bit transfers Good find! > I would really like to share

Re: more about PCMCIA

2007-07-30 Thread Peter Stuge
Hello Karolina, On Mon, Jul 30, 2007 at 03:15:54PM +0200, Karolina Rybak wrote: > Anybody could suggest the best PCMCIA for Linux? > > Any opinions which one to choose and why it is better than others? > > I would be greatful for your help. Answering this is difficult without knowing more about

Re: Compact Flash Card in PCMCIA Adapter

2007-08-07 Thread Peter Stuge
On Tue, Aug 07, 2007 at 03:46:04PM +0200, Felix Brack wrote: > I'm using a PCMCIA adapter to which I can plug CF cards. I believe > the adapter itself consist of nothing more then 'some wires'. > > Everything was working quite fine with some 2.6 kernel (I do not > remember the exact version) and c

Re: Re[2]: Compact Flash Card in PCMCIA Adapter

2007-08-08 Thread Peter Stuge
On Wed, Aug 08, 2007 at 04:55:40PM +0200, Felix Brack wrote: > After some more testing I found that the problem must be related > to a specific CF card from Transcend. Aha. > However when I insert the Transcend CF card it is not detected. I > get the following information then: > > from 'pccard

Re: Very slow disk access via PCMCIA adapter

2007-08-11 Thread Peter Stuge
On Sat, Aug 11, 2007 at 08:35:56AM +0100, Simon Atkinson wrote: > The stages described above take similar lengths of time when I > issue the equivalent commands via a terminal window at the command > line. This is the only metric that should be used to diagnose the problem. > Any ideas what the

Re: 2.6.22-rc: regression: no irda0 interface (2.6.21 was OK), smsc does not find chip

2007-08-13 Thread Peter Stuge
On Mon, Aug 13, 2007 at 10:09:46AM -0600, Bjorn Helgaas wrote: > > [ 2207.986873] smsc_ircc_present: can't get sir_base of 0x2e8 > > As of 2.6.23-rc2, we should have: > - probes for 8250 legacy devices (as in 2.6.21 and previous) > - smsc PNP probes turned off by default (2.6.21 and previous h

Re: speedstream wlan card

2007-09-17 Thread Peter Stuge
Hi Gerald, On Mon, Sep 17, 2007 at 02:57:31PM +0200, Gerald Willmann wrote: > prod_id(1): "Siemens" (0xd936153f) > prod_id(2): "SpeedStream Wireless PCMCIA" (0xbe6a5a90) > > but no driver gets loaded and if I modprobe orinoco_cs by hand it > doesn't seem to find the card. Could someone pls point

Re: speedstream wlan card

2007-09-17 Thread Peter Stuge
Hi Gerald, On Mon, Sep 17, 2007 at 09:04:11PM +0200, Gerald Willmann wrote: > Hi Peter: thanks for your reply. I have to admit that I'm just a > simple user. It is polite to keep the discussion on the mailing list. I write to the list partly in order to help people who ask for help, but more im

Re: old bug report PCMCIA and diskless

2007-10-10 Thread Peter Stuge
On Fri, Oct 05, 2007 at 02:34:59PM -0700, Stephen Hemminger wrote: > See: > http://bugzilla.kernel.org/show_bug.cgi?id=3258 > > Is it still a bug? Isn't this the same issue as with all other pluggable buses? Ie. that they are handled by separate kernel threads, and when the kernel wants to mount

Re: Problem with pcmcia serial GPRS/EDGE modem

2007-10-11 Thread Peter Stuge
On Wed, Oct 10, 2007 at 10:23:58PM +0200, Grzeniek wrote: > found is if i boot system with kernel parameter acpi=off everything > work great. I have got transfer about 20KB/s. When I boot with acpi > enabled I have transfers about 900B/s and a lot of ppp0 rx errors > (about 25%). Please provide dm

Re: Sandisk 6-in-1 card reader

2007-11-11 Thread Peter Stuge
On Sun, Nov 11, 2007 at 05:07:53PM +, Michael Robb wrote: > Any suggestions on what I can do to get the card to work? .. > hde: MEMORYSTICK, CFA DISK drive > ide2 at 0x100-0x107,0x10e on irq 3 This indicates that you're using the old ide-cs driver (under CONFIG_IDE in the kernel config) and I

Re: [BUG] New Kernel Bugs

2007-11-13 Thread Peter Stuge
Please stop cross-posting this thread at least to linux-pcmcia until your post is relevant to PCMCIA. Sorry for being a bore. (Not that I don't love reading LKML discussions, but I found that it took too much time, and now they're over at linux-pcmcia too! :) Thank you in advance. //Peter

Re: CompactFlash performance - pio5 and pio6 on TI1510 (no DMA)

2007-11-20 Thread Peter Stuge
On Tue, Nov 20, 2007 at 12:06:54AM -0500, Iain Barker wrote: > System is running Linux 2.6.23, using yenta ide-cs One thing you could try is the pata_pcmcia driver instead. //Peter ___ Linux PCMCIA reimplementation list http://lists.infradead.org/mail

Re: [PATCH] pcmcia: include bad CIS filename in error message

2007-11-28 Thread Peter Stuge
On Wed, Nov 28, 2007 at 03:17:13PM -0800, Randy Dunlap wrote: > if (strlen(filename) > 14) { > - printk(KERN_WARNING "pcmcia: CIS filename is too long\n"); > + printk(KERN_WARNING "pcmcia: CIS filename is too long [%s]\n", > + filename); >

Re: Question regarding IRQF_SHARED and pcmcia driver

2008-01-10 Thread Peter Stuge
Hi, On Wed, Jan 09, 2008 at 09:02:57PM -0800, Kristoffer Ericson wrote: > Still debugging hd64461 pcmcia driver. My best guess is that it for > some reason cannot register the pccard irq and therefore bugs out > when socket IRQ returns IRQ_NONE. Is this an "ISA" device? pccard=pcmcia or pccard=ca

Re: [PATCH] [Coding Style]: fs/ext{3,4}/ext{3,4}_jbd{,2}.c

2008-01-10 Thread Peter Stuge
On Thu, Jan 10, 2008 at 10:03:58PM +0100, Roel Kluin wrote: > -#define DEBUG(x,args...) printk(__FUNCTION__ ": " x,##args) > +#define DEBUG(x, args...)printk("%s: ", __func__, x, ##args) Can this really be expected to work when x contains conversions? How about: #define DEBUG(x, args...)

Re: [PATCH] [Coding Style]: fs/ext{3,4}/ext{3,4}_jbd{,2}.c

2008-01-10 Thread Peter Stuge
On Fri, Jan 11, 2008 at 12:42:40PM +0900, Paul Mundt wrote: > How about throwing out hand-rolled debug printk wrappers for the > brain-damage they are and using the ones the kernel provides > instead? Sounds great! //Peter ___ Linux PCMCIA reimplement

Re: Question regarding IRQF_SHARED and pcmcia driver

2008-01-10 Thread Peter Stuge
On Fri, Jan 11, 2008 at 01:20:58AM -0800, Kristoffer Ericson wrote: > > > 2) Best way to reserve pccard irq interrupt? And does the > > > handler get replaced by the proper driver handler? > > > > Again, do you mean cardbus or pcmcia? And what exactly is the > > hd64461 - card host or card? > > p

Re: Question regarding IRQF_SHARED and pcmcia driver

2008-01-11 Thread Peter Stuge
On Fri, Jan 11, 2008 at 03:25:23PM -0800, Kristoffer Ericson wrote: > > > pcmcia (16bit). hd64461 is a companion chip that provides > > > features like pcmcia, lcd,... > > > > Ok. Is it actually a PCI device? If not, the driver for it should > > probably be a platform driver, like ISA hardware dri

Re: Yenta TI on MIPS

2008-01-18 Thread Peter Stuge
On Fri, Jan 18, 2008 at 12:28:23PM -0700, RB wrote: > Specifically, when yenta_socket tries to disable interrupts by > writing 0x0 to CB_SOCKET_MASK or check if they're enabled by > reading from I365_INTCTL (ti_init in ti113x.h), the driver loading > fails with a data bus error and there's a result

Re: Yenta TI on MIPS

2008-01-18 Thread Peter Stuge
On Fri, Jan 18, 2008 at 07:31:03PM -0700, RB wrote: > > What does the oops look like? > Here's one from the crash induced by reading I365_INTCTL; Symbol names would help. But I think you should find MIPS experts who can help you sort out the low level problem. Try linux-mips or simply lkml for a g

Re: pcnet_cs: use axnet_cs instead

2008-01-25 Thread Peter Stuge
Hi Diego, On Fri, Jan 25, 2008 at 07:01:46PM +0100, Diego Rondini wrote: > I have a PCMCIA net card with no brand. During boot up kernel says: > > pcnet_cs: this is an AX88190 card! > pcnet_cs: use axnet_cs instead. > pcnet_cs: unable to read hardware net address for io base 0x300 .. > I tried

Re: Unable to access PCMCIA with O2 Micro OZ711MP1/MS1

2008-02-04 Thread Peter Stuge
On Mon, Feb 04, 2008 at 03:01:44PM +0100, Mader, Alexander (N-MSR) wrote: > I hope I am contacting the appropriate list for this. Please, let > me know if I should search somewhere else. This is probably the right place, but I'm afraid you probably will not get much help since there is not a lot o

Re: Orinoco IRQ problem?

2008-02-09 Thread Peter Stuge
On Sat, Feb 09, 2008 at 08:51:11AM +0900, Komuro wrote: > Please add > exclude irq 3 > to /etc/pcmcia/config.opts. Sorry, this will not work with 2.6 kernels no longer using pcmcia-cs. I don't know how to exclude interrupts from PCMCIA allocation in 2.6. //Peter __

Re: PCMCIA wireless CDMA card

2008-02-18 Thread Peter Stuge
On Mon, Feb 18, 2008 at 09:00:34PM +, Russell King wrote: > However, I'm not sure if its worth submitting into the kernel tree > or not - are these cards current technology? Better working support for old technology than broken. //Peter ___ Linux

Re: [2.6 patch] the long overdue pcmcia_ioctl.c removal

2008-02-27 Thread Peter Stuge
(Really cross-post like this?) On Wed, Feb 27, 2008 at 08:44:07PM +, Russell King wrote: > TBH I've given up trying to fight this continue "lets remove these > IOCTLs which no one uses" crap. Obviously, _I_ use them. I suppose critical mass or other powers that be have decided they aren't go

Re: Segmentation fault when running binaries off a CF card on arcom pxa255 SBC

2008-04-25 Thread Peter Stuge
On Thu, Apr 24, 2008 at 06:10:21PM -0700, Ajay Pal S Grewal wrote: > In general it has been observed that any binary residing on > /dev/hda1 partition (mounted on /usr) when executed for the first > time, second or even third time gives segmentation fault. However, > it is able to run fourth time a

Re: problem z karta flash pcmcia

2008-06-06 Thread Peter Stuge
On Wed, Jun 04, 2008 at 04:40:20PM +0200, [EMAIL PROTECTED] wrote: > Witam, Sorry, do not understand polish. Please repost in english. //Peter ___ Linux PCMCIA reimplementation list http://lists.infradead.org/mailman/listinfo/linux-pcmcia

Re: PCMCIA Client Drivers for accessing CF Storage Card

2008-06-19 Thread Peter Stuge
On Thu, Jun 19, 2008 at 02:44:35PM -0400, kiran vedere wrote: > 2. The TrueDMA mode also supports Multiword DMA and Ultra DMA modes of > data transfer. How does the pata-pcmcia Client Driver support these > modes? I believe it doesn't, I think pata_pcmcia only does PIO. //Peter

Re: [PATCH 10/23] pcmcia: switch cm4000_cs.c to unlocked_ioctl

2008-07-14 Thread Peter Stuge
On Mon, Jul 14, 2008 at 10:14:12AM +0200, Dominik Brodowski wrote: > if (test_bit(IS_CMM_ABSENT, &dev->flags)) { > DEBUGP(4, dev, "CMM_ABSENT flag set\n"); > - return -ENODEV; > + goto out; > } > + rc = EINVAL; Shouldn't this be rc = -EINVAL; ?

Re: [PATCH 39/39] pcmcia: don't add extra DEBUG cflag bugfix

2008-08-21 Thread Peter Stuge
On Thu, Aug 21, 2008 at 11:55:49PM +0200, Dominik Brodowski wrote: > > There is one warning left in the compilations, namely > > > > CC [M] drivers/pcmcia/cardbus.o > > include/asm/io_32.h: In function ???memcpy_fromio???: > > include/asm/io_32.h:151: warning: passing argument 2 of ???__memcpy?

Re: Dell Inspiron 5150 PCMCIA troubles

2008-09-01 Thread Peter Stuge
Alex Buell wrote: > I'd like to report a problem with my Dell Inspirion 5150. Inserting a > PCMCIA cardbus card causes a freeze, everything just locks up solidly. Unfortunately this problem description does not have very much helpful information with regard to finding the problem. :\ Please try s

Re: pcmcia compact flash recognized, but not mounted

2009-01-05 Thread Peter Stuge
striper wrote: > Jan 5 14:57:59 d600 kernel: pccard: PCMCIA card inserted into slot 0 > Jan 5 14:57:59 d600 kernel: pcmcia: registering new device pcmcia0.0 OK so far, but.. > It actually isn't important to me that it automount ... but I > haven't figured out how to mount it by hand. ..you

Re: OZ6933 and atheros NIC

2009-03-16 Thread Peter Stuge
Komuro wrote: > Currently, the pcmcia-maintainer Dominik does not respond at all. It seems he does pcmcia work in bursts. Every 3-4 months or so there is usually a bunch of activity. > Could you post your patch to linux-kernel mailing list > if you want? Unless you can afford to wait for Domini

Re: Possible bug in ide_cs module

2009-03-24 Thread Peter Stuge
Dave Flogeras wrote: > Let me know if you need any more info/testing I would suggest using pcmcia_pata instead. I don't think it has the same issues. (And ide_cs doesn't do DMA either, right?) //Peter ___ Linux PCMCIA reimplementation list http://list

Re: pata_pcmcia client driver

2009-03-26 Thread Peter Stuge
kiran vedere wrote: > Interface to read/write CF Storage cards. I implemented the CF Host > Controller and I am using the existing pata_pcmcia client driver to > read/write to a Compact Flash Storage Card. Nice. > However when I insert the Card I cannot see any ata block device > which I can use

Re: pcmcia disk drive not detected

2009-04-11 Thread Peter Stuge
Hi John, John McGrath wrote: > IT just does not seem to get picked up by pata_pcmcia. > > prod_id(1): "CNF " (0x46d7db81) > prod_id(2): "CD-ROM" (0x66536591) > prod_id(3): "I2" (0xe96ca5cc) Try adding a PCMCIA_DEVICE_PROD_ID123 line with these strings and numbers to the end of pata_pcmcia.c

Re: Problem with exclusive interrupt in hostap_cs

2009-04-20 Thread Peter Stuge
Larry Finger wrote: > I would have no problem changing the driver interrupt registration > in the link->irq structure, but I was not quite sure how change > prism2_interrupt() to detect the shared case when the interrupt > status register is 0x. Another option would be for Jack to try the orin

Re: Pcmcia: 16 bit card does not work in 2.6.18+ kernel

2009-07-28 Thread Peter Stuge
pius.br...@t-systems.com wrote: >   0 = No PC Card functional interrupt detected (default). >   1 = PC Card functional interrupt detected. .. > So it seams the there is a problem with the IRQ. > Can anybody confirm this estimation? I disagree. > Any idea, how to set "Car

Re: Pcmcia: 16 bit card does not work in 2.6.18+ kernel

2009-07-29 Thread Peter Stuge
(Please don't cc me, I get mails from the list. Thanks! :) pius.br...@t-systems.com wrote: > Peter: What modules do you mean when you say "Something is wrong > with the setup"? I have no idea. Sorry I couldn't be more helpful. > We did some more based on Wolfram's hint: > > We compiled the ker

Re: yenta-socket IRQ problems

2009-08-04 Thread Peter Stuge
Hi Robert, Robert Kentish wrote: > I've spent the last couple of days attempting to get my Epia MII > board to boot from the onboard CF slot. I'm using coreboot v2 Lovely! :) > and have successfully created a working kernel that will load from > a CF card and detect both the socket and the card

Re: yenta_socket: PCMCIA-Cards are not recognised by kernel

2009-09-03 Thread Peter Stuge
Hi, Frans Pop wrote: > Summary: WLAN Card (Proxim Orinoco Gold 8470-WD) is not recognized > by either 2.6.24 or 2.6.30. After inserting it, 'lspci' does not > list the card, but 'lspci -H1' does. > Original message with lspci and dmesg output for .24 is at: > http://lkml.org/lkml/2009/9/2/199 It

Re: yenta_socket: PCMCIA-Cards are not recognised by kernel

2009-09-05 Thread Peter Stuge
Wolfram Sang wrote: > Well, the PCI config space (which lspci needs) should be visible > without an assigned IRQ. There is some issue (only? also?) with the bridge. //Peter pgpHRylnNEAIW.pgp Description: PGP signature ___ Linux PCMCIA reimplementatio

Re: PCMCIA bring up fails on ide_register()

2009-10-03 Thread Peter Stuge
Kevin Wu wrote: > I don't know. We just use Linux 2.6.14.2 as our code base to > develop our code. Sorry, wrong answer. It seems your development model is absolutely incompatible with the Linux community. I think you are on your own. If you for whatever reason insist on shipping age old Linux tha

Re: ioports 0x100-0x3af and iomem 0xd000-0xdffff, 0xa0000000-0xa0ffffff -- safe to use on x86 for pcmcia?

2009-11-24 Thread Peter Stuge
Dominik Brodowski wrote: > include port 0x100-0x3af > include memory 0xc-0xf > include memory 0xa000-0xa0ff .. > Do you think it would be safe to enable these areas by (kernel) > default on x86? c-f is option ROM and BIOS land. Maybe every BIOS out there i

Re: module loading ignores install script

2010-01-25 Thread Peter Stuge
Orm Finnendahl wrote: > I'm trying to convince my laptop to start a custom script on > inserting a pc express audio interface card. Is this the HDSPe ExpressCard? ExpressCard contains a PCI-Express and a USB connection. While cheap cards often only use the USB connection it seems the HDSPe uses

Re: [git pull] more PCMCIA updates for 2.6.34 (including ioctl deprecation)

2010-03-05 Thread Peter Stuge
Russell King wrote: > > Do any graphical environments even support the ancient user space > > pcmcica helper stuff ? > > I believe so - the platform I have is based around the Open Embedded > stuff, and there's a button on the desktop which communicates with the > kernel via the PCMCIA ioctls. On

Re: PCMCIA cards not detected

2010-03-10 Thread Peter Stuge
Dominik Brodowski wrote: > > e840-e84f : PCI Bus :03 > > e840-e840 : :03:00.0 > > ec00-efff : PCI CardBus :06 > > Whoa... there isn't _any_ iomem free and available to use below > 0x. Looks like there's some room from e850 to ebff. //Peter __

Re: pci_bus_for_each_resource, transparent bridges and rsrc_nonstatic.c

2010-03-27 Thread Peter Stuge
Dominik Brodowski wrote: > can we safely trust BIOS authors to get it right? As a long time member of the coreboot project I can assure you that the answer to that is "No!!" //Peter ___ Linux PCMCIA reimplementation list http://lists.infradead.org/mai

Re: [PATCH 1/1] pcmcia: do not initialize the present flag too late.

2010-07-05 Thread Peter Stuge
Dominik Brodowski wrote: > The "present" flag was initialized too late -- possibly, a card > was already registered at this time, so re-setting the flag to 0 > caused pcmcia_dev_present() to fail. Might this have caused irq 16: nobody cared when I insert a pcmcia card during resume? //Peter ___

Re: PATCH : linux-2.6.35.4 drivers pcmcia cs.c

2010-11-01 Thread Peter Stuge
Dominik Brodowski wrote: > indeed, on a IBM ThinkPad 770Z there seems to be some bug -- the CardBus > hardware doesn't tell the OS that it is CardBus capable. What hardware is this, and how would it tell the OS? Is it certain that the hardware *is* actually cardbus capable? > 2) What's the outp

Re: [PATCH] Finally eradicate CONFIG_HOTPLUG

2013-05-21 Thread Peter Stuge
Are you changing the code to have HOTPLUG always -on- or -off- ? From the commit message I had expected always -on-. Stephen Rothwell wrote: > --- a/include/asm-generic/vmlinux.lds.h > +++ b/include/asm-generic/vmlinux.lds.h > @@ -68,14 +68,6 @@ > * are handled as text/data or they can be disc

root on pcmcia (EPIA-MII rl5c476 slot 1 CF)

2006-09-17 Thread Peter Stuge
I want to boot my EPIA-MII with LinuxBIOS in ROM and kernel and root filesystem on a CF card in the CF slot while still being able to use the Cardbus slot as usual. For added fun it's a Ricoh RL5c476 controller. I've tried 2.6.17.6, 2.6.18rc6 and am currently at 2.6.18rc7. Several issues: 1. Bo

Re: Option error

2006-10-08 Thread Peter Stuge
On Sun, Oct 08, 2006 at 03:30:23PM +0200, Dariusz Dwornikowski wrote: > pcmcia: the driver needs updating to supported shared IRQ lines. > 0.0: ttyS2 at I/O 0x3e8 (irq = 11) is a 16550A The above is indeed the source of your problems. The root evil is that the PC architecture has way too few IRQ l

Re: Option error

2006-10-08 Thread Peter Stuge
On Sun, Oct 08, 2006 at 09:51:50PM +0200, Dariusz Dwornikowski wrote: > > Software has to deal with the problem (checking which of several > > IO devices actually yanked the IRQ line) but not all of the Linux > > PCMCIA card drivers in 2.6 do this yet. > > yes, i am using yenta driver. yenta is t

Re: udev for pcmcia/cardbus at startup?

2006-11-10 Thread Peter Stuge
On Fri, Nov 10, 2006 at 11:50:46AM -0800, Bill Brelsford wrote: > The cards (network and modem) come up ok, but no udev rules are > applied. > > I'm running Debian sid with a custom 2.6.18 kernel. > > Suggestions? Which udev version? With >2.6.14 and udev>=96 do /sbin/udevtrigger --attr-match=d

Re: PLEASE HELP! *** DANGER *** unable to remove socket power (***PART1***)

2006-11-17 Thread Peter Stuge
On Fri, Nov 17, 2006 at 11:48:09PM +, Russell King wrote: > Or to put it another way - if we enable the D3 state, do we have > more breakage than if we keep it disabled. > > Since you're the first to report this I suggest that it's far > _safer_ to keep the code as-is. > > However, I no longe

Re: How to investigate PCMCIA driver loading (freeze)

2006-11-29 Thread Peter Stuge
On Wed, Nov 29, 2006 at 11:01:03PM +0100, Fab G. wrote: > I know I have the hostap driver available (I can even modprobe it > at will) but it does not seem to be loaded when the card is plugged > in (and no Wifi interface is created). The module I think you want is named hostap_cs, not just hostap

Re: How to investigate PCMCIA driver loading (freeze)

2006-11-30 Thread Peter Stuge
On Thu, Nov 30, 2006 at 09:46:25AM +0100, Fab G. wrote: > Er..yes I meant hostap_cs, but when I load it manually through > modprobe it does not do anything (when orinoco[_cs] is blacklisted). Oh, ok. Then you could try removing the blacklisting and moving away the orinoco_cs driver, then hostap_

Re: Cardbus Failure "cs: warning: no high memory space available!"

2006-12-05 Thread Peter Stuge
On Tue, Dec 05, 2006 at 04:35:00PM -, Mark Fortescue wrote: > I am using a generic Linux-2.6.16.29 kernel Ouch, that's a bit old. > 1) What (if any) patches need to be applied to the kernel and where > can I get them. I would suggest a fresh 2.6.19 kernel from ftp..kernel.org. > 2) What (