Mailinglist Archive: opensuse (5100 mails)

< Previous Next >
usbnet - no usb0 created. Need a howto!
  • From: "Matt T." <Matt@xxxxxxxxx>
  • Date: Sun, 13 Jun 2004 11:56:29 +0700
  • Message-id: <200406131156.29773.Matt@xxxxxxxxx>
I'm trying to sync the Motorola smartphone A768 with my SuSE 9.1 notebook,
using multisync. (The A768 is Linux based, and a really nice smartphone. It
gets shipped with a printed GPL in the manual!!!)

However before I can even try multisync, there needs to be a usbnet
connection. After many many hours of googling I still do not get usbnet to
create the usb0 network interface. (And no usb0 means no usbnet and no syncml
access for multisync.)

So the question is: How do I get usbnet to give me a usb0 (etc...)

USB access to the phone works fine, the modem in the phone can get accessed
and queried correctly.

To get usbnet to work, I eventually disabled the cdc-acm driver used for the
usb-modem connection, with no visible difference though.

Below are more details. Oh yes, connecting to the phone and syncing works fine
on the same box (multi) bootet to windoze. So it is not a hardware issue, and
not a problem on the phone.

I would really appreciate some help to get this working! Just imagine if I
would have to boot to windose to sync a phone which is running linux ...

Thanks,
Matt

dmesg shows that the phone gets recognized, and that (after modifying
modules.usbmap) the usbnet driver gets loaded. However there is no usb0
created:
-------------------
# dmesg
[...]
usb 1-2: new full speed USB device using address 8
usb 1-2: Product: Motorola Phone
usb 1-2: Manufacturer: Motorola Inc.
drivers/usb/core/usb.c: registered new driver usbnet
-------------------

and without usb0 ifconfig must fail:

---------------------
# ifconfig usb0 192.168.0.200 netmask 255.255.255.0
SIOCSIFADDR: No such device
usb0: unknown interface: No such device
SIOCSIFNETMASK: No such device
---------------------

hwinfo shows all info about the connected phone:

---------------------------
# hwinfo --usb
[...]
05: USB 00.0: 10200 Modem
[Created at usb.118]
Unique ID: cLrx.rFwL9XH9sq1
Parent ID: k4bc.+499aYypZg6
SysFS ID: /devices/pci0000:00/0000:00:1d.0/usb1/1-2/1-2:1.0
SysFS BusID: 1-2:1.0
Hardware Class: modem
Model: "Motorola PCS Motorola Phone"
Hotplug: USB
Vendor: usb 0x22b8 "Motorola PCS"
Device: usb 0x3802 "Motorola Phone"
Revision: "0.01"
Device File: /dev/ttyACM0
Speed: 1.5 Mbps
Config Status: cfg=new, avail=yes, need=no, active=unknown
Attached to: #3 (Hub)
[...]
----------------------

and /var/log/messages shows the efforts of the system to find a driver.

---------------------------

# from /var/log/messages
[...]
Jun 13 17:39:48 dhcppc0 kernel: usb 1-2: new full speed USB device using
address 8
Jun 13 17:39:48 dhcppc0 kernel: usb 1-2: Product: Motorola Phone
Jun 13 17:39:48 dhcppc0 kernel: usb 1-2: Manufacturer: Motorola Inc.
Jun 13 17:39:48 dhcppc0 /sbin/hotplug[6309]: add usb
Jun 13 17:39:48 dhcppc0 /sbin/hotplug[6309]: LOGPID=6309 OLDPWD=/
DEVPATH=/devices/pci0000:00/0000:00:1d.0/usb1/1-2
PATH=/sbin:/usr/sbin:/bin:/usr/bin ACTION=add PWD=/etc/hotplug SHLVL=1 HOME=/
SEQNUM=256 _=/usr/bin/env
Jun 13 17:39:48 dhcppc0 /sbin/hotplug[6318]: add usb
Jun 13 17:39:48 dhcppc0 /sbin/hotplug[6318]: LOGPID=6318 OLDPWD=/
DEVPATH=/devices/pci0000:00/0000:00:1d.0/usb1/1-2/1-2:1.0
PATH=/sbin:/usr/sbin:/bin:/usr/bin ACTION=add PWD=/etc/hotplug SHLVL=1 HOME=/
DEVICE=/proc/bus/usb/001/008 PRODUCT=22b8/3802/1 TYPE=2/0/0 SEQNUM=257
_=/usr/bin/env
Jun 13 17:39:48 dhcppc0 /sbin/hotplug[6319]: add usb
Jun 13 17:39:48 dhcppc0 /sbin/hotplug[6319]: LOGPID=6319 OLDPWD=/
DEVPATH=/devices/pci0000:00/0000:00:1d.0/usb1/1-2/1-2:1.1
PATH=/sbin:/usr/sbin:/bin:/usr/bin ACTION=add PWD=/etc/hotplug SHLVL=1 HOME=/
DEVICE=/proc/bus/usb/001/008 PRODUCT=22b8/3802/1 TYPE=2/0/0 SEQNUM=258
_=/usr/bin/env
Jun 13 17:39:48 dhcppc0 /etc/hotplug/usb.agent[6319]: need a device for this
command
Jun 13 17:39:48 dhcppc0 /etc/hotplug/usb.agent[6318]: need a device for this
command
Jun 13 17:39:53 dhcppc0 /etc/hotplug/usb.agent[6319]: No drivers for 'USB
product 22b8/3802/1' (from /etc/hotplug/usb.handmap)
Jun 13 17:39:53 dhcppc0 /etc/hotplug/usb.agent[6318]: No drivers for 'USB
product 22b8/3802/1' (from /etc/hotplug/usb.handmap)
Jun 13 17:39:54 dhcppc0 /etc/hotplug/usb.agent[6318]: Setup 'usbnet cdc-acm '
for 'USB product
22b8/3802/1' (from /lib/modules/2.6.4-54.5-default/modules.usbmap)
Jun 13 17:39:54 dhcppc0 /etc/hotplug/usb.agent[6319]: Setup 'usbnet ' for 'USB
product 22b8/3802/1' (from /lib/modules/2.6.4-54.5-default/modules.usbmap)
Jun 13 17:39:55 dhcppc0 /etc/hotplug/usb.agent[6318]: ... blacklisted module:
cdc-acm
Jun 13 17:39:55 dhcppc0 /etc/hotplug/usb.agent[6318]: No drivers for 'USB
product 22b8/3802/1' (from /etc/hotplug/usb.usermap)
Jun 13 17:39:55 dhcppc0 /etc/hotplug/usb.agent[6318]: No drivers for 'USB
product 22b8/3802/1' (from /etc/hotplug/usb/ISDN.usermap)
Jun 13 17:39:55 dhcppc0 /etc/hotplug/usb.agent[6319]: No drivers for 'USB
product 22b8/3802/1' (from /etc/hotplug/usb.usermap)
Jun 13 17:39:55 dhcppc0 /etc/hotplug/usb.agent[6319]: No drivers for 'USB
product 22b8/3802/1' (from /etc/hotplug/usb/ISDN.usermap)
Jun 13 17:39:55 dhcppc0 /etc/hotplug/usb.agent[6319]: No drivers for 'USB
product 22b8/3802/1' (from /etc/hotplug/usb/alsasound.usermap)
Jun 13 17:39:55 dhcppc0 kernel: drivers/usb/core/usb.c: registered new driver
usbnet
Jun 13 17:39:55 dhcppc0 /etc/hotplug/usb.agent[6318]: No drivers for 'USB
product 22b8/3802/1' (from /etc/hotplug/usb/alsasound.usermap)
Jun 13 17:39:55 dhcppc0 /etc/hotplug/usb.agent[6319]: No drivers for 'USB
product 22b8/3802/1' (from /etc/hotplug/usb/sane-hardcoded.usermap)
Jun 13 17:39:55 dhcppc0 /etc/hotplug/usb.agent[6319]: No drivers for 'USB
product 22b8/3802/1' (from /etc/hotplug/usb/tascam_fw.usermap)
Jun 13 17:39:55 dhcppc0 /etc/hotplug/usb.agent[6318]: No drivers for 'USB
product 22b8/3802/1' (from /etc/hotplug/usb/sane-hardcoded.usermap)
Jun 13 17:39:55 dhcppc0 /etc/hotplug/usb.agent[6318]: No drivers for 'USB
product 22b8/3802/1' (from /etc/hotplug/usb/tascam_fw.usermap)
Jun 13 17:39:55 dhcppc0 /etc/hotplug/usb.agent[6319]: No drivers for 'USB
product 22b8/3802/1' (from /etc/hotplug/usb/usbcam.usermap)
Jun 13 17:39:55 dhcppc0 /etc/hotplug/usb.agent[6318]: No drivers for 'USB
product 22b8/3802/1' (from /etc/hotplug/usb/usbcam.usermap)
---------------------------


< Previous Next >