* Ericsson T39m USB driver
@ 2003-08-24 11:06 Alf C Stockton
2003-08-25 13:27 ` Greg KH
` (2 more replies)
0 siblings, 3 replies; 4+ messages in thread
From: Alf C Stockton @ 2003-08-24 11:06 UTC (permalink / raw)
To: linux-hotplug
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 ?
---
Regards,
Alf Stockton www.stockton.co.za
When the government bureau's remedies don't match your problem, you
modify the problem, not the remedy.
-------------------------------------------------------
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
^ permalink raw reply [flat|nested] 4+ messages in thread* Re: Ericsson T39m USB driver
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
2003-09-01 13:20 ` Alf C Stockton
2 siblings, 0 replies; 4+ messages in thread
From: Greg KH @ 2003-08-25 13:27 UTC (permalink / raw)
To: linux-hotplug
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?
thanks,
greg k-h
-------------------------------------------------------
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
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Ericsson T39m USB driver
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
2003-09-01 13:20 ` Alf C Stockton
2 siblings, 0 replies; 4+ messages in thread
From: Alf C Stockton @ 2003-08-25 18:17 UTC (permalink / raw)
To: linux-hotplug
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
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Ericsson T39m USB driver
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
@ 2003-09-01 13:20 ` Alf C Stockton
2 siblings, 0 replies; 4+ messages in thread
From: Alf C Stockton @ 2003-09-01 13:20 UTC (permalink / raw)
To: linux-hotplug
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?
>
Yes it does and it shows up in /lib/modules/2.4.20/modules.usbmap as
ericsson-serial 0x0003 0x0731 0x0528 0x0000 0x0000
0x00 0x00 0x00 0x00
0x00 0x00 0x00000000
---
Regards,
Alf Stockton www.stockton.co.za
You should emulate your heros, but don't carry it too far. Especially
if they are dead.
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
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
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2003-09-01 13:20 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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
2003-09-01 13:20 ` Alf C Stockton
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).