Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Problem detecting USB
07-09-2012, 02:02 AM
Post: #1
Problem detecting USB
Well, is simple:
I already configured the USB option via DeliTools, but when I put the USB, sometimes needs more of 15 minutes to be able to see it in fdisk (and in that way, mount it) , and more common, basiclly is never detected.

This don't happen in Debian or Puppy.
Visit this user's website Find all posts by this user
Quote this message in a reply
07-09-2012, 11:58 AM
Post: #2
RE: Problem detecting USB
(07-09-2012 02:02 AM)CharlieBros Wrote:  Well, is simple:
I already configured the USB option via DeliTools, but when I put the USB, sometimes needs more of 15 minutes to be able to see it in fdisk (and in that way, mount it) , and more common, basiclly is never detected.

This don't happen in Debian or Puppy.

What kind of devices are you trying to plug in? Do you see any error messages / warnings / timeouts in the dmesg output?
Visit this user's website Find all posts by this user
Quote this message in a reply
07-09-2012, 08:06 PM (This post was last modified: 07-10-2012 04:49 PM by CharlieBros.)
Post: #3
RE: Problem detecting USB
The device is a Kingston DataTraveler DT101 G3 USB Mass Storage of 8 GB, this is the output of dmesg:

Code:
eth0: IEEE standard IBSS ad-hoc mode supported
eth0: WEP supported, 104-bit key
eth0: MAC address 00:60:B3:67:68:3F
eth0: Station name "Prism  I"
eth0: ready
eth0: index 0x01: Vcc 3.3, irq 3, io 0x0100-0x013f
eth0: error -110 reading info frame. Frame dropped.
eth0: New link status: Connected (0001)
hub.c: Cannot enable port 1 of hub 1, disabling port.
hub.c: Maybe the USB cable is bad?

(ignore the "eth0" problem, it was caused by a broken cable that I already fixed)
Visit this user's website Find all posts by this user
Quote this message in a reply
07-10-2012, 12:33 PM (This post was last modified: 07-10-2012 12:34 PM by tavvva.)
Post: #4
RE: Problem detecting USB
(07-09-2012 08:06 PM)CharlieBros Wrote:  The device is a Kingston DataTraveles DT101 G3 USB Mass Storage of 8 GB, this is the output of dmesg:

Code:
hub.c: Cannot enable port 1 of hub 1, disabling port.
hub.c: Maybe the USB cable is bad?
[/code]

Hmm ... this seems to be an issue in the USB driver. I found some threads discussing exactly the same problem. Do any other devices (like USB mouse or keyboard) throw the same warnings in the dmesg ? Could you please post your lspci -nn output here in the forum?
Visit this user's website Find all posts by this user
Quote this message in a reply
07-10-2012, 04:51 PM
Post: #5
RE: Problem detecting USB
This don't happens with HUD's (tested with a Mouse and a Keyboard), but yes with USB mass storage devices (tested with two USB Memorys Sticks).
This is the output of "lspci -nn"
Code:
00:00.0 Host bridge [0600]: Intel Corporation 82440MX Host Bridge [8086:7194] (rev 01)
00:07.0 Bridge [0680]: Intel Corporation 82440MX ISA Bridge [8086:7198] (rev 01)
00:07.1 IDE interface [0101]: Intel Corporation 82440MX EIDE Controller [8086:7199]
00:07.2 USB Controller [0c03]: Intel Corporation 82440MX USB Universal Host Controller [8086:719a]
00:07.3 Bridge [0680]: Intel Corporation 82440MX Power Management Controller [8086:719b]
00:09.0 VGA compatible controller [0300]: Silicon Motion, Inc. SM712 LynxEM+ [126f:0712] (rev a0)
00:0a.0 CardBus bridge [0607]: Texas Instruments PCI1211 [104c:ac1e]
00:0b.0 Multimedia audio controller [0401]: Cirrus Logic Crystal CS4281 PCI Audio [1013:6005] (rev 01)
00:0c.0 Communication controller [0780]: Agere Systems L56xM+S [Mars-2] WinModem 56k [11c1:0449] (rev 01)

Greetings.
Charlie
Visit this user's website Find all posts by this user
Quote this message in a reply
07-10-2012, 05:43 PM (This post was last modified: 07-10-2012 05:46 PM by tavvva.)
Post: #6
RE: Problem detecting USB
(07-10-2012 04:51 PM)CharlieBros Wrote:  This don't happens with HUD's (tested with a Mouse and a Keyboard), but yes with USB mass storage devices (tested with two USB Memorys Sticks).
This is the output of "lspci -nn"
Code:
00:00.0 Host bridge [0600]: Intel Corporation 82440MX Host Bridge [8086:7194] (rev 01)
00:07.0 Bridge [0680]: Intel Corporation 82440MX ISA Bridge [8086:7198] (rev 01)
00:07.1 IDE interface [0101]: Intel Corporation 82440MX EIDE Controller [8086:7199]
00:07.2 USB Controller [0c03]: Intel Corporation 82440MX USB Universal Host Controller [8086:719a]
00:07.3 Bridge [0680]: Intel Corporation 82440MX Power Management Controller [8086:719b]
00:09.0 VGA compatible controller [0300]: Silicon Motion, Inc. SM712 LynxEM+ [126f:0712] (rev a0)
00:0a.0 CardBus bridge [0607]: Texas Instruments PCI1211 [104c:ac1e]
00:0b.0 Multimedia audio controller [0401]: Cirrus Logic Crystal CS4281 PCI Audio [1013:6005] (rev 01)
00:0c.0 Communication controller [0780]: Agere Systems L56xM+S [Mars-2] WinModem 56k [11c1:0449] (rev 01)

Greetings.
Charlie

Hmmm .... that could be some kind of nasty timing issue in the driver ... I'll try to look at the differences between 2.4.x and 2.6.x kernels ... are you really sure, that it works correctly on the same piece of hardware with Puppy and Debian?

Do you have any spare USB hub at home? Could you please connect the USB flash via the USB hub?
Visit this user's website Find all posts by this user
Quote this message in a reply
07-10-2012, 11:21 PM
Post: #7
RE: Problem detecting USB
Yes, I'm completly sure that works in other distros.
Connecting the USB via a Hub works perfectly.

Greetings.
Charlie
Visit this user's website Find all posts by this user
Quote this message in a reply
07-11-2012, 11:21 AM (This post was last modified: 07-11-2012 11:37 AM by tavvva.)
Post: #8
RE: Problem detecting USB
(07-10-2012 11:21 PM)CharlieBros Wrote:  Yes, I'm completly sure that works in other distros.
Connecting the USB via a Hub works perfectly.

Greetings.
Charlie

Several years ago I worked as a HW designer and one of the devices I designed was a USB mass storage for train safety systems. I know pretty well, how horrible the USB protocol is. It should never get on the market. It's pretty sensitive for parasitic phenomenons and writing a working low-level firmware is a nightmare. The same could apply to writing a kernel driver even when the signalling is managed by the USB host controller.

I'd like to ask you to boot Puppy or Debian, start any terminal, become root and then copy'n'paste the following scriptlet to the terminal ....


cat /proc/modules | cut -f 1 -d " " | while read module; do \
echo "Module: $module"; \
if [ -d "/sys/module/$module/parameters" ]; then \
ls /sys/module/$module/parameters/ | while read parameter; do \
echo -n "Parameter: $parameter --> "; \
cat /sys/module/$module/parameters/$parameter; \
done; \
fi; \
echo; \
done > modparams.txt


It is supposed to generate a file called modparams.txt with all module parameters in use. I'd like to ask you to attach the file here in the forum.
Visit this user's website Find all posts by this user
Quote this message in a reply
07-11-2012, 08:22 PM
Post: #9
RE: Problem detecting USB
You will need to wait, because I already eliminated the Puppy ISO Tongue.

Greetings.
Charlie
Visit this user's website Find all posts by this user
Quote this message in a reply
08-04-2012, 10:06 PM
Post: #10
RE: Problem detecting USB
Wow!, I almost forgot this thread, excuse moi Undecided.
This is the output:
Code:
Module: nls_cp850

Module: snd_cs4281
Parameter: dual_codec -->N,N,N,N,N,N,N,N
Parameter: enable -->Y,Y,Y,Y,Y,Y,Y,Y
Parameter: id --><NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>
Parameter: index -->-1,-1,-1,-1,-1,-1,-1,-1

Module: snd_opl3_lib

Module: snd_hwdep

Module: gameport

Module: snd_ac97_codec
Parameter: enable_loopback -->N

Module: ac97_bus

Module: snd_pcm_oss
Parameter: adsp_map -->1,1,1,1,1,1,1,1
Parameter: dsp_map -->0,0,0,0,0,0,0,0
Parameter: nonblock_open -->Y

Module: snd_mixer_oss

Module: snd_pcm
Parameter: maximum_substreams -->4
Parameter: preallocate_dma -->1

Module: snd_page_alloc

Module: snd_seq_dummy
Parameter: duplex -->N
Parameter: ports -->1

Module: snd_seq_oss
Parameter: maxqlen -->1024
Parameter: seq_oss_debug -->0

Module: snd_seq_midi
Parameter: input_buffer_size -->4096
Parameter: output_buffer_size -->4096

Module: snd_seq_midi_event

Module: snd_rawmidi
Parameter: amidi_map -->1,1,1,1,1,1,1,1
Parameter: midi_map -->0,0,0,0,0,0,0,0

Module: snd_seq
Parameter: seq_client_load -->14,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1
Parameter: seq_default_timer_card -->-1
Parameter: seq_default_timer_class -->1
Parameter: seq_default_timer_device -->3
Parameter: seq_default_timer_resolution -->0
Parameter: seq_default_timer_sclass -->0
Parameter: seq_default_timer_subdevice -->0

Module: snd_seq_device

Module: snd_timer
Parameter: timer_limit -->1
Parameter: timer_tstamp_monotonic -->1

Module: battery
Parameter: cache_time -->1000

Module: evdev

Module: snd
Parameter: cards_limit -->1
Parameter: major -->116
Parameter: slots --><NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>

Module: serio_raw

Module: ltmodem

Module: soundcore
Parameter: preclaim_oss -->1

Module: i2c_piix4

Module: v8250
Parameter: nr_uarts -->8

Module: ungrab_serial

Module: i2c_core

Module: pcspkr

Module: apm
Parameter: allow_ints -->N
Parameter: bounce_interval -->750
Parameter: broken_psr -->N
Parameter: debug -->N
Parameter: idle_period -->82
Parameter: idle_threshold -->100
Parameter: power_off -->Y
Parameter: realmode_power_off -->N
Parameter: smp -->Y

Module: fuse
Parameter: max_user_bgreq -->20
Parameter: max_user_congthresh -->20

Module: aufs
Parameter: brs -->1

Module: nls_iso8859_1

Module: nls_cp437

Module: squashfs

Module: yenta_socket
Parameter: disable_clkrun -->N
Parameter: isa_probe -->Y
Parameter: pwr_irqs_off -->N

Module: rsrc_nonstatic
Parameter: mem_limit -->65536
Parameter: probe_io -->1
Parameter: probe_mem -->1

Module: psmouse
Parameter: autorecal -->1
Parameter: force_elantech -->N
Parameter: jumpy_delay -->1000
Parameter: post_interrupt_delay -->1000
Parameter: proto -->auto
Parameter: rate -->100
Parameter: recal_guard_time -->2000
Parameter: recalib_delta -->100
Parameter: resetafter -->5
Parameter: resolution -->200
Parameter: resync_time -->0
Parameter: smartscroll -->Y
Parameter: spew_delay -->1000
Parameter: tpdebug -->0

Module: floppy

I also upload the text file, if you want it Smile.
Charlie


Attached File(s)
.txt  modparams.txt (Size: 2.88 KB / Downloads: 1)
Visit this user's website Find all posts by this user
Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)

Contact Us | DeLi(cate) Linux | Return to Top | Return to Content | Lite (Archive) Mode | RSS Syndication