Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
PCMCIA serial modem works on laptop not in Xen?? updated
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
massctrl
Apprentice
Apprentice


Joined: 19 Mar 2004
Posts: 156

PostPosted: Thu Feb 22, 2007 1:22 am    Post subject: PCMCIA serial modem works on laptop not in Xen?? updated Reply with quote

Hi all,

I'm using an option pcmcia GSM card.
When inserting the card i get:

udevmonitor:

Code:

UEVENT[1172110315.041741] add@/devices/pci0000:00/0000:00:1e.0/0000:03:03.0/0.0
UDEV  [1172110315.069688] add@/devices/pci0000:00/0000:00:1e.0/0000:03:03.0/0.0
UEVENT[1172110315.125143] remove@/class/tty/ttyS1
UEVENT[1172110315.125284] add@/class/tty/ttyS1
UDEV  [1172110315.128001] remove@/class/tty/ttyS1
UDEV  [1172110315.129969] add@/class/tty/ttyS1



dmesg:

Code:

pccard: PCMCIA card inserted into slot 0
pcmcia: registering new device pcmcia0.0


/var/log/messages:

Code:

Feb 22 03:11:55 fubar pccard: PCMCIA card inserted into slot 0
Feb 22 03:11:55 fubar pcmcia: registering new device pcmcia0.0



The devices are there:
Code:

ls -la /dev/ttyS*
crwxrwxrwx 1 root uucp 4, 64 Feb 22 02:49 /dev/ttyS0
crw-rw---- 1 root uucp 4, 65 Feb 22 03:11 /dev/ttyS1
crwxrwxrwx 1 root uucp 4, 66 Feb 22 02:49 /dev/ttyS2
crwxrwxrwx 1 root uucp 4, 67 Feb 22 02:49 /dev/ttyS3


But when I connect with minicom to the ttyS1 port I can't reach the modem AT command set.
The serial parameters are correctly set. (speed parity stopbits,...)

Anyone an idea to make this thing work ?

Cheers,

[/code]
Back to top
View user's profile Send private message
massctrl
Apprentice
Apprentice


Joined: 19 Mar 2004
Posts: 156

PostPosted: Sun Feb 25, 2007 10:13 am    Post subject: Reply with quote

Some extra information:

I have a Vodafone Option globetrotter GSM card which works in my laptop, but not in a XEN dom0.
I'm trying to get this card to work in a xen dom0

MY LAPTOP:

[I--] [ ] sys-kernel/gentoo-sources-2.6.19-r5 (2.6.19-r5)
[I--] [ ] sys-fs/udev-087-r1 (0)
[I--] [ ] sys-apps/pcmciautils-014-r1 (0)
[I--] [ ] virtual/pcmcia-2.6.13 (0)

When I plugin this card into my laptop (not running xen) I get following
output:
Code:

dmesg:

pccard: PCMCIA card inserted into slot 0
cs: memory probe 0x40000000-0x42ffffff: excluding 0x40000000-0x42ffffff
cs: memory probe 0xfc000000-0xfdffffff: excluding 0xfc000000-0xfd1fffff
0xfde00000-0xfdffffff
pcmcia: registering new device pcmcia0.0

Code:

udevmonitor:

UEVENT[1172283848.964931]
add@/devices/pci0000:00/0000:00:1e.0/0000:03:03.0/0.0
UDEV  [1172283848.977588]
add@/devices/pci0000:00/0000:00:1e.0/0000:03:03.0/0.0
UEVENT[1172283849.064000] remove@/class/tty/ttyS1
UEVENT[1172283849.064029] add@/class/tty/ttyS1
UDEV  [1172283849.076213] remove@/class/tty/ttyS1
UDEV  [1172283849.089423] add@/class/tty/ttyS1

Code:

/var/log/messages:

Feb 25 01:02:08 gemini pccard: PCMCIA card inserted into slot 0
Feb 25 01:02:08 gemini pcmcia: registering new device pcmcia0.0
Feb 25 01:02:08 gemini pcmcia: request for exclusive IRQ could not be
fulfilled.
Feb 25 01:02:08 gemini pcmcia: the driver needs updating to supported
shared IRQ lines.
Feb 25 01:02:08 gemini 0.0: ttyS1 at I/O 0x2f8 (irq = 10) is a 16550A

Code:

#pccardctl ident
Socket 0:
  product info: "Vodafone", "GPRS Card", "001", "A"
  manfid: 0x0013, 0x0000
  function: 2 (serial)

#pccardctl status
Socket 0:
  3.3V 16-bit PC Card
  Subdevice 0 (function 0) bound to driver "serial_cs"

#setserial /dev/ttyS1
/dev/ttyS1, UART: 16550A, Port: 0x03f8, IRQ: 4


When I use minicom to connect to ttyS1 I get my AT command set.
Conclusion: the pcmcia card works on my laptop.





MY XENserver:

I have Gentoo installed on a Dell Poweredge 750 with A6 bios (latest).
And software installed:
[I--] [ ~] app-emulation/xen-3.0.2 (0)
[I--] [ ~] app-emulation/xen-tools-3.0.2-r4 (0)
[I--] [ ~] sys-kernel/xen-sources-2.6.16.28-r2 (2.6.16.28-r2)
[I--] [ ] sys-fs/udev-087-r1
[I--] [ ] sys-apps/pcmciautils-014-r1 (0)
[I--] [ ] virtual/pcmcia-2.6.13 (0)


When I plugin this card into my laptop (not running xen) I get following
output:
Code:

dmesg:

pccard: PCMCIA card inserted into slot 0
pcmcia: registering new device pcmcia0.0

Code:

udevmonitor:

UEVENT[1172369105.418614]
add@/devices/pci0000:00/0000:00:1e.0/0000:03:03.0/0.0
UDEV  [1172369105.431167]
add@/devices/pci0000:00/0000:00:1e.0/0000:03:03.0/0.0
UEVENT[1172369105.486635] remove@/class/tty/ttyS1
UEVENT[1172369105.486657] add@/class/tty/ttyS1
UDEV  [1172369105.499509] remove@/class/tty/ttyS1
UDEV  [1172369105.512187] add@/class/tty/ttyS1

Code:

/var/log/messages:

Feb 25 03:05:05 titan pccard: PCMCIA card inserted into slot 0
Feb 25 03:05:05 titan pcmcia: registering new device pcmcia0.0

Code:

#pccardctl ident
Socket 0:
  product info: "Vodafone", "GPRS Card", "001", "A"
  manfid: 0x0013, 0x0000
  function: 2 (serial)

#pccardctl status
Socket 0:
  3.3V 16-bit PC Card
  Subdevice 0 (function 0) bound to driver "serial_cs"

#setserial /dev/ttyS1
/dev/ttyS1, UART: unknown, Port: 0x02f8, IRQ: 16


my xen boot options are very basic:

title GNU/Linux Xen
root (hd0,1)
kernel /xen.gz dom0_mem=256M
module /vmlinuz0 root=/dev/sda5 xencons=tty

I tried changing xencons to none, tty, ....
I also tried to omit the xencons parameter, ...

How come that I can't seem to be able to connect to my ttyS1 port?
Why isn't the driver initiated like on my laptop although pccardctl status says the device is bound to serial_cs?


Thanks in advance all,
Back to top
View user's profile Send private message
nixnut
Bodhisattva
Bodhisattva


Joined: 09 Apr 2004
Posts: 10974
Location: the dutch mountains

PostPosted: Sun Feb 25, 2007 3:24 pm    Post subject: Reply with quote

Moved from Installing Gentoo to Kernel & Hardware.
Not about getting gentoo installed, so moved here.
_________________
Please add [solved] to the initial post's subject line if you feel your problem is resolved. Help answer the unanswered

talk is cheap. supply exceeds demand
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum