Am 20:59, schrieb Nils Radtke:

There's no gsmmodem link created on plugging in. Log below.


Switching seems to have worked O.K., so the log does not help much with the symbolic link feature.

I reapplied the verbose version of the symlink procedure that I had posted for testing to the current wrapper script. Please run it in the place of
/usr/sbin/usb_modeswitch_dispatcher.

If the symlink rule in the rules file is working, you get a log for every interface in /var/log which should look like these examples:

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

USB_ModeSwitch log from Mon Sep 06 21:00:13 CEST 2010

My port is ttyUSB0, my interface is 0
Checking my endpoints in /sys/devices/pci0000:00/0000:00:12.2/usb6/6-6/6-6:1.0
  in epDir /sys/devices/pci0000:00/0000:00:12.2/usb6/6-6/6-6:1.0/ep_81
  in epDir /sys/devices/pci0000:00/0000:00:12.2/usb6/6-6/6-6:1.0/ep_01

--> I am not an interrupt port

Return empty name and exit

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

USB_ModeSwitch log from Mon Sep 06 21:00:13 CEST 2010

My port is ttyUSB2, my interface is 3
Checking my endpoints in /sys/devices/pci0000:00/0000:00:12.2/usb6/6-6/6-6:1.3
  in epDir /sys/devices/pci0000:00/0000:00:12.2/usb6/6-6/6-6:1.3/ep_84
found interrupt endpoint /sys/devices/pci0000:00/0000:00:12.2/usb6/6-6/6-6:1.3/ep_84

--> I am an interrupt port

Looking for lower interrupt endpoints
 in ifDir /sys/devices/pci0000:00/0000:00:12.2/usb6/6-6/6-6:1.0
  in epDir /sys/devices/pci0000:00/0000:00:12.2/usb6/6-6/6-6:1.0/ep_81
  in epDir /sys/devices/pci0000:00/0000:00:12.2/usb6/6-6/6-6:1.0/ep_01
 in ifDir /sys/devices/pci0000:00/0000:00:12.2/usb6/6-6/6-6:1.1
  in epDir /sys/devices/pci0000:00/0000:00:12.2/usb6/6-6/6-6:1.1/ep_82
  in epDir /sys/devices/pci0000:00/0000:00:12.2/usb6/6-6/6-6:1.1/ep_02
 in ifDir /sys/devices/pci0000:00/0000:00:12.2/usb6/6-6/6-6:1.2
  in epDir /sys/devices/pci0000:00/0000:00:12.2/usb6/6-6/6-6:1.2/ep_03
  in epDir /sys/devices/pci0000:00/0000:00:12.2/usb6/6-6/6-6:1.2/ep_83

--> No interrupt interface below me

Return symlink name "gsmmodem" and exit

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

Here is the test version:
http://www.draisberghof.de/usb_modeswitch/usb_modeswitch_dispatcher.gz


Josua Dietze




--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to