Search Members Help

» Welcome Guest
[ Log In :: Register ]

Mini-ITX Boards Sale, Fanless BareBones Mini-ITX, Bootable 1G DSL USBs, 533MHz Fanless PC <-- SALE $200 each!
Get The Official Damn Small Linux Book. DSL Market , Great VPS hosting provided by Tektonic
Pages: (4) </ 1 2 [3] 4 >/

[ Track this topic :: Email this topic :: Print this topic ]

reply to topic new topic new poll
Topic: Easiest way to start some perl stuff< Next Oldest | Next Newest >
lucky13 Offline





Group: Members
Posts: 1478
Joined: Feb. 2007
Posted: Mar. 26 2008,20:39 QUOTE

Yeah, try
% dmesg | grep [Uu][Ss][Bb]

With what you've already shown, there's no problem with USB. The controller is shown. The modules are loaded. You don't just pop in a device and use it in 2.4. I don't know how you're mounting the devices, but try mounting the standard mountpoints set by hotplug, e.g., /mnt/sda1, /mnt/sdb1, etc.

EDIT: Check /etc/fstab *before* and *after* inserting devices and see where the hotplug script adds mountpoints.


--------------
"It felt kind of like having a pitbull terrier on my rear end."
-- meo (copyright(c)2008, all rights reserved)
Back to top
Profile PM WEB 
^thehatsrule^ Offline





Group: Members
Posts: 3275
Joined: July 2006
Posted: Mar. 26 2008,23:14 QUOTE

Quote
% dmesg | grep [Uu][Ss][Bb]
fyi, you can pass -i instead, such as `dmesg | grep -i usb`
Back to top
Profile PM 
xlancealotx Offline





Group: Members
Posts: 54
Joined: Nov. 2007
Posted: Mar. 27 2008,13:12 QUOTE

man, that was bad, your like use the app, I am looking all over, forgetting the obvious (this project is taking it's toll on me!)  Now I know you guys were saying about mouting, fstab, but reminder, this is a terminal connecting to a serial port device that is just spitting out data, so there is no mounting involved.  I will use a usb flash to test (to verify usb is working, once I see that is good, I can move to the perl app that collects it).  So; on boot I  have the following showing up;
<6>usb.c: registered new driver usbdevfs
<6>usb.c: registered new driver hub
<6>usb-uhci.c: $Revision: 1.275 $ time 11:56:04 Aug 29 2005
<6>usb-uhci.c: High bandwidth mode enabled
<6>usb-uhci.c: USB UHCI at I/O 0xec00, IRQ 11
<4>usb-uhci.c: Detected 2 ports
<6>usb.c: new USB bus registered, assigned bus number 1
<6>hub.c: USB hub found
<6>usb-uhci.c: v1.275:USB Universal Host Controller Interface driver
<4>usbdevfs: remount parameter error
<6>usb.c: registered new driver hiddev
<6>usb.c: registered new driver hid
<6>hid-core.c: USB HID support drivers

--- I added a usb flash drive and now see;
<6>hub.c: new USB device 00:10.0-1, assigned address 2
<4>usb.c: USB device 2 (vend/prod 0x5dc/0xa720) is not claimed by any active driver.
<6>Initializing USB Mass Storage driver...
<6>usb.c: registered new driver usb-storage
<6>scsi1 : SCSI emulation for USB Mass Storage devices
<4>  Vendor: Lexar     Model: USB Flash Drive   Rev: 1100
<7>WARNING: USB Mass Storage data integrity not assured
<7>USB Mass Storage device found at 2
<6>USB Mass Storage support registered.

So it does look it's recognized.  When I put in the usb/serial converter which is connected to the serial device, I then see;
<6>hub.c: new USB device 00:10.0-1, assigned address 4
<4>usb.c: USB device 4 (vend/prod 0x5ad/0xfba) is not claimed by any active driver.

The next test is to open minicom, change the serial setting to ttyUSB0, which after that I get minicom: cannot open /dev/ttyUSB0: No such device

I don't have access to the ones in the field which worked, but this is slightly different hardware, but the same dsl4 OS.

Hope that helps a bit more
Back to top
Profile PM 
lucky13 Offline





Group: Members
Posts: 1478
Joined: Feb. 2007
Posted: Mar. 27 2008,14:46 QUOTE

Thanks for your reminder because I'm not a psychic.  Maybe if you'd give more details about this device ("not claimed by any active driver") and converter we might be able to figure out if the module is already available or if you can compile one.

--------------
"It felt kind of like having a pitbull terrier on my rear end."
-- meo (copyright(c)2008, all rights reserved)
Back to top
Profile PM WEB 
xlancealotx Offline





Group: Members
Posts: 54
Joined: Nov. 2007
Posted: Mar. 27 2008,14:59 QUOTE

oh man ... is all I have to say!

Replaced that crappy radio shack serial converter with another one and got this;
<6>usb.c: registered new driver serial
<6>usbserial.c: USB Serial support registered for Generic
<6>usbserial.c: USB Serial Driver core v1.4
<6>usbserial.c: USB Serial support registered for PL-2303
<6>usbserial.c: PL-2303 converter detected
<6>usbserial.c: PL-2303 converter now attached to ttyUSB0 (or usb/tts/0 for devfs)
<6>pl2303.c: Prolific PL2303 USB to serial adaptor driver v0.10.1

opened minicom, and right away got the data!!  Man, sometimes it's starting you right in the face.  So with that, this is solved, but I do thank everyone for their  .02

Once this device is set which should be today, I want to mass produce these.  Hardware will be the same, no cd, so I want to boot off a USB stick the way I have been, and then simply take that image and put it on each machine.  I see a menu option for mydsl remaster, is that what I am looking for?  

I will look around a bit and do some reading if I need to, but don't want to let this box out the door until I have a working backup way of moving it to other machines quickly.

Lr
Back to top
Profile PM 
18 replies since Mar. 25 2008,19:04 < Next Oldest | Next Newest >

[ Track this topic :: Email this topic :: Print this topic ]

Pages: (4) </ 1 2 [3] 4 >/
reply to topic new topic new poll
Quick Reply: Easiest way to start some perl stuff

Do you wish to enable your signature for this post?
Do you wish to enable emoticons for this post?
Track this topic
View All Emoticons
View iB Code