LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 10-15-2009, 01:35 AM   #1
dragoun
LQ Newbie
 
Registered: Jul 2009
Location: Algeria
Distribution: Slackware
Posts: 6

Rep: Reputation: 0
/dev/ttyUSB0 absent after reboot


hello
(excuse me if I make an English mistakes ^^)

I'am on Slackware 12.2 and I have a PPP modem usb 'huawei E220', I use KPPP to connect with it and I use the
Code:
 /dev/ttyUSB0
device.. it work great

but after a normal reboot I try to connect with KPPP but I have an error
Code:
/dev/ttyUSB0 not defined
so I do this (as root)
Code:
ls -l /dev/ttyUSB0
and it return :
Code:
cannot access /dev/ttyUSB0: no such file or directory
so I try to make it with: (as root)
Code:
mknod /dev/ttyUSB0 c 180 0
an now the
Code:
ls -l /dev/ttyUSB0
give me this
Code:
crw-r--r-- 1 root root 188, 0 2009-10-15 /dev/ttyUSB0
nice, So I try to reconnect with KPPP now that the device exist But I have this error too:
Code:
can't acees modem
... I changed the permission of /dev/ttyUSB0 with
Code:
chmod 777 /dev/ttyUSB0
but I can't connect to the modem

and if I reboot the /dev/ttyUSB0 is removed

How can I fix this

thank you
 
Old 10-15-2009, 03:46 AM   #2
slackd
Member
 
Registered: Sep 2009
Location: Bangalore, India
Distribution: Fedora, Slackware, Arch Linux
Posts: 260
Blog Entries: 1

Rep: Reputation: 60
Cool

Why dont u try WvDial?..its available from Slackbuilds.org

My Friend had the exact same problem, now he uses WvDial to connect to the internet.

U Need:
-WvDial
-WvStreams
 
Old 10-15-2009, 03:54 AM   #3
slackd
Member
 
Registered: Sep 2009
Location: Bangalore, India
Distribution: Fedora, Slackware, Arch Linux
Posts: 260
Blog Entries: 1

Rep: Reputation: 60
Wink

The Config File Goes Like This:

Code:
cat /etc/wvdial.conf

[Dialer Defaults]
Inherits = Modem 0
Init1 = ATZ
Init2 = ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
Stupid Mode = 1
Modem Type = Analog Modem
ISDN = 0
New PPPD = Yes
Phone = #777
Modem = /dev/ttyUSB0
Username = internet
Password = internet
Baud = 9600

[Modem 0]
Modem = /dev/ttyUSB0
Dial Command = ATDT
Baud = 115200
FlowControl = Hardware (CRTSCTS)
Init1 = ATZ
 
Old 10-15-2009, 11:05 AM   #4
dragoun
LQ Newbie
 
Registered: Jul 2009
Location: Algeria
Distribution: Slackware
Posts: 6

Original Poster
Rep: Reputation: 0
hi, thank's you for answers
So I try to use Wvdial with the config file but I have always this error

Code:
--> WvDial: Internet dialer version 1.60
--> Cannot open /dev/ttyUSB0: No such device or address
--> Cannot open /dev/ttyUSB0: No such device or address
--> Cannot open /dev/ttyUSB0: No such device or address
and ls -l /dev/ttyUSB0 give :
Code:
crwxrwxrwx 1 root root 188, 0 2009-10-15 /dev/ttyUSB0
 
Old 10-15-2009, 11:06 AM   #5
dragoun
LQ Newbie
 
Registered: Jul 2009
Location: Algeria
Distribution: Slackware
Posts: 6

Original Poster
Rep: Reputation: 0
hi, thank's you for answers
So I try to use Wvdial with the config file but I have always this error

Code:
--> WvDial: Internet dialer version 1.60
--> Cannot open /dev/ttyUSB0: No such device or address
--> Cannot open /dev/ttyUSB0: No such device or address
--> Cannot open /dev/ttyUSB0: No such device or address
and ls -l /dev/ttyUSB0 give :
Code:
crwxrwxrwx 1 root root 188, 0 2009-10-15 /dev/ttyUSB0
 
Old 10-15-2009, 11:38 AM   #6
slackd
Member
 
Registered: Sep 2009
Location: Bangalore, India
Distribution: Fedora, Slackware, Arch Linux
Posts: 260
Blog Entries: 1

Rep: Reputation: 60
^did u blacklist anything from??:

Code:
/etc/modprobe.d/blacklist.conf

Last edited by slackd; 10-15-2009 at 11:46 AM.
 
Old 10-15-2009, 12:04 PM   #7
bishu
LQ Newbie
 
