i use zyxel uno modem (usb 56k cdc-acm modem, i think it present only on russian market). after two or more hours of connection this modem can hang-up - all leds are on and modem don't respond. i need do power off to reset modem.
question - it's possible do software turn power off/on on usb device? now only disconnect/connect usb cord can help (modem is usb-powered). today after disconnect/connect i get oops (kernel 2.6.5): Apr 13 12:25:41 topalm2 kernel: ohci_hcd 0000:00:0f.2: urb f7274a20 path 1 ep1in 5e160000 cc 5 --> status -110 Apr 13 12:25:41 topalm2 kernel: ohci_hcd 0000:00:0f.2: urb f7274a20 path 1 ep1in 5e160000 cc 5 --> status -110 Apr 13 12:25:41 topalm2 kernel: ohci_hcd 0000:00:0f.2: urb f7274a20 path 1 ep1in 5e160000 cc 5 --> status -110 Apr 13 12:25:41 topalm2 kernel: ohci_hcd 0000:00:0f.2: urb f7274a20 path 1 ep1in 5e160000 cc 5 --> status -110 Apr 13 12:25:41 topalm2 kernel: ohci_hcd 0000:00:0f.2: urb f7274a20 path 1 ep1in 5e160000 cc 5 --> status -110 Apr 13 12:25:41 topalm2 kernel: ohci_hcd 0000:00:0f.2: urb f7274a20 path 1 ep1in 5e160000 cc 5 --> status -110 Apr 13 12:25:41 topalm2 kernel: ohci_hcd 0000:00:0f.2: urb f7274a20 path 1 ep1in 5e160000 cc 5 --> status -110 Apr 13 12:25:41 topalm2 kernel: ohci_hcd 0000:00:0f.2: urb f7274a20 path 1 ep1in 5e160000 cc 5 --> status -110 Apr 13 12:25:41 topalm2 kernel: ohci_hcd 0000:00:0f.2: urb f7274a20 path 1 ep1in 5e160000 cc 5 --> status -110 Apr 13 12:25:41 topalm2 kernel: ohci_hcd 0000:00:0f.2: urb f7274a20 path 1 ep1in 5e160000 cc 5 --> status -110 Apr 13 12:25:41 topalm2 kernel: ohci_hcd 0000:00:0f.2: urb f7274a20 path 1 ep1in 5e160000 cc 5 --> status -110 Apr 13 12:25:41 topalm2 kernel: ohci_hcd 0000:00:0f.2: urb f7274a20 path 1 ep1in 5e160000 cc 5 --> status -110 Apr 13 12:25:41 topalm2 kernel: ohci_hcd 0000:00:0f.2: urb f7274a20 path 1 ep1in 5e160000 cc 5 --> status -110 Apr 13 12:25:41 topalm2 kernel: ohci_hcd 0000:00:0f.2: GetStatus roothub.portstatus [1] = 0x00030100 PESC CSC PPS Apr 13 12:25:41 topalm2 kernel: hub 2-0:1.0: port 1, status 100, change 3, 12 Mb/s Apr 13 12:25:41 topalm2 kernel: usb 2-1: USB disconnect, address 2 Apr 13 12:25:41 topalm2 kernel: usb 2-1: usb_disable_device nuking all URBs Apr 13 12:25:41 topalm2 kernel: ohci_hcd 0000:00:0f.2: shutdown urb f7274a20 pipe c0408280 ep1in-bulk Apr 13 12:25:41 topalm2 kernel: ohci_hcd 0000:00:0f.2: shutdown urb f7202680 pipe 40418280 ep3in-intr Apr 13 12:25:41 topalm2 kernel: usb 2-1: unregistering interface 2-1:1.0 Apr 13 12:25:41 topalm2 kernel: drivers/usb/core/usb.c: usb_hotplug Apr 13 12:25:41 topalm2 kernel: usb 2-1: unregistering interface 2-1:1.1 Apr 13 12:25:41 topalm2 kernel: drivers/usb/core/usb.c: usb_hotplug Apr 13 12:25:41 topalm2 kernel: usb 2-1: unregistering device Apr 13 12:25:41 topalm2 kernel: drivers/usb/core/usb.c: usb_hotplug Apr 13 12:25:41 topalm2 kernel: ohci_hcd 0000:00:0f.2: GetStatus roothub.portstatus [1] = 0x00020100 PESC PPS Apr 13 12:25:41 topalm2 kernel: hub 2-0:1.0: port 1 enable change, status 100 Apr 13 12:25:42 topalm2 kernel: ohci_hcd 0000:00:0f.2: GetStatus roothub.portstatus [1] = 0x00010101 CSC PPS CCS Apr 13 12:25:42 topalm2 kernel: hub 2-0:1.0: port 1, status 101, change 1, 12 Mb/s Apr 13 12:25:42 topalm2 kernel: hub 2-0:1.0: debounce: port 1: delay 100ms stable 4 status 0x101 Apr 13 12:25:42 topalm2 kernel: ohci_hcd 0000:00:0f.2: GetStatus roothub.portstatus [1] = 0x00100103 PRSC PPS PES CCS Apr 13 12:25:42 topalm2 kernel: usb 2-1: new full speed USB device using address 66 Apr 13 12:25:42 topalm2 kernel: usb 2-1: new device strings: Mfr=1, Product=2, SerialNumber=0 Apr 13 12:25:42 topalm2 kernel: drivers/usb/core/message.c: USB device number 66 default language ID 0x409 Apr 13 12:25:42 topalm2 kernel: usb 2-1: Product: 56K USB Modem Apr 13 12:25:42 topalm2 kernel: usb 2-1: Manufacturer: ZyDAS Apr 13 12:25:42 topalm2 kernel: drivers/usb/core/usb.c: usb_hotplug Apr 13 12:25:42 topalm2 kernel: usb 2-1: registering 2-1:1.0 (config #1, interface 0) Apr 13 12:25:42 topalm2 kernel: drivers/usb/core/usb.c: usb_hotplug Apr 13 12:25:42 topalm2 kernel: cdc_acm 2-1:1.0: usb_probe_interface Apr 13 12:25:42 topalm2 kernel: cdc_acm 2-1:1.0: usb_probe_interface - got id Apr 13 12:25:42 topalm2 kernel: Unable to handle kernel NULL pointer dereference at virtual address 00000005 Apr 13 12:25:42 topalm2 kernel: printing eip: Apr 13 12:25:42 topalm2 kernel: f88fb9c2 Apr 13 12:25:42 topalm2 kernel: *pde = 00000000 Apr 13 12:25:42 topalm2 kernel: Oops: 0000 [#8] Apr 13 12:25:42 topalm2 kernel: PREEMPT SMP Apr 13 12:25:42 topalm2 kernel: CPU: 0 Apr 13 12:25:42 topalm2 kernel: EIP: 0060:[<f88fb9c2>] Not tainted Apr 13 12:25:42 topalm2 kernel: EFLAGS: 00010246 (2.6.5) Apr 13 12:25:42 topalm2 kernel: EIP is at acm_probe+0x96/0x4c0 [cdc_acm] Apr 13 12:25:42 topalm2 kernel: eax: f61a96c0 ebx: 00000000 ecx: cb6b32e0 edx: 00000000 Apr 13 12:25:42 topalm2 kernel: esi: f722778c edi: 00000004 ebp: f7d81e14 esp: f7d81dd8 Apr 13 12:25:42 topalm2 kernel: ds: 007b es: 007b ss: 0068 Apr 13 12:25:42 topalm2 kernel: Process khubd (pid: 10, threadinfo=f7d80000 task=f7d83740) Apr 13 12:25:42 topalm2 kernel: Stack: f88fcea0 f88fcde0 ffffffed f7d80000 0008a39d 0008a39d 00000001 c011e134 Apr 13 12:25:42 topalm2 kernel: c0455fd1 00000246 00000031 ffffffa7 f61a96c0 f7227780 ef7b5c00 f7d81e4c Apr 13 12:25:42 topalm2 kernel: c02adb62 dc23d4e0 f88fcde0 c037e2a0 f88fc0e3 dc23d54c c037e27e ffffffed Apr 13 12:25:42 topalm2 kernel: Call Trace: Apr 13 12:25:42 topalm2 kernel: [<c011e134>] release_console_sem+0xf0/0xfc Apr 13 12:25:42 topalm2 kernel: [<c02adb62>] usb_probe_interface+0x8a/0xa8 Apr 13 12:25:42 topalm2 kernel: [<c025967a>] bus_match+0x32/0x5c Apr 13 12:25:42 topalm2 kernel: [<c02596ea>] device_attach+0x46/0x80 Apr 13 12:25:42 topalm2 kernel: [<c025988a>] bus_add_device+0x66/0xa8 Apr 13 12:25:42 topalm2 kernel: [<c025889d>] device_add+0x91/0x134 Apr 13 12:25:42 topalm2 kernel: [<c0258953>] device_register+0x13/0x1c Apr 13 12:25:42 topalm2 kernel: [<c02b4405>] usb_set_configuration+0x21d/0x258 Apr 13 12:25:42 topalm2 kernel: [<c02aed54>] usb_new_device+0x490/0x528 Apr 13 12:25:42 topalm2 kernel: [<c02b08d6>] hub_port_connect_change+0x22e/0x2b0 Apr 13 12:25:42 topalm2 kernel: [<c02b0acd>] hub_events+0x175/0x3d4 Apr 13 12:25:42 topalm2 kernel: [<c02b0d5b>] hub_thread+0x2f/0xec Apr 13 12:25:42 topalm2 kernel: [<c02b0d2c>] hub_thread+0x0/0xec Apr 13 12:25:42 topalm2 kernel: [<c0119298>] default_wake_function+0x0/0x1c Apr 13 12:25:42 topalm2 kernel: [<c010518d>] kernel_thread_helper+0x5/0xc Apr 13 12:25:42 topalm2 kernel: Apr 13 12:25:42 topalm2 kernel: Code: 80 7a 05 0a 0f 85 fc 03 00 00 80 7a 04 01 0f 86 f2 03 00 00 ------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click _______________________________________________ [EMAIL PROTECTED] To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-devel