Skip to contentSkip to conversation

PCMCIA modem not found... resume/suspend helps some times... magic is not found

DISCUSSION Yaroslav Halchenko 1 participant 2 messages Jun 24, 2006 – Jul 5, 2006

lore
Share & tools
lore
#0 lore raw

Dear Kernel People,

Before my long trip abroad I decided to make my pcmcia modem work under fresh 2.6.17-rc6-mm2.

It wasn't found at all... after some dancing around it started to to appear after pccardctl suspend, pccardctl resume calls. After reboot it stopped to do that... now max I could make it is to find it partially without binding to loaded serial_cs:

Quoted 1 line

sudo pccardctl status

Socket 0:
5.0V 16-bit PC Card
Subdevice 0 (function 0) [unbound]

Some information from magic successful initialization is available in my bug failed on Debian:
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=374742

and modem was found to be

    SUBSYSTEM=="pcmcia"
    SYSFS{modalias}=="pcmcia:m016Cc0001f02fn00pfn00paF5F025C2pb200E6E61pc26477DB8pdC5F4D6FD"
    SYSFS{prod_id4}=="V8.041"
    SYSFS{prod_id3}=="56K+Fax"
    SYSFS{prod_id2}=="Gold Card Global 56K+Fax"
    SYSFS{prod_id1}=="Psion Dacom"
    SYSFS{card_id}=="0x0001"
    SYSFS{manf_id}=="0x016c"
    SYSFS{func_id}=="0x02"
    SYSFS{pm_state}=="on"
    SYSFS{function}=="0x00"

information on current system where I can't make it work any more
http://www.onerussian.com/Linux/bugs/pcmcia.modem/

Here are the results of suspend/resume sequence:

*> sudo pccardctl eject
*> sudo pccardctl insert

Quoted 1 line

sudo pccardctl status

Socket 0:
5.0V 16-bit PC Card

Quoted 2 lines

sudo pccardctl suspend
sudo pccardctl status

Socket 0:
X.XV 16-bit PC Card [suspended]

Quoted 2 lines

sudo pccardctl resume
sudo pccardctl status

Socket 0:
5.0V 16-bit PC Card
Subdevice 0 (function 0) [unbound]

Please advise!

Signature · 5 lines
Yaroslav Halchenko
Research Assistant, Psychology Department, Rutgers-Newark
Office: (973) 353-5440x263 | FWD: 82823 | Fax: (973) 353-1171
        101 Warren Str, Smith Hall, Rm 4-105, Newark NJ 07102
Student  Ph.D. @ CS Dept. NJIT
#1 lore raw

Dear Kernel People,

Since nobody followed up I've decided to provide additional information which might help to pin point the problem.
I've loaded pcmcia_core with pc_debug=255

Troublesome lines for me are:

Jul  5 15:52:25 vaio kernel: pcmcia: registering new device pcmcia0.0
Jul  5 15:52:25 vaio kernel: cs: pcmcia_socket0: cs: overrun in pcmcia_get_next_tuple
Jul  5 15:52:26 vaio kernel: cs: pcmcia_socket0: cs: overrun in pcmcia_get_next_tuple

Full kern.log is available from
http://www.onerussian.com/Linux/bugs/pcmcia.modem/kern.log.debug

Please advise what else could I do to revive this modem to life

Thank you in advance

Quoted 53 lines · Yaroslav Halchenko

Dear Kernel People,

Before my long trip abroad I decided to make my pcmcia modem work under fresh 2.6.17-rc6-mm2.

It wasn't found at all... after some dancing around it started to to appear after pccardctl suspend, pccardctl resume calls. After reboot it stopped to do that... now max I could make it is to find it partially without binding to loaded serial_cs:

Quoted 1 line

sudo pccardctl status

Socket 0:
5.0V 16-bit PC Card
Subdevice 0 (function 0) [unbound]

Some information from magic successful initialization is available in my bug failed on Debian:
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=374742

and modem was found to be

    SUBSYSTEM=="pcmcia"
    SYSFS{modalias}=="pcmcia:m016Cc0001f02fn00pfn00paF5F025C2pb200E6E61pc26477DB8pdC5F4D6FD"
    SYSFS{prod_id4}=="V8.041"
    SYSFS{prod_id3}=="56K+Fax"
    SYSFS{prod_id2}=="Gold Card Global 56K+Fax"
    SYSFS{prod_id1}=="Psion Dacom"
    SYSFS{card_id}=="0x0001"
    SYSFS{manf_id}=="0x016c"
    SYSFS{func_id}=="0x02"
    SYSFS{pm_state}=="on"
    SYSFS{function}=="0x00"

information on current system where I can't make it work any more
http://www.onerussian.com/Linux/bugs/pcmcia.modem/

Here are the results of suspend/resume sequence:

*> sudo pccardctl eject
*> sudo pccardctl insert

Quoted 1 line

sudo pccardctl status

Socket 0:
5.0V 16-bit PC Card

Quoted 2 lines

sudo pccardctl suspend
sudo pccardctl status

Socket 0:
X.XV 16-bit PC Card [suspended]

Quoted 2 lines

sudo pccardctl resume
sudo pccardctl status

Socket 0:
5.0V 16-bit PC Card
Subdevice 0 (function 0) [unbound]

Please advise!

Signature · 5 lines
Yaroslav Halchenko
Research Assistant, Psychology Department, Rutgers-Newark
Office: (973) 353-5440x263 | FWD: 82823 | Fax: (973) 353-1171
        101 Warren Str, Smith Hall, Rm 4-105, Newark NJ 07102
Student  Ph.D. @ CS Dept. NJIT