Author Topic: Udev & Usbnet 1.1.0r121  (Read 2574 times)

svs57

  • Full Member
  • ***
  • Posts: 108
    • View Profile
    • http://
Udev & Usbnet 1.1.0r121
« on: November 20, 2006, 02:42:54 am »
Does udev in 1.1.0r121 work?
I want to setup usbnet to do
"ifup usb0" when usb connected and "ifdown usb0" when it unpluged
udevmonitor on Z didn't show any kernel events if I plug or unplug usb

InSearchOf

  • Administrator
  • Hero Member
  • *****
  • Posts: 1144
    • View Profile
    • http://
Udev & Usbnet 1.1.0r121
« Reply #1 on: November 20, 2006, 07:55:48 am »
What did you get from running "# dmesg" after pluggin in via usb?

Late
Sharp Zaurus SL-C3100 and SL-6000L
pdaXrom Developer
Please visit pdaXrom.org for updates
My Blog
IRC #pdaxrom @ FreeNode

svs57

  • Full Member
  • ***
  • Posts: 108
    • View Profile
    • http://
Udev & Usbnet 1.1.0r121
« Reply #2 on: November 20, 2006, 08:30:34 am »
Quote
What did you get from running "# dmesg" after pluggin in via usb?

Late
[div align=\"right\"][a href=\"index.php?act=findpost&pid=146711\"][{POST_SNAPBACK}][/a][/div]
usb0: full speed config #1: 100 mA, Ethernet Gadget, using CDC Ethernet Subset

But udevmonitor show nothing

InSearchOf

  • Administrator
  • Hero Member
  • *****
  • Posts: 1144
    • View Profile
    • http://
Udev & Usbnet 1.1.0r121
« Reply #3 on: November 20, 2006, 08:43:03 am »
you know what... I do remember someone saying this doesn't work... I will check on it tonight since I'm at work and I have no means of physically testing my Z... but I will ssh into it... and if what I can find...

Late
Sharp Zaurus SL-C3100 and SL-6000L
pdaXrom Developer
Please visit pdaXrom.org for updates
My Blog
IRC #pdaxrom @ FreeNode

InSearchOf

  • Administrator
  • Hero Member
  • *****
  • Posts: 1144
    • View Profile
    • http://
Udev & Usbnet 1.1.0r121
« Reply #4 on: November 21, 2006, 02:29:33 pm »
Has anyone tried a
Code: [Select]
# modprobe usbnet
Prior to connecting the device via usb... let me know if it work... since I dont ever connect Z to my box...

Late
Sharp Zaurus SL-C3100 and SL-6000L
pdaXrom Developer
Please visit pdaXrom.org for updates
My Blog
IRC #pdaxrom @ FreeNode

svs57

  • Full Member
  • ***
  • Posts: 108
    • View Profile
    • http://
Udev & Usbnet 1.1.0r121
« Reply #5 on: November 22, 2006, 02:10:05 am »
Quote
Has anyone tried a
Code: [Select]
# modprobe usbnet
Prior to connecting the device via usb... let me know if it work... since I dont ever connect Z to my box...

Late
[div align=\"right\"][a href=\"index.php?act=findpost&pid=146853\"][{POST_SNAPBACK}][/a][/div]
usbnet works. I want set udev to make usb0 up when usb connector insert
and down when it eject

InSearchOf

  • Administrator
  • Hero Member
  • *****
  • Posts: 1144
    • View Profile
    • http://
Udev & Usbnet 1.1.0r121
« Reply #6 on: November 22, 2006, 06:11:15 am »
give me a little bit... I will let you know what to change...

Late
Sharp Zaurus SL-C3100 and SL-6000L
pdaXrom Developer
Please visit pdaXrom.org for updates
My Blog
IRC #pdaxrom @ FreeNode