Public bug reported:

When I plug my device under Linux configured as ethernet gadget in my usb port, 
I should have usb0 in ifconfig.
But it doesn't load automatically the module cdc_ether which allows that so I 
have nothing in ifconfig.

Here you can see my dmesg when I plug the device :

[ 1893.144013] usb 4-1: new full speed USB device using uhci_hcd and address 5
[ 1893.324440] usb 4-1: configuration #1 chosen from 1 choice

and lsusb gives :

Bus 004 Device 005: ID 0525:a4a1 Netchip Technology, Inc. Linux-USB
Ethernet Gadget

So the device is perfectly recognized.

Now I load manually the module :
  
   $ sudo modprobe cdc_ether

Here is dmesg :

[ 1893.144013] usb 4-1: new full speed USB device using uhci_hcd and address 5
[ 1893.324440] usb 4-1: configuration #1 chosen from 1 choice
[ 2330.603945] usb0: register 'cdc_ether' at usb-0000:00:1a.1-1, CDC Ethernet 
Device, 4e:79:50:3e:46:30
[ 2330.604167] usbcore: registered new interface driver cdc_ether
 
usb0 is created and now I can access to it in ifconfig.

$ ls /sys/class/net/

eth0  eth1  lo  usb0  wlan0

So I think that the matter comes from the module which is not
automatically loaded. Whereas on Ubuntu 9.10 it works perfectly.

ProblemType: Bug
DistroRelease: Ubuntu 10.04
Package: linux-image-2.6.32-22-generic 2.6.32-22.36
Regression: Yes
Reproducible: Yes
ProcVersionSignature: Ubuntu 2.6.32-22.36-generic 2.6.32.11+drm33.2
Uname: Linux 2.6.32-22-generic i686
NonfreeKernelModules: fglrx
AlsaVersion: Advanced Linux Sound Architecture Driver Version 1.0.21.
Architecture: i386
AudioDevicesInUse:
 USER        PID ACCESS COMMAND
 /dev/snd/controlC0:  hax0r      1469 F.... pulseaudio
CRDA: Error: [Errno 2] Aucun fichier ou dossier de ce type
Card0.Amixer.info:
 Card hw:0 'Intel'/'HDA Intel at 0xea400000 irq 22'
   Mixer name   : 'Realtek ALC889A'
   Components   : 'HDA:10ec0885,1458a002,00100101'
   Controls      : 40
   Simple ctrls  : 22
Card1.Amixer.info:
 Card hw:1 'HDMI'/'HDA ATI HDMI at 0xe7010000 irq 17'
   Mixer name   : 'ATI R6xx HDMI'
   Components   : 'HDA:1002aa01,00aa0100,00100100'
   Controls      : 4
   Simple ctrls  : 1
Card1.Amixer.values:
 Simple mixer control 'IEC958',0
   Capabilities: pswitch pswitch-joined penum
   Playback channels: Mono
   Mono: Playback [off]
Card2.Amixer.info:
 Card hw:2 'HDMI_1'/'HDA ATI HDMI at 0xe5010000 irq 17'
   Mixer name   : 'ATI R6xx HDMI'
   Components   : 'HDA:1002aa01,00aa0100,00100100'
   Controls      : 4
   Simple ctrls  : 1
Card2.Amixer.values:
 Simple mixer control 'IEC958',0
   Capabilities: pswitch pswitch-joined penum
   Playback channels: Mono
   Mono: Playback [off]
Date: Sun Jun 13 21:39:40 2010
HibernationDevice: RESUME=UUID=d53db311-4ca5-4aa8-be62-830716bfb964
InstallationMedia: Ubuntu 10.04 LTS "Lucid Lynx" - Release i386 (20100429)
MachineType: Gigabyte Technology Co., Ltd. X48-DS5
ProcCmdLine: BOOT_IMAGE=/boot/vmlinuz-2.6.32-22-generic 
root=UUID=b242081c-3000-46b3-9712-3ddf7331a4bf ro 
crashkernel=384M-2G:64M,2G-:128M quiet splash
ProcEnviron:
 LANG=fr_FR.utf8
 SHELL=/bin/bash
RelatedPackageVersions: linux-firmware 1.34
RfKill:
 
SourcePackage: linux
dmi.bios.date: 03/06/2008
dmi.bios.vendor: Award Software International, Inc.
dmi.bios.version: F5
dmi.board.name: X48-DS5
dmi.board.vendor: Gigabyte Technology Co., Ltd.
dmi.board.version: x.x
dmi.chassis.type: 3
dmi.chassis.vendor: Gigabyte Technology Co., Ltd.
dmi.modalias: 
dmi:bvnAwardSoftwareInternational,Inc.:bvrF5:bd03/06/2008:svnGigabyteTechnologyCo.,Ltd.:pnX48-DS5:pvr:rvnGigabyteTechnologyCo.,Ltd.:rnX48-DS5:rvrx.x:cvnGigabyteTechnologyCo.,Ltd.:ct3:cvr:
dmi.product.name: X48-DS5
dmi.sys.vendor: Gigabyte Technology Co., Ltd.

** Affects: linux (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: apport-bug i386 lucid needs-upstream-testing networking 
regression-release

-- 
Module cdc_ether doesn't load automatically
https://bugs.launchpad.net/bugs/593407
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to