On Thu, Apr 14, 2005 at 11:06:21PM +0400, Sergey Vlasov wrote: > http://thread.gmane.org/gmane.linux.usb.devel/32977 > > (see "[PATCH] N/3 cdc acm errors"). > > You also need this driver core fix: > > http://thread.gmane.org/gmane.linux.usb.devel/33132
I reproduced the same oops while trying to execute at+mode=99, it would be nice to get these fix merged since I believe it's still needed to connect the laptop over gprs (something I didn't test yet). This further patch will allow you to connect via usbnet, Greg could you apply? Thanks! Signed-off-by: Andrea Arcangeli <[EMAIL PROTECTED]> --- 2.6.12-rc3/drivers/usb/net/usbnet.c.~1~ 2005-04-27 16:35:56.000000000 +0200 +++ 2.6.12-rc3/drivers/usb/net/usbnet.c 2005-05-02 22:07:17.000000000 +0200 @@ -3942,6 +3942,9 @@ static const struct usb_device_id produc USB_DEVICE (0x8086, 0x07d3), // "blob" bootloader .driver_info = (unsigned long) &blob_info, }, { + USB_DEVICE (0x22b8, 0x600c), // USBNET Motorola E680 + .driver_info = (unsigned long) &linuxdev_info, +}, { // Linux Ethernet/RNDIS gadget on pxa210/25x/26x // e.g. Gumstix, current OpenZaurus, ... USB_DEVICE_VER (0x0525, 0xa4a2, 0x0203, 0x0203), You need to run the below two scripts to bring the usb interface up and startup telnet on the cellphone (I run the scripts with linloader that is simply a way to execute bash scripts from the gui of the cellphone). This first command changes the usb device to be recognized as usbnet and not as a tty (after applying the above patch on the desktop side). -- usbnet.lin -- #!/bin/bash echo MotNet > /proc/motusbd -- Then on the desktop you can run "ifconfig usb0 169.254.142.1 netmask 255.255.255.0". And this below script brings the interface up on the cellphone too, so you can telnet 169.254.142.2 from the desktop and it works. -- telnet_up.lin -- #!/bin/bash ifconfig usbl0 169.254.142.2 netmask 255.255.0.0 up start-stop-daemon -S -v -p /var/run/inetd.pid -c root -x /usr/sbin/inetd start-stop-daemon -S -v -p /var/run/smbd.pid -c root -x /usr/sbin/smbd -D -l /dev/null -- The second script is from some website package, where they teach how to open a shell on the cellphone (standalone) using a j2me telnet client, but I use it to telnet via usbnet up too (not only for loopback). As last thing, I've still a usb problem in only seeing the flash of the cellphone exported as usb-storage, and not the external sd card. I need both a sda and sdb being recognized, but only sda showup. It could be a problem in the usb-storage, normal usb sticks only have one device so it's probably not a very common case. Grzegorz, can you see the sd card with usb-storage? thanks. PS. I'm not subscribed to linux-usb-devel so please CC me in all replies, hope emails go through even for non subscribers otherwise I'll go back to l-k mode. ------------------------------------------------------- This SF.Net email is sponsored by: NEC IT Guy Games. Get your fingers limbered up and give it your best shot. 4 great events, 4 opportunities to win big! Highest score wins.NEC IT Guy Games. Play to win an NEC 61 plasma display. Visit http://www.necitguy.com/?r=20 _______________________________________________ linux-usb-devel@lists.sourceforge.net To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-devel