Udev did not react to novatel merlin u530

Bug #680011 reported by EricDHH
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
udev (Ubuntu)
New
Undecided
Unassigned

Bug Description

Binary package hint: udev

Description: Ubuntu 10.10
Release: 10.10
Architecture: i386 netbook
Version: 162-2.1

In earlier releases of ubuntu the u530 card was detected in serial and got /dev/ttyUSB0 and /dev/ttyUSB1 from udev to work properly with modem-manager. Now the creation of the usb nodes are missing and the modem is not recognized by network manager.

eric@areion:~$ pccardctl ident
Socket 0:
  product info: "Novatel Wireless", "Merlin UMTS Modem", "NRM6831", ""
  manfid: 0x00a4, 0x1aaf
  function: 2 (serial)

When inserted
[ 2133.001260] pcmcia_socket pcmcia_socket0: pccard: card ejected from slot 0
[ 2144.008116] pcmcia_socket pcmcia_socket0: pccard: PCMCIA card inserted into slot 0
[ 2144.008136] pcmcia_socket pcmcia_socket0: cs: memory probe 0x60000000-0x60ffffff: clean.
[ 2144.029287] pcmcia 0.0: pcmcia: registering new device pcmcia0.0 (IRQ: 3)
[ 2144.030101] pcmcia 0.1: pcmcia: registering new device pcmcia0.1 (IRQ: 3)
[ 2144.092424] 0.0: ttyS0 at I/O 0x3f8 (irq = 3) is a 16550A

eric@areion:~$ ls /dev/ttyUSB*
ls: Zugriff auf /dev/ttyUSB* nicht möglich: No such file or directory

The usbserial module was not loaded

eric@areion:~$ lsmod | grep serial
serial_cs 15891 1
pcmcia 35973 1 serial_cs

Tryin by hand did not help: sudo modprobe usbserial vendor=0x00a4 product=0x1aaf

Nov 22 13:26:34 areion kernel: [ 2533.626864] usbcore: registered new interface driver usbserial
Nov 22 13:26:34 areion kernel: [ 2533.626892] USB Serial support registered for generic
Nov 22 13:26:34 areion kernel: [ 2533.716298] usbcore: registered new interface driver usbserial_generic
Nov 22 13:26:34 areion kernel: [ 2533.716308] usbserial: USB Serial Driver core

eric@areion:~$ ls /dev/ttyUSB*
ls: Zugriff auf /dev/ttyUSB* nicht möglich: No such file or directory

The card is there but uddev create none usb devicenodes for it,

eric@areion:~$ pccardctl status
Socket 0:
  5.0V 16-bit PC Card
  Subdevice 0 (function 0) bound to driver "serial_cs"
  Subdevice 1 (function 1) [unbound]

As in many postings these cards works out of the box from hardy 6.06, till now....

ProblemType: Bug
DistroRelease: Ubuntu 10.10
Package: udev 162-2.1
ProcVersionSignature: Ubuntu 2.6.35-22.35-genusername 2.6.35.4
Uname: Linux 2.6.35-22-generic i686
Architecture: i386
CustomUdevRuleFiles: 80-tpb-nvram.rules 60-thinkfinger.rules
Date: Mon Nov 22 13:15:11 2010
EcryptfsInUse: Yes
MachineType: IBM 2526Y8P
PccardctlIdent:
 Socket 0:
   product info: "Novatel Wireless", "Merlin UMTS Modem", "NRM6831", ""
   manfid: 0x00a4, 0x1aaf
   function: 2 (serial)
PccardctlStatus:
 Socket 0:
   5.0V 16-bit PC Card
   Subdevice 0 (function 0) bound to driver "serial_cs"
   Subdevice 1 (function 1) [unbound]
ProcCmdLine: BOOT_IMAGE=/boot/vmlinuz-2.6.35-22-genusername root=UUID=e1eee384-a83d-4a5f-9bd7-78dabcf5f18e ro quiet splash scheduler=noop
ProcEnviron:
 LANG=de_DE.utf8
 SHELL=/bin/bash
SourcePackage: udev
dmi.bios.date: 12/14/2006
dmi.bios.vendor: IBM
dmi.bios.version: 74ET64WW (2.09 )
dmi.board.name: 2526Y8P
dmi.board.vendor: IBM
dmi.board.version: Not Available
dmi.chassis.asset.tag: TRP 05055
dmi.chassis.type: 10
dmi.chassis.vendor: IBM
dmi.chassis.version: Not Available
dmi.modalias: dmi:bvnIBM:bvr74ET64WW(2.09):bd12/14/2006:svnIBM:pn2526Y8P:pvrThinkPadX41:rvnIBM:rn2526Y8P:rvrNotAvailable:cvnIBM:ct10:cvrNotAvailable:
dmi.product.name: 2526Y8P
dmi.product.version: ThinkPad X41
dmi.sys.vendor: IBM

Revision history for this message
EricDHH (ericdhh) wrote :
Revision history for this message
EricDHH (ericdhh) wrote :

eric@areion:~$ udevadm monitor
monitor will print the received events for:
UDEV - the event which udev sends out after rule processing
KERNEL - the kernel uevent

KERNEL[1290429203.277050] add /devices/pci0000:00/0000:00:1e.0/0000:04:00.0/0.0 (pcmcia)
KERNEL[1290429203.279627] add /devices/pci0000:00/0000:00:1e.0/0000:04:00.0/0.1 (pcmcia)
UDEV [1290429203.352623] add /devices/pci0000:00/0000:00:1e.0/0000:04:00.0/0.0 (pcmcia)
UDEV [1290429203.360292] add /devices/pci0000:00/0000:00:1e.0/0000:04:00.0/0.1 (pcmcia)
KERNEL[1290429203.361804] remove /devices/platform/serial8250/tty/ttyS0 (tty)
UDEV [1290429203.363562] remove /devices/platform/serial8250/tty/ttyS0 (tty)
KERNEL[1290429203.364044] add /devices/pci0000:00/0000:00:1e.0/0000:04:00.0/0.0/tty/ttyS0 (tty)
UDEV [1290429203.379286] add /devices/pci0000:00/0000:00:1e.0/0000:04:00.0/0.0/tty/ttyS0 (tty)

Here was the serial - usbserial linkage

Revision history for this message
EricDHH (ericdhh) wrote :
Download full text (3.3 KiB)

The same procedure on another laptop that was updated from 10.04 desktop to 10.10 desktop edition.
Architecture: i386
Version: 162-2.2

Something in 10.10 is missing or not included if a machine was installed from scratch with perfect ten. The merlin card asks for the pin and jumps inside gsm or umts on this machine. The nm cannot get online, but this is another problem that match not the basic problem above.

Nov 22 20:28:40 calliope kernel: [ 144.028076] pcmcia_socket pcmcia_socket1: pccard: PCMCIA card inserted into slot 1
Nov 22 20:28:40 calliope kernel: [ 144.028095] pcmcia_socket pcmcia_socket1: cs: memory probe 0xcc200000-0xcf9fffff: excluding 0xcde00000-0xce17ffff 0xcef80000-0xcf2fffff
Nov 22 20:28:40 calliope kernel: [ 144.044763] pcmcia 1.0: pcmcia: registering new device pcmcia1.0 (IRQ: 4)
Nov 22 20:28:40 calliope kernel: [ 144.045649] pcmcia 1.1: pcmcia: registering new device pcmcia1.1 (IRQ: 4)
Nov 22 20:28:41 calliope kernel: [ 144.123507] 1.0: ttyS2 at I/O 0x3e8 (irq = 4) is a 16550A
Nov 22 20:28:41 calliope modem-manager: (ttyS2) opening serial device...
Nov 22 20:28:41 calliope modem-manager: (ttyS2): probe requested by plugin 'Generic'
Nov 22 20:28:45 calliope modem-manager: Got failure code 100: Unknown error
Nov 22 20:28:46 calliope modem-manager: Got failure code 100: Unknown error
Nov 22 20:28:47 calliope modem-manager: (ttyS2) closing serial device...
Nov 22 20:28:47 calliope modem-manager: (ttyS2) opening serial device...
Nov 22 20:28:47 calliope modem-manager: (Generic): GSM modem /sys/devices/pci0000:00/0000:00:1e.0/0000:02:00.1/1.0 claimed port ttyS2
Nov 22 20:28:47 calliope modem-manager: Added modem /sys/devices/pci0000:00/0000:00:1e.0/0000:02:00.1/1.0
Nov 22 20:28:47 calliope modem-manager: (tty/ttyS2): outstanding support task prevents export of /sys/devices/pci0000:00/0000:00:1e.0/0000:02:00.1/1.0
Nov 22 20:28:47 calliope modem-manager: Exported modem /sys/devices/pci0000:00/0000:00:1e.0/0000:02:00.1/1.0 as /org/freedesktop/ModemManager/Modems/0
Nov 22 20:28:47 calliope modem-manager: (/org/freedesktop/ModemManager/Modems/0): data port is ttyS2
Nov 22 20:28:47 calliope NetworkManager[904]: <warn> (ttyS2): failed to look up interface index
Nov 22 20:28:47 calliope NetworkManager[904]: <info> (ttyS2): new GSM device (driver: 'serial_cs' ifindex: -1)
Nov 22 20:28:47 calliope NetworkManager[904]: <info> (ttyS2): exported as /org/freedesktop/NetworkManager/Devices/2
Nov 22 20:28:47 calliope NetworkManager[904]: <info> (ttyS2): now managed
Nov 22 20:28:47 calliope NetworkManager[904]: <info> (ttyS2): device state change: 1 -> 2 (reason 2)
Nov 22 20:28:47 calliope modem-manager: Modem /org/freedesktop/ModemManager/Modems/0: Equipment identifier set (353018003312076)
Nov 22 20:28:47 calliope modem-manager: (ttyS2) closing serial device...
Nov 22 20:28:47 calliope NetworkManager[904]: <info> (ttyS2): deactivating device (reason: 2).
Nov 22 20:28:47 calliope NetworkManager[904]: <info> (ttyS2): device state change: 2 -> 3 (reason 0)
Nov 22 20:29:10 calliope modem-manager: (ttyS2) opening serial device...
Nov 22 20:29:10 calliope modem-manager: Modem /org/freedesktop/ModemManager/Modems/0: unlock no longer required
N...

Read more...

Revision history for this message
EricDHH (ericdhh) wrote :

bump

Please tell me, where ist the airprime module for linking ttyS0 to ttyUSB?

eric@areion:~$ sudo modinfo airprime
[sudo] password for eric:
ERROR: modinfo: could not find module airprime

Revision history for this message
EricDHH (ericdhh) wrote :

[ 1615.180233] pcmcia_socket pcmcia_socket0: cs: memory probe 0xa8200000-0xaf9fffff: excluding 0xa8980000-0xa90fffff 0xaaf00000-0xab67ffff 0xabe00000-0xac57ffff 0xacd00000-0xad47ffff 0xadc00000-0xae37ffff 0xaeb00000-0xaf27ffff
[ 1615.198909] pcmcia 0.0: pcmcia: registering new device pcmcia0.0 (IRQ: 3)
[ 1615.200562] pcmcia 0.1: pcmcia: registering new device pcmcia0.1 (IRQ: 3)
[ 1615.267380] 0.0: ttyS2 at I/O 0x3e8 (irq = 3) is a 16550A

Now the modem is linked to /dev/MerlinUMTS when plugged in, this work with the serial_cs module. I only switched on the internal analog modem of the x41 thinkpad, then the merlin card works right too. I feel this is a bug, a pcmcia device should not depend on internal devices of a machine.

Revision history for this message
EricDHH (ericdhh) wrote :

Conclusion for now: If the bios of the laptop has a serial port enabled, the described error does not occur, the card got it's own devicenode from udev. I dont know if we have a depend from pcmcia serial port to a real ttyS from the bios, if yes this bug can be closed.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.