i think my problem is located somewhere else... after pluging in the
modem on an other port and adding the second connector for power
supply it worked...
i'll test this a few days and report if the changes below work (if the
hardware gets enough power :)
73
Quoting Alan Stern <[EMAIL PROTECTED]>:
> On Thu, 30 Nov 2006, Johann Wilhelm wrote:
>
>> Hi there!
>>
>> I've a huawei E220 usb-umts-modem and got some troubles with it.
>>
>> Following things I have already done:
>>
>> * tell usb-storage to ignore this device:
>> in unusual_devs.h:
>>
>> /* This prevents the kernel from detecting the Huawei-E220
>> USB-UMTS-Modem as mass storage
>> device.
>> The storage-device is nothing else than a virtual cd-drive with
>> the windows drivers.
>> modprobe usbserial usbserial vendor=0x12d1 product=0x1003 will
>> bringup the modem-devic
>> e
>> <johann.wilhelm(at)student.tugraz.at>
>> */
>> UNUSUAL_DEV( 0x12d1, 0x1003, 0x0000, 0xffff,
>> "HUAWEI",
>> "E220 USB-UMTS Install",
>> US_SC_DEVICE, US_PR_DEVICE, NULL,
>> US_FL_IGNORE_DEVICE),
>>
>>
>> * tell the gsm-modem driver that there is a E220 device
>> in option.c
>>
>> #define HUAWEI_PRODUCT_E600 0x1001
>> #define HUAWEI_PRODUCT_E220 0x1003
>> ...
>> static struct usb_device_id option_ids[] = {
>> { USB_DEVICE(OPTION_VENDOR_ID, OPTION_PRODUCT_OLD) },
>> { USB_DEVICE(OPTION_VENDOR_ID, OPTION_PRODUCT_FUSION) },
>> { USB_DEVICE(OPTION_VENDOR_ID, OPTION_PRODUCT_FUSION2) },
>> { USB_DEVICE(OPTION_VENDOR_ID, OPTION_PRODUCT_COBRA) },
>> { USB_DEVICE(OPTION_VENDOR_ID, OPTION_PRODUCT_COBRA2) },
>> { USB_DEVICE(HUAWEI_VENDOR_ID, HUAWEI_PRODUCT_E220) },
>> { USB_DEVICE(HUAWEI_VENDOR_ID, HUAWEI_PRODUCT_E600) },
>> { USB_DEVICE(AUDIOVOX_VENDOR_ID, AUDIOVOX_PRODUCT_AIRCARD) },
>> {
>> USB_DEVICE(NOVATELWIRELESS_VENDOR_ID,NOVATELWIRELESS_PRODUCT_U740) },
>> { USB_DEVICE(ANYDATA_VENDOR_ID, ANYDATA_PRODUCT_ID) },
>> { } /* Terminating entry */
>> };
>> ...
>> static struct usb_device_id option_ids1[] = {
>> { USB_DEVICE(OPTION_VENDOR_ID, OPTION_PRODUCT_OLD) },
>> { USB_DEVICE(OPTION_VENDOR_ID, OPTION_PRODUCT_FUSION) },
>> { USB_DEVICE(OPTION_VENDOR_ID, OPTION_PRODUCT_FUSION2) },
>> { USB_DEVICE(OPTION_VENDOR_ID, OPTION_PRODUCT_COBRA) },
>> { USB_DEVICE(OPTION_VENDOR_ID, OPTION_PRODUCT_COBRA2) },
>> { USB_DEVICE(HUAWEI_VENDOR_ID, HUAWEI_PRODUCT_E220) },
>> { USB_DEVICE(HUAWEI_VENDOR_ID, HUAWEI_PRODUCT_E600) },
>> { USB_DEVICE(AUDIOVOX_VENDOR_ID, AUDIOVOX_PRODUCT_AIRCARD) },
>> {
>> USB_DEVICE(NOVATELWIRELESS_VENDOR_ID,NOVATELWIRELESS_PRODUCT_U740) },
>> { USB_DEVICE(ANYDATA_VENDOR_ID, ANYDATA_PRODUCT_ID) },
>> { } /* Terminating entry */
>> };
>>
>> after this i compile the new kernel (2.6.18.1) and install it...
>>
>> the device is detected an both the gsm-driver and the storage driver
>> is loaded... if i rmmod usb-storage i can use the device with pppd!
>>
>> but why can't i use it if I leave the usb-storage module loaded???
>>
>> I've tried to prevent the module to do a probe if the device and
>> vendor ids match the umts-modem but only rmmod usb-storage works...
>>
>> has anyone suggestions where something else has to be changed ?
>
> Did you remember to run "make modules_install" after building the new
> usb-storage.ko?
>
> Alan Stern
>
>
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
[email protected]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel