Re: [Linux-usb-users] fuji 3800 usb-uhci.c: interrupt error
On Sunday 24 November 2002 18:41, Ken Moffat wrote: Rather dissappointed that my fuji won't work under linux usb mass storage. Do I need to add something to the unusual_devs.h file? I see a fuji 1400 entry in there. same problem with a finepix f400. When I try to mount, I get: - mount -t vfat /dev/sda1 /mnt/camera mount: /dev/sda1 is not a valid block device (also sdb1, etc) - I receive the following from tail /var/log/messages on my libranet -- Nov 24 09:25:47 localhost kernel: hub.c: USB new device connect on bus3/1, assigned device number 2 Nov 24 09:25:47 localhost kernel: scsi1 : SCSI emulation for USB Mass Storage devices Nov 24 09:25:59 localhost kernel: usb-uhci.c: interrupt, status 3, frame# 1738 the log seems the same (not sure abuot frame# number). please, if you find something useful let me know. bye. -- A computer without Windows is like a fish without a bicycle [EMAIL PROTECTED] http://www.preciso.net --- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf ___ [EMAIL PROTECTED] To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-users
Re: [Linux-usb-users] USB Storage driver compiled in kernel problems
On Sun, 24 Nov 2002 23:46:12 -0600 (CST) Jason Sharpee [EMAIL PROTECTED] wrote: Hello Jason I am trying to use a usb pendrive as a root device for a linux boot floppy. I compiled 2.4.19 with support for UHCI, USB Storage, and SCSI into the kernel. must not into kernel - modules are ok! When I boot my floppy, I see the USB Storage driver printk, however, the kernel panics (cant find root /dev/sda1). It appears the USB-storage driver has not registered the SCSI device yet by the time the kernel looks for init. I tried finding some docs on the USB Storage driver but wasnt too sucessful. Does anyone know what I am missing? Did you try 'Probe all SCSI-devices for LUNs' Sometimes that helps! -- mfg Hajo C Jeske UNIX-Software-Entwickler, Unix-Administrator, Daten-Rettung und Komplett-Einrichtung/Upgrade von Linux-Systemen mit Service und Wartung - bundesweit - und schnell durch Partner-Netz - --- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf ___ [EMAIL PROTECTED] To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-users
[Linux-usb-users] Bit Times -
hi, What do u mean by bit times in USB terminology ???. The question is in the USB 1.1 specs the turn around time (is the time the host sends a packet to device and the device responds with handshake) is 18 bit times. Is this equivalent to how many milliseconds??? Thanks Regards V. S. Murthy --- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf ___ [EMAIL PROTECTED] To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-users
Re: [Linux-usb-users] USB PIC Controllers
On 25 Nov 2002, Charles Blackburn wrote: well i've just spent the past week trying to get my firewall up after a HD crash :( Glad it's you and not me :-) that does sound painful... nice so u reckon to use the ftdi stuff rather than writing my own module? I like things the easy way :P It sure looked like it was working under 2.4, at least on the 'scope. And while I don't mind learning how to be a usb guru, I'm not sure I've got enough time. You can also buy complete hardware modules that include the chip and usb socket which you can mount in a thru hole board. They run about $25 each, less in quantity. So in terms of really easy, it sure looked good to me. Unfortunatly, right now I've got more time than money, so I've got to build it all myself and save a few bucks. On my day job we've plugged them into Windows machines and they work fine - we tie them into a PIC for temperature controllers on medical equipment. Making it all work with legacy stuff is my problem. But I think it's pretty simple if you start with the 2.4 linux kernel and the ftdi_sio these guys have written (nice work Greg and Bill). Patience, persistence, truth, Dr. mike --- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf ___ [EMAIL PROTECTED] To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-users
Re: [Linux-usb-users] My Compact Flash Reader USB JENOPTIK
Hi all! I bought it few weeks ago and it works fine on W98, but not on linux. I've tried with Debian 3.0, linux-bbc, suse 7.3 and the problem is always the same. The module says that the new USB hardware is not used by any module. Hello try any distribution with a kernel 2.4.18 ( or more ) like RedHat 7.3 / 8.0 [ free to download ] or buy it ;-) or decide for Mandrake ( I will never talk about Suse again ) No Yast is running here since S7.3 - but I started years ago with Halloween 3.0 with complete Hardware-Detection when Suse did not know about that ... As far as I know : kernels older than 2.4.18 won't work anyway for usb-card-readers. 2.4.18 / 2.4.19 are the standard just now. hope all that helps -- mfg Hajo C Jeske UNIX-Software-Entwickler, Unix-Administrator, Daten-Rettung und Komplett-Einrichtung/Upgrade von Linux-Systemen mit Service und Wartung - bundesweit - und schnell durch Partner-Netz - That was the problem! I tried with kernel 2.4.19 and it works fine. Thanks a lot, Hajo! ;-) Regards, Oscar __ Do you Yahoo!? Yahoo! Mail Plus Powerful. Affordable. Sign up now. http://mailplus.yahoo.com --- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf ___ [EMAIL PROTECTED] To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-users
[Linux-usb-users] 2 printers connected with USB
Hi all, I have two printers connected with my Redhat 7.3 through USB, the problem I have is one of them is HP Laserjet and the other one is Epson Inkjet. /dev/usb/lp0 and /dev/usb/lp1 map the different printer randomly and caused a lot of junk print outs. My question is: How to map /dev/usb/lp0 and /dev/usb/lp1 to particular printer instead of randomly. regards, Birdie --- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf ___ [EMAIL PROTECTED] To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-users
Re: [Linux-usb-users] 2 printers connected with USB
Hi Bridie, I think this ahs been asked before, either here or on the devel list. IIRC the answer was that these is some feature in 2.5 kernels that can help with this but there is nothing in 2.4. If you search the arhive you may find a better answer. rgeards, Stephen. On Mon, 25 Nov 2002, Birdie Chiu wrote: Hi all, I have two printers connected with my Redhat 7.3 through USB, the problem I have is one of them is HP Laserjet and the other one is Epson Inkjet. /dev/usb/lp0 and /dev/usb/lp1 map the different printer randomly and caused a lot of junk print outs. My question is: How to map /dev/usb/lp0 and /dev/usb/lp1 to particular printer instead of randomly. regards, Birdie --- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf ___ [EMAIL PROTECTED] To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-users -- /+-\ |Stephen J. Gowdy | SLAC, MailStop 34, | |http://www.slac.stanford.edu/~gowdy/ | 2575 Sand Hill Road, | |http://calendar.yahoo.com/gowdy | Menlo Park CA 94025, USA | |EMail: [EMAIL PROTECTED] | Tel: +1 650 926 3144 | \+-/ --- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf ___ [EMAIL PROTECTED] To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-users
Re: [Linux-usb-users] 2 printers connected with USB
On Mon, 2002-11-25 at 07:21, Birdie Chiu wrote: Hi all, I have two printers connected with my Redhat 7.3 through USB, the problem I have is one of them is HP Laserjet and the other one is Epson Inkjet. /dev/usb/lp0 and /dev/usb/lp1 map the different printer randomly and caused a lot of junk print outs. My question is: How to map /dev/usb/lp0 and /dev/usb/lp1 to particular printer instead of randomly. In your specific case it is easy. See the probe() code in linux/drivers/usb/printer.c file: /* Look for a free usblp_table entry. */ while (usblp_table[usblp-minor]) { usblp-minor++; if (usblp-minor = USBLP_MINORS) { err(no more free usblp devices); goto abort; } } The usblp-minor field is the printer number (lp0, lp1 etc.) and, as you see, simply the first available is picked. A module option can be provided to give the driver some preferences to which minor to bind this or that specific USB printer. The serial number of the device should be used for that, since it is presumed to be different for each device. This way you should be able to do something like this: # modprobe printer lp0=0x00aa lp1=0x00bb ... where lp0, lp1 etc. are just variables that can be set to something non-default, and if they are set and the serial number of the plugged device matches to any of them, then the match will be used to pick the minor instead of randomly wading through the table. Of course, the driver also should print the serial number of a new device, so that you know what numbers to put there. But generally, ALL drivers need to support: a) preferred (persistent) bindings (serial number - to minor) or, in opposite direction, b) an easy way to query the minor and find out what the s/n is Myself, I need either of those solutions at work, since we have lots and lots of identical (except s/n) devices connected to a single computer, and I need to know which /dev/usb/ttyUSB* corresponds to which physical device. At very least, I need to be sure that the devices stay where they ought to be, and don't move around as hubs and controllers get unplugged and replugged. I was thinking about a patch to do that (for serial devices), and likely I will do just that if nothing better comes up. So far, the best suggestion ever was to parse the /var/log/messages and see what the driver says... ungood for production purposes, since the log can be long rotated after the device was plugged in; one of my boxes is up for 320 days by now. Dmitri signature.asc Description: This is a digitally signed message part
Re: [Linux-usb-users] 2 printers connected with USB
Which link? I just tried; http://marc.theaimsgroup.com/?l=linux-usb-usersr=1w=2 and http://marc.theaimsgroup.com/?l=linux-usb-develr=1w=2 and they worked fine. THe other version seemed to work fine too; http://www.geocrawler.com/lists/3/SourceForge/4563/0/ http://www.geocrawler.com/lists/3/SourceForge/2571/0/ but these two aren't as easy to search. You need to download and install a 2.5 kernel. Not something you want to do if you've never built a kernel as this is a development kernel and may have serious problems (eat you disk for instance). On Mon, 25 Nov 2002, Birdie Chiu wrote: Gowdy, Thanks for your information, but the archieve page in the www.linux-usb.org is a broken link. Would you please tell me, how to do that on Redhat 7.3? regards, Birdie - Original Message - From: Stephen J. Gowdy [EMAIL PROTECTED] To: Birdie Chiu [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Monday, November 25, 2002 11:46 PM Subject: Re: [Linux-usb-users] 2 printers connected with USB Hi Bridie, I think this ahs been asked before, either here or on the devel list. IIRC the answer was that these is some feature in 2.5 kernels that can help with this but there is nothing in 2.4. If you search the arhive you may find a better answer. rgeards, Stephen. On Mon, 25 Nov 2002, Birdie Chiu wrote: Hi all, I have two printers connected with my Redhat 7.3 through USB, the problem I have is one of them is HP Laserjet and the other one is Epson Inkjet. /dev/usb/lp0 and /dev/usb/lp1 map the different printer randomly and caused a lot of junk print outs. My question is: How to map /dev/usb/lp0 and /dev/usb/lp1 to particular printer instead of randomly. regards, Birdie --- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf ___ [EMAIL PROTECTED] To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-users -- /+-\ |Stephen J. Gowdy | SLAC, MailStop 34, | |http://www.slac.stanford.edu/~gowdy/ | 2575 Sand Hill Road, | |http://calendar.yahoo.com/gowdy | Menlo Park CA 94025, USA | |EMail: [EMAIL PROTECTED] | Tel: +1 650 926 3144 | \+-/ --- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf ___ [EMAIL PROTECTED] To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-users -- /+-\ |Stephen J. Gowdy | SLAC, MailStop 34, | |http://www.slac.stanford.edu/~gowdy/ | 2575 Sand Hill Road, | |http://calendar.yahoo.com/gowdy | Menlo Park CA 94025, USA | |EMail: [EMAIL PROTECTED] | Tel: +1 650 926 3144 | \+-/ --- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf ___ [EMAIL PROTECTED] To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-users
Re: [Linux-usb-users] USB Storage driver compiled in kernel problems
On Mon, 25 Nov 2002, Hajo C Jeske wrote: | On Sun, 24 Nov 2002 23:46:12 -0600 (CST) | Jason Sharpee [EMAIL PROTECTED] wrote: | | Hello Jason | | I am trying to use a usb pendrive as a root device for a linux | boot floppy. I compiled 2.4.19 with support for UHCI, USB Storage, and | SCSI into the kernel. | | must not into kernel - modules are ok! There are a couple of patches around that enable USB booting. Basically a delay (maybe 3-5 seconds sometimes) is needed in kernel init to allow the USB devices (hub, storage, etc.) to power up and be initialized and discovered. Search the linux-usb-devel mailing list for something like usb boot or root fs on usb. One such patch is by Eric Lammerts, last posted on 2002-june-03, for 2.4.14. Aha, he has it here: http://www.lammerts.org/software/kernelpatches/usb-storage-root.patch Another one is at http://marc.theaimsgroup.com/?l=linux-usb-usersm=100408963708374w=2 Both of these are possibly of out date by now, so need to be refreshed for current kernels. | When I boot my floppy, I see the USB Storage | driver printk, however, the kernel panics (cant find root /dev/sda1). It appears | the USB-storage driver has not registered the SCSI device yet by the time the | kernel looks for init. I tried finding some docs on the USB Storage | driver but wasnt too sucessful. | | Does anyone know what I am missing? -- ~Randy --- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf ___ [EMAIL PROTECTED] To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-users
Re: [Linux-usb-users] Hi to everyone...
You need to ask the Vendor what their protocol is or reverse engineer the windows driver (USB Snoop can help with that). There is a fair chance that you can use the USB Storage driver with some options but I don't know how to advise on that. On Mon, 25 Nov 2002, Willy Gardiol wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 I would like to work on it, try to support it, but i do not know exactly where to start. Can you give me some hints? On 06:41, lunedì 25 novembre 2002, Stephen J. Gowdy wrote: It is a vendor protocol, not USB Storage so it probably will not work. I don't see an entry in the Working Device List either. On Sun, 24 Nov 2002, Willy Gardiol wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Here are some more infos. So, this is cat devices: T: Bus=02 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#= 1 Spd=12 MxCh= 2 B: Alloc= 0/900 us ( 0%), #Int= 0, #Iso= 0 D: Ver= 1.00 Cls=09(hub ) Sub=00 Prot=00 MxPS= 8 #Cfgs= 1 P: Vendor= ProdID= Rev= 0.00 S: Product=USB UHCI-alt Root Hub S: SerialNumber=b000 C:* #Ifs= 1 Cfg#= 1 Atr=40 MxPwr= 0mA I: If#= 0 Alt= 0 #EPs= 1 Cls=09(hub ) Sub=00 Prot=00 Driver=hub E: Ad=81(I) Atr=03(Int.) MxPS= 8 Ivl=255ms T: Bus=02 Lev=01 Prnt=01 Port=01 Cnt=01 Dev#= 2 Spd=12 MxCh= 0 D: Ver= 1.10 Cls=00(ifc ) Sub=00 Prot=00 MxPS=64 #Cfgs= 1 P: Vendor=066f ProdID=3400 Rev= 0.03 S: Manufacturer=MP3 Player S: Product= C:* #Ifs= 1 Cfg#= 1 Atr=c0 MxPwr=100mA I: If#= 0 Alt= 0 #EPs= 2 Cls=ff(vend.) Sub=01 Prot=ff Driver=(none) E: Ad=01(O) Atr=02(Bulk) MxPS= 64 Ivl=0ms E: Ad=82(I) Atr=02(Bulk) MxPS= 64 Ivl=0ms T: Bus=01 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#= 1 Spd=12 MxCh= 2 B: Alloc= 0/900 us ( 0%), #Int= 0, #Iso= 0 D: Ver= 1.00 Cls=09(hub ) Sub=00 Prot=00 MxPS= 8 #Cfgs= 1 P: Vendor= ProdID= Rev= 0.00 S: Product=USB UHCI-alt Root Hub S: SerialNumber=b400 C:* #Ifs= 1 Cfg#= 1 Atr=40 MxPwr= 0mA I: If#= 0 Alt= 0 #EPs= 1 Cls=09(hub ) Sub=00 Prot=00 Driver=hub E: Ad=81(I) Atr=03(Int.) MxPS= 8 Ivl=255ms And cat drivers is: usbdevfs hub 48- 63: usbscanner 0- 15: usblp usb-storage (please note, i have a usb scanner and usb printer which works) The system just says usb mass storage support registered when i load that module. I also have an USB-floppy which works with usb-storage (but i do not connect it to the pc usually). I have not find the napa pa-11 mp3 player in the supported hardware list, so maybe i can help supporting it? I am a good C programmer not scared of low-level trhings but i dont know where to start... On 21:51, domenica 24 novembre 2002, Brad Hards wrote: It is a napa PA-11 mp3 player with a built-in 64mb smartmedia card and an external slot. The device shows in /proc/bus/usb/devices (kernel 2.4.20rc2) but usb-storage seems not to recognise the device. Can anybody give me ideas about how to manage this device? It would help a lot if you showed us the contents of /proc/bus/usb/devices and /proc/bus/usb/drivers. Brad - -- ! Willy Gardiol - [EMAIL PROTECTED] goemon.polito.it/~gardiol Use linux for your freedom. La guerra ha solo l'indicativo presente. Non c'è passato prossimo o remoto, non c'è il tempo futuro. La guerra pesa sul genere femminile, ma è sempre maschia. Ennio Remondino (prefazione a Medici di guerra - Inviati di pace) -BEGIN PGP SIGNATURE- Version: GnuPG v1.0.6 (GNU/Linux) Comment: For info see http://www.gnupg.org iD8DBQE94U8HQ9qolN/zUk4RAokdAJ98+27hmzmGM4wZfJQwul3ypvrkVgCfeUx2 xpzsp9Pt9xna1cfDGW9hZbA= =0Yq5 -END PGP SIGNATURE- --- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf ___ [EMAIL PROTECTED] To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-users - -- ! Willy Gardiol - [EMAIL PROTECTED] goemon.polito.it/~gardiol Use linux for your freedom. ... viene infatti considerato tanto più civile un paese, quanto più savie ed efficenti sono le leggi che impediscono al misero di essere più misero e al potente di essere troppo potente Primo Levi, Se questo è un uomo -BEGIN PGP SIGNATURE- Version: GnuPG v1.0.6 (GNU/Linux) Comment: For info see http://www.gnupg.org iD8DBQE94j4OQ9qolN/zUk4RAmAoAJ9wP1qBVqDJY3vsgYacZtdM1Bd8WwCgkZy0 mu9DjgRfxQLN3IxUA5VPht0= =mWJt -END PGP SIGNATURE- -- /+-\ |Stephen J. Gowdy | SLAC, MailStop 34, |
Re: [Linux-usb-users] Treo 300 Question.
On Mon, Nov 25, 2002 at 12:39:53PM -0500, Scott Comboni wrote: I just picked up a Treo 300 and was wondering if anyone has had any luck connecting with Linux? Sorry, it will not work at this time with USB. greg k-h --- This SF.net email is sponsored by: Get the new Palm Tungsten T handheld. Power Color in a compact size! http://ads.sourceforge.net/cgi-bin/redirect.pl?palm0002en ___ [EMAIL PROTECTED] To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-users
Re: [Linux-usb-users] Hi to everyone...
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 I have sent emails to napa's support. I will look for usb-snoop, thanks On 18:05, lunedì 25 novembre 2002, Stephen J. Gowdy wrote: You need to ask the Vendor what their protocol is or reverse engineer the windows driver (USB Snoop can help with that). There is a fair chance that you can use the USB Storage driver with some options but I don't know how to advise on that. - -- ! Willy Gardiol - [EMAIL PROTECTED] goemon.polito.it/~gardiol Use linux for your freedom. Ho visto quest'anno a Kabul bambini dilaniati dalle mine: grumi di garza e sangue su brande sudice in lazzaretti. Bambini i cui occhi e i cui orecchi non hanno mai visto un disegno, ascoltato una musica. Vauro, Appunti di guerra (2002) -BEGIN PGP SIGNATURE- Version: GnuPG v1.0.6 (GNU/Linux) Comment: For info see http://www.gnupg.org iD8DBQE94pcIQ9qolN/zUk4RAr0CAKCks2oDdXGzI6924jBX3pr5GSN8NACfSOI+ Rq7LlK/ducurPjZ0wKvo5gk= =7sM5 -END PGP SIGNATURE- --- This SF.net email is sponsored by: Get the new Palm Tungsten T handheld. Power Color in a compact size! http://ads.sourceforge.net/cgi-bin/redirect.pl?palm0002en ___ [EMAIL PROTECTED] To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-users