Unoffical empeg BBS

Quick Links: Empeg FAQ | RioCar.Org | Hijack | BigDisk Builder | jEmplode | emphatic
Repairs: Repairs

Topic Options
#23352 - 05/12/2000 14:05 Linux USB drivers
stil
stranger

Registered: 01/10/1999
Posts: 31
Loc: Fort Lauderdale, FL

I did a large upload overnight last night with the USB drivers, and it _almost_ went okay. FYI, I am using the 2.2.18pre21 kernel patched with the empeg module. I'm on a P3-666. Running emptool as root.

1. I'm averaging 56K/sec uploading to the unit. This seems to be pretty slow compared to what others are getting.

2. The sync crashed mid-way with a segmentation fault. When I turn on the player now, it waited a bit, while it rebuilds the database. If it does this every time I reboot, I may wipe the drive clean and start over tonight.

Some ideas:

Emptool is kind of hokey. I'm considering writing a filesystem driver that would allow you to mount the empeg via USB just like a hard drive, i.e. mount -t empegusb /dev/ttyUSB0 /mnt/empeg. That way you could use all the standard file utils when updating the empeg. At this point, this is a vaporware project, since I haven't even begun investigating it. I've done something quite similar with my Diamond Rio, so I know it's do-able.



Top
#23353 - 05/12/2000 14:31 Re: Linux USB drivers [Re: stil]
altman
carpal tunnel

Registered: 19/05/1999
Posts: 3457
Loc: Palo Alto, CA
If if keeps rebuilding the database on power on, then just do an "empty" sync - this will rebuild *and save* the databases (as the filesystem will be rw at that point) and all should be fine.

Hugo



Top
#23354 - 05/12/2000 20:29 Re: Linux USB drivers [Re: altman]
stil
stranger

Registered: 01/10/1999
Posts: 31
Loc: Fort Lauderdale, FL

Nope. :( emptool starts to work, but fails before I can sync.

[root@victory empeg]# emptool --serial /dev/ttyS0
2000 Checking connection [Done]
2121 Downloading
2121 Starting download [Done]
2122 Retrieving tags index [ 0%]
2125 Rebuilding databases
2103 Locking player UI [Done]
2104 Checking player media [Done]
2105 Enabling write access [Done]
2106 Removing old databases [Done]
2109 Rebuilding databases [Done]
2110 Disabling write access [Done]
2111 Restarting player [Done]
2112 Waiting for player to restart [Done]
2121 Starting download [Done]
2122 Retrieving tags index [ 0%][
root@victory empeg]#



Top
#23355 - 05/12/2000 21:12 Re: Linux USB drivers [Re: stil]
stil
stranger

Registered: 01/10/1999
Posts: 31
Loc: Fort Lauderdale, FL

Ignore that. I figured it out. The music partition was ENTIRELY full. That probably explains the segfault in emptool, and the subsequent failure of the software when trying to rebuild the database.

I got in via the serial port, deleted a few fids from /drive0, re-synched with the windows software, and everything works now!


Top
#23356 - 06/12/2000 02:41 Re: Linux USB drivers [Re: stil]
jane
enthusiast

Registered: 10/10/2000
Posts: 350
Loc: Copenhagen SW, Denmark
This is not very difficult. The easiest way is probably to run NFS of som sort, either by a proprietary protocol or by using PPP over USB

MArius

(Escort Cab + Mark II)


Top