Registered: Sep 2009
Location: Kolkata, India
Distribution: Slackware64 13
Posts: 4

Rep: Reputation: 0
give me the output of your dmesg command ( the portion regarding usb devices will do)
 
Old 10-15-2009, 12:42 PM   #8
rg3
Member
 
Registered: Jul 2007
Distribution: Fedora
Posts: 527

Rep: Reputation: Disabled
Also, please try modprobe option as root and, plug the modem in, and wait to see if the device is finally created. option is the kernel module supposed to provide the driver for that device.
 
Old 10-16-2009, 11:52 AM   #9
dragoun
LQ Newbie
 
Registered: Jul 2009
Location: Algeria
Distribution: Slackware
Posts: 6

Original Poster
Rep: Reputation: 0
sorry if I take a long time to replay

I have an information that can help to understand the problem.
this problem begin after the compilation of kernel..This is the story:

-I create a directory on my home/me/linux-kernel
which contain the code source of kernel "2.6.27.7" so I do this
Code:
make 
make install
then I
Code:
cp home/me/linux-kernel/arch/i386/boot/bzImage to /boot/bzImage-kernel-test
      cp home/me/linux-kernel/arch/i386/boot/System.map to /boot/System.map-kernel-test
also I add an entry on lilo.conf
Code:
image=/boot/bzImage-kernel-test
  root=/dev/sda6
  label= kernel
  read-only
I reboot and the problem begin.

now for your questions:
no I don't blacklist anything on
Code:
/etc/modprobe.d/blacklist.conf
and the output of dmesg
Code:
[    0.245986] usbcore: registered new interface driver usbfs
[    0.245986] usbcore: registered new interface driver hub
[    0.245986] usbcore: registered new device driver usb
[   13.676055] PM: Adding info for No Bus:usbmon0
[   13.676150] PM: Adding info for No Bus:usb_host1
[   13.676189] drivers/usb/core/inode.c: creating file 'devices'
[   13.676192] drivers/usb/core/inode.c: creating file '001'
[   13.676213] PM: Adding info for No Bus:usbmon1
[   13.690042] usb usb1: default language 0x0409
[   13.690071] PM: Adding info for usb:usb1
[   13.690075] usb usb1: uevent
[   13.690113] usb usb1: usb_probe_device
[   13.690115] usb usb1: configuration #1 chosen from 1 choice
[   13.690122] usb usb1: adding 1-0:1.0 (config #1, interface 0)
[   13.690135] PM: Adding info for usb:1-0:1.0
[   13.690139] usb 1-0:1.0: uevent
[   13.690170] hub 1-0:1.0: usb_probe_interface
[   13.690172] hub 1-0:1.0: usb_probe_interface - got id
[   13.690186] hub 1-0:1.0: no power switching (usb 1.0)
[   13.892073] PM: Adding info for No Bus:usbdev1.1_ep81
[   13.892103] drivers/usb/core/inode.c: creating file '001'
[   13.892131] PM: Adding info for No Bus:usbdev1.1_ep00
[   13.892161] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
[   13.892167] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[   13.892172] usb usb1: Product: EHCI Host Controller
[   13.892176] usb usb1: Manufacturer: Linux 2.6.27.7 ehci_hcd
[   13.892180] usb usb1: SerialNumber: 0000:00:1a.7
[   13.892231] PM: Adding info for No Bus:usb_host2
[   13.892258] drivers/usb/core/inode.c: creating file '002'
[   13.892276] PM: Adding info for No Bus:usbmon2
[   13.994018] usb 1-2: new high speed USB device using ehci_hcd and address 2
[   14.000034] usb usb2: default language 0x0409
[   14.000064] PM: Adding info for usb:usb2
[   14.000069] usb usb2: uevent
[   14.000102] usb usb2: usb_probe_device
[   14.000104] usb usb2: configuration #1 chosen from 1 choice
[   14.000111] usb usb2: adding 2-0:1.0 (config #1, interface 0)
[   14.000121] PM: Adding info for usb:2-0:1.0
[   14.000124] usb 2-0:1.0: uevent
[   14.000158] hub 2-0:1.0: usb_probe_interface
[   14.000160] hub 2-0:1.0: usb_probe_interface - got id
[   14.000174] hub 2-0:1.0: no power switching (usb 1.0)
[   14.101048] PM: Adding info for No Bus:usbdev2.1_ep81
[   14.101084] drivers/usb/core/inode.c: creating file '001'
[   14.101110] PM: Adding info for No Bus:usbdev2.1_ep00
[   14.101143] usb usb2: New USB device found, idVendor=1d6b, idProduct=0002
[   14.101149] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[   14.101154] usb usb2: Product: EHCI Host Controller
[   14.101157] usb usb2: Manufacturer: Linux 2.6.27.7 ehci_hcd
[   14.101161] usb usb2: SerialNumber: 0000:00:1d.7
[   14.101313] PM: Adding info for No Bus:usb_host3
[   14.101342] drivers/usb/core/inode.c: creating file '003'
[   14.101366] PM: Adding info for No Bus:usbmon3
[   14.101476] usb usb3: default language 0x0409
[   14.101505] PM: Adding info for usb:usb3
[   14.101510] usb usb3: uevent
[   14.101539] usb usb3: usb_probe_device
[   14.101541] usb usb3: configuration #1 chosen from 1 choice
[   14.101548] usb usb3: adding 3-0:1.0 (config #1, interface 0)
[   14.101561] PM: Adding info for usb:3-0:1.0
[   14.101564] usb 3-0:1.0: uevent
[   14.101598] hub 3-0:1.0: usb_probe_interface
[   14.101599] hub 3-0:1.0: usb_probe_interface - got id
[   14.101614] hub 3-0:1.0: no power switching (usb 1.0)
[   14.146900] usb 1-2: skipped 1 descriptor after configuration
[   14.146902] usb 1-2: skipped 6 descriptors after interface
[   14.146904] usb 1-2: skipped 1 descriptor after endpoint
[   14.146906] usb 1-2: skipped 8 descriptors after interface
[   14.147522] usb 1-2: default language 0x0409
[   14.152921] PM: Adding info for usb:1-2
[   14.152925] usb 1-2: uevent
[   14.152959] usb 1-2: usb_probe_device
[   14.152961] usb 1-2: configuration #1 chosen from 1 choice
[   14.153275] usb 1-2: adding 1-2:1.0 (config #1, interface 0)
[   14.153291] PM: Adding info for usb:1-2:1.0
[   14.153296] usb 1-2:1.0: uevent
[   14.155540] PM: Adding info for No Bus:usbdev1.2_ep83
[   14.155570] usb 1-2: adding 1-2:1.1 (config #1, interface 1)
[   14.155586] PM: Adding info for usb:1-2:1.1
[   14.155590] usb 1-2:1.1: uevent
[   14.155617] drivers/usb/core/inode.c: creating file '002'
[   14.155643] PM: Adding info for No Bus:usbdev1.2_ep00
[   14.155671] usb 1-2: New USB device found, idVendor=04f2, idProduct=b070
[   14.155676] usb 1-2: New USB device strings: Mfr=2, Product=1, SerialNumber=3
[   14.155681] usb 1-2: Product: CNF7051
[   14.155684] usb 1-2: Manufacturer: Chicony Electronics Co., Ltd.
[   14.155689] usb 1-2: SerialNumber: SN0001
[   14.303043] PM: Adding info for No Bus:usbdev3.1_ep81
[   14.303077] drivers/usb/core/inode.c: creating file '001'
[   14.303103] PM: Adding info for No Bus:usbdev3.1_ep00
[   14.303138] usb usb3: New USB device found, idVendor=1d6b, idProduct=0001
[   14.303144] usb usb3: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[   14.303149] usb usb3: Product: UHCI Host Controller
[   14.303152] usb usb3: Manufacturer: Linux 2.6.27.7 uhci_hcd
[   14.303156] usb usb3: SerialNumber: 0000:00:1a.0
[   14.303211] PM: Adding info for No Bus:usb_host4
[   14.303241] drivers/usb/core/inode.c: creating file '004'
[   14.303260] PM: Adding info for No Bus:usbmon4
[   14.303370] usb usb4: default language 0x0409
[   14.303399] PM: Adding info for usb:usb4
[   14.303404] usb usb4: uevent
[   14.303438] usb usb4: usb_probe_device
[   14.303440] usb usb4: configuration #1 chosen from 1 choice
[   14.303447] usb usb4: adding 4-0:1.0 (config #1, interface 0)
[   14.303458] PM: Adding info for usb:4-0:1.0
[   14.303462] usb 4-0:1.0: uevent
[   14.303491] hub 4-0:1.0: usb_probe_interface
[   14.303493] hub 4-0:1.0: usb_probe_interface - got id
[   14.303507] hub 4-0:1.0: no power switching (usb 1.0)
[   14.404051] PM: Adding info for No Bus:usbdev4.1_ep81
[   14.404085] drivers/usb/core/inode.c: creating file '001'
[   14.404117] PM: Adding info for No Bus:usbdev4.1_ep00
[   14.404159] usb usb4: New USB device found, idVendor=1d6b, idProduct=0001
[   14.404164] usb usb4: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[   14.404169] usb usb4: Product: UHCI Host Controller
[   14.404173] usb usb4: Manufacturer: Linux 2.6.27.7 uhci_hcd
[   14.404177] usb usb4: SerialNumber: 0000:00:1a.1
[   14.404228] PM: Adding info for No Bus:usb_host5
[   14.404257] drivers/usb/core/inode.c: creating file '005'
[   14.404277] PM: Adding info for No Bus:usbmon5
[   14.404378] usb usb5: default language 0x0409
[   14.404407] PM: Adding info for usb:usb5
[   14.404411] usb usb5: uevent
[   14.404441] usb usb5: usb_probe_device
[   14.404443] usb usb5: configuration #1 chosen from 1 choice
[   14.404450] usb usb5: adding 5-0:1.0 (config #1, interface 0)
[   14.404463] PM: Adding info for usb:5-0:1.0
[   14.404466] usb 5-0:1.0: uevent
[   14.404496] hub 5-0:1.0: usb_probe_interface
[   14.404498] hub 5-0:1.0: usb_probe_interface - got id
[   14.404512] hub 5-0:1.0: no power switching (usb 1.0)
[   14.505034] PM: Adding info for No Bus:usbdev5.1_ep81
[   14.505071] drivers/usb/core/inode.c: creating file '001'
[   14.505096] PM: Adding info for No Bus:usbdev5.1_ep00
[   14.505130] usb usb5: New USB device found, idVendor=1d6b, idProduct=0001
[   14.505136] usb usb5: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[   14.505141] usb usb5: Product: UHCI Host Controller
[   14.505144] usb usb5: Manufacturer: Linux 2.6.27.7 uhci_hcd
[   14.505148] usb usb5: SerialNumber: 0000:00:1d.0
[   14.505196] PM: Adding info for No Bus:usb_host6
[   14.505226] drivers/usb/core/inode.c: creating file '006'
[   14.505245] PM: Adding info for No Bus:usbmon6
[   14.505349] usb usb6: default language 0x0409
[   14.505379] PM: Adding info for usb:usb6
[   14.505383] usb usb6: uevent
[   14.505413] usb usb6: usb_probe_device
[   14.505415] usb usb6: configuration #1 chosen from 1 choice
[   14.505422] usb usb6: adding 6-0:1.0 (config #1, interface 0)
[   14.505432] PM: Adding info for usb:6-0:1.0
[   14.505435] usb 6-0:1.0: uevent
[   14.505465] hub 6-0:1.0: usb_probe_interface
[   14.505467] hub 6-0:1.0: usb_probe_interface - got id
[   14.505481] hub 6-0:1.0: no power switching (usb 1.0)
[   14.606050] PM: Adding info for No Bus:usbdev6.1_ep81
[   14.606083] drivers/usb/core/inode.c: creating file '001'
[   14.606113] PM: Adding info for No Bus:usbdev6.1_ep00
[   14.606145] usb usb6: New USB device found, idVendor=1d6b, idProduct=0001
[   14.606150] usb usb6: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[   14.606156] usb usb6: Product: UHCI Host Controller
[   14.606159] usb usb6: Manufacturer: Linux 2.6.27.7 uhci_hcd
[   14.606163] usb usb6: SerialNumber: 0000:00:1d.1
[   14.606217] PM: Adding info for No Bus:usb_host7
[   14.606248] drivers/usb/core/inode.c: creating file '007'
[   14.606267] PM: Adding info for No Bus:usbmon7
[   14.606367] usb usb7: default language 0x0409
[   14.606395] PM: Adding info for usb:usb7
[   14.606399] usb usb7: uevent
[   14.606430] usb usb7: usb_probe_device
[   14.606433] usb usb7: configuration #1 chosen from 1 choice
[   14.606440] usb usb7: adding 7-0:1.0 (config #1, interface 0)
[   14.606450] PM: Adding info for usb:7-0:1.0
[   14.606453] usb 7-0:1.0: uevent
[   14.606483] hub 7-0:1.0: usb_probe_interface
[   14.606484] hub 7-0:1.0: usb_probe_interface - got id
[   14.606499] hub 7-0:1.0: no power switching (usb 1.0)
[   14.707037] PM: Adding info for No Bus:usbdev7.1_ep81
[   14.707069] drivers/usb/core/inode.c: creating file '001'
[   14.707094] PM: Adding info for No Bus:usbdev7.1_ep00
[   14.707123] usb usb7: New USB device found, idVendor=1d6b, idProduct=0001
[   14.707128] usb usb7: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[   14.707134] usb usb7: Product: UHCI Host Controller
[   14.707137] usb usb7: Manufacturer: Linux 2.6.27.7 uhci_hcd
[   14.707141] usb usb7: SerialNumber: 0000:00:1d.2
[   14.707188] PM: Adding info for No Bus:usb_host8
[   14.707216] drivers/usb/core/inode.c: creating file '008'
[   14.707235] PM: Adding info for No Bus:usbmon8
[   14.707342] usb usb8: default language 0x0409
[   14.707370] PM: Adding info for usb:usb8
[   14.707374] usb usb8: uevent
[   14.707403] usb usb8: usb_probe_device
[   14.707405] usb usb8: configuration #1 chosen from 1 choice
[   14.707412] usb usb8: adding 8-0:1.0 (config #1, interface 0)
[   14.707425] PM: Adding info for usb:8-0:1.0
[   14.707428] usb 8-0:1.0: uevent
[   14.707462] hub 8-0:1.0: usb_probe_interface
[   14.707464] hub 8-0:1.0: usb_probe_interface - got id
[   14.707478] hub 8-0:1.0: no power switching (usb 1.0)
[   14.808050] PM: Adding info for No Bus:usbdev8.1_ep81
[   14.808083] drivers/usb/core/inode.c: creating file '001'
[   14.808108] PM: Adding info for No Bus:usbdev8.1_ep00
[   14.808142] usb usb8: New USB device found, idVendor=1d6b, idProduct=0001
[   14.808147] usb usb8: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[   14.808152] usb usb8: Product: UHCI Host Controller
[   14.808156] usb usb8: Manufacturer: Linux 2.6.27.7 uhci_hcd
[   14.808160] usb usb8: SerialNumber: 0000:00:1d.3
[   14.808251] usbcore: registered new interface driver usblp
[   14.808301] usbcore: registered new interface driver usb-storage
[   14.808352] usbcore: registered new interface driver libusual
[   14.878189] usbcore: registered new interface driver hiddev
[   14.878229] usbcore: registered new interface driver usbhid
[   14.878235] usbhid: v2.6:USB HID core driver
[   15.454071] usb usb3: suspend_rh (auto-stop)
[   15.454097] usb usb4: suspend_rh (auto-stop)
[   15.704064] usb usb5: suspend_rh (auto-stop)
[   15.704089] usb usb6: suspend_rh (auto-stop)
[   15.954061] usb usb7: suspend_rh (auto-stop)
[   15.954088] usb usb8: suspend_rh (auto-stop)
[   16.701073] usb usb2: bus auto-suspend
[   16.701107] usb usb3: bus auto-suspend
[   16.701110] usb usb3: suspend_rh
[   16.701137] usb usb4: bus auto-suspend
[   16.701139] usb usb4: suspend_rh
[   16.701160] usb usb5: bus auto-suspend
[   16.701162] usb usb5: suspend_rh
[   16.701180] usb usb6: bus auto-suspend
[   16.701182] usb usb6: suspend_rh
[   16.707061] usb usb7: bus auto-suspend
[   16.707062] usb usb7: suspend_rh
[   16.808077] usb usb8: bus auto-suspend
[   16.808079] usb usb8: suspend_rh
[   17.396880] usb usb3: uevent
[   17.396896] usb 3-0:1.0: uevent
[   17.396976] usb usb4: uevent
[   17.396993] usb 4-0:1.0: uevent
[   17.397072] usb usb1: uevent
[   17.397086] usb 1-0:1.0: uevent
[   17.397116] usb 1-2: uevent
[   17.397145] usb 1-2:1.0: uevent
[   17.397175] usb 1-2:1.1: uevent
[   17.397631] usb usb5: uevent
[   17.397646] usb 5-0:1.0: uevent
[   17.397721] usb usb6: uevent
[   17.397736] usb 6-0:1.0: uevent
[   17.397814] usb usb7: uevent
[   17.397829] usb 7-0:1.0: uevent
[   17.397907] usb usb8: uevent
[   17.397921] usb 8-0:1.0: uevent
[   17.397996] usb usb2: uevent
[   17.398011] usb 2-0:1.0: uevent
[   48.613556] usb usb3: uevent
[   48.613680] usb 3-0:1.0: uevent
[   48.613953] usb usb4: uevent
[   48.614048] usb 4-0:1.0: uevent
[   48.614319] usb usb1: uevent
[   48.614402] usb 1-0:1.0: uevent
[   48.614519] usb 1-2: uevent
[   48.614641] usb 1-2:1.0: uevent
[   48.614763] usb 1-2:1.1: uevent
[   48.616113] usb usb5: uevent
[   48.616204] usb 5-0:1.0: uevent
[   48.616501] usb usb6: uevent
[   48.616585] usb 6-0:1.0: uevent
[   48.616853] usb usb7: uevent
[   48.616936] usb 7-0:1.0: uevent
[   48.617269] usb usb8: uevent
[   48.617353] usb 8-0:1.0: uevent
[   48.617621] usb usb2: uevent
[   48.617725] usb 2-0:1.0: uevent
[  153.695454] usb usb2: usb auto-resume
[  153.726188] usb usb8: usb auto-resume
[  153.726193] usb usb8: wakeup_rh
[  153.758154] usb usb7: usb auto-resume
[  153.758158] usb usb7: wakeup_rh
[  153.790137] usb usb6: usb auto-resume
[  153.790141] usb usb6: wakeup_rh
[  153.822176] usb usb5: usb auto-resume
[  153.822180] usb usb5: wakeup_rh
[  153.854185] usb usb3: usb auto-resume
[  153.854191] usb usb3: wakeup_rh
[  153.886430] usb usb4: usb auto-resume
[  153.886434] usb usb4: wakeup_rh
[  154.954165] usb usb8: suspend_rh (auto-stop)
[  154.954196] usb usb7: suspend_rh (auto-stop)
[  154.954222] usb usb6: suspend_rh (auto-stop)
[  154.954250] usb usb5: suspend_rh (auto-stop)
[  154.954275] usb usb3: suspend_rh (auto-stop)
[  154.954300] usb usb4: suspend_rh (auto-stop)
[  155.726059] usb usb2: bus auto-suspend
[  155.758045] usb usb8: bus auto-suspend
[  155.758048] usb usb8: suspend_rh
[  155.790044] usb usb7: bus auto-suspend
[  155.790046] usb usb7: suspend_rh
[  155.822044] usb usb6: bus auto-suspend
[  155.822046] usb usb6: suspend_rh
[  155.854055] usb usb5: bus auto-suspend
[  155.854057] usb usb5: suspend_rh
[  155.886047] usb usb3: bus auto-suspend
[  155.886048] usb usb3: suspend_rh
[  155.918171] usb usb4: bus auto-suspend
[  155.918173] usb usb4: suspend_rh
[  155.954257] usb usb2: usb auto-resume
[  155.990179] usb usb8: usb auto-resume
[  155.990188] usb usb8: wakeup_rh
[  156.022197] usb usb7: usb auto-resume
[  156.022201] usb usb7: wakeup_rh
[  156.054179] usb usb6: usb auto-resume
[  156.054182] usb usb6: wakeup_rh
[  156.086255] usb usb5: usb auto-resume
[  156.086259] usb usb5: wakeup_rh
[  156.118236] usb usb3: usb auto-resume
[  156.118240] usb usb3: wakeup_rh
[  156.150240] usb usb4: usb auto-resume
[  156.150244] usb usb4: wakeup_rh
[  156.660057] usb 5-1: new full speed USB device using uhci_hcd and address 2
[  156.794091] usb 5-1: default language 0x0409
[  156.808070] PM: Adding info for usb:5-1
[  156.808081] usb 5-1: uevent
[  156.808485] usb 5-1: usb_probe_device
[  156.808490] usb 5-1: configuration #1 chosen from 1 choice
[  156.811080] usb 5-1: adding 5-1:1.0 (config #1, interface 0)
[  156.811110] PM: Adding info for usb:5-1:1.0
[  156.811119] usb 5-1:1.0: uevent
[  156.811455] usb-storage 5-1:1.0: usb_probe_interface
[  156.811461] usb-storage 5-1:1.0: usb_probe_interface - got id
[  156.822839] usb-storage: device found at 2
[  156.822845] usb-storage: waiting for device to settle before scanning
[  156.823091] PM: Adding info for No Bus:usbdev5.2_ep83
[  156.823287] PM: Adding info for No Bus:usbdev5.2_ep04
[  156.823434] drivers/usb/core/inode.c: creating file '002'
[  156.823544] PM: Adding info for No Bus:usbdev5.2_ep00
[  156.823788] usb 5-1: New USB device found, idVendor=12d1, idProduct=1003
[  156.823792] usb 5-1: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[  156.823794] usb 5-1: Product: HUAWEI Mobile
[  156.823796] usb 5-1: Manufacturer: HUAWEI Technologies
[  156.824113] usb 5-1: USB disconnect, address 2
[  156.824115] usb 5-1: unregistering device
[  156.824117] usb 5-1: usb_disable_device nuking all URBs
[  156.824256] usb 5-1: unregistering interface 5-1:1.0
[  156.824307] PM: Removing info for No Bus:usbdev5.2_ep83
[  156.824508] PM: Removing info for No Bus:usbdev5.2_ep04
[  156.824658] PM: Removing info for usb:5-1:1.0
[  156.830824] usb 5-1:1.0: uevent
[  156.830970] PM: Removing info for No Bus:usbdev5.2_ep00
[  156.831148] PM: Removing info for usb:5-1
[  156.831279] usb 5-1: uevent
[  157.204053] usb usb8: suspend_rh (auto-stop)
[  157.204083] usb usb7: suspend_rh (auto-stop)
[  157.204109] usb usb6: suspend_rh (auto-stop)
[  157.204146] usb usb3: suspend_rh (auto-stop)
[  157.204170] usb usb4: suspend_rh (auto-stop)
[  157.427044] usb 5-1: new full speed USB device using uhci_hcd and address 3
[  157.565075] usb 5-1: default language 0x0409
[  157.575135] PM: Adding info for usb:5-1
[  157.575145] usb 5-1: uevent
[  157.575163] usb 5-1: usb_probe_device
[  157.575166] usb 5-1: configuration #1 chosen from 1 choice
[  157.578091] usb 5-1: adding 5-1:1.0 (config #1, interface 0)
[  157.578122] PM: Adding info for usb:5-1:1.0
[  157.578130] usb 5-1:1.0: uevent
[  157.578153] usb-storage 5-1:1.0: usb_probe_interface
[  157.578156] usb-storage 5-1:1.0: usb_probe_interface - got id
[  157.587361] usb-storage: probe of 5-1:1.0 failed with error -5
[  157.587375] libusual 5-1:1.0: usb_probe_interface
[  157.587379] libusual 5-1:1.0: usb_probe_interface - got id
[  157.590125] PM: Adding info for No Bus:usbdev5.3_ep81
[  157.590301] PM: Adding info for No Bus:usbdev5.3_ep82
[  157.590562] PM: Adding info for No Bus:usbdev5.3_ep02
[  157.590764] usb 5-1: adding 5-1:1.1 (config #1, interface 1)
[  157.590937] PM: Adding info for usb:5-1:1.1
[  157.591030] usb 5-1:1.1: uevent
[  157.591308] usb-storage 5-1:1.1: usb_probe_interface
[  157.591313] usb-storage 5-1:1.1: usb_probe_interface - got id
[  157.596253] usb-storage: probe of 5-1:1.1 failed with error -5
[  157.596392] libusual 5-1:1.1: usb_probe_interface
[  157.596397] libusual 5-1:1.1: usb_probe_interface - got id
[  157.603213] PM: Adding info for No Bus:usbdev5.3_ep85
[  157.603258] PM: Adding info for No Bus:usbdev5.3_ep05
[  157.603269] usb 5-1: adding 5-1:1.2 (config #1, interface 2)
[  157.603286] PM: Adding info for usb:5-1:1.2
[  157.603289] usb 5-1:1.2: uevent
[  157.603305] usb-storage 5-1:1.2: usb_probe_interface
[  157.603308] usb-storage 5-1:1.2: usb_probe_interface - got id
[  157.606217] PM: Adding info for No Bus:usbdev5.3_ep83
[  157.606291] usb-storage: device found at 3
[  157.606295] usb-storage: waiting for device to settle before scanning
[  157.606423] PM: Adding info for No Bus:usbdev5.3_ep04
[  157.606484] drivers/usb/core/inode.c: creating file '003'
[  157.606571] PM: Adding info for No Bus:usbdev5.3_ep00
[  157.606631] usb 5-1: New USB device found, idVendor=12d1, idProduct=1003
[  157.606635] usb 5-1: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[  157.606638] usb 5-1: Product: HUAWEI Mobile
[  157.606640] usb 5-1: Manufacturer: HUAWEI Technologies
[  157.647570] usb_storage: version magic '2.6.27.7 mod_unload 486 ' should be '2.6.27.7 SMP mod_unload CORE2 '
[  157.666655] usbserial: version magic '2.6.27.7 mod_unload 486 ' should be '2.6.27.7 SMP mod_unload CORE2 '
[  161.701197] usb usb2: bus auto-suspend
[  161.701363] usb usb8: bus auto-suspend
[  161.701367] usb usb8: suspend_rh
[  161.701509] usb usb6: bus auto-suspend
[  161.701512] usb usb6: suspend_rh
[  161.701653] usb usb3: bus auto-suspend
[  161.701656] usb usb3: suspend_rh
[  161.701823] usb usb4: bus auto-suspend
[  161.701826] usb usb4: suspend_rh
[  161.701967] usb usb7: bus auto-suspend
[  161.701970] usb usb7: suspend_rh
[  162.635516] usb-storage: device scan complete

Last edited by dragoun; 10-16-2009 at 12:02 PM.
 
Old 10-16-2009, 12:43 PM   #10
hurry_hui
Member
 
Registered: Oct 2008
Location: Near Jakarta
Distribution: Slackware, Arch, Slax, Porteus, Tiny Core, Slitaz
Posts: 355
Blog Entries: 1

Rep: Reputation: 52
Just an idea it seems that your USB modem turn back as USB storage (a.k.a ZeroCD device). If it is, you need USB_ModeSwitch or huaweiAktBbo to set it back functioning as modem.

Btw, we need your lsusb and lsmod output.
 
Old 10-16-2009, 12:50 PM   #11
rg3
Member
 
Registered: Jul 2007
Distribution: Fedora
Posts: 527

Rep: Reputation: Disabled
The need for those two tools disappeared long ago. Now the option module provides the driver for it. Trust me, I have a Huawei E220 too. Let me insist on modprobe option and plugging the modem in.
 
Old 10-16-2009, 01:28 PM   #12
hurry_hui
Member
 
Registered: Oct 2008
Location: Near Jakarta
Distribution: Slackware, Arch, Slax, Porteus, Tiny Core, Slitaz
Posts: 355
Blog Entries: 1

Rep: Reputation: 52
rg3 seems correct. Option is handling the Huawei's IDs.

see output from modinfo option

Code:
sabayon ~ # modinfo option
filename:       /lib/modules/2.6.27.3/kernel/drivers/usb/serial/option.ko
license:        GPL
version:        v0.7.2
description:    USB Driver for GSM modems
author:         Matthias Urlichs <smurf@smurf.noris.de>
srcversion:     F62C238B896E689B3BF7996
...
alias:          usb:v12D1p1003d*dc*dsc*dp*icFFiscFFipFF*
alias:          usb:v12D1p1001d*dc*dsc*dp*icFFiscFFipFF*
...
depends:        usbserial
vermagic:       2.6.27.3 SMP mod_unload modversions CORE2
parm:           debug:Debug messages (bool)
Still we need lsusb and lsmod output.
 
Old 10-16-2009, 01:58 PM   #13
dragoun
LQ Newbie
 
Registered: Jul 2009
Location: Algeria
Distribution: Slackware
Posts: 6

Original Poster
Rep: Reputation: 0
Hi
Just one question about modprob,How do I get the kernel module supposed that provide the driver for my device device. ?

-
lsmod give nothing :/
Code:
Module           Size     Used By
lsusb:
Code:
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 008 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 007 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 005 Device 003: ID 12d1:1003 Huawei Technologies Co., Ltd. E220 HSDPA Modem / E270 HSDPA/HSUPA Modem
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 002: ID 04f2:b070 Chicony Electronics Co., Ltd 
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
PS: keep in mind that The modem worked before that I begin to try making the kernel..[Look Up for precision ]

Last edited by dragoun; 10-16-2009 at 02:10 PM.
 
Old 10-16-2009, 02:13 PM   #14
rg3
Member
 
Registered: Jul 2007
Distribution: Fedora
Posts: 527

Rep: Reputation: Disabled
Your kernel probably has everything compiled in. You need to compile them as modules.
 
Old 10-16-2009, 03:34 PM   #15
dragoun
LQ Newbie
 
Registered: Jul 2009
Location: Algeria
Distribution: Slackware
Posts: 6

Original Poster
Rep: Reputation: 0
sudo modprobe option give me this
Code:
FATAL: Error insertins usbserial (/lib/modules/2.6.27.7/kernel/drivers/usb/serial/usbserial.ko: invalid modul format)
 
  


Reply

Tags
modem, ppp, slackware



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
/dev/ttyUSB0 permissions joegumbo Slackware 6 03-11-2013 05:23 PM
How do I read and write to /dev/ttyUSB0 in C? LinuxTexan Linux - Newbie 12 11-24-2010 03:03 AM
/dev/ttyUSB0 is missing dalmat Linux - Newbie 4 12-03-2009 11:29 PM
/dev/ttyUSB0 and permissions mrsolo Linux - Software 1 11-14-2004 03:24 PM
/dev/ttyUSB0 js72 Linux - Networking 1 01-05-2003 06:02 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 11:28 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration