FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Debian > Debian Laptop

 
 
LinkBack Thread Tools
 
Old 10-29-2008, 06:42 PM
"Pedro Bulach Gapski"
 
Default md300 usb wireless modem

I have bought a wireless modem to use with my eee 900, namely a sony ericson
MD300.

At first, it is recognized by debian kernel 2.6.26 as a storage device.
Following information gathered on the web, I created a rule file under
/etc/udev/rules.d/ with the following content:

ACTION!="add", GOTO="3G_End"
BUS=="usb", SYSFS{idProduct}=="d0cf", SYSFS{idVendor}=="0fce", NAME="%k",
SYMLINK="modem3G-%n", PROGRAM="/bin/sh -c 'echo 3 >
/sys/%p/device/bConfigurationValue'"
LABEL="3G_End"

The 'echo 3' command seems to make the black magic, and the card is
recognized as an ACM device, and now it is working fine as a modem.

However, the usb device has several interfaces and endpoints:

gapski@kalma:~$ cat
/sys/class/usb_device/usbdev2.1/device/2-1/2-1:3.*/interface
S_WHCM
Sony Ericsson MD300 Mobile Broadband WMC ETH Bulk Data
Sony Ericsson MD300 Mobile Broadband Modem
Sony Ericsson MD300 Mobile Broadband Modem bulk data
Sony Ericsson MD300 Mobile Broadband Modem
Sony Ericsson MD300 Mobile Broadband Modem bulk data
Sony Ericsson MD300 Mobile Broadband Device Management (WDM)
Sony Ericsson MD300 Mobile Broadband Device Management (WDM)
Sony Ericsson MD300 Mobile Broadband Device Management (WDM)
Sony Ericsson MD300 Mobile Broadband Device Management (WDM)
Sony Ericsson MD300 Mobile Broadband WMC ETH Comm interface

and those give a bunch of kernel errors:

Oct 29 11:30:00 kalma kernel: [ 8030.092104] usb 2-1: new full speed USB
device using uhci_hcd and address 3
Oct 29 11:30:00 kalma kernel: [ 8030.328028] usb 2-1: configuration #1
chosen from 3 choices
Oct 29 11:30:00 kalma kernel: [ 8030.337412] scsi1 : SCSI emulation for USB
Mass Storage devices
Oct 29 11:30:00 kalma kernel: [ 8030.338103] usb-storage: device found at 3
Oct 29 11:30:00 kalma kernel: [ 8030.338112] usb-storage: waiting for device
to settle before scanning
Oct 29 11:30:00 kalma kernel: [ 8030.340349] usb 2-1: New USB device found,
idVendor=0fce, idProduct=d0cf
Oct 29 11:30:00 kalma kernel: [ 8030.340361] usb 2-1: New USB device
strings: Mfr=1, Product=2, SerialNumber=3
Oct 29 11:30:00 kalma kernel: [ 8030.340368] usb 2-1: Product: Sony Ericsson
MD300
Oct 29 11:30:00 kalma kernel: [ 8030.340373] usb 2-1: Manufacturer: Sony
Ericsson
Oct 29 11:30:00 kalma kernel: [ 8030.340378] usb 2-1: SerialNumber:
3534460246464300
Oct 29 11:30:01 kalma kernel: [ 8030.499239] cdc_acm 2-1:3.1: ttyACM0: USB
ACM device
Oct 29 11:30:01 kalma kernel: [ 8030.505297] cdc_acm 2-1:3.3: ttyACM1: USB
ACM device
Oct 29 11:30:01 kalma kernel: [ 8030.519117] kobject_add_internal failed for
usbdev2.3_ep85 with -EEXIST, don't try to register things with the same name
in the same directory.
Oct 29 11:30:01 kalma kernel: [ 8030.519128] Pid: 13478, comm: sh Not
tainted 2.6.26-1-686 #1
Oct 29 11:30:01 kalma kernel: [ 8030.519150] [<c01ddab8>]
kobject_add_internal+0x109/0x13f
[...]
Oct 29 11:30:01 kalma kernel: [ 8030.519400] =======================
Oct 29 11:30:01 kalma kernel: [ 8030.524026] usb0: register 'cdc_ether' at
usb-0000:00:1d.0-1, CDC Ethernet Device, 02:80:37:06:03:00
Oct 29 11:30:01 kalma kernel: [ 8030.560491] usb0: unregister 'cdc_ether'
usb-0000:00:1d.0-1, CDC Ethernet Device
Oct 29 11:30:01 kalma kernel: [ 8030.659302] cdc_acm 2-1:3.1: ttyACM0: USB
ACM device
Oct 29 11:30:01 kalma kernel: [ 8030.662169] kobject_add_internal failed for
usbdev2.3_ep8a with -EEXIST, don't try to register things with the same name
in the same directory.
Oct 29 11:30:01 kalma kernel: [ 8030.662177] Pid: 13484, comm: sh Not
tainted 2.6.26-1-686 #1
Oct 29 11:30:01 kalma kernel: [ 8030.662198] [<c01ddab8>]
kobject_add_internal+0x109/0x13f
[...]
Oct 29 11:30:01 kalma kernel: [ 8030.662463] =======================
Oct 29 11:30:01 kalma kernel: [ 8030.662625] cdc_acm 2-1:3.3: ttyACM1: USB
ACM device
Oct 29 11:30:01 kalma kernel: [ 8030.665165] kobject_add_internal failed for
usbdev2.3_ep89 with -EEXIST, don't try to register things with the same name
in the same directory.
Oct 29 11:30:01 kalma kernel: [ 8030.665173] Pid: 13484, comm: sh Not
tainted 2.6.26-1-686 #1
Oct 29 11:30:01 kalma kernel: [ 8030.665189] [<c01ddab8>]
kobject_add_internal+0x109/0x13f

and so on.

Can someone point me to the right direction to understand these errors and
complete the configuration of this card? Although it is working, I would
like to correctly configure the other card endpoints (besides the modem) to
access its features, such as usb ethernet device and gsm information (signal
strength and connection type).

Look forward to hearing from you,

Pedro


--
To UNSUBSCRIBE, email to debian-laptop-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
 
Old 10-29-2008, 08:41 PM
Paolo
 
Default md300 usb wireless modem

On Wed, Oct 29, 2008 at 05:42:26PM -0200, Pedro Bulach Gapski wrote:
...
> Oct 29 11:30:01 kalma kernel: [ 8030.519117] kobject_add_internal failed for
> usbdev2.3_ep85 with -EEXIST, don't try to register things with the same name
> in the same directory.
> Oct 29 11:30:01 kalma kernel: [ 8030.519128] Pid: 13478, comm: sh Not
> tainted 2.6.26-1-686 #1
...

try newe{r,st} kernel; I've seen this issue already time ago, seems it was
addressed (possibly not fully) a while back:

http://marc.info/?l=linux-usb-devel&m=119251213017714&w=2

possibly not fully.

--
paolo


--
To UNSUBSCRIBE, email to debian-laptop-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
 

Thread Tools




All times are GMT. The time now is 12:47 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org