From mboxrd@z Thu Jan 1 00:00:00 1970 From: Alf C Stockton Date: Mon, 25 Aug 2003 18:17:04 +0000 Subject: Re: Ericsson T39m USB driver Message-Id: List-Id: References: In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: linux-hotplug@vger.kernel.org On Mon, 25 Aug 2003, Greg KH wrote: > On Sun, Aug 24, 2003 at 01:06:43PM +0200, Alf C Stockton wrote: > > I have created what I think is a USB driver for my Ericsson T39m cell phone but > > when I plug it into its USB cable I get the following from hotplug:- > > no modules for USB product 731/528/1 > > > > This under Slackware 9.0 Kernel 2.4.20 > > I have insmod and lsmod does show it and so does dmesg, no what ? > > How do I relate this driver to hotplug please ? > > Do you have a MODULE_DEVICE_TABLE() for your driver? Have you installed > your module into the proper location (/lib/modules/KERNEL_VERSION/...) > and then run depmod? > > Does it show up in the /lib/modules/KERNEL_VERSION/modules.usbmap file? > I think that I have got a little further as I took your usb-skeleton.c and modified it and when I plug my phone and its usb cable in I get:- Aug 25 20:11:47 puppypad kernel: usb.c: kusbd: /sbin/hotplug add 2 Aug 25 20:11:47 puppypad kernel: hub.c: port 2, portstatus 100, change 0, 12 Mb/s Aug 25 20:11:47 puppypad kernel: hub.c: port 1, portstatus 103, change 0, 12 Mb/s Aug 25 20:11:47 puppypad kernel: hub.c: port 2, portstatus 100, change 0, 12 Mb/s Aug 25 20:11:50 puppypad /etc/hotplug/usb.agent: Setup ericsson-serial for USB product 731/528/1 Aug 25 20:11:50 puppypad kernel: usb.c: registered new driver ericsson Aug 25 20:11:50 puppypad kernel: ericsson-serial.c: USB Ericsson device now attached to USBT39m0 Aug 25 20:11:50 puppypad kernel: usb.c: ericsson driver claimed interface c32e2640 Aug 25 20:11:50 puppypad kernel: ericsson-serial.c: USB Ericsson Driver v0.1 Which looks like my driver is loading as all the references to Ericsson & T39m tie up with what I would like to call my driver but it is actually Greg's...:-) The application I now want to get to talk to this phone talks by default to the serial port so now I have to work out how to alter it to talk to USB. Any suggestions would be gratefully accepted. --- Regards, Alf Stockton www.stockton.co.za Fats Loves Madelyn ------------------------------------------------------- This SF.net email is sponsored by: VM Ware With VMware you can run multiple operating systems on a single machine. WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the same time. Free trial click here:http://www.vmware.com/wl/offer/358/0 _______________________________________________ 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