Possible issue with pcmcia data card since 2.6.27 kernel

From: PaweÅ Drobek
Date: Tue Apr 13 2010 - 14:44:57 EST


[1.] ZTE MF 330 as modem, not as usb 2.0 hub
--------------------------------------------
[2.] Since 2.6.27-r7 there is support for this pcmcia data card by usbserial
module. In option.c file there isn't correct ID for ZTE MF 330 modem. I
assume that for somebody is correct but not for me and possibly other.
--------------------------------------------
[3.] usbserial.ko, option.ko, zte mf 330
--------------------------------------------
[4.] Linux version 2.6.33-gentoo (root@pd-mainframe) (gcc version 4.4.3
(Gentoo 4.4.3 p1.0) ) #5 SMP Sat Apr 10 21:56:07 CEST 2010
--------------------------------------------
[5.] N/A
--------------------------------------------
[6.] N/A
--------------------------------------------
[7.] Environment
[7.1.] Linux pd-mainframe 2.6.33-gentoo #5 SMP Sat Apr 10 21:56:07 CEST 2010
x86_64 AMD Athlon(tm) 64 X2 Dual Core Processor 6000+ AuthenticAMD GNU/Linux

Gnu C 4.4.3
Gnu make 3.81
binutils 2.20.1.20100303
util-linux 2.17.2
mount support
module-init-tools 3.11.1
e2fsprogs 1.41.11
pcmciautils 016
PPP 2.4.4
Linux C Library 2.11
Dynamic linker (ldd) 2.11
Procps 3.2.8
Net-tools 1.60_p20100101055920
Kbd 1.15.1
Sh-utils 8.4
wireless-tools 29
Modules Loaded ipv6 iptable_filter iptable_mangle ipt_MASQUERADE
xt_tcpudp iptable_nat nf_nat nf_conntrack_ipv4 nf_defrag_ipv4 iptable_raw
ipt_addrtype xt_DSCP xt_dscp xt_string xt_NFQUEUE xt_multiport xt_MARK xt_mark
xt_hashlimit xt_conntrack xt_CONNMARK xt_connmark nf_conntrack ip_tables
x_tables w83627ehf hwmon_vid snd_seq_oss snd_seq_midi_event snd_seq
snd_seq_device snd_pcm_oss snd_mixer_oss snd_hda_codec_realtek nvidia
tuner_simple tuner_types tuner tvaudio tda7432 bttv snd_hda_intel v4l2_common
snd_hda_codec i2c_algo_bit videobuf_dma_sg videobuf_core snd_hwdep snd_pcm
btcx_risc irtty_sir sir_dev tveeprom snd_timer usbserial snd yenta_socket irda
rtc_cmos i2c_nforce2 rsrc_nonstatic thermal k8temp snd_page_alloc i2c_core
forcedeth pcspkr processor button crc_ccitt scsi_transport_iscsi tg3 libphy
e1000 fuse nfs lockd sunrpc raid10 raid456 async_raid6_recov async_memcpy
async_pq async_xor xor async_tx raid6_pq raid1 raid0 dm_bbr dm_snapshot
dm_crypt dm_mirror dm_region_hash dm_log dm_mod scsi_wait_scan sbp2 ohci1394
ieee1394 usbhid aic94xx libsas lpfc qla2xxx megaraid_sas megaraid_mbox
megaraid_mm megaraid aacraid sx8 DAC960 cciss 3w_9xxx 3w_xxxx mptsas
scsi_transport_sas mptfc scsi_transport_fc scsi_tgt mptspi mptscsih mptbase
atp870u dc395x qla1280 imm dmx3191d sym53c8xx gdth advansys initio BusLogic
arcmsr aic7xxx aic79xx scsi_transport_spi sg pdc_adma sata_inic162x sata_mv
ata_piix sata_qstor sata_vsc sata_uli sata_sis sata_sx4 sata_via sata_svw
sata_sil sata_promise pata_sl82c105 pata_cs5530 pata_cs5520 pata_via
pata_jmicron pata_marvell pata_sis pata_netcell pata_sc1200 pata_pdc202xx_old
pata_triflex pata_atiixp pata_opti pata_amd pata_ali pata_it8213 pata_pcmcia
pcmcia firmware_class pcmcia_core pata_ns87415 pata_ns87410 pata_serverworks
pata_platform pata_artop pata_it821x pata_optidma pata_hpt3x2n pata_hpt3x3
pata_hpt37x pata_hpt366 pata_cmd64x pata_efar pata_rz1000 pata_sil680
pata_radisys pata_pdc2027x pata_mpiix
--------------------------------------------
[7.2-7.7] N/A
--------------------------------------------
[X.] Simply when i have changed option.c file in
/usr/src/linux/drivers/usb/serial/option.c by adding

{ USB_DEVICE(0x1D6B, 0x0002) }, /*ZTE MF 330*/

to static struct usb_device_id option_ids[]
my pc data card was correct detected by kernel.
--------------------------------------------
--

Z wyrazami szacunku Pawel D

Generic mail phrase generated by fortune

"You're a creature of the night, Michael. Wait'll Mom hears about this." --
from the movie "The Lost Boys"

-----------------------User data-------------------------
Pawel Drobek aka Boss
Linux counter id:349664
Kadu(gg) - 2355716
Jabber - p.d@xxxxxxxxxx||pawel.drobek@xxxxxxxxx
-----------------------OS data---------------------------
System - GNU/Linux
Id - Gentoo current amd64 12/05/2009
Kernel - 2.6.33-gentoo
Logged as - pd
---------------------End of data------------------------

Attachment: signature.asc
Description: This is a digitally signed message part.