[haiku-bugs] Re: [Haiku] #7626: USB Net Adapter not "Plug&Play"

  • From: "Pete" <trac@xxxxxxxxxxxx>
  • Date: Wed, 01 Jun 2011 21:33:45 -0000

#7626: USB Net Adapter not "Plug&Play"
---------------------------+-----------------------
   Reporter:  Pete         |      Owner:  mmlr
       Type:  bug          |     Status:  new
   Priority:  normal       |  Milestone:  R1
  Component:  Drivers/USB  |    Version:  R1/alpha2
 Resolution:               |   Keywords:
 Blocked By:               |   Blocking:
Has a Patch:  0            |   Platform:  All
---------------------------+-----------------------

Comment (by Pete):

 Sorry -- guess I was a bit brief.

 There's nothing much in the syslog that I can find.  When I plug the
 adapter in, the only messages are

 {{{
 KERN: usb hub 2: port 0: new device connected
 KERN: usb_floppy: no valid CBI interface found
 KERN: bfs: bfs_open_dir:1616: Not a directory
 KERN: usb_floppy: no valid CBI interface found
 }}}

 Only the first of which I assume is relevant.

 In the boot-up time area of the log, there is always (with minor
 variations):

 {{{
 KERN: loaded driver /boot/system/add-ons/kernel/drivers/dev/net/pegasus
 KERN: usb_asix:00.29.937:init_driver::ver.0.8.3
 KERN: loaded driver /boot/system/add-ons/kernel/drivers/dev/net/usb_asix
 KERN: loaded driver /boot/system/add-ons/kernel/drivers/dev/net/usb_ecm
 KERN: register_domain(1, internet)
 KERN: unregister_domain(0x8306c780, 1, internet)
 KERN: register_domain(9, unix)
 KERN: unregister_domain(0x8306c780, 9, unix)
 KERN: register_domain(1, internet)
 KERN: unregister_domain(0x8306c640, 1, internet)
 KERN: register_domain(1, internet)
 KERN: unregister_domain(0x8306cf00, 1, internet)
 KERN: register_domain(9, unix)
 KERN: unregister_domain(0x8306c600, 9, unix)
 KERN: register_domain(1, internet)
 KERN: unregister_domain(0x8306c440, 1, internet)
 KERN: register_domain(1, internet)
 KERN: unregister_domain(0x8306ca00, 1, internet)
 KERN: register_domain(9, unix)
 KERN: unregister_domain(0x8306c400, 9, unix)
 KERN: register_domain(1, internet)
 KERN: register_domain(4, link)
 }}}

 The only difference if the adapter is connected before boot is that the

 {{{
 KERN: usb hub 2: port 0: new device connected
 }}}
 is ''before'' the

 {{{
 KERN: loaded driver /boot/system/add-ons/kernel/drivers/dev/net/pegasus
 }}}

 The device entry /dev/net/pegasus/0 ''always'' appears at whatever point
 the device is connected.  However ifconfig only shows it if it is plugged
 in at boot:

 {{{
 /dev/net/pegasus/0
         Hardware type: Ethernet, Address: 00:14:d1:18:72:17
         Media type: Auto-select
         inet addr: 192.168.1.5, Bcast: 192.168.1.255, Mask: 255.255.255.0
         MTU: 1500, Metric: 0, up broadcast link
         Receive: 3233 packets, 0 errors, 2041834 bytes, 0 mcasts, 0
 dropped
         Transmit: 3245 packets, 1 errors, 408249 bytes, 0 mcasts, 0
 dropped
         Collisions: 0

 loop    Hardware type: Local Loopback, Address: none
         inet addr: 127.0.0.1, Mask: 255.0.0.0
         MTU: 16384, Metric: 0, up loopback link
         Receive: 0 packets, 0 errors, 0 bytes, 0 mcasts, 0 dropped
         Transmit: 0 packets, 0 errors, 0 bytes, 0 mcasts, 0 dropped
         Collisions: 0

 }}}

 If the adapter is unplugged, the /dev entry does not go away.

 That's about all I know for now.

-- 
Ticket URL: <http://dev.haiku-os.org/ticket/7626#comment:3>
Haiku <http://dev.haiku-os.org>
Haiku - the operating system.

Other related posts: