Bug 19236

Summary: not-existing PCMCI cards in pccard.conf.sample
Product: Base System Reporter: vova <vova>
Component: confAssignee: MIHIRA Sanpei Yoshiro <sanpei>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: 5.0-CURRENT   
Hardware: Any   
OS: Any   

Description vova 2000-06-13 08:10:01 UTC
there are no section for
Xircom CompactCard GSM modem
and for
Shining PMIDE-ASC CDROM

Fix: 

diff  /etc/pccard.conf.sample /etc/pccard.conf

> # Xircom CompactCard GSM modem
> card "Xircom" "CompactCard GSM"
>       config  0x27 "sio2" ?
>       insert  logger -t pccard:$device -s Xircom CompactCard GSM inserted
>       remove  logger -t pccard:$device -s Xircom  CompactCard GSMremoved
> 
> 
672a681,685
> 
> card  "PMIDE-ASC"
>       config  auto "ata" ? 0x20000
>       insert  logger -t pccard:$device -s Shining PMIDE-ASC CDROM inserted
>       remove  logger -t pccard:$device -s Shining PMIDE-ASC CDROM removed
How-To-Repeat: insert such card.
Comment 1 vova 2000-06-13 08:15:09 UTC
On Tue, 13 Jun 2000 gnats-admin@FreeBSD.org wrote:

sorry missprint:

> card "Shining" "PMIDE-ASC"
>       config  auto "ata" ? 0x20000
>       insert  logger -t pccard:$device -s Shining PMIDE-ASC CDROM inserted
>       remove  logger -t pccard:$device -s Shining PMIDE-ASC CDROM removed

--
TSB Russian Express, Moscow
Vladimir B. Grebenschikov, vova@express.ru
Comment 2 MIHIRA Sanpei Yoshiro freebsd_committer freebsd_triage 2000-07-09 14:03:38 UTC
  Thanks for your PC-Card information.

  I added Shining PMIDE-ASC CDROM card config into
/etc/defaults/pccard.conf.

  By the way, could you use ``Xircom CompactCard GSM modem'' card
with ``generic serial'' in /etc/defaults/pccard.conf?  But current
/usr/sbin/pccardd does not know used io-port... This ``generic
serial'' is not perfect.

  If you could not, please send dumpcis of Xircom CompactCard GSM
modem card.

# pccardc dumpcis
---
MIHIRA Sanpei Yoshiro
Yokohama, Japan.
Comment 3 MIHIRA Sanpei Yoshiro freebsd_committer freebsd_triage 2000-07-09 14:03:38 UTC
  Thanks for your PC-Card information.

  I added Shining PMIDE-ASC CDROM card config into
/etc/defaults/pccard.conf.

  By the way, could you use ``Xircom CompactCard GSM modem'' card
with ``generic serial'' in /etc/defaults/pccard.conf?  But current
/usr/sbin/pccardd does not know used io-port... This ``generic
serial'' is not perfect.

  If you could not, please send dumpcis of Xircom CompactCard GSM
modem card.

# pccardc dumpcis
---
MIHIRA Sanpei Yoshiro
Yokohama, Japan.
Comment 4 Johan Karlsson freebsd_committer freebsd_triage 2000-08-24 12:48:49 UTC
State Changed
From-To: open->feedback

Where you able to use 'generic serial' with that 
``Xircom CompactCard GSM modem'' card? 



Comment 5 Johan Karlsson freebsd_committer freebsd_triage 2000-08-24 12:48:49 UTC
Responsible Changed
From-To: freebsd-bugs->sanpei

Sanpei asked for feedback.
Comment 6 k 2000-09-16 12:13:22 UTC
At Fri, 25 Aug 2000 01:55:40 +0400, "Vladimir B. Grebenschikov" wrote:
> johan@FreeBSD.org writes:
>  > Synopsis: not-existing PCMCI cards in pccard.conf.sample
>  > 
>  > State-Changed-From-To: open->feedback
>  > State-Changed-By: johan
>  > State-Changed-When: Thu Aug 24 04:48:49 PDT 2000
>  > State-Changed-Why: 
>  > Where you able to use 'generic serial' with that
>  > ``Xircom CompactCard GSM modem'' card?
> 
> Sorry, don't understand exectly what I need to check ? 
>  'generic serial' is a "sio" without unit number ?
> Like this:
> 
> card "Xircom" "CompactCard GSM"
>         config  0x27 "sio" ?
>         insert  logger -t pccard:$device -s Xircom CompactCard GSM inserted
>         remove  logger -t pccard:$device -s Xircom CompactCard GSMremoved
> 
> ?
> 
> It work for me too.

Hi
I am sorry I have not replyed earlier but I have been away
and unforunatly I do not know about these things :-(

I have sent this to freebsd-gnats-submit@FreeBSD.org and to 
MIHIRA Sanpei Yoshiro who asked the original question.
Hopefully MIHIRA can help you.

Thanks
Johan K
Comment 7 MIHIRA Sanpei Yoshiro freebsd_committer freebsd_triage 2000-09-22 00:05:10 UTC
>> Sorry, don't understand exectly what I need to check ? 
>>  'generic serial' is a "sio" without unit number ?
>> Like this:
>> 
>> card "Xircom" "CompactCard GSM"
>>         config  0x27 "sio" ?

  Now latest /usr/sbin/pccardd (under 4.1-RELEASE and later, also
5-current) has `generic serial' code.

  SEE /etc/defaults/pccard.conf

# GENERIC PCMCIA modem
generic serial
        config  auto "sio" ?
        reset   10000                   # for unstable cards
        logstr  "GENERIC PCMCIA modem"
----------
  If Xircom CompactCard GSM has function ID as `Serial port/modem'
in CIS, you can use this card without extra conf in /etc/pccard.conf
or /etc/defaults/pccard.conf.

  You can check function ID with /usr/sbin/pccardc like this.

# /usr/sbin/pccardc dumpcis

<< snip >>

Tuple #4, code = 0x21 (Functional ID), length = 2
    000:  02 00
        Serial port/modem <---------------------------

  Would you dump cis with pccardc?

- sanpei
Comment 8 MIHIRA Sanpei Yoshiro freebsd_committer freebsd_triage 2001-11-28 00:25:33 UTC
Hi.
Vladimir B. Grebenschikov

  I posted below mail last year about your FreeBSD Problem Report.
But I did not receive any e-mail from you, Vladimir.

>From: sanpei@FreeBSD.org
>To: k@numeri.campus.luth.se
>Cc: vova@express.ru, freebsd-gnats-submit@FreeBSD.org
>Subject: Re: conf/19236: not-existing PCMCI cards in pccard.conf.sample
>Date: Fri, 22 Sep 2000 08:05:10 +0900
>
> >> Sorry, don't understand exectly what I need to check ?
> >>  'generic serial' is a "sio" without unit number ?
> >> Like this:
> >>
> >> card "Xircom" "CompactCard GSM"
> >>         config  0x27 "sio" ?
>
>   Now latest /usr/sbin/pccardd (under 4.1-RELEASE and later, also
> 5-current) has `generic serial' code.
   <<<snip>>>

  If you do not reply me till next Monday, I will close this GNATS
Problem report.

Thank you.
---
MIHIRA, Sanpei Yoshiro
Yokohama, Japan.
Comment 9 MIHIRA Sanpei Yoshiro freebsd_committer freebsd_triage 2003-01-28 11:33:22 UTC
State Changed
From-To: feedback->closed

I did not receive any e-mail from originator, Vladimir.