modem woes.. one of the hacks worked bersl..thx...dan

daniel49

Diamond Member
Jan 8, 2005
4,814
0
71
modem is working(usb to serial) but seems a bit sluggish when I go to network configurations, I don't see anywhere where it tells you baud settings.

would like to see what its set at.
also I assume its working at 2.0 not 1.1 usb speeds it is a 2.0 port.

thx
 

daniel49

Diamond Member
Jan 8, 2005
4,814
0
71
indeed it was setup at 9600 baud. found out for sure by stty -a </dev/ttyUSB0
tried gnome ppp dialer but wouldn't find modem.
tried kpp found modem dials,handshakes,logging on then disconnects with error 1.

only thing works for me so far is system/administration/networking/activate

if i enter stty -F /dev/ttyUSB0 115200
it resets it to 115200 and surfs much faster , but unfortunately doesn't seem to be saving it on a reboot.anyone know why that is?
 

bersl2

Golden Member
Aug 2, 2004
1,617
0
0
Well, you can use a quick hack to run stty after the module has been inserted (I assume that either usb-serial or cdc-acm has been modularized). It's probably cdc-acm if it's a USB connection straight to the modem, but to check, run lsmod while the modem is being used, and even if both are loaded, one of them should have a non-zero dependency count.

So, if $MODULE is the name of the module that runs the modem (which should be either of the ones above), add the following line to /etc/modprobe.conf:

install $MODULE /sbin/modprobe --ignore-install $MODULE && /usr/bin/stty -F /dev/ttyUSB0 115200

See if that works.
 

daniel49

Diamond Member
Jan 8, 2005
4,814
0
71
only one i see is usbserial, output below:

dan@ubuntu:~$ lsmod
Module Size Used by
ppp_deflate 6016 0
zlib_deflate 20632 1 ppp_deflate
bsd_comp 5760 0
ppp_async 10752 1
crc_ccitt 2176 1 ppp_async
ppp_generic 27668 7 ppp_deflate,bsd_comp,ppp_async
slhc 7040 1 ppp_generic
ipv6 229504 8
speedstep_lib 4228 0
proc_intf 4100 0
freq_table 4100 0
cpufreq_userspace 4572 0
cpufreq_ondemand 6172 0
cpufreq_powersave 1920 0
video 16260 0
sony_acpi 6280 0
pcc_acpi 11264 0
button 6800 0
battery 10244 0
container 4608 0
ac 4996 0
vga16fb 12488 1
vgastate 8576 1 vga16fb
pl2303 17284 1
usbserial 28136 3 pl2303
i2c_viapro 7436 0
i2c_core 21264 1 i2c_viapro
usbhid 29376 0
ehci_hcd 29444 0
af_packet 20744 2
uhci_hcd 30224 0
usbcore 107384 6 pl2303,usbserial,usbhid,ehci_hcd,uhci_hcd
sata_via 8196 0
sk98lin 149216 0
sata_sil 8068 0
libata 44548 2 sata_via,sata_sil
emu10k1_gp 3840 0
gameport 4608 1 emu10k1_gp
snd_emu10k1 81668 2
snd_rawmidi 22944 1 snd_emu10k1
snd_seq_device 8332 2 snd_emu10k1,snd_rawmidi
snd_ac97_codec 64608 1 snd_emu10k1
snd_pcm_oss 47652 1
snd_mixer_oss 16768 2 snd_pcm_oss
snd_pcm 84872 3 snd_emu10k1,snd_ac97_codec,snd_pcm_oss
snd_timer 23300 1 snd_pcm
snd_page_alloc 9604 2 snd_emu10k1,snd_pcm
snd_util_mem 4608 1 snd_emu10k1
snd_hwdep 9220 1 snd_emu10k1
snd 50276 9 snd_emu10k1,snd_rawmidi,snd_seq_device,snd_ac97_codec,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_timer,snd_hwdep
soundcore 9824 3 snd
ohci1394 31876 0
shpchp 86116 0
pci_hotplug 30512 1 shpchp
amd64_agp 10952 1
agpgart 31784 1 amd64_agp
floppy 54864 0
pcspkr 3816 0
rtc 12216 0
md 43856 0
dm_mod 53116 1
evdev 9088 0
capability 5000 0
tsdev 7488 0
commoncap 7808 1 capability
sr_mod 16036 0
sbp2 22408 0
scsi_mod 119936 3 libata,sr_mod,sbp2
ieee1394 100408 2 ohci1394,sbp2
psmouse 19336 0
mousedev 11160 1
parport_pc 34372 0
lp 10792 0
parport 33480 2 parport_pc,lp
ide_cd 38532 1
cdrom 36508 2 sr_mod,ide_cd
ext3 120968 1
jbd 54168 1 ext3
ide_generic 1664 0
via82cxxx 12956 1
ide_disk 18176 4
ide_core 118988 4 ide_cd,ide_generic,via82cxxx,ide_disk
unix 26164 824
thermal 13576 0
processor 22708 1 thermal
fan 4612 0
fbcon 34048 71
font 8448 1 fbcon
bitblit 5120 1 fbcon
vesafb 6948 0
cfbcopyarea 3968 2 vga16fb,vesafb
cfbimgblt 3072 2 vga16fb,vesafb
cfbfillrect 3584 2 vga16fb,vesafb
dan@ubuntu:~$

there seems to be no /etc/modprobe.conf
there is an /etc/modprobe.d folder but no modprobe.conf in it
doing a search for modprobe
i find these files

modprobe.devfs @ /usr/share/doc/module-init-tools/examples
generate-modprobe.conf.gz@ /usr/share/doc/module-init-tools/examples
modprobe.8.gz@ /usr/share/man/man8
modprobe.conf.5gz@ /usr/share/man/man5
modprobe-post-install@ /usr/lib/alsa
modprobe-post-install@ /usr/alsa
modprobe@ /sbin this appears to be an executable
 

bersl2

Golden Member
Aug 2, 2004
1,617
0
0
OK, create a new file under /etc/modprobe.d, call it whatever you want, probably something descriptive. Put the previously mentioned line in it, but change $MODULE to pl2303. That should work.
 

daniel49

Diamond Member
Jan 8, 2005
4,814
0
71
ok before I bork something let me make sure I fully understand you.

you want this created file to be inside of /etc/modprobe.d folder
and put one line in it that says:


install pl2303 /sbin/modprobe --ignore-install pl2303 && /usr/bin/stty -F /dev/ttyUSB0 115200


it looks like your telling it to ignore the stty -f /dev/ttyUSB0 115200
is that necessary since it sets itself back to 9600 baud on reboot anyway?
just wondering.

thx, dan
 

bersl2

Golden Member
Aug 2, 2004
1,617
0
0
The syntax of /etc/modprobe.conf and/or of any file in /etc/modprobe.d/ is described in the modprobe.d(8) man page. The install command allows for customization of module insertion. It takes a name and a shell script statement. Whenever a module with the given name is attempted to be loaded, modprobe will instead run the given shell script.

So, when you run modprobe pl2303, or when any program, or even if the kernel wants to load a module, what happens is this: modprobe is run; modprobe runs another instance of itself, attempting to insert the same module again---but this time, the --ignore-install tells this new instance to ignore the install command. So this actually loads the module.

Now, processes all return some kind of error code. Usually success is indicated by a zero exit code, and failure by a non-zero exit code. If the first process exited successfully, then the second process (setting the baud rate) then runs. However, if the first process failed in some way, then the short-circuit logical AND (&&) will not execute the second command (thus, the "short circuit"). The reason I did this was that if the module fails to insert, udev (this is the system that creates device files automatically) may not create /dev/ttyUSB0, which means an extra error when stty complains about not being able to find /dev/ttyUSB0. You can change "&&" to a semicolon if you really want to.
 

daniel49

Diamond Member
Jan 8, 2005
4,814
0
71
ok tried the hack.
results:
on boot complains like you said it would
Probe: Fatal error running install command for pl2303
once into desktop I checked baud again with the
stty -a </dev/ttyUSB0
still says 9600
download rates verify that it is telling the truth with a top speed of 965 B/s
when I change it to 15200 does around 3400 B/s

dan
 

bersl2

Golden Member
Aug 2, 2004
1,617
0
0
That's all it gave? Check dmesg to see if it says anything about pl2303 actually being loaded. If the first part of the statement went OK, then stty may be executing too quickly for something, maybe udev, maybe the hardware. Run sleep 3 or so between the modprobe --ignore-install and the stty to let things catch up, just in case. Use another && or a ; as you would any mathematical operator, to separate the statements.

It might also be possible that udev hasn't been started at all when this module is loaded. If waiting for a few seconds doesn't work, this is probably the case. If so, what you can do is defer setting the baud until the very end of the boot process. I think there is a file called /etc/init.d/bootmisc.sh (I'm used to it being a different name) which runs at the very end. You can then delete the file you added to /etc/modprobe.d, but move just the stty statement into /etc/init.d/bootmisc.sh.

And if by some chance it still doesn't work after that, then the driver must be being loaded after the boot process and during the startup of your X session. I don't know how that would happen, but if it does, you can put a shell script on your desktop that will popup an xterm running sudo stty blah blah blah.
 

daniel49

Diamond Member
Jan 8, 2005
4,814
0
71
ok gonna try this in parts then will edit:


dan@ubuntu:~$ dmesg
ered
io scheduler deadline registered
io scheduler cfq registered
RAMDISK driver initialized: 16 RAM disks of 8192K size 1024 blocksize
input: AT Translated Set 2 keyboard on isa0060/serio0
EISA: Probing bus 0 at eisa0
EISA: Detected 0 cards.
NET: Registered protocol family 2
IP: routing cache hash table of 4096 buckets, 32Kbytes
TCP: Hash tables configured (established 32768 bind 65536)
NET: Registered protocol family 8
NET: Registered protocol family 20
Restarting tasks...<6> Strange, kswapd0 not stopped
Strange, kseriod not stopped
done
ACPI wakeup devices:
PCI0 USB0 USB1 USB2 USB3 USB4 USB5 USB6 AC97 MC97
ACPI: (supports S0 S1 S4 S5)
RAMDISK: cramfs filesystem found at block 0
RAMDISK: Loading 4248KiB [1 disk] into ram disk... done.
VFS: Mounted root (cramfs filesystem) readonly.
Freeing unused kernel memory: 224k freed
ACPI: Thermal Zone [THRM] (20 C)
NET: Registered protocol family 1
Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2
ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
VP_IDE: IDE controller at PCI slot 0000:00:0f.1
ACPI: PCI Interrupt Link [ALKA] BIOS reported IRQ 0, using IRQ 20
ACPI: PCI Interrupt Link [ALKA] enabled at IRQ 20
ACPI: PCI interrupt 0000:00:0f.1[A] -> GSI 20 (level, low) -> IRQ 20
VP_IDE: chipset revision 6
VP_IDE: not 100% native mode: will probe irqs later
VP_IDE: VIA vt8237 (rev 00) IDE UDMA133 controller on pci0000:00:0f.1
ide0: BM-DMA at 0xd800-0xd807, BIOS settings: hda:DMA, hdb:DMA
ide1: BM-DMA at 0xd808-0xd80f, BIOS settings: hdc:DMA, hdd:DMA
Probing IDE interface ide0...
hda: ST380011A, ATA DISK drive
hdb: ST380011A, ATA DISK drive
elevator: using anticipatory as default io scheduler
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
hda: max request size: 1024KiB
hda: 156301488 sectors (80026 MB) w/2048KiB Cache, CHS=16383/255/63, UDMA(100)
hda: cache flushes supported
/dev/ide/host0/bus0/target0/lun0: p1
hdb: max request size: 1024KiB
hdb: 156301488 sectors (80026 MB) w/2048KiB Cache, CHS=16383/255/63, UDMA(100)
hdb: cache flushes supported
/dev/ide/host0/bus0/target1/lun0: p1 p2 < p5 >
Probing IDE interface ide1...
hdc: _NEC DVD_RW ND-2500A, ATAPI CD/DVD-ROM drive
hdd: 16X52X32X52COMBO, ATAPI CD/DVD-ROM drive
ide1 at 0x170-0x177,0x376 on irq 15
Probing IDE interface ide2...
Probing IDE interface ide3...
Probing IDE interface ide4...
Probing IDE interface ide5...
Stopping tasks: ==|
Freeing memory... done (455 pages freed)
Restarting tasks... done
EXT3-fs: mounted filesystem with ordered data mode.
kjournald starting. Commit interval 5 seconds
Adding 1510068k swap on /dev/hdb5. Priority:-1 extents:1
EXT3 FS on hdb1, internal journal
hdc: ATAPI 40X DVD-ROM DVD-R CD-R/RW drive, 2048kB Cache
Uniform CD-ROM driver Revision: 3.20
hdd: ATAPI 52X DVD-ROM CD-R/RW drive, 2048kB Cache
lp: driver loaded but no devices found
mice: PS/2 mouse device common for all mice
input: ImPS/2 Generic Wheel Mouse on isa0060/serio1
ieee1394: Initialized config rom entry `ip1394'
SCSI subsystem initialized
sbp2: $Rev: 1219 $ Ben Collins <bcollins@debian.org>
ts: Compaq touchscreen protocol output
Capability LSM initialized
device-mapper: 4.3.0-ioctl (2004-09-30) initialised: dm-devel@redhat.com
md: md driver 0.90.1 MAX_MD_DEVS=256, MD_SB_DISKS=27
cdrom: open failed.
hdd: packet command error: status=0x51 { DriveReady SeekComplete Error }
hdd: packet command error: error=0x50
ide: failed opcode was 100
cdrom: failed setting lba address space
Real Time Clock Driver v1.12
input: PC Speaker
inserting floppy driver for 2.6.10-5-386
Floppy drive(s): fd0 is 1.44M
FDC 0 is a post-1991 82077
Linux agpgart interface v0.100 (c) Dave Jones
agpgart: Detected AGP bridge 0
agpgart: Maximum main memory to use for agp memory: 439M
agpgart: AGP aperture is 128M @ 0xe0000000
cpci_hotplug: CompactPCI Hot Plug Core version: 0.2
pci_hotplug: PCI Hot Plug PCI Core version: 0.5
shpchp: shpc_init : shpc_cap_offset == 0
shpchp: Standard Hot Plug PCI Controller Driver version: 0.4
Evaluate _OSC Set fails. Status = 0x0005
pciehp: add_host_bridge: status 5
pciehp: Fails to gain control of native hot-plug
ohci1394: $Rev: 1223 $ Ben Collins <bcollins@debian.org>
ACPI: PCI interrupt 0000:00:07.0[A] -> GSI 23 (level, low) -> IRQ 23
ohci1394: fw-host0: OHCI-1394 1.1 (PCI): IRQ=[23] MMIO=[eb00e000-eb00e7ff] Max Packet=[2048]
ACPI: PCI interrupt 0000:00:09.2 -> GSI 18 (level, low) -> IRQ 18
ohci1394: fw-host1: OHCI-1394 1.1 (PCI): IRQ=[18] MMIO=[eb00d000-eb00d7ff] Max Packet=[2048]
ACPI: PCI interrupt 0000:00:09.0[A] -> GSI 17 (level, low) -> IRQ 17
ieee1394: Host added: ID:BUS[0-00:1023] GUID[00508d0000e26db4]
gameport: pci0000:00:09.1 speed 1242 kHz
libata version 1.10 loaded.
sata_sil version 0.8
ACPI: PCI interrupt 0000:00:0d.0[A] -> GSI 21 (level, low) -> IRQ 21
ata1: SATA max UDMA/100 cmd 0xE0AC2080 ctl 0xE0AC208A bmdma 0xE0AC2000 irq 21
ata2: SATA max UDMA/100 cmd 0xE0AC20C0 ctl 0xE0AC20CA bmdma 0xE0AC2008 irq 21
ata3: SATA max UDMA/100 cmd 0xE0AC2280 ctl 0xE0AC228A bmdma 0xE0AC2200 irq 21
ata4: SATA max UDMA/100 cmd 0xE0AC22C0 ctl 0xE0AC22CA bmdma 0xE0AC2208 irq 21
ieee1394: Host added: ID:BUS[1-00:1023] GUID[00023c0151074395]
ata1: no device found (phy stat 00000000)
scsi0 : sata_sil
ata2: no device found (phy stat 00000000)
scsi1 : sata_sil
ata3: no device found (phy stat 00000000)
scsi2 : sata_sil
ata4: no device found (phy stat 00000000)
scsi3 : sata_sil
ACPI: PCI interrupt 0000:00:0e.0[A] -> GSI 22 (level, low) -> IRQ 22
ACPI: PCI interrupt 0000:00:0e.0[A] -> GSI 22 (level, low) -> IRQ 22
eth0: 3Com Gigabit LOM (3C940)
PrefPort:A RlmtMode:Check Link State
sata_via version 1.1
ACPI: PCI interrupt 0000:00:0f.0 -> GSI 20 (level, low) -> IRQ 20
sata_via(0000:00:0f.0): routed to hard irq line 4
ata5: SATA max UDMA/133 cmd 0xC000 ctl 0xC402 bmdma 0xD000 irq 20
ata6: SATA max UDMA/133 cmd 0xC800 ctl 0xCC02 bmdma 0xD008 irq 20
ata5: no device found (phy stat 00000000)
scsi4 : sata_via
ata6: no device found (phy stat 00000000)
scsi5 : sata_via
usbcore: registered new driver usbfs
usbcore: registered new driver hub
USB Universal Host Controller Interface driver v2.2
ACPI: PCI interrupt 0000:00:10.0[A] -> GSI 21 (level, low) -> IRQ 21
uhci_hcd 0000:00:10.0: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller
uhci_hcd 0000:00:10.0: irq 21, io base 0xdc00
uhci_hcd 0000:00:10.0: new USB bus registered, assigned bus number 1
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 2 ports detected
ACPI: PCI interrupt 0000:00:10.1[A] -> GSI 21 (level, low) -> IRQ 21
uhci_hcd 0000:00:10.1: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (#2)
uhci_hcd 0000:00:10.1: irq 21, io base 0xe000
uhci_hcd 0000:00:10.1: new USB bus registered, assigned bus number 2
hub 2-0:1.0: USB hub found
hub 2-0:1.0: 2 ports detected
ACPI: PCI interrupt 0000:00:10.2 -> GSI 21 (level, low) -> IRQ 21
uhci_hcd 0000:00:10.2: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (#3)
uhci_hcd 0000:00:10.2: irq 21, io base 0xe400
uhci_hcd 0000:00:10.2: new USB bus registered, assigned bus number 3
hub 3-0:1.0: USB hub found
hub 3-0:1.0: 2 ports detected
ACPI: PCI interrupt 0000:00:10.3 -> GSI 21 (level, low) -> IRQ 21
uhci_hcd 0000:00:10.3: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (#4)
usb 1-1: new low speed USB device using uhci_hcd and address 2
uhci_hcd 0000:00:10.3: irq 21, io base 0xe800
uhci_hcd 0000:00:10.3: new USB bus registered, assigned bus number 4
hub 4-0:1.0: USB hub found
hub 4-0:1.0: 2 ports detected
NET: Registered protocol family 17
ACPI: PCI interrupt 0000:00:10.4[C] -> GSI 21 (level, low) -> IRQ 21
ehci_hcd 0000:00:10.4: VIA Technologies, Inc. USB 2.0
ehci_hcd 0000:00:10.4: irq 21, pci mem 0xeb00f000
ehci_hcd 0000:00:10.4: new USB bus registered, assigned bus number 5
ehci_hcd 0000:00:10.4: USB 2.0 initialized, EHCI 1.00, driver 26 Oct 2004
hub 5-0:1.0: USB hub found
hub 5-0:1.0: 8 ports detected
usbcore: registered new driver hiddev
usbhid: probe of 1-1:1.0 failed with error -5
usbhid: probe of 1-1:1.1 failed with error -5
usbcore: registered new driver usbhid
drivers/usb/input/hid-core.c: v2.0:USB HID core driver
usb 1-1: USB disconnect, address 2
eth0: network connection up using port A
speed: 100
autonegotiation: yes
duplex mode: half
flowctrl: none
irq moderation: disabled
scatter-gather: enabled
usb 1-1: new low speed USB device using uhci_hcd and address 4
input: USB HID v1.00 Keyboard [Compaq Compaq Internet Keyboard] on usb-0000:00:10.0-1
input,hiddev96: USB HID v1.00 Device [Compaq Compaq Internet Keyboard] on usb-0000:00:10.0-1
usb 1-2: new low speed USB device using uhci_hcd and address 5
input: USB HID v1.10 Mouse [Logitech USB Mouse] on usb-0000:00:10.0-2
usb 2-1: new full speed USB device using uhci_hcd and address 2
drivers/usb/serial/usb-serial.c: USB Serial support registered for Generic
usbcore: registered new driver usbserial_generic
usbcore: registered new driver usbserial
drivers/usb/serial/usb-serial.c: USB Serial Driver core v2.0
drivers/usb/serial/usb-serial.c: USB Serial support registered for PL-2303
pl2303 2-1:1.0: PL-2303 converter detected
usb 2-1: PL-2303 converter now attached to ttyUSB0
usbcore: registered new driver pl2303
drivers/usb/serial/pl2303.c: Prolific PL2303 USB to serial adaptor driver v0.12

ACPI: Power Button (FF) [PWRF]
ibm_acpi: ec object not found
apm: BIOS version 1.2 Flags 0x07 (Driver version 1.16ac)
apm: overridden by ACPI.
drivers/usb/input/hid-input.c: event field not found
drivers/usb/input/hid-input.c: event field not found
powernow-k8: Found 1 AMD Athlon 64 / Opteron processors (version 1.00.09e)
powernow-k8: BIOS error - no PSB
NET: Registered protocol family 10
Disabled Privacy Extensions on device c02f0500(lo)
IPv6 over IPv4 tunneling driver
hdd: command error: status=0x51 { DriveReady SeekComplete Error }
hdd: command error: error=0x50
ide: failed opcode was 100
end_request: I/O error, dev hdd, sector 64
hdd: command error: status=0x51 { DriveReady SeekComplete Error }
hdd: command error: error=0x50
ide: failed opcode was 100
end_request: I/O error, dev hdd, sector 664664
hdd: command error: status=0x51 { DriveReady SeekComplete Error }
hdd: command error: error=0x50
ide: failed opcode was 100
end_request: I/O error, dev hdd, sector 663640
hdd: command error: status=0x51 { DriveReady SeekComplete Error }
hdd: command error: error=0x50
ide: failed opcode was 100
end_request: I/O error, dev hdd, sector 663416
hdd: command error: status=0x51 { DriveReady SeekComplete Error }
hdd: command error: error=0x50
ide: failed opcode was 100
end_request: I/O error, dev hdd, sector 664656
hdd: command error: status=0x51 { DriveReady SeekComplete Error }
hdd: command error: error=0x50
ide: failed opcode was 100
end_request: I/O error, dev hdd, sector 663632
hdd: command error: status=0x51 { DriveReady SeekComplete Error }
hdd: command error: error=0x50
ide: failed opcode was 100
end_request: I/O error, dev hdd, sector 663408
hdd: command error: status=0x51 { DriveReady SeekComplete Error }
hdd: command error: error=0x50
ide: failed opcode was 100
end_request: I/O error, dev hdd, sector 664064
hdd: command error: status=0x51 { DriveReady SeekComplete Error }
hdd: command error: error=0x50
ide: failed opcode was 100
end_request: I/O error, dev hdd, sector 663040
hdd: command error: status=0x51 { DriveReady SeekComplete Error }
hdd: command error: error=0x50
ide: failed opcode was 100
end_request: I/O error, dev hdd, sector 662816
hdd: command error: status=0x51 { DriveReady SeekComplete Error }
hdd: command error: error=0x50
ide: failed opcode was 100
end_request: I/O error, dev hdd, sector 664056
hdd: command error: status=0x51 { DriveReady SeekComplete Error }
hdd: command error: error=0x50
ide: failed opcode was 100
end_request: I/O error, dev hdd, sector 663032
hdd: command error: status=0x51 { DriveReady SeekComplete Error }
hdd: command error: error=0x50
ide: failed opcode was 100
end_request: I/O error, dev hdd, sector 662808
hdd: command error: status=0x51 { DriveReady SeekComplete Error }
hdd: command error: error=0x50
ide: failed opcode was 100
end_request: I/O error, dev hdd, sector 545384
hdd: command error: status=0x51 { DriveReady SeekComplete Error }
hdd: command error: error=0x50
ide: failed opcode was 100
end_request: I/O error, dev hdd, sector 544360
hdd: command error: status=0x51 { DriveReady SeekComplete Error }
hdd: command error: error=0x50
ide: failed opcode was 100
end_request: I/O error, dev hdd, sector 544136
hdd: command error: status=0x51 { DriveReady SeekComplete Error }
hdd: command error: error=0x50
ide: failed opcode was 100
end_request: I/O error, dev hdd, sector 545376
hdd: command error: status=0x51 { DriveReady SeekComplete Error }
hdd: command error: error=0x50
ide: failed opcode was 100
end_request: I/O error, dev hdd, sector 544352
hdd: command error: status=0x51 { DriveReady SeekComplete Error }
hdd: command error: error=0x50
ide: failed opcode was 100
end_request: I/O error, dev hdd, sector 544128
hdd: command error: status=0x51 { DriveReady SeekComplete Error }
hdd: command error: error=0x50
ide: failed opcode was 100
end_request: I/O error, dev hdd, sector 544784
hdd: command error: status=0x51 { DriveReady SeekComplete Error }
hdd: command error: error=0x50
ide: failed opcode was 100
end_request: I/O error, dev hdd, sector 543760
hdd: command error: status=0x51 { DriveReady SeekComplete Error }
hdd: command error: error=0x50
ide: failed opcode was 100
end_request: I/O error, dev hdd, sector 543536
hdd: command error: status=0x51 { DriveReady SeekComplete Error }
hdd: command error: error=0x50
ide: failed opcode was 100
end_request: I/O error, dev hdd, sector 544776
hdd: command error: status=0x51 { DriveReady SeekComplete Error }
hdd: command error: error=0x50
ide: failed opcode was 100
end_request: I/O error, dev hdd, sector 543752
hdd: command error: status=0x51 { DriveReady SeekComplete Error }
hdd: command error: error=0x50
ide: failed opcode was 100
end_request: I/O error, dev hdd, sector 543528
hdd: command error: status=0x51 { DriveReady SeekComplete Error }
hdd: command error: error=0x50
ide: failed opcode was 100
end_request: I/O error, dev hdd, sector 1248
hdd: command error: status=0x51 { DriveReady SeekComplete Error }
hdd: command error: error=0x50
ide: failed opcode was 100
end_request: I/O error, dev hdd, sector 1024
UDF-fs: No partition found (1)
hdd: command error: status=0x51 { DriveReady SeekComplete Error }
hdd: command error: error=0x50
ide: failed opcode was 100
end_request: I/O error, dev hdd, sector 64
isofs_fill_super: bread failed, dev=hdd, iso_blknum=16, block=16
eth0: no IPv6 routers present
CSLIP: code copyright 1989 Regents of the University of California
PPP generic driver version 2.4.2
PPP BSD Compression module registered
PPP Deflate Compression module registered
dan@ubuntu:~$

that looks like the part you wondered about in dmesg



changed the line in /etc/modprobe.d/baud_hack
to
install pl2303 /sbin/modprobe --ignore-install pl2303 && sleep 3 && /usr/bin/stty -F /dev/ttyUSB0 115200

rebooting now to see if anything changed.
******************************************************************
no change...trying part 2 altering sh file do i need /usr/bin/stty -F /dev/ttyUSB0 115200

or just stty -F /dev/ttyUSB0 115200
gonna try the second since that works from terminal...brb

ok adding the stty statement to the .sh file worked. thank you very much for your time.
dan