From: Alf C Stockton <alf@stockton.co.za>
To: linux-hotplug@vger.kernel.org
Subject: Re: Ericsson T39m USB driver
Date: Mon, 25 Aug 2003 18:17:04 +0000 [thread overview]
Message-ID: <marc-linux-hotplug-106185308529354@msgid-missing> (raw)
In-Reply-To: <marc-linux-hotplug-106172320316174@msgid-missing>
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
next prev parent reply other threads:[~2003-08-25 18:17 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-08-24 11:06 Ericsson T39m USB driver Alf C Stockton
2003-08-25 13:27 ` Greg KH
2003-08-25 18:17 ` Alf C Stockton [this message]
2003-09-01 13:20 ` Alf C Stockton
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=marc-linux-hotplug-106185308529354@msgid-missing \
--to=alf@stockton.co.za \
--cc=linux-hotplug@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).