From mboxrd@z Thu Jan 1 00:00:00 1970 From: Marc Packenius Date: Wed, 02 Feb 2005 01:44:05 +0000 Subject: Re: Problem with udev & Vodafone UMTS card Message-Id: <87pszj3fdm.fsf@yerbouti.a42.de> List-Id: References: <87ekga9alm.fsf@yerbouti.a42.de> In-Reply-To: <87ekga9alm.fsf@yerbouti.a42.de> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: linux-hotplug@vger.kernel.org Hi Greg, Greg KH writes: > On Mon, Jan 24, 2005 at 05:17:53PM +0100, Kay Sievers wrote: >> On Mon, 2005-01-24 at 16:58 +0100, Marc Packenius wrote: >> > Hi Kay, >> > >> > Kay Sievers writes: >> > >> > > On Mon, 2005-01-24 at 15:15 +0100, Marc Packenius wrote: >> > >> after installing udev on a Debian/sid-powered Toshiba Satellite >> > >> notebook, the Vodafone UMTS card stopped working. >> > >> >> > >> This pc-card includes a USB controller and feeds three serial character >> > >> devices when installed properly. They're called "/dev/ttyUSB[0-2]". >> > >> >> > >> When using udev, those device nodes are not created properly, instead >> > >> the dev directory shows files with the filename "/dev/[0-2]", e.g. >> > >> "/dev/0". >> > >> > >> => /var/log/daemon.log <= >> > >> Jan 24 14:59:35 mudshark udev[3157]: creating device node '/dev/0' >> > >> Jan 24 14:59:35 mudshark udev[3169]: creating device node '/dev/1' >> > >> Jan 24 14:59:35 mudshark udev[3179]: creating device node '/dev/2' >> > >> > > How does: >> > > ls -l /sys/class/tty/ttyUSB* >> > >> > > look like, or any other suspicious entry in this directory? >> > >> > mudshark:~# ls -l /sys/class/tty/ttyUSB* >> > ls: /sys/class/tty/ttyUSB*: Datei oder Verzeichnis nicht gefunden >> > mudshark:~# ls -l /sys/class/tty/*NULL* >> >> That's a kernel bug and not a udev issue. You may try to work around >> this by placing: >> KERNEL="*", NAME="ttyUSB%n" >> >> in a /etc/udev/rules.d/ file. >> >> Greg, any idea what is causing this in the serial driver? > No I do not. What kernel version is this? What driver is this (the > usb-serial generic driver, or some other usb-serial driver?) That's with kernels that I built locally on a Debian/sid system. I can reproduce the behaviour with Debian-patched 2.6.8 to 2.6.10 and vanilla 2.6.10. The driver is usb-serial generic. Inserting the card and loading the driver using modprobe -v usbserial vendor=0xaf0 product=0x5000 looks like this (with udev not installed): Feb 1 23:49:03 mudshark kernel: PCI: Enabling device 0000:02:00.0 (0000 -> 0002) Feb 1 23:49:03 mudshark pci.agent[3255]: ohci-hcd: already loaded Feb 1 23:49:03 mudshark kernel: ACPI: PCI interrupt 0000:02:00.0[A] -> GSI 11 (level, low) -> IRQ 11 Feb 1 23:49:03 mudshark kernel: ohci_hcd 0000:02:00.0: OPTi Inc. 82C861 (#2) Feb 1 23:49:03 mudshark kernel: ohci_hcd 0000:02:00.0: irq 11, pci mem 0x1f800000 Feb 1 23:49:03 mudshark kernel: ohci_hcd 0000:02:00.0: new USB bus registered, assigned bus number 5 Feb 1 23:49:03 mudshark kernel: ohci_hcd 0000:02:00.0: WARNING: OPTi workarounds unavailable Feb 1 23:49:03 mudshark kernel: hub 5-0:1.0: USB hub found Feb 1 23:49:03 mudshark kernel: hub 5-0:1.0: 2 ports detected Feb 1 23:49:08 mudshark kernel: drivers/usb/serial/usb-serial.c: USB Serial support registered for Generic Feb 1 23:49:08 mudshark kernel: usbcore: registered new driver usbserial_generic Feb 1 23:49:08 mudshark kernel: usbcore: registered new driver usbserial Feb 1 23:49:08 mudshark kernel: drivers/usb/serial/usb-serial.c: USB Serial Driver core v2.0 Feb 1 23:49:14 mudshark kernel: usb 5-1: new full speed USB device using ohci_hcd and address 2 Feb 1 23:49:14 mudshark kernel: usbserial_generic 5-1:1.0: Generic converter detected Feb 1 23:49:14 mudshark kernel: usb 5-1: Generic converter now attached to ttyUSB0 Feb 1 23:49:14 mudshark kernel: usbserial_generic 5-1:1.1: Generic converter detected Feb 1 23:49:14 mudshark kernel: usb 5-1: Generic converter now attached to ttyUSB1 Feb 1 23:49:14 mudshark kernel: usbserial_generic 5-1:1.2: Generic converter detected Feb 1 23:49:14 mudshark kernel: usb 5-1: Generic converter now attached to ttyUSB2 If I can provide more information, please let me know. Regards, -- Marc "Backlog" Packenius ------------------------------------------------------- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag-&-drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl _______________________________________________ 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