LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat
User Name
Password
Red Hat This forum is for the discussion of Red Hat Linux.

Notices


Reply
  Search this Thread
Old 01-23-2004, 12:52 PM   #1
Bigglesworth
Member
 
Registered: Sep 2003
Location: South Africa
Distribution: Fedora 1
Posts: 36

Rep: Reputation: 15
Angry Wondering why booting into XP fixes Linux problems?


Hello out there.
I have been on Redhat 9 for about a year and ever since moving across from XP I have had to keep another drive with XP installed for "emergency" boots to fix mysterious hardware issues under Linux.

I have 2 specific devices that just fade out after a random amount of time under Linux.
1. My modem (external serial 56k - Duxbury)
2. My Scanner (USB Vuego)

The problem is that any/all of these will be working fine - for days - when suddenly:
The modem stops working (when I try dial out it says "no carrier detected" *See note)
The Scanner will just "go away" - I don't know where. Xsane says it cannot detect it.

NOW THE MYSTERY! *Note = read this!
When I boot into XP (I don't even have to login) and then immediately restart and boot Linux the 2 devices work again.
BUT
If I simply restart the machine and boot from Linux --> Linux (i.e. reboot) the 2 devices are still missing in action!

Switching their power off for many hours has no effect.
Switching the PC off for hours and then on and direct into Linux, has no effect.
Moving the Scanner to another USB port, no effect.
Removing the serial modem, rebooting, shutting-down, replug modem, on: no effect.
Trying to dial-out later reports the same "No carrier detected" error - hence It's not a real error message, it's just a herring of sanguine hue.

The ONLY thing that works is to boot into Windows!
No how fu@#ed is that!?!?!?!

I have scoured Google for anyone else with a similar problem and have also asked on this forum before - to no avail.
Can anyone point me to a source of assistance? Perhaps I should move to another distro, or maybe Fedora?

Thanks
Biggles.

Info : KDE 3.1-10
Linux : 2.4.20-20.9
Machine : i686 (Athlon AMD)
 
Old 01-23-2004, 01:21 PM   #2
jtshaw
Senior Member
 
Registered: Nov 2000
Location: Seattle, WA USA
Distribution: Ubuntu @ Home, RHEL @ Work
Posts: 3,892
Blog Entries: 1

Rep: Reputation: 67
Are you getting any output in dmesg about your USB subsystem when the problem occurs?
 
Old 01-23-2004, 01:29 PM   #3
Bigglesworth
Member
 
Registered: Sep 2003
Location: South Africa
Distribution: Fedora 1
Posts: 36

Original Poster
Rep: Reputation: 15
I wil post what I recorded the last time the scanner croaked:
-----------------------------------------------------------------------
dmesg | grep USB:

ehci-hcd 00:10.3: VIA Technologies, Inc. USB 2.0
usb.c: new USB bus registered, assigned bus number 1
ehci-hcd 00:10.3: USB 2.0 enabled, EHCI 1.00, driver 2003-Jan-22
hub.c: USB hub found
usb-uhci.c: USB UHCI at I/O 0xd000, IRQ 10
usb.c: new USB bus registered, assigned bus number 2
hub.c: USB hub found
usb-uhci.c: USB UHCI at I/O 0xd400, IRQ 10
usb.c: new USB bus registered, assigned bus number 3
hub.c: USB hub found
usb-uhci.c: USB UHCI at I/O 0xd800, IRQ 11
usb.c: new USB bus registered, assigned bus number 4
hub.c: USB hub found
usb-uhci.c: v1.275:USB Universal Host Controller Interface driver
hid-core.c: USB HID support drivers
hub.c: new USB device 00:10.1-2, assigned address 2
usb.c: USB device 2 (vend/prod 0x4a5/0x20b0) is not claimed by any active
driver.scanner.c: USB scanner device (0x04a5/0x20b0) now attached to scanner0
scanner.c: 0.4.12:USB Scanner Driver

Shows that the scanner is seen by linux and is set to 'scanner0'
- despite this, Xsane will not work.

scanimage -L:
-------------
device `snapscan:/dev/usb/scanner0' is a Acer FlatbedScanner22 flatbed scanner


sane-find-scanner:
------------------
# No SCSI scanners found. If you expected something different, make sure that
# you have loaded a SCSI driver for your SCSI adapter.

found USB scanner (vendor=0x04a5, product=0x20b0) at /dev/usb/scanner0
found USB scanner (vendor=0x04a5 [Color], product=0x20b0 [ FlatbedScanner 22])
at libusb:003:002 # A USB device was detected. This program can't be sure if
it's really # a scanner. If it is your scanner, it may or may not be supported
by # SANE. Try scanimage -L and read the backend's manpage.

# Scanners connected to the parallel port or other proprietary ports can't be
# detected by this program.


scanimage:
----------
[snapscan] download_firmware: No firmware entry found in config file
snapscan.conf.scanimage: open of device snapscan:/dev/usb/scanner0 failed:
Invalid argument


-----------------------------------------------------------------------

But what about the modem - that's serial!

The mystery continues...
 
Old 02-24-2004, 11:05 AM   #4
uwejs
LQ Newbie
 
Registered: Feb 2004
Location: Hannover, Germany
Distribution: debian
Posts: 7

Rep: Reputation: 0
Hi,

it sounds like your scanner needs a firmware upload.
(Check the sane-backend manpage for your scanner and the sane website)

Probably XP is doing this firmware upload in the beginning so it's not needed
after running XP....

Hope that helps

Uwe.j.s
 
Old 02-25-2004, 07:21 AM   #5
Bigglesworth
Member
 
Registered: Sep 2003
Location: South Africa
Distribution: Fedora 1
Posts: 36

Original Poster
Rep: Reputation: 15
uwejs - thanks. I don't really understand this 'firmware' thing, but from what you say it seems to be some extra data that the device needs that gets loaded. It's wierd, but hey! I'm only a human!

I have found the firmware for my scanner, and I await results.

My BIG problem is my modem. It still dies randomly and even strings like &f0 make no difference. It says "No carrier detected" and I cannot connect. I reboot into XP (I don't even log on!), reboot into Linux and suddenly the modem works again....

help
 
Old 02-25-2004, 11:17 AM   #6
uwejs
LQ Newbie
 
Registered: Feb 2004
Location: Hannover, Germany
Distribution: debian
Posts: 7

Rep: Reputation: 0
Question

Hi,

sorry, I probably can't help you with your modem - I'm using ISDN..
But if it's an USB-Modem the reason might be the configuration of your
USB - System.

While looking at the configuration for your scanner I realized that you
have libusb _and_ the scanner.o module running. That should bring you
some trouble! Maybe it's the same for your modem??

You can turn off the libusb by commenting the line with the ubsdevfs in /etc/fstab
_or_ (the better solution) remove the module with something like modconf (or whatever kind of tools you find with your RH )

hope that help

uwejs
 
Old 02-25-2004, 11:52 AM   #7
Bigglesworth
Member
 
Registered: Sep 2003
Location: South Africa
Distribution: Fedora 1
Posts: 36

Original Poster
Rep: Reputation: 15
uwejs,
1. What is libusb? and scanner.o module?
2. My scanner is USB, so should libUSB be there? Just a guess
3. My Modem is a serial modem...

Thanks
 
  


Reply



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
wondering about the linux box theresaboothe Linux - Newbie 1 04-21-2005 11:48 AM
wondering how to learn linux the best way? bellerophon Linux - Newbie 3 02-18-2005 12:35 AM
wondering how well this machine will run linux h00ligan Linux - Newbie 2 02-13-2004 12:53 AM
Article on Linux Bugs/Fixes. rvijay Linux - Security 1 08-25-2003 12:07 PM
Just wondering. VT terminals with Linux? 2damncommon Linux - Networking 1 03-15-2003 08:24 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat

All times are GMT -5. The time now is 12:54 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