Nie jesteś zalogowany.
Jeśli nie posiadasz konta, zarejestruj je już teraz! Pozwoli Ci ono w pełni korzystać z naszego serwisu. Spamerom dziękujemy!
Prosimy o pomoc dla małej Julki — przekaż 1% podatku na Fundacji Dzieciom zdazyć z Pomocą.
Więcej informacji na dug.net.pl/pomagamy/.


Użytkownik



Witam
Mam problem z urzadzeniem USB. Mianowicie jestem podlaczony do sieci prze iplus, modem option icon 225. Łącze sie przez skrypty i pppd. Siec mialem i wszytsko bylo ok az do w czoraj gdy sie bawilem by podlaczyc irda. zaladowalem moduly przez modcon do irdy i po tym chyba mi siadlo. po wykonaniu pppd call iplus otzrymuje komunikat: unrecognized option /dev/ttyUSB2. Rozumiem ze nie widzi portu usb. czy to mozliwe? pomozcie jak to ugryzc?
Offline




Moderator Mamut
sprawdz czy nie zmienilo sie oznaczenie portu ttyUSB
Offline


Użytkownik



zmienilem w skrypcie na /dev/ttyUSB1 i przepiolem modem i ten samo info wyskoczylo. chyba ze do zlego nr wlozylem ale zaraz sprawdze.
Offline




Moderator Mamut
jezeli masz udev to zobacz jakie urzadzenia /dev/ttyUSB* sa tworzone ... standardowo numer tego nie zalezy od portu USB a od kolejnosci pojawiania sie tego typu urzadzen w systemie ...
Offline


Użytkownik



tylko jak mam to zobaczyc?wejsc do katalogu?
aha bym zapomial jak odpalam pppd call iplus to mam:
pppd: in file /etc/ppp/peers/iplus unrecognized option /dev/ttyUSB2
Ostatnio edytowany przez torpeda80 (2008-07-04 19:31:42)
Offline


Użytkownik



w /dev nie ma /dev/ttyUSB zadnego - po wykonaniu lsusb. czy to sie gdzies indziej znajduje?
#ls /dev/ttyUSB*
ls: nie ma dostępu do /dev/ttyUSB*: Nie ma takiego pliku ani katalogu
Ostatnio edytowany przez torpeda80 (2008-07-04 20:55:24)
Offline




Moderator Mamut
przy podlaczonym modemie nie ma ?
co jest wpisywane do dmesg w momecie podlaczania modemu ?
Offline



Redaktor




lsusb musisz wykonać jako root. Inaczej nie wszystko zobaczysz. Jaki jest pobór prądu przez modem? Jest to gdzieś napisane. W instrukcji modemu lub na jego etykiecie.
Offline


Użytkownik



gdy wykonuje lsusb jako root to jest tam moj moedm option ale jak wykonuje ls /dev/ttyUSB* lub gdy przegladm przy wlaczonym modemie /dev/ to nie ma tam urzadzen zadnych /dev/ttyUSBX.
moj dmesg to:
[Initializing cgroup subsys cpuset
Linux version 2.6.24-1-686 (Debian 2.6.24-7) (dannf@debian.org) (gcc version 4.1.3 20080114 (prerelease) (Debian 4.1.2-19)) #1 SMP Thu May 8 02:16:39 UTC 2008
BIOS-provided physical RAM map:
BIOS-e820: 0000000000000000 - 000000000009fc00 (usable)
BIOS-e820: 000000000009fc00 - 00000000000a0000 (reserved)
BIOS-e820: 00000000000f0000 - 0000000000100000 (reserved)
BIOS-e820: 0000000000100000 - 000000000dffb000 (usable)
BIOS-e820: 000000000dffb000 - 000000000dfff000 (ACPI data)
BIOS-e820: 000000000dfff000 - 000000000e000000 (ACPI NVS)
BIOS-e820: 00000000fec00000 - 00000000fec01000 (reserved)
BIOS-e820: 00000000fee00000 - 00000000fee01000 (reserved)
BIOS-e820: 00000000ffff0000 - 0000000100000000 (reserved)
0MB HIGHMEM available.
223MB LOWMEM available.
Entering add_active_range(0, 0, 57339) 0 entries of 256 used
Zone PFN ranges:
DMA 0 -> 4096
Normal 4096 -> 57339
HighMem 57339 -> 57339
Movable zone start PFN for each node
early_node_map[1] active PFN ranges
0: 0 -> 57339
On node 0 totalpages: 57339
DMA zone: 32 pages used for memmap
DMA zone: 0 pages reserved
DMA zone: 4064 pages, LIFO batch:0
Normal zone: 415 pages used for memmap
Normal zone: 52828 pages, LIFO batch:15
HighMem zone: 0 pages used for memmap
Movable zone: 0 pages used for memmap
DMI 2.3 present.
ACPI: RSDP 000F6460, 0014 (r0 ASUS )
ACPI: RSDT 0DFFB000, 0030 (r1 ASUS A2H/L 42302E31 MSFT 31313031)
ACPI: FACP 0DFFB0C0, 0074 (r1 ASUS A2H/L 42302E31 MSFT 31313031)
ACPI: DSDT 0DFFB134, 39A2 (r1 ASUS A2H/L 1000 MSFT 100000E)
ACPI: FACS 0DFFF000, 0040
ACPI: BOOT 0DFFB030, 0028 (r1 ASUS A2H/L 42302E31 MSFT 31313031)
ACPI: APIC 0DFFB058, 005A (r1 ASUS A2H/L 42302E31 MSFT 31313031)
ACPI: PM-Timer IO Port: 0xe408
ACPI: Local APIC address 0xfee00000
ACPI: LAPIC (acpi_id[0x00] lapic_id[0x00] enabled)
Processor #0 15:2 APIC version 20
ACPI: LAPIC_NMI (acpi_id[0x00] high edge lint[0x1])
ACPI: IOAPIC (id[0x02] address[0xfec00000] gsi_base[0])
IOAPIC[0]: apic_id 2, version 128, address 0xfec00000, GSI 0-23
ACPI: INT_SRC_OVR (bus 0 bus_irq 0 global_irq 2 dfl edge)
ACPI: INT_SRC_OVR (bus 0 bus_irq 9 global_irq 20 low level)
ACPI: IRQ0 used by override.
ACPI: IRQ2 used by override.
Enabling APIC mode: Flat. Using 1 I/O APICs
Using ACPI (MADT) for SMP configuration information
Allocating PCI resources starting at 10000000 (gap: 0e000000:f0c00000)
swsusp: Registered nosave memory region: 000000000009f000 - 00000000000a0000
swsusp: Registered nosave memory region: 00000000000a0000 - 00000000000f0000
swsusp: Registered nosave memory region: 00000000000f0000 - 0000000000100000
Built 1 zonelists in Zone order, mobility grouping on. Total pages: 56892
Kernel command line: root=/dev/hda5 ro
mapped APIC to ffffb000 (fee00000)
mapped IOAPIC to ffffa000 (fec00000)
Enabling fast FPU save and restore... done.
Enabling unmasked SIMD FPU exception support... done.
Initializing CPU#0
PID hash table entries: 1024 (order: 10, 4096 bytes)
Detected 2191.138 MHz processor.
Console: colour VGA+ 80x25
console [tty0] enabled
Dentry cache hash table entries: 32768 (order: 5, 131072 bytes)
Inode-cache hash table entries: 16384 (order: 4, 65536 bytes)
Memory: 217324k/229356k available (1786k kernel code, 11492k reserved, 714k data, 248k init, 0k highmem)
virtual kernel memory layout:
fixmap : 0xfff4c000 - 0xfffff000 ( 716 kB)
pkmap : 0xff800000 - 0xffc00000 (4096 kB)
vmalloc : 0xce800000 - 0xff7fe000 ( 783 MB)
lowmem : 0xc0000000 - 0xcdffb000 ( 223 MB)
.init : 0xc0377000 - 0xc03b5000 ( 248 kB)
.data : 0xc02beaf9 - 0xc0371384 ( 714 kB)
.text : 0xc0100000 - 0xc02beaf9 (1786 kB)
Checking if this processor honours the WP bit even in supervisor mode... Ok.
Calibrating delay using timer specific routine.. 4386.34 BogoMIPS (lpj=8772684)
Security Framework initialized
SELinux: Disabled at boot.
Capability LSM initialized
Mount-cache hash table entries: 512
Initializing cgroup subsys ns
Initializing cgroup subsys cpuacct
CPU: After generic identify, caps: bfebfbff 00000000 00000000 00000000 00004400 00000000 00000000 00000000
CPU: Trace cache: 12K uops, L1 D cache: 8K
CPU: L2 cache: 256K
CPU: Hyper-Threading is disabled
CPU: After all inits, caps: bfebfbff 00000000 00000000 0000b080 00004400 00000000 00000000 00000000
Intel machine check architecture supported.
Intel machine check reporting enabled on CPU#0.
CPU0: Intel P4/Xeon Extended MCE MSRs (12) available
CPU0: Thermal monitoring enabled
Compat vDSO mapped to ffffe000.
Checking 'hlt' instruction... OK.
SMP alternatives: switching to UP code
Freeing SMP alternatives: 11k freed
ACPI: Core revision 20070126
CPU0: Intel Mobile Intel(R) Celeron(R) CPU 2.20GHz stepping 09
Total of 1 processors activated (4386.34 BogoMIPS).
ENABLING IO-APIC IRQs
..TIMER: vector=0x31 apic1=0 pin1=2 apic2=-1 pin2=-1
Brought up 1 CPUs
net_namespace: 64 bytes
Booting paravirtualized kernel on bare hardware
NET: Registered protocol family 16
ACPI: bus type pci registered
PCI: PCI BIOS revision 2.10 entry at 0xf1740, last bus=1
PCI: Using configuration type 1
Setting up standard PCI resources
ACPI: EC: Look up EC in DSDT
ACPI: Interpreter enabled
ACPI: (supports S0 S1 S3 S4 S5)
ACPI: Using IOAPIC for interrupt routing
ACPI: PCI Root Bridge [PCI0] (0000:00)
Enabling SiS 96x SMBus.
ACPI: PCI Interrupt Routing Table [\_SB_.PCI0._PRT]
ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.PCI1._PRT]
ACPI: PCI Interrupt Link [LNKA] (IRQs 4 5 9 *11)
ACPI: PCI Interrupt Link [LNKB] (IRQs 4 7 9 *11)
ACPI: PCI Interrupt Link [LNKC] (IRQs 5 6 *11)
ACPI: PCI Interrupt Link [LNKD] (IRQs 4 5 6 7) *11
ACPI: PCI Interrupt Link [LNKE] (IRQs 3 5 11) *4
ACPI: PCI Interrupt Link [LNKF] (IRQs 3 5 11) *4
ACPI: PCI Interrupt Link [LNKG] (IRQs 3 5 11) *4
ACPI: PCI Interrupt Link [LNKH] (IRQs 3 5 11) *4
Linux Plug and Play Support v0.97 (c) Adam Belay
pnp: PnP ACPI init
ACPI: bus type pnp registered
pnp: PnP ACPI: found 14 devices
ACPI: ACPI bus type pnp unregistered
PnPBIOS: Disabled by ACPI PNP
PCI: Using ACPI for IRQ routing
PCI: If a device doesn't work, try "pci=routeirq". If it helps, post a report
NET: Registered protocol family 8
NET: Registered protocol family 20
ACPI: RTC can wake from S4
Time: tsc clocksource has been installed.
system 00:00: iomem range 0x0-0x9ffff could not be reserved
system 00:00: iomem range 0xf0000-0xfffff could not be reserved
system 00:00: iomem range 0x100000-0xdffffff could not be reserved
system 00:00: iomem range 0xfec00000-0xfec000ff could not be reserved
system 00:02: ioport range 0xe400-0xe47f has been reserved
system 00:02: ioport range 0xe480-0xe4ff has been reserved
system 00:02: ioport range 0xe600-0xe61f has been reserved
system 00:02: ioport range 0x480-0x48f has been reserved
system 00:02: iomem range 0xffee0000-0xffefffff has been reserved
system 00:03: iomem range 0xfffe0000-0xffffffff could not be reserved
system 00:04: ioport range 0x4d0-0x4d1 has been reserved
system 00:04: ioport range 0x600-0x61f has been reserved
system 00:04: ioport range 0x800-0x87f has been reserved
system 00:04: ioport range 0x880-0x88f has been reserved
system 00:04: iomem range 0xfff80000-0xfffdffff has been reserved
system 00:0d: ioport range 0x290-0x297 has been reserved
system 00:0d: ioport range 0x500-0x507 has been reserved
PCI: Bridge: 0000:00:01.0
IO window: d000-dfff
MEM window: e7800000-e7ffffff
PREFETCH window: f0000000-febfffff
PCI: Bus 2, cardbus bridge: 0000:00:0a.0
IO window: 00001000-000010ff
IO window: 00001400-000014ff
PREFETCH window: 10000000-13ffffff
MEM window: 14000000-17ffffff
PCI: Setting latency timer of device 0000:00:01.0 to 64
ACPI: PCI Interrupt 0000:00:0a.0[A] -> GSI 16 (level, low) -> IRQ 16
NET: Registered protocol family 2
IP route cache hash table entries: 2048 (order: 1, 8192 bytes)
TCP established hash table entries: 8192 (order: 4, 65536 bytes)
TCP bind hash table entries: 8192 (order: 4, 65536 bytes)
TCP: Hash tables configured (established 8192 bind 8192)
TCP reno registered
checking if image is initramfs... it is
Switched to high resolution mode on CPU 0
Freeing initrd memory: 6367k freed
Simple Boot Flag at 0x3a set to 0x1
audit: initializing netlink socket (disabled)
audit(1215244418.024:1): initialized
Total HugeTLB memory allocated, 0
VFS: Disk quotas dquot_6.5.1
Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
io scheduler noop registered
io scheduler anticipatory registered
io scheduler deadline registered
io scheduler cfq registered (default)
Boot video device is 0000:01:00.0
isapnp: Scanning for PnP cards...
isapnp: No Plug & Play device found
Serial: 8250/16550 driver $Revision: 1.90 $ 4 ports, IRQ sharing enabled
serial8250: ttyS1 at I/O 0x2f8 (irq = 3) is a 16550A
ACPI: PCI Interrupt 0000:00:02.6[C] -> GSI 18 (level, low) -> IRQ 17
ACPI: PCI interrupt for device 0000:00:02.6 disabled
RAMDISK driver initialized: 16 RAM disks of 8192K size 1024 blocksize
PNP: PS/2 Controller [PNP0303:PS2K,PNP0f13:PS2M] at 0x60,0x64 irq 1,12
i8042.c: Detected active multiplexing controller, rev 1.1.
serio: i8042 KBD port at 0x60,0x64 irq 1
serio: i8042 AUX0 port at 0x60,0x64 irq 12
serio: i8042 AUX1 port at 0x60,0x64 irq 12
serio: i8042 AUX2 port at 0x60,0x64 irq 12
serio: i8042 AUX3 port at 0x60,0x64 irq 12
mice: PS/2 mouse device common for all mice
cpuidle: using governor ladder
cpuidle: using governor menu
TCP bic registered
NET: Registered protocol family 1
NET: Registered protocol family 17
Using IPI No-Shortcut mode
registered taskstats version 1
Freeing unused kernel memory: 248k freed
input: AT Translated Set 2 keyboard as /class/input/input0
ACPI: CPU0 (power states: C1[C1] C2[C2] C3[C3])
ACPI: Processor [CPU0] (supports 8 throttling states)
ACPI Exception (processor_core-0816): AE_NOT_FOUND, Processor Device is not present [20070126]
ACPI: Thermal Zone [THRM] (42 C)
ACPI: PCI Interrupt 0000:00:02.3[b] -> GSI 17 (level, low) -> IRQ 18
Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2
ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
firewire_ohci: Added fw-ohci device 0000:00:02.3, OHCI version 1.0
usbcore: registered new interface driver usbfs
usbcore: registered new interface driver hub
SIS5513: IDE controller (0x1039:0x5513 rev 0x00) at PCI slot 0000:00:02.5
SIS5513: not 100% native mode: will probe irqs later
SIS5513: SiS 962/963 MuTIOL IDE UDMA133 controller
ide0: BM-DMA at 0xb800-0xb807, BIOS settings: hda:DMA, hdb:DMA
SIS5513: IDE port disabled
Probing IDE interface ide0...
usbcore: registered new device driver usb
sis900.c: v1.08.10 Apr. 2 2006
ohci_hcd: 2006 August 04 USB 1.1 'Open' Host Controller (OHCI) Driver
Marking TSC unstable due to: TSC halts in idle.
Time: acpi_pm clocksource has been installed.
hdb: TOSHIBA DVD-ROM SD-R2312, ATAPI CD/DVD-ROM drive
firewire_core: created new fw device fw0 (0 config rom retries, S400)
hda: IC25N040ATCS04-0, ATA DISK drive
hda: host max PIO4 wanted PIO255(auto-tune) selected PIO4
hda: UDMA/100 mode selected
hdb: host max PIO4 wanted PIO255(auto-tune) selected PIO4
hdb: UDMA/33 mode selected
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
ACPI: PCI Interrupt 0000:00:04.0[A] -> GSI 19 (level, low) -> IRQ 19
0000:00:04.0: Realtek RTL8201 PHY transceiver found at address 1.
0000:00:04.0: Using transceiver found at address 1 as default
eth0: SiS 900 PCI Fast Ethernet at 0xa000, IRQ 19, 00:0e:a6:0b:c4:6b
ACPI: PCI Interrupt 0000:00:03.0[A] -> GSI 20 (level, low) -> IRQ 20
ohci_hcd 0000:00:03.0: OHCI Host Controller
ohci_hcd 0000:00:03.0: new USB bus registered, assigned bus number 1
ohci_hcd 0000:00:03.0: irq 20, io mem 0xe6800000
udev: renamed network interface eth0 to eth1
SCSI subsystem initialized
libata version 3.00 loaded.
usb usb1: configuration #1 chosen from 1 choice
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 2 ports detected
ACPI: PCI Interrupt 0000:00:03.1[b] -> GSI 21 (level, low) -> IRQ 21
ohci_hcd 0000:00:03.1: OHCI Host Controller
ohci_hcd 0000:00:03.1: new USB bus registered, assigned bus number 2
ohci_hcd 0000:00:03.1: irq 21, io mem 0xe6000000
usb usb2: configuration #1 chosen from 1 choice
hub 2-0:1.0: USB hub found
hub 2-0:1.0: 2 ports detected
ACPI: PCI Interrupt 0000:00:03.2[C] -> GSI 22 (level, low) -> IRQ 22
ohci_hcd 0000:00:03.2: OHCI Host Controller
ohci_hcd 0000:00:03.2: new USB bus registered, assigned bus number 3
ohci_hcd 0000:00:03.2: irq 22, io mem 0xe5800000
usb usb3: configuration #1 chosen from 1 choice
hub 3-0:1.0: USB hub found
hub 3-0:1.0: 2 ports detected
ACPI: PCI Interrupt 0000:00:03.3[D] -> GSI 23 (level, low) -> IRQ 23
ehci_hcd 0000:00:03.3: EHCI Host Controller
ehci_hcd 0000:00:03.3: new USB bus registered, assigned bus number 4
PCI: cache line size of 128 is not supported by device 0000:00:03.3
ehci_hcd 0000:00:03.3: irq 23, io mem 0xe5000000
ehci_hcd 0000:00:03.3: USB 2.0 started, EHCI 1.00, driver 10 Dec 2004
usb usb4: configuration #1 chosen from 1 choice
hub 4-0:1.0: USB hub found
hub 4-0:1.0: 6 ports detected
hda: max request size: 128KiB
hda: 78140160 sectors (40007 MB) w/1768KiB Cache, CHS=65535/16/63
hda: cache flushes not supported
hda: hda1 hda2 hda3 < hda5 hda6 hda7 hda8 hda9 hda10 > hda4
hdb: ATAPI 24X DVD-ROM CD-R/RW drive, 2048kB Cache
Uniform CD-ROM driver Revision: 3.20
Attempting manual resume
swsusp: Marking nosave pages: 000000000009f000 - 0000000000100000
swsusp: Basic memory bitmaps created
swsusp: Basic memory bitmaps freed
kjournald starting. Commit interval 5 seconds
EXT3-fs: mounted filesystem with ordered data mode.
Linux agpgart interface v0.102
agpgart: Detected SiS chipset - id:1616
agpgart: AGP aperture is 64M @ 0xe8000000
pci_hotplug: PCI Hot Plug PCI Core version: 0.5
input: Power Button (FF) as /class/input/input1
ACPI: Power Button (FF) [PWRF]
input: Lid Switch as /class/input/input2
ACPI: Lid Switch [LID]
input: Power Button (CM) as /class/input/input3
ACPI: Power Button (CM) [PWRB]
input: Sleep Button (CM) as /class/input/input4
ACPI: Sleep Button (CM) [SLPB]
ACPI: AC Adapter [AC] (on-line)
Asus Laptop ACPI Extras version 0.30
A2H model detected, supported
ACPI: Battery Slot [BAT0] (battery present)
sis96x_smbus 0000:00:02.1: SiS96x SMBus base address: 0xe600
shpchp: Standard Hot Plug PCI Controller Driver version: 0.4
Yenta: CardBus bridge found at 0000:00:0a.0 [1043:1764]
Yenta: adjusting diagnostic: 20 -> 60
Yenta: Using CSCINT to route CSC interrupts to PCI
Yenta: Routing CardBus interrupts to PCI
Yenta TI: socket 0000:00:0a.0, mfunc 0x00101d02, devctl 0x44
Yenta: ISA IRQ mask 0x0ef8, PCI irq 16
Socket status: 30000006
Real Time Clock Driver v1.12ac
input: PC Speaker as /class/input/input5
irda_init()
NET: Registered protocol family 23
Synaptics Touchpad, model: 1, fw: 4.6, id: 0x925ea1, caps: 0x80471b/0x0
input: SynPS/2 Synaptics TouchPad as /class/input/input6
parport_pc 00:09: reported by Plug and Play ACPI
parport0: PC-style at 0x378 (0x778), irq 7, dma 3 [PCSPP,TRISTATE,COMPAT,ECP,DMA]
ACPI: PCI Interrupt 0000:00:02.7[C] -> GSI 18 (level, low) -> IRQ 17
cs: IO port probe 0x100-0x3af: clean.
cs: IO port probe 0x3e0-0x4ff: clean.
cs: IO port probe 0x820-0x8ff: clean.
cs: IO port probe 0xc00-0xcf7: clean.
cs: IO port probe 0xa00-0xaff: clean.
intel8x0_measure_ac97_clock: measured 55270 usecs
intel8x0: clocking to 48000
ACPI: PCI Interrupt 0000:00:02.6[C] -> GSI 18 (level, low) -> IRQ 17
Adding 546168k swap on /dev/hda8. Priority:-1 extents:1 across:546168k
EXT3 FS on hda5, internal journal
loop: module loaded
usbserial: Unknown parameter `ircomm'
usbcore: registered new interface driver usbserial
drivers/usb/serial/usb-serial.c: USB Serial support registered for generic
usbcore: registered new interface driver usbserial_generic
drivers/usb/serial/usb-serial.c: USB Serial Driver core
device-mapper: uevent: version 1.0.3
device-mapper: ioctl: 4.12.0-ioctl (2007-10-02) initialised: dm-devel@redhat.com
fuse init (API version 7.9)
kjournald starting. Commit interval 5 seconds
EXT3 FS on hda10, internal journal
EXT3-fs: mounted filesystem with ordered data mode.
kjournald starting. Commit interval 5 seconds
EXT3 FS on hda9, internal journal
EXT3-fs: mounted filesystem with ordered data mode.
kjournald starting. Commit interval 5 seconds
EXT3 FS on hda6, internal journal
EXT3-fs: mounted filesystem with ordered data mode.
kjournald starting. Commit interval 5 seconds
EXT3 FS on hda7, internal journal
EXT3-fs: mounted filesystem with ordered data mode.
eth1: Media Link Off
No dock devices found.
lp0: using parport0 (interrupt-driven).
ppdev: user-space parallel port driver
NET: Registered protocol family 10
lo: Disabled Privacy Extensions
ADDRCONF(NETDEV_UP): eth1: link is not ready
Bluetooth: Core ver 2.11
NET: Registered protocol family 31
Bluetooth: HCI device and connection manager initialized
Bluetooth: HCI socket layer initialized
Bluetooth: L2CAP ver 2.9
Bluetooth: L2CAP socket layer initialized
Bluetooth: RFCOMM socket layer initialized
Bluetooth: RFCOMM TTY layer initialized
Bluetooth: RFCOMM ver 1.8
usb 1-1: new full speed USB device using ohci_hcd and address 2
usb 1-1: configuration #1 chosen from 1 choice
usb 3-1: new low speed USB device using ohci_hcd and address 2
usb 3-1: configuration #1 chosen from 1 choice
usbcore: registered new interface driver hiddev
input: Logitech Optical USB Mouse as /class/input/input7
input,hidraw0: USB HID v1.10 Mouse [Logitech Optical USB Mouse] on usb-0000:00:03.2-1
usbcore: registered new interface driver usbhid
drivers/hid/usbhid/hid-core.c: v2.6:USB HID core driver
usb 4-4: new high speed USB device using ehci_hcd and address 4
usb 4-4: configuration #1 chosen from 1 choice
Initializing USB Mass Storage driver...
scsi0 : SCSI emulation for USB Mass Storage devices
usbcore: registered new interface driver usb-storage
USB Mass Storage support registered.
usb-storage: device found at 4
usb-storage: waiting for device to settle before scanning
usb-storage: device scan complete
scsi 0:0:0:0: Direct-Access Kingston DataTraveler 2.0 PMAP PQ: 0 ANSI: 0 CCS
Driver 'sd' needs updating - please use bus_type methods
sd 0:0:0:0: [sda] 7823360 512-byte hardware sectors (4006 MB)
sd 0:0:0:0: [sda] Write Protect is off
sd 0:0:0:0: [sda] Mode Sense: 23 00 00 00
sd 0:0:0:0: [sda] Assuming drive cache: write through
sd 0:0:0:0: [sda] 7823360 512-byte hardware sectors (4006 MB)
sd 0:0:0:0: [sda] Write Protect is off
sd 0:0:0:0: [sda] Mode Sense: 23 00 00 00
sd 0:0:0:0: [sda] Assuming drive cache: write through
sda: sda1
sd 0:0:0:0: [sda] Attached SCSI removable disk
eck289:/home/bartosz#Offline
Użytkownik

Ten dmesg to chyba nie jest wykonany tuż po podłączeniu modemu? Ostatnie pozycje wskazują na jakieś urządzenie blokowe (pendrive??).
Ja proponuję: uruchom w terminalu/konsoli z prawami roota
udevmonitor
. Następnie podłącz modem a to wszystko co wyświetli ten program prześlij tutaj. W czym jest problem żeby to połączenie internetowe zainstalować lub skonfigurować jeszcze raz?
Offline



Redaktor




Według mnie niepotrzebnie szukasz w dev tego urządzenia. Najpierw przedstaw wynik
lsusb
jako root.
Ostatnio edytowany przez fnmirk (2008-07-06 08:23:39)
Offline


Użytkownik



Smile:
prawnik:/home/bartosz# udevmonitor
udevmonitor will print the received events for:
UDEV the event which udev sends out after rule processing
UEVENT the kernel uevent
UEVENT[1215367452.597272] add /devices/pci0000:00/0000:00:03.0/usb1/1-1 (us
b)
UEVENT[1215367452.597363] add /class/usb_endpoint/usbdev1.2_ep00 (usb_endpo
int)
UEVENT[1215367452.603952] add /devices/pci0000:00/0000:00:03.0/usb1/1-1/1-1
:1.0 (usb)
UEVENT[1215367452.609095] add /class/usb_endpoint/usbdev1.2_ep83 (usb_endpo
int)
UEVENT[1215367452.609162] add /class/usb_endpoint/usbdev1.2_ep03 (usb_endpo
int)
UEVENT[1215367452.609177] add /class/usb_endpoint/usbdev1.2_ep85 (usb_endpo
int)
UEVENT[1215367452.609190] add /devices/pci0000:00/0000:00:03.0/usb1/1-1/1-1
:1.1 (usb)
UEVENT[1215367452.611305] add /class/usb_endpoint/usbdev1.2_ep84 (usb_endpo
int)
UEVENT[1215367452.611361] add /class/usb_endpoint/usbdev1.2_ep04 (usb_endpo
int)
UEVENT[1215367452.611375] add /devices/pci0000:00/0000:00:03.0/usb1/1-1/1-1
:1.2 (usb)
UEVENT[1215367452.614297] add /class/usb_endpoint/usbdev1.2_ep81 (usb_endpo
int)
UEVENT[1215367452.614342] add /class/usb_endpoint/usbdev1.2_ep82 (usb_endpo
int)
UEVENT[1215367452.614355] add /class/usb_endpoint/usbdev1.2_ep02 (usb_endpo
int)
UEVENT[1215367452.614368] add /class/usb_device/usbdev1.2 (usb_device)
UDEV [1215367452.620488] add /devices/pci0000:00/0000:00:03.0/usb1/1-1 (us
b)
UDEV [1215367452.639932] add /class/usb_endpoint/usbdev1.2_ep00 (usb_endpo
int)
UDEV [1215367452.642615] add /devices/pci0000:00/0000:00:03.0/usb1/1-1/1-1
:1.0 (usb)
UDEV [1215367452.651926] add /devices/pci0000:00/0000:00:03.0/usb1/1-1/1-1
:1.1 (usb)
UDEV [1215367452.674849] add /devices/pci0000:00/0000:00:03.0/usb1/1-1/1-1
:1.2 (usb)
UDEV [1215367452.797613] add /class/usb_endpoint/usbdev1.2_ep83 (usb_endpo
int)
UDEV [1215367452.840546] add /class/usb_endpoint/usbdev1.2_ep03 (usb_endpo
int)
UDEV [1215367452.850147] add /class/usb_endpoint/usbdev1.2_ep85 (usb_endpo
int)
UDEV [1215367452.889263] add /class/usb_endpoint/usbdev1.2_ep81 (usb_endpo
int)
UDEV [1215367452.907511] add /class/usb_endpoint/usbdev1.2_ep82 (usb_endpo
int)
UDEV [1215367452.920068] add /class/usb_endpoint/usbdev1.2_ep02 (usb_endpo
int)
UDEV [1215367452.933988] add /class/usb_endpoint/usbdev1.2_ep84 (usb_endpo
int)
UDEV [1215367452.937027] add /class/usb_endpoint/usbdev1.2_ep04 (usb_endpo
int)
UDEV [1215367452.989102] add /class/usb_device/usbdev1.2 (usb_device)
prawnik:/home/bartosz# udevmonitor
udevmonitor will print the received events for:
UDEV the event which udev sends out after rule processing
UEVENT the kernel uevent
UEVENT[1215367452.597272] add /devices/pci0000:00/0000:00:03.0/usb1/1-1 (us
b)
UEVENT[1215367452.597363] add /class/usb_endpoint/usbdev1.2_ep00 (usb_endpo
int)
UEVENT[1215367452.603952] add /devices/pci0000:00/0000:00:03.0/usb1/1-1/1-1
:1.0 (usb)
UEVENT[1215367452.609095] add /class/usb_endpoint/usbdev1.2_ep83 (usb_endpo
int)
UEVENT[1215367452.609162] add /class/usb_endpoint/usbdev1.2_ep03 (usb_endpo
int)
UEVENT[1215367452.609177] add /class/usb_endpoint/usbdev1.2_ep85 (usb_endpo
int)
UEVENT[1215367452.609190] add /devices/pci0000:00/0000:00:03.0/usb1/1-1/1-1
:1.1 (usb)
UEVENT[1215367452.611305] add /class/usb_endpoint/usbdev1.2_ep84 (usb_endpo
int)
UEVENT[1215367452.611361] add /class/usb_endpoint/usbdev1.2_ep04 (usb_endpo
int)
UEVENT[1215367452.611375] add /devices/pci0000:00/0000:00:03.0/usb1/1-1/1-1
:1.2 (usb)
UEVENT[1215367452.614297] add /class/usb_endpoint/usbdev1.2_ep81 (usb_endpo
int)
UEVENT[1215367452.614342] add /class/usb_endpoint/usbdev1.2_ep82 (usb_endpo
int)
UEVENT[1215367452.614355] add /class/usb_endpoint/usbdev1.2_ep02 (usb_endpo
int)
UEVENT[1215367452.614368] add /class/usb_device/usbdev1.2 (usb_device)
UDEV [1215367452.620488] add /devices/pci0000:00/0000:00:03.0/usb1/1-1 (us
b)
UDEV [1215367452.639932] add /class/usb_endpoint/usbdev1.2_ep00 (usb_endpo
int)
UDEV [1215367452.642615] add /devices/pci0000:00/0000:00:03.0/usb1/1-1/1-1
:1.0 (usb)
UDEV [1215367452.651926] add /devices/pci0000:00/0000:00:03.0/usb1/1-1/1-1
:1.1 (usb)
UDEV [1215367452.674849] add /devices/pci0000:00/0000:00:03.0/usb1/1-1/1-1
:1.2 (usb)
UDEV [1215367452.797613] add /class/usb_endpoint/usbdev1.2_ep83 (usb_endpo
int)
UDEV [1215367452.840546] add /class/usb_endpoint/usbdev1.2_ep03 (usb_endpo
int)
UDEV [1215367452.850147] add /class/usb_endpoint/usbdev1.2_ep85 (usb_endpo
int)
UDEV [1215367452.889263] add /class/usb_endpoint/usbdev1.2_ep81 (usb_endpo
bartosz@eck289:~$fnmirk:
prawnik:/home/bartosz# lsusb
Bus 004 Device 001: ID 0000:0000
Bus 003 Device 002: ID 046d:c016 Logitech, Inc. M-UV69a/HP M-UV96 Optical Wheel Mouse
Bus 003 Device 001: ID 0000:0000
Bus 002 Device 001: ID 0000:0000
Bus 001 Device 002: ID 0af0:6971 Option
Bus 001 Device 001: ID 0000:0000
prawnik:/home/bartosz#
Problem jest w tym ze nie mam w /dev/ ttyUSB zadnego. jak podpiolem modem do 2 kompa wsadzam modem to tworzy sie /dev/ttyUSBx, x=0,1,2.
W drugim kompie mam takie urzadzenie a w starym nie. tym samym nie mam sieci w starym bo nie widzi /dev/ttyUSB2 przynamiej pppd tak woła.. na dwoch kompach lenny siedzi. nie wiem co zrobilem ze popsulem komp1.
Offline



Redaktor




Czy lsusb podobne informacje pokazuje na obydwu komputerach przy podpiętym modemie.
Nie podałeś ważnej informacji modem jest zasilany z portu USB czy ma własny zasilacz (pytałem o pobór prądu przez modem).
Masz dwa komputery i urządzenie, które na jednym komputerze działa. Na drugim nie.
Pierwsza rzecz, to robisz porównanie oprogramowania na jednym i drugim komputerze, jakie jest potrzebne do uruchomienia modemu.
Pomocne polecenia
lsusb lsmod dpkg -l | grep usb
Porównaj wersje kernela. Na jednym i drugim komputerze:
zainstalowane:
dpkg -l | grep $(uname -r)
aktualnie używane:
uname -r
Masz większe możliwości ponieważ dysponujesz fizycznie urządzeniem.
W ostateczności możesz porównać całość wyników dpkg -l>programy.txt przekierowując wynik do pliku.
Offline
Użytkownik

W załączonych listingach z udevmonitor brak jest informacji o ładowanych modułach do obsługi podłączanego
modemu. Których to możnaby się przekonać wykonując ten sam manewr na drugim komputerze.
Przykładowe wpisy po podłączeniu modemu SpeedTouch 330 i telefonu komórkowego.
UEVENT[1215377619.870720] add /module/cdc_acm (module)
UDEV [1215377619.872546] add /module/cdc_acm (module)
UEVENT[1215377697.389899] add /module/atm (module)
UDEV [1215377697.391953] add /module/atm (module)
UEVENT[1215377697.393366] add /class/atm (class)
UDEV [1215377697.403161] add /class/atm (class)
UEVENT[1215377697.413053] add /module/usbatm (module)
UDEV [1215377697.420066] add /module/usbatm (module)
UEVENT[1215377697.421877] add /module/speedtch (module)
UDEV [1215377697.428201] add /module/speedtch (module)
Poprawka (przepraszam):
To info o modułach pojawia się przy pierwszym podłączeniu sprzętu po uruchomieniu systemu. Jeśli te listingi pokazują kolejne podłączenia to brak tej informacji jest prawidłowy.
Ostatnio edytowany przez Smike (2008-07-07 06:36:36)
Offline



Redaktor




torpeda80 twój kierunek postępowania powinien być taki porównać wersje kernela i sprawdzić dostępne moduły.
Modem nie posiada jakiś danych dla udev. Na komputerze masz jakąś starszą wersję systemu.
Mnie coś trochę rozjaśniło sytuację przejrzenie poniższych opisów:
http://www.forum.ubuntu.pl/showthread.php?t=52873
http://wwwu.uni-klu.ac.at/agebhard/GlobeSurfer/
Wydaje się mnie, że sprawę załatwi nowszy kernel.
Edit:
Masz w ogóle udev zainstalowany na tym komputerze?
dpkg -l | grep udev
Moja sposzczegawczość jest godna szacunku odwołuję pytanie o udev.
Ostatnio edytowany przez fnmirk (2008-07-07 06:48:24)
Offline


Użytkownik



porównałem pliki i otzrymałem co następuje:
komp1 i komp2 wyszedł ten sam wynik:
1.#uname -r:
2.6.24-1-686
2. dpkg -l | grep $(uname -r):
ii linux-image-2.6.24-1-686 2.6.24-7 Linux 2.6.24 image on PPro/Celeron/PII/PIII/
3. dpkg -l | grep usb:
ii libusb-0.1-4 2:0.1.12-11 userspace USB programming library
ii usbutils 0.73-8 Linux USB utilities
ii xserver-xorg-video-sisusb 1:0.9.0-1 X.Org X server -- SiS USB display driver
4. lsusb:
4.1.dla komp1 - ten nie działajacy
Bus 004 Device 001: ID 0000:0000
Bus 003 Device 002: ID 046d:c016 Logitech, Inc. M-UV69a/HP M-UV96 Optical Wheel Mouse
Bus 003 Device 001: ID 0000:0000
Bus 001 Device 002: ID 0af0:6971 Option
Bus 001 Device 001: ID 0000:0000
Bus 002 Device 001: ID 0000:0000
4.2. dla kompa2
Bus 005 Device 005: ID 08ff:2580 AuthenTec, Inc. AES2501 Fingerprint Sensor
Bus 005 Device 002: ID 0424:2503 Standard Microsystems Corp. USB 2.0 Hub
Bus 005 Device 001: ID 0000:0000
Bus 004 Device 001: ID 0000:0000
Bus 003 Device 003: ID 04d9:0499 Holtek Semiconductor, Inc.
Bus 003 Device 001: ID 0000:0000
Bus 002 Device 003: ID 0af0:6971 Option
Bus 002 Device 001: ID 0000:0000
Bus 001 Device 001: ID 0000:0000
5. lsmod
5.1 komp 1
Module Size Used by rfcomm 36784 5 l2cap 22880 9 rfcomm bluetooth 53636 4 rfcomm,l2cap ipv6 240836 12 ppdev 8804 0 lp 11076 0 sbs 14376 0 container 4864 0 dock 10384 0 sbshc 6848 1 sbs video 18672 0 output 3744 1 video acpi_cpufreq 9260 0 speedstep_lib 5348 0 cpufreq_powersave 1856 0 cpufreq_ondemand 8492 1 cpufreq_conservative 7560 0 cpufreq_userspace 4260 0 cpufreq_stats 5184 0 freq_table 4512 3 acpi_cpufreq,cpufreq_ondemand,cpufreq_stats fuse 45204 5 dm_snapshot 16964 0 dm_mirror 21600 0 dm_mod 55812 2 dm_snapshot,dm_mirror usbserial 32200 0 firewire_sbp2 14252 0 loop 16804 0 snd_intel8x0m 16844 0 joydev 11360 0 pcmcia 37036 0 firmware_class 9312 1 pcmcia snd_intel8x0 32028 1 snd_ac97_codec 92932 2 snd_intel8x0m,snd_intel8x0 ac97_bus 2176 1 snd_ac97_codec snd_pcm_oss 38272 0 snd_mixer_oss 15296 2 snd_pcm_oss irtty_sir 8096 0 snd_pcm 71780 4 snd_intel8x0m,snd_intel8x0,snd_ac97_codec,snd_pcm_oss sir_dev 15460 1 irtty_sir parport_pc 33668 1 parport 34280 3 ppdev,lp,parport_pc snd_seq_dummy 3780 0 irda 174236 2 irtty_sir,sir_dev serio_raw 6660 0 crc_ccitt 2176 1 irda pcspkr 3200 0 rtc 13052 0 psmouse 36464 0 snd_seq_oss 29472 0 snd_seq_midi 8160 0 yenta_socket 24844 1 rsrc_nonstatic 11872 1 yenta_socket pcmcia_core 36884 3 pcmcia,yenta_socket,rsrc_nonstatic snd_rawmidi 22624 1 snd_seq_midi snd_seq_midi_event 6976 2 snd_seq_oss,snd_seq_midi snd_seq 46544 6 snd_seq_dummy,snd_seq_oss,snd_seq_midi,snd_seq_midi_event snd_timer 21092 2 snd_pcm,snd_seq snd_seq_device 7820 5 snd_seq_dummy,snd_seq_oss,snd_seq_midi,snd_rawmidi,snd_seq snd 48612 11 snd_intel8x0m,snd_intel8x0,snd_ac97_codec,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_seq_oss,snd_rawmidi,snd_seq,snd_timer,snd_seq_device soundcore 7552 2 snd snd_page_alloc 10056 3 snd_intel8x0m,snd_intel8x0,snd_pcm i2c_sis96x 5092 0 i2c_core 22432 1 i2c_sis96x shpchp 31028 0 pci_hotplug 27712 1 shpchp led_class 5156 0 battery 13572 0 asus_acpi 15900 0 ac 6116 0 button 8432 0 sis_agp 9060 1 agpgart 31688 1 sis_agp evdev 11104 6 ext3 122920 5 jbd 43732 1 ext3 mbcache 8288 1 ext3 usbhid 28096 0 hid 34272 1 usbhid ide_cd 36224 0 cdrom 32512 1 ide_cd ide_disk 15648 9 ata_generic 7428 0 pata_sis 13860 0 libata 144624 2 ata_generic,pata_sis scsi_mod 141164 2 firewire_sbp2,libata ehci_hcd 32524 0 ohci_hcd 21988 0 sis900 21536 0 mii 5312 1 sis900 sis5513 7556 0 [permanent] usbcore 133004 5 usbserial,usbhid,ehci_hcd,ohci_hcd generic 4388 0 [permanent] ide_core 108292 4 ide_cd,ide_disk,sis5513,generic firewire_ohci 17760 0 firewire_core 39232 2 firewire_sbp2,firewire_ohci crc_itu_t 2176 1 firewire_core thermal 16028 0 processor 36552 3 acpi_cpufreq,thermal fan 4772 0
5.2 komp2
Module Size Used by ppp_deflate 5696 0 zlib_deflate 17752 1 ppp_deflate zlib_inflate 14560 1 ppp_deflate bsd_comp 5504 0 ppp_async 11104 0 crc_ccitt 2176 1 ppp_async ipv6 240836 10 ppp_generic 26196 3 ppp_deflate,bsd_comp,ppp_async slhc 5920 1 ppp_generic i915 22048 2 drm 74132 3 i915 rfcomm 36784 3 l2cap 22880 9 rfcomm bluetooth 53636 4 rfcomm,l2cap sbs 14376 0 sbshc 6848 1 sbs dock 10384 0 cpufreq_ondemand 8492 0 cpufreq_conservative 7560 0 cpufreq_stats 5184 0 freq_table 4512 2 cpufreq_ondemand,cpufreq_stats cpufreq_userspace 4260 0 cpufreq_powersave 1856 0 dm_snapshot 16964 0 dm_mirror 21600 0 dm_mod 55812 2 dm_snapshot,dm_mirror usbserial 32200 0 firewire_sbp2 14252 0 loop 16804 0 joydev 11360 0 snd_hda_intel 275392 0 pcmcia 37036 0 snd_pcm_oss 38272 0 snd_pcm 71780 2 snd_hda_intel,snd_pcm_oss snd_mixer_oss 15296 1 snd_pcm_oss iwl3945 84712 0 snd_seq_dummy 3780 0 firmware_class 9312 2 pcmcia,iwl3945 iTCO_wdt 11268 0 sdhci 16836 0 serio_raw 6660 0 mac80211 114380 1 iwl3945 tifm_7xx1 7360 0 tpm_infineon 8712 0 tpm 15072 1 tpm_infineon snd_seq_oss 29472 0 yenta_socket 24844 1 rsrc_nonstatic 11872 1 yenta_socket tpm_bios 6912 1 tpm rtc 13052 0 parport_pc 33668 0 parport 34280 1 parport_pc pcspkr 3200 0 mmc_core 47300 1 sdhci psmouse 36464 0 snd_seq_midi_event 6976 1 snd_seq_oss snd_seq 46544 5 snd_seq_dummy,snd_seq_oss,snd_seq_midi_event snd_timer 21092 2 snd_pcm,snd_seq snd_seq_device 7820 3 snd_seq_dummy,snd_seq_oss,snd_seq cfg80211 13480 1 mac80211 tifm_core 9956 1 tifm_7xx1 pcmcia_core 36884 3 pcmcia,yenta_socket,rsrc_nonstatic snd 48612 8 snd_hda_intel,snd_pcm_oss,snd_pcm,snd_mixer_oss,snd_seq_oss,snd_seq,snd_timer,snd_seq_device container 4864 0 soundcore 7552 1 snd video 18672 0 output 3744 1 video battery 13572 0 ac 6116 0 snd_page_alloc 10056 2 snd_hda_intel,snd_pcm button 8432 0 intel_agp 23412 1 agpgart 31688 3 drm,intel_agp evdev 11104 5 ext3 122920 5 jbd 43732 1 ext3 mbcache 8288 1 ext3 ide_cd 36224 0 cdrom 32512 1 ide_cd generic 4388 0 [permanent] sd_mod 27200 7 usbhid 28096 0 hid 34272 1 usbhid piix 7492 0 [permanent] ide_core 108292 3 ide_cd,generic,piix firewire_ohci 17760 0 tg3 88996 0 firewire_core 39232 2 firewire_sbp2,firewire_ohci crc_itu_t 2176 1 firewire_core ahci 26212 6 ehci_hcd 32524 0 ata_generic 7428 0 libata 144624 2 ahci,ata_generic scsi_mod 141164 3 firewire_sbp2,sd_mod,libata uhci_hcd 23376 0 usbcore 133004 5 usbserial,usbhid,ehci_hcd,uhci_hcd thermal 16028 0 processor 36552 1 thermal fan 4772 0
Mam najnowsze chyba jadro z repo. co do lsmod to prosze o wskazanie co powinienem doladowac bo za bardzo nie orjentuje sie co powinno sie tam znajdowac.
Ostatnio edytowany przez torpeda80 (2008-07-07 12:21:16)
Offline
Użytkownik

torpeda80 napisał(-a):
Mam najnowsze chyba jadro z repo. co do lsmod to prosze o wskazanie co powinienem doladowac bo za bardzo nie orjentuje sie co powinno sie tam znajdowac.
Byleś tam ?
http://www.bez-kabli.pl/viewtopic.php?p=79432#79432
Jeżeli w ogóle to jest problem z modułami bo usbserial jest na obu twoich komputerach.
Offline


Użytkownik



bylem
wlasnie z tej instrukcji skorzystalem i mialem na obu komputerach internet. problem w tym, że teraz na kompie 1 = starym udev nie towrzy mi wogóle w katalogu /dev/
portu ttyUSB*. Nie powstaje mi to urzadzenie jak wloże moj modem (modem usb) do portu. Na drugim kompie wkladam modem i w dev tworzy sie ttyUSB0, ttyUSB1, ttyUSB2. i pppd odpala mi siec.
nie wiem co zrobilem ale nie tworzy mi urzadzen ttyUSB*.
Offline


Użytkownik



juz po formacie - teraz juz tylko backup i bawimy sie dalej.
dziekuje za wszyskie uwagi i wskazówki. pozdrawiam
Offline