Skip to contentSkip to conversation

Ericsson T39m USB driver

DISCUSSION Alf C Stockton 2 participants 4 messages Aug 24, 2003 – Sep 1, 2003

lore
Share & tools
lore
#0 lore raw

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
[email protected]
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel

#1 lore raw
Quoted 7 lines · Alf C Stockton

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
[email protected]
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel

#2 lore raw
In reply to Alf C Stockton
Quoted 9 lines · Greg KH
Quoted 7 lines · Alf C Stockton

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 ?

Quoted 6 lines

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
[email protected]
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel

#3 lore raw
In reply to Alf C Stockton
Quoted 9 lines · Greg KH
Quoted 7 lines · Alf C Stockton

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 ?

Quoted 6 lines

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
[email protected]
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel