From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ian Pilcher Date: Wed, 27 Apr 2005 17:34:36 +0000 Subject: AirPrime 5220 1xEVDO PC Card Message-Id: List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: linux-hotplug@vger.kernel.org I have an AirPrime 5220 EVDO card from Verizon Wireless. The good news is that I basically works under Linux (http://www.ka9q.net/5220.html). The bad news is that it's necessary to manually load the usbserial module and create the device node. Here is the dmesg output when I insert the card: ohci_hcd: 2004 Feb 02 USB 1.1 'Open' Host Controller (OHCI) Driver (PCI) PCI: Enabling device 0000:03:00.0 (0000 -> 0002) ohci_hcd 0000:03:00.0: OHCI Host Controller PCI: Setting latency timer of device 0000:03:00.0 to 64 ohci_hcd 0000:03:00.0: irq 11, pci mem f8bf6000 ohci_hcd 0000:03:00.0: new USB bus registered, assigned bus number 4 hub 4-0:1.0: USB hub found hub 4-0:1.0: 2 ports detected ohci_hcd 0000:03:00.0: wakeup usb 4-1: new full speed USB device using address 2 usb 4-1: device not accepting address 2, error -110 usb 4-0:1.0: Cannot enable port 1. Maybe the USB cable is bad? usb 4-1: new full speed USB device using address 4 As you can see, the OHCI module gets loaded properly, but the usbserial module does not get loaded. Here is the lspci output for the card: 03:00.0 USB Controller: Agere Systems (former Lucent Microelectronics) USS-312 USB Controller (rev 10) (prog-if 10 [OHCI]) Subsystem: Agere Systems (former Lucent Microelectronics) USS-312 USB Controller Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- Status: Cap+ 66Mhz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- SERR- 1' udev[3624]: creating device node '/dev/0' Sure enough, my /dev directory now has: crw------- 1 root root 0, 0 Apr 27 12:17 /dev/0 crw------- 1 root root 0, 1 Apr 27 12:17 /dev/1 Note that, ignoring the messed up names, the major device numbers are incorrect. I've verified this by symlinking /dev/modem to 0 and attempting to make a connection; kppp reports that it can't open the modem. If I manually 'mknod /dev/ttyUSB0 c 188 0' and symlink /dev/modem to ttyUSB0, I can connect with kppp. So my questions (finally!): 1. How can I get the hotplug system to load the usbserial module, specifying the vendor and product, when this card is inserted. I've tried adding "usbserial 0x0003 0x0f3d 0x0112 ..." to /etc/hotplug/usb.usermap, but it did not appear to have any effect. 2. How can I get udev to create the proper device nodes when usbserial loads. TIA! -- ==================================== Ian Pilcher i.pilcher@comcast.net ==================================== ------------------------------------------------------- SF.Net email is sponsored by: Tell us your software development plans! Take this survey and enter to win a one-year sub to SourceForge.net Plus IDC's 2005 look-ahead and a copy of this survey Click here to start! http://www.idcswdc.com/cgi-bin/survey?id5hix _______________________________________________ Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net Linux-hotplug-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel