Re: Problems with pcmcia on 5.1-RELEASE

2003-06-18 Thread Christian Laursen
M. Warner Losh [EMAIL PROTECTED] writes:

 In message: [EMAIL PROTECTED]
 Christian Laursen [EMAIL PROTECTED] writes:
 : M. Warner Losh [EMAIL PROTECTED] writes:
 : 
 :  In message: [EMAIL PROTECTED]
 :  Christian Laursen [EMAIL PROTECTED] writes:
 :  : pccard0: unknown card (manufacturer=0x, product=0x) at 
 function 0
 :  : pccard0:CIS info: FREECOM, PCCARD-IDE, REV836
 :  
 :  Looks like we need another entry in ata-card.c for this device.
 :  
 :  I've added this to the kernel list.  Please recvsup and make sure you
 :  have sys/dev/pccard/pccarddevs 1.53, pccarddevs.h 1.53 and
 :  sys/dev/ata/ata-card.c 1.14.
 : 
 : Thank you very much.
 : 
 : Unfortunately, like the patch Matthew N. Dodd posted, this gives me
 : an extra ata channel, but no devices are found on it.
 : 
 : I have tried various commands to atacontrol, but nothing seems to
 : help.
 : 
 : I'm not sure how to help debug this further.
 
 I have a stupid question: Are you sure that your cdrom is turned on?
 I have some that need an aux power connection before they work.

Yes, I am.

There is a switch that I can use to change between external power or
power from the machine to which it is connected.

When I insert the card, the light on the drive comes on, and if a cd
is inserted, it spins up.

-- 
Best regards
Christian Laursen
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Problems with pcmcia on 5.1-RELEASE

2003-06-17 Thread M. Warner Losh
In message: [EMAIL PROTECTED]
Christian Laursen [EMAIL PROTECTED] writes:
: pccard0: unknown card (manufacturer=0x, product=0x) at function 0
: pccard0:CIS info: FREECOM, PCCARD-IDE, REV836

Looks like we need another entry in ata-card.c for this device.

I've added this to the kernel list.  Please recvsup and make sure you
have sys/dev/pccard/pccarddevs 1.53, pccarddevs.h 1.53 and
sys/dev/ata/ata-card.c 1.14.

Warner
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Problems with pcmcia on 5.1-RELEASE

2003-06-17 Thread Christian Laursen
M. Warner Losh [EMAIL PROTECTED] writes:

 In message: [EMAIL PROTECTED]
 Christian Laursen [EMAIL PROTECTED] writes:
 : pccard0: unknown card (manufacturer=0x, product=0x) at function 0
 : pccard0:CIS info: FREECOM, PCCARD-IDE, REV836
 
 Looks like we need another entry in ata-card.c for this device.
 
 I've added this to the kernel list.  Please recvsup and make sure you
 have sys/dev/pccard/pccarddevs 1.53, pccarddevs.h 1.53 and
 sys/dev/ata/ata-card.c 1.14.

Thank you very much.

Unfortunately, like the patch Matthew N. Dodd posted, this gives me
an extra ata channel, but no devices are found on it.

I have tried various commands to atacontrol, but nothing seems to
help.

I'm not sure how to help debug this further.

-- 
Best regards
Christian Laursen
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Problems with pcmcia on 5.1-RELEASE

2003-06-17 Thread M. Warner Losh
In message: [EMAIL PROTECTED]
Christian Laursen [EMAIL PROTECTED] writes:
: M. Warner Losh [EMAIL PROTECTED] writes:
: 
:  In message: [EMAIL PROTECTED]
:  Christian Laursen [EMAIL PROTECTED] writes:
:  : pccard0: unknown card (manufacturer=0x, product=0x) at 
function 0
:  : pccard0:CIS info: FREECOM, PCCARD-IDE, REV836
:  
:  Looks like we need another entry in ata-card.c for this device.
:  
:  I've added this to the kernel list.  Please recvsup and make sure you
:  have sys/dev/pccard/pccarddevs 1.53, pccarddevs.h 1.53 and
:  sys/dev/ata/ata-card.c 1.14.
: 
: Thank you very much.
: 
: Unfortunately, like the patch Matthew N. Dodd posted, this gives me
: an extra ata channel, but no devices are found on it.
: 
: I have tried various commands to atacontrol, but nothing seems to
: help.
: 
: I'm not sure how to help debug this further.

I have a stupid question: Are you sure that your cdrom is turned on?
I have some that need an aux power connection before they work.

Warner
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to [EMAIL PROTECTED]


Problems with pcmcia on 5.1-RELEASE

2003-06-15 Thread Christian Laursen
I have just installed FreeBSD 5.1-RELEASE on my laptop, and everything
but my trusty pcmcia cdrom drive is working great.

The kernel finds the pcmcia slot:

cbb0: ToPIC100 PCI-CardBus Bridge at device 11.0 on pci0
cardbus0: CardBus bus on cbb0
pccard0: 16-bit PCCard bus on cbb0

However, when I insert the card, I get the following:

pccard0: unknown card (manufacturer=0x, product=0x) at function 0
pccard0:CIS info: FREECOM, PCCARD-IDE, REV836

From what I can read in /etc/defaults/pccard.conf, this device is
supposed to be supported (And it always worked fine under linux).

I have put pccard_enable=YES in my rc.conf, but pccardd doesn't start
because there is no /dev/card0.

Does anyone have a hint, that will help me get this working?

Thanks in advance.

-- 
Best regards
Christian Laursen
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Problems with pcmcia on 5.1-RELEASE

2003-06-15 Thread Matthew N. Dodd
 Does anyone have a hint, that will help me get this working?

[cut and paste]
--- ata-card.c  3 Jun 2003 01:30:55 -   1.13
+++ ata-card.c  15 Jun 2003 18:46:28 -
@@ -53,6 +53,8 @@
PCMCIA_CARD(OEM2, IDE, 0),
PCMCIA_CARD(PANASONIC, KXLC005, 0),
PCMCIA_CARD(TEAC, IDECARDII, 0),
+   { FREECOM PCCARD-IDE, PCCARD_VENDOR_ANY, PCCARD_PRODUCT_ANY, 0,
+   { FREECOM, PCCARD-IDE, NULL, NULL } },
{NULL}
 };




-- 
| Matthew N. Dodd  | '78 Datsun 280Z | '75 Volvo 164E | FreeBSD/NetBSD  |
| [EMAIL PROTECTED] |   2 x '84 Volvo 245DL| ix86,sparc,pmax |
| http://www.jurai.net/~winter |  For Great Justice!  | ISO8802.5 4ever |
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Problems with pcmcia on 5.1-RELEASE

2003-06-15 Thread Christian Laursen
Matthew N. Dodd [EMAIL PROTECTED] writes:

  Does anyone have a hint, that will help me get this working?
 
 [cut and paste]
 --- ata-card.c  3 Jun 2003 01:30:55 -   1.13
 +++ ata-card.c  15 Jun 2003 18:46:28 -
 @@ -53,6 +53,8 @@
 PCMCIA_CARD(OEM2, IDE, 0),
 PCMCIA_CARD(PANASONIC, KXLC005, 0),
 PCMCIA_CARD(TEAC, IDECARDII, 0),
 +   { FREECOM PCCARD-IDE, PCCARD_VENDOR_ANY, PCCARD_PRODUCT_ANY, 0,
 +   { FREECOM, PCCARD-IDE, NULL, NULL } },
 {NULL}
  };

Thanks, this gets me an extra ata-channel when I insert the card.

However, no devices are found on it.

ata2: FREECOM PCCARD-IDE at port 0x100-0x10f irq 11 function 0 config 1 on pccard0

vulcan# atacontrol info ata2
Master:  no device present
Slave:   no device present

I believe tha master should be the cdrom drive.

-- 
Best regards
Christian Laursen
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Problems with pcmcia on 5.1-RELEASE

2003-06-15 Thread Matthew N. Dodd
On Sun, 15 Jun 2003, Christian Laursen wrote:
 However, no devices are found on it.

 ata2: FREECOM PCCARD-IDE at port 0x100-0x10f irq 11 function 0 config 1 on pccard0

 vulcan# atacontrol info ata2
 Master:  no device present
 Slave:   no device present

 I believe tha master should be the cdrom drive.

'atacontrol attach 2' or 'atacontrol reinit 2'

-- 
| Matthew N. Dodd  | '78 Datsun 280Z | '75 Volvo 164E | FreeBSD/NetBSD  |
| [EMAIL PROTECTED] |   2 x '84 Volvo 245DL| ix86,sparc,pmax |
| http://www.jurai.net/~winter |  For Great Justice!  | ISO8802.5 4ever |
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Problems with pcmcia on 5.1-RELEASE

2003-06-15 Thread Christian Laursen
Matthew N. Dodd [EMAIL PROTECTED] writes:

 On Sun, 15 Jun 2003, Christian Laursen wrote:
  However, no devices are found on it.
 
  ata2: FREECOM PCCARD-IDE at port 0x100-0x10f irq 11 function 0 config 1 on 
  pccard0
 
  vulcan# atacontrol info ata2
  Master:  no device present
  Slave:   no device present
 
  I believe tha master should be the cdrom drive.
 
 'atacontrol attach 2' or 'atacontrol reinit 2'

I'm sorry, but that doesn't give anything.

vulcan# atacontrol attach 2
atacontrol: ioctl(ATAATTACH): File exists
vulcan# atacontrol reinit 2
Master:  no device present
Slave:   no device present
vulcan# atacontrol detach 2
vulcan# atacontrol attach 2
Master:  no device present
Slave:   no device present

-- 
Best regards
Christian Laursen
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to [EMAIL PROTECTED